:root {
    --store-navy: #08284a;
    --store-navy-dark: #061f38;
    --store-max: 1280px;
}

.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

nav.bottom-nav.mobile-only {
    display: grid;
}

@media (min-width: 900px) {
    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none !important;
    }

    .app-shell {
        padding-bottom: 0;
    }

    .mobile-footer {
        display: none !important;
    }

    body:not(.page-home) .app-main {
        max-width: 1200px;
        padding: 24px;
        margin: 0 auto;
    }

    body.page-home .app-main {
        max-width: none;
        padding: 0;
        margin: 0;
    }

    .store-header {
        position: relative;
        z-index: 50;
        background: #fff;
        color: var(--text);
        border-bottom: 1px solid var(--border);
        overflow: visible;
    }

    .store-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        max-width: none;
        width: 100%;
        margin: 0;
        min-height: 42px;
        padding: 6px max(24px, calc((100% - var(--store-max)) / 2 + 24px));
        font-size: 0.78rem;
        background: linear-gradient(90deg, var(--store-navy) 0%, #0c3560 55%, #124876 100%);
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .store-topbar-chip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 12px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.95);
        font: inherit;
        font-size: 0.76rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    }

    .store-topbar-chip svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        opacity: 0.9;
    }

    .store-topbar-chip:hover,
    .store-topbar-chip:focus-visible {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(255, 255, 255, 0.32);
        color: #fff;
        transform: translateY(-1px);
    }

    .store-topbar-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: rgba(255, 255, 255, 0.88);
        text-decoration: none;
        font-weight: 600;
        padding: 4px 2px;
        transition: color 0.15s ease;
    }

    .store-topbar-link svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        opacity: 0.85;
    }

    .store-topbar-link:hover,
    .store-topbar-link:focus-visible {
        color: #fff;
    }

    .store-topbar a {
        color: rgba(255, 255, 255, 0.88);
        text-decoration: none;
    }

    .store-topbar a:hover {
        color: #fff;
    }

    .store-topbar-left,
    .store-topbar-right {
        display: flex;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
    }

    .store-topbar-sep {
        color: rgba(255, 255, 255, 0.35);
    }

    .store-topbar-pill {
        padding: 2px 8px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .store-lang-switch {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .store-lang-pill.is-active {
        background: #fff;
        color: var(--store-navy);
    }

    .store-lang-pill:hover,
    .store-lang-pill:focus-visible {
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
    }

    .store-lang-pill.is-active:hover,
    .store-lang-pill.is-active:focus-visible {
        background: #fff;
        color: var(--store-navy);
    }

    .store-mainbar {
        max-width: var(--store-max);
        margin: 0 auto;
        padding-left: 24px;
        padding-right: 24px;
        background: #fff;
    }

    .store-nav {
        max-width: none;
        width: 100%;
        margin: 0;
        padding-left: max(24px, calc((100% - var(--store-max)) / 2 + 24px));
        padding-right: max(24px, calc((100% - var(--store-max)) / 2 + 24px));
        background: linear-gradient(90deg, var(--store-navy) 0%, #0c3560 55%, #124876 100%);
        color: #fff;
        border-top: 0;
    }

    .store-mainbar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 24px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .store-logo img {
        height: 44px;
        width: auto;
        max-width: 180px;
        object-fit: contain;
    }

    .store-search-wrap {
        position: relative;
        flex: 1;
        min-width: 0;
    }

    .store-search {
        display: flex;
        align-items: center;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 999px;
        overflow: hidden;
        min-height: 48px;
        box-shadow: none;
    }

    .store-search-suggestions {
        left: 0;
        right: 0;
        top: calc(100% + 8px);
    }

    .store-search-input {
        flex: 1;
        border: 0;
        outline: none;
        padding: 0 18px;
        min-width: 0;
        font-size: 0.95rem;
        color: var(--text);
    }

    .store-search-btn {
        width: 48px;
        height: 48px;
        border: 0;
        background: transparent;
        color: var(--store-navy);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .store-search-btn svg {
        width: 20px;
        height: 20px;
    }

    .store-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .store-action-btn {
        position: relative;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        border: 1px solid var(--border);
        background: #fff;
        color: var(--store-navy);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .store-action-btn svg {
        width: 20px;
        height: 20px;
    }

    .store-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border-radius: 999px;
        background: #ef4444;
        color: #fff;
        font-size: 0.65rem;
        font-weight: 700;
        line-height: 18px;
        text-align: center;
    }

    .store-account-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 42px;
        padding: 0 16px;
        border-radius: 999px;
        background: var(--store-navy);
        color: #fff;
        font-size: 0.82rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

    .store-account-btn svg {
        width: 18px;
        height: 18px;
    }

    .store-nav {
        display: flex;
        align-items: center;
        gap: 22px;
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 14px;
        border-top: 0;
        font-size: 0.88rem;
        font-weight: 600;
        position: relative;
        z-index: 40;
        overflow: visible;
    }

    .store-nav-link,
    .store-nav-trigger {
        color: #fff;
        text-decoration: none;
        background: none;
        border: 0;
        padding: 0;
        font: inherit;
        cursor: pointer;
    }

    .store-nav-link:hover,
    .store-nav-link.is-active,
    .store-nav-trigger:hover,
    .store-nav-trigger.is-active {
        color: rgba(255, 255, 255, 0.88);
    }

    .store-nav-item.has-mega {
        position: relative;
    }

    .store-nav-item.has-mega::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 12px;
    }

    .store-mega {
        position: absolute;
        top: 100%;
        left: 0;
        padding-top: 10px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        z-index: 80;
    }

    .store-nav-item.has-mega:hover .store-mega,
    .store-nav-item.has-mega:focus-within .store-mega {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .store-nav-item--last .store-mega {
        left: auto;
        right: 0;
        width: min(920px, calc(100vw - 48px));
    }

    .store-mega-inner {
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 20px;
        box-shadow: 0 24px 50px rgba(8, 40, 74, 0.16);
        overflow: hidden;
    }

    .store-mega-layout {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        min-height: 280px;
    }

    .store-mega-aside {
        padding: 22px 20px;
        background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
        border-right: 1px solid var(--border);
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .store-mega-eyebrow {
        margin: 0;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .store-mega-aside strong {
        font-size: 1.1rem;
        color: var(--store-navy);
        line-height: 1.25;
    }

    .store-mega-aside p {
        margin: 0;
        color: var(--muted);
        font-size: 0.84rem;
        line-height: 1.5;
        flex: 1;
    }

    .store-mega-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0 14px;
        border-radius: 999px;
        background: var(--store-navy);
        color: #fff;
        font-size: 0.8rem;
        font-weight: 700;
        text-decoration: none;
        align-self: flex-start;
        flex-shrink: 0;
        margin-top: auto;
        position: relative;
        z-index: 2;
        border: 0;
        cursor: pointer;
        transition: background 0.15s ease, transform 0.15s ease;
    }

    .store-mega-cta:hover,
    .store-mega-cta:focus-visible {
        background: var(--store-navy-dark);
        transform: translateY(-1px);
        color: #fff;
    }

    .store-mega-content {
        padding: 18px 20px 20px;
        min-width: 0;
    }

    .store-mega-categories {
        width: min(920px, calc(100vw - 48px));
    }

    .store-mega-brands {
        width: min(880px, calc(100vw - 48px));
    }

    .store-mega-business {
        width: min(920px, calc(100vw - 48px));
    }

    .store-mega-support {
        width: min(760px, calc(100vw - 48px));
    }

    .store-mega-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        max-height: 320px;
        overflow: auto;
        padding-right: 4px;
    }

    .store-mega-card {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 14px;
        text-decoration: none;
        color: var(--text);
        background: #fff;
        transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
    }

    .store-mega-card:hover,
    .store-mega-card:focus-visible {
        border-color: #b8c9d9;
        background: #f8fafc;
        transform: translateY(-1px);
    }

    .store-mega-card-media {
        display: block;
        width: 72px;
        height: 72px;
        border-radius: 12px;
        overflow: hidden;
        background: #f8fafc;
        flex-shrink: 0;
    }

    .store-mega-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .store-mega-card-body {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .store-mega-card-body strong {
        font-size: 0.86rem;
        color: var(--store-navy);
        line-height: 1.2;
    }

    .store-mega-card-body small {
        font-size: 0.74rem;
        color: var(--muted);
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .store-mega-brand-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        max-height: 320px;
        overflow: auto;
        padding-right: 4px;
    }

    .store-mega-brand {
        display: grid;
        gap: 8px;
        justify-items: center;
        text-align: center;
        text-decoration: none;
        color: var(--text);
        padding: 12px 10px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #fff;
        transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
    }

    .store-mega-brand:hover,
    .store-mega-brand:focus-visible {
        border-color: var(--store-navy);
        background: #f8fafc;
        transform: translateY(-1px);
    }

    .store-mega-brand img {
        width: 76px;
        height: 42px;
        object-fit: contain;
    }

    .store-mega-brand span {
        font-size: 0.72rem;
        font-weight: 600;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .store-mega-business-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        max-height: 320px;
        overflow: auto;
        padding-right: 4px;
    }

    .store-mega-business-card {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: 14px;
        text-decoration: none;
        color: var(--text);
        background: #fff;
        transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
    }

    .store-mega-business-card:hover,
    .store-mega-business-card:focus-visible {
        border-color: var(--store-navy);
        background: #f8fafc;
        transform: translateY(-1px);
    }

    .store-mega-business-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: #eef3f8;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        line-height: 1;
    }

    .store-mega-business-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .store-mega-business-copy strong {
        font-size: 0.84rem;
        color: var(--store-navy);
        line-height: 1.25;
    }

    .store-mega-business-copy small {
        font-size: 0.74rem;
        color: var(--muted);
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .store-mega-support-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .store-mega-support-col h3 {
        margin: 0 0 12px;
        font-size: 0.92rem;
        color: var(--store-navy);
    }

    .store-mega-links {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 8px;
    }

    .store-mega-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 12px;
        border: 1px solid var(--border);
        border-radius: 12px;
        color: var(--text);
        text-decoration: none;
        font-size: 0.84rem;
        font-weight: 600;
        background: #fff;
        transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
    }

    .store-mega-links a::after {
        content: '→';
        color: var(--muted);
        font-size: 0.9rem;
    }

    .store-mega-links a:hover,
    .store-mega-links a:focus-visible {
        border-color: var(--store-navy);
        background: #f8fafc;
        color: var(--store-navy);
    }

    .store-nav-item.has-mega:hover .store-nav-trigger,
    .store-nav-item.has-mega:focus-within .store-nav-trigger {
        color: #fff;
    }

    .store-hot-deals {
        margin-left: auto;
        color: #ef4444 !important;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        padding: 6px 14px;
        border-radius: 999px;
        background: rgba(239, 68, 68, 0.12);
        border: 1px solid rgba(239, 68, 68, 0.35);
        animation: clearance-pulse 1.8s ease-in-out infinite;
    }

    .store-hot-deals:hover {
        color: #fff !important;
        background: #ef4444;
        border-color: #ef4444;
        animation: none;
    }

    @keyframes clearance-pulse {
        0%, 100% {
            box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
            transform: scale(1);
        }
        50% {
            box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
            transform: scale(1.03);
        }
    }

    .store-footer {
        background: #f8fafc;
        border-top: 1px solid var(--border);
        margin-top: 40px;
    }

    .store-footer-grid,
    .store-footer-bottom {
        max-width: var(--store-max);
        margin: 0 auto;
        padding-left: 24px;
        padding-right: 24px;
    }

    .store-footer-grid {
        display: grid;
        grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
        gap: 28px;
        padding-top: 42px;
        padding-bottom: 32px;
    }

    .store-footer h3 {
        margin: 0 0 14px;
        font-size: 1rem;
    }

    .store-footer ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 10px;
    }

    .store-footer a {
        color: var(--muted);
        text-decoration: none;
    }

    .store-footer a:hover {
        color: var(--primary);
    }

    .store-footer .store-social-link {
        color: var(--primary);
    }

    .store-footer-brand p,
    .store-footer-contact {
        color: var(--muted);
        line-height: 1.6;
        font-size: 0.92rem;
    }

    .store-footer-logo {
        height: 42px;
        width: auto;
        margin-bottom: 14px;
    }

    .store-social {
        margin-top: 16px;
    }

    .store-footer-phone {
        display: inline-flex;
        margin: 10px 0 14px;
        color: var(--text);
        font-weight: 700;
        text-decoration: none;
    }

    .store-live-chat {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 18px;
        border-radius: 999px;
        background: var(--store-navy);
        color: #fff !important;
        font-size: 0.82rem;
        font-weight: 700;
        text-decoration: none;
    }

    .store-app-badges {
        display: grid;
        gap: 8px;
        margin-top: 14px;
    }

    .store-app-badges span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0 12px;
        border-radius: 10px;
        background: #111827;
        color: #fff;
        font-size: 0.72rem;
        font-weight: 600;
    }

    .store-footer-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding-top: 18px;
        padding-bottom: 22px;
        border-top: 1px solid var(--border);
        color: var(--muted);
        font-size: 0.85rem;
    }

    .store-payments {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .store-payments span {
        padding: 4px 10px;
        border-radius: 8px;
        background: #fff;
        border: 1px solid var(--border);
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--text);
    }

    .home-desktop {
        background: #fff;
    }

    #categories,
    #categories-mobile {
        scroll-margin-top: 140px;
    }

    .home-section,
    .home-popular {
        max-width: var(--store-max);
        margin: 0 auto;
        padding: 28px 24px;
    }

    .home-category-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 14px;
    }

    .home-category-tile {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 16px;
        min-height: 180px;
        text-decoration: none;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
        transform: translateY(0) scale(1);
        transition:
            transform 0.38s cubic-bezier(0.34, 1.2, 0.64, 1),
            box-shadow 0.38s ease;
        z-index: 1;
        will-change: transform;
    }

    .home-category-tile:hover,
    .home-category-tile:focus-visible {
        transform: translateY(-12px) scale(1.03);
        box-shadow: 0 22px 44px rgba(8, 40, 74, 0.28);
        z-index: 4;
    }

    .home-category-tile img {
        width: 100%;
        height: 100%;
        min-height: 180px;
        object-fit: cover;
        transform: scale(1);
        transition: transform 0.55s ease;
    }

    .home-category-tile:hover img,
    .home-category-tile:focus-visible img {
        transform: scale(1.12);
    }

    .home-category-label {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: clamp(1.4rem, 2vw, 2rem);
        font-weight: 800;
        letter-spacing: 0.08em;
        text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35));
        opacity: 1;
        transform: scale(1);
        transition: opacity 0.28s ease, transform 0.32s ease;
        pointer-events: none;
    }

    .home-category-tile:hover .home-category-label,
    .home-category-tile:focus-visible .home-category-label {
        opacity: 0;
        transform: scale(0.92);
    }

    .home-category-hover {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        min-height: 52%;
        padding: 18px 14px 16px;
        text-align: center;
        color: #fff;
        background: linear-gradient(180deg, rgba(8, 40, 74, 0) 0%, rgba(8, 40, 74, 0.72) 42%, rgba(8, 40, 74, 0.94) 100%);
        transform: translateY(110%);
        opacity: 0;
        transition:
            transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1),
            opacity 0.32s ease;
        pointer-events: none;
    }

    .home-category-hover strong {
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        line-height: 1.2;
    }

    .home-category-hover em {
        font-style: normal;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        padding: 6px 14px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.28);
        backdrop-filter: blur(4px);
    }

    .home-category-tile:hover .home-category-hover,
    .home-category-tile:focus-visible .home-category-hover {
        transform: translateY(0);
        opacity: 1;
    }

    @media (prefers-reduced-motion: reduce) {
        .home-category-tile,
        .home-category-tile img,
        .home-category-label,
        .home-category-hover {
            transition: none;
        }

        .home-category-tile:hover,
        .home-category-tile:focus-visible {
            transform: none;
        }

        .home-category-tile:hover img,
        .home-category-tile:focus-visible img {
            transform: none;
        }
    }

    .home-featured {
        background: var(--store-navy);
        color: #fff;
        padding: 34px 0 40px;
    }

    .home-featured-head,
    .home-featured-track {
        max-width: var(--store-max);
        margin: 0 auto;
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-featured-head {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 22px;
    }

    .home-eyebrow {
        margin: 0 0 6px;
        color: rgba(255, 255, 255, 0.65);
        font-size: 0.82rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .home-featured h2,
    .home-section-head h2 {
        margin: 0;
        font-size: clamp(1.4rem, 2vw, 2rem);
    }

    .carousel-controls {
        display: flex;
        gap: 10px;
    }

    .carousel-btn {
        width: 42px;
        height: 42px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .home-popular .carousel-btn {
        border-color: var(--border);
        background: #fff;
        color: var(--text);
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .home-featured-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .home-featured-track::-webkit-scrollbar {
        display: none;
    }

    .home-product-card {
        flex: 0 0 240px;
        scroll-snap-align: start;
        background: #fff;
        color: var(--text);
        border-radius: 18px;
        overflow: hidden;
        text-decoration: none;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

    .home-product-media img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        background: #f8fafc;
    }

    .home-product-body {
        padding: 14px;
    }

    .home-product-body h3 {
        margin: 0 0 8px;
        font-size: 0.95rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-product-sold {
        margin: 0 0 10px;
        color: var(--muted);
        font-size: 0.82rem;
    }

    .home-product-prices {
        display: flex;
        align-items: baseline;
        gap: 8px;
        margin-bottom: 8px;
    }

    .home-product-prices strong {
        font-size: 1.05rem;
    }

    .home-product-prices span {
        color: var(--muted);
        text-decoration: line-through;
        font-size: 0.85rem;
    }

    .home-product-rating {
        color: #f59e0b;
        font-size: 0.82rem;
        letter-spacing: 0.08em;
    }

    .service-highlights {
        max-width: var(--store-max);
        margin: 0 auto;
        padding: 28px 24px 10px;
    }

    .service-highlights-track {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px;
    }

    .service-item {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .service-icon {
        width: 46px;
        height: 46px;
        border-radius: 999px;
        background: #f8fafc;
        border: 1px solid var(--border);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        flex: 0 0 auto;
    }

    .service-item strong {
        display: block;
        font-size: 0.92rem;
        margin-bottom: 2px;
    }

    .service-item span {
        display: block;
        color: var(--muted);
        font-size: 0.8rem;
    }

    .home-section-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 18px;
    }

    .home-popular-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .home-popular-card {
        scroll-snap-align: start;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 16px;
        overflow: hidden;
        text-decoration: none;
        color: inherit;
        box-shadow: var(--shadow);
    }

    .home-popular-card img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        background: #f8fafc;
    }

    .home-popular-body {
        padding: 12px;
    }

    .home-popular-body strong {
        display: block;
        margin-bottom: 4px;
    }

    .home-popular-body span {
        display: block;
        color: var(--muted);
        text-decoration: line-through;
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .home-popular-body p {
        margin: 0;
        color: var(--muted);
        font-size: 0.82rem;
    }
}

@media (max-width: 899px) {
    .service-highlights {
        padding: 0 0 8px;
        margin-bottom: 8px;
    }

    .service-highlights-track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 0 16px 8px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .service-highlights-track::-webkit-scrollbar {
        display: none;
    }

    .service-item {
        flex: 0 0 180px;
        scroll-snap-align: start;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 12px;
        box-shadow: var(--shadow);
    }
}

@media (min-width: 900px) and (max-width: 1100px) {
    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-highlights-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-popular-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .store-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .home-popular-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* Contact modal (desktop topbar) */
body.contact-modal-open {
    overflow: hidden;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.contact-modal[hidden] {
    display: none;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 40, 74, 0.55);
    backdrop-filter: blur(4px);
}

.contact-modal-dialog {
    position: relative;
    width: min(100%, 720px);
    max-height: min(90vh, 860px);
    overflow: auto;
    padding: 28px 24px 24px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(8, 40, 74, 0.22);
    border: 1px solid var(--border);
}

.contact-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.contact-modal-close svg {
    width: 18px;
    height: 18px;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
    background: #f8fafc;
}

.contact-modal-head {
    margin-bottom: 20px;
    padding-right: 44px;
}

.contact-modal-head h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--store-navy);
    letter-spacing: -0.02em;
}

.contact-modal-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-modal-qr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-qr-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #f8fafc;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-qr-card.is-focused {
    border-color: var(--store-navy);
    box-shadow: 0 0 0 3px rgba(8, 40, 74, 0.12);
    background: #fff;
}

.contact-qr-card-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.contact-qr-card-head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.contact-qr-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--store-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-qr-icon svg {
    width: 16px;
    height: 16px;
}

.contact-qr-image {
    display: block;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    border: 1px solid var(--border);
}

.contact-qr-link {
    display: inline-block;
    color: var(--store-navy);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
}

.contact-qr-link:hover,
.contact-qr-link:focus-visible {
    text-decoration: underline;
}

.contact-qr-hint {
    margin: 6px 0 0;
    font-size: 0.8rem;
    color: var(--muted);
}

.contact-modal-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.contact-modal-section {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}

.contact-modal-section h3 {
    margin: 0 0 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--store-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-hours-list,
.contact-locations-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.contact-hours-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--muted);
}

.contact-hours-list strong {
    color: var(--text);
    font-weight: 600;
}

.contact-locations-list li {
    display: grid;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    line-height: 1.45;
}

.contact-locations-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-locations-list strong {
    color: var(--text);
}

.contact-locations-list span {
    color: var(--muted);
}

.contact-locations-list a {
    color: var(--store-navy);
    font-weight: 600;
    font-size: 0.86rem;
    text-decoration: none;
}

.contact-locations-list a:hover,
.contact-locations-list a:focus-visible {
    text-decoration: underline;
}

@media (min-width: 640px) {
    .contact-modal-qr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-modal-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .contact-modal-dialog {
        padding: 32px 28px 28px;
    }
}
