:root {
  color-scheme: light;
  --cream: #fcf6ef;
  --paper: #fffaf6;
  --rose: #f1ded8;
  --wine: #7b293b;
  --ink: #442c30;
  --muted: #775c60;
  --line: #dec1bd;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--sans); }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
button { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 5; padding: 10px 16px; background: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { width: min(1200px, calc(100% - 64px)); margin: auto; min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { min-height: 44px; display: flex; flex-direction: column; justify-content: center; text-decoration: none; color: var(--wine); }
.wordmark-name { font: 30px/1.12 var(--serif); letter-spacing: .15em; }
.wordmark-tagline { font-size: 9px; letter-spacing: .25em; text-transform: uppercase; margin-top: 6px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-size: 13px; }
.site-nav a[aria-current="page"] { color: var(--wine); text-decoration: underline; text-underline-offset: 8px; }
.site-nav a:hover { color: var(--wine); }
.page-shell { width: min(1200px, calc(100% - 64px)); margin: auto; }
.eyebrow { color: var(--wine); font-size: 10px; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; }
.collection-heading { padding: 62px 0 38px; border-bottom: 1px solid var(--line); }
.collection-heading h1 { margin-top: 11px; font: 400 clamp(40px, 5vw, 62px)/1.1 var(--serif); color: var(--wine); letter-spacing: -.035em; }
.collection-heading h1 em { font-weight: 400; }
.collection-intro > p:last-child { color: var(--muted); margin-top: 17px; max-width: 540px; font-size: 15px; }
.collection-heading-with-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: center; }
.collection-heading-with-image h1 { font-size: clamp(38px, 4vw, 54px); }
.collection-brand-image img { width: 100%; height: auto; object-fit: contain; }
.collection-meta { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 70px; }
.product-card { min-width: 0; }
.card-media { display: block; text-decoration: none; overflow: hidden; background: var(--rose); }
.card-media img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.card-media .photo-placeholder { aspect-ratio: 1; }
.photo-placeholder { background: #f4e8e1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; position: relative; }
.photo-placeholder::before { content: ''; position: absolute; inset: 18px; border: 1px solid #c8a9a36b; pointer-events: none; }
.placeholder-icon { width: 30px; height: 30px; color: #987272; margin-bottom: 22px; }
.placeholder-title { font: italic 25px/1.3 var(--serif); color: var(--wine); max-width: 210px; }
.placeholder-caption { color: var(--muted); font-size: 11px; margin-top: 12px; letter-spacing: .035em; }
.card-copy { padding: 20px 0 0; }
.badge { display: inline-flex; align-items: center; color: var(--wine); font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: .12em; }
.badge::before { content: ''; width: 5px; height: 5px; background: var(--wine); border-radius: 50%; margin-right: 8px; }
.card-title-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-top: 9px; }
.card-title-row h2 { font: 400 26px/1.2 var(--serif); color: var(--wine); }
.card-title-row h2 a { text-decoration: none; }
.card-title-row h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-price { white-space: nowrap; font-size: 15px; }
.card-copy > p { color: var(--muted); font-size: 13px; margin-top: 10px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 18px; margin-top: 8px; font-size: 12px; color: var(--wine); text-underline-offset: 5px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); padding: 48px 0 64px; align-items: start; }
.product-gallery { min-width: 0; }
.gallery-stage { background: #f4e8e1; aspect-ratio: 1; overflow: hidden; }
.gallery-stage .photo-placeholder { height: 100%; }
.gallery-stage > img { width: 100%; height: 100%; object-fit: contain; }
.gallery-stage > picture { display: block; width: 100%; height: 100%; }
.gallery-stage > picture > img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbnails { display: flex; align-items: center; gap: 10px; overflow-x: auto; padding: 14px 3px 5px; scrollbar-width: thin; }
.gallery-thumb { padding: 0; width: 66px; height: 66px; flex: 0 0 66px; background: var(--paper); border: 1px solid var(--line); cursor: pointer; }
.gallery-thumb[aria-pressed="true"] { border: 2px solid var(--wine); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.photo-pending { display: flex; align-items: center; gap: 12px; padding-top: 12px; color: var(--muted); font-size: 11px; }
.photo-pending-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); }
.photo-pending-icon svg { width: 18px; height: 18px; }
.product-information { min-width: 0; padding-top: 5px; }
.product-information h1 { font: 400 clamp(34px, 3.7vw, 49px)/1.08 var(--serif); color: var(--wine); letter-spacing: -.035em; margin-top: 13px; max-width: 400px; }
.product-price { font: 400 27px/1.3 var(--serif); margin-top: 14px; color: var(--wine); }
.product-description { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 21px; }
.purchase-panel { margin-top: 24px; }
.order-step { margin-top: 21px; }
.step-label { display: flex; gap: 9px; align-items: center; font: 600 12px/1.4 var(--sans); color: var(--wine); }
.step-label > span { display: inline-grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; border-radius: 50%; background: var(--rose); font-size: 10px; }
.order-step select { appearance: auto; width: 100%; min-height: 48px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); font: 14px/1.4 var(--sans); text-overflow: ellipsis; }
.order-step select:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.order-step select:disabled { color: var(--muted); opacity: 1; background: #f5ede7; }
.field-note { font-size: 11px; line-height: 1.55; color: var(--muted); margin-top: 7px; overflow-wrap: anywhere; }
.preorder-terms { margin-top: 12px; padding: 12px 14px; border-left: 2px solid var(--wine); background: #f6eae5; color: var(--ink); font-size: 12px; line-height: 1.6; }
.delivery-coverage { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.delivery-step { margin-bottom: 22px; }
.batch-calendar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 13px; padding: 12px 0; border-block: 1px solid var(--line); }
.batch-calendar[hidden] { display: none; }
.batch-calendar span { display: block; font-size: 10px; color: var(--muted); }
.batch-calendar strong { display: block; font-size: 11px; line-height: 1.6; font-weight: 500; margin-top: 3px; overflow-wrap: anywhere; }
.purchase-panel .quantity-row { margin-bottom: 0; }
.quantity-note { margin-bottom: 19px; }
.customer-details { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.customer-details legend { padding: 0; margin-bottom: 10px; }
.customer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.customer-grid label { min-width: 0; font-size: 12px; color: var(--muted); }
.customer-wide { grid-column: 1 / -1; }
.customer-grid input, .customer-grid textarea, .customer-grid select { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font: 16px/1.4 var(--sans); background: var(--paper); color: var(--ink); }
.courier-address { margin-top: 10px; }
.courier-address[hidden] { display: none; }
.customer-grid select:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.customer-grid textarea { resize: vertical; }
.customer-grid input:disabled, .customer-grid textarea:disabled { opacity: .65; }
.customer-grid textarea:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.dispatch-explainer { font-size: 11px; color: var(--muted); line-height: 1.6; margin: -5px 0 14px; }
.payment-result { padding: 16px; background: var(--rose); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 18px; font-size: 13px; overflow-wrap: anywhere; }
.payment-result[hidden] { display: none; }
.payment-result h2 { font: 24px/1.3 var(--serif); color: var(--wine); margin-bottom: 8px; }
.payment-result p + p { margin-top: 8px; }
.payment-result button { display: block; }
.payment-result button[hidden] { display: none; }
.order-summary { background: #f6eae5; border: 1px solid #e7cfc7; border-radius: 12px; padding: 16px; margin-bottom: 18px; font-size: 12px; }
.order-summary h2 { margin-bottom: 13px; }
.summary-line { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 9px; }
.summary-line > :first-child { min-width: 0; overflow-wrap: anywhere; }
.summary-line > :last-child { flex-shrink: 0; white-space: nowrap; }
.order-summary > p { font-size: 11px; color: var(--muted); margin-top: 6px; }
.summary-total { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); margin-top: 13px; padding-top: 11px; color: var(--wine); font-size: 16px; }
.retry-stock { border: 0; background: transparent; color: var(--wine); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; font-size: 12px; padding: 8px 0; cursor: pointer; }
.quantity-control input:disabled { color: var(--muted); }
.quantity-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.quantity-row label { font-size: 12px; }
.quantity-control { display: flex; border: 1px solid var(--line); background: var(--paper); }
.quantity-control button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.quantity-control button:hover { background: var(--rose); }
.quantity-control button:disabled { color: #a28b8d; cursor: default; }
.quantity-control input { width: 46px; height: 44px; text-align: center; padding: 0; border: 0; border-inline: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font-size: 14px; appearance: textfield; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.action { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; min-height: 52px; text-align: center; padding: 13px 18px; border: 1px solid var(--wine); border-radius: 0; background: var(--wine); color: var(--paper); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; cursor: pointer; }
.action:not(:disabled):hover { background: #632132; }
.action:disabled { background: #885663; border-color: #885663; cursor: not-allowed; }
.action-secondary { margin-top: 11px; font-size: 12px; font-weight: 400; letter-spacing: .015em; background: transparent; color: var(--wine); }
.action-secondary:not(:disabled):hover { color: var(--paper); }
.action-secondary:disabled { color: var(--muted); background: transparent; border-color: #ae8b90; }
.action-secondary svg { width: 18px; height: 18px; }
.order-notice { color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 10px; }
.product-accordions { margin-top: 27px; border-top: 1px solid var(--line); }
.product-accordions details { border-bottom: 1px solid var(--line); }
.product-accordions summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 55px; padding: 14px 0; font-size: 12px; cursor: pointer; list-style: none; }
.product-accordions summary::-webkit-details-marker { display: none; }
.product-accordions summary::after { content: '+'; font-size: 20px; color: var(--wine); font-weight: 400; }
.product-accordions details[open] summary::after { content: '−'; }
.product-accordions details p { font-size: 13px; color: var(--muted); padding-bottom: 18px; line-height: 1.7; }
.back-link { border-top: 1px solid var(--line); padding: 12px 0 30px; }
.back-link .text-link { margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding: 30px 32px; }
.footer-inner { width: min(1200px, 100%); margin: auto; display: flex; gap: 24px; justify-content: space-between; align-items: center; }
.footer-name { font: 20px/1.3 var(--serif); color: var(--wine); letter-spacing: .05em; }
.footer-inner small { color: var(--muted); font-size: 10px; letter-spacing: .03em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 800px) {
  .collection-heading-with-image { grid-template-columns: 1fr; gap: 25px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout { gap: 32px; }
  .site-nav { gap: 20px; }
}

@media (max-width: 620px) {
  .order-step select, .quantity-control input { font-size: 16px; }
  .header-inner { width: calc(100% - 40px); min-height: 106px; flex-direction: column; justify-content: center; gap: 3px; padding-top: 12px; }
  .wordmark { text-align: center; }
  .wordmark-name { font-size: 25px; }
  .wordmark-tagline { font-size: 8px; margin-top: 3px; }
  .site-nav { gap: 25px; justify-content: center; }
  .site-nav a { font-size: 11px; }
  .site-nav a[aria-current="page"] { text-underline-offset: 5px; }
  .page-shell { width: calc(100% - 40px); }
  .collection-heading { padding: 34px 0 25px; }
  .collection-heading h1 { font-size: 43px; }
  .collection-intro > p:last-child { font-size: 13px; margin-top: 13px; max-width: 290px; }
  .collection-meta { padding: 19px 0; font-size: 10px; }
  .product-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 44px; }
  .card-copy { padding-top: 16px; }
  .card-title-row h2 { font-size: 27px; }
  .product-layout { display: block; padding: 20px 0 30px; }
  .gallery-stage { aspect-ratio: 6 / 5; }
  .gallery-stage .placeholder-title { font-size: 27px; }
  .photo-placeholder::before { inset: 14px; }
  .placeholder-icon { margin-bottom: 16px; }
  .photo-pending { padding-top: 9px; gap: 10px; }
  .gallery-thumbnails { padding-top: 10px; gap: 8px; }
  .gallery-thumb { width: 48px; height: 48px; flex-basis: 48px; }
  .product-information { padding-top: 21px; }
  .product-information h1 { font-size: 35px; margin-top: 9px; max-width: 340px; }
  .product-price { font-size: 26px; margin-top: 8px; }
  .product-description { font-size: 13px; line-height: 1.65; margin-top: 14px; }
  .purchase-panel { margin-top: 18px; }
  .quantity-row { margin-bottom: 15px; }
  .product-accordions { margin-top: 24px; }
  .product-accordions summary { min-height: 53px; }
  .site-footer { padding: 26px 20px; }
  .footer-inner { flex-direction: column; gap: 9px; text-align: center; }
  .footer-name { font-size: 21px; }
}

/* Shop-only: preserve shared button styling while keeping this order flow still. */
.shop-page .action, .shop-page .gallery-thumb, .shop-page .card-copy > .text-link,
.shop-page .card-copy > .text-link > span[aria-hidden="true"] {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}
