.mls-mobile-search-toggle,
        .mls-mobile-product-search-panel {
            display: none;
        }

        @media (max-width: 768px) {
            .oceanwp-mobile-menu-icon {
                display: flex !important;
                align-items: center !important;
                justify-content: flex-end !important;
                gap: 7px !important;
            }

            .mls-mobile-search-toggle {
                display: inline-flex !important;
                flex: 0 0 44px !important;
                align-items: center !important;
                justify-content: center !important;
                width: 44px !important;
                min-width: 44px !important;
                height: 44px !important;
                margin: 0 !important;
                padding: 0 !important;
                border: 0 !important;
                border-radius: 12px !important;
                color: #fff !important;
                background: linear-gradient(135deg, #1557a6 0%, #0aa45a 100%) !important;
                box-shadow: 0 8px 20px rgba(11, 72, 133, .2) !important;
                cursor: pointer !important;
            }

            .mls-mobile-search-toggle:hover,
            .mls-mobile-search-toggle:focus-visible,
            .mls-mobile-search-toggle[aria-expanded="true"] {
                color: #fff !important;
                background: linear-gradient(135deg, #0b3f83 0%, #07884b 100%) !important;
                transform: translateY(-1px);
                outline: 2px solid rgba(14, 131, 69, .28) !important;
                outline-offset: 2px !important;
            }

            .mls-mobile-search-toggle svg,
            .mls-mobile-product-search-form button svg {
                width: 21px !important;
                height: 21px !important;
                fill: none !important;
                stroke: currentColor !important;
                stroke-width: 2 !important;
                stroke-linecap: round !important;
            }

            .mls-mobile-product-search-panel {
                display: block;
                width: 100% !important;
                margin: 0 !important;
                padding: 10px 12px 12px !important;
                border-top: 1px solid #e2eaf1 !important;
                border-bottom: 1px solid #dce6ef !important;
                background: rgba(255, 255, 255, .98) !important;
                box-shadow: 0 12px 26px rgba(10, 55, 105, .1) !important;
                position: relative !important;
                z-index: 999 !important;
            }

            .mls-mobile-product-search-panel[hidden] {
                display: none !important;
            }

            .mls-mobile-product-search-form {
                display: grid !important;
                grid-template-columns: minmax(0, 1fr) auto !important;
                align-items: stretch !important;
                gap: 8px !important;
                width: min(100%, 760px) !important;
                margin: 0 auto !important;
            }

            .mls-mobile-product-search-form input[type="search"] {
                min-width: 0 !important;
                width: 100% !important;
                height: 46px !important;
                margin: 0 !important;
                padding: 0 14px !important;
                border: 1px solid #cbd9e7 !important;
                border-radius: 11px !important;
                color: #163a66 !important;
                background: #fff !important;
                font-size: 16px !important;
                line-height: 1.2 !important;
                box-shadow: inset 0 1px 2px rgba(12, 53, 94, .04) !important;
            }

            .mls-mobile-product-search-form input[type="search"]:focus {
                border-color: #0b9653 !important;
                outline: 3px solid rgba(11, 150, 83, .13) !important;
            }

            .mls-mobile-product-search-form button[type="submit"] {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                gap: 7px !important;
                min-width: 104px !important;
                height: 46px !important;
                margin: 0 !important;
                padding: 0 15px !important;
                border: 0 !important;
                border-radius: 11px !important;
                color: #fff !important;
                background: linear-gradient(135deg, #1557a6 0%, #0aa45a 100%) !important;
                font-size: 14px !important;
                font-weight: 700 !important;
                letter-spacing: 0 !important;
                text-transform: none !important;
                white-space: nowrap !important;
                box-shadow: 0 8px 18px rgba(9, 106, 61, .17) !important;
            }

            /* Do not let containment or old overflow rules shorten long descriptions. */
            .single-product .woocommerce-tabs,
            .single-product .woocommerce-Tabs-panel--description,
            .single-product #tab-description {
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                max-height: none !important;
                height: auto !important;
                overflow: visible !important;
                content-visibility: visible !important;
                contain: none !important;
                clip: auto !important;
            }

            .single-product .woocommerce-Tabs-panel--description > *,
            .single-product #tab-description > * {
                max-width: 100% !important;
            }

            .single-product .woocommerce-Tabs-panel--description p,
            .single-product .woocommerce-Tabs-panel--description li,
            .single-product .woocommerce-Tabs-panel--description a,
            .single-product #tab-description p,
            .single-product #tab-description li,
            .single-product #tab-description a {
                white-space: normal !important;
                overflow-wrap: anywhere !important;
                word-break: normal !important;
            }

            /* Specification tables fit the viewport and remain fully readable. */
            .single-product .woocommerce-Tabs-panel--description table,
            .single-product #tab-description table {
                display: block !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                margin: 14px 0 !important;
                overflow-x: auto !important;
                overflow-y: visible !important;
                -webkit-overflow-scrolling: touch !important;
                overscroll-behavior-inline: contain !important;
                scrollbar-width: thin !important;
                border-radius: 10px !important;
            }

            .single-product .woocommerce-Tabs-panel--description table tbody,
            .single-product #tab-description table tbody {
                display: table !important;
                width: 100% !important;
                min-width: 100% !important;
                table-layout: fixed !important;
            }

            .single-product .woocommerce-Tabs-panel--description th,
            .single-product .woocommerce-Tabs-panel--description td,
            .single-product #tab-description th,
            .single-product #tab-description td {
                min-width: 0 !important;
                padding: 9px 8px !important;
                white-space: normal !important;
                overflow-wrap: anywhere !important;
                word-break: normal !important;
                vertical-align: top !important;
                font-size: 12.5px !important;
                line-height: 1.55 !important;
            }

            .single-product .woocommerce-Tabs-panel--description th,
            .single-product #tab-description th {
                width: 40% !important;
            }

            .single-product .woocommerce-Tabs-panel--description pre,
            .single-product #tab-description pre {
                max-width: 100% !important;
                white-space: pre-wrap !important;
                overflow-wrap: anywhere !important;
                overflow-x: auto !important;
            }
        }

        @media (max-width: 390px) {
            .mls-mobile-product-search-form {
                grid-template-columns: minmax(0, 1fr) 48px !important;
            }
            .mls-mobile-product-search-form button[type="submit"] {
                min-width: 48px !important;
                width: 48px !important;
                padding: 0 !important;
            }
            .mls-mobile-product-search-form button[type="submit"] span {
                display: none !important;
            }
        }