*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text-main);
    background: var(--surface-canvas);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color 0.18s ease, opacity 0.18s ease; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-main);
    line-height: 1.25;
}

.wrap, .container { width: min(1340px, 94%); margin: 0 auto; }

/* ── 1. Top Announcement & Concierge Bar ── */
.store-utility {
    background: var(--surface-espresso-deep);
    color: var(--surface-accent);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.25);
    position: relative;
    z-index: 220;
}
.store-utility__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.22rem 0;
    gap: 0.85rem;
}
.store-utility__ticker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--surface-accent);
}
.store-utility__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--surface-espresso-deep);
    font-size: 0.66rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.4);
    flex-shrink: 0;
}
.store-utility__code-chip {
    background: rgba(var(--accent-rgb), 0.18);
    border: 1px dashed rgba(var(--accent-rgb), 0.9);
    color: #f6e2b3;
    font-weight: 800;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.08em;
}
.store-utility__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #d8cbbc;
    flex-shrink: 0;
}
.store-utility__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.15s;
    font-weight: 600;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}
.store-utility__link:hover { color: #f6e2b3; }

/* ── Social icons (utility + footer) ── */
.store-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.store-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--surface-accent);
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.store-social__icon {
    width: 15px;
    height: 15px;
    display: block;
}
.store-social--utility {
    gap: 0.35rem;
    border-left: 1px solid rgba(var(--accent-rgb), 0.28);
    margin-left: 0.15rem;
    padding-left: 0.85rem;
}
.store-social--utility .store-social__link {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    color: var(--surface-accent);
}
.store-social--utility .store-social__link:hover {
    color: var(--surface-espresso-deep);
    background: var(--gold-primary);
    border-color: var(--gold-primary);
}
.store-social--utility .store-social__icon { width: 13px; height: 13px; }
.store-social--brand {
    gap: 0.55rem;
    margin: 0 0 1.35rem;
}
/* Use --footer-ink so SVG currentColor stays readable on light AND dark footers
   (themes like orchard/coastal use pale footers where --surface-accent washes out). */
.store-social--brand .store-social__link,
.store-social--footer .store-social__link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, currentColor 8%, transparent);
    border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
    color: var(--footer-ink, currentColor);
}
.store-social--brand .store-social__link:hover,
.store-social--footer .store-social__link:hover {
    background: var(--gold-primary);
    color: var(--surface-espresso-deep);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}
.store-social--brand .store-social__icon,
.store-social--footer .store-social__icon {
    width: 15px;
    height: 15px;
}
html[data-theme="dark"] .store-social--utility .store-social__link { color: #f0d78c; }
html[data-theme="dark"] .store-social--utility .store-social__link:hover,
html[data-theme="dark"] .store-social--brand .store-social__link:hover,
html[data-theme="dark"] .store-social--footer .store-social__link:hover {
    background: #d4af37;
    color: #10141c;
    border-color: #d4af37;
}

/* ── Country / currency switcher ── */
.store-market-switcher { position: relative; flex-shrink: 0; }
.store-market-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #f6e2b3;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.store-market-switcher__btn:hover {
    background: rgba(var(--accent-rgb), 0.18);
    border-color: rgba(var(--accent-rgb), 0.55);
}
.store-actions .store-market-switcher__btn {
    background: var(--surface-warm);
    border-color: var(--border);
    color: var(--text-main);
    padding: 0.5rem 0.75rem;
    font-size: 0.76rem;
}
.store-actions .store-market-switcher__btn:hover {
    border-color: rgba(var(--accent-rgb), 0.45);
    background: #ffffff;
}
.store-actions .store-market-switcher__currency { color: var(--text-muted); }
.store-actions__market { display: none; }
.store-market-switcher__flag { font-size: 0.9rem; line-height: 1; }
.store-market-switcher__currency { opacity: 0.75; font-weight: 600; }
.store-market-switcher__chevron { transition: transform 0.15s; opacity: 0.7; }
.store-market-switcher__chevron.is-open { transform: rotate(180deg); }
.store-market-switcher__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 250;
    width: 16.5rem;
    max-height: 20rem;
    overflow-y: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow-md);
    padding: 0.4rem;
}
.store-market-switcher__label {
    margin: 0;
    padding: 0.55rem 0.65rem 0.4rem;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-subtle);
}
.store-market-switcher__option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.84rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s;
}
.store-market-switcher__option:hover { background: var(--surface-subtle); }
.store-market-switcher__option.is-active {
    background: var(--surface-accent);
    color: var(--text-main);
    font-weight: 700;
}
.store-market-switcher__option-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-market-switcher__option-currency { font-size: 0.72rem; font-weight: 700; color: var(--text-subtle); }
.store-drawer .store-market-switcher { width: auto; margin: 0 1.25rem 0.5rem; }
.store-drawer .store-market-switcher__btn { width: 100%; justify-content: center; background: var(--surface-warm); border-color: var(--border); color: var(--text-main); }
.store-drawer .store-market-switcher__menu { left: 0; right: 0; width: auto; }
.store-settlement-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.35rem;
}

/* ── 2. Frosted Luxury Sticky Header ── */
.store-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(253, 251, 247, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 24px -4px rgba(var(--primary-rgb), 0.04);
    transition: all 0.25s ease;
}
.store-header__main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 0.45rem 0;
}
/* Classic default only — other header layouts override via store-chrome-layouts */
.store-brand {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    color: var(--text-main);
    text-decoration: none;
    flex-shrink: 0;
}
.store-brand__emblem {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--surface-espresso) 0%, var(--secondary) 100%);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.18);
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    flex-shrink: 0;
}
.store-brand__text {
    display: flex;
    flex-direction: column;
}
.store-brand__name {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
    letter-spacing: -0.015em;
    line-height: 1.15;
    text-transform: uppercase;
}
.store-brand__sub {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 1px;
}
.store-brand img { height: 34px; width: auto; object-fit: contain; }

/* ── Search Bar ── */
.store-search {
    position: relative;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
}
.store-search__wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--surface-subtle);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.store-search__wrapper:focus-within {
    background: #ffffff;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14), var(--shadow-sm);
}
.store-search__icon {
    padding-left: 1.15rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    pointer-events: none;
}
.store-search__input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.48rem 0.85rem 0.48rem 0.55rem;
    font-size: 0.84rem;
    font-family: inherit;
    color: var(--text-main);
    outline: none;
    width: 100%;
}
.store-search__input::placeholder { color: var(--text-subtle); }
.store-search__btn {
    background: var(--surface-espresso);
    color: #f4ead8;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    padding: 0.52rem 1.25rem;
    margin: 0.22rem 0.35rem 0.22rem 0;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.store-search__btn:hover {
    background: var(--secondary);
    color: var(--gold-primary);
    border-color: var(--gold-primary);
    transform: scale(1.02);
}

/* ── Header Right Actions ── */
.store-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}
.store-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.store-action:hover {
    background: var(--surface-subtle);
    border-color: var(--border);
    color: var(--text-main);
    transform: translateY(-1px);
}
.store-action--primary {
    background: var(--surface-espresso);
    color: #ffffff;
    border-color: rgba(var(--accent-rgb), 0.35);
}
.store-action--primary:hover {
    background: var(--secondary);
    color: #ffffff;
    border-color: var(--gold-primary);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.16);
}
.store-action__icon {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
.store-action__badge {
    background: var(--gold-primary);
    color: var(--surface-espresso-deep);
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(var(--accent-rgb), 0.4);
    margin-left: 2px;
}

/* ── 3. Luxury Category Mega-Bar ── */
.store-catbar {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 190;
    overflow: visible;
    width: 100%;
}
.store-catbar__list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.2rem;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    width: min(1340px, 94%);
}
.store-catbar__item {
    position: relative;
    flex-shrink: 0;
}
.store-catbar__item--all {
    position: static;
}
.store-catbar__link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.75rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    transition: all 0.15s;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    cursor: pointer;
}
.store-catbar__item--all .store-catbar__link {
    color: var(--gold-deep);
    letter-spacing: 0.1em;
}
.store-catbar__item--all:hover .store-catbar__link,
.store-catbar__item--all:focus-within .store-catbar__link {
    color: var(--gold-deep);
}
.store-catbar__grid-icon {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: var(--gold-primary);
    stroke-width: 1.8;
    flex-shrink: 0;
}
.store-catbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--gold-primary);
    border-radius: var(--radius-full);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}
.store-catbar__item:hover .store-catbar__link,
.store-catbar__item:focus-within .store-catbar__link {
    color: var(--text-main);
    background: var(--surface-subtle);
}
.store-catbar__item:hover .store-catbar__link::after,
.store-catbar__item:focus-within .store-catbar__link::after {
    width: calc(100% - 1.5rem);
}
.store-catbar__chevron {
    width: 13px;
    height: 13px;
    opacity: 0.6;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.store-catbar__item:hover .store-catbar__chevron,
.store-catbar__item:focus-within .store-catbar__chevron {
    transform: rotate(180deg);
    opacity: 1;
    stroke: var(--gold-primary);
}

/* Fixed Mega Dropdown */
.store-mega {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 48px -10px rgba(var(--primary-rgb), 0.14), 0 8px 20px -4px rgba(var(--accent-rgb), 0.08);
    padding: 1.65rem;
    min-width: 540px;
    max-width: 640px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 1.65rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    z-index: 500;
}
.store-mega::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.store-catbar__item:nth-last-child(-n+3) .store-mega {
    left: auto;
    right: 0;
}
.store-catbar__item:hover .store-mega,
.store-catbar__item:focus-within .store-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.store-mega--collections {
    left: 50%;
    right: auto;
    width: min(1080px, calc(100% - 2rem));
    min-width: unset;
    max-width: unset;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.45rem 1.55rem 1.55rem;
    transform: translateX(-50%) translateY(8px);
}
.store-catbar__item--all:hover .store-mega--collections,
.store-catbar__item--all:focus-within .store-mega--collections {
    transform: translateX(-50%) translateY(0);
}
.store-mega__collections-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border-gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
}
.store-mega__collections-head span:last-child,
.store-mega__collections-browse {
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: nowrap;
}
.store-mega__collections-browse:hover {
    color: var(--gold-primary);
}
.store-mega__collections-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem 1.35rem;
}
.store-mega__collection {
    min-width: 0;
    padding: 0.35rem 0 0.55rem;
}
.store-mega__collection-title {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.4rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-light);
}
.store-mega__collection-title:hover {
    color: var(--gold-primary);
}
.store-mega__link--all {
    color: var(--gold-deep);
    font-weight: 700;
    margin-top: 0.15rem;
}
.store-mega__col-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.store-mega__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.16s ease;
    margin-bottom: 0.25rem;
}
.store-mega__link:hover {
    background: var(--surface-subtle);
    color: var(--text-main);
    padding-left: 0.95rem;
}
.store-mega__link span:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.store-mega__feat {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
    background: var(--surface-espresso-deep);
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-sm);
}
.store-mega__feat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
.store-mega__feat:hover img {
    transform: scale(1.06);
    opacity: 0.95;
}
.store-mega__feat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--primary-rgb), 0.92) 0%, rgba(var(--primary-rgb), 0.35) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.95rem;
}

/* ── 4. Mobile Menu Toggle & Drawer ── */
.store-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--text-main);
    padding: 0;
    transition: all 0.15s;
}
.store-menu-toggle:hover {
    background: var(--surface-subtle);
    border-color: var(--gold-primary);
}
.store-overlay {
    position: fixed;
    inset: 0;
    background: rgba(var(--primary-rgb), 0.7);
    backdrop-filter: blur(6px);
    z-index: 400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
.store-overlay.is-active { opacity: 1; pointer-events: auto; }
.store-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(350px, 86vw);
    background: #ffffff;
    z-index: 410;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}
.store-drawer.is-active { transform: translateX(0); }
.store-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.2);
    background: var(--surface-espresso-deep);
    color: #ffffff;
}
.store-drawer__close {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.store-drawer__close:hover { background: rgba(255, 255, 255, 0.22); }
.store-drawer__section { padding: 1.15rem 0; border-bottom: 1px solid var(--border-light); }
.store-drawer__title {
    padding: 0 1.35rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.store-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.35rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: background 0.15s;
}
.store-drawer__link:hover { background: var(--surface-subtle); color: var(--text-main); }
.store-drawer__sub { padding-left: 2.2rem; font-size: 0.86rem; color: var(--text-muted); font-weight: 500; }

/* ── Main Content Area ── */
.store-main { min-height: 60vh; padding-bottom: 3rem; }

/* ── 5. Modern Luxury Footer ── */
.store-footer {
    /* Single ink token for contact rows, links, brand text, and social icons.
       Dark espresso footers (default / festive / noir / opera): light ink.
       Pale footers (orchard / coastal / atelier / …): override to dark ink. */
    --footer-ink: #f7f1e4;
    --footer-ink-muted: rgba(247, 241, 228, 0.75);
    --footer-muted: var(--footer-ink-muted);
    /* Newsletter field tokens — saturated/dark bands keep light ink; light bands override. */
    --footer-nl-input-bg: rgba(255, 255, 255, 0.08);
    --footer-nl-input-border: rgba(var(--accent-rgb), 0.35);
    --footer-nl-input-color: #ffffff;
    --footer-nl-placeholder: rgba(255, 255, 255, 0.72);
    background: #14100d;
    color: var(--footer-ink);
    margin-top: auto;
    border-top: 1px solid rgba(var(--accent-rgb), 0.25);
    position: relative;
}
/* Footer brand block always follows footer ink (not header --text-main). */
.store-footer .store-brand,
.store-footer .store-brand__text,
.store-footer .store-brand__name {
    color: var(--footer-ink);
}
.store-footer .store-brand__sub {
    color: var(--footer-ink-muted);
}
.store-footer__contact {
    color: var(--footer-ink-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.store-footer__contact-row {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.store-footer__contact-row--address {
    align-items: flex-start;
}
.store-footer__contact-icon {
    flex-shrink: 0;
    color: var(--gold-primary);
}
.store-footer__contact-row--address .store-footer__contact-icon {
    margin-top: 3px;
}
.store-footer__contact a {
    color: var(--footer-ink);
    text-decoration: none;
}
.store-footer__contact a:hover {
    color: var(--gold-primary);
}
.store-footer__contact a.store-footer__contact-whatsapp {
    color: #34d399;
    font-weight: 700;
}
.store-footer__contact a.store-footer__contact-whatsapp:hover {
    color: #6ee7b7;
}
.store-footer__contact-whatsapp-icon {
    flex-shrink: 0;
    color: #25d366;
}
.store-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.6), transparent);
}
.store-footer__newsletter {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3.5rem 0;
    background: radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.14) 0%, transparent 70%);
}
.store-footer__newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.store-footer__newsletter-kicker {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold-primary);
    margin-bottom: 0.4rem;
    display: block;
}
.store-footer__newsletter-title {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.35rem;
    letter-spacing: -0.015em;
}
.store-footer__newsletter-text {
    color: rgba(247, 241, 228, 0.72);
    font-size: 0.92rem;
    margin: 0;
    max-width: 520px;
}
.store-footer__newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    width: 100%;
}
.store-footer__newsletter-input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--footer-nl-input-border);
    background: var(--footer-nl-input-bg);
    color: var(--footer-nl-input-color);
    outline: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    caret-color: var(--footer-nl-input-color);
}
.store-footer__newsletter-input::placeholder {
    color: var(--footer-nl-placeholder);
    opacity: 1; /* Firefox otherwise fades placeholder too far */
}
.store-footer__newsletter-input:focus {
    border-color: var(--gold-primary);
    background: color-mix(in srgb, var(--footer-nl-input-bg) 70%, white);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
}
.store-footer__newsletter-btn {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--surface-espresso-deep);
    font-weight: 800;
    padding: 0.85rem 1.65rem;
    border-radius: var(--radius-full);
    border: none;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35);
}
.store-footer__newsletter-btn:hover {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.store-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3.5rem;
    padding: 4rem 0 2.75rem;
}
.store-footer__brand-p {
    color: var(--footer-ink-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 1rem 0 1.5rem;
    max-width: 340px;
}
.store-footer__heading {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    margin: 0 0 1.35rem;
    border-bottom: 2px solid var(--gold-primary);
    display: inline-block;
    padding-bottom: 0.3rem;
}
.store-footer__toggle {
    all: unset;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
    pointer-events: none;
}
.store-footer__chev { display: none; }
.store-footer__links { list-style: none; margin: 0; padding: 0; }
.store-footer__links li { margin-bottom: 0.75rem; }
.store-footer__links a {
    font-size: 0.9rem;
    color: var(--footer-ink-muted);
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.store-footer__links a:hover { color: var(--gold-primary); transform: translateX(3px); }

.store-footer__trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.store-footer__trust-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(247, 241, 228, 0.9);
    font-weight: 600;
}
.store-footer__trust-badge svg { color: var(--gold-primary); flex-shrink: 0; }

.store-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem 0 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: rgba(247, 241, 228, 0.6);
}
.store-footer__payments {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.store-footer__payment-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(247, 241, 228, 0.92);
    border-radius: var(--radius-xs);
    padding: 0.25rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
/* ── Standard Button & Utility Classes ── */
.btn, .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.65rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    gap: 0.5rem;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.02em;
}
.btn:hover, .btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-accent, .btn-gold {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #ffffff;
    border: 1.5px solid var(--accent);
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35);
}
.btn-accent:hover, .btn-gold:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-deep) 100%);
    border-color: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.btn-outline {
    background: var(--surface-card);
    color: var(--text-main);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    background: var(--surface-subtle);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .store-header__main { gap: 1.25rem; }
    .store-catbar { overflow: visible; }
    .store-catbar__list {
        justify-content: flex-start;
        gap: 0.05rem;
        overflow: visible;
    }
    .store-catbar__list::-webkit-scrollbar { display: none; }
    .store-catbar__link { padding: 0.75rem 0.6rem; font-size: 0.74rem; letter-spacing: 0.05em; }
    .store-catbar__item--featured:nth-child(n+6) { display: none; }
    .store-mega { min-width: 420px; }
    .store-mega--collections { width: min(920px, calc(100% - 1.5rem)); }
    .store-mega__collections-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .store-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 1024px) {
    .store-catbar__item--featured:nth-child(n+5) { display: none; }
    .store-mega__collections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .store-menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
    }
    .store-header__main {
        gap: 0.55rem;
        padding: 0.7rem 0;
    }
    /* Keep classic 3-col on small screens; structural layouts keep their own columns */
    body[data-header-layout="classic-row"] .store-header__main,
    body[data-header-layout="marketplace"] .store-header__main,
    body[data-header-layout="compact-icons"] .store-header__main,
    body[data-header-layout="mega-rail"] .store-header__main,
    body[data-header-layout="two-line"] .store-header__main,
    body[data-header-layout="search-deck"] .store-header__main {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }
    .store-brand { min-width: 0; gap: 0.65rem; }
    .store-brand__emblem { width: 38px; height: 38px; font-size: 1.2rem; }
    .store-brand img { height: 36px; }
    .store-brand__text { min-width: 0; }
    .store-brand__name {
        font-size: 0.92rem;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .store-brand__sub { display: none; }
    .store-search { display: none; }
    .store-catbar { display: none; }
    .store-utility__inner { justify-content: center; padding: 0.4rem 0; }
    .store-utility__ticker { font-size: 0.7rem; max-width: 100%; }
    .store-utility__links { display: none; }
    .store-actions {
        gap: 0.2rem;
        min-width: 0;
    }
    /* Keep market/currency in the drawer on small screens to avoid header overflow */
    .store-actions__market { display: none !important; }
    .store-actions .store-action > span:not(.store-theme-toggle__icons):not(.store-action__badge) { display: none; }
    .store-actions .store-theme-toggle__icons { display: inline-flex !important; }
    .store-actions .store-action__badge { display: flex !important; }
    .store-action,
    .store-theme-toggle {
        padding: 0;
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        justify-content: center;
    }
    .store-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .store-footer__newsletter-inner { flex-direction: column; align-items: flex-start; }
    .store-footer__newsletter-form { width: 100%; max-width: none; }
    .store-footer__newsletter-input { flex: 1; min-width: 0; width: 100%; }
    .store-footer__bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .store-social--footer .store-social__link {
        min-width: 44px;
        min-height: 44px;
    }
    .store-drawer__link {
        min-height: 44px;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }
    .store-drawer__close {
        min-width: 44px;
        min-height: 44px;
    }
    .wrap, .container { width: min(1340px, 92%); }
}
@media (max-width: 540px) {
    .store-brand__name { font-size: 0.82rem; max-width: 8.5rem; }
    /* The drawer carries its own theme toggle; the header copy steals the brand's width on phones. */
    .store-actions > .store-theme-toggle { display: none !important; }
    .store-header .store-brand__sub { display: none !important; }

    /* Footer link columns collapse into tap-to-open sections on phones. */
    .store-footer__group { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .store-footer__group .store-footer__heading {
        display: block;
        margin: 0;
        padding: 0;
        border-bottom: 0;
    }
    .store-footer__group .store-footer__toggle {
        display: flex;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        cursor: pointer;
        pointer-events: auto;
    }
    .store-footer__group .store-footer__chev {
        display: block;
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-3px);
        transition: transform 0.2s;
    }
    .store-footer__group.is-open .store-footer__chev { transform: rotate(-135deg) translateY(-1px); }
    .store-footer__group:not(.is-open) .store-footer__links { display: none; }
    .store-footer__group .store-footer__links { padding-bottom: 0.85rem; }
    .store-utility__badge { display: none; }
    .store-footer__trust-badges { grid-template-columns: 1fr; }
    .store-footer__newsletter-form { flex-direction: column; align-items: stretch; }
    .store-footer__newsletter-btn { width: 100%; }
}
@media (hover: none) and (pointer: coarse) {
    .store-catbar__item:hover .store-mega,
    .store-catbar__item:focus-within .store-mega {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
@media (max-width: 768px) {
    .store-drawer__close,
    .store-header__icon-btn,
    .store-header__bag,
    .store-search__btn,
    .btn-gold,
    .home-hero__actions .btn {
        min-height: 44px;
        min-width: 44px;
    }
}
    <style id="store-product-media-square">
body[data-store-theme] .luxury-card__media,
body[data-store-theme] .pdp-gallery__main-viewport,
body[data-store-theme] .pdp-media {
    aspect-ratio: 1 / 1;
}
body[data-store-theme] .pdp-gallery__thumb-btn {
    aspect-ratio: 1 / 1;
