        :root {
            --ape-blue: #002b8f;
            --ape-blue-dark: #001f6d;
            --ape-ink: #000;
            --ape-muted: #000;
            --ape-soft: #f5f5f5;
            --ape-line: #e5e7eb;
            --ape-dark: #171717;
            --ape-green: #168754;
        }

        body {
            color: var(--ape-ink);
            background: var(--ape-soft);
            font-family: Arial, Helvetica, sans-serif;
            overflow-x: hidden;
        }

        body,
        a,
        .text-secondary,
        .small {
            color: #000 !important;
        }

        .container {
            max-width: 1680px;
        }

        @media (min-width: 1200px) {
            .container {
                padding-left: 2rem;
                padding-right: 2rem;
            }
        }

        .site-header {
            background: #fff;
            border-bottom: 1px solid var(--ape-line);
            z-index: 1030;
        }

        .topbar {
            background: #f7f7f7;
            color: #545d68;
            border-bottom: 1px solid #ededed;
            font-size: .78rem;
        }

        .topbar a,
        .footer a {
            color: inherit;
        }

        .header-main {
            display: grid;
            grid-template-columns: minmax(190px, 260px) minmax(260px, 1fr) auto;
            gap: 1rem;
            align-items: center;
            padding: .9rem 0;
        }

        .brand-mark {
            display: inline-flex;
            align-items: center;
            gap: .65rem;
            color: var(--ape-ink);
            text-decoration: none;
            min-width: 0;
        }

        .brand-logo {
            width: 3.35rem;
            height: 3.35rem;
            border-radius: 50%;
            object-fit: cover;
            background: #fff;
            border: 2px solid var(--ape-blue);
        }

        .brand-title {
            display: block;
            color: var(--ape-blue);
            font-weight: 800;
            line-height: 1;
        }

        .brand-subtitle {
            display: block;
            color: #3f4650;
            font-size: .78rem;
            line-height: 1.1;
        }

        .live-search-wrap {
            position: relative;
            width: 100%;
            min-width: 0;
        }

        .site-search {
            display: flex;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            border: 2px solid var(--ape-blue);
            border-radius: 999px;
            overflow: hidden;
            background: #fff;
        }

        .site-search input {
            flex: 1;
            width: 0;
            min-width: 0;
            border: 0;
            padding: .67rem 1rem;
            outline: 0;
        }

        .site-search button {
            border: 0;
            background: var(--ape-blue);
            color: #fff !important;
            padding: .67rem 1.35rem;
            font-weight: 700;
        }

        .live-search-panel {
            position: absolute;
            top: calc(100% + .45rem);
            right: 0;
            left: 0;
            z-index: 1040;
            max-height: 30rem;
            overflow-y: auto;
            padding: .45rem;
            border: 1px solid var(--ape-line);
            border-radius: .5rem;
            background: #fff;
            box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .12);
        }

        .live-search-panel[hidden] {
            display: none !important;
        }

        .live-search-item {
            display: grid;
            grid-template-columns: 3.5rem minmax(0, 1fr) auto;
            gap: .75rem;
            align-items: center;
            padding: .5rem;
            border-radius: .45rem;
            text-decoration: none;
        }

        .live-search-item:hover,
        .live-search-view-all:hover {
            background: #eef4ff;
        }

        .live-search-thumb {
            display: grid;
            place-items: center;
            width: 3.5rem;
            height: 3.5rem;
            border: 1px solid var(--ape-line);
            border-radius: .35rem;
            background: #eef4ff;
            color: var(--ape-blue) !important;
            object-fit: cover;
            font-size: .72rem;
            font-weight: 800;
        }

        .live-search-name {
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            line-height: 1.25;
            font-weight: 700;
        }

        .live-search-meta {
            margin-top: .2rem;
            font-size: .78rem;
        }

        .live-search-price {
            color: var(--ape-blue) !important;
            font-weight: 800;
            white-space: nowrap;
        }

        .live-search-empty,
        .live-search-view-all {
            display: block;
            padding: .7rem .75rem;
            border-radius: .45rem;
            text-decoration: none;
            font-weight: 700;
        }

        .live-search-view-all {
            margin-top: .25rem;
            border-top: 1px solid var(--ape-line);
            color: var(--ape-blue) !important;
        }

        .header-tools {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: .65rem;
            min-width: 0;
        }

        .header-action,
        .account-trigger {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 2.6rem;
            padding: .55rem 1rem;
            border-radius: 999px;
            font-weight: 700;
            text-decoration: none;
            white-space: nowrap;
        }

        .header-action {
            color: #fff !important;
            background: var(--ape-blue);
        }

        .header-action:hover {
            background: var(--ape-blue-dark);
        }

        .account-trigger {
            gap: .55rem;
            border: 1px solid var(--ape-line);
            background: #fff;
            color: var(--ape-ink);
            line-height: 1.05;
        }

        .account-trigger:hover {
            border-color: var(--ape-blue);
            color: var(--ape-blue);
        }

        .account-symbol {
            display: inline-grid;
            place-items: center;
            width: 1.85rem;
            height: 1.85rem;
            border-radius: 50%;
            background: #eef4ff;
            color: var(--ape-blue);
            font-size: .75rem;
            font-weight: 900;
        }

        .account-copy {
            display: grid;
            gap: .08rem;
            text-align: left;
        }

        .account-copy small {
            color: #4b5563 !important;
            font-size: .72rem;
            font-weight: 600;
        }

        .account-copy strong {
            font-size: .9rem;
        }

        .account-chip {
            display: inline-flex;
            align-items: center;
            gap: .6rem;
            min-height: 2.6rem;
            padding: .45rem .75rem;
            border: 1px solid var(--ape-line);
            border-radius: 999px;
            background: #fff;
        }

        .account-chip-link {
            display: inline-flex;
            flex: 1;
            align-items: center;
            gap: .55rem;
            min-width: 0;
            color: var(--ape-ink) !important;
            text-decoration: none;
        }

        .account-chip-link:hover .account-copy strong {
            color: var(--ape-blue) !important;
        }

        .account-chip-form {
            margin: 0;
        }

        .account-chip button {
            border: 0;
            background: transparent;
            color: var(--ape-blue);
            font-weight: 800;
        }

        .customer-auth-modal .modal-dialog {
            max-width: 560px;
        }

        .customer-auth-modal .modal-content {
            border: 0;
            border-radius: .75rem;
            box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .25);
        }

        .customer-auth-modal .modal-body {
            padding: 2rem;
        }

        .auth-modal-title {
            margin: 0;
            text-align: center;
            font-size: clamp(1.65rem, 4vw, 2.35rem);
            font-weight: 900;
            letter-spacing: 0;
        }

        .auth-protected {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;
            margin: .8rem 0 1.5rem;
            color: #111827;
            font-weight: 700;
        }

        .auth-protected-mark {
            display: inline-grid;
            place-items: center;
            width: 1.35rem;
            height: 1.35rem;
            border-radius: 50%;
            background: var(--ape-green);
            color: #fff;
            font-size: .8rem;
            font-weight: 900;
        }

        .auth-mode-tabs {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: .5rem;
            margin-bottom: 1.25rem;
            padding: .35rem;
            border: 1px solid var(--ape-line);
            border-radius: 999px;
            background: #f8fafc;
        }

        .auth-mode-tabs .nav-link {
            min-height: 2.75rem;
            border: 0;
            border-radius: 999px;
            color: #6b7280;
            font-weight: 900;
        }

        .auth-mode-tabs .nav-link.active {
            background: var(--ape-dark);
            color: #fff !important;
        }

        .phone-row {
            display: grid;
            grid-template-columns: minmax(9.5rem, .75fr) minmax(0, 1fr);
            gap: .75rem;
        }

        .customer-auth-modal .form-control,
        .customer-auth-modal .form-select {
            min-height: 3.2rem;
            border-radius: .35rem;
            font-size: 1rem;
        }

        .auth-submit {
            min-height: 3.2rem;
            border-radius: .35rem;
            font-size: 1.05rem;
            font-weight: 900;
        }

        .category-strip {
            border-top: 1px solid #f0f0f0;
            overflow-x: hidden;
            scrollbar-width: thin;
        }

        .category-strip .container {
            overflow-x: auto;
            scrollbar-width: thin;
        }

        .category-links {
            display: flex;
            align-items: center;
            gap: .35rem;
            min-width: max-content;
            padding: .5rem 0;
        }

        .category-chip {
            color: #30343b;
            text-decoration: none;
            border-radius: 999px;
            padding: .42rem .78rem;
            font-size: .88rem;
            white-space: nowrap;
        }

        .category-chip:hover,
        .category-chip.active {
            color: var(--ape-blue);
            background: #eef4ff;
        }

        .btn-primary {
            --bs-btn-bg: var(--ape-blue);
            --bs-btn-border-color: var(--ape-blue);
            --bs-btn-color: #fff;
            --bs-btn-hover-bg: var(--ape-blue-dark);
            --bs-btn-hover-border-color: var(--ape-blue-dark);
            --bs-btn-hover-color: #fff;
            --bs-btn-active-bg: var(--ape-blue-dark);
            --bs-btn-active-border-color: var(--ape-blue-dark);
            --bs-btn-active-color: #fff;
        }

        .btn-outline-primary {
            --bs-btn-color: var(--ape-blue);
            --bs-btn-border-color: var(--ape-blue);
            --bs-btn-hover-bg: var(--ape-blue);
            --bs-btn-hover-border-color: var(--ape-blue);
            --bs-btn-active-bg: var(--ape-blue-dark);
            --bs-btn-active-border-color: var(--ape-blue-dark);
        }

        .btn-primary,
        .btn-primary:hover,
        .btn-primary:focus,
        .btn-success,
        .btn-success:hover,
        .btn-success:focus,
        .btn-outline-primary:hover,
        .btn-outline-primary:focus {
            color: #fff !important;
        }

        .section-band {
            background: #fff;
            border-bottom: 1px solid var(--ape-line);
        }

        .market-page-title {
            margin: .35rem 0 1rem;
            text-align: center;
            font-size: 1rem;
            font-weight: 800;
        }

        .deal-column {
            height: 100%;
            padding: .75rem;
            border: 1px solid #ededed;
            background: #fff;
            overflow: hidden;
        }

        .deal-column .row {
            margin-left: calc(-.5 * var(--bs-gutter-x));
            margin-right: calc(-.5 * var(--bs-gutter-x));
        }

        .deal-heading {
            display: grid;
            justify-items: center;
            gap: .25rem;
            margin-bottom: .65rem;
            min-height: 3.15rem;
            text-align: center;
        }

        .deal-heading h2 {
            margin: 0;
            font-size: .95rem;
            font-weight: 800;
        }

        .deal-badge {
            display: inline-flex;
            align-items: center;
            min-height: 1.65rem;
            padding: .2rem .6rem;
            border-radius: 999px;
            background: #eef4ff;
            color: var(--ape-blue) !important;
            font-size: .78rem;
            font-weight: 700;
            text-decoration: none;
        }

        .more-title {
            margin: .5rem 0 1rem;
            text-align: center;
            font-size: 1rem;
            font-weight: 800;
        }

        .home-product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 1rem;
        }

        .home-product-grid > .col {
            width: 100%;
            max-width: none;
            padding: 0;
        }

        .price {
            color: var(--ape-blue) !important;
            font-weight: 800;
        }

        .compare {
            color: #000;
            text-decoration: line-through;
        }

        .product-card {
            border: 1px solid var(--ape-line);
            border-radius: .5rem;
            height: 100%;
            overflow: hidden;
            background: #fff;
            content-visibility: auto;
            contain-intrinsic-size: 23rem;
            transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
        }

        .product-card:hover {
            transform: translateY(-2px);
            border-color: var(--ape-blue);
            box-shadow: 0 .65rem 1.5rem rgba(0, 43, 143, .12);
        }

        .product-image {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            background: #edf2f7;
        }

        .placeholder-image {
            aspect-ratio: 1 / 1;
            background: linear-gradient(135deg, #eef4ff, #ffffff);
            display: grid;
            place-items: center;
            color: var(--ape-blue);
            font-weight: 800;
        }

        .product-title {
            display: -webkit-box;
            min-height: 2.65rem;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            line-height: 1.3;
        }

        .product-card-compact .product-title {
            font-size: .88rem;
            min-height: 2.3rem;
        }

        .product-card-compact .product-body {
            padding: .7rem;
        }

        .product-card-compact .status-pill,
        .product-card-compact .product-actions {
            display: none !important;
        }

        .deal-tag {
            color: var(--ape-blue) !important;
            font-size: .75rem;
            font-weight: 700;
            line-height: 1.2;
        }

        .status-pill {
            font-size: .74rem;
            border: 1px solid var(--ape-line);
            border-radius: 999px;
            padding: .18rem .52rem;
            white-space: nowrap;
        }

        .filter-panel {
            border: 1px solid var(--ape-line);
            border-radius: .5rem;
            background: #fff;
        }

        .infinite-scroll-status {
            display: grid;
            place-items: center;
            min-height: 4rem;
            margin-top: 1.5rem;
            color: var(--ape-blue) !important;
            font-weight: 800;
        }

        .infinite-scroll-status[hidden] {
            display: none !important;
        }

        .gallery-main {
            width: 100%;
            aspect-ratio: 1 / .78;
            object-fit: cover;
            border-radius: .5rem;
            background: #edf2f7;
        }

        .gallery-thumb {
            width: 78px;
            height: 78px;
            object-fit: cover;
            border-radius: .45rem;
            border: 1px solid var(--ape-line);
        }

        .footer {
            background: var(--ape-blue-dark);
            color: #d9e4ff;
            border-top: .35rem solid var(--ape-blue);
            font-size: .9rem;
        }

        .footer a {
            color: #d9e4ff !important;
            text-decoration: none;
        }

        .footer a:hover {
            color: #fff !important;
        }

        .footer-main {
            display: grid;
            grid-template-columns: 1.15fr .95fr 1.25fr;
            gap: 3rem;
            padding: 2rem 0 2.6rem;
            align-items: start;
        }

        .footer-section {
            min-width: 0;
        }

        .footer-title {
            color: #fff;
            font-weight: 800;
            font-size: 1.05rem;
            margin-bottom: 1rem;
            text-transform: uppercase;
        }

        .footer-links {
            display: grid;
            gap: .65rem;
            line-height: 1.5;
        }

        .footer-copy {
            color: #d9e4ff;
            line-height: 1.75;
        }

        .payment-logos,
        .social-dots {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: .5rem;
        }

        .footer-about,
        .footer-payments,
        .footer-contact {
            margin-bottom: 2rem;
        }

        .footer-payments-grid {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            gap: 1rem;
            align-items: start;
        }

        .payment-logo {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 3rem;
            min-height: 1.6rem;
            border-radius: .25rem;
            background: #fff;
            border: 1px solid #edf0f2;
            color: #222;
            font-size: .7rem;
            font-weight: 800;
            box-shadow: 0 .15rem .4rem rgba(31, 35, 40, .06);
        }

        .payment-logo.visa,
        .payment-logo.mastercard,
        .payment-logo.unionpay,
        .payment-logo.jcb,
        .payment-logo.amex {
            color: var(--ape-blue);
        }

        .social-dot {
            display: inline-grid;
            place-items: center;
            width: 1.55rem;
            height: 1.55rem;
            border-radius: 50%;
            background: rgba(255, 255, 255, .12);
            border: 1px solid rgba(255, 255, 255, .18);
            color: #fff !important;
            font-size: .72rem;
            font-weight: 800;
            text-transform: uppercase;
        }

        .footer-action-stack {
            display: grid;
            gap: 1.15rem;
            margin-bottom: 2.2rem;
        }

        .footer-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 2.75rem;
            width: min(100%, 12rem);
            border-radius: .2rem;
            color: #fff !important;
            font-weight: 800;
            text-transform: uppercase;
            border: 1px solid transparent;
            transition: background-color .2s ease, border-color .2s ease, color .2s ease;
        }

        .footer .footer-action-primary {
            background: #fff;
            color: var(--ape-blue-dark) !important;
            border-color: #fff;
        }

        .footer .footer-action-secondary {
            background: transparent;
            border-color: rgba(255, 255, 255, .45);
        }

        .footer .footer-action-accent {
            background: var(--ape-green);
            border-color: var(--ape-green);
            color: #fff !important;
        }

        .footer .footer-action:hover {
            background: var(--ape-blue);
            border-color: var(--ape-blue);
            color: #fff !important;
        }

        .footer-contact-list {
            display: grid;
            gap: .75rem;
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .footer-contact-list strong {
            color: #fff;
        }

        .footer-referral-form {
            display: grid;
            gap: 1rem;
        }

        .footer-referral-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem;
        }

        .footer-field,
        .footer-referral-form input {
            width: 100%;
            min-height: 3rem;
            border: 1px solid rgba(255, 255, 255, .3);
            border-radius: .2rem;
            background: rgba(255, 255, 255, .07);
            color: #fff;
            padding: .75rem;
            outline: 0;
        }

        .footer-referral-form input::placeholder {
            color: #b8c8f3;
        }

        .footer-referral-label {
            color: #fff;
            font-weight: 800;
        }

        .footer-submit {
            min-height: 3rem;
            border: 1px solid #fff;
            border-radius: .2rem;
            background: #fff;
            color: var(--ape-blue-dark);
            font-weight: 800;
        }

        .footer-submit:hover {
            background: var(--ape-blue);
            border-color: var(--ape-blue);
            color: #fff;
        }

        .footer-notification-button {
            min-height: 2.55rem;
            border: 1px solid rgba(255, 255, 255, .4);
            border-radius: .2rem;
            background: rgba(255, 255, 255, .08);
            color: #fff !important;
            font-weight: 800;
        }

        .footer-notification-button[hidden] {
            display: none !important;
        }

        @media (max-width: 991.98px) {
            .header-main {
                grid-template-columns: minmax(190px, auto) minmax(260px, 1fr);
                gap: .75rem;
            }

            .live-search-wrap {
                grid-column: 1 / -1;
            }

            .header-tools {
                justify-self: end;
            }

            .footer-main {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 1.5rem;
            }

            .footer-main .footer-section:last-child {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 575.98px) {
            .topbar {
                display: none;
            }

            .container {
                padding-left: .75rem;
                padding-right: .75rem;
            }

            .header-main {
                grid-template-columns: 1fr;
                width: 100%;
            }

            .site-search {
                grid-column: auto;
                display: block;
                border-radius: .5rem;
            }

            .live-search-wrap {
                grid-column: auto;
            }

            .site-search input {
                width: 100%;
            }

            .site-search button {
                display: none;
            }

            .header-tools {
                justify-self: start;
                width: 100%;
                flex-wrap: wrap;
            }

            .account-trigger,
            .header-action,
            .account-chip {
                width: 100%;
                max-width: 100%;
            }

            .phone-row {
                grid-template-columns: 1fr;
            }

            .customer-auth-modal .modal-body {
                padding: 1.25rem;
            }

            .live-search-item {
                grid-template-columns: 3.25rem minmax(0, 1fr);
                gap: .6rem;
            }

            .live-search-price {
                grid-column: 2;
            }

            .footer-main {
                grid-template-columns: 1fr;
                gap: 1.15rem;
            }

            .footer-main .footer-section:last-child {
                grid-column: auto;
            }

            .footer-referral-grid,
            .footer-payments-grid {
                grid-template-columns: 1fr;
            }

            .footer-action {
                width: 100%;
            }

            .deal-column {
                width: calc(100vw - 1.5rem);
                max-width: 100%;
            }

            .deal-column .row {
                display: grid;
                grid-template-columns: 1fr;
                gap: .5rem;
                margin-left: 0;
                margin-right: 0;
            }

            .deal-column .row > * {
                width: 100%;
                max-width: 100%;
                padding-left: 0;
                padding-right: 0;
            }

            .home-product-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: .5rem;
            }

            .product-card-compact .product-body {
                padding: .62rem;
            }

            .product-card-compact .product-title {
                font-size: .82rem;
                min-height: 2.15rem;
            }

            .product-card-compact .price {
                font-size: .95rem;
            }
        }

        @media (max-width: 399.98px) {
            .home-product-grid {
                grid-template-columns: 1fr;
            }
        }
