@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-variable.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --ink: #1b2a31;
  --muted: #56615f;
  --accent: #943a2a;
  --accent-ink: #fffaf2;
  --panel: #fffef9;
  --border: #c9cbc2;
  --strong: #182b32;
  --inverse: #fffaf0;
  --gold: #e5b86d;
  --tint: #eae9de;
  --display: "Barlow Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 4px;
  --chat-bar: #17353b;
  --chat-bar-text: #fff9ec;
  --chat-highlight: #efbf76;
  --chat-canvas: #f2f0e8;
  --chat-surface: #fffdf8;
  --chat-line: #d1d5c9;
  --chat-sent: #224b50;
  --chat-sent-text: #fffbf0;
  --chat-avatar: #e8dbc2;
  --chat-radius: 16px;
  --chat-shadow: 0 12px 32px -22px rgb(21 48 48 / 34%);
}
:root[data-theme="night"] {
  color-scheme: dark;
  --paper: #121e24;
  --ink: #f5f1e6;
  --muted: #b6c1bf;
  --accent: #efb676;
  --accent-ink: #182329;
  --panel: #1d2b32;
  --border: #42535a;
  --strong: #0d191f;
  --inverse: #fffaf0;
  --gold: #f0c387;
  --tint: #293a40;
  --display: "Iowan Old Style", Georgia, serif;
  --chat-bar: #102b31;
  --chat-bar-text: #fbf6eb;
  --chat-highlight: #f0bf78;
  --chat-canvas: #16272d;
  --chat-surface: #21343a;
  --chat-line: #45595b;
  --chat-sent: #315957;
  --chat-sent-text: #fffbef;
  --chat-avatar: #3e5554;
  --chat-shadow: 0 12px 32px -20px rgb(0 0 0 / 65%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.021em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 6.2vw, 6.25rem); }
h2 { font-size: clamp(2.15rem, 4.3vw, 4rem); }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--strong); }
main { flex: 1; min-width: 0; }
.page-width { width: min(1440px, calc(100% - clamp(36px, 7.5vw, 120px))); margin-inline: auto; }
.skip-link {
  position: fixed; inset: -6rem auto auto .5rem;
  z-index: 20; background: var(--panel); padding: .75rem;
}
.skip-link:focus { top: .5rem; }
.preview-strip {
  color: #fffbee;
  background: #1b3036;
  font-size: .77rem;
  letter-spacing: .018em;
}
.strip-inner, .mast-inner, .footer-legal, .review-tools, .review-controls {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.strip-inner { min-height: 29px; }
.shopper-links { display: flex; align-items: center; gap: clamp(.65rem, 2vw, 1.4rem); }
.shopper-links a { display: inline-flex; align-items: center; min-height: 32px; white-space: nowrap; }
.strip-inner > span { display: inline-flex; align-items: center; gap: .62rem; }
.strip-inner i { width: 3px; height: 3px; border-radius: 50%; background: #dfb36c; }
.strip-inner a { color: #f7e0b9; text-decoration-color: #948b72; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--border); }
.mast-inner { min-height: clamp(70px, 6.2vw, 91px); }
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; flex-shrink: 0;
}
.brand img { width: 50px; height: 50px; object-fit: contain; }
:root[data-theme="night"] .brand img { background: #f8f6ef; border-radius: 4px; padding: 3px; }
.brand-type {
  font: 700 clamp(1.45rem, 2.1vw, 2.05rem)/.97 "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: .01em; text-transform: uppercase;
}
.brand small {
  margin-top: .3rem; display: block;
  font: 500 .64rem/1.2 var(--mono); letter-spacing: .14em;
}
.masthead nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.7vw, 3rem); }
.masthead nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: .98rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
}
.masthead nav a:not(.cart-link)::after {
  content: ""; position: absolute; left: 0; bottom: 4px;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .16s ease;
}
.masthead nav a:not(.cart-link):is(:hover, [aria-current])::after { transform: scaleX(1); }
.cart-link {
  gap: .5rem; padding-inline: .95rem; background: var(--ink);
  color: var(--paper); border-radius: var(--radius);
}
.cart-link:hover, .cart-link[aria-current] { background: var(--accent); color: var(--accent-ink); }
.bag-icon {
  position: relative; display: inline-block; width: 13px; height: 13px; margin-top: 3px;
  border: 1.4px solid currentColor; border-radius: 1px 1px 3px 3px;
}
.bag-icon::before {
  content: ""; position: absolute; left: 2.3px; top: -5.5px; width: 6px; height: 7px;
  border: 1.4px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0;
}
#cart-count {
  min-width: 1.45rem; padding: .15rem .35rem; text-align: center;
  font: 600 .79rem/1.12 var(--body); font-variant-numeric: tabular-nums;
  border: 1px solid currentColor; border-radius: 2px;
}
.loading, .load-error { margin: 5rem auto; width: 90%; text-align: center; }
.site-footer {
  margin-top: clamp(3.5rem, 7vw, 7rem);
  background: var(--strong); color: var(--inverse);
  border-top: 3px solid var(--gold);
}
.footer-main {
  display: grid; grid-template-columns: minmax(0,1.55fr) minmax(8rem,.5fr) minmax(10rem,.65fr);
  gap: clamp(1.5rem, 6vw, 6rem); padding-block: clamp(2.6rem, 5.5vw, 5.8rem);
}
.footer-signature a {
  font: 700 clamp(2.6rem, 5.4vw, 5.4rem)/.98 "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: -.025em; text-transform: uppercase; text-decoration: none;
}
.footer-signature p { max-width: 39ch; margin: .9rem 0 0; color: #d1d9d6; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .56rem; }
.footer-links b {
  font: 600 .82rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold); margin-bottom: .35rem;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal {
  border-top: 1px solid #506166; min-height: 55px; padding-block: .8rem;
  color: #c8d1cf; font-size: .8rem;
}
.site-footer :focus-visible, .preview-strip :focus-visible { outline-color: var(--gold); }
@media (max-width: 680px) {
  .mast-inner { min-height: 0; padding-top: .65rem; display: grid; grid-template-columns: minmax(0,1fr); justify-content: stretch; gap: .2rem; }
  .masthead nav { gap: clamp(.7rem, 4.4vw, 1.4rem); flex-wrap: nowrap; }
  .brand img { width: 35px; height: 35px; }
  .brand { gap: .55rem; }
  .brand-type { font-size: 1.38rem; }
  .brand small { margin-top: .12rem; font-size: .59rem; }
  .masthead nav a { font-size: .85rem; min-height: 43px; }
  .cart-link { margin-left: auto; background: transparent; color: var(--ink); padding: 0 .1rem; }
  .cart-link:hover, .cart-link[aria-current] { background: transparent; color: var(--accent); }
  #cart-count { min-width: 1.1rem; padding: .08rem .18rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .footer-signature { grid-column: 1 / -1; }
  .strip-inner { min-height: 26px; }
  .preview-strip { font-size: .71rem; }
}
@media (max-width: 370px) {
  .strip-inner { gap: .4rem; }
  .strip-inner > span { gap: .25rem; }
  .shopper-links { gap: .5rem; }
  .bag-icon { display: none; }
  .masthead nav { gap: .72rem; }
  .masthead nav a { font-size: .81rem; }
}
.review-page { height: 100dvh; min-height: 0; }
.review-tools {
  flex-wrap: wrap; padding: .65rem max(1rem,3vw); background: var(--panel);
  border-bottom: 1px solid var(--border);
}
.review-back { font-weight: 650; }
.review-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; font-size: .9rem; }
.review-controls { flex-wrap: wrap; gap: .85rem; }
.review-controls label { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .9rem; }
.review-controls select {
  padding: .4rem; max-width: 100%; color: var(--ink);
  border: 1px solid var(--border); background: var(--paper); border-radius: var(--radius);
}
.review-stage {
  display: flex; align-items: stretch; justify-content: center; min-height: 0; background: var(--tint);
}
.review-stage iframe { display: block; width: 100%; border: 0; background: var(--paper); }
.review-stage .phone-frame { width: min(390px,100%); box-shadow: 0 0 0 1px var(--border); }
@media (max-width: 720px) {
  .review-tools { align-items: flex-start; flex-direction: column; gap: .4rem; }
  .review-controls { gap: .5rem; }
  .review-controls label { font-size: .8rem; flex-direction: column; align-items: flex-start; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
.shop-help { max-width: 52rem; padding-block: clamp(2rem, 6vw, 5rem); }
.shop-help h1 { margin: 1.5rem 0 2rem; }
.shop-help section { padding-block: 1.5rem; border-top: 1px solid var(--border); }
.shop-help h2 { margin-bottom: .6rem; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.shop-help p { max-width: 62ch; margin-bottom: .6rem; }
.shop-help a { font-weight: 600; }
.help-contact { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; }
@media (max-width: 720px) {
  .review-tools { display: grid; grid-template-columns: minmax(0, 1fr); padding: .35rem .7rem .55rem; gap: .2rem; }
  .review-back { justify-self: start; font-size: .85rem; }
  .review-controls { display: grid; grid-template-columns: 1fr 1.25fr 1.2fr; gap: .4rem; }
  .review-controls label { min-width: 0; }
  .review-controls select { width: 100%; min-height: 40px; padding: .2rem; border-color: var(--muted); font-size: max(16px, 1rem); }
}
