        /* =====================================================
           TOP BAR
        ===================================================== */

        /* The top bar and the site header stay pinned on every page that has
           them; the page scrolls underneath. The top bar is a fixed 40px, so
           the header sits right below it. --site-pinned-h is the height of
           both together, for anything else that sticks (side menus, order
           summaries) to sit below them. */
        :root {
            --site-topbar-h: 40px;
            --site-pinned-h: 140px;
        }

        html {
            /* Links that jump to a section land below the pinned header. */
            scroll-padding-top: calc(var(--site-pinned-h) + 16px);
        }

        /* A map's own layers (z-index up to 1000) stay inside the map, so it
           scrolls under the pinned header instead of over it. */
        .leaflet-container {
            z-index: 0;
        }

        .top-bar {
            position: sticky;
            top: 0;
            z-index: 910;
            height: 40px;
            flex-shrink: 0;
            background: #050505;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 48px;
            font-size: 13px;
            border-bottom: 1px solid #222;
        }

        .top-left,
        .top-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .top-left a,
        .top-right a {
            transition: .2s;
        }

        .top-left a:hover,
        .top-right a:hover {
            color: #e00020;
        }

        .login-link {
            display: flex;
            align-items: center;
            gap: 7px;
            font-weight: 600;
            cursor: pointer;
        }

        .login-icon {
            font-size: 17px;
        }

        .signup-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            background: #d0001b;
            color: #fff;
            font-weight: 700;
            font-size: 12px;
            padding: 5px 14px;
            border-radius: 20px;
            cursor: pointer;
            transition: .2s;
            letter-spacing: .3px;
        }

        .signup-btn:hover {
            background: #a80016;
            color: #fff;
        }

        .logout-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            background: transparent;
            border: 1px solid #444;
            color: #fff;
            font-weight: 700;
            font-size: 12px;
            padding: 5px 14px;
            border-radius: 20px;
            cursor: pointer;
            transition: .2s;
            letter-spacing: .3px;
        }

        .logout-btn:hover {
            background: #d0001b;
            border-color: #d0001b;
            color: #fff;
        }

        .welcome-text {
            font-weight: 600;
        }

        .badge {
            background: #d9001b;
            border-radius: 50%;
            padding: 3px 6px;
            font-size: 10px;
            margin-left: 3px;
            color: white;
        }

        /* =====================================================
           HEADER
        ===================================================== */

        .header {
            position: sticky;
            top: var(--site-topbar-h);
            z-index: 900;
            min-height: 90px;
            flex-shrink: 0;
            background: #050505;
            color: white;
            display: flex;
            align-items: center;
            padding: 15px 48px;
            gap: 55px;
        }

        .logo {
            min-width: 190px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-icon {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 27px;
            overflow: hidden;
        }

        .logo-icon-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .logo-text {
            color: #e00020;
            font-size: 32px;
            font-weight: bold;
        }

        .logo-sub {
            display: block;
            color: white;
            font-size: 11px;
            margin-top: -4px;
        }

        .search-area-wrap {
            flex: 1;
            position: relative;
        }

        .search-area {
            width: 100%;
            height: 49px;
            background: white;
            border-radius: 6px;
            display: flex;
            align-items: center;
            overflow: hidden;
            color: #555;
        }

        .search-suggest-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 6px);
            left: 0;
            right: 0;
            max-height: 420px;
            overflow-y: auto;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.18);
            z-index: 500;
            padding: 6px 0;
        }

        .search-suggest-dropdown.show {
            display: block;
        }

        .search-suggest-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 16px 6px;
            font-size: 11.5px;
            font-weight: 700;
            color: #999;
            text-transform: uppercase;
            letter-spacing: .3px;
        }

        .search-suggest-clear {
            background: none;
            border: none;
            color: #c9001a;
            font-size: 11.5px;
            font-weight: 700;
            cursor: pointer;
            text-transform: none;
            letter-spacing: normal;
        }

        .search-suggest-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 9px 16px;
            font-size: 13.5px;
            color: #333;
            cursor: pointer;
        }

        .search-suggest-row:hover {
            background: #f7f7f7;
        }

        .search-suggest-row i {
            color: #999;
            width: 14px;
            text-align: center;
            flex-shrink: 0;
        }

        .search-suggest-row.search-suggest-keyword {
            font-weight: 600;
            color: #111;
            border-bottom: 1px solid #f0f0f0;
            margin-bottom: 4px;
            padding-bottom: 12px;
        }

        .search-suggest-click {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .search-suggest-remove {
            background: none;
            border: none;
            color: #bbb;
            cursor: pointer;
            font-size: 12px;
            padding: 4px;
            flex-shrink: 0;
        }

        .search-suggest-remove:hover {
            color: #c9001a;
        }

        .search-input {
            flex: 1;
            height: 100%;
            border: none;
            outline: none;
            padding: 0 20px;
            font-size: 14px;
        }

        .search-btn {
            width: 68px;
            height: 49px;
            border: none;
            background: #c9001a;
            color: white;
            font-size: 22px;
            cursor: pointer;
            transition: .2s;
        }

        .search-btn:hover {
            background: #a80016;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 25px;
            white-space: nowrap;
        }

        .header-action {
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 7px;
            cursor: pointer;
            transition: .2s;
        }

        .header-action:hover {
            color: #e00020;
        }

        .action-icon {
            font-size: 27px;
        }

        /* =====================================================
           NAVIGATION
        ===================================================== */

        .nav {
            min-height: 56px;
            background: #050505;
            color: white;
            display: flex;
            align-items: center;
            padding: 5px 48px;
            gap: 30px;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .nav::-webkit-scrollbar {
            display: none;
        }

        .all-categories {
            background: #c9001a;
            height: 45px;
            min-width: 210px;
            border-radius: 5px;
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 0 18px;
            font-weight: bold;
            cursor: pointer;
        }

        .hamburger {
            font-size: 22px;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 32px;
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
        }

        .nav-links a {
            cursor: pointer;
            transition: .2s;
        }

        .nav-links a:hover,
        .nav-links .active {
            color: #e00020;
        }

        /* =====================================================
           HERO - WITH WORKING IMAGE
        ===================================================== */

        .hero {
            margin: 0;
            width: 100%;
            aspect-ratio: 1900 / 480;
            border-radius: 0;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #1a1a1a;
        }

        .hero-image {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            opacity: 0;
            transition: opacity .6s ease;
        }

        /* The carousel crossfades between two layers and swaps which
           picture is loaded into each one, so this can't be targeted by
           element/class. promotion.png is taller than the banner (about
           2.9:1 against 4:1): it fills the width edge to edge like the
           other slides, trimming only the empty margin above and below —
           the headline and products sit in the middle band. */
        .hero-image[src*="promotion.png"] {
            object-fit: cover;
            object-position: center 46%;
        }

        .hero-image-a {
            opacity: 1;
        }

        .hero-dots {
            position: absolute;
            bottom: 14px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 2;
        }

        .dot {
            width: 9px;
            height: 9px;
            background: rgba(255,255,255,0.5);
            border-radius: 50%;
            cursor: pointer;
        }

        .dot.active {
            background: #d9001b;
        }

        /* =====================================================
           SERVICES
        ===================================================== */

        .services {
            min-height: 116px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            align-items: center;
            /* Every size in this block is clamp()-based rather than a fixed
               px value — browser zoom narrows/widens the effective CSS
               viewport exactly like a resize does, so a flat px size would
               either shrink to near-illegible at high zoom or look
               undersized floating in extra space at low zoom. Scaling with
               vw (bounded by the clamp min/max) keeps icon and text size
               visually consistent across the whole zoom range instead of
               only looking right at 100%. */
            padding: clamp(16px, 2.5vw, 22px) clamp(16px, 5vw, 80px);
            background: #fff;
            border-bottom: 1px solid #eee;
        }

        .service {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: clamp(10px, 1.6vw, 18px);
            border-right: 1px solid #ececec;
            padding: 0 clamp(10px, 1.5vw, 24px);
            min-width: 0;
        }

        .service:last-child {
            border: none;
        }

        .service-icon {
            flex-shrink: 0;
            width: clamp(42px, 4.5vw, 56px);
            height: clamp(42px, 4.5vw, 56px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(18px, 2vw, 24px);
            background: #fdeaea;
            color: #d0001b;
        }

        .service strong {
            font-size: clamp(13.5px, 1.35vw, 16px);
            font-weight: 800;
            color: #111;
            display: block;
            margin-bottom: 4px;
            letter-spacing: -.01em;
        }

        .service small {
            color: #666;
            font-size: clamp(11px, 1vw, 12.5px);
        }

        /* =====================================================
           SECTIONS
        ===================================================== */

        .section {
            padding: 20px 48px;
        }

        .section-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .section-title h2 {
            font-size: 19px;
        }

        .view-all {
            color: #d0001b;
            font-size: 12px;
            font-weight: bold;
            cursor: pointer;
        }

        /* =====================================================
           SEARCH RESULTS (products + shops)
        ===================================================== */

        .search-did-you-mean {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin: 0 0 20px;
            padding: 12px 16px;
            border: 1px solid #fde68a;
            border-radius: 10px;
            background: #fffbeb;
            color: #78350f;
            font-size: 14px;
            line-height: 1.5;
        }
        .search-did-you-mean i { color: #d97706; margin-top: 3px; }
        .search-did-you-mean a { color: #b45309; font-weight: 700; text-decoration: underline; }

        .search-results-subhead {
            font-size: 15px;
            font-weight: 700;
            color: #111;
            margin: 4px 0 14px;
        }

        .search-results-subhead + .shop-product-grid,
        .shop-product-grid + .search-results-subhead {
            margin-bottom: 28px;
        }

        a.shop-product-item {
            color: inherit;
            text-decoration: none;
        }

        .shop-results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 16px;
        }

        .shop-card {
            display: flex;
            align-items: center;
            gap: 14px;
            background: #fff;
            border: 1px solid #eee;
            border-radius: 12px;
            padding: 18px;
            box-shadow:
                0 1px 1px rgba(16,24,40,.03),
                0 6px 14px -6px rgba(16,24,40,.10),
                0 14px 26px -12px rgba(16,24,40,.10);
            transition: .2s;
        }

        .shop-card:hover {
            box-shadow:
                0 1px 1px rgba(16,24,40,.04),
                0 12px 22px -6px rgba(16,24,40,.16),
                0 24px 38px -14px rgba(16,24,40,.20);
            transform: translateY(-4px);
            border-color: #f0d9d9;
        }

        .shop-card-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #fdeaea;
            color: #d0001b;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
            overflow: hidden;
        }

        .shop-card-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .shop-card-body {
            flex: 1;
            min-width: 0;
        }

        .shop-card-name {
            font-size: 14.5px;
            font-weight: 700;
            color: #111;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .shop-card-category {
            display: inline-block;
            font-size: 10.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .3px;
            color: #b8790a;
            background: #fdf3e0;
            padding: 2px 9px;
            border-radius: 10px;
            margin-top: 5px;
        }

        .shop-card-meta {
            font-size: 11.5px;
            color: #888;
            margin-top: 6px;
        }

        .shop-card-arrow {
            color: #ccc;
            font-size: 13px;
            flex-shrink: 0;
        }

        .shop-empty {
            max-width: 440px;
            margin: 10px auto 30px;
            text-align: center;
            padding: 40px 30px;
            background: #fafafa;
            border: 1px solid #eee;
            border-radius: 10px;
        }

        .shop-empty-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 18px;
            border-radius: 50%;
            background: #fff;
            border: 1px solid #eee;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            color: #d0001b;
        }

        .shop-empty h3 {
            font-size: 17px;
            color: #111;
            margin-bottom: 8px;
        }

        .shop-empty p {
            font-size: 13px;
            color: #777;
            line-height: 1.7;
        }

        /* =====================================================
           SEE MORE (Recommended For You)
        ===================================================== */

        .see-more-wrap {
            display: flex;
            justify-content: center;
            margin-top: 22px;
        }

        .see-more-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 36px;
            border: 1.5px solid #d0001b;
            border-radius: 30px;
            color: #d0001b;
            font-size: 13.5px;
            font-weight: 700;
            transition: .2s;
        }

        .see-more-btn:hover {
            background: #d0001b;
            color: #fff;
        }

        /* =====================================================
           PAGINATION (Recommended Products page)
        ===================================================== */

        .pagination-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .pagination-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            min-width: 38px;
            height: 38px;
            padding: 0 14px;
            border: 1.5px solid #eee;
            border-radius: 20px;
            color: #444;
            font-size: 13px;
            font-weight: 600;
            transition: .2s;
        }

        .pagination-btn:not(.pagination-disabled):not(.pagination-active):hover {
            border-color: #d0001b;
            color: #d0001b;
        }

        .pagination-btn.pagination-active {
            background: #d0001b;
            border-color: #d0001b;
            color: #fff;
        }

        .pagination-btn.pagination-disabled {
            color: #ccc;
            cursor: not-allowed;
        }

        .pagination-btn.pagination-next {
            width: auto;
        }

        /* =====================================================
           CATEGORIES
        ===================================================== */

        .categories {
            display: flex;
            flex-wrap: nowrap;
            gap: 20px;
            overflow: hidden;
            padding: 10px 2px;
        }

        .categories.expanded {
            flex-wrap: wrap;
            overflow-x: visible;
        }

        .category {
            width: 100px;
            flex: 0 0 auto;
            text-align: center;
            cursor: pointer;
            transition: .2s;
            display: block;
            text-decoration: none;
            color: inherit;
        }

        .category:hover {
            transform: translateY(-5px);
        }

        .category-img {
            width: 88px;
            height: 88px;
            border: 1px solid #ddd;
            background: #fafafa;
            border-radius: 50%;
            margin: auto;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 42px;
            transition: .2s;
            overflow: hidden;
        }

        .category-img img {
            width: 60%;
            height: 60%;
            object-fit: contain;
            pointer-events: none;
        }

        .category-img.cat-large img {
            width: 78%;
            height: 78%;
        }

        .category-img i {
            color: #d0001b;
            font-size: 30px;
        }

        .category:hover .category-img {
            border-color: #d0001b;
            box-shadow: 0 5px 15px rgba(208,0,27,.12);
        }

        .category p {
            margin-top: 10px;
            font-size: 12px;
            font-weight: 600;
        }

        /* =====================================================
           FLASH DEALS
        ===================================================== */

        .flash-header {
            border-top: 1px solid #ddd;
            padding-top: 15px;
            padding-bottom: 15px;
        }

        .flash-title {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .timer {
            background: #c9001a;
            color: white;
            border-radius: 20px;
            padding: 6px 18px;
            font-size: 12px;
            font-weight: bold;
        }

        /* =====================================================
           MORE PRODUCTS SECTION
        ===================================================== */

        .product-showcase {
            background: #f7f7f7;
            padding: 30px 48px;
            margin-top: 15px;
        }

        .showcase-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .showcase-card {
            background: white;
            padding: 22px;
            border-radius: 8px;
            border: 1px solid #eee;
            transition: .2s;
        }

        .showcase-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 7px 20px rgba(0,0,0,.08);
        }

        .showcase-icon {
            font-size: 34px;
            margin-bottom: 12px;
            color: #d0001b;
        }

        .showcase-card h3 {
            font-size: 16px;
            margin-bottom: 8px;
        }

        .showcase-card p {
            color: #777;
            font-size: 12px;
            line-height: 1.6;
        }

        /* =====================================================
           FOOTER
        ===================================================== */

        footer {
            background: #070707;
            color: white;
            margin-top: auto;
        }

        .newsletter {
            background: linear-gradient(135deg, #150000, #360007);
            padding: 45px 8%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 30px;
        }

        .newsletter-text h2 {
            font-size: 25px;
            margin-bottom: 8px;
        }

        .newsletter-text p {
            color: #ccc;
            font-size: 13px;
        }

        .newsletter-form {
            display: flex;
            width: 430px;
            max-width: 100%;
        }

        .newsletter-form input {
            flex: 1;
            height: 45px;
            border: none;
            outline: none;
            padding: 0 16px;
            border-radius: 5px 0 0 5px;
        }

        .newsletter-form button {
            border: none;
            background: #d0001b;
            color: white;
            padding: 0 22px;
            border-radius: 0 5px 5px 0;
            font-weight: bold;
            cursor: pointer;
        }

        .newsletter-form button:hover {
            background: #a90017;
        }

        .footer-main {
            padding: 50px 7% 40px;
            display: grid;
            grid-template-columns: 1.5fr repeat(4, 1fr);
            gap: 45px;
        }

        .footer-brand h2 {
            color: #d9001b;
            font-size: 28px;
            margin-bottom: 12px;
        }

        .footer-brand p {
            color: #aaa;
            font-size: 12px;
            line-height: 1.8;
            max-width: 270px;
        }

        .socials {
            display: flex;
            gap: 10px;
            margin-top: 18px;
        }

        .social {
            width: 34px;
            height: 34px;
            border: 1px solid #444;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: .2s;
            font-size: 13px;
            color: inherit;
            text-decoration: none;
        }

        .social:hover {
            background: #d0001b;
            border-color: #d0001b;
        }

        .footer-column h3 {
            font-size: 14px;
            margin-bottom: 18px;
        }

        .footer-column a {
            display: block;
            color: #999;
            font-size: 12px;
            margin-bottom: 12px;
            transition: .2s;
        }

        .footer-column a:hover {
            color: #fff;
            padding-left: 4px;
        }

        .footer-bottom {
            border-top: 1px solid #222;
            padding: 20px 7%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #777;
            font-size: 11px;
        }

        .payment-methods {
            display: flex;
            gap: 8px;
        }

        .payment {
            background: #181818;
            border: 1px solid #333;
            padding: 6px 10px;
            border-radius: 4px;
            color: #bbb;
        }

        /* =====================================================
           APPROVAL MODAL (shown after signup redirect)
        ===================================================== */

        .approval-modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,.65);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .approval-modal-overlay.show {
            display: flex;
        }

        .approval-modal-box {
            width: 420px;
            max-width: 100%;
            background: #0c0c0c;
            border: 1px solid #2a2a2a;
            border-top: 3px solid #d0001b;
            border-radius: 10px;
            padding: 34px 30px;
            text-align: center;
            color: #fff;
            animation: approvalModalIn .25s ease;
            position: relative;
        }

        @keyframes approvalModalIn {
            from { transform: translateY(16px); opacity: 0; }
            to   { transform: translateY(0); opacity: 1; }
        }

        .approval-modal-icon {
            width: 62px;
            height: 62px;
            margin: 0 auto 16px;
            border-radius: 50%;
            background: rgba(208,0,27,0.12);
            border: 1px solid rgba(208,0,27,0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            color: #d0001b;
        }

        .approval-modal-icon-success {
            background: rgba(31,146,84,0.12);
            border-color: rgba(31,146,84,0.4);
            color: #1f9254;
        }

        .approval-modal-box h2 {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .approval-modal-box p {
            color: #aaa;
            font-size: 13px;
            line-height: 1.7;
        }

        .approval-modal-progress {
            margin-top: 22px;
            height: 3px;
            width: 100%;
            background: #222;
            border-radius: 3px;
            overflow: hidden;
        }

        .approval-modal-progress-bar {
            height: 100%;
            width: 100%;
            background: #d0001b;
            transform-origin: left;
            animation: approvalCountdown 5s linear forwards;
        }

        @keyframes approvalCountdown {
            from { transform: scaleX(1); }
            to   { transform: scaleX(0); }
        }

        /* =====================================================
           TOAST
        ===================================================== */

        .toast {
            position: fixed;
            right: 25px;
            bottom: 25px;
            background: #111;
            color: white;
            padding: 14px 20px;
            border-radius: 7px;
            z-index: 10000;
            transform: translateY(100px);
            opacity: 0;
            transition: .3s;
            font-size: 13px;
        }

        .toast.show {
            transform: translateY(0);
            opacity: 1;
        }

        /* =====================================================
           BACK TO TOP
        ===================================================== */

        .back-top {
            position: fixed;
            right: 25px;
            bottom: 80px;
            width: 42px;
            height: 42px;
            background: #d0001b;
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: none;
            z-index: 1000;
            font-size: 18px;
        }

        .back-top.show {
            display: block;
        }

        /* =====================================================
           RESPONSIVE
        ===================================================== */

        @media (max-width: 1200px) {
            .header { gap: 25px; }
            .showcase-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-main { grid-template-columns: repeat(3, 1fr); }
        }

        /* Switches to 2 columns well before the general 800px breakpoint
           below — at 4 columns, the service text starts wrapping mid-word
           in the 800-1024px range (and the equivalent browser-zoom levels)
           before there's enough room for it. Same treatment the 800px
           breakpoint below already used, just triggered earlier. */
        @media (max-width: 1024px) {
            .services { grid-template-columns: repeat(2, 1fr); padding: 10px; }
            .service { padding: 15px; }
        }

        @media (max-width: 800px) {
            /* On a phone only the site header stays pinned. */
            :root { --site-topbar-h: 0px; }
            .top-bar { padding: 0 15px; position: static; }
            .top-right { display: none; }
            .header { padding: 15px; flex-wrap: wrap; }
            .logo { min-width: auto; }
            .header-actions { margin-left: auto; gap: 12px; }
            .header-action { font-size: 0; }
            .header-action .action-icon { font-size: 24px; }
            .search-area-wrap { order: 3; width: 100%; }
            .nav { padding: 5px 15px; }
            .nav-links { gap: 20px; }
            .hero { margin: 0; }
            .services { grid-template-columns: repeat(2, 1fr); padding: 10px; }
            .service { padding: 15px; }
            .categories { gap: 10px; }
            .category { width: 78px; }
            .category-img { width: 65px; height: 65px; font-size: 30px; }
            .section { padding: 18px 15px; }
            .product-showcase { padding: 25px 15px; }
            .showcase-grid { grid-template-columns: 1fr; }
            .newsletter { flex-direction: column; align-items: flex-start; padding: 35px 20px; }
            .newsletter-form { width: 100%; }
            .footer-main { grid-template-columns: repeat(2, 1fr); padding: 35px 20px; gap: 30px; }
            .footer-brand { grid-column: 1 / -1; }
            .footer-bottom { flex-direction: column; gap: 15px; text-align: center; padding: 20px; }
        }

        @media (max-width: 500px) {
            .top-left { gap: 10px; font-size: 10px; }
            .logo-text { font-size: 25px; }
            .logo-icon { width: 45px; height: 45px; font-size: 20px; }

            .services { grid-template-columns: 1fr; }
            .service { border-right: none; border-bottom: 1px solid #eee; }
            .footer-main { grid-template-columns: 1fr 1fr; }
        }

/* Search suggestions — shop logo, Mall/Preferred badge, "Did you mean" */
.search-suggest-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest-logo { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; object-fit: cover; border: 1px solid #eee; background: #fff; }
.search-suggest-logo-empty { display: grid; place-items: center; background: #fff1f2; border-color: #fde2e4; }
.search-suggest-logo-empty i { color: #d0001b !important; width: auto !important; font-size: 13px; }
.search-suggest-shopname { display: grid !important; gap: 1px; flex: 1; }
.search-suggest-shopname > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: #111; }
.search-suggest-shop small { font-size: 11px; color: #999; }
.search-suggest-badge { flex-shrink: 0; padding: 2px 7px; border-radius: 5px; font-size: 10.5px; font-weight: 800; }
.search-suggest-badge.is-mall { background: #d0001b; color: #fff; }
.search-suggest-badge.is-preferred { background: #fff4e5; color: #c2410c; border: 1px solid #fed7aa; }
.search-suggest-row.search-suggest-correction { color: #111; }
.search-suggest-row.search-suggest-correction i { color: #d0001b; }
