@layer reset, tokens, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, ul, ol, dl { margin: 0; }
  button, input { font: inherit; }
  a { color: inherit; }
  img, svg { display: block; max-width: 100%; }
}

@layer tokens {
  :root { color-scheme: light; --brand: #2563eb; --background: #fff; --foreground: #0f172a; --muted: #64748b; --line: #e7e9ed; --surface: #f7f8fa; --surface-raised: #fff; --font-body: system-ui, sans-serif; --font-heading: system-ui, sans-serif; --space-scale: 1; --card-radius: .8rem; --card-shadow: 0 1px 3px rgb(15 23 42 / 8%); --page-max: 1200px; }
  .token-color-brand--2563eb { --brand: #2563eb; }
  .token-color-brand--9a3412 { --brand: #9a3412; }
  .token-color-brand--047857 { --brand: #047857; }
  .token-color-background--ffffff { --background: #fff; }
  .token-color-background--fffaf0 { --background: #fffaf0; }
  .token-color-foreground--0f172a { --foreground: #0f172a; }
  .token-color-foreground--292524 { --foreground: #292524; }
  .token-color-foreground--111827 { --foreground: #111827; }
  .token-font-body--system { --font-body: system-ui, sans-serif; }
  .token-font-body--serif { --font-body: Georgia, 'Times New Roman', serif; }
  .token-font-body--sans-serif { --font-body: Arial, Helvetica, sans-serif; }
  .token-font-heading--system { --font-heading: system-ui, sans-serif; }
  .token-font-heading--serif { --font-heading: Georgia, 'Times New Roman', serif; }
  .token-font-heading--sans-serif { --font-heading: Arial, Helvetica, sans-serif; }
  .token-spacing-scale--compact { --space-scale: .875; }
  .token-spacing-scale--comfortable { --space-scale: 1; }
  .token-spacing-scale--spacious { --space-scale: 1.125; }
  .token-radius-card--none { --card-radius: 0; }
  .token-radius-card--small { --card-radius: .35rem; }
  .token-radius-card--medium { --card-radius: .8rem; }
  .token-radius-card--large { --card-radius: 1.25rem; }
  .token-shadow-card--none { --card-shadow: none; }
  .token-shadow-card--small { --card-shadow: 0 1px 3px rgb(15 23 42 / 8%); }
  .token-shadow-card--medium { --card-shadow: 0 8px 24px rgb(15 23 42 / 12%); }
  .token-spacing-scale--compact .page-shell { padding-block: 24px 72px; }
  .token-spacing-scale--spacious .page-shell { padding-block: 42px 108px; }
}

@layer base {
  body { min-width: 320px; background: var(--background); color: var(--foreground); font-family: var(--font-body); font-size: 16px; line-height: 1.55; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, strong { font-family: var(--font-heading); }
  h1, h2, h3 { letter-spacing: -.035em; line-height: 1.1; }
  a { text-decoration-thickness: .08em; text-underline-offset: .18em; }
  a:hover { color: var(--brand); }
  a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand), white 36%); outline-offset: 3px; }
  button { cursor: pointer; }
  button:disabled { cursor: wait; opacity: .65; }
  fieldset { min-width: 0; }
  address { font-style: normal; }
}

@layer layout {
  .site-header, .page-shell, .site-footer { width: min(calc(100% - 48px), var(--page-max)); margin-inline: auto; }
  .site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
  .primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
  .primary-nav a, .site-footer a { text-decoration: none; font-size: .91rem; font-weight: 600; }
  .page-shell { min-height: 72vh; padding-block: 32px 92px; }
  .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
  .hero { position: relative; min-height: 420px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; overflow: hidden; padding: clamp(34px, 7vw, 78px); border-radius: calc(var(--card-radius) * 1.4); background: linear-gradient(125deg, color-mix(in srgb, var(--brand) 6%, var(--background)), color-mix(in srgb, var(--brand) 12%, var(--background))); }
  .hero-copy { position: relative; z-index: 1; max-width: 600px; }
  .hero-art { position: relative; min-height: 300px; }
  .discovery-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-block: 28px 76px; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--card-radius); box-shadow: var(--card-shadow); }
  .catalog-section, .category-section { margin-top: 76px; }
  .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .product-grid--collection { margin-top: 32px; }
  .category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); gap: clamp(36px, 7vw, 88px); align-items: start; padding-block: 22px 40px; }
  .cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, .75fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
  .checkout-layout--offer { grid-template-columns: minmax(0, 1fr) 300px; }
  .checkout-aside--sticky { position: sticky; top: 24px; }
  .page-heading, .collection-header { max-width: 760px; margin: 18px 0 44px; }
  .page-heading--narrow { max-width: 680px; }
}

@layer components {
  .skip-link { position: absolute; z-index: 10; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; border-radius: 6px; background: var(--foreground); color: white; }
  .skip-link:focus { transform: translateY(0); }
  .wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 750; letter-spacing: -.035em; }
  .wordmark-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--brand); color: white; font-family: var(--font-heading); }
  .wordmark--small { font-size: .95rem; }
  .cart-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; }
  .cart-arrow { color: var(--brand); }
  .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: var(--brand); font-size: .76rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
  .eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
  .hero h1 { max-width: 620px; font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 760; letter-spacing: -.075em; }
  .hero h1 span { color: var(--brand); }
  .hero-intro { max-width: 455px; margin: 20px 0 27px; color: color-mix(in srgb, var(--foreground), transparent 24%); font-size: 1.08rem; }
  .hero-orbit { position: absolute; left: 14%; top: 8%; width: min(29vw, 280px); aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); border-radius: 48% 52% 42% 58% / 55% 44% 56% 45%; transform: rotate(28deg); }
  .hero-orbit--two { left: 24%; top: 18%; width: min(20vw, 190px); border-width: 22px; border-color: color-mix(in srgb, var(--brand) 16%, transparent); transform: rotate(-24deg); }
  .theme--editorial .hero { border-radius: 0; background: linear-gradient(125deg, #fffaf0, color-mix(in srgb, var(--brand) 8%, #fffaf0)); }
  .theme--editorial .hero h1 { letter-spacing: -.055em; }
  .theme--editorial .product-art, .theme--editorial .product-detail-art { background: linear-gradient(145deg, #f4e9da, #fffaf0 72%); }
  .theme--minimal .hero { background: var(--surface); }
  .theme--minimal .hero-orbit--two { border-width: 9px; }
  .hero-spark { position: absolute; left: 44%; top: 35%; color: var(--brand); font-size: clamp(4rem, 10vw, 9rem); line-height: 1; }
  .hero-index { position: absolute; right: 0; bottom: 2px; color: var(--muted); font-size: .74rem; letter-spacing: .12em; }
  .button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 11px 18px; border: 1px solid var(--brand); border-radius: .55rem; background: var(--brand); color: white; text-align: center; text-decoration: none; font-weight: 700; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
  .button:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--brand), black 12%); color: white; box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 20%, transparent); }
  .button--dark { border-color: var(--foreground); background: var(--foreground); }
  .button--dark:hover { background: color-mix(in srgb, var(--foreground), white 16%); }
  .button--wide { width: 100%; }
  .discovery-bar > p { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .86rem; }
  .discovery-bar > p span { color: var(--brand); font-weight: 800; }
  .search-form { flex: 1; display: flex; align-items: center; gap: 12px; max-width: 520px; }
  .search-form > span { color: var(--brand); font-size: 1.5rem; }
  .search-form input { flex: 1; min-width: 80px; padding: 9px 0; border: 0; background: transparent; color: var(--foreground); }
  .search-form input:focus-visible { outline-offset: 1px; }
  .search-form button { padding: 8px 15px; border: 0; border-radius: .45rem; background: var(--surface); color: var(--foreground); font-weight: 700; }
  .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
  .section-heading .eyebrow { margin-bottom: 7px; }
  .section-heading h2, .collection-header h1, .page-heading h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
  .text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--foreground); font-size: .9rem; font-weight: 700; text-decoration: none; }
  .text-link:hover { color: var(--brand); }
  .result-count { padding-bottom: 5px; color: var(--muted); font-size: .85rem; }
  .category-pills { display: flex; flex-wrap: wrap; gap: 10px; }
  .category-pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-raised); text-decoration: none; font-size: .9rem; font-weight: 650; }
  .category-pill:hover { border-color: var(--brand); }
  .category-pill-mark { color: var(--brand); }
  .product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface-raised); box-shadow: var(--card-shadow); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
  .product-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 12px 30px rgb(15 23 42 / 9%); }
  .product-card-link { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
  .product-art { min-height: 170px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 48% 43%, color-mix(in srgb, var(--brand) 14%, var(--background)), color-mix(in srgb, var(--brand) 5%, var(--surface))); }
  .product-art > span, .product-detail-art > span { width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); border-radius: 32% 68% 47% 53% / 51% 39% 61% 49%; background: color-mix(in srgb, var(--brand) 10%, var(--background)); color: var(--brand); font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; transform: rotate(-7deg); }
  .product-art img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
  .product-card-copy { display: flex; flex: 1; flex-direction: column; padding: 17px; }
  .product-card-copy .eyebrow { margin-bottom: 8px; font-size: .65rem; }
  .product-card-title { font-size: 1.08rem; font-weight: 730; letter-spacing: -.025em; }
  .product-card-description { display: -webkit-box; min-height: 3em; overflow: hidden; margin-top: 7px; color: var(--muted); font-size: .82rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .product-card-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 18px; }
  .product-card-price, .variant-price { font-size: 1rem; font-weight: 760; }
  .availability { display: inline-flex; align-items: center; gap: 6px; color: #16734c; font-size: .76rem; font-weight: 650; }
  .availability--out { color: var(--muted); }
  .availability-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
  .empty-state { display: grid; justify-items: center; padding: 64px 24px; border: 1px dashed var(--line); border-radius: var(--card-radius); text-align: center; }
  .empty-state-icon { color: var(--brand); font-size: 2.7rem; }
  .empty-state h2, .empty-state h3 { margin: 10px 0; font-size: 1.5rem; }
  .empty-state p { max-width: 430px; margin-bottom: 18px; color: var(--muted); }
  .breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 34px; color: var(--muted); font-size: .82rem; }
  .breadcrumbs a { color: var(--foreground); }
  .collection-header > p:last-child, .page-heading > p:last-child { margin-top: 12px; color: var(--muted); }
  .collection-header h1, .page-heading h1 { margin-bottom: 12px; }
  .category-tile { min-height: 128px; display: grid; grid-template-columns: 54px 1fr 22px; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--card-radius); text-decoration: none; box-shadow: var(--card-shadow); }
  .category-tile:hover { border-color: var(--brand); }
  .category-tile-number { color: var(--brand); font-size: .8rem; font-weight: 760; letter-spacing: .1em; }
  .category-tile strong { display: block; font-size: 1.1rem; }
  .category-tile small { display: block; margin-top: 5px; color: var(--muted); }
  .category-tile-arrow { color: var(--brand); font-size: 1.2rem; }
  .product-detail-art { position: sticky; top: 30px; min-height: 480px; display: grid; place-content: center; justify-items: center; gap: 24px; border-radius: calc(var(--card-radius) * 1.5); background: radial-gradient(ellipse at center, color-mix(in srgb, var(--brand) 14%, var(--background)), color-mix(in srgb, var(--brand) 4%, var(--surface)) 70%); }
  .product-detail-art img { width: min(100%, 560px); max-height: 560px; object-fit: contain; }
  .product-detail-art > span { width: clamp(120px, 18vw, 210px); height: clamp(120px, 18vw, 210px); font-size: clamp(4rem, 10vw, 7rem); }
  .product-detail-art small { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
  .product-detail-copy h1 { margin: 6px 0 14px; font-size: clamp(2.5rem, 5vw, 4.3rem); }
  .product-description { margin-bottom: 26px; color: color-mix(in srgb, var(--foreground), transparent 20%); white-space: pre-line; }
  .product-facts { margin-block: 18px 27px; padding: 19px; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface); }
  .product-facts h2 { margin-bottom: 14px; font-size: 1.25rem; }
  .product-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0; }
  .product-facts dl > div, .variant-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
  .product-facts dt, .variant-facts dt { color: var(--muted); }
  .product-facts dd, .variant-facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
  .variant-list { padding: 0; list-style: none; }
  .variant-option { margin-block: 12px; padding: 17px; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface-raised); }
  .variant-option:target { outline: 3px solid var(--accent); outline-offset: 3px; }
  .variant-heading, .variant-action { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
  .variant-heading small { display: block; margin-top: 3px; color: var(--muted); font-size: .78rem; }
  .variant-facts { display: grid; gap: 7px; margin: 14px 0 0; padding-top: 13px; border-top: 1px solid var(--line); font-size: .84rem; }
  .variant-action { flex-wrap: wrap; margin-top: 16px; }
  .add-form { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
  .add-form input[type=number] { width: 68px; height: 44px; border: 1px solid var(--line); border-radius: .45rem; text-align: center; }
  .quantity-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .price-note { display: flex; gap: 9px; margin-top: 19px; color: var(--muted); font-size: .82rem; }
  .price-note > span { color: var(--brand); font-weight: 800; }
  .page-heading { margin-bottom: 38px; }
  .cart-list { padding: 0; list-style: none; }
  .cart-line { display: grid; grid-template-columns: 64px minmax(0,1fr) auto auto; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .cart-line-art { width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--card-radius); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); font-size: 1.5rem; font-weight: 750; }
  .cart-line-copy a { text-decoration: none; }
  .cart-line-copy small, .checkout-items small { display: block; color: var(--muted); font-size: .78rem; }
  .cart-line-price { font-weight: 700; }
  .remove-button, .text-button { padding: 6px 8px; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
  .remove-button:hover, .text-button:hover { color: var(--brand); }
  .cart-aside, .checkout-aside, .account-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface); }
  .cart-aside h2, .checkout-aside h2 { margin-bottom: 11px; font-size: 1.4rem; }
  .cart-aside > p:not(.eyebrow), .checkout-aside > p { margin-bottom: 18px; color: var(--muted); font-size: .88rem; }
  .cart-aside .text-link { justify-content: center; width: 100%; margin-top: 16px; }
  .secure-note { display: block; margin-top: 24px; color: var(--muted); font-size: .75rem; }
  .checkout-form fieldset, .choices fieldset { margin: 0 0 18px; padding: 21px; border: 1px solid var(--line); border-radius: var(--card-radius); }
  .checkout-form legend, .choices legend { padding-inline: 8px; font-weight: 720; }
  .checkout-form label, .account-form label { display: block; margin-bottom: 16px; font-size: .84rem; font-weight: 650; }
  .checkout-form label:last-child, .account-form label:last-child { margin-bottom: 0; }
  .checkout-form input, .account-form input { width: 100%; min-height: 46px; display: block; margin-top: 6px; padding: 10px 12px; border: 1px solid #cbd1d9; border-radius: .48rem; background: var(--background); color: var(--foreground); }
  .checkout-form input:focus, .account-form input:focus { border-color: var(--brand); }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .optional, .form-note { color: var(--muted); font-size: .8rem; font-weight: 400; }
  .form-note { margin-top: 15px; }
  .checkout-items { padding: 0; list-style: none; }
  .checkout-items li { display: flex; justify-content: space-between; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: .84rem; }
  .checkout-aside--sticky address { margin-bottom: 18px; color: var(--muted); line-height: 1.7; }
  .offer-panel { padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: calc(var(--card-radius) * 1.2); }
  .offer-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .offer-panel-heading h2, .choices h2 { font-size: 1.5rem; }
  .currency-badge { padding: 7px 10px; border-radius: 999px; background: var(--surface); font-size: .78rem; font-weight: 750; }
  .offer-expiry { margin-block: 13px 20px; color: var(--muted); font-size: .82rem; }
  .offer-lines { padding: 0; list-style: none; }
  .offer-lines > li { padding-block: 18px; border-top: 1px solid var(--line); }
  .offer-line-heading { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
  .offer-line-heading > span { color: var(--muted); white-space: nowrap; }
  .offer-lines dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; color: var(--muted); font-size: .8rem; }
  .offer-lines dl > div { display: flex; justify-content: space-between; gap: 8px; }
  .offer-lines dd { margin: 0; color: var(--foreground); text-align: right; }
  .offer-lines .offer-line-total { grid-column: 1 / -1; padding-top: 7px; border-top: 1px dashed var(--line); color: var(--foreground); font-weight: 730; }
  .choices { margin-top: 25px; }
  .choices h2 { margin-bottom: 17px; }
  .delivery-choice { display: grid; grid-template-columns: 20px minmax(0,1fr) auto; align-items: start; gap: 13px; margin: 0 0 10px; padding: 16px; border: 1px solid var(--line); border-radius: .65rem; cursor: pointer; }
  .delivery-choice:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 4%, var(--background)); }
  .delivery-choice > input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
  .delivery-choice-copy strong, .delivery-choice-copy small { display: block; }
  .delivery-choice-copy small { margin-top: 6px; color: var(--muted); font-size: .76rem; }
  .delivery-total { font-size: .86rem; font-weight: 760; white-space: nowrap; }
  .acknowledgement { display: flex; align-items: start; gap: 9px; margin: 18px 0; font-size: .82rem; }
  .acknowledgement input { margin-top: 4px; accent-color: var(--brand); }
  .order-success { max-width: 660px; margin: clamp(20px, 8vw, 90px) auto; text-align: center; }
  .success-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 23px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 12%, var(--background)); color: var(--brand); font-size: 1.7rem; font-weight: 800; }
  .order-success > h1 { margin-bottom: 14px; font-size: clamp(2.3rem, 5vw, 3.6rem); }
  .order-reference { color: var(--muted); }
  .order-total { display: flex; justify-content: space-between; gap: 18px; margin-block: 30px 18px; padding: 19px; border: 1px solid var(--line); border-radius: var(--card-radius); text-align: left; }
  .payment-instructions { margin-bottom: 25px; padding: 20px; border-radius: var(--card-radius); background: var(--surface); text-align: left; }
  .payment-instructions h2 { margin-bottom: 8px; font-size: 1.1rem; }
  .payment-instructions p { white-space: pre-line; }
  .account-panel { max-width: 520px; padding: clamp(22px, 5vw, 40px); }
  .account-status { min-height: 28px; margin-bottom: 20px; font-weight: 680; }
  .account-form .button { margin-top: 20px; }
  .account-scope { margin-top: 28px; color: var(--muted); font-size: .8rem; }
  .text-button { display: block; margin-top: 17px; }
  .message-panel { max-width: 680px; margin: 70px auto; padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--card-radius); }
  .message-panel h1 { margin-bottom: 15px; font-size: clamp(2rem, 5vw, 3rem); }
  .message-panel p:not(.eyebrow) { margin-bottom: 22px; color: var(--muted); }
  .message-panel form { margin-top: 22px; }
  .offer-variant-options { margin: -4px 0 12px; color: var(--muted); font-size: .8rem; }
  .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
  .pagination a { min-width: 40px; min-height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .5rem; text-decoration: none; font-size: .85rem; font-weight: 700; }
  .pagination a[aria-current="page"] { border-color: var(--brand); background: var(--brand); color: white; }
  .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
}

@layer utilities {
  @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: 920px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero { min-height: 370px; } .cart-layout, .checkout-layout, .checkout-layout--offer { grid-template-columns: minmax(0, 1fr) 290px; gap: 25px; } .product-detail { gap: 35px; } }
  @media (max-width: 700px) { .site-header, .page-shell, .site-footer { width: min(calc(100% - 32px), var(--page-max)); } .site-header { min-height: 72px; } .primary-nav { gap: 13px; } .primary-nav a { font-size: .78rem; } .primary-nav a:first-child { display: none; } .cart-link { padding: 8px 10px; } .wordmark { gap: 7px; font-size: .91rem; } .wordmark-mark { width: 30px; height: 30px; } .page-shell { padding-block: 22px 65px; } .hero { min-height: 460px; grid-template-columns: 1fr; align-content: start; padding: 32px 25px 18px; } .hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); } .hero-art { position: absolute; width: 46%; min-height: 180px; right: 8px; bottom: 12px; opacity: .82; } .hero-orbit { width: 180px; } .hero-orbit--two { width: 125px; } .hero-spark { left: 43%; top: 35%; font-size: 5rem; } .discovery-bar { align-items: stretch; flex-direction: column; gap: 10px; margin-block: 17px 52px; padding: 10px 14px; } .discovery-bar > p { font-size: .75rem; } .catalog-section, .category-section { margin-top: 52px; } .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .product-art { min-height: 135px; } .product-card-copy { padding: 12px; } .product-card-title { font-size: .95rem; } .product-card-description { font-size: .75rem; } .product-card-bottom { align-items: start; flex-direction: column; gap: 5px; padding-top: 12px; } .availability { font-size: .71rem; } .section-heading { align-items: start; } .section-heading h2 { font-size: 1.8rem; } .section-heading > .text-link { max-width: 120px; align-self: end; font-size: .78rem; } .category-grid { grid-template-columns: 1fr; } .category-tile { min-height: 106px; padding: 16px; } .product-detail { grid-template-columns: 1fr; gap: 29px; } .product-detail-art { position: static; min-height: 270px; } .product-detail-art > span { width: 125px; height: 125px; font-size: 4rem; } .product-detail-copy h1 { font-size: 2.7rem; } .cart-layout, .checkout-layout, .checkout-layout--offer { grid-template-columns: 1fr; } .cart-aside, .checkout-aside { order: 1; } .checkout-form { order: 0; } .checkout-layout--offer .offer-panel { order: 0; } .checkout-layout--offer .checkout-aside { order: 1; } .checkout-aside--sticky { position: static; } .cart-line { grid-template-columns: 52px minmax(0,1fr) auto; gap: 9px; } .cart-line-art { width: 48px; height: 48px; } .cart-line-price { grid-column: 2; grid-row: 2; font-size: .83rem; } .cart-line form { grid-column: 3; grid-row: 1 / span 2; } .remove-button { font-size: .73rem; } .field-row { grid-template-columns: 1fr; gap: 0; } .delivery-choice { grid-template-columns: 20px minmax(0,1fr); } .delivery-total { grid-column: 2; } .offer-lines dl { grid-template-columns: 1fr; } .offer-lines .offer-line-total { grid-column: auto; } .site-footer { align-items: start; flex-direction: column; gap: 10px; } .site-footer > span { order: 1; } .page-heading, .collection-header { margin-bottom: 30px; } }
  @media (max-width: 700px) { .product-facts { padding: 15px; } .product-facts dl { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 380px) { .product-grid { gap: 8px; } .product-card-copy { padding: 10px; } .product-art { min-height: 112px; } .primary-nav { gap: 8px; } .primary-nav a { font-size: .72rem; } }
}

/* Trusted Commerce Studio components share the active, validated token set.
   These selectors are scoped to the Studio page renderer and do not alter the
   established storefront Modern/Editorial presentation rules above. */
@layer components {
  .sc-page {
    --sc-brand: var(--sc-color-brand, #2563eb);
    --sc-background: var(--sc-color-background, #fff);
    --sc-foreground: var(--sc-color-foreground, #0f172a);
    --sc-muted: color-mix(in srgb, var(--sc-foreground), transparent 30%);
    --sc-line: color-mix(in srgb, var(--sc-foreground), var(--sc-background) 84%);
    --sc-surface: color-mix(in srgb, var(--sc-brand) 4%, var(--sc-background));
    --sc-radius: var(--sc-radius-card, .5rem);
    --sc-space: var(--sc-spacing-scale, 1);
    --sc-shadow: var(--sc-shadow-card, none);
    min-width: 320px;
    margin: 0;
    background: var(--sc-background);
    color: var(--sc-foreground);
    font-family: var(--sc-font-body, system-ui, sans-serif);
    line-height: 1.55;
  }
  .sc-page *, .sc-page *::before, .sc-page *::after { box-sizing: border-box; }
  .sc-page img { display: block; max-width: 100%; height: auto; }
  .sc-page h1, .sc-page h2, .sc-page h3 { color: var(--sc-foreground); font-family: var(--sc-font-heading, system-ui, sans-serif); line-height: 1.15; }
  .sc-page a { color: var(--sc-brand); text-underline-offset: .18em; }
  .sc-page a:focus-visible { outline: 3px solid var(--sc-brand); outline-offset: 3px; }
  .sc-page__main { width: min(calc(100% - 2rem), 76rem); display: grid; gap: clamp(calc(1.5rem * var(--sc-space)), 4vw, calc(3rem * var(--sc-space))); margin-inline: auto; padding-block: clamp(1.75rem, 5vw, 4.5rem); }
  .sc-page.sc-theme--modern .sc-hero { background: linear-gradient(125deg, color-mix(in srgb, var(--sc-brand) 5%, var(--sc-background)), color-mix(in srgb, var(--sc-brand) 13%, var(--sc-background))); }
  .sc-page.sc-theme--modern .sc-product-card { transition: transform .16s ease, border-color .16s ease; }
  .sc-page.sc-theme--modern .sc-product-card:hover { transform: translateY(-2px); border-color: var(--sc-brand); }
  .sc-page.sc-theme--editorial { --sc-muted: color-mix(in srgb, var(--sc-foreground), transparent 24%); }
  .sc-page.sc-theme--editorial .sc-site-header { border-bottom-color: var(--sc-foreground); }
  .sc-page.sc-theme--editorial .sc-hero { border: 1px solid var(--sc-line); border-radius: 0; background: var(--sc-surface); }
  .sc-page.sc-theme--editorial .sc-hero h1 { font-weight: 500; letter-spacing: -.045em; }
  .sc-page.sc-theme--editorial .sc-hero__action { border-radius: 0; }
  .sc-page.sc-theme--editorial .sc-product-card { overflow: visible; border: 0; border-bottom: 1px solid var(--sc-line); border-radius: 0; background: transparent; box-shadow: none; }
  .sc-page.sc-theme--editorial .sc-product-card:hover { transform: none; }
  .sc-page.sc-theme--editorial .sc-product-card__visual { background: var(--sc-surface); }
  .sc-page.sc-theme--editorial .sc-category-card { border: 0; border-top: 1px solid var(--sc-line); border-radius: 0; background: transparent; box-shadow: none; }
  .sc-page.sc-theme--editorial .sc-banner { border-radius: 0; }

  .sc-page .sc-site-header, .sc-page .sc-site-footer { width: 100%; min-width: 0; margin-inline: 0; }
  .sc-site-header { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: calc(1.25rem * var(--sc-space)); padding-block: .75rem; border-bottom: 1px solid var(--sc-line); }
  .sc-page .sc-site-header__brand { min-width: 0; display: inline-flex; align-items: center; gap: .75rem; color: var(--sc-foreground) !important; font-family: var(--sc-font-heading, system-ui, sans-serif); font-size: 1.12rem; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
  .sc-page .sc-site-header__brand img { width: auto; max-width: 9rem; max-height: 2.75rem; object-fit: contain; }
  .sc-page .sc-site-header nav, .sc-page .sc-site-footer nav { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: calc(.5rem * var(--sc-space)) calc(1.25rem * var(--sc-space)); }
  .sc-page .sc-site-header nav a, .sc-page .sc-site-footer nav a, .sc-page .sc-site-footer p, .sc-page .sc-site-footer small { min-width: 0; overflow-wrap: anywhere; }
  .sc-page .sc-link { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: .94rem; }

  .sc-page .sc-hero { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(calc(1.5rem * var(--sc-space)), 6vw, calc(4rem * var(--sc-space))); border-radius: calc(var(--sc-radius) * 1.3); background: var(--sc-surface); }
  .sc-page .sc-hero__content { min-width: 0; max-width: 42rem; }
  .sc-page .sc-hero__eyebrow { margin: 0 0 .75rem; color: var(--sc-brand); font-size: .9rem; font-weight: 700; letter-spacing: .07em; }
  .sc-page .sc-hero h1 { margin: 0 0 1rem; font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 600; letter-spacing: -.035em; overflow-wrap: anywhere; }
  .sc-page .sc-hero__content > p:not(.sc-hero__eyebrow) { max-width: 42rem; margin: 0 0 1.5rem; color: var(--sc-muted); font-size: 1.05rem; }
  .sc-page .sc-hero__action { min-height: 2.875rem; display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; border-radius: var(--sc-radius); background: var(--sc-brand); color: #fff !important; font-weight: 700; text-decoration: none; }
  .sc-page .sc-hero__image { width: 100%; max-height: 28rem; aspect-ratio: 4 / 3; border-radius: var(--sc-radius); object-fit: cover; }
  .sc-page .sc-hero--center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .sc-page .sc-hero--center .sc-hero__image { width: min(100%, 48rem); }

  .sc-page .sc-category-grid__list, .sc-page .sc-product-list__grid { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
  .sc-page .sc-category-card { min-width: 0; min-height: 7rem; display: flex; flex-direction: column; justify-content: center; gap: .35rem; padding: 1.1rem; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: var(--sc-background); color: var(--sc-foreground) !important; box-shadow: var(--sc-shadow); text-decoration: none; overflow-wrap: anywhere; }
  .sc-page .sc-category-card strong { font-family: var(--sc-font-heading, system-ui, sans-serif); font-size: 1.15rem; }
  .sc-page .sc-category-card span { color: var(--sc-muted); font-size: .9rem; }
  .sc-page .sc-category-card:hover { border-color: var(--sc-brand); }

  .sc-page .sc-image-text { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.25rem, 4vw, 3rem); }
  .sc-page .sc-image-text img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--sc-radius); object-fit: cover; }
  .sc-page .sc-image-text--right img { grid-column: 2; grid-row: 1; }
  .sc-page .sc-image-text--right > div { grid-column: 1; grid-row: 1; }
  .sc-page .sc-image-text h2 { margin: 0 0 .75rem; font-size: clamp(1.5rem, 3vw, 2.25rem); overflow-wrap: anywhere; }
  .sc-page .sc-image-text p { margin: 0; color: var(--sc-muted); }

  .sc-page .sc-banner { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: 1rem 1.25rem; border-radius: var(--sc-radius); font-weight: 650; overflow-wrap: anywhere; }
  .sc-page .sc-banner--brand { background: var(--sc-brand); color: #fff; }
  .sc-page .sc-banner--brand a { color: #fff; }
  .sc-page .sc-banner--brand a:focus-visible { outline-color: #fff; }
  .sc-page .sc-banner--neutral { border: 1px solid var(--sc-line); background: var(--sc-surface); color: var(--sc-foreground); }
  .sc-page .sc-banner--accent { border-inline-start: .25rem solid var(--sc-brand); background: var(--sc-surface); color: var(--sc-foreground); }
  .sc-page .sc-banner a { min-height: 2.75rem; display: inline-flex; align-items: center; font-weight: 750; }

  .sc-page .sc-site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0; padding-block: 1.25rem; border-top: 1px solid var(--sc-line); color: var(--sc-muted); }
  .sc-page .sc-site-footer nav { gap: .25rem 1rem; }
  .sc-page .sc-layout { min-width: 0; display: grid; gap: clamp(1rem, 3vw, 2rem); }
  .sc-page .sc-layout--stack { grid-template-columns: minmax(0, 1fr); }
  .sc-page .sc-layout--grid, .sc-page .sc-layout--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-page .sc-text { margin: 0; overflow-wrap: anywhere; }
  .sc-page .sc-image { width: 100%; border-radius: var(--sc-radius); object-fit: cover; }

  .sc-page .sc-product-list { min-width: 0; margin: 0; }
  .sc-page .sc-product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: var(--sc-background); box-shadow: var(--sc-shadow); }
  .sc-page .sc-product-card__link { min-width: 0; display: flex; height: 100%; flex-direction: column; color: var(--sc-foreground) !important; text-decoration: none; }
  .sc-page .sc-product-card__visual { min-height: 9rem; display: grid; place-items: center; background: var(--sc-surface); color: var(--sc-brand); font-family: var(--sc-font-heading, system-ui, sans-serif); font-size: 2.5rem; }
  .sc-page .sc-product-card__visual img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
  .sc-page .sc-product-card__body { min-width: 0; display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .45rem; padding: 1rem; }
  .sc-page .sc-product-card__name { font-family: var(--sc-font-heading, system-ui, sans-serif); font-size: 1.1rem; font-weight: 650; overflow-wrap: anywhere; }
  .sc-page .sc-product-card__description { color: var(--sc-muted); font-size: .9rem; overflow-wrap: anywhere; }
  .sc-page .sc-product-card__price { margin-top: auto; padding-top: .6rem; font-size: 1.02rem; font-weight: 750; }
  .sc-page .sc-product-card__availability { color: #435e42; font-size: .9rem; font-weight: 650; }
  .sc-page .sc-product-card__availability--out { color: var(--sc-muted); }
  .sc-page .sc-price { font-weight: 750; }
  .sc-page .sc-availability { color: #435e42; font-size: .9rem; font-weight: 650; }
  .sc-page .sc-cart-action { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--sc-brand); font-weight: 700; }
  .sc-page .sc-component-empty { margin: 0; padding: 1rem; border: 1px dashed var(--sc-line); color: var(--sc-muted); }

  @media (max-width: 720px) {
    .sc-page .sc-site-header { flex-wrap: wrap; }
    .sc-page .sc-site-header nav { width: 100%; justify-content: space-between; }
    .sc-page .sc-hero, .sc-page .sc-image-text { grid-template-columns: minmax(0, 1fr); }
    .sc-page .sc-hero { gap: 1.25rem; }
    .sc-page .sc-hero__image { max-height: 22rem; }
    .sc-page .sc-image-text--right img, .sc-page .sc-image-text--right > div { grid-column: 1; grid-row: auto; }
    .sc-page .sc-category-grid__list, .sc-page .sc-product-list__grid, .sc-page .sc-layout--grid, .sc-page .sc-layout--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 420px) {
    .sc-page .sc-page__main { width: min(calc(100% - 1.25rem), 76rem); }
    .sc-page .sc-category-grid__list, .sc-page .sc-product-list__grid, .sc-page .sc-layout--grid, .sc-page .sc-layout--columns { grid-template-columns: minmax(0, 1fr); }
  }
}

/* Built-in appearance packages are fixed platform CSS. Preset data selects only
   these closed classes; it never contributes CSS declarations or selectors. */
@layer components {
  .theme--modern {
    --line: #e7e9ed;
    --muted: #64748b;
    --surface: #f7f8fa;
    --surface-raised: #fff;
  }
  .theme--modern .site-header { min-height: 88px; }
  .theme--modern .hero { border-radius: calc(var(--card-radius) * 1.4); }
  .theme--modern .product-card { border-radius: var(--card-radius); }

  .theme--editorial {
    --line: #e7dfd3;
    --muted: #706457;
    --surface: #f7f3eb;
    --surface-raised: #fffefa;
  }
  .theme--editorial .site-header { min-height: 104px; border-bottom: 1px solid var(--foreground); }
  .theme--editorial .wordmark { gap: 14px; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
  .theme--editorial .wordmark-mark { width: 38px; height: 38px; border-radius: 0; }
  .theme--editorial .primary-nav { gap: clamp(18px, 3vw, 38px); }
  .theme--editorial .primary-nav a { font-size: .78rem; letter-spacing: .055em; text-transform: uppercase; }
  .theme--editorial .cart-link { padding-inline: 0; border: 0; border-bottom: 1px solid var(--brand); border-radius: 0; }
  .theme--editorial .page-shell { padding-block: 44px 112px; }
  .theme--editorial .hero {
    min-height: 500px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
  }
  .theme--editorial .hero h1 { max-width: 660px; font-size: clamp(3.4rem, 7.2vw, 6rem); font-weight: 500; letter-spacing: -.055em; }
  .theme--editorial .hero h1 span { font-style: italic; font-weight: 400; }
  .theme--editorial .hero-intro { max-width: 400px; font-size: 1.12rem; line-height: 1.7; }
  .theme--editorial .hero-orbit { border-color: color-mix(in srgb, var(--brand) 38%, transparent); }
  .theme--editorial .hero-orbit--two { border-width: 1px; background: color-mix(in srgb, var(--brand) 10%, transparent); }
  .theme--editorial .hero-spark { font-family: var(--font-heading); font-weight: 400; }
  .theme--editorial .button { min-height: 50px; border-radius: 0; box-shadow: none; letter-spacing: .02em; }
  .theme--editorial .button:hover { transform: none; box-shadow: none; }
  .theme--editorial .discovery-bar { border-radius: 0; box-shadow: none; }
  .theme--editorial .search-form button { border-radius: 0; }
  .theme--editorial .category-pill { border-radius: 0; background: transparent; }
  .theme--editorial .product-grid { gap: 24px; }
  .theme--editorial .product-card {
    overflow: visible;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
  }
  .theme--editorial .product-card:hover { transform: none; border-color: var(--brand); box-shadow: none; }
  .theme--editorial .product-art {
    min-height: 230px;
    background: linear-gradient(145deg, #f0e6d8, #fbf7ef 74%);
  }
  .theme--editorial .product-art > span,
  .theme--editorial .product-detail-art > span {
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--brand) 54%, transparent);
    border-radius: 0;
    background: transparent;
    font-size: 3rem;
    font-weight: 400;
    transform: none;
  }
  .theme--editorial .product-card-copy { padding: 19px 2px 23px; }
  .theme--editorial .product-card-title { font-family: var(--font-heading); font-size: 1.28rem; font-weight: 500; letter-spacing: -.02em; }
  .theme--editorial .product-card-description { font-size: .87rem; }
  .theme--editorial .product-card-price { font-family: var(--font-heading); font-size: 1.12rem; font-weight: 600; }
  .theme--editorial .category-tile { border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .theme--editorial .category-tile:last-child { border-bottom: 1px solid var(--line); }
  .theme--editorial .product-detail-art { min-height: 520px; border-radius: 0; background: linear-gradient(145deg, #f0e6d8, #fbf7ef 74%); }
  .theme--editorial .product-detail-copy h1,
  .theme--editorial .page-heading h1,
  .theme--editorial .collection-header h1 { font-weight: 500; letter-spacing: -.05em; }
  .theme--editorial .product-facts,
  .theme--editorial .variant-option,
  .theme--editorial .cart-aside,
  .theme--editorial .checkout-aside,
  .theme--editorial .account-panel,
  .theme--editorial .offer-panel,
  .theme--editorial .message-panel { border-radius: 0; box-shadow: none; }
  .theme--editorial .product-facts,
  .theme--editorial .cart-aside,
  .theme--editorial .checkout-aside,
  .theme--editorial .account-panel { background: var(--surface); }
  .theme--editorial .variant-option { background: transparent; }
  .theme--editorial .checkout-form fieldset,
  .theme--editorial .choices fieldset,
  .theme--editorial .delivery-choice { border-radius: 0; }
  .theme--editorial .checkout-form input,
  .theme--editorial .account-form input { border-radius: 0; }
  .theme--editorial .delivery-choice:has(input:checked) { background: var(--surface); }
  .theme--editorial .site-footer { padding-block: 34px; border-top-color: var(--foreground); }
}

/* Responsive presentation belongs to the utility layer so it can specialize
   the base mobile layout while preserving the selected built-in theme. */
@layer utilities {
  @media (max-width: 700px) {
    .site-header { min-height: 0; flex-wrap: wrap; padding-block: 10px; }
    .primary-nav { flex: 0 0 100%; justify-content: space-between; gap: 8px; }
    .primary-nav a { min-height: 44px; display: inline-flex; align-items: center; }
    .primary-nav a:first-child { display: inline-flex; }
    .theme--editorial .site-header { min-height: 0; }
    .theme--editorial .page-shell { padding-block: 28px 76px; }
    .theme--editorial .hero { min-height: 460px; }
    .theme--editorial .hero h1 { font-size: clamp(3rem, 12vw, 4.8rem); }
    .theme--editorial .product-grid { gap: 14px; }
    .theme--editorial .product-art { min-height: 150px; }
    .theme--editorial .product-card-copy { padding: 13px 1px 17px; }
    .theme--editorial .product-detail-art { min-height: 300px; }
  }
}
