/* Final responsive polish loaded after app.css. */

@media (max-width: 768px) {
    html body section.pricing-preview .pricing-grid,
    html[data-theme="dark"] body section.pricing-preview .pricing-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        justify-items: center !important;
        overflow: visible !important;
    }

    html body section.pricing-preview .pricing-card,
    html body section.pricing-preview .pricing-card.featured,
    html[data-theme="dark"] body section.pricing-preview .pricing-card,
    html[data-theme="dark"] body section.pricing-preview .pricing-card.featured {
        width: min(calc(100vw - 28px), 344px) !important;
        max-width: calc(100vw - 36px) !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    html body section.pricing-preview .pricing-card:hover,
    html body section.pricing-preview .pricing-card.featured:hover,
    html[data-theme="dark"] body section.pricing-preview .pricing-card:hover,
    html[data-theme="dark"] body section.pricing-preview .pricing-card.featured:hover {
        transform: translateY(-2px) !important;
    }

    html body section.pricing-preview .pricing-card .pricing-features .feature-item,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-item {
        align-items: center !important;
        gap: 0.52rem !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    html body section.pricing-preview .pricing-card .pricing-features .feature-row,
    html body section.pricing-preview .pricing-card .pricing-features .feature-item .feature-row,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-row,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-item .feature-row {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        justify-items: stretch !important;
        justify-content: stretch !important;
        gap: 0.35rem !important;
    }

    html body section.pricing-preview .pricing-card .pricing-features .feature-label,
    html body section.pricing-preview .pricing-card .pricing-features .feature-item .feature-label,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-label,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-item .feature-label {
        min-width: 0 !important;
        max-width: 100% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: clip !important;
        line-height: 1.2 !important;
    }

    html body section.pricing-preview .pricing-card .pricing-features .feature-price-group,
    html body section.pricing-preview .pricing-card .pricing-features .feature-item .feature-price-group,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-price-group,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-item .feature-price-group {
        min-width: 0 !important;
        max-width: 100% !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: baseline !important;
        justify-content: flex-end !important;
        gap: 0.32rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    html body section.pricing-preview .pricing-card .pricing-features .old-price,
    html body section.pricing-preview .pricing-card .pricing-features .feature-item .old-price,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .old-price,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-item .old-price {
        flex: 0 1 auto !important;
        max-width: 100% !important;
        font-size: clamp(0.58rem, 2.45vw, 0.72rem) !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
    }

    html body section.pricing-preview .pricing-card .pricing-features .new-price,
    html body section.pricing-preview .pricing-card .pricing-features .feature-item .new-price,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .new-price,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-item .new-price {
        flex: 0 1 auto !important;
        max-width: 100% !important;
        font-size: clamp(0.74rem, 3.1vw, 0.9rem) !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 374px) {
    html body section.pricing-preview .pricing-card .pricing-features .feature-item,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-item {
        gap: 0.42rem !important;
    }

    html body section.pricing-preview .pricing-card .pricing-features .feature-row,
    html body section.pricing-preview .pricing-card .pricing-features .feature-item .feature-row,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-row,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-item .feature-row {
        gap: 0.25rem !important;
    }

    html body section.pricing-preview .pricing-card .pricing-features .feature-label,
    html body section.pricing-preview .pricing-card .pricing-features .feature-item .feature-label,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-label,
    html[data-theme="dark"] body section.pricing-preview .pricing-card .pricing-features .feature-item .feature-label {
        font-size: 0.82rem !important;
    }
}

@media (max-width: 1024px) {
    html body .header .header-content,
    html[data-theme="dark"] body .header .header-content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 42px 42px !important;
        align-items: center !important;
        column-gap: 0.42rem !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    html body .header .logo,
    html[data-theme="dark"] body .header .logo {
        grid-column: 1 !important;
        justify-self: start !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    html body .header .nav,
    html[data-theme="dark"] body .header .nav {
        grid-column: 1 / -1 !important;
    }

    html body .header .mobile-menu-toggle,
    html[data-theme="dark"] body .header .mobile-menu-toggle {
        grid-column: 2 !important;
        justify-self: stretch !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
    }

    html body .header .user-section,
    html[data-theme="dark"] body .header .user-section {
        grid-column: 3 !important;
        justify-self: stretch !important;
        align-self: center !important;
        display: flex !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    html body .header .order-search-container,
    html body .header .mobile-injected-order-search,
    html[data-theme="dark"] body .header .order-search-container,
    html[data-theme="dark"] body .header .mobile-injected-order-search {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    html body .header .order-search-btn,
    html[data-theme="dark"] body .header .order-search-btn {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        font-size: 0 !important;
        overflow: hidden !important;
    }

    html body .header .order-search-btn i,
    html[data-theme="dark"] body .header .order-search-btn i {
        margin: 0 !important;
        font-size: 1rem !important;
        line-height: 1 !important;
    }

    html body .header .order-search-btn span,
    html[data-theme="dark"] body .header .order-search-btn span {
        display: none !important;
    }
}

/* Mobile live customer order cards: place "şimdi" to the right of the avatar. */
@media (max-width: 768px) {
    html body .recent-orders .order-item,
    html[data-theme="dark"] body .recent-orders .order-item {
        display: grid !important;
        grid-template-columns: 32px auto minmax(0, 1fr) !important;
        grid-template-areas:
            "avatar time ."
            "text text text"
            "location location location" !important;
        align-items: center !important;
        justify-items: start !important;
        gap: 0.38rem 0.55rem !important;
        text-align: left !important;
    }

    html body .recent-orders .order-item .order-avatar,
    html body .recent-orders .order-item .profile-image,
    html[data-theme="dark"] body .recent-orders .order-item .order-avatar,
    html[data-theme="dark"] body .recent-orders .order-item .profile-image {
        grid-area: avatar !important;
        grid-column: auto !important;
        grid-row: auto !important;
        align-self: center !important;
        justify-self: center !important;
        margin: 0 !important;
    }

    html body .recent-orders .order-item > span:not(.time):not(.location),
    html[data-theme="dark"] body .recent-orders .order-item > span:not(.time):not(.location) {
        grid-area: text !important;
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }

    html body .recent-orders .order-item .time,
    html[data-theme="dark"] body .recent-orders .order-item .time {
        grid-area: time !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
        justify-self: start !important;
        width: auto !important;
        max-width: max-content !important;
        margin: 0 !important;
        text-align: left !important;
        white-space: nowrap !important;
        line-height: 1 !important;
    }

    html body .recent-orders .order-item .location,
    html[data-theme="dark"] body .recent-orders .order-item .location {
        grid-area: location !important;
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
    }
}

@media (max-width: 1024px) {
    html body .footer,
    html body .footer *,
    html body .footer *::before,
    html body .footer *::after,
    html[data-theme="dark"] body .footer,
    html[data-theme="dark"] body .footer *,
    html[data-theme="dark"] body .footer *::before,
    html[data-theme="dark"] body .footer *::after {
        transition-property: none !important;
        transition-duration: 0s !important;
        animation: none !important;
        transform: none !important;
        translate: none !important;
        scale: none !important;
        rotate: none !important;
        will-change: auto !important;
    }

    html body .footer .footer-section ul,
    html[data-theme="dark"] body .footer .footer-section ul {
        align-items: stretch !important;
    }

    html body .footer .footer-section ul li,
    html body .footer .footer-section ul li:hover,
    html body .footer .footer-section ul li:focus-within,
    html body .footer .footer-section ul li:active,
    html[data-theme="dark"] body .footer .footer-section ul li,
    html[data-theme="dark"] body .footer .footer-section ul li:hover,
    html[data-theme="dark"] body .footer .footer-section ul li:focus-within,
    html[data-theme="dark"] body .footer .footer-section ul li:active {
        position: static !important;
        transform: none !important;
        translate: none !important;
        scale: none !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }

    html body .footer .footer-section ul li a,
    html body .footer .footer-section ul li a:link,
    html body .footer .footer-section ul li a:visited,
    html body .footer .footer-section ul li a:hover,
    html body .footer .footer-section ul li a:focus,
    html body .footer .footer-section ul li a:focus-visible,
    html body .footer .footer-section ul li a:active,
    html[data-theme="dark"] body .footer .footer-section ul li a,
    html[data-theme="dark"] body .footer .footer-section ul li a:link,
    html[data-theme="dark"] body .footer .footer-section ul li a:visited,
    html[data-theme="dark"] body .footer .footer-section ul li a:hover,
    html[data-theme="dark"] body .footer .footer-section ul li a:focus,
    html[data-theme="dark"] body .footer .footer-section ul li a:focus-visible,
    html[data-theme="dark"] body .footer .footer-section ul li a:active {
        position: static !important;
        transform: none !important;
        translate: none !important;
        scale: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        letter-spacing: 0 !important;
        outline: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
        filter: none !important;
        font-weight: 500 !important;
        border-width: 0 !important;
        outline-offset: 0 !important;
        transition: none !important;
        animation: none !important;
        will-change: auto !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    html body .footer .footer-section:nth-child(2) ul,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul {
        display: grid !important;
        grid-template-columns: repeat(2, 150px) !important;
        justify-content: center !important;
        justify-items: stretch !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
        width: 100% !important;
        max-width: 316px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body .footer .footer-section:nth-child(2) ul li,
    html body .footer .footer-section:nth-child(2) ul li:hover,
    html body .footer .footer-section:nth-child(2) ul li:focus-within,
    html body .footer .footer-section:nth-child(2) ul li:active,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li:hover,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li:focus-within,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li:active {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        min-height: 40px !important;
        height: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .footer .footer-section:nth-child(2) ul li a,
    html body .footer .footer-section:nth-child(2) ul li a:link,
    html body .footer .footer-section:nth-child(2) ul li a:visited,
    html body .footer .footer-section:nth-child(2) ul li a:hover,
    html body .footer .footer-section:nth-child(2) ul li a:focus,
    html body .footer .footer-section:nth-child(2) ul li a:focus-visible,
    html body .footer .footer-section:nth-child(2) ul li a:active,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a:link,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a:visited,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a:hover,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a:focus,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a:focus-visible,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a:active {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        min-height: 40px !important;
        height: 40px !important;
        display: grid !important;
        grid-template-columns: 24px minmax(0, 1fr) !important;
        align-items: center !important;
        justify-items: start !important;
        column-gap: 0.45rem !important;
        padding: 0 0.55rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-align: left !important;
    }

    html body .footer .footer-section ul li a > *,
    html body .footer .footer-section ul li a:hover > *,
    html body .footer .footer-section ul li a:focus > *,
    html body .footer .footer-section ul li a:active > *,
    html[data-theme="dark"] body .footer .footer-section ul li a > *,
    html[data-theme="dark"] body .footer .footer-section ul li a:hover > *,
    html[data-theme="dark"] body .footer .footer-section ul li a:focus > *,
    html[data-theme="dark"] body .footer .footer-section ul li a:active > * {
        transform: none !important;
        translate: none !important;
        scale: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    html body .footer .footer-content > .footer-section:nth-child(3) ul,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        justify-items: stretch !important;
        gap: 0.5rem !important;
    }

    html body .footer .footer-content > .footer-section:nth-child(3) ul li,
    html body .footer .footer-content > .footer-section:nth-child(3) ul li:hover,
    html body .footer .footer-content > .footer-section:nth-child(3) ul li:focus-within,
    html body .footer .footer-content > .footer-section:nth-child(3) ul li:active,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul li,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul li:hover,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul li:focus-within,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul li:active {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .footer .footer-content > .footer-section:nth-child(3) ul li a,
    html body .footer .footer-content > .footer-section:nth-child(3) ul li a:link,
    html body .footer .footer-content > .footer-section:nth-child(3) ul li a:visited,
    html body .footer .footer-content > .footer-section:nth-child(3) ul li a:hover,
    html body .footer .footer-content > .footer-section:nth-child(3) ul li a:focus,
    html body .footer .footer-content > .footer-section:nth-child(3) ul li a:focus-visible,
    html body .footer .footer-content > .footer-section:nth-child(3) ul li a:active,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul li a,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul li a:link,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul li a:visited,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul li a:hover,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul li a:focus,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul li a:focus-visible,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(3) ul li a:active {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.45rem 0.55rem !important;
        text-align: center !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        font-weight: 500 !important;
    }
}

@media (min-width: 1025px) {
    html body .header .user-section:has(.mobile-injected-order-search),
    html[data-theme="dark"] body .header .user-section:has(.mobile-injected-order-search) {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 auto !important;
        width: auto !important;
        height: auto !important;
        min-width: 172px !important;
        margin-left: 0.75rem !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    html body .header .mobile-injected-order-search,
    html[data-theme="dark"] body .header .mobile-injected-order-search {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    html body .header .mobile-injected-order-search .order-search-btn,
    html[data-theme="dark"] body .header .mobile-injected-order-search .order-search-btn {
        width: auto !important;
        min-width: 172px !important;
        height: 44px !important;
        padding: 0 1.35rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    html body .header .mobile-injected-order-search .order-search-btn i,
    html[data-theme="dark"] body .header .mobile-injected-order-search .order-search-btn i {
        margin: 0 !important;
        font-size: 1rem !important;
        line-height: 1 !important;
    }

    html body .header .mobile-injected-order-search .order-search-btn span,
    html[data-theme="dark"] body .header .mobile-injected-order-search .order-search-btn span {
        display: inline !important;
        font-size: inherit !important;
        line-height: 1 !important;
    }
}

/* Footer must not reshuffle on mobile/tablet taps. Keep this block last. */
@media (max-width: 1024px) {
    html body .footer,
    html[data-theme="dark"] body .footer {
        overflow: hidden !important;
        contain: layout paint !important;
    }

    html body .footer > .container,
    html[data-theme="dark"] body .footer > .container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    html body .footer .footer-content,
    html[data-theme="dark"] body .footer .footer-content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        justify-items: center !important;
        align-items: start !important;
        gap: 1.65rem !important;
        width: 100% !important;
        max-width: 760px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    html body .footer .footer-section,
    html body .footer .footer-about,
    html[data-theme="dark"] body .footer .footer-section,
    html[data-theme="dark"] body .footer .footer-about {
        width: 100% !important;
        max-width: 390px !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        padding: 0 !important;
        text-align: center !important;
        transform: none !important;
        transition: none !important;
    }

    html body .footer .footer-section h4,
    html body .footer .footer-about h3,
    html[data-theme="dark"] body .footer .footer-section h4,
    html[data-theme="dark"] body .footer .footer-about h3 {
        width: 100% !important;
        min-height: 28px !important;
        margin: 0 auto 0.85rem !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        text-align: center !important;
        pointer-events: none !important;
        cursor: default !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        touch-action: none !important;
        transform: none !important;
        transition: none !important;
    }

    html body .footer .footer-logo,
    html[data-theme="dark"] body .footer .footer-logo {
        width: auto !important;
        min-width: 0 !important;
        max-width: max-content !important;
        min-height: 32px !important;
        margin: 0 auto 0.85rem !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        text-align: center !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        touch-action: manipulation !important;
        transform: none !important;
        transition: none !important;
    }

    html body .footer .footer-logo i,
    html[data-theme="dark"] body .footer .footer-logo i {
        flex: 0 0 auto !important;
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        height: 24px !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        pointer-events: none !important;
        transform: none !important;
        transition: none !important;
    }

    html body .footer .footer-logo h3,
    html[data-theme="dark"] body .footer .footer-logo h3 {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        text-align: left !important;
        pointer-events: none !important;
        transform: none !important;
        transition: none !important;
    }

    html body .footer .footer-description,
    html[data-theme="dark"] body .footer .footer-description {
        width: min(100%, 342px) !important;
        min-height: 72px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        text-align: center !important;
        transform: none !important;
        transition: none !important;
    }

    html body .footer .footer-section:nth-child(2) ul,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul {
        display: grid !important;
        grid-template-columns: repeat(2, 150px) !important;
        grid-auto-rows: 40px !important;
        justify-content: center !important;
        align-items: stretch !important;
        justify-items: stretch !important;
        gap: 0.5rem !important;
        width: 316px !important;
        min-width: 316px !important;
        max-width: 316px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        list-style: none !important;
    }

    html body .footer .footer-section:nth-child(3) ul,
    html[data-theme="dark"] body .footer .footer-section:nth-child(3) ul {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: 48px !important;
        justify-content: center !important;
        align-items: stretch !important;
        justify-items: stretch !important;
        gap: 0.5rem !important;
        width: min(100%, 374px) !important;
        margin: 0 auto !important;
        padding: 0 !important;
        list-style: none !important;
    }

    html body .footer .footer-section:nth-child(3) ul li:nth-child(1) { order: 1 !important; }
    html body .footer .footer-section:nth-child(3) ul li:nth-child(8) { order: 2 !important; }
    html body .footer .footer-section:nth-child(3) ul li:nth-child(7) { order: 3 !important; }
    html body .footer .footer-section:nth-child(3) ul li:nth-child(5) { order: 4 !important; }
    html body .footer .footer-section:nth-child(3) ul li:nth-child(6) { order: 5 !important; }
    html body .footer .footer-section:nth-child(3) ul li:nth-child(4) { order: 6 !important; }
    html body .footer .footer-section:nth-child(3) ul li:nth-child(2) { order: 7 !important; }
    html body .footer .footer-section:nth-child(3) ul li:nth-child(3) { order: 8 !important; }

    html body .footer .footer-section ul li,
    html body .footer .footer-section ul li:hover,
    html body .footer .footer-section ul li:focus-within,
    html body .footer .footer-section ul li:active,
    html[data-theme="dark"] body .footer .footer-section ul li,
    html[data-theme="dark"] body .footer .footer-section ul li:hover,
    html[data-theme="dark"] body .footer .footer-section ul li:focus-within,
    html[data-theme="dark"] body .footer .footer-section ul li:active {
        display: block !important;
        position: static !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        transition: none !important;
    }

    html body .footer .footer-section ul li a,
    html body .footer .footer-section ul li a:hover,
    html body .footer .footer-section ul li a:focus,
    html body .footer .footer-section ul li a:focus-visible,
    html body .footer .footer-section ul li a:active,
    html[data-theme="dark"] body .footer .footer-section ul li a,
    html[data-theme="dark"] body .footer .footer-section ul li a:hover,
    html[data-theme="dark"] body .footer .footer-section ul li a:focus,
    html[data-theme="dark"] body .footer .footer-section ul li a:focus-visible,
    html[data-theme="dark"] body .footer .footer-section ul li a:active {
        position: static !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }

    html body .footer .footer-section:nth-child(2) ul li a,
    html body .footer .footer-section:nth-child(2) ul li a:hover,
    html body .footer .footer-section:nth-child(2) ul li a:focus,
    html body .footer .footer-section:nth-child(2) ul li a:active,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a:hover,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a:focus,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a:active {
        display: grid !important;
        grid-template-columns: 26px max-content !important;
        align-items: center !important;
        justify-content: center !important;
        justify-items: start !important;
        gap: 0.55rem !important;
        padding: 0 0.35rem !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-align: left !important;
    }

    html body .footer .footer-section:nth-child(2) ul li a > i,
    html body .footer .footer-section:nth-child(2) ul li a > img,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a > i,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a > img {
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        height: 24px !important;
        margin: 0 !important;
        justify-self: center !important;
        flex: 0 0 24px !important;
    }

    html body .footer .footer-section:nth-child(2) ul li a > span,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul li a > span {
        min-width: 72px !important;
        max-width: 84px !important;
        margin: 0 !important;
        text-align: left !important;
        justify-self: start !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    html body .footer .footer-section:nth-child(3) ul li a,
    html body .footer .footer-section:nth-child(3) ul li a:hover,
    html body .footer .footer-section:nth-child(3) ul li a:focus,
    html body .footer .footer-section:nth-child(3) ul li a:active,
    html[data-theme="dark"] body .footer .footer-section:nth-child(3) ul li a,
    html[data-theme="dark"] body .footer .footer-section:nth-child(3) ul li a:hover,
    html[data-theme="dark"] body .footer .footer-section:nth-child(3) ul li a:focus,
    html[data-theme="dark"] body .footer .footer-section:nth-child(3) ul li a:active {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.35rem 0.5rem !important;
        line-height: 1.18 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    html body .footer .footer-bottom,
    html[data-theme="dark"] body .footer .footer-bottom {
        width: 100% !important;
        min-height: 42px !important;
        margin: 1.3rem auto 0 !important;
        padding: 0.8rem 0 0 !important;
        text-align: center !important;
        transform: none !important;
        transition: none !important;
    }

    html body .footer .container .footer-content,
    html[data-theme="dark"] body .footer .container .footer-content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        justify-items: center !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 760px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html body .footer .container .footer-content > .footer-section,
    html body .footer .container .footer-content > .footer-about,
    html[data-theme="dark"] body .footer .container .footer-content > .footer-section,
    html[data-theme="dark"] body .footer .container .footer-content > .footer-about {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: 100% !important;
        max-width: 390px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html body .footer .footer-content > .footer-section:nth-child(2),
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(2) {
        display: block !important;
        width: 100% !important;
        max-width: 390px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
        transform: none !important;
        translate: none !important;
        left: auto !important;
        right: auto !important;
    }

    html body .footer .footer-content > .footer-section:nth-child(2) ul,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(2) ul {
        box-sizing: border-box !important;
        width: 316px !important;
        min-width: 316px !important;
        max-width: 316px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(2, 150px) !important;
        grid-auto-rows: 40px !important;
        gap: 0.5rem !important;
        justify-content: center !important;
        justify-items: stretch !important;
        align-items: stretch !important;
    }

    html body .footer .footer-content > .footer-section:nth-child(2) ul li,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(2) ul li {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }

    html body .footer .footer-content > .footer-section:nth-child(2) ul li a,
    html body .footer .footer-content > .footer-section:nth-child(2) ul li a:hover,
    html body .footer .footer-content > .footer-section:nth-child(2) ul li a:focus,
    html body .footer .footer-content > .footer-section:nth-child(2) ul li a:active,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(2) ul li a,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(2) ul li a:hover,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(2) ul li a:focus,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(2) ul li a:active {
        display: grid !important;
        grid-template-columns: 26px 84px !important;
        justify-content: center !important;
        align-items: center !important;
        justify-items: start !important;
        gap: 0.55rem !important;
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        height: 40px !important;
        padding: 0 !important;
        text-align: left !important;
    }
}

@media (max-width: 380px) {
    html body .footer .footer-section:nth-child(2) ul,
    html[data-theme="dark"] body .footer .footer-section:nth-child(2) ul {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 24px) !important;
        width: calc(100vw - 24px) !important;
    }

    html body .footer .footer-content > .footer-section:nth-child(2) ul,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(2) ul {
        width: calc(100vw - 24px) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body .footer .footer-content > .footer-section:nth-child(2) ul li,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(2) ul li,
    html body .footer .footer-content > .footer-section:nth-child(2) ul li a,
    html[data-theme="dark"] body .footer .footer-content > .footer-section:nth-child(2) ul li a {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }
}

/* Keep the navbar search icon optically centered on mobile/tablet. */
@media (max-width: 1024px) {
    html body .header .order-search-btn,
    html body .header .mobile-injected-order-search .order-search-btn,
    html[data-theme="dark"] body .header .order-search-btn,
    html[data-theme="dark"] body .header .mobile-injected-order-search .order-search-btn {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        padding: 0 !important;
        display: inline-grid !important;
        place-items: center !important;
        justify-content: center !important;
        align-content: center !important;
        gap: 0 !important;
        line-height: 1 !important;
        font-size: 0 !important;
        text-align: center !important;
        overflow: hidden !important;
    }

    html body .header .order-search-btn i,
    html body .header .mobile-injected-order-search .order-search-btn i,
    html[data-theme="dark"] body .header .order-search-btn i,
    html[data-theme="dark"] body .header .mobile-injected-order-search .order-search-btn i {
        width: 18px !important;
        height: 18px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        place-self: center !important;
        line-height: 1 !important;
        font-size: 1rem !important;
        transform: none !important;
        translate: none !important;
    }

    html body .header .order-search-btn span,
    html body .header .mobile-injected-order-search .order-search-btn span,
    html[data-theme="dark"] body .header .order-search-btn span,
    html[data-theme="dark"] body .header .mobile-injected-order-search .order-search-btn span {
        display: none !important;
    }
}

/* Order search modal close button: keep the X background perfectly circular. */
html body .order-search-close-btn,
html body .order-search-dropdown .order-search-close-btn,
html body .order-search-dropdown button.order-search-close-btn,
html[data-theme="dark"] body .order-search-close-btn,
html[data-theme="dark"] body .order-search-dropdown .order-search-close-btn,
html[data-theme="dark"] body .order-search-dropdown button.order-search-close-btn {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 36px !important;
    line-height: 1 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

html body .order-search-close-btn i,
html[data-theme="dark"] body .order-search-close-btn i {
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-size: 0.9rem !important;
}

html body button.order-search-close-btn.order-search-close-btn.order-search-close-btn,
html body .order-search-dropdown button.order-search-close-btn.order-search-close-btn.order-search-close-btn,
html[data-theme="dark"] body button.order-search-close-btn.order-search-close-btn.order-search-close-btn,
html[data-theme="dark"] body .order-search-dropdown button.order-search-close-btn.order-search-close-btn.order-search-close-btn {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    border-radius: 999px !important;
}
