/* =========================================================
   AURELIA ATELIER — headwear storefront prototype
   Design tokens
   ========================================================= */
:root {
  --paper: #fbf8f4;
  --sand: #f2eae0;
  --sand-deep: #e7dbcb;
  --ink: #191614;
  --ink-soft: #443f39;
  --muted: #8b8277;
  --blush: #e3c4b7;
  --gold: #a98a5b;
  --line: rgba(25, 22, 20, 0.12);
  --line-light: rgba(251, 248, 244, 0.24);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --container: 1280px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.kicker {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.section-head p {
  max-width: 380px;
  color: var(--ink-soft);
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
  transition: gap .3s var(--ease), opacity .3s var(--ease);
}
.link-arrow:hover { gap: 16px; opacity: .75; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), opacity .3s var(--ease);
}
.btn svg { width: 15px; height: 15px; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: #000; color: var(--paper); }
.btn-light { border-color: rgba(251, 248, 244, 0.75); color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-block { width: 100%; }

/* =========================================================
   Announcement + header
   ========================================================= */
.announcement {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 9px 16px;
}
.announcement p {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: .92;
}

/* Shopify connection banner */
.shopify-banner {
  font-size: 11px;
  letter-spacing: .02em;
  color: #fff;
  padding: 7px 0;
}
.shopify-banner--demo { background: #b08d57; }
.shopify-banner--live { background: #3f6f4e; }
.shopify-banner-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  text-align: center;
}
.shopify-banner-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  flex: none;
  animation: bannerPulse 2s ease-in-out infinite;
}
@keyframes bannerPulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.shopify-banner code {
  background: rgba(255,255,255,.22);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-family: "SFMono-Regular", Menlo, monospace;
}

.cart-drawer.is-loading { opacity: .65; pointer-events: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(25, 22, 20, 0.06); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav { display: flex; gap: 26px; }
.site-nav a {
  position: relative;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 0;
  color: var(--ink-soft);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.brand {
  justify-self: center;
  text-align: center;
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.3em;
  line-height: 1;
  text-transform: uppercase;
  padding-left: .3em;
}
.brand span {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.42em;
  color: var(--muted);
  margin-top: 7px;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-link, .cart-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px;
  color: var(--ink);
}
.icon-link svg, .cart-button svg { width: 19px; height: 19px; }
.cart-button { position: relative; }
.cart-count {
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  padding-inline: 4px;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 38;
  background: var(--paper);
  padding: 120px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
body.nav-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.35;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .mobile-meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(520px, 74vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--sand);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 15, 13, .58) 0%, rgba(18, 15, 13, .18) 45%, rgba(18, 15, 13, .05) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--paper);
  padding-block: clamp(48px, 7vw, 88px);
  max-width: 720px;
}
.hero .kicker { color: rgba(251, 248, 244, .82); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.005em;
}
.hero h1 em { font-style: italic; font-weight: 400; display: block; }
.hero .lede {
  margin-top: 22px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(251, 248, 244, .86);
}
.hero .btn { margin-top: 32px; }

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--sand);
  padding: 13px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .7;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* =========================================================
   Product grid + card
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.product-card { position: relative; }

.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--sand);
  overflow: hidden;
}
.card-media-link { display: block; height: 100%; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), opacity .6s var(--ease);
}
.card-media-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-card:hover .card-media img { transform: scale(1.035); }
.product-card:hover .card-media-alt { opacity: 1; }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: var(--paper);
  padding: 6px 10px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.quick-add {
  position: absolute;
  z-index: 2;
  left: 12px; right: 12px; bottom: 12px;
  background: rgba(251, 248, 244, .95);
  color: var(--ink);
  border: 1px solid rgba(25, 22, 20, .1);
  padding: 11px 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), transform .4s var(--ease), opacity .4s var(--ease);
}
.quick-add:hover { background: var(--ink); color: var(--paper); }
@media (hover: hover) {
  .quick-add { transform: translateY(130%); opacity: 0; }
  .product-card:hover .quick-add, .quick-add:focus-visible { transform: none; opacity: 1; }
}

.card-info { padding-top: 14px; }
.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.card-title-row h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
}
.card-title-row h3 a:hover { opacity: .7; }
.price { font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
.price s { color: var(--muted); margin-right: 6px; font-size: 12px; }
.card-meta {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.swatches { display: flex; gap: 6px; margin-top: 10px; }
.swatch-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(25, 22, 20, .16);
}

/* =========================================================
   Category tiles
   ========================================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.5vw, 20px);
}
.category-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
  color: var(--paper);
}
.category-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 15, 13, .55), rgba(18, 15, 13, 0) 62%);
}
.category-tile:hover img { transform: scale(1.05); }
.category-tile-label {
  position: absolute;
  z-index: 2;
  left: 18px; right: 18px; bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.category-tile-label h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: .02em;
}
.category-tile-label span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }

/* =========================================================
   Story / editorial split
   ========================================================= */
.story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  background: var(--sand);
}
.story-media { position: relative; min-height: 420px; }
.story-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-copy {
  padding: clamp(36px, 6vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.08;
  margin-bottom: 20px;
}
.story-copy p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 14px; max-width: 440px; }
.story-copy .link-arrow { align-self: flex-start; margin-top: 14px; }

/* =========================================================
   Values strip
   ========================================================= */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 34px;
}
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-item svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--gold); }
.value-item h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 3px; }
.value-item p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* =========================================================
   Newsletter
   ========================================================= */
.newsletter {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
}
.newsletter h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}
.newsletter p { color: rgba(251, 248, 244, .7); font-size: 14px; max-width: 460px; margin: 0 auto; }
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 30px auto 0;
  border-bottom: 1px solid rgba(251, 248, 244, .35);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--paper);
  padding: 12px 2px;
  font-size: 13px;
  letter-spacing: .03em;
}
.newsletter-form input::placeholder { color: rgba(251, 248, 244, .45); }
.newsletter-form button {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 12px 4px 12px 20px;
  color: var(--paper);
  transition: opacity .3s;
}
.newsletter-form button:hover { opacity: .6; }
.newsletter small { display: block; margin-top: 16px; font-size: 10px; letter-spacing: .1em; color: rgba(251, 248, 244, .4); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, .7fr));
  gap: 36px;
  padding-bottom: 56px;
}
.footer-brand .brand { justify-self: start; text-align: left; font-size: 22px; }
.footer-brand p {
  margin-top: 18px;
  max-width: 280px;
  font-size: 13px;
  color: var(--muted);
}
.footer-col h4 {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--ink);
}
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: var(--muted); transition: color .25s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* =========================================================
   Page head (shop / product)
   ========================================================= */
.page-head {
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 36px);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}
.page-head p {
  max-width: 520px;
  margin: 14px auto 0;
  font-size: 13.5px;
  color: var(--muted);
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { opacity: .5; }
.breadcrumb--left { justify-content: flex-start; margin-bottom: 0; }

.product-badge {
  display: inline-block;
  background: var(--sand);
  padding: 5px 10px;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- shop toolbar ---------- */
.shop-toolbar {
  position: sticky;
  top: 78px;
  z-index: 30;
  background: rgba(251, 248, 244, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
}
.toolbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.toolbar-right { display: flex; align-items: center; gap: 12px; }
.result-count { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 34px 9px 16px;
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 15px; top: 50%;
  width: 6px; height: 6px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.shop-body { padding-block: clamp(32px, 4vw, 56px) clamp(56px, 8vw, 104px); }

.empty-state { text-align: center; padding: 80px 0; }
.empty-state h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 10px; }
.empty-state p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* =========================================================
   Product page
   ========================================================= */
.product-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(28px, 5vw, 76px);
  padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px);
}
.gallery-main {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--sand);
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery-thumb {
  width: 84px;
  aspect-ratio: 1;
  border: 1px solid transparent;
  padding: 0;
  overflow: hidden;
  opacity: .65;
  transition: opacity .3s, border-color .3s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.is-active { opacity: 1; border-color: var(--ink); }

.product-info { position: sticky; top: 118px; align-self: start; }
.product-info .kicker { margin-bottom: 12px; }
.product-info h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.05;
}
.product-price {
  margin-top: 14px;
  font-size: 17px;
  letter-spacing: .02em;
}
.product-price s { color: var(--muted); font-size: 14px; margin-left: 8px; }
.product-blurb {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 460px;
}

.option-group { margin-top: 30px; }
.option-label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.option-label strong { font-weight: 500; color: var(--ink); margin-left: 6px; }
.color-options { display: flex; gap: 12px; }
.color-option {
  width: 32px; height: 32px;
  border-radius: 50%;
  padding: 3px;
  border: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.color-option span {
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(25, 22, 20, .18);
}
.color-option:hover { border-color: var(--line); }
.color-option.is-active { border-color: var(--ink); }

.purchase-row { display: flex; gap: 12px; margin-top: 30px; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.qty button {
  width: 42px; height: 48px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--ink-soft);
  transition: background .2s;
}
.qty button:hover { background: var(--sand); }
.qty output { min-width: 26px; text-align: center; font-size: 13px; }
.qty-sm { border: 0; }
.qty-sm button { width: 24px; height: 24px; font-size: 13px; }
.qty-sm output { min-width: 18px; font-size: 12px; }

.purchase-row .btn { flex: 1; }
.add-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.add-note svg { width: 14px; height: 14px; color: var(--gold); }

.accordions { margin-top: 36px; border-top: 1px solid var(--line); }
.accordion { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-size: 15px;
  color: var(--muted);
  transition: transform .3s var(--ease);
}
.accordion[open] summary::after { transform: rotate(45deg); }
.accordion-body {
  padding-bottom: 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.accordion-body li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}
.accordion-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* =========================================================
   Cart drawer
   ========================================================= */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(20, 17, 15, .44);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
body.cart-open .overlay { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 60;
  width: min(440px, 100%);
  height: 100dvh;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform .55s var(--ease);
  box-shadow: -20px 0 60px rgba(25, 22, 20, .14);
}
body.cart-open .cart-drawer { transform: none; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .02em;
}
.cart-head h2 span { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; color: var(--muted); margin-left: 8px; }
.cart-close { width: 34px; height: 34px; display: grid; place-items: center; }
.cart-close svg { width: 16px; height: 16px; }

.cart-ship { padding: 18px 24px 20px; border-bottom: 1px solid var(--line); }
.cart-ship p { font-size: 11.5px; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 10px; }
.cart-ship-track { height: 3px; background: var(--sand-deep); }
.cart-ship-fill { height: 100%; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.cart-ship.is-done p { color: var(--gold); }

.cart-items { flex: 1; overflow-y: auto; padding: 4px 24px; }
.cart-line {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-thumb { width: 78px; aspect-ratio: 3 / 4; flex: none; background: var(--sand); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cart-line-top { display: flex; justify-content: space-between; gap: 10px; }
.cart-line-top h3 { font-family: var(--serif); font-size: 16px; font-weight: 500; line-height: 1.3; }
.cart-remove { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: underline; height: fit-content; }
.cart-remove:hover { color: var(--ink); }
.cart-line-meta { font-size: 10.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.cart-line-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.cart-line-price { font-size: 13px; }

.cart-empty { text-align: center; padding: 68px 12px; }
.cart-empty p { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.cart-empty span { font-size: 13px; color: var(--muted); }
.cart-empty .btn { margin-top: 24px; }

.cart-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; background: var(--paper); }
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.cart-subtotal span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.cart-subtotal strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.cart-foot small { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 16px; }
.cart-continue {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px;
}
.cart-continue:hover { color: var(--ink); }

/* =========================================================
   Toast
   ========================================================= */
.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 80;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 11px 24px;
  font-size: 11.5px;
  letter-spacing: .06em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.toast.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Reveal motion
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .story-media { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; justify-self: start; }
  .header-inner { grid-template-columns: 1fr auto 1fr; min-height: 68px; }
  .brand { font-size: 21px; }
  .brand span { font-size: 7px; margin-top: 5px; }
  .shop-toolbar { top: 68px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-info { position: static; }
  .values { grid-template-columns: 1fr; gap: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-content { padding-block: 64px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-title-row h3 { font-size: 16px; }
  .price { font-size: 12px; }
  .quick-add { position: static; width: 100%; margin-top: 10px; transform: none; opacity: 1; }
  .product-card .quick-add { position: absolute; left: 8px; right: 8px; bottom: 8px; width: auto; margin: 0; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .category-tile-label { left: 12px; right: 12px; bottom: 12px; }
  .category-tile-label h3 { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .toolbar-inner { justify-content: flex-start; }
  .cart-drawer { width: 100%; }
  .purchase-row { flex-direction: column; }
  .purchase-row .qty { align-self: flex-start; }
  .hero { min-height: 86vh; }
  .toast { font-size: 10.5px; padding: 10px 18px; }
}

/* =========================================================
   Content pages (about / faq / contact)
   ========================================================= */
.page-hero {
  padding: clamp(56px, 9vw, 96px) 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumb {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.page-hero .breadcrumb a:hover { color: var(--ink); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
}
.page-hero p {
  margin-top: 16px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.prose { color: var(--ink-soft); }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.15;
}
.prose h3 {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.prose p { margin-bottom: 18px; }
.prose ul { margin-bottom: 18px; }
.prose ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 1px;
  background: var(--gold);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.two-col--reverse { grid-template-columns: 1fr 1.1fr; }
.two-col--reverse .col-media { order: 2; }

.col-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--sand);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.info-card {
  padding: 28px 24px;
  background: var(--sand);
  text-align: center;
}
.info-card .icon {
  width: 32px; height: 32px;
  margin: 0 auto 14px;
  color: var(--gold);
}
.info-card h4 {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.info-card p { font-size: 13.5px; color: var(--ink-soft); }

.contact-form { max-width: 560px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-meta {
  display: grid;
  gap: 24px;
}
.contact-meta .meta-item h4 {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-meta .meta-item p { color: var(--ink-soft); font-size: 14.5px; }

@media (max-width: 760px) {
  .two-col, .two-col--reverse { grid-template-columns: 1fr; }
  .two-col--reverse .col-media { order: 0; }
  .info-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
