/* Public storefront only; loaded after the shared and utility styles. */
.store-page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 8px 0; }
.store-page-numbers > :is(a, span) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid #e5e5e5; border-radius: 4px; color: #333; font-size: 13px; }
.store-page-numbers a:hover { background: #fff; border-color: #111; }
.store-page-numbers [aria-current="page"] { background: #111; border-color: #111; color: #fff; font-weight: 600; }
.store-page-numbers .store-page-gap { border: 0; }
.storefront { --header-height: 76px; --store-radius: 0.5rem; --radius-card: var(--store-radius); --radius-btn: var(--store-radius); color: #111; }
.storefront [hidden] { display: none !important; }
.storefront a, .storefront button { -webkit-tap-highlight-color: transparent; }
.storefront button { cursor: pointer; }
.storefront :is(a, button, summary):focus-visible { outline: 2px solid #111; outline-offset: 5px; }
.storefront :is(input, select, textarea):focus-visible { outline: 1px solid #111; outline-offset: 0; box-shadow: none; }
.store-skip { position: fixed; top: -80px; left: 16px; padding: 12px 18px; background: #111; color: #fff; z-index: 100; }
.store-skip:focus { top: 12px; }
.store-shell, .store-content { min-width: 0; min-height: 100vh; }
.store-content { display: flex; flex-direction: column; padding-top: var(--header-height); }
.storefront-home .store-content { padding-top: 0; }
.storefront-home { height: 100vh; height: 100dvh; overflow: hidden; }
.storefront-home :is(.store-shell, .store-content) { height: 100%; min-height: 0; }
.storefront-home #store-main { min-height: 0; }
.storefront-home .campaign-hero { height: 100%; min-height: 0; max-height: none; overflow: hidden; }
.storefront-home .store-announcement { margin-top: 0; flex-shrink: 0; }
.store-header { position: fixed; inset: 0 0 auto; z-index: 55; background: #fff; color: #111; transition: background .2s, box-shadow .2s; }
.storefront-home .store-header { background: transparent; box-shadow: none; }
.storefront-home .store-header.is-open { background: #fff; box-shadow: 0 4px 18px #0000000d; }
.store-header:is(.is-open, .is-scrolled) { box-shadow: 0 4px 18px #0000000d; }
.storefront-home .store-header:not(.is-open) { box-shadow: none; }
.store-header-row { position: relative; height: var(--header-height); padding: 0 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.store-desktop-nav { display: flex; align-items: center; gap: 24px; font-size: 12px; font-weight: 400; min-width: 0; overflow-x: auto; margin-right: 16px; }
.store-desktop-nav :is(a, button) { padding: 15px 0; flex-shrink: 0; white-space: nowrap; }
.store-desktop-nav :is(a:hover, button:hover, button[aria-expanded="true"]) { text-decoration: underline; text-underline-offset: 6px; }
.store-brand { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; text-align: center; max-width: 340px; overflow-wrap: anywhere; }
.store-brand img { display: block; max-width: 220px; max-height: 44px; width: auto; object-fit: contain; }
.store-actions, .store-mobile-actions { display: flex; align-items: center; gap: 4px; }
.store-actions { justify-content: flex-end; }
.store-mobile-actions { display: none; }
.store-icon { width: 44px; height: 44px; flex-shrink: 0; display: inline-flex; justify-content: center; align-items: center; font-size: 22px; color: #222; transition: opacity .2s ease, transform .2s ease; }
.store-icon:hover { opacity: .6; transform: translateY(-1px); }
.store-cart { position: relative; }
.store-cart-count { position: absolute; right: 0; top: 1px; min-width: 15px; height: 15px; padding: 0 3px; display: grid; place-items: center; background: #111; color: #fff; font-size: 9px; border-radius: 50%; }
.store-panel { background: #fff; border-top: 1px solid #f6f6f6; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-10px); transition: opacity .24s ease, transform .3s cubic-bezier(.22, 1, .36, 1); }
.store-panel.is-visible { opacity: 1; transform: translateY(0); }
.store-mega { display: grid; grid-template-columns: 190px 190px 1fr; gap: 28px; padding: 8px 40px 32px; min-height: 250px; }
.store-mega a { display: block; width: fit-content; font-size: 16px; line-height: 1.5; padding: 6px 0; }
.store-mega a, .store-mobile-nav a { transition: color .2s ease, transform .2s ease; }
.store-mega a:hover, .store-mobile-nav a:hover { text-decoration: underline; text-underline-offset: 4px; transform: translateX(3px); }
.store-menu-muted { color: #666; }
.store-custom-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 24px 40px; }
.store-custom-menu a { display: block; padding: 12px; border-radius: 8px; overflow-wrap: anywhere; }
.store-custom-menu a:hover { background: #f5f5f5; }
.store-nav-description { display: block; font-size: 12px; line-height: 1.5; color: #666; white-space: normal; margin-top: 4px; max-width: 360px; }
.product-wishlist { position: absolute; right: 10px; bottom: 10px; z-index: 12; }
.wishlist-heart { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: #222; box-shadow: 0 2px 10px #00000014; font-size: 23px; }
.wishlist-heart:hover, .wishlist-heart[aria-pressed="true"] { color: #d62545; }
.wishlist-heart[aria-pressed="true"] svg { fill: currentColor; }
.wishlist-heart:disabled { opacity: .5; cursor: wait; }
.wishlist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1023px) { .wishlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.store-account { position: absolute; top: 100%; right: 16px; width: min(280px, calc(100vw - 32px)); padding: 12px; box-shadow: 0 8px 24px #00000014; }
.store-account a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px; font-size: 14px; }
.store-account a:hover { background: #f5f5f5; }
.store-account a + a { border-top: 1px solid #eee; }
.store-sale { color: #128129; }
.store-backdrop { position: fixed; inset: var(--header-height) 0 0; z-index: 54; background: #00000012; cursor: default !important; opacity: 0; transition: opacity .24s ease; }
.store-backdrop.is-visible { opacity: 1; }
.store-menu-open { overflow: hidden; }
.store-search { display: flex; align-items: flex-start; justify-content: center; gap: 16px; padding: 32px 24px 40px; }
.store-search form { width: min(100%, 640px); }
.store-search label { display: block; font-size: 12px; color: #666; margin-bottom: 12px; }
.store-search form > div { display: flex; border-bottom: 1px solid #111; }
.store-search input { min-width: 0; flex: 1; background: transparent; font-size: 16px; padding: 12px 0; }
.store-search input:focus-visible { outline-offset: 0; }
.campaign-hero { height: 100svh; min-height: 520px; max-height: 1100px; background: #f5f5f5; }
.campaign-image { display: block; width: 100%; height: 100%; }
.campaign-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.campaign-caption { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 48px 40px; border-bottom: 1px solid #e9e9e9; }
.campaign-eyebrow { font-size: 10px; letter-spacing: 2px; color: #666; }
.campaign-caption h1 { font-size: clamp(24px, 3vw, 40px); line-height: 1.15; font-weight: 500; margin-top: 12px; letter-spacing: -1px; }
.campaign-caption p { font-size: 14px; color: #666; margin-top: 12px; }
.store-link { white-space: nowrap; font-size: 12px; padding: 12px 0; border-bottom: 1px solid #111; }
.store-link i { margin-left: 24px; }
.storefront :is(#lookbooks, #sale, #new-arrivals) { scroll-margin-top: calc(var(--header-height) + 16px); }
.storefront main > section:not(.campaign-hero):not(.campaign-caption) > div { max-width: 1600px; padding-left: 40px; padding-right: 40px; }
.storefront main .glass-card { border-radius: var(--store-radius); background: #fff !important; border-color: #eee !important; box-shadow: none; backdrop-filter: none; }
.storefront main .glass-card::after, .storefront main .glass-button::before, .storefront main .glass-button::after { display: none; }
.storefront main .glass-button { border-radius: var(--store-radius); background: #111 !important; box-shadow: none !important; backdrop-filter: none; }
.storefront main .glass-card h6 { font-size: 13px; line-height: 1.5; letter-spacing: 0; }
.storefront main h2 { letter-spacing: -.3px; }
.shipping-rate-list { display: grid; gap: 10px; }
.shipping-rate-card { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; color: #111; text-align: left; transition: border-color .2s, background .2s; }
.shipping-rate-card:hover { border-color: #111; }
.shipping-rate-card.is-selected { border-color: #1683e8; background: #edf6ff; }
.shipping-rate-card.is-selected::after { content: '✓'; display: grid; place-items: center; width: 20px; height: 20px; margin-left: auto; border-radius: 50%; background: #1683e8; color: #fff; font-size: 12px; }
.shipping-rate-card:focus-visible { outline: 2px solid #1683e8; outline-offset: 2px; }
.shipping-rate-card strong { display: block; font-size: 13px; font-weight: 500; text-transform: uppercase; }
.shipping-rate-card small { display: block; margin-top: 2px; color: #444; font-size: 12px; }
.shipping-rate-card-price { flex-shrink: 0; font-size: 13px; font-weight: 500; }
.shipping-rate-card.is-selected .shipping-rate-card-price { color: #0769bc; font-weight: 600; }
.shipping-rate-empty { padding: 14px; border: 1px dashed #d1d5db; border-radius: 12px; color: #707070; font-size: 12px; }

.storefront footer { background: #fff; color: #666; border-top: 1px solid #e9e9e9; padding-top: 48px; padding-bottom: 32px; }
.storefront footer h6 { color: #111; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.storefront footer :is(p, ul, a) { font-size: 12px; line-height: 1.8; letter-spacing: 0; }
.storefront footer a:hover { color: #111; }
.storefront footer > div { max-width: 1600px; padding-left: 40px; padding-right: 40px; }
@media (max-width: 1023px) {
    .storefront { --header-height: 64px; }
    .store-header-row { padding: 0 12px; grid-template-columns: 88px minmax(0, 1fr) 88px; }
    .store-desktop-nav, .store-desktop-search { display: none; }
    .store-mobile-actions { display: flex; gap: 0; }
    .store-actions { gap: 0; }
    .store-brand { font-size: 26px; letter-spacing: -1px; justify-self: center; max-width: 100%; }
    .store-brand img { max-width: 100%; max-height: 34px; }
    .store-icon { font-size: 21px; }
    .store-mobile-nav { padding: 12px 24px 32px; height: calc(100dvh - var(--header-height)); }
    .store-mobile-nav > a, .store-mobile-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid #eee; font-size: 13px; list-style: none; cursor: pointer; }
    .store-mobile-nav summary::-webkit-details-marker { display: none; }
    .store-mobile-nav summary i { transition: transform .25s ease; }
    .store-mobile-nav details[open] > summary > .ti-plus { transform: rotate(45deg); }
    .store-mobile-nav details div { max-height: 0; overflow: hidden; opacity: 0; padding: 0 0 0 16px; transition: max-height .3s ease, opacity .2s ease, padding .3s ease; }
    .store-mobile-nav details[open] div { max-height: 500px; opacity: 1; padding: 12px 0 12px 16px; }
    .store-mobile-nav details a, .store-mobile-help a { display: block; padding: 10px 0; font-size: 14px; }
    .store-mobile-help { padding-top: 24px; color: #666; }
    .campaign-hero { min-height: 480px; max-height: 1000px; }
    .campaign-caption { padding: 32px 20px; }
    .storefront main > section:not(.campaign-hero):not(.campaign-caption) > div { padding-left: 20px; padding-right: 20px; }
    .storefront footer > div { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
    .store-header-row { padding: 0 8px; }
    .store-brand { font-size: 23px; }
    .campaign-hero { height: 100svh; min-height: 440px; }
    .campaign-image img { object-position: center top; }
    .campaign-caption { align-items: flex-start; flex-direction: column; gap: 16px; }
    .campaign-caption h1 { font-size: 27px; }
    .storefront main > section:not(.campaign-hero):not(.campaign-caption) > div { padding-left: 14px; padding-right: 14px; }
    .store-search { padding-left: 20px; padding-right: 12px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .storefront *, .storefront *::before, .storefront *::after { animation: none !important; transition: none !important; }
    .storefront .animate-fade-up { opacity: 1; }
}

.store-announcement { overflow: hidden; background: #111; color: #fff; margin-top: 48px; }
.store-announcement:empty { display: none; }
.store-announcement-group { display: flex; align-items: center; gap: 48px; padding: 16px 24px; flex-shrink: 0; font-size: 11px; letter-spacing: .5px; white-space: nowrap; }
.store-announcement + footer { margin-top: 0; }
.cookie-notice:not([open]) { display: none; }
.cookie-notice { position: fixed; inset: auto 24px 24px auto; margin: 0; width: 390px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; border: 1px solid #111; background: #fff; color: #111; box-shadow: 0 8px 32px #0002; font-size: 13px; line-height: 1.6; }
.cookie-notice::backdrop { background: #0002; }
.cookie-notice h2 { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.cookie-notice p { margin: 12px 0; }
.cookie-notice ul { list-style: disc; padding-left: 18px; margin-bottom: 16px; }
.cookie-notice summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: grid; gap: 10px; margin-top: 20px; }
.cookie-notice .cookie-primary, .cookie-notice .cookie-secondary { display: block; width: 100%; min-height: 44px; padding: 12px; font-size: 13px; font-weight: 600; border: 1px solid #111; border-radius: 2px; }
.cookie-primary { background: #111; color: #fff; }
.cookie-secondary { background: #fff; color: #111; }
.cookie-notice button:hover { opacity: .8; }
.cookie-preferences { margin-top: 18px; border-top: 1px solid #ddd; padding-top: 16px; }
.cookie-preferences h3 { font-weight: 600; margin-bottom: 8px; }
.cookie-preferences label { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #eee; }
.cookie-preferences small { display: block; color: #666; font-size: 11px; }
.cookie-preferences input { width: 20px; height: 20px; accent-color: #111; flex-shrink: 0; }
.cookie-preferences button { margin-top: 16px; }
.cookie-settings { position: fixed; left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 41; padding: 8px 12px; min-height: 36px; background: #fff; color: #333; border: 1px solid #ddd; border-radius: 3px; font-size: 11px; box-shadow: 0 2px 8px #0001; }
@media (max-width: 1023px) { body:has(.checkout-mobile-bar) .cookie-settings { bottom: calc(120px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 480px) { .cookie-notice { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); padding: 20px; max-height: calc(100dvh - 32px); } }
.member-auth { width: min(100% - 40px, 440px); margin: 64px auto; }
.member-eyebrow { font-size: 10px; letter-spacing: 2px; color: #777; }
.member-auth h1, .member-heading h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin: 12px 0; font-weight: 600; letter-spacing: -1px; }
.member-auth p, .member-card > p, .member-heading p { color: #666; font-size: 13px; line-height: 1.7; margin: 12px 0; }
.member-form { display: grid; gap: 10px; margin-top: 24px; }
.member-form > label { font-size: 12px; margin-top: 6px; }
.member-form > input, .member-form > select, .member-form > textarea { width: 100%; min-width: 0; min-height: 44px; padding: 12px; border: 1px solid #d5d5d5; background: #fff; font-size: 14px; border-radius: 2px; }
.member-form textarea { min-height: 96px; }
.member-button { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 44px; background: #111; color: #fff; padding: 12px 20px; margin-top: 12px; font-size: 13px; font-weight: 600; border: 1px solid #111; }
.member-button-outline { color: #111; background: #fff; }
.member-button:hover { opacity: .8; }
.member-form-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; padding-top: 8px; }
.member-check { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.member-check input { width: 16px; height: 16px; accent-color: #111; }
.member-divider { margin: 20px 0; text-align: center; color: #888; font-size: 12px; }
.member-auth-switch { text-align: center; }
.member-auth a:not(.member-button), .member-card > a, .member-form-row a { text-decoration: underline; text-underline-offset: 3px; }
.member-alert { padding: 12px 16px; border: 1px solid #ddd; background: #fafafa; font-size: 13px; margin: 16px 0; overflow-wrap: anywhere; }
.member-alert p { margin: 4px 0; color: #333; }
.member-page { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }
.member-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 32px; }
.member-heading > div { min-width: 0; overflow-wrap: anywhere; }
.member-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; }
.member-nav { display: grid; gap: 8px; position: sticky; top: calc(var(--header-height) + 24px); font-size: 13px; }
.member-nav a { padding: 12px 16px; border-bottom: 1px solid #ddd; }
.member-nav a:hover { background: #eee; }
.member-sections { min-width: 0; }
.member-card { padding: 28px; border: 1px solid #e5e5e5; background: #fff; margin-bottom: 24px; scroll-margin-top: calc(var(--header-height) + 20px); }
.member-card h2 { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.member-order { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 20px 0; border-bottom: 1px solid #eee; font-size: 13px; }
.member-order small { display: block; margin-top: 6px; color: #777; }
.member-order:hover { background: #fafafa; }
.member-empty { text-align: center; padding: 40px 0; font-size: 13px; }
.member-empty i { font-size: 32px; }
.member-address { padding: 16px 0; border-bottom: 1px solid #eee; font-size: 13px; overflow-wrap: anywhere; }
.member-address p { margin: 8px 0; color: #666; line-height: 1.7; }
.member-address button { text-decoration: underline; }
.member-address-form { margin-top: 24px; font-size: 13px; }
.member-address-form summary { cursor: pointer; }
@media(max-width: 767px) {
    .member-auth { margin: 36px auto; }
    .member-page { padding: 28px 16px; }
    .member-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .member-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
    .member-nav a { padding: 10px; }
    .member-card { padding: 20px 16px; }
    .member-heading { align-items: flex-start; }
}

/* Match rounded-lg across public surfaces; circular controls keep their shape. */
.storefront :is(
    .rounded-lg,
    [class~="rounded-[8px]"],
    [class~="rounded-[28px]"],
    .store-page-numbers > a,
    .store-page-numbers > span,
    .store-account,
    .store-account a,
    .store-skip,
    .member-card,
    .member-alert,
    .member-button,
    .member-nav a,
    .member-form > input,
    .member-form > select,
    .member-form > textarea,
    .cookie-notice,
    .cookie-primary,
    .cookie-secondary,
    .cookie-settings
) { border-radius: var(--store-radius); }

.storefront .glass-mobile-filter {
    border-radius: var(--store-radius) var(--store-radius) 0 0;
}

.storefront .card-img-wrapper {
    border-radius: var(--store-radius) var(--store-radius) 0 0;
    overflow: hidden;
}
