@media (max-width: 1024px) {
      html, body { overflow-x: clip; max-width: 100vw; }
      .nav-inner, .top-nav, .breadcrumb-bar, .breadcrumb-inner,
      .footer, .footer-inner, .hero, .hero-grid, .content-grid,
      .product-grid, .grid-area, .grid-in, .page-header, .page-header-in,
      .filter-bar, .filter-bar-in, .pagination, .announce-bar,
      .section, section, main, header, .container { max-width: 100vw; box-sizing: border-box; }
      body > *, .top-nav, .breadcrumb-bar { overflow-x: clip; }
    }
    img, svg { max-width: 100%; height: auto; }
    h1, h2, h3, h4, .product-name, .product-title { overflow-wrap: anywhere; word-break: break-word; }
    .thumb-row { max-width: 100%; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
    .thumb-row::-webkit-scrollbar { display: none; height: 0; }

    pre, code { white-space: pre-wrap; word-break: break-word; }

    .dgwt-wcas-search-wrapp { display: flex !important; width: 100% !important; max-width: 320px !important; }
    .dgwt-wcas-search-form { display: flex !important; width: 100% !important; }
    .dgwt-wcas-search-input { display: block !important; width: 100% !important; }
    .dgwt-wcas-open-search { display: none !important; }
    .dgwt-wcas-overlay-mobile, .dgwt-wcas-search-form-overlay { display: none !important; }

    .announce-bar {
        background: linear-gradient(135deg, #0d4877 0%, #1a6099 100%) !important;
        color: #ffffff !important;
        text-align: center !important;
        font-family: var(--font-body, 'D-DIN Exp', sans-serif) !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        padding: 10px 20px !important;
        letter-spacing: 0.01em !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .announce-bar strong { color: var(--teal-1, #7bd0ca) !important; font-weight: 700 !important; }
    body.smartio-govee-page .announce-bar {
        background: linear-gradient(90deg, #ec4899 0%, #8b5cf6 50%, #06b6d4 100%) !important;
    }

    @media (max-width: 768px) {
        .announce-bar { font-size: 11.5px !important; padding: 8px 14px !important; }
        .nav-search { flex: 1 1 auto !important; min-width: 0 !important; display: block !important; max-width: 100% !important; }
        .nav-search .dgwt-wcas-search-wrapp { max-width: 100% !important; }
        .nav-search .dgwt-wcas-search-input { font-size: 16px !important; padding: 8px 14px !important; height: 40px !important; }
        @media (max-width: 559px) {
            .nav-search.is-detached {
                position: static !important;
                display: block !important;
                width: auto !important;
                min-width: 0 !important;
                max-width: none !important;
                margin: 0 !important;
                padding: 8px 12px !important;
                background: var(--bg-surface, #fff);
                border-bottom: 1px solid var(--border, #e8edf3);
            }
            .nav-search.is-detached .dgwt-wcas-search-wrapp { width: 100% !important; max-width: none !important; }
            .nav-search.is-detached .dgwt-wcas-search-input { font-size: 16px !important; padding: 10px 16px !important; height: 44px !important; }
            .nav-search:not(.is-detached) { min-width: 0; flex: 1 1 auto; }
        }
        html.theme-dark .nav-search.is-detached { background: var(--bg-surface); border-bottom-color: var(--border); }
        @media (max-width: 379px) {
            .nav-right { gap: 2px !important; }
            .nav-icon-btn { width: 38px !important; height: 38px !important; }
        }
        .nav-inner { gap: 8px !important; padding: 0 12px !important; height: 66px !important; }
        .nav-logo svg, .nav-logo img { height: 39px !important; }
    }
    @media (max-width: 480px) {
        .announce-bar { font-size: 10.5px !important; padding: 7px 10px !important; }
        .nav-inner { padding: 0 10px !important; gap: 6px !important; }
        .nav-logo svg, .nav-logo img { height: 31px !important; }
        .nav-signin { padding: 6px 10px !important; font-size: 11px !important; }
    }