:root {
    --sys-ink: #171717;
    --sys-muted: #6b6b6b;
    --sys-line: #e8e4df;
    --sys-paper: #ffffff;
    --sys-soft: #f7f4ef;
    --sys-accent: #8d2438;
    --sys-accent-dark: #641526;
    --sys-success: #176b45;
    --sys-radius-sm: 10px;
    --sys-radius: 18px;
    --sys-radius-lg: 30px;
    --sys-shadow: 0 18px 55px rgba(28, 22, 18, .09);
    --sys-shadow-hover: 0 24px 70px rgba(28, 22, 18, .16);
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    color: var(--sys-ink);
    background: var(--sys-paper);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    overflow-x: clip;
}

/*
 * Desktop density requested for SPOT YOUR STORE.
 * Root-level zoom behaves like browser zoom without widening the body.
 */
@media screen and (min-width: 1025px) {
    html {
        zoom: 0.8 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: clip !important;
    }

    body {
        zoom: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: clip !important;
    }
}

/* Keep tablets and phones at their natural responsive scale. */
@media screen and (max-width: 1024px) {
    html,
    body {
        zoom: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: clip !important;
    }
}

/* Fallback for older browsers that do not support overflow: clip. */
@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden !important;
    }
}

* { box-sizing: border-box; }

img { max-width: 100%; }

a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(141, 36, 56, .28) !important;
    outline-offset: 3px;
}

button, .btn, [class*="button"], [class*="-btn"] {
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease,
        border-color .2s ease, color .2s ease, opacity .2s ease;
}

button:not(:disabled):active, .btn:not(:disabled):active,
[class*="button"]:not(:disabled):active, [class*="-btn"]:not(:disabled):active {
    transform: translateY(1px);
}

input, select, textarea {
    border-radius: var(--sys-radius-sm);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:hover, select:hover, textarea:hover { border-color: #b8afa6; }

input:focus, select:focus, textarea:focus {
    border-color: var(--sys-accent) !important;
    box-shadow: 0 0 0 4px rgba(141, 36, 56, .09) !important;
}

.site-header, header.site-header {
    backdrop-filter: saturate(150%) blur(18px);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
    box-shadow: 0 1px 0 rgba(25, 20, 16, .08);
}

.brand { letter-spacing: .11em !important; }

.desktop-nav a, .mobile-links a, .header-action {
    position: relative;
    transition: color .2s ease, opacity .2s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}

.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }

.count {
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.product-card, [class*="product-card"], .order-card, .address-card,
.ticket-card, .account-card, .info-card {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.product-card:hover, [class*="product-card"]:hover, .order-card:hover,
.address-card:hover, .ticket-card:hover, .account-card:hover, .info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sys-shadow-hover);
}

.product-image img, [class*="product-image"] img {
    transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .25s ease;
}

.product-card:hover .product-image img,
[class*="product-card"]:hover [class*="product-image"] img { transform: scale(1.035); }

.breadcrumb { color: var(--sys-muted); }
.breadcrumb a:hover { color: var(--sys-accent); }

.shop-toolbar, .filter-drawer, .summary-card, .checkout-summary,
.account-sidebar, .order-summary, .cart-summary {
    border-color: var(--sys-line) !important;
    box-shadow: 0 12px 40px rgba(24, 20, 17, .05);
}

.category-strip {
    scrollbar-width: thin;
    scrollbar-color: #c9c0b7 transparent;
}

.category-link { white-space: nowrap; }

.category-link.active {
    color: var(--sys-paper) !important;
    background: var(--sys-ink) !important;
    border-color: var(--sys-ink) !important;
}

.empty-state {
    border: 1px dashed #d8d0c8;
    border-radius: var(--sys-radius-lg);
    background: linear-gradient(145deg, #fff, var(--sys-soft));
}

.alert, .notice, [class*="message"] { border-radius: var(--sys-radius-sm); }

.price, [class*="price"] { font-variant-numeric: tabular-nums; }

.footer, footer {
    border-top: 1px solid rgba(255,255,255,.1);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 760px) {
    .action-text { display: none; }
    .shop-section, .page-shell, .account-shell, .checkout-shell { padding-inline: 16px; }
    .product-card:hover, [class*="product-card"]:hover, .order-card:hover,
    .address-card:hover, .ticket-card:hover, .account-card:hover { transform: none; }
}

.discovery-hero {
    position: relative;
    min-height: clamp(500px, 72vh, 780px);
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
    background: #1b1715;
}

.discovery-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--discovery-image) center 34% / cover no-repeat;
    transform: scale(1.01);
}

.discovery-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(10,8,7,.79) 0%, rgba(10,8,7,.3) 55%, rgba(10,8,7,.12)),
        linear-gradient(0deg, rgba(10,8,7,.72), transparent 55%);
}

.discovery-hero__content {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: clamp(42px, 7vw, 100px) clamp(20px, 5vw, 76px);
    color: #fff;
}

.discovery-hero__eyebrow {
    display: block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.discovery-hero h1 {
    max-width: 760px;
    margin: 0 0 18px;
    font-family: Georgia, serif;
    font-size: clamp(48px, 7vw, 104px);
    line-height: .94;
    font-weight: 400;
    letter-spacing: -.045em;
}

.discovery-hero p { max-width: 590px; margin: 0 0 28px; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.7; }

.discovery-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.discovery-actions a {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border: 1px solid rgba(255,255,255,.85);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.discovery-actions a:first-child { color: #171717; background: #fff; }
.discovery-actions a:hover { color: #171717; background: #fff; }

.experience-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid var(--sys-line);
    background: var(--sys-paper);
}
.experience-rail a, .experience-rail div {
    min-height: 92px;
    padding: 20px clamp(16px, 3vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    border-right: 1px solid var(--sys-line);
}
.experience-rail > :last-child { border-right: 0; }
.experience-rail strong { margin-bottom: 5px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.experience-rail span { color: var(--sys-muted); font-size: 12px; line-height: 1.5; }
.experience-rail a:hover { background: var(--sys-soft); }

@media (max-width: 820px) {
    .experience-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .experience-rail > :nth-child(2) { border-right: 0; }
    .experience-rail > :nth-child(-n+2) { border-bottom: 1px solid var(--sys-line); }
    .discovery-hero { min-height: 620px; }
    .discovery-hero::before { background-position: 55% center; }
}

@media print {
    .site-header, .mobile-menu, .search-overlay, footer, .newsletter,
    button, .no-print { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
}
