:root {
  --cherry: #8f1537;
  --cherry-dark: #5d1028;
  --cherry-hover: #a61b46;
  --cream: #f7f0e7;
  --ivory: #fbf7f1;
  --white: #fffdfc;
  --blush: #e8c9c7;
  --blush-deep: #d9b6b1;
  --ink: #211c19;
  --muted: #6d625d;
  --line: rgba(33, 28, 25, 0.14);
  --line-light: rgba(247, 240, 231, 0.22);
  --shadow: 0 22px 60px rgba(33, 28, 25, 0.14);
  --shell: 1240px;
  --nav-height: 74px;
  --section-space: clamp(4rem, 6.25vw, 5.5rem);
  --section-space-tight: clamp(2.75rem, 4.25vw, 4rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --utility-font: "Jost", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--cherry);
  outline-offset: 3px;
}

.skip-link {
  background: var(--ink);
  color: var(--white);
  left: 1rem;
  padding: .75rem 1rem;
  position: fixed;
  top: -100px;
  z-index: 3000;
}
.skip-link:focus { top: 1rem; }

.announcement {
  align-items: center;
  background: var(--cherry);
  color: var(--cream);
  display: flex;
  font-family: var(--utility-font);
  font-size: .69rem;
  justify-content: center;
  letter-spacing: .12em;
  min-height: 32px;
  padding: .45rem 1rem;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  background: rgba(251, 247, 241, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(16px);
}
.nav-inner {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin: auto;
  min-height: var(--nav-height);
  padding: 0 2rem;
  width: min(100%, 1440px);
}
.nav-links, .nav-tools { align-items: center; display: flex; }
.nav-links { gap: clamp(.8rem, 1.6vw, 1.55rem); }
.nav-links a, .nav-tool, .menu-trigger {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--utility-font);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .08em;
  padding: .6rem 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links a { position: relative; }
.nav-links a::after {
  background: var(--cherry);
  bottom: .25rem;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s var(--ease);
  width: 100%;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after, .nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-links a:hover, .nav-links a[aria-current="page"], .nav-tool:hover { color: var(--cherry); }
.site-brand {
  font-family: Barlow, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-tools { gap: 1.15rem; justify-content: flex-end; }
.nav-tool { align-items: center; display: inline-flex; gap: .35rem; }
.bag-badge {
  align-items: center;
  background: var(--cherry);
  border-radius: 99px;
  color: white;
  display: inline-flex;
  font-family: Inter, sans-serif;
  font-size: .65rem;
  font-weight: 700;
  height: 1.25rem;
  justify-content: center;
  min-width: 1.25rem;
  padding: 0 .3rem;
  transition: background .2s, transform .25s var(--ease);
}
.menu-trigger { display: none; }

.shell { margin: 0 auto; padding-inline: 2rem; width: min(100%, calc(var(--shell) + 4rem)); }
.section { padding: var(--section-space) 0; }
.section-tight { padding: var(--section-space-tight) 0; }
.section-head {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
}
.section-head > div { max-width: 720px; }
.section-head > p { color: var(--muted); line-height: 1.65; margin: 0; max-width: 430px; }
.eyebrow, .section-kicker {
  color: var(--cherry);
  font-family: var(--utility-font);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { font-family: Barlow, sans-serif; }
h1 { font-size: clamp(3rem, 7vw, 6.7rem); letter-spacing: -.045em; line-height: .92; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.7rem); letter-spacing: -.035em; line-height: 1; margin: 0; }
h3 { letter-spacing: -.02em; }

.btn {
  align-items: center;
  background: var(--cherry);
  border: 1px solid var(--cherry);
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--utility-font);
  font-size: .78rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: .06em;
  min-height: 50px;
  padding: .85rem 1.4rem;
  text-transform: uppercase;
  transition: background .2s var(--ease), border .2s var(--ease), box-shadow .25s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--cherry-hover); border-color: var(--cherry-hover); box-shadow: 0 10px 24px rgba(143,21,55,.18); transform: translateY(-2px); }
.btn:active { box-shadow: none; transform: translateY(0) scale(.975); transition-duration: .08s; }
.btn[disabled] { background: #a79f99; border-color: #a79f99; cursor: not-allowed; opacity: .72; transform: none; }
.btn.secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: var(--cream); }
.btn.blush { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.btn.blush:hover { background: var(--blush-deep); border-color: var(--blush-deep); }
.btn:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.text-link {
  border-bottom: 1px solid currentColor;
  color: var(--cherry);
  font-size: .82rem;
  font-weight: 700;
  padding-bottom: .15rem;
  transition: color .2s, padding .2s var(--ease);
}
.text-link:hover { color: var(--cherry-hover); padding-inline: .15rem; }

.hero { background: linear-gradient(130deg, var(--cherry) 0%, var(--cherry-dark) 57%, var(--ink) 100%); color: var(--cream); }
.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: .9fr 1.1fr;
  min-height: min(760px, calc(100vh - 106px));
  padding-block: clamp(3.2rem, 7vw, 6.8rem);
}
.hero-copy { max-width: 620px; }
.hero-copy .eyebrow { color: var(--blush); }
.hero-copy > p:not(.eyebrow) { color: rgba(247, 240, 231, .78); font-size: 1.06rem; line-height: 1.65; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.hero .btn { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.hero .btn.secondary { background: transparent; border-color: rgba(247,240,231,.56); color: var(--cream); }
.hero-media { align-items: end; display: grid; gap: 1rem; grid-template-columns: 1.3fr .9fr; }
.hero-shot { background: var(--cream); overflow: hidden; position: relative; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.hero-shot img { aspect-ratio: 4 / 5; height: 100%; object-fit: cover; transition: transform .55s var(--ease); width: 100%; }
.hero-shot.small { margin-bottom: 8%; }
.hero-label {
  background: rgba(33, 28, 25, .88);
  bottom: 1rem;
  color: white;
  font-family: var(--utility-font);
  font-size: .72rem;
  left: 1rem;
  letter-spacing: .08em;
  padding: .65rem .8rem;
  position: absolute;
  text-transform: uppercase;
}

.category-section { background: var(--cream); }
.category-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.category-card { background: var(--ink); color: white; overflow: hidden; position: relative; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.category-card img { aspect-ratio: 4 / 5; height: 100%; object-fit: cover; opacity: .82; transition: transform .5s var(--ease), opacity .3s; width: 100%; }
.category-card:hover img { opacity: .95; transform: scale(1.025); }
.category-card span {
  bottom: 1.25rem;
  font-family: Barlow, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 600;
  left: 1.25rem;
  position: absolute;
  transition: transform .35s var(--ease);
}

.product-grid { display: grid; gap: 2rem 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; min-width: 0; transition: transform .35s var(--ease); }
.product-media { background: var(--cream); overflow: hidden; position: relative; transition: box-shadow .35s var(--ease); }
.product-media img { aspect-ratio: 4 / 5; object-fit: cover; transition: transform .45s var(--ease); width: 100%; }
.product-card:hover .product-media img { transform: scale(1.02); }
.product-badge {
  background: var(--blush);
  color: var(--ink);
  font-family: var(--utility-font);
  font-size: .65rem;
  left: .7rem;
  letter-spacing: .05em;
  padding: .45rem .55rem;
  position: absolute;
  text-transform: uppercase;
  top: .7rem;
  transition: background .25s, transform .35s var(--ease);
}
.product-body { display: flex; flex: 1; flex-direction: column; padding-top: 1rem; }
.product-brand { color: var(--cherry); font-family: var(--utility-font); font-size: .7rem; font-weight: 500; letter-spacing: .1em; margin-bottom: .45rem; text-transform: uppercase; }
.product-card h3 { font-size: 1rem; line-height: 1.35; margin: 0; }
.product-meta { align-items: center; color: var(--muted); display: flex; font-size: .8rem; justify-content: space-between; margin: .8rem 0 1rem; }
.product-price { color: var(--ink); font-weight: 700; }
.product-card .btn { margin-top: auto; min-height: 44px; width: 100%; }

.proof { background: var(--cream); }
.brand-rail {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  justify-content: center;
}
.brand-rail a {
  align-items: center;
  border-right: 1px solid var(--line);
  display: flex;
  font-family: Barlow, sans-serif;
  font-size: .92rem;
  font-weight: 600;
  justify-content: center;
  min-height: 84px;
  padding: 1rem;
  text-align: center;
  transition: background .2s, color .2s, transform .25s var(--ease);
}
.brand-rail a:last-child { border-right: 0; }
.brand-rail a:hover { background: var(--cherry); color: white; }

.confidence-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); background: var(--line); border: 1px solid var(--line); }
.confidence-card { background: var(--white); padding: 2rem; }
.confidence-card h3 { font-size: 1.35rem; margin: 0 0 .8rem; }
.confidence-card p { color: var(--muted); line-height: 1.65; margin: 0; }

.conveyor { background: var(--ink); color: var(--cream); overflow: hidden; padding: 3.5rem 0; }
.conveyor-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 1.5rem; }
.conveyor-head .eyebrow { color: var(--blush); margin: 0; }
.conveyor-window { cursor: grab; overflow: hidden; padding-block: .8rem; touch-action: pan-y; user-select: none; }
.conveyor-window.is-dragging { cursor: grabbing; }
.conveyor-track { display: flex; gap: 1rem; transform: translate3d(0, 0, 0); width: max-content; will-change: transform; }
.conveyor-card { background: var(--cream); color: var(--ink); display: grid; flex: 0 0 auto; grid-template-columns: 112px 190px; min-height: 140px; transform: scale(1); transform-origin: center; transition: box-shadow .45s var(--ease), transform .45s var(--ease); width: 318px; }
.conveyor-card:hover, .conveyor-card:focus-visible { box-shadow: 0 18px 42px rgba(0,0,0,.28); transform: scale(1.035); z-index: 2; }
.conveyor-card img { height: 140px; object-fit: cover; width: 112px; }
.conveyor-card div { align-self: center; padding: 1rem; }
.conveyor-card small { color: var(--cherry); display: block; font-family: var(--utility-font); font-weight: 500; letter-spacing: .06em; margin-bottom: .45rem; text-transform: uppercase; }
.conveyor-card strong { display: -webkit-box; font-size: .88rem; line-height: 1.3; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.breadcrumbs { color: var(--muted); display: flex; flex-wrap: wrap; font-family: var(--utility-font); font-size: .76rem; font-weight: 500; gap: .55rem; letter-spacing: .08em; margin-bottom: 2rem; text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--cherry); }

.catalog-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: clamp(3rem, 5.5vw, 5rem) 0; }
.catalog-hero h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); max-width: 940px; }
.catalog-hero p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 720px; }
.catalog-controls { background: var(--white); border: 1px solid var(--line); margin-bottom: 2rem; padding: 1rem; }
.catalog-search { display: grid; gap: .75rem; grid-template-columns: 1fr auto; margin-bottom: 1rem; }
.field, .select {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  min-height: 48px;
  padding: .75rem .9rem;
  width: 100%;
}
.field:focus, .select:focus { border-color: var(--cherry); box-shadow: 0 0 0 2px rgba(143,21,55,.12); outline: 0; }
.filter-row { align-items: center; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-chip {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--utility-font);
  font-size: .72rem;
  min-height: 40px;
  padding: .6rem .8rem;
  text-transform: uppercase;
  transition: background .2s, border-color .2s, box-shadow .2s, color .2s, transform .15s var(--ease);
}
.filter-chip.active, .filter-chip:hover { background: var(--cherry); border-color: var(--cherry); color: white; }
.filter-chip.active { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.filter-chip:active { transform: scale(.96); }
.catalog-actions { align-items: center; display: flex; gap: .75rem; }
.result-count { color: var(--muted); font-family: var(--utility-font); font-size: .76rem; white-space: nowrap; }
.empty-state { background: var(--cream); border: 1px solid var(--line); padding: 4rem 2rem; text-align: center; }
.empty-state h2 { font-size: 2rem; }
.empty-state p { color: var(--muted); }

.product-page { padding: clamp(2.5rem, 4.5vw, 4.5rem) 0; }
.product-detail { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: 1.1fr .9fr; }
.product-gallery { display: grid; gap: .8rem; grid-template-columns: 82px 1fr; min-width: 0; }
.thumb-list { display: flex; flex-direction: column; gap: .55rem; max-height: 700px; overflow-y: auto; }
.thumb { background: var(--cream); border: 1px solid transparent; cursor: pointer; padding: 0; transition: border-color .2s, opacity .2s, transform .25s var(--ease); }
.thumb.active { border-color: var(--cherry); transform: scale(.96); }
.thumb img { aspect-ratio: 1; object-fit: cover; transition: opacity .2s; width: 100%; }
.thumb:not(.active) img { opacity: .72; }
.thumb:hover img { opacity: 1; }
.main-image { background: var(--cream); min-width: 0; }
.main-image img { aspect-ratio: 4 / 5; height: 100%; object-fit: contain; width: 100%; }
.product-summary { background: var(--cream); border: 1px solid var(--line); align-self: start; padding: clamp(1.5rem, 4vw, 3rem); position: sticky; top: 112px; }
.product-summary h1 { font-size: clamp(2.3rem, 4vw, 4rem); line-height: .98; }
.detail-price { color: var(--cherry); font-family: Barlow, sans-serif; font-size: 1.8rem; font-weight: 700; margin: 1rem 0 1.6rem; }
.detail-copy { color: var(--muted); line-height: 1.7; }
.detail-facts { border-block: 1px solid var(--line); margin: 1.5rem 0; }
.detail-fact { align-items: baseline; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; justify-content: space-between; padding: .9rem 0; }
.detail-fact:last-child { border: 0; }
.detail-fact span { color: var(--muted); font-family: var(--utility-font); font-size: .74rem; text-transform: uppercase; }
.product-actions { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; }
.product-notes { display: grid; gap: .8rem; margin-top: 1.5rem; }
.product-note { background: var(--white); border: 1px solid var(--line); padding: 1rem; }
.product-note strong { display: block; font-size: .8rem; margin-bottom: .35rem; text-transform: uppercase; }
.product-note span { color: var(--muted); font-size: .85rem; line-height: 1.5; }

.checkout-page { padding: clamp(2.5rem, 4.5vw, 4.5rem) 0; }
.checkout-notice { background: var(--cream); border: 1px solid var(--line); color: var(--cherry); font-size: .82rem; margin-bottom: 2rem; padding: 1rem; }
.checkout-status { border: 1px solid var(--line); margin: 0 0 2rem; padding: 1rem; }
.checkout-status[data-kind="success"] { background: #edf7ef; border-color: #9bc4a4; color: #20572c; }
.checkout-status[data-kind="notice"] { background: var(--cream); color: var(--ink); }
.checkout-status[data-kind="error"] { background: #fff0f0; border-color: #d79b9b; color: #7f1d1d; }
.checkout-grid { display: grid; gap: 3rem; grid-template-columns: 1.15fr .85fr; }
.checkout-main h1 { font-size: clamp(2.7rem, 5vw, 5.1rem); margin-bottom: 1rem; }
.checkout-intro { color: var(--muted); line-height: 1.7; margin-bottom: 2rem; max-width: 680px; }
.checkout-card { background: var(--white); border: 1px solid var(--line); margin-bottom: 1rem; padding: clamp(1.25rem, 3vw, 2rem); }
.checkout-card h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.checkout-card > p { color: var(--muted); margin-top: 0; }
.express-grid { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; }
.apple-pay { background: #050505; border-color: #050505; color: white; font-family: Inter, sans-serif; font-size: 1rem; text-transform: none; }
.form-grid { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
.form-label { display: grid; gap: .4rem; }
.form-label span { color: var(--muted); font-size: .74rem; font-weight: 600; text-transform: uppercase; }
.order-summary { align-self: start; background: var(--ink); color: white; padding: clamp(1.25rem, 3vw, 2rem); position: sticky; top: 112px; }
.summary-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 1rem; }
.summary-head h2 { font-size: 1.7rem; }
.summary-head button { background: transparent; border: 0; color: var(--blush); cursor: pointer; font-weight: 700; }
.summary-item { align-items: center; border-top: 1px solid var(--line-light); display: grid; gap: .8rem; grid-template-columns: 72px 1fr auto; padding: 1rem 0; }
.summary-item img { height: 86px; object-fit: cover; width: 72px; }
.summary-item h3 { font-size: .85rem; line-height: 1.3; margin: 0 0 .3rem; }
.summary-item small { color: rgba(255,255,255,.62); }
.summary-price { font-size: .82rem; font-weight: 700; }
.summary-remove { background: transparent; border: 0; color: var(--blush); cursor: pointer; display: block; font-size: .72rem; margin-top: .45rem; padding: 0; text-decoration: underline; }
.summary-totals { border-top: 1px solid var(--line-light); margin-top: .3rem; padding-top: 1rem; }
.summary-row { color: rgba(255,255,255,.7); display: flex; justify-content: space-between; padding: .45rem 0; }
.summary-row strong { color: white; }
.summary-row.total { border-top: 1px solid var(--line-light); color: white; font-size: 1.1rem; margin-top: .7rem; padding-top: 1rem; }
.checkout-empty { padding: 3rem 1rem; text-align: center; }
.checkout-empty p { color: rgba(255,255,255,.65); }
.confirmation { background: var(--cream); border: 1px solid var(--line); padding: 3rem; text-align: center; }
.confirmation h2 { margin-bottom: 1rem; }

.circle-section { background: var(--cream); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); padding: var(--section-space) 0; }
.circle-grid { align-items: center; display: grid; gap: clamp(2rem, 7vw, 6rem); grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); }
.circle-grid h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .98; max-width: 720px; }
.circle-grid > div > p:last-child { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 620px; }
.circle-form { background: var(--white); border: 1px solid var(--line); padding: clamp(1.3rem, 3vw, 2rem); }
.circle-form > .form-label { margin-bottom: .45rem; }
.circle-fields { display: grid; gap: .7rem; grid-template-columns: minmax(0, 1fr) auto; }
.circle-consent { color: var(--muted); font-size: .72rem; line-height: 1.55; margin: .8rem 0 0; }
.circle-honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; width: 1px; }
.circle-form .status-message { margin-top: .8rem; min-height: 1.25rem; }
.circle-popup { background: var(--cream); border: 1px solid var(--line); bottom: 1.25rem; box-shadow: var(--shadow); max-width: 450px; padding: 1.8rem; position: fixed; right: 1.25rem; transform: translateY(calc(100% + 3rem)); transition: transform .35s var(--ease); width: calc(100% - 2.5rem); z-index: 1300; }
.circle-popup.open { transform: translateY(0); }
.circle-popup .eyebrow { margin-bottom: .7rem; }
.circle-popup h2 { font-size: clamp(2rem, 4vw, 2.65rem); line-height: 1.02; padding-right: 2rem; }
.circle-popup > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.circle-popup-form { display: grid; gap: .7rem; margin-top: 1.15rem; }
.circle-popup-form .btn { width: 100%; }
.circle-popup-form .status-message { min-height: 1.2rem; }
.circle-popup-close { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: .7rem; letter-spacing: .1em; position: absolute; right: 1rem; text-transform: uppercase; top: 1rem; }
.circle-popup-later { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: .72rem; letter-spacing: .08em; padding: .25rem; text-decoration: underline; text-transform: uppercase; }

.site-footer { background: var(--ink); color: var(--cream); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr repeat(3, 1fr); }
.footer-brand { font-family: Barlow, sans-serif; font-size: 1.25rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p { color: rgba(247,240,231,.62); line-height: 1.6; max-width: 360px; }
.footer-title { color: white !important; font-family: var(--utility-font); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a { color: rgba(247,240,231,.72); display: block; font-size: .84rem; margin: .65rem 0; }
.site-footer a:hover { color: var(--blush); }
.footer-legal { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.footer-legal a { margin: 0; }
.footer-legal button,
.checkout-footer button {
  background: transparent;
  border: 0;
  color: rgba(247,240,231,.72);
  cursor: pointer;
  font-size: .84rem;
  padding: 0;
  text-decoration: underline;
}
.footer-legal button:hover, .checkout-footer button:hover { color: var(--blush); }
.footer-bottom { border-top: 1px solid var(--line-light); color: rgba(247,240,231,.5); font-size: .72rem; margin-top: 3rem; padding-top: 1.5rem; }

.checkout-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: .78rem;
  gap: 1rem;
  justify-content: center;
  padding: 1rem 1rem 2rem;
}
.checkout-footer a { text-decoration: underline; }
.checkout-footer button { color: var(--muted); }

.cookie-banner {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  bottom: 1rem;
  box-shadow: 0 18px 55px rgba(33,28,25,.22);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 50%;
  max-width: 940px;
  padding: 1.25rem;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 2500;
}
.cookie-banner h2 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.1; margin-bottom: .45rem; }
.cookie-banner p { color: var(--muted); font-size: .85rem; line-height: 1.55; margin: 0; max-width: 650px; }
.cookie-banner a { color: var(--cherry); display: inline-block; font-size: .78rem; margin-top: .45rem; text-decoration: underline; }
.cookie-actions { display: flex; gap: .6rem; }
.cookie-actions .btn { min-height: 44px; white-space: nowrap; }

.policy-page { padding: var(--section-space) 0; }
.policy-content { max-width: 900px; }
.policy-content > h1 { font-size: clamp(3rem, 8vw, 6rem); }
.policy-updated { color: var(--muted); margin: 1rem 0 3rem; }
.policy-content section { border-top: 1px solid var(--line); padding: 2rem 0; }
.policy-content section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .8rem; }
.policy-content section p { color: var(--muted); line-height: 1.75; margin: 0; }
.policy-content section .btn { margin-top: 1.25rem; }
.catalog-message {
  align-items: center;
  background: rgba(247,240,231,.1);
  border: 1px solid rgba(247,240,231,.2);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  justify-content: center;
  min-height: 360px;
  padding: 2rem;
  text-align: center;
}
.catalog-message strong { font-family: Barlow, sans-serif; font-size: 1.6rem; }
.catalog-message span { color: rgba(247,240,231,.75); line-height: 1.6; }
.catalog-grid-message { grid-column: 1 / -1; }

.site-overlay { background: rgba(33,28,25,.5); inset: 0; opacity: 0; pointer-events: none; position: fixed; transition: opacity .25s; z-index: 900; }
.site-overlay.show { opacity: 1; pointer-events: auto; }
.side-drawer {
  background: var(--ivory);
  bottom: 0;
  box-shadow: var(--shadow);
  max-width: 460px;
  overflow-y: auto;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform .3s var(--ease);
  width: min(92vw, 460px);
  z-index: 1000;
}
.side-drawer.open { transform: translateX(0); }
.side-drawer[data-cart-drawer] {
  bottom: auto;
  left: 50%;
  max-height: min(82vh, 720px);
  opacity: 0;
  pointer-events: none;
  right: auto;
  top: 50%;
  transform: translate(-50%, -46%) scale(.98);
  transition: opacity .2s, transform .25s var(--ease);
  width: min(92vw, 520px);
}
.side-drawer[data-cart-drawer].open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.drawer-head { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; min-height: 74px; padding: 1rem 1.25rem; }
.drawer-head strong { font-family: Barlow, sans-serif; font-size: 1.3rem; }
.drawer-close { background: transparent; border: 0; color: var(--cherry); cursor: pointer; font-family: var(--utility-font); text-transform: uppercase; }
.drawer-body { padding: 1.25rem; }
.cart-line { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: .9rem; grid-template-columns: 80px 1fr; padding: 1rem 0; }
.cart-line img { height: 96px; object-fit: cover; width: 80px; }
.cart-line h3 { font-size: .9rem; line-height: 1.3; margin: 0 0 .4rem; }
.cart-line-meta { align-items: center; display: flex; gap: .6rem; justify-content: space-between; }
.cart-line-meta span { font-size: .8rem; font-weight: 700; }
.cart-remove { background: transparent; border: 0; color: var(--cherry); cursor: pointer; font-size: .72rem; padding: 0; text-decoration: underline; }
.cart-total { align-items: center; display: flex; font-weight: 700; justify-content: space-between; padding: 1.25rem 0; }
.cart-actions, .checkout-actions { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.cart-actions .btn, .checkout-actions .btn { align-items: center; display: flex; justify-content: center; width: 100%; }
.keep-shopping-button { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.keep-shopping-button:hover { background: var(--cream); color: var(--ink); }
.drawer-note { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.mobile-menu-links { display: grid; }
.mobile-menu-links a { border-bottom: 1px solid var(--line); font-family: Barlow, sans-serif; font-size: 1.7rem; font-weight: 600; padding: 1rem 0; }

.search-dialog { background: var(--ivory); box-shadow: var(--shadow); left: 50%; max-height: min(760px, 92vh); max-width: 900px; opacity: 0; overflow-y: auto; padding: clamp(1.25rem, 4vw, 2.5rem); pointer-events: none; position: fixed; top: 5vh; transform: translate(-50%, -10px); transition: opacity .2s, transform .2s; width: min(94vw, 900px); z-index: 1200; }
.search-dialog.open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.search-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 1rem; }
.search-head h2 { font-size: 2rem; }
.search-form { display: grid; gap: .7rem; grid-template-columns: 1fr auto; }
.search-results { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; margin-top: 1.2rem; }
.search-result { align-items: center; background: var(--cream); display: grid; gap: .8rem; grid-template-columns: 74px 1fr; padding: .6rem; }
.search-result img { height: 84px; object-fit: cover; width: 74px; }
.search-result strong { display: block; font-size: .82rem; line-height: 1.3; }
.search-result small { color: var(--cherry); }
.search-hint { color: var(--muted); line-height: 1.6; }

.prompt-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.centered-actions { justify-content: center; }

.toast {
  animation: toast-in .3s var(--ease);
  background: var(--ink);
  bottom: 1rem;
  box-shadow: 0 12px 32px rgba(33,28,25,.25);
  color: white;
  left: 50%;
  max-width: calc(100% - 2rem);
  padding: .85rem 1rem;
  position: fixed;
  transform: translateX(-50%);
  z-index: 2000;
}
.toast[data-kind="success"]::before { color: var(--blush); content: "✓"; font-weight: 800; margin-right: .55rem; }

.skeleton-block,
.product-detail.is-loading .main-image,
.product-detail.is-loading .product-summary {
  animation: skeleton-shift 1.25s ease-in-out infinite;
  background: linear-gradient(100deg, var(--cream) 18%, var(--white) 42%, var(--cream) 66%);
  background-size: 220% 100%;
}
.product-skeleton { pointer-events: none; }
.product-skeleton .skeleton-media { aspect-ratio: 4 / 5; }
.skeleton-line { height: .8rem; margin-bottom: .7rem; width: 100%; }
.skeleton-line.short { height: .65rem; width: 38%; }
.skeleton-line.medium { width: 68%; }
.skeleton-button { height: 44px; margin-top: auto; width: 100%; }
.hero-media.is-loading .hero-shot { aspect-ratio: 4 / 5; }
.product-detail.is-loading .main-image { min-height: 620px; }
.product-detail.is-loading .product-summary { min-height: 620px; overflow: hidden; }
.product-detail.is-loading .product-summary > * { visibility: hidden; }

.reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease) var(--reveal-delay, 0ms), transform .5s var(--ease) var(--reveal-delay, 0ms);
}
.reveal-ready .reveal-item.is-visible { opacity: 1; transform: translateY(0); }

.bag-badge.bump { animation: bag-bump .42s var(--ease); }
.btn.is-loading::after {
  animation: button-spin .7s linear infinite;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  height: .85rem;
  margin-left: .6rem;
  width: .85rem;
}

.mobile-purchase-bar { display: none; }

@keyframes skeleton-shift {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
@keyframes bag-bump {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.25); }
}
@keyframes button-spin { to { transform: rotate(360deg); } }
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 12px) scale(.98); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@media (hover: hover) and (pointer: fine) {
  .hero-shot:hover { box-shadow: 0 20px 44px rgba(0,0,0,.2); transform: translateY(-4px); }
  .hero-shot:hover img { transform: scale(1.025); }
  .category-card:hover { box-shadow: 0 18px 38px rgba(33,28,25,.16); transform: translateY(-5px); }
  .category-card:hover span { transform: translateX(.3rem); }
  .product-card:hover { transform: translateY(-5px); }
  .product-card:hover .product-media { box-shadow: 0 16px 34px rgba(33,28,25,.13); }
  .product-card:hover .product-badge { background: var(--white); transform: translateY(-2px); }
  .brand-rail a:hover { transform: translateY(-2px); }
  .nav-tool:hover .bag-badge { transform: scale(1.1); }
}

@media (hover: none) {
  .category-card:active, .hero-shot:active, .product-media:active { transform: scale(.985); }
  .nav-tool:active, .menu-trigger:active { color: var(--cherry); transform: scale(.96); }
}

@media (min-width: 1200px) {
  .hero-grid {
    gap: clamp(3rem, 4vw, 4rem);
    grid-template-columns: 1.05fr .95fr;
  }
  .hero-copy h1 {
    font-size: clamp(5rem, 5.4vw, 6rem);
    max-width: 680px;
  }
  .hero-media { grid-template-columns: 1.25fr .85fr; }
}

@media (max-width: 1100px) {
  .nav-links { gap: .75rem; }
  .nav-links a { font-size: .67rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-rail { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .brand-rail a:nth-child(4) { border-right: 0; }
  .brand-rail a:nth-child(n+5) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  :root {
    --section-space: 4rem;
    --section-space-tight: 3rem;
  }
  .nav-inner { grid-template-columns: auto 1fr auto; padding-inline: 1rem; }
  .nav-links { display: none; }
  .menu-trigger { display: block; }
  .site-brand { font-size: 1rem; }
  .nav-tools .nav-tool:not([data-open-cart]) { display: none; }
  .hero-grid, .product-detail, .checkout-grid, .circle-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-copy { padding-top: 1rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { align-items: start; flex-direction: column; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-card:last-child { grid-column: 1 / -1; }
  .category-card:last-child img { aspect-ratio: 2 / 1; }
  .confidence-grid { grid-template-columns: 1fr; }
  .product-summary, .order-summary { position: static; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root {
    --nav-height: 68px;
    --section-space: 3rem;
    --section-space-tight: 2.5rem;
  }
  .shell { padding-inline: 1rem; }
  .announcement { font-size: .61rem; line-height: 1.35; min-height: 36px; padding-block: .35rem; }
  .nav-inner { min-height: var(--nav-height); }
  .site-brand { letter-spacing: .06em; }
  .nav-tools { gap: .65rem; }
  h1 { font-size: clamp(2.85rem, 15vw, 4.25rem); }
  .hero-media { grid-template-columns: 1fr; }
  .hero-shot.small { display: none; }
  .hero-shot img { aspect-ratio: 4 / 3; height: auto; object-position: center 32%; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .category-grid { gap: .75rem; }
  .product-grid { gap: 1.75rem .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-body { padding-top: .75rem; }
  .product-card h3 { font-size: .9rem; }
  .product-meta { align-items: start; flex-direction: column; gap: .25rem; margin: .6rem 0 .8rem; }
  .product-card .btn { font-size: .7rem; padding-inline: .5rem; }
  .catalog-hero { padding: 2.75rem 0; }
  .catalog-hero p:not(.eyebrow) { line-height: 1.6; }
  .catalog-controls { margin-bottom: 1.5rem; padding: .85rem; }
  .breadcrumbs { margin-bottom: 1.5rem; }
  .product-detail { gap: 2rem; }
  .product-summary { padding: 1.35rem; }
  .checkout-grid { gap: 2rem; }
  .checkout-main h1 { margin-bottom: .75rem; }
  .checkout-intro { margin-bottom: 1.5rem; }
  .circle-grid { gap: 1.75rem; }
  .conveyor { padding: 2.75rem 0; }
  .site-footer { padding-top: 3rem; }
  .footer-bottom { margin-top: 2rem; }
  .brand-rail { grid-template-columns: repeat(2, 1fr); }
  .brand-rail a, .brand-rail a:nth-child(4) { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .brand-rail a:nth-child(even) { border-right: 0; }
  .catalog-search, .search-form, .express-grid, .form-grid, .product-actions { grid-template-columns: 1fr; }
  .cart-actions, .checkout-actions { grid-template-columns: 1fr; }
  .catalog-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .product-gallery { grid-template-columns: 1fr; }
  .thumb-list { flex-direction: row; max-height: none; overflow-x: auto; order: 2; }
  .thumb { flex: 0 0 72px; }
  .summary-item { grid-template-columns: 64px 1fr; }
  .summary-price { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .search-results { grid-template-columns: 1fr; }
  .circle-fields { grid-template-columns: 1fr; }
  .circle-popup { bottom: .75rem; max-height: calc(100vh - 1.5rem); overflow-y: auto; padding: 1.4rem; right: .75rem; width: calc(100% - 1.5rem); }
  .cookie-banner { align-items: stretch; bottom: .5rem; grid-template-columns: 1fr; padding: 1rem; width: calc(100% - 1rem); }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-actions .btn { width: 100%; }
  body[data-page="checkout"] .nav-inner { grid-template-columns: minmax(0, 1fr) auto; }
  body[data-page="checkout"] .nav-tools { display: none; }
  .breadcrumbs [data-product-crumb], .breadcrumbs .product-crumb-separator { display: none; }
  .product-detail.is-loading .main-image, .product-detail.is-loading .product-summary { min-height: 430px; }
  body[data-page="product"] { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .mobile-purchase-bar {
    align-items: center;
    background: rgba(251, 247, 241, .98);
    border-top: 1px solid var(--line);
    bottom: 0;
    box-shadow: 0 -12px 30px rgba(33, 28, 25, .1);
    display: flex;
    gap: .8rem;
    justify-content: space-between;
    left: 0;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 850;
  }
  .mobile-purchase-copy { min-width: 0; }
  .mobile-purchase-copy small {
    color: var(--muted);
    display: block;
    font-size: .7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-purchase-copy strong { color: var(--cherry); display: block; margin-top: .2rem; }
  .mobile-purchase-bar .btn { flex: 0 0 auto; min-height: 46px; padding: .65rem 1rem; }
}

@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card h3 { font-size: 1rem; }
  .product-meta { align-items: center; flex-direction: row; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0ms !important; }
  .conveyor-track { will-change: auto; }
  .skeleton-block,
  .product-detail.is-loading .main-image,
  .product-detail.is-loading .product-summary,
  .bag-badge.bump,
  .btn.is-loading::after,
  .toast { animation: none !important; }
  .btn:hover,
  .btn:active,
  .hero-shot:hover,
  .category-card:hover,
  .product-card:hover,
  .category-card:active,
  .hero-shot:active,
  .product-media:active,
  .brand-rail a:hover { transform: none !important; }
}
