/* ═══════════════════════════════════════════════
   HOME PAGE & SHOP MOBILE ADAPTATION
   ═══════════════════════════════════════════════ */

.stats-static {
    display: none;
}

.cart-back-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .catalog-controls {
        width: min(740px, calc(100% - 20px));
        margin: 2px auto 10px;
    }

    .catalog-controls-inner {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 12px;
        justify-content: center;
    }

    .catalog-filter-group {
        width: 100%;
    }

    .catalog-slider-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .catalog-slider-item input[type="range"],
    .catalog-filter-group select {
        height: 36px;
        font-size: 0.88rem;
        padding: 0 10px;
    }

    .catalog-slider-head {
        font-size: 0.78rem;
    }

    .catalog-filter-group--sort,
    .catalog-filter-group--sort select {
        min-width: 100%;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .catalog-filter-group label {
        font-size: 0.72rem;
        letter-spacing: 0.05em;
    }

    .catalog-slider-head strong {
        font-size: 0.8rem;
    }
}

@media (max-width: 900px) {

    /* Tablet: keep a constant scroll rhythm (Image -> Text) even for right-aligned heroes. */
    .hero-split--right .hero-split-media {
        order: -1;
    }

    /* Improve spacing in stacked heroes (avoid huge gaps from desktop min-heights). */
    .hero-split {
        display: flex;
        flex-direction: column;
        min-height: auto;
        gap: 0;
    }

    .hero-split-media {
        width: 100%;
        height: clamp(240px, 40vh, 420px);
        min-height: 0;
    }

    .hero-split-image {
        background-size: 94% auto;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-split-spacer {
        display: flex;
        width: 100%;
        min-height: auto;
        padding: 12px 18px 0;
        background: var(--tc-bg-main-dark);
    }

    .hero-split-copy {
        width: 100%;
        min-height: auto;
        height: auto;
        padding: 14px 0 22px;
        gap: 12px;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }

    .hero-split-copy h2,
    .hero-split-copy p {
        margin: 0;
    }

    .hero-split-copy p {
        max-width: 65ch;
    }

    /* Make the mobile search bar usable under the fixed header on mobile/tablet. */
    .mobile-search-bar {
        position: fixed;
        left: 0;
        right: 0;
        top: 74px;
        z-index: 2500;
        max-width: none;
        margin: 0;
        padding: 10px 12px;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Performance: remove heavy blur/shadow effects on touch devices. */
    .header-pill,
    .pill-nav,
    .mobile-search-bar,
    .mega-overlay,
    .mega-content,
    .mobile-menu-popover,
    .mobile-menu-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }

    .mobile-menu-popover {
        transition: transform 0.16s ease-out !important;
    }

    html,
    body,
    body.tropical-bg,
    .content-wrap,
    #main,
    .products,
    .category-section,
    .subcategory-section,
    .hero-split,
    .hero-split-spacer {
        background: var(--tc-bg-main-dark) !important;
    }

    .tropical-bg-layer {
        display: none;
    }

    .mobile-search-close {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid rgba(212, 175, 55, 0.45);
        background: rgba(0, 0, 0, 0.58);
        color: var(--techor-gold);
        font-size: 24px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        flex-shrink: 0;
    }

    /* Touch targets */
    .mobile-menu-back,
    .mobile-menu-close {
        min-height: 44px;
    }

    .modal-close,
    .mobile-detail-close,
    .login-close {
        width: 44px;
        height: 44px;
    }

    /* Login modal: keep close button inside the viewport and allow scrolling on small screens. */
    .login-modal {
        align-items: flex-start;
        overflow-y: auto;
        padding: max(10px, env(safe-area-inset-top, 0px)) 8px 12px;
    }

    .login-modal-content {
        width: min(96vw, 460px);
        margin: 8px auto 14px;
        max-height: none;
        overflow: visible;
    }

    .login-modal-content my-form {
        display: block;
        width: 100%;
    }

    .login-close {
        top: 8px;
        right: 8px;
        z-index: 6;
    }
}

@media (max-width: 1024px) {

    /* HEADER (match mobile behavior on tablets too) */
    :root {
        --header-h: 64px;
    }

    .header-pill {
        height: var(--header-h);
        padding: 8px 12px;
    }

    .pill-nav-container {
        bottom: 20px;
        top: 10px;
        width: 94%;
        left: 3%;
        transform: none;
    }

    .pill-nav {
        padding: 8px 16px;
        justify-content: space-between;
        width: 100%;
        gap: 8px;
    }

    .desktop-only,
    .pill-nav-items {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .pill-logo {
        color: var(--techor-gold) !important;
    }

    .mobile-menu-button,
    .mobile-icon-btn {
        border: 1px solid rgba(212, 175, 55, 0.45);
        background: rgba(0, 0, 0, 0.58);
    }

    .mobile-menu-button svg {
        stroke: var(--techor-gold);
    }

    .hamburger-line {
        background: var(--techor-gold);
    }

    .mobile-icon-btn .icon {
        filter: brightness(0) saturate(100%) invert(72%) sepia(36%) saturate(613%) hue-rotate(359deg) brightness(92%) contrast(88%);
    }

    .mobile-search-bar {
        position: fixed;
        left: 0;
        right: 0;
        top: 74px;
        z-index: 2500;
        max-width: none;
        margin: 0;
        padding: 10px 12px;
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Performance: remove heavy blur/shadow effects on touch devices. */
    .header-pill,
    .pill-nav,
    .mobile-search-bar,
    .mega-overlay,
    .mega-content,
    .mobile-menu-popover,
    .mobile-menu-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }

    .mobile-menu-popover {
        transition: transform 0.16s ease-out !important;
    }

    html,
    body,
    body.tropical-bg,
    .content-wrap,
    #main,
    .products,
    .category-section,
    .subcategory-section,
    .hero-split,
    .hero-split-spacer {
        background: var(--tc-bg-main-dark) !important;
    }

    .tropical-bg-layer {
        display: none;
    }

    /* Keep image/text in separate rows on tablets and phones to avoid overlap while scrolling. */
    .hero-split,
    .hero-split--left,
    .hero-split--right {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        align-items: start;
        overflow: hidden;
    }

    .hero-split-media {
        grid-row: 1 !important;
        order: 0 !important;
        width: 100%;
        height: clamp(240px, 42vh, 520px) !important;
        min-height: 0;
        overflow: hidden;
    }

    .hero-split-image {
        background-size: contain !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
    }

    .hero-split-spacer {
        display: flex !important;
        grid-row: 2 !important;
        position: relative;
        z-index: 1;
    }

    .hero-split-copy {
        position: relative;
        z-index: 1;
    }

    /* Backdrop interactions for drawers on touch devices (menu/cart). */
    .global-dim-layer {
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    /* Ensure the mobile menu overlays the fixed header (otherwise the close/back can be hidden). */
    .mobile-menu-popover {
        z-index: 3600;
    }

    /* Tablet/mobile visual consistency: menu/category copy in gold. */
    .mobile-menu-title,
    .mobile-menu-back,
    .mobile-menu-close,
    .mobile-menu-item,
    .mobile-nav-link,
    .mega-categories li,
    .panel-column ul li,
    .home-section-title,
    .subcategory-title {
        color: var(--techor-gold);
    }

    .mega-categories .mega-category.active {
        color: var(--techor-gold);
    }

    /* Mobile cart icon badge */
    .mobile-icon-btn {
        position: relative;
    }

    .mobile-cart-count {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: var(--techor-gold);
        color: #000;
        font-size: 11px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
        pointer-events: none;
    }

    /* Login close button visible in tablet/mobile as explicit X */
    .login-modal-content {
        width: min(560px, 94vw);
    }

    .login-close {
        top: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
        z-index: 8;
        background: rgba(0, 0, 0, 0.78);
        border: 1px solid rgba(212, 175, 55, 0.55);
        color: var(--techor-gold);
    }

    .login-close .icon-close {
        display: none;
    }

    .login-close::before {
        content: "\00D7";
        font-size: 28px;
        line-height: 1;
        color: var(--techor-gold);
        font-weight: 700;
    }

    /* Cart header back action for touch devices */
    .cart-header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 8px;
    }

    .cart-header h3 {
        margin: 0;
        text-align: center;
    }

    .cart-back-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid rgba(212, 175, 55, 0.45);
        background: rgba(0, 0, 0, 0.55);
        color: var(--techor-gold);
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }

    /* Header tap feedback (mobile/tablet): lightweight for smoother taps. */
    .pill-nav .pill,
    .pill-logo,
    .mobile-menu-button,
    .mobile-icon-btn {
        transition: transform 0.1s ease, background-color 0.12s ease, border-color 0.12s ease;
    }

    .pill-nav .pill:active,
    .pill-nav .pill:focus-visible,
    .mobile-menu-button:active,
    .mobile-menu-button:focus-visible,
    .mobile-icon-btn:active,
    .mobile-icon-btn:focus-visible {
        outline: none;
        transform: scale(0.96);
        background: rgba(212, 175, 55, 0.16);
        border-color: rgba(212, 175, 55, 0.75);
    }

    .mobile-menu-button:active svg,
    .mobile-menu-button:focus-visible svg {
        opacity: 0.92;
    }

    .mobile-icon-btn:active .icon,
    .mobile-icon-btn:focus-visible .icon {
        filter: brightness(0) saturate(100%) invert(72%) sepia(36%) saturate(613%) hue-rotate(359deg) brightness(92%) contrast(88%);
    }

    .mobile-search-close:active,
    .mobile-search-close:focus-visible,
    .cart-back-mobile:active,
    .cart-back-mobile:focus-visible {
        transform: scale(0.95);
    }

    /* Section banners in category views: avoid full-screen letterbox and keep image at top. */
    .premium-section-banner,
    .offers-section-banner,
    .new-section-banner,
    .combos-section-banner,
    .topsellers-section-banner,
    .services-section-banner {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        min-height: 0;
        height: auto;
        align-items: flex-start;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .premium-section-banner img,
    .offers-section-banner img,
    .new-section-banner img,
    .combos-section-banner img,
    .topsellers-section-banner img,
    .services-section-banner img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain !important;
        object-position: top center;
    }

    /* Home mobile/tablet: remove scroll-based visual motion. */
    body.home-view .blur-text .blur-word,
    body.home-view .layout-text-flip__word,
    body.home-view .scroll-float-word .char {
        transition: none !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
    }

    body.home-view .carousel {
        display: flex;
        width: 100%;
        height: auto;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 12px 8px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    body.home-view .carousel > article {
        position: relative;
        left: auto;
        animation: none !important;
        flex: 0 0 min(82vw, 280px);
        width: min(82vw, 280px);
    }

    body.mobile-drawer-open .global-dim-layer,
    body.cart-open .global-dim-layer {
        opacity: 1;
        pointer-events: auto;
        z-index: 1040;
    }

    /*
      Product grid:
      - Avoid horizontal carousels on tablet (better UX and prevents overlap issues).
      - Keep desktop intact: these rules only apply <=1024px and are more specific than the base.
    */
    #productsGrid.product-grid:not(.products-grouped),
    .product-grid--fixed {
        display: grid;
        overflow: visible;
        scroll-snap-type: none;
    }

    #productsGrid.product-grid:not(.products-grouped) > .card,
    #productsGrid.product-grid:not(.products-grouped) > .product-card,
    .product-grid--fixed > .card,
    .product-grid--fixed > .product-card {
        flex: none;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {

    /* Tablet: 3 cards per row. */
    #productsGrid.product-grid:not(.products-grouped),
    .product-grid--fixed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {

    /* ── HEADER (PILL NAV) ── */
    .pill-nav-container {
        bottom: auto;
        top: 0;
        width: 94%;
        left: 3%;
        transform: none;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .pill-nav {
        padding: 8px 16px;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }

    .pill-nav-items {
        display: none;
        /* Hide desktop pills */
    }

    /* Mobile Only Buttons (Hamburger, Cart, User) */
    .mobile-only {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        align-self: center;
        margin: 0;
    }

    .pill-nav > .mobile-only,
    .pill-nav > .pill-logo {
        align-self: center !important;
    }

    /* Header controls in gold for mobile */
    .pill-logo {
        color: var(--techor-gold) !important;
    }

    .mobile-menu-button,
    .mobile-icon-btn {
        border: 1px solid rgba(212, 175, 55, 0.45);
        background: rgba(0, 0, 0, 0.58);
    }

    .mobile-menu-button svg {
        stroke: var(--techor-gold);
    }

    .hamburger-line {
        background: var(--techor-gold);
    }

    .mobile-icon-btn .icon {
        filter: brightness(0) saturate(100%) invert(72%) sepia(36%) saturate(613%) hue-rotate(359deg) brightness(92%) contrast(88%);
    }

    .login-close {
        top: 8px;
        right: 8px;
        z-index: 10;
        background: rgba(0, 0, 0, 0.78);
        border: 1px solid rgba(212, 175, 55, 0.55);
        color: var(--techor-gold);
    }

    .login-close .icon-close {
        display: none;
    }

    .login-close::before {
        content: "\00D7";
        font-size: 28px;
        line-height: 1;
        color: var(--techor-gold);
        font-weight: 700;
    }

    .cart-back-mobile {
        display: inline-flex !important;
        background: var(--techor-gold);
        color: #000;
        border: none;
        font-weight: 700;
        font-size: 12px;
        min-height: 34px;
        padding: 0 10px;
        max-width: 108px;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 4;
    }

    body.cart-open #mobileCartBack {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* ── HERO SPLIT SECTIONS ── */
    .hero-split {
        flex-direction: column !important;
        height: auto;
        min-height: auto;
        padding-bottom: 20px;
    }

    .hero-split--right {
        flex-direction: column !important;
    }

    /* Force Image to be First and Full Width */
    .hero-split-media {
        width: 100%;
        height: clamp(220px, 36vh, 340px) !important;
        min-height: 0 !important;
        position: relative;
        order: 0;
    }

    .hero-split-image {
        background-size: contain !important;
        background-position: center top !important;
    }

    .hero-split-spacer {
        display: flex;
        width: 100%;
        padding: 8px 16px 0;
        text-align: center;
        background: var(--tc-bg-main-dark);
    }

    .hero-split-copy {
        padding: 10px 0 18px !important;
        gap: 10px;
    }

    .hero-split-copy h2 {
        font-size: 28px;
        /* Smaller title */
        line-height: 1.1;
    }

    .hero-split-copy p {
        font-size: 15px;
        padding: 0 10px;
    }

    /* Product cards: avoid horizontal crop feeling on images in small screens. */
    .card .image-container img {
        transform: scale(0.94) !important;
        object-fit: contain;
        object-position: center;
    }

    /* Mobile only: remove stats bar from cards, show it only in product detail image area. */
    .card .stats,
    .product-card .stats {
        display: none;
    }

    .modal-media,
    .mobile-detail-media {
        position: relative;
    }

    .modal-media .stats-static,
    .mobile-detail-media .stats-static {
        display: none !important;
    }

    .modal-media .stats-static .stat,
    .mobile-detail-media .stats-static .stat {
        font-size: 11px;
        padding: 4px 8px;
        width: calc((100% - 12px) / 3);
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 999px;
        color: #fff;
    }

    .modal-media .stats-static .stat-value,
    .mobile-detail-media .stats-static .stat-value {
        color: #fff;
        font-weight: 700;
    }

    /* Product card CTA on mobile: price first, then centered cart + qty controls. */
    .card .cta {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .card .cta .price {
        order: 0;
        width: 100%;
        margin: 0;
        text-align: center;
        font-size: 15px;
    }

    .card .cta .price--offer {
        align-items: center;
    }

    .open-modal {
        min-width: auto;
        padding: 0 8px;
    }

    .mobile-detail-footer .delivery-note {
        text-align: center;
        margin-bottom: 6px;
    }

    .card-offer-badge {
        top: auto;
        right: auto;
        left: 50%;
        bottom: 10px;
        transform: translateX(-50%);
    }

    .card-offer-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .card .add-to-cart {
        order: 1;
        margin: 0 auto;
        width: min(92%, 220px);
        justify-content: center;
        gap: 8px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .card .add-to-cart .btn-qty {
        gap: 6px;
        padding: 3px 6px;
    }

    .card .btn-qty .qty-btn {
        width: 22px;
        height: 22px;
    }

    .card .btn-qty .qty-value {
        min-width: 14px;
    }

    /* Full Width CTA Buttons */
    .hero-split-cta {
        width: 100%;
        margin-top: 24px;
        justify-content: center;
        background: var(--techor-gold);
        color: #000;
        border: none;
        height: 50px;
    }

    .hero-split-cta svg {
        display: none;
        /* Simplify button */
    }

    /* Smaller footer on phones */
    .footer {
        padding: 0.9rem 0.75rem;
    }

    .footer-content {
        gap: 12px;
        max-width: 100%;
    }

    .footer-section h4 {
        margin-bottom: 0.35rem;
        font-size: 0.84rem;
    }

    .footer-section p {
        font-size: 0.72rem;
        line-height: 1.3;
        margin: 0;
    }

    .footer-recaptcha {
        margin-top: 8px;
        font-size: 0.62rem;
        line-height: 1.28;
    }

    /* ── PRODUCT GRID (2 COLUMNS) ── */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 12px;
    }

    .product-card {
        min-height: 280px;
    }

    .product-info {
        padding: 12px;
    }

    .product-title {
        font-size: 13px;
        height: 36px;
        /* Limit lines */
        overflow: hidden;
    }

    .product-price {
        font-size: 16px;
    }

    /* ── SHOPPING CART (FULL SCREEN) ── */
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
        border-left: none;
        top: 0;
        height: 100dvh;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        z-index: 4200;
    }

    .cart-header {
        padding: max(14px, env(safe-area-inset-top, 0px)) 12px 14px;
    }

    .cart-items {
        padding-bottom: 140px;
        /* Space for sticky footer */
    }

    .cart-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--tc-bg-main-dark);
        /* Ensure opaque background */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
        z-index: 20;
    }

    .whatsapp-btn {
        height: 50px;
        font-size: 16px;
    }

    /* ── CONTACT & SOCIAL (TILT GRID) ── */
    .contact-tilt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        padding: 0 6px 24px;
    }

    .tilt3d-card {
        transform: none !important;
        /* Disable 3D tilt */
        transition: none;
    }

    /* ── MOBILE MENU DRAWER ── */
    .mobile-menu-popover {
        position: fixed;
        inset: 0;
        background: var(--tc-bg-main-dark);
        z-index: 3600;
        display: flex;
        flex-direction: column;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 20px;
    }

    .mobile-menu-popover[aria-hidden="false"] {
        transform: translateY(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
        position: sticky;
        top: 0;
        background: var(--tc-bg-main-dark);
        z-index: 1;
    }

    .mobile-menu-title {
        font-size: 20px;
        font-family: var(--techcor-ui-font);
        color: var(--techor-gold);
    }

    .mobile-menu-close {
        font-size: 32px;
        color: var(--techor-gold);
        background: none;
        border: none;
    }

    .mobile-menu-body {
        flex: 1;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

.mobile-nav-link {
        font-size: 24px;
        color: var(--techor-gold);
        text-decoration: none;
        font-weight: 500;
    }
}

/* Responsive hardening fixes: mobile/tablet only (desktop isolated). */
@media (max-width: 1024px) {
    .header-pill {
        display: flex;
        align-items: center;
        min-height: 64px;
        padding: 0 12px !important;
    }

    .pill-nav-container {
        top: 0 !important;
        bottom: auto !important;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .pill-nav {
        display: flex;
        align-items: center;
        min-height: 48px;
        line-height: 1;
    }

    .header-pill .pill-nav > * {
        align-self: center !important;
    }

    .mobile-only.mobile-menu-button,
    .mobile-only.mobile-icon-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        align-self: center;
        margin: 0;
        line-height: 0;
    }

    .pill-logo {
        position: relative;
        transform: translateY(-1px);
        z-index: 6;
        display: inline-flex;
        align-items: center;
        align-self: center;
        margin: 0;
        padding: 0 10px;
        height: var(--nav-h);
        line-height: 1;
    }

    .pill-logo-img {
        width: clamp(60px, 22vw, 74px);
        height: 24px;
        object-fit: cover;
        object-position: center;
    }

    .mobile-icon-btn .icon {
        display: block;
    }

    html,
    body,
    body.tropical-bg,
    body.home-view,
    body.category-view {
        background: var(--tc-bg-main-dark) !important;
        background-image: none !important;
    }

    body::before {
        background: var(--tc-bg-main-dark) !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .content-wrap,
    #contentWrap,
    #contentWrap > main {
        background: var(--tc-bg-main-dark) !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    .tropical-bg-layer,
    .particles-layer,
    #particlesLayer {
        display: none !important;
    }

    .login-modal {
        background: rgba(0, 0, 0, 0.82);
        align-items: center;
        justify-content: center;
        overflow-y: auto;
        padding: max(12px, env(safe-area-inset-top, 0px)) 10px 14px;
    }

    .login-modal-content {
        position: relative;
        width: min(460px, 94vw);
        margin: auto;
        max-height: calc(100dvh - 24px);
        overflow: auto;
        padding-top: 18px;
    }

    .login-close {
        top: 6px;
        right: 6px;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 40;
        background: rgba(8, 20, 38, 0.92) !important;
        border: 1px solid rgba(148, 163, 184, 0.5) !important;
        color: #e2e8f0 !important;
        box-shadow: 0 4px 10px rgba(2, 6, 23, 0.36);
    }

    .login-close::before {
        content: none;
    }

    .login-close .icon-close {
        display: block !important;
        width: 16px;
        height: 16px;
    }

    #mobileCartBack.cart-back-mobile {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative;
        z-index: 3;
        min-width: 96px;
        background: var(--techor-gold) !important;
        color: #000 !important;
        border: none;
        font-weight: 700;
    }

    body.cart-open #mobileCartBack {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .cart-header {
        grid-template-columns: minmax(96px, max-content) 1fr auto;
    }

    .cart-header #closeCartBtn {
        justify-self: end;
    }
}

@media (max-width: 1024px) {
    html.theme-light .login-close {
        background: rgba(226, 236, 250, 0.98) !important;
        border: 1px solid rgba(30, 79, 163, 0.34) !important;
        color: #123b88 !important;
        box-shadow: 0 4px 10px rgba(30, 79, 163, 0.18);
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero-split,
    .hero-split--left,
    .hero-split--right {
        overflow: visible;
    }

    .hero-split-media {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .hero-split-image {
        width: 100%;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        background-size: contain !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
    }

    .hero-split-cta {
        align-self: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Final responsive polish for requested desktop/mobile/tablet adjustments */
@media (max-width: 1024px) {
    .mobile-menu-button,
    .mobile-icon-btn {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .services-strip-arrow {
        width: 44px;
        height: 44px;
        font-size: 30px;
        background: rgba(0, 0, 0, 0.85);
        border: 1px solid rgba(212, 175, 55, 0.45);
        border-radius: 999px;
        color: var(--techor-gold);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
    }

    .modal {
        background: linear-gradient(145deg, rgba(28, 78, 78, 0.96), rgba(40, 92, 92, 0.93)) !important;
        border-color: rgba(212, 175, 55, 0.38) !important;
    }

    .modal::before {
        content: "";
        position: absolute;
        inset: 12px;
        border-radius: 12px;
        pointer-events: none;
        z-index: 0;
        background:
            radial-gradient(150px 95px at 14% 18%, rgba(212, 175, 55, 0.14), transparent 72%),
            radial-gradient(220px 130px at 84% 74%, rgba(196, 143, 30, 0.12), transparent 74%),
            radial-gradient(110px 80px at 56% 40%, rgba(212, 175, 55, 0.1), transparent 70%);
        mix-blend-mode: screen;
        opacity: 0.82;
    }

    .modal-panel {
        position: relative;
        z-index: 1;
    }

    .modal-info,
    .modal-specs-pane {
        background: rgba(24, 72, 72, 0.42) !important;
        border: 1px solid rgba(212, 175, 55, 0.18);
        border-radius: 10px;
        padding: 10px !important;
    }

    .mobile-detail {
        background: rgba(12, 31, 31, 0.96) !important;
    }

    .mobile-detail::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background:
            radial-gradient(180px 120px at 16% 14%, rgba(212, 175, 55, 0.12), transparent 72%),
            radial-gradient(220px 140px at 84% 78%, rgba(196, 143, 30, 0.1), transparent 72%);
        opacity: 0.7;
    }

    .mobile-detail-body,
    .mobile-detail-footer {
        position: relative;
        z-index: 1;
        background: rgba(26, 76, 76, 0.7);
    }
}

@media (max-width: 768px) {
    body.home-view .hero-split,
    body.home-view .hero-split-spacer {
        background: transparent !important;
    }

    body.home-view .hero-split-copy {
        background: rgba(18, 51, 51, 0.26) !important;
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 12px;
        padding: 14px 12px 18px !important;
    }

    body.home-view .top-header-image {
        width: 100vw !important;
        margin: var(--header-h) calc(50% - 50vw) 14px !important;
        border-radius: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.home-view .top-header-image img {
        width: 100%;
        max-height: none;
    }

    .footer {
        padding: 1rem 0.9rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        align-items: start;
    }

    .footer-section h4 {
        font-size: 0.82rem;
        margin-bottom: 0.42rem;
    }

    .footer-section p,
    .footer-section li,
    .footer-section a {
        font-size: 0.74rem;
        line-height: 1.45;
    }

    .footer-section {
        padding: 2px 0;
    }

    .footer-section ul {
        margin: 0;
        padding-left: 18px;
    }

    .footer-section:nth-child(1),
    .footer-section:nth-child(2) {
        grid-row: 1;
    }

    .footer-section:nth-child(3),
    .footer-section-complaints {
        grid-row: 2;
    }

    .footer-recaptcha {
        font-size: 0.66rem;
        line-height: 1.34;
        margin-top: 10px;
    }

    .card,
    .product-card {
        position: relative;
        isolation: isolate;
    }

    .card::before,
    .product-card::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 0;
        background:
            radial-gradient(100px 70px at 18% 22%, rgba(212, 175, 55, 0.13), transparent 72%),
            radial-gradient(150px 92px at 82% 78%, rgba(196, 143, 30, 0.11), transparent 74%);
    }

    .card > *,
    .product-card > * {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .services-strip {
        margin-left: auto;
        margin-right: auto;
    }

    .services-strip-row {
        justify-content: center !important;
    }

    body.home-view .hero-split {
        margin: 0 16px 18px;
        border: 1px solid rgba(212, 175, 55, 0.45);
        border-radius: 14px;
        overflow: hidden;
        background: rgba(18, 51, 51, 0.6);
    }

    body.home-view .hero-split-copy {
        background: rgba(20, 58, 58, 0.3) !important;
        border: 0;
        border-radius: 12px;
        padding: 16px 14px 20px !important;
    }

    .services-strip-controls {
        display: none !important;
    }

    .card:not(.is-premium),
    .product-card {
        background: rgba(70, 128, 128, 0.9) !important;
        border-color: rgba(212, 175, 55, 0.3) !important;
    }

    .modal-panel {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto auto auto minmax(0, 1fr);
        grid-template-areas:
            "media info"
            "media cta"
            "media spec-title"
            "media specs";
        align-items: start;
        gap: 14px;
    }

    .modal-info {
        grid-area: info;
    }

    .modal-media {
        grid-area: media;
        align-self: start;
    }

    .modal-specs-pane {
        display: contents;
    }

    .modal-specs-title {
        grid-area: spec-title;
        margin: 6px 0 0;
    }

    .modal-specs {
        grid-area: specs;
        margin: 0;
        max-height: 190px;
    }

    .modal-cta {
        grid-area: cta;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 12px !important;
        margin-top: 0;
        width: 100%;
        max-width: 360px;
    }

    .modal-qty {
        order: 1;
        margin: 0 !important;
    }

    .modal-buy {
        order: 0;
        width: auto !important;
        max-width: 240px;
        flex: 1 1 auto;
    }

    .card .cta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .card .cta .price {
        flex: 1 1 100%;
        text-align: center;
    }

    .card .add-to-cart {
        margin: 0;
    }
}

/* Light theme responsive overrides */
html.theme-light .mobile-menu-button,
html.theme-light .mobile-icon-btn {
    background: #d7e5fb !important;
    border: 1px solid rgba(30, 79, 163, 0.3) !important;
}

html.theme-light .mobile-menu-button svg {
    stroke: #1e4fa3 !important;
}

html.theme-light .mobile-icon-btn .icon {
    filter: brightness(0) saturate(100%) invert(23%) sepia(41%) saturate(2518%) hue-rotate(214deg) brightness(96%) contrast(94%) !important;
}

html.theme-light .mobile-search-bar {
    background: rgba(200, 217, 244, 0.96) !important;
    border-bottom: 1px solid rgba(30, 79, 163, 0.24);
}

html.theme-light .mobile-search-bar input {
    background: #dde9fd !important;
    color: #0f172a !important;
    border-color: rgba(30, 79, 163, 0.28) !important;
}

html.theme-light .mobile-search-bar input::placeholder {
    color: #64748b !important;
}

html.theme-light .mobile-search-close {
    background: #d7e5fb !important;
    border-color: rgba(30, 79, 163, 0.32) !important;
    color: #1e4fa3 !important;
}

html.theme-light .mobile-search-bar .search-icon-gold {
    background: rgba(37, 99, 235, 0.14) !important;
    border-color: rgba(37, 99, 235, 0.34) !important;
    color: #1e4fa3 !important;
}

html.theme-light .mobile-menu-popover,
html.theme-light .mobile-menu-header {
    background: #c9dbf7 !important;
}

html.theme-light .mobile-menu-title,
html.theme-light .mobile-menu-back,
html.theme-light .mobile-menu-close,
html.theme-light .mobile-menu-item,
html.theme-light .mobile-nav-link {
    color: #1e4fa3 !important;
}

html.theme-light .mobile-menu-item {
    background: #d8e6fb !important;
    border: 1px solid rgba(30, 79, 163, 0.24);
}

@media (max-width: 768px) {
    html.theme-light body.home-view .hero-split-copy {
        background: rgba(196, 213, 239, 0.9) !important;
        border: 1px solid rgba(30, 79, 163, 0.24);
    }

    html.theme-light body.home-view .hero-split-copy h2 {
        color: #1e3a8a !important;
    }

    html.theme-light body.home-view .hero-split-copy p {
        color: #475569 !important;
    }
}

@media (max-width: 1024px) {
    html.theme-light .modal {
        background: linear-gradient(145deg, rgba(205, 222, 247, 0.96), rgba(184, 204, 235, 0.94)) !important;
        border-color: rgba(30, 79, 163, 0.28) !important;
    }

    html.theme-light .modal-info,
    html.theme-light .modal-specs-pane {
        background: rgba(199, 217, 245, 0.9) !important;
        border-color: rgba(30, 79, 163, 0.24) !important;
    }

    html.theme-light .mobile-detail {
        background: #b8cdf1 !important;
        color: #0f172a !important;
    }

    html.theme-light .mobile-detail-body,
    html.theme-light .mobile-detail-footer {
        background: rgba(183, 202, 232, 0.92) !important;
    }
}

html.theme-light .modal::before,
html.theme-light .mobile-detail::before {
    background:
        radial-gradient(170px 104px at 14% 18%, rgba(96, 165, 250, 0.2), transparent 72%),
        radial-gradient(220px 132px at 84% 74%, rgba(45, 212, 191, 0.16), transparent 74%),
        radial-gradient(120px 86px at 56% 40%, rgba(37, 99, 235, 0.14), transparent 70%) !important;
    opacity: 0.72 !important;
}

@media (max-width: 1024px) {
    html.theme-light .modal-media .stats-static .stat,
    html.theme-light .mobile-detail-media .stats-static .stat {
        background: rgba(191, 219, 254, 0.8);
        color: #1e3a8a;
    }

    html.theme-light .modal-media .stats-static .stat-value,
    html.theme-light .mobile-detail-media .stats-static .stat-value {
        color: #0f172a;
    }
}

/* Final mobile pass: light-theme gradients + modal/card contrast */
@media (max-width: 1024px) {
    .modal:not(.is-premium) .modal-close {
        background: rgba(8, 20, 38, 0.9) !important;
        border-color: rgba(148, 163, 184, 0.6) !important;
        color: #f8fafc !important;
        box-shadow: 0 4px 12px rgba(2, 6, 23, 0.45);
    }

    .modal:not(.is-premium) .modal-info,
    .modal:not(.is-premium) .modal-specs-pane {
        background: rgba(10, 27, 50, 0.58) !important;
        border-color: rgba(148, 163, 184, 0.36) !important;
    }

    .modal:not(.is-premium) .modal-info h2,
    .modal:not(.is-premium) .modal-model,
    .modal:not(.is-premium) .modal-price,
    .modal:not(.is-premium) .modal-badge,
    .modal:not(.is-premium) .modal-badge.is-id,
    .modal:not(.is-premium) .modal-badge.is-available {
        color: #e2e8f0 !important;
    }

    html.theme-light body,
    html.theme-light body.tropical-bg,
    html.theme-light body.home-view,
    html.theme-light body.category-view,
    html.theme-light body.premium-view {
        background:
            radial-gradient(118% 90% at 10% 8%, rgba(125, 211, 252, 0.3) 0%, rgba(125, 211, 252, 0) 48%),
            radial-gradient(94% 72% at 88% 20%, rgba(45, 212, 191, 0.22) 0%, rgba(45, 212, 191, 0) 54%),
            radial-gradient(114% 96% at 72% 86%, rgba(59, 130, 246, 0.32) 0%, rgba(59, 130, 246, 0) 60%),
            linear-gradient(157deg, #3f6294 0%, #5b93cc 34%, #4f85bc 62%, #3d5f8f 100%) !important;
        background-attachment: scroll !important;
    }

    html.theme-light body::before {
        background: transparent !important;
    }

    html.theme-light .content-wrap,
    html.theme-light #contentWrap,
    html.theme-light #contentWrap > main,
    html.theme-light #main,
    html.theme-light .products,
    html.theme-light .category-section,
    html.theme-light .subcategory-section {
        background: transparent !important;
        background-image: none !important;
    }

    html.theme-light body.category-view .category-section::before,
    html.theme-light body.category-view .subcategory-section::before {
        background:
            radial-gradient(92% 50% at 16% 22%, rgba(125, 211, 252, 0.24) 0%, rgba(125, 211, 252, 0) 64%),
            radial-gradient(78% 46% at 82% 30%, rgba(45, 212, 191, 0.2) 0%, rgba(45, 212, 191, 0) 64%),
            radial-gradient(112% 62% at 66% 80%, rgba(59, 130, 246, 0.26) 0%, rgba(59, 130, 246, 0) 70%) !important;
        mix-blend-mode: normal !important;
        filter: none !important;
        opacity: 0.72 !important;
    }

    html.theme-light .services-strip {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 10px 0 6px;
    }

    html.theme-light .services-strip-item {
        background: linear-gradient(180deg, #203e69 0%, #172e4f 100%) !important;
        border-color: rgba(147, 197, 253, 0.34) !important;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.34);
    }

    html.theme-light body.premium-view .card,
    html.theme-light body.premium-view .product-card,
    html.theme-light body.premium-view .card.is-premium,
    html.theme-light body.premium-view .product-card.is-premium {
        background: #07111f !important;
        border-color: rgba(96, 165, 250, 0.42) !important;
    }

    html.theme-light body.premium-view .card .content,
    html.theme-light body.premium-view .product-card .content,
    html.theme-light body.premium-view .card.is-premium .content,
    html.theme-light body.premium-view .product-card.is-premium .content {
        background: #000000 !important;
        border-top: 1px solid rgba(96, 165, 250, 0.32);
    }

    html.theme-light body.premium-view .card .product-name,
    html.theme-light body.premium-view .card .description,
    html.theme-light body.premium-view .card .model,
    html.theme-light body.premium-view .card .price,
    html.theme-light body.premium-view .card .stat,
    html.theme-light body.premium-view .card .stat-value {
        color: #bfdbfe !important;
    }
}

@media (max-width: 768px) {
    html.theme-light body.home-view .hero-split,
    html.theme-light body.home-view .hero-split-spacer {
        background: transparent !important;
    }

    html.theme-light body.home-view .hero-split-copy {
        background: linear-gradient(180deg, rgba(17, 44, 84, 0.72) 0%, rgba(13, 35, 68, 0.8) 100%) !important;
        border: 1px solid rgba(147, 197, 253, 0.36) !important;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.34);
    }

    html.theme-light body.home-view .hero-split-copy h2,
    html.theme-light body.home-view .hero-split-copy p {
        color: #e2e8f0 !important;
    }

    html.theme-light .modal:not(.is-premium) .modal-close {
        background: rgba(14, 40, 77, 0.94) !important;
        border-color: rgba(147, 197, 253, 0.62) !important;
    }
}

/* Mobile product detail/modal contrast fix */
@media (max-width: 768px) {
    .mobile-detail-header {
        background: linear-gradient(180deg, rgba(10, 28, 50, 0.94) 0%, rgba(10, 28, 50, 0.86) 100%) !important;
        border-bottom: 1px solid rgba(147, 197, 253, 0.42) !important;
    }

    .mobile-detail-title,
    #mobileDetailName,
    .mobile-detail-model {
        color: #e2e8f0 !important;
    }

    .mobile-detail-close {
        background: rgba(8, 20, 38, 0.92) !important;
        border: 1px solid rgba(147, 197, 253, 0.6) !important;
        color: #f8fafc !important;
    }

    .mobile-detail-footer {
        background: rgba(10, 28, 50, 0.9) !important;
        border-top-color: rgba(147, 197, 253, 0.36) !important;
    }

    .modal:not(.is-premium) .modal-info,
    .modal:not(.is-premium) .modal-specs-pane {
        background: rgba(10, 28, 50, 0.38) !important;
        border-color: rgba(148, 163, 184, 0.28) !important;
    }
}

@media (max-width: 768px) {
    html.theme-light .mobile-detail-header {
        background: linear-gradient(180deg, rgba(209, 224, 247, 0.98) 0%, rgba(198, 216, 243, 0.94) 100%) !important;
        border-bottom: 1px solid rgba(30, 79, 163, 0.34) !important;
    }

    html.theme-light .mobile-detail-title,
    html.theme-light #mobileDetailName,
    html.theme-light .mobile-detail-model {
        color: #0f172a !important;
    }

    html.theme-light .mobile-detail-close {
        background: rgba(228, 238, 252, 0.98) !important;
        border: 1px solid rgba(30, 79, 163, 0.34) !important;
        color: #123b88 !important;
    }

    html.theme-light .mobile-detail-footer {
        background: rgba(199, 217, 245, 0.94) !important;
        border-top-color: rgba(30, 79, 163, 0.3) !important;
    }

    html.theme-light .modal:not(.is-premium) .modal-info,
    html.theme-light .modal:not(.is-premium) .modal-specs-pane {
        background: rgba(205, 222, 247, 0.9) !important;
        border-color: rgba(30, 79, 163, 0.24) !important;
    }

    html.theme-light .modal:not(.is-premium) .modal-info h2,
    html.theme-light .modal:not(.is-premium) .modal-model,
    html.theme-light .modal:not(.is-premium) .modal-price,
    html.theme-light .modal:not(.is-premium) .modal-badge,
    html.theme-light .modal:not(.is-premium) .modal-badge.is-id,
    html.theme-light .modal:not(.is-premium) .modal-badge.is-available {
        color: #0f172a !important;
    }
}

/* Header visibility pass: stronger background on mobile/tablet */
@media (max-width: 1024px) {
    .header-pill {
        background: linear-gradient(180deg, rgba(6, 18, 30, 0.96) 0%, rgba(6, 18, 30, 0.86) 74%, rgba(6, 18, 30, 0.62) 100%) !important;
        border-bottom: 1px solid rgba(148, 163, 184, 0.26) !important;
        box-shadow: 0 10px 24px rgba(2, 6, 23, 0.34) !important;
    }
}

@media (max-width: 1024px) {
    html.theme-light .header-pill {
        background: linear-gradient(180deg, rgba(13, 37, 70, 0.96) 0%, rgba(13, 37, 70, 0.84) 74%, rgba(13, 37, 70, 0.6) 100%) !important;
        border-bottom: 1px solid rgba(147, 197, 253, 0.34) !important;
    }

    html.theme-light .pill-logo {
        color: #e2e8f0 !important;
    }

    html.theme-light .mobile-menu-button,
    html.theme-light .mobile-icon-btn {
        background: rgba(11, 33, 60, 0.74) !important;
        border: 1px solid rgba(147, 197, 253, 0.38) !important;
    }

    html.theme-light .mobile-menu-button svg {
        stroke: #e2e8f0 !important;
    }

    html.theme-light .mobile-icon-btn .icon {
        filter: brightness(0) saturate(100%) invert(95%) sepia(11%) saturate(504%) hue-rotate(180deg) brightness(95%) contrast(92%) !important;
    }
}

/* Tablet pass: remove white section feeling */
@media (max-width: 1024px) and (min-width: 768px) {
    html.theme-light .hero-split-spacer {
        background: transparent !important;
    }

    body.home-view .hero-split,
    html.theme-light body.home-view .hero-split {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 18px !important;
    }

    html.theme-light body.home-view .hero-split {
        background:
            radial-gradient(94% 58% at 10% 16%, rgba(125, 211, 252, 0.2) 0%, rgba(125, 211, 252, 0) 66%),
            radial-gradient(88% 52% at 88% 78%, rgba(45, 212, 191, 0.14) 0%, rgba(45, 212, 191, 0) 68%),
            linear-gradient(160deg, rgba(17, 44, 84, 0.9) 0%, rgba(13, 35, 68, 0.86) 100%) !important;
        border-color: rgba(147, 197, 253, 0.34) !important;
        box-shadow: 0 16px 30px rgba(2, 6, 23, 0.28);
    }

    html.theme-light body.home-view .hero-split-copy {
        background: linear-gradient(180deg, rgba(17, 44, 84, 0.72) 0%, rgba(13, 35, 68, 0.8) 100%) !important;
        border: 1px solid rgba(147, 197, 253, 0.28);
    }

    html.theme-light body.home-view .hero-split-copy h2,
    html.theme-light body.home-view .hero-split-copy p {
        color: #e2e8f0 !important;
    }

    html.theme-light .products,
    html.theme-light .category-section,
    html.theme-light .subcategory-section {
        background: transparent !important;
        background-image: none !important;
    }
}

/* Mobile footer: keep visual 2x2 layout */
@media (max-width: 768px) {
    .clients-showcase-grid {
        padding: 0 12px 36px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .clients-float-text {
        grid-column: 1 / -1;
        grid-row: auto;
        justify-self: center;
        margin: 8px 0 18px;
    }

    .client-card--satis1,
    .client-card--satis2,
    .client-card--satis3,
    .client-card--satis4 {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .client-card-media {
        height: 260px;
    }

    .combo-detail-grid {
        padding: 0 12px 24px;
    }

    .combo-detail-products {
        grid-template-columns: 1fr;
    }

    .combo-item-media {
        height: 160px;
    }

    .combo-detail-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .combo-detail-price {
        text-align: center;
    }

    .combo-detail-add {
        width: 100%;
    }

    .footer-content>.footer-section:last-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
        row-gap: 8px;
        align-items: start;
    }

    .footer-content>.footer-section:last-child>h4,
    .footer-content>.footer-section:last-child>p {
        grid-column: 1;
    }

    .footer-content>.footer-section:last-child .footer-section-complaints {
        grid-column: 2;
        grid-row: 1 / span 2;
        justify-content: center;
        align-items: center;
        margin-top: 0;
    }
}

@media (max-width: 1024px) {
    .services-strip {
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Mobile: make footer span full viewport width */
@media (max-width: 768px) {
    .footer {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        border-radius: 0 !important;
    }

    .footer-content {
        width: 100%;
        max-width: none !important;
    }
}

