/* Guild & Gryphon theme styles.
   Tokens and components come from the brand kit (tokens.json, components/bundle.css, 2026-11-11);
   site pieces (gs-*) come from the approved mockups' gg-site.css. Class names match the mockups. */

/* ---------- tokens: light (Daylight) is the default; dark mode is a soft charcoal version of it (2026-11-21) ---------- */
:root {
  --ground: #F8F2E6; --ground-raised: #FFFCF6; --line: #D8C8AC; --ink: #2A1D13; --ink-muted: #544231;
  --brass: #7A5A1E; --on-brass: #FFFCF6; --gilt: #A67C2E;
  --emerald: #2F6B3E; --amber: #8A500E; --garnet: #982E39; --cobalt: #2C4F96;
  --roast: #6B3D1F; --copper: #954A28;
  --paper: #FFFCF6; --paper-ink: #2A1D13;
  --tooltip: #191C27; --tooltip-frame: #8C857A; --tooltip-ink: #EFEAE0; --tooltip-muted: #BDB6AA;
  --tooltip-use: #43D45B; --tooltip-quote: #FFD24D;
  --quality-uncommon: #43D45B; --quality-rare: #4F98F5; --quality-epic: #BE73F5; --quality-legendary: #FF8A1F;
  --label-cream: #F8F2E6; --label-gold: #C9A055; --label-gold-light: #E4C67E;
  --font-display: Cinzel, "Trajan Pro", "Palatino Linotype", Georgia, serif;
  --font-body: Alegreya, Georgia, "Times New Roman", serif;
  --font-label: "Alegreya SC", Alegreya, Georgia, serif;
  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px; --space-5: 40px; --space-6: 64px;
  --radius-sm: 3px; --radius-nail: 50%;
  --notch-sm: 8px; --notch-md: 16px; --notch-lg: 28px;
  --border-frame: 2px; --border-hair: 1px;
  --shadow-hung: 0 1px 0 rgba(60,40,20,0.18), 0 6px 14px rgba(60,40,20,0.14);
  --oak: color-mix(in srgb, #F8F2E6 80%, #C9A055);
  --ledge: color-mix(in srgb, #F8F2E6 45%, #A67C2E);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --ground: #222120; --ground-raised: #2D2B28; --line: #4A4740; --ink: #EDE7DB; --ink-muted: #D2CBBE;
  --brass: #C9A055; --on-brass: #222120; --gilt: #C9A055;
  --emerald: #74B47F; --amber: #E09A3E; --garnet: #E58388; --cobalt: #8AAEEA;
  --roast: #D29A6E; --copper: #E39A74;
  --paper: #EFE3C8; --paper-ink: #2A1D13;
  --shadow-hung: 0 2px 0 rgba(0,0,0,0.45), 0 8px 18px rgba(0,0,0,0.35);
  --oak: #2B2926;
  --ledge: #423F39;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .gs-logo-light { display: none !important; }
  :root:not([data-theme="light"]) .gs-logo-dark { display: block !important; }
  :root:not([data-theme="light"]) .gs-dd { filter: drop-shadow(0 2px 0 rgba(0,0,0,.45)) drop-shadow(0 10px 18px rgba(0,0,0,.4)); }
  :root:not([data-theme="light"]) .gg-planks { --gg-seam: rgba(0,0,0,0.32); }
}
:root[data-theme="dark"] {
  --ground: #222120; --ground-raised: #2D2B28; --line: #4A4740; --ink: #EDE7DB; --ink-muted: #D2CBBE;
  --brass: #C9A055; --on-brass: #222120; --gilt: #C9A055;
  --emerald: #74B47F; --amber: #E09A3E; --garnet: #E58388; --cobalt: #8AAEEA;
  --roast: #D29A6E; --copper: #E39A74;
  --paper: #EFE3C8; --paper-ink: #2A1D13;
  --shadow-hung: 0 2px 0 rgba(0,0,0,0.45), 0 8px 18px rgba(0,0,0,0.35);
  --oak: #2B2926;
  --ledge: #423F39;
  color-scheme: dark;
}
:root[data-theme="dark"] .gs-logo-light { display: none !important; }
:root[data-theme="dark"] .gs-logo-dark { display: block !important; }
:root[data-theme="dark"] .gs-dd { filter: drop-shadow(0 2px 0 rgba(0,0,0,.45)) drop-shadow(0 10px 18px rgba(0,0,0,.4)); }
:root[data-theme="dark"] .gg-planks { --gg-seam: rgba(0,0,0,0.32); }

/* ---------- brand kit components ---------- */
/* Guild & Gryphon components. Values come from tokens.css; nothing here declares a token. */


/* ---- the apothecary notch: corners cut inward as quarter circles ---- */
.gg-notch-sm { --gg-n: var(--notch-sm); }
.gg-notch-md { --gg-n: var(--notch-md); }
.gg-notch-lg { --gg-n: var(--notch-lg); }
.gg-notch-sm, .gg-notch-md, .gg-notch-lg, .gg-btn, .gg-btn--ghost > span {
  -webkit-mask:
    radial-gradient(circle at 0 0, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
  mask:
    radial-gradient(circle at 0 0, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
}

/* ---- wood: plank seams and a faint grain, for page bands and shelves ---- */
.gg-planks { --gg-plank: 132px; --gg-seam: rgba(90,60,25,0.14); background-color: var(--ground);
  background-image:
    repeating-linear-gradient(90deg, #0000 0 calc(var(--gg-plank) - 2px), var(--gg-seam) calc(var(--gg-plank) - 2px) var(--gg-plank)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 2px, #0000 2px 9px, rgba(0,0,0,0.05) 9px 10px, #0000 10px 23px, rgba(0,0,0,0.035) 23px 25px, #0000 25px 41px); }



/* ---- product lines (glass colors): set --gg-line on any container ---- */
.gg-line-emerald { --gg-line: var(--emerald); }
.gg-line-amber { --gg-line: var(--amber); }
.gg-line-garnet { --gg-line: var(--garnet); }
.gg-line-cobalt { --gg-line: var(--cobalt); }

/* ---- Quality: the tier's color. Set it on any container ---- */
.gg-q-uncommon { --gg-q: var(--quality-uncommon); }
.gg-q-rare { --gg-q: var(--quality-rare); }
.gg-q-epic { --gg-q: var(--quality-epic); }
.gg-q-legendary { --gg-q: var(--quality-legendary); }

/* ---- Rarity chip: the quality name on a tooltip-dark chip, readable on any ground ---- */
.gg-rarity { display: inline-flex; align-items: center; gap: var(--space-2); padding: 3px 10px 4px; border-radius: var(--radius-sm);
  background: var(--tooltip); box-shadow: inset 0 0 0 1px var(--tooltip-frame); color: var(--gg-q, var(--tooltip-ink));
  font-family: var(--font-label); font-weight: 700; font-size: 16px; line-height: 19px; letter-spacing: 0.1em; }
.gg-rarity::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; box-shadow: 0 0 6px currentColor; }

/* ---- Wax seal: the line's glass color with the gryphon pressed in ---- */
.gg-wax { position: relative; width: 56px; aspect-ratio: 1; flex: none; background: var(--gg-line, var(--brass));
  clip-path: polygon(100% 50%, 95.3% 60.3%, 95% 71.7%, 88.3% 80.6%, 81.2% 89.1%, 70.2% 91.9%, 61.1% 98.7%, 50% 96.5%, 38.9% 98.7%, 29.8% 91.9%, 19.4% 88.3%, 13.6% 79%, 5% 71.7%, 4.7% 60.3%, 0 50%, 4.7% 39.7%, 5% 28.3%, 11.7% 19.4%, 18.8% 10.9%, 29.8% 8.1%, 38.9% 1.3%, 50% 3.5%, 61.1% 1.3%, 70.2% 8.1%, 80.6% 11.7%, 86.4% 21%, 95% 28.3%, 95.3% 39.7%); }
.gg-wax::after { content: ""; position: absolute; inset: 18%; background: var(--ground);
  -webkit-mask: url("../img/gryphon-gilt.svg") center / contain no-repeat;
  mask: url("../img/gryphon-gilt.svg") center / contain no-repeat; }

/* ---- Item card: the loot tooltip. Dark in both themes; only tooltip-* and quality-* colors on it ---- */
.gg-tip { position: relative; max-width: 404px; padding: 3px; border-radius: 7px; box-shadow: var(--shadow-hung);
  background: linear-gradient(180deg, rgba(255,255,255,0.38), rgba(0,0,0,0.22) 40%, rgba(255,255,255,0.08)), var(--tooltip-frame); }
.gg-tip::before { content: ""; position: absolute; left: 10%; right: 10%; top: 3px; height: 2px; border-radius: 2px;
  background: var(--gg-q); box-shadow: 0 0 10px var(--gg-q); }
.gg-tip__body { border-radius: 5px; padding: 18px 20px 14px; color: var(--tooltip-ink);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.4)), var(--tooltip);
  box-shadow: inset 0 0 0 1px #000, inset 0 0 0 2px rgba(255,255,255,0.06);
  font-family: var(--font-body); font-size: 18px; line-height: 24px; font-variant-numeric: lining-nums; }
.gg-tip p { margin: 0; }
.gg-tip__head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.gg-tip__icon { flex: none; width: 72px; height: 72px; padding: 2px; border-radius: 6px;
  background: linear-gradient(160deg, var(--gg-q), var(--tooltip) 55%, var(--gg-q)); }
.gg-tip__icon > * { display: block; width: 100%; height: 100%; border-radius: 4px; }
.gg-tip__title { min-width: 0; padding-right: var(--space-4); }
.gg-tip__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 30px; letter-spacing: 0.01em;
  color: var(--gg-q); text-shadow: 0 2px 0 #000; }
.gg-tip__quality { margin-top: 4px !important; font-family: var(--font-label); font-weight: 700; font-size: 16px; letter-spacing: 0.12em; color: var(--gg-q); }
.gg-tip__row { display: flex; justify-content: space-between; gap: var(--space-3); }
.gg-tip__dim { color: var(--tooltip-muted); }
.gg-tip__use { margin-top: var(--space-2) !important; color: var(--tooltip-use); }
.gg-tip__quote { margin-top: var(--space-2) !important; color: var(--tooltip-quote); font-style: italic; }
.gg-tip__facts { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: 12px !important; padding-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,0.14); font-size: 16px; line-height: 22px; color: var(--tooltip-muted); }
/* the house seal, exactly as WaxSeal draws it; only its place on the corner is set here */
.gg-tip > .gg-wax { position: absolute; right: -22px; top: -22px; width: 62px; }

/* ---- Buttons ---- */
.gg-btn { --gg-n: var(--notch-sm); display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-4); border: 0; cursor: pointer; background: var(--brass); color: var(--on-brass);
  font-family: var(--font-label); font-weight: 700; font-size: 18px; letter-spacing: 0.08em; }
.gg-btn:hover { filter: brightness(1.08); }
.gg-btn:focus-visible { outline: var(--border-frame) solid var(--brass); outline-offset: 3px; -webkit-mask: none; mask: none; }
.gg-btn--ghost { padding: var(--border-frame); }
.gg-btn--ghost > span { --gg-n: calc(var(--notch-sm) + 1px); display: inline-flex; align-items: center; justify-content: center; flex: 1 1 auto; align-self: stretch; min-height: 40px;
  padding: 0 calc(var(--space-4) - 2px); background: var(--ground); color: var(--brass); }
.gg-btn--ghost:hover > span { background: var(--ground-raised); }
.gg-btn[disabled] { cursor: not-allowed; background: var(--line); color: var(--ink-muted); filter: none; }

/* ---- Notice (pinned to the board) ---- */
.gg-notice { position: relative; max-width: 380px; padding: var(--space-5) var(--space-4) var(--space-4); background: var(--paper);
  color: var(--paper-ink); box-shadow: var(--shadow-hung); transform: rotate(-0.6deg); }
.gg-notice::before { content: ""; position: absolute; top: 12px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: var(--radius-nail); background: var(--brass); box-shadow: inset 0 -2px 0 rgba(0,0,0,0.3); }
.gg-notice__eyebrow { margin: 0 0 var(--space-2); text-align: center; font-family: var(--font-label); font-weight: 700; font-size: 16px;
  letter-spacing: 0.16em; }
.gg-notice__title { margin: 0 0 var(--space-3); text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 30px; }
.gg-notice__body { margin: 0 0 var(--space-3); font-size: 19px; line-height: 28px; }
.gg-notice__terms { margin: 0; padding-top: var(--space-2); border-top: var(--border-frame) solid var(--paper-ink);
  font-size: 17px; line-height: 23px; font-variant-numeric: lining-nums; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---- Front label: the 4 x 6 in bag label (locked 2026-11-11). Fixed print colors (label-* tokens), the same in both themes.
   Every size is in units of the 384px-wide original (--u), so set --gg-fl-w to scale it. Print files come from front_label.py. ---- */
.gg-flabel { --gg-fl-w: 384px; --u: calc(var(--gg-fl-w) / 384); --gg-fl-first: 72; --gg-fl-net: 22;
  --gg-fl-center: var(--label-matcha-center); --gg-fl-base: var(--label-matcha); --gg-fl-edge: var(--label-matcha-edge); --gg-fl-shadow: var(--label-matcha-shadow);
  position: relative; box-sizing: border-box; width: var(--gg-fl-w); aspect-ratio: 2 / 3; overflow: hidden; flex: none;
  display: flex; flex-direction: column; align-items: center; padding: calc(42 * var(--u)) calc(20 * var(--u)) 0;
  color: var(--label-cream); text-align: center; -webkit-print-color-adjust: exact; print-color-adjust: exact;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 576"><path d="M27 15 H357 A12 12 0 0 0 369 27 V549 A12 12 0 0 0 357 561 H27 A12 12 0 0 0 15 549 V27 A12 12 0 0 0 27 15 Z" fill="none" stroke="%23C9A055" stroke-opacity="1" stroke-width="3"/><path d="M31 22 H353 A9 9 0 0 0 362 31 V545 A9 9 0 0 0 353 554 H31 A9 9 0 0 0 22 545 V31 A9 9 0 0 0 31 22 Z" fill="none" stroke="%23C9A055" stroke-opacity="0.9" stroke-width="1.2"/></svg>') 0 0 / 100% 100% no-repeat,
    radial-gradient(ellipse 75% 60% at 50% 42%, var(--gg-fl-center) 0, var(--gg-fl-base) 55%, var(--gg-fl-edge) 100%); }
.gg-flabel > * { margin: 0; }
.gg-fl-matcha { --gg-fl-center: var(--label-matcha-center); --gg-fl-base: var(--label-matcha); --gg-fl-edge: var(--label-matcha-edge); --gg-fl-shadow: var(--label-matcha-shadow); }
.gg-fl-spirulina { --gg-fl-center: var(--label-spirulina-center); --gg-fl-base: var(--label-spirulina); --gg-fl-edge: var(--label-spirulina-edge); --gg-fl-shadow: var(--label-spirulina-shadow); }
.gg-fl-dark-roast { --gg-fl-center: var(--label-dark-roast-center); --gg-fl-base: var(--label-dark-roast); --gg-fl-edge: var(--label-dark-roast-edge); --gg-fl-shadow: var(--label-dark-roast-shadow); }
.gg-fl-medium-roast { --gg-fl-center: var(--label-medium-roast-center); --gg-fl-base: var(--label-medium-roast); --gg-fl-edge: var(--label-medium-roast-edge); --gg-fl-shadow: var(--label-medium-roast-shadow); }
.gg-flabel__gryphon { position: relative; width: calc(104 * var(--u)); height: calc(104 * var(--u)); flex: none; }
.gg-flabel__gryphon::before, .gg-flabel__gryphon::after { content: ""; position: absolute; inset: 0;
  -webkit-mask: url("../img/gryphon-gilt.svg") center / contain no-repeat; mask: url("../img/gryphon-gilt.svg") center / contain no-repeat; }
.gg-flabel__gryphon::before { top: calc(3 * var(--u)); bottom: calc(-3 * var(--u)); background: var(--gg-fl-shadow); opacity: .4; }
.gg-flabel__gryphon::after { background: var(--label-cream); }
.gg-flabel__house { margin-top: calc(12 * var(--u)); font: 700 calc(14 * var(--u)) / 1 var(--font-display); letter-spacing: .3em; }
.gg-flabel__co { margin-top: calc(6 * var(--u)); font: 700 calc(9 * var(--u)) / 1 var(--font-display); letter-spacing: .42em; opacity: .85; }
.gg-flabel__name { margin-top: calc(22 * var(--u)); font: 900 calc(var(--gg-fl-first) * var(--u)) / .92 var(--font-display); letter-spacing: .01em;
  text-shadow: 0 calc(3 * var(--u)) 0 color-mix(in srgb, var(--gg-fl-shadow) 45%, transparent); }
.gg-flabel__name span { display: block; font-size: calc(72 * var(--u)); line-height: .92; }
.gg-flabel__rule { display: flex; align-items: center; gap: calc(11 * var(--u)); width: calc(210 * var(--u)); margin-top: calc(22 * var(--u)); }
.gg-flabel__rule::before, .gg-flabel__rule::after { content: ""; flex: 1; height: calc(2 * var(--u)); background: var(--label-gold); }
.gg-flabel__rule i { width: calc(9 * var(--u)); height: calc(9 * var(--u)); background: var(--label-gold); transform: rotate(45deg); }
.gg-flabel__kind { margin-top: calc(16 * var(--u)); font: 800 calc(21 * var(--u)) / 1 var(--font-label); letter-spacing: .14em; }
.gg-flabel__pill { margin-top: calc(14 * var(--u)); padding: calc(6 * var(--u)) calc(16 * var(--u)) calc(7 * var(--u));
  border: calc(2 * var(--u)) solid currentColor; border-radius: calc(40 * var(--u)); color: var(--label-gold-light);
  font: 700 calc(13 * var(--u)) / 1 var(--font-label); letter-spacing: .2em; }
.gg-flabel__net { margin-top: auto; margin-bottom: calc(38 * var(--u)); font: 800 calc(var(--gg-fl-net) * var(--u)) / 1 var(--font-label);
  letter-spacing: .04em; text-transform: uppercase; }
.gg-flabel__net--long { --gg-fl-net: 20; letter-spacing: .02em; }
.gg-wax.gs-wax-lg { width: 88px; }
.gg-line-roast { --gg-line: var(--roast); }
.gg-line-copper { --gg-line: var(--copper); }

/* ---------- site ---------- */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
.gg-wax.gs-wax-lg { width: 88px; }
.gg-line-roast { --gg-line: var(--roast); }
.gg-line-copper { --gg-line: var(--copper); }

/* ---------- page ---------- */
body { background: var(--ground); color: var(--ink); font-family: var(--font-body); font-size: 19px; line-height: 30px;
  font-variant-numeric: lining-nums; min-height: 100%; -webkit-font-smoothing: antialiased; }
body *, body *::before, body *::after { box-sizing: border-box; }
body img { max-width: 100%; }
body a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body a:hover { color: var(--ink); }
body :focus-visible { outline: var(--border-frame) solid var(--brass); outline-offset: 3px; }
body p { margin: 0; }
.gs-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--space-5); }
.gs-section { padding-block: var(--space-6); }
.gs-section--tight { padding-block: var(--space-5); }

/* logos swap with the theme: gilt on Daylight, bone on walnut */
.gs-logo-dark { display: none !important; }

/* ---------- type ---------- */
.gs-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 60px; letter-spacing: .02em; }
.gs-h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 44px; letter-spacing: .03em; }
.gs-h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 36px; letter-spacing: .03em; }
.gs-h4 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 28px; letter-spacing: .03em; }
.gs-eyebrow { margin: 0; font-family: var(--font-label); font-weight: 700; font-size: 16px; line-height: 19px; letter-spacing: .16em; color: var(--brass); }
.gs-label { font-family: var(--font-label); font-weight: 500; font-size: 16px; line-height: 19px; letter-spacing: .08em; }
.gs-stat { font-family: var(--font-label); font-weight: 500; font-size: 17px; line-height: 21px; }
.gs-muted { color: var(--ink-muted); }
.gs-lede { font-size: 22px; line-height: 33px; }
.gs-flavor { font-style: italic; font-size: 18px; line-height: 27px; color: var(--ink-muted); }
.gs-price { font-family: var(--font-label); font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.gs-center { text-align: center; }
.gs-line-text { color: var(--gg-line, var(--brass)); }

/* placeholder marker: anything not yet decided (prices, caffeine, perks) wears a dashed underline */
.gs-tbd { text-decoration: underline dashed var(--gilt) 1.5px; text-underline-offset: 4px; }
.gs-tbd-key { display: inline-flex; gap: var(--space-2); align-items: center; font-family: var(--font-label); font-size: 16px; letter-spacing: .06em; color: var(--ink-muted); }

/* the gold rule with a diamond, from the front label */
.gs-rule { display: flex; align-items: center; gap: 11px; width: 210px; max-width: 100%; }
.gs-rule::before, .gs-rule::after { content: ""; flex: 1; height: 2px; background: var(--gilt); }
.gs-rule i { width: 9px; height: 9px; background: var(--gilt); transform: rotate(45deg); }
.gs-rule--center { margin-inline: auto; }
.gs-hair { height: 1px; border: 0; margin: 0; background: var(--line); }

/* ---------- frames: a brass rule that follows the apothecary notch ---------- */
.gs-frame { --gg-n: var(--notch-md); padding: var(--border-frame); background: var(--brass); }
.gs-frame > .gs-frame__in { --gg-n: calc(var(--notch-md) + 1px); background: var(--ground-raised); height: 100%; }
.gs-frame--lg { --gg-n: var(--notch-lg); }
.gs-frame--lg > .gs-frame__in { --gg-n: calc(var(--notch-lg) + 1px); }
.gs-frame--line { background: var(--gg-line, var(--brass)); }
.gs-frame, .gs-frame > .gs-frame__in {
  -webkit-mask:
    radial-gradient(circle at 0 0, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
  mask:
    radial-gradient(circle at 0 0, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--gg-n), #000 calc(var(--gg-n) + 0.5px)) 100% 100% / 51% 51% no-repeat; }

/* ---------- wood ---------- */
.gs-oak { background-color: var(--oak) !important; }
.gs-shelf { position: relative; }
.gs-shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: var(--ledge);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.25), inset 0 -3px 0 rgba(60,40,20,.18), 0 6px 10px rgba(60,40,20,.12); }
.gs-nails { position: absolute; inset: 14px 14px auto; display: flex; justify-content: space-between; pointer-events: none; }
.gs-nails i { width: 10px; height: 10px; border-radius: var(--radius-nail); background: var(--brass); box-shadow: inset 0 -2px 0 rgba(0,0,0,.3); }

/* ---------- buttons (kit .gg-btn plus sizes) ---------- */
body a.gg-btn { color: var(--on-brass); text-decoration: none; }
body a.gg-btn--ghost { text-decoration: none; }
body a.gg-btn--ghost > span { color: var(--brass); }
.gs-btn-lg { min-height: 52px; padding-inline: var(--space-5); font-size: 19px; }
.gg-btn--ghost.gs-btn-lg { padding: var(--border-frame); }
.gg-btn { white-space: nowrap; }
.gg-btn--ghost.gs-btn-lg > span { min-height: 48px; padding-inline: calc(var(--space-5) - 2px); }
.gs-btn-block { display: flex; width: 100%; }
.gg-btn--ghost.gs-btn-block > span { width: 100%; justify-content: center; }
.gs-btn-quiet { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- form controls ---------- */
.gs-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gs-field > span, .gs-legend { font-family: var(--font-label); font-weight: 500; font-size: 16px; letter-spacing: .08em; color: var(--ink-muted); }
.gs-input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--ink-muted); border-radius: var(--radius-sm);
  background: var(--ground-raised); color: var(--ink); font: 19px/27px var(--font-body); }
.gs-input:focus { outline: var(--border-frame) solid var(--brass); outline-offset: 1px; }
select.gs-input { appearance: none; background-image: linear-gradient(45deg, #0000 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, #0000 50%);
  background-position: calc(100% - 20px) 20px, calc(100% - 14px) 20px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.gs-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--ink-muted); border-radius: var(--radius-sm); background: var(--ground-raised); height: 46px; }
.gs-qty button { width: 44px; border: 0; background: none; color: var(--brass); font: 700 20px/1 var(--font-label); cursor: pointer; }
.gs-qty output { min-width: 36px; display: grid; place-items: center; font-family: var(--font-label); font-weight: 700; font-size: 18px; }

/* option tiles (sizes, purchase type, shipping rates) */
.gs-opt { display: flex; align-items: center; gap: var(--space-3); width: 100%; min-height: 52px; padding: 12px 16px; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ground-raised); color: var(--ink); font: inherit; cursor: pointer; }
.gs-opt:hover { border-color: var(--brass); }
.gs-opt.is-on { border: 2px solid var(--brass); padding: 11px 15px; }
.gs-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink-muted); display: grid; place-items: center; }
.gs-opt.is-on .gs-dot { border-color: var(--brass); }
.gs-opt.is-on .gs-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); }
.gs-size { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 92px; min-height: 64px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ground-raised); color: var(--ink); font: inherit; cursor: pointer; }
.gs-size b { font-family: var(--font-label); font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.gs-size small { font-size: 16px; color: var(--ink-muted); line-height: 21px; }
.gs-size:hover { border-color: var(--brass); }
.gs-size.is-on { border: 2px solid var(--brass); padding: 7px 11px; }

/* ---------- header ---------- */
.gs-util { background: var(--ground-raised); border-bottom: 1px solid var(--line); }
.gs-util .gs-wrap { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 2px 12px; padding-block: 8px;
  font-family: var(--font-label); font-size: 16px; letter-spacing: .06em; color: var(--ink-muted); }
.gs-util a { color: var(--ink-muted); }
/* Two messages (pre-orders, free shipping): a dot between them on one line; stacked on phones. */
.gs-util span + span::before { content: "·"; margin-right: 12px; }
@media (max-width: 720px) { .gs-util .gs-wrap { flex-direction: column; } .gs-util span + span::before { content: none; } }
.gs-head { border-bottom: var(--border-frame) solid var(--brass); background: var(--ground); position: relative; }
.gs-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--line); }
.gs-head .gs-wrap { display: flex; align-items: center; gap: var(--space-4); min-height: 92px; }
.gs-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; flex: none; }
.gs-brand img { display: block; }
.gs-brand__mark { width: 56px; height: 56px; }
.gs-brand__words { display: flex; flex-direction: column; gap: 6px; }
.gs-brand__wm { height: 22px; width: auto; }
.gs-brand__co { display: flex; align-items: center; gap: 8px; font: 700 10px/1 var(--font-display); letter-spacing: .42em; color: var(--gilt); }
.gs-brand__co::before, .gs-brand__co::after { content: ""; flex: 1; height: 1px; background: currentColor; min-width: 14px; }
.gs-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.gs-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--ink);
  font-family: var(--font-label); font-weight: 700; font-size: 17px; letter-spacing: .08em; border-bottom: 2px solid transparent; }
.gs-nav a:hover { color: var(--brass); }
.gs-nav a.is-on { color: var(--brass); border-bottom-color: var(--brass); }
.gs-nav__dot { width: 9px; height: 9px; transform: rotate(45deg); background: var(--gg-line); margin-right: 8px; }
.gs-tools { display: flex; align-items: center; gap: 4px; }
.gs-icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; text-decoration: none; }
.gs-icon-btn:hover { color: var(--brass); }
.gs-icon-btn svg { width: 24px; height: 24px; }
.gs-badge { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--brass); color: var(--on-brass);
  font: 700 12px/20px var(--font-label); text-align: center; }
.gs-menu-btn { display: none; }

/* ---------- product cards ---------- */
.gs-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gs-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.gs-card__shot { position: relative; display: grid; place-items: end center; height: 360px; padding: var(--space-4) var(--space-4) 18px; text-decoration: none; }
.gs-card__shot > img { position: relative; z-index: 1; height: 300px; width: auto; filter: drop-shadow(0 10px 10px rgba(60,40,20,.22)); }
.gs-card__gc { position: relative; z-index: 1; display: block; width: 100%; max-width: 300px; align-self: center; }
.gs-card__body { display: flex; flex-direction: column; gap: 6px; padding: var(--space-3) 2px 0; flex: 1; }
.gs-card__kind { display: flex; align-items: center; gap: 8px; font-family: var(--font-label); font-weight: 700; font-size: 16px; letter-spacing: .1em; color: var(--gg-line); }
.gs-card__kind::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: currentColor; }
.gs-card__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 28px; letter-spacing: .02em; }
.gs-card__name a { color: var(--ink); text-decoration: none; }
.gs-card__name a:hover { color: var(--brass); }
.gs-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: auto; padding-top: var(--space-3); }
.gs-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-label); font-size: 16px; letter-spacing: .06em; color: var(--ink-muted); background: var(--ground-raised); }
.gs-tag--work { border-style: dashed; border-color: var(--gilt); }

.gs-tipwrap { padding: 22px 22px 0 0; }
.gs-tipwrap .gg-tip { max-width: none; }
.gs-tipwrap .gg-tip__body { font-size: 17px; line-height: 22px; }
.gs-tipwrap .gg-tip__name { font-size: 24px; line-height: 27px; }

/* ---------- line chooser ---------- */
.gs-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.gs-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--ground-raised); color: var(--ink); font-family: var(--font-label); font-weight: 700; font-size: 16px; letter-spacing: .08em; cursor: pointer; text-decoration: none; }
.gs-chip:hover { border-color: var(--brass); }
.gs-chip.is-on { border: 2px solid var(--brass); padding: 0 15px; color: var(--brass); }
.gs-chip i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--gg-line, var(--brass)); }

/* ---------- facts table ---------- */
.gs-facts { width: 100%; border-collapse: collapse; }
.gs-facts th, .gs-facts td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.gs-facts th { width: 38%; font-family: var(--font-label); font-weight: 500; font-size: 16px; letter-spacing: .08em; color: var(--ink-muted); padding-right: var(--space-3); }

/* ---------- order summary ---------- */
.gs-sum { display: flex; flex-direction: column; gap: 10px; }
.gs-sum__row { display: flex; justify-content: space-between; gap: var(--space-3); }
.gs-sum__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--space-3); border-top: var(--border-frame) solid var(--brass);
  font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.gs-line-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; }
.gs-thumb { width: 72px; height: 88px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--oak); }
.gs-thumb img { height: 76px; width: auto; }

/* ---------- notices on the board ---------- */
.gs-board { position: relative; padding: var(--space-6) var(--space-5); }
.gs-board .gg-notice { max-width: none; }
.gs-tilt-1 { transform: rotate(-0.8deg); } .gs-tilt-2 { transform: rotate(0.5deg); } .gs-tilt-3 { transform: rotate(-0.4deg); }
.gs-notice-rank { display: flex; justify-content: center; margin-bottom: var(--space-3); }
.gs-coin { width: 54px; height: 54px; border-radius: var(--radius-nail); display: grid; place-items: center; font: 700 22px/1 var(--font-display); color: #2A1D13;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.22), inset 0 2px 0 rgba(255,255,255,.35); }
.gs-coin--copper { background: #B87348; }
.gs-coin--silver { background: #C9C6BE; }
.gs-coin--gold { background: #D9B45A; }

/* ---------- notes printed on the mockup (designer's callouts, not site copy) ---------- */
.gs-note { display: flex; gap: 10px; padding: 12px 14px; border: 1px dashed var(--gilt); border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--ground-raised) 70%, var(--gilt) 8%); font-size: 17px; line-height: 24px; color: var(--ink-muted); }
.gs-note b { color: var(--ink); font-family: var(--font-label); letter-spacing: .06em; font-weight: 700; }

/* ---------- footer ---------- */
.gs-foot { margin-top: var(--space-6); border-top: var(--border-frame) solid var(--brass); background: var(--ground-raised); position: relative; }
.gs-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line); }
.gs-foot__grid { display: grid; gap: var(--space-5); grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)) 1.5fr; padding-block: var(--space-6) var(--space-5); }
.gs-foot h3 { margin: 0 0 var(--space-3); font-family: var(--font-label); font-weight: 700; font-size: 15px; letter-spacing: .16em; color: var(--brass); }
.gs-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gs-foot ul a { color: var(--ink); text-decoration: none; }
.gs-foot ul a:hover { color: var(--brass); text-decoration: underline; }
.gs-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4); padding-block: var(--space-4);
  border-top: 1px solid var(--line); font-size: 17px; color: var(--ink-muted); }

/* ---------- phone width ---------- */
@media (max-width: 1080px) {
  .gs-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-foot__brand, .gs-foot__mail { grid-column: 1 / -1; }
}
/* the full nav needs about 1115 px with the reading-size labels; narrower screens use the menu drawer */
@media (max-width: 1120px) {
  .gs-nav { display: none; }
  .gs-menu-btn { display: inline-grid; }
  .gs-tools { margin-left: auto; }
}
@media (max-width: 720px) {
  .gs-wrap { padding-inline: var(--space-3); }
  .gs-section { padding-block: var(--space-5); }
  .gs-title { font-size: 38px; line-height: 42px; }
  .gs-h2 { font-size: 28px; line-height: 34px; }
  .gs-h3 { font-size: 24px; line-height: 30px; }
  .gs-head .gs-wrap { min-height: 72px; gap: var(--space-2); }
  .gs-brand__mark { width: 44px; height: 44px; }
  .gs-brand__wm { height: 16px; }
  .gs-util .gs-wrap { padding-block: 6px; font-size: 15px; line-height: 20px; letter-spacing: .03em; text-wrap: balance; }
  .gs-board { padding: var(--space-5) var(--space-3); }
  .gs-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-3); }
  .gs-card__shot { height: 260px; padding: var(--space-3) var(--space-3) 18px; }
  .gs-card__shot > img { height: 210px; }
  .gs-card__name { font-size: 19px; line-height: 23px; }
  .gs-card__foot { flex-direction: column; align-items: stretch; }
  .gs-foot__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
}

/* ---------- menus and sub-menus (header options, 2026-11-11) ---------- */
.gs-nav2 { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.gs-nav2 > li { position: relative; }
.gs-nav2__top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent;
  background: none; color: var(--ink); cursor: pointer; text-decoration: none; font-family: var(--font-label); font-weight: 700; font-size: 17px; letter-spacing: .08em; }
body a.gs-nav2__top { color: var(--ink); text-decoration: none; }
.gs-nav2__top:hover, body a.gs-nav2__top:hover { color: var(--brass); }
.gs-nav2__top.is-open, body a.gs-nav2__top.is-open { color: var(--brass); border-bottom-color: var(--brass); }
.gs-caret { width: 12px; height: 12px; flex: none; }
.gs-caret.is-up { transform: rotate(180deg); }
.gs-dd { position: absolute; top: 100%; left: 0; z-index: 30; padding-top: 10px;
  filter: drop-shadow(0 1px 0 rgba(60,40,20,.18)) drop-shadow(0 10px 16px rgba(60,40,20,.16)); }
.gs-dd--right { left: auto; right: 0; }
.gs-dd__panel > .gs-frame__in { padding: 10px 0; }
.gs-dd__head { margin: 0; padding: 10px 18px 6px; font-family: var(--font-label); font-weight: 700; font-size: 16px; letter-spacing: .16em; color: var(--brass); }
.gs-dd__list { list-style: none; margin: 0; padding: 0; }
.gs-dd__link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 18px; text-decoration: none; font-size: 19px; line-height: 25px; cursor: pointer; }
body a.gs-dd__link { color: var(--ink); text-decoration: none; }
body a.gs-dd__link:hover, body a.gs-dd__link.is-on { background: var(--ground); color: var(--brass); }
.gs-dd__link > .gs-grow { flex: 1; }
.gs-dia { width: 8px; height: 8px; flex: none; transform: rotate(45deg); background: var(--gg-line, var(--brass)); }
.gs-dd__all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.gs-mini { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 18px; text-decoration: none; }
body a.gs-mini { color: var(--ink); text-decoration: none; }
body a.gs-mini:hover { background: var(--ground); }
body a.gs-mini:hover b { color: var(--brass); }
.gs-minithumb { width: 48px; height: 58px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--oak); }
.gs-minithumb img { height: 50px; width: auto; }
.gs-under { position: relative; z-index: 1; opacity: .55; pointer-events: none; }

/* ---------- shared site header: option A, chosen 2026-11-11 ---------- */
.gs-sitehead { position: relative; z-index: 40; font-family: var(--font-body); color: var(--ink); background: var(--ground); }
.gs-sitehead .gs-nav2wrap { margin-left: auto; }
.gs-sitehead a.gs-nav2__top, .gs-sitehead a.gs-dd__link, .gs-sitehead a.gs-mini { color: var(--ink); text-decoration: none; }
.gs-sitehead a.gs-dd__link:hover, .gs-sitehead a.gs-dd__link.is-on { background: var(--ground); color: var(--brass); }
.gs-sitehead a.gs-mini:hover { background: var(--ground); }
.gs-sitehead a.gs-mini:hover b { color: var(--brass); }
.gs-nav2__top.is-on, .gs-sitehead a.gs-nav2__top.is-on { color: var(--brass); border-bottom-color: var(--brass); }
.gs-sitehead .gs-dd { z-index: 45; }

/* phone drawer */
.gs-drawer { position: absolute; top: 100%; left: 0; right: 0; z-index: 46; max-height: min(760px, calc(100vh - 110px)); overflow: auto;
  margin-top: 6px; background: var(--ground); border-bottom: var(--border-frame) solid var(--brass); box-shadow: 0 14px 24px rgba(60,40,20,.18); }
.gs-drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 0 16px; border: 0;
  border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-align: left; cursor: pointer; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: .03em; }
.gs-drawer__row.is-on { color: var(--brass); }
.gs-drawer__sub { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 0 16px 0 32px; border: 0; border-bottom: 1px solid var(--line);
  background: var(--ground-raised); color: var(--ink); text-align: left; cursor: pointer; text-decoration: none;
  font-family: var(--font-label); font-weight: 700; font-size: 17px; letter-spacing: .08em; }
.gs-drawer__sub > .gs-grow { flex: 1; }
.gs-drawer__item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 6px 16px 6px 48px;
  border-bottom: 1px solid var(--line); background: var(--ground); text-decoration: none; }
.gs-drawer__item .gs-minithumb { width: 40px; height: 48px; }
.gs-drawer__item .gs-minithumb img { height: 42px; }
.gs-sitehead a.gs-drawer__row, .gs-sitehead a.gs-drawer__sub, .gs-sitehead a.gs-drawer__item { color: var(--ink); text-decoration: none; }
.gs-drawer__foot { display: flex; flex-direction: column; gap: 10px; padding: 20px 16px; }
@media (max-width: 1120px) {
  .gs-sitehead .gs-nav2wrap { display: none; }
}
@media (min-width: 1121px) {
  .gs-drawer { display: none; }
}
/* the larger reading size needs a little less padding between nav items on small laptops */
@media (min-width: 1121px) and (max-width: 1240px) {
  .gs-nav2__top { padding: 0 8px; }
}
.gs-nav2__top { white-space: nowrap; }

/* ---------- after checkout: status chips, tracking timeline, account (2026-11-11) ---------- */
.gs-status { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid currentColor;
  font: 700 16px/1 var(--font-label); letter-spacing: .08em; white-space: nowrap; }
.gs-status::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; }
.gs-status--processing { color: var(--brass); }
.gs-status--shipped { color: var(--cobalt); }
.gs-status--delivered { color: var(--emerald); }
.gs-status--refunded, .gs-status--cancelled, .gs-status--failed { color: var(--garnet); }
.gs-status--paused { color: var(--ink-muted); }
.gs-band { background: var(--ground-raised); border-bottom: 1px solid var(--line); }
.gs-band .gs-wrap { padding-block: 28px 32px; display: flex; flex-direction: column; gap: 10px; }

/* steps along a line: order progress and carrier tracking */
.gs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.gs-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 34px; text-align: center; font-size: 17px; line-height: 23px; }
.gs-steps li::before { content: ""; position: absolute; top: 12px; left: 0; right: 0; height: 2px; background: var(--line); }
.gs-steps li:first-child::before { left: 50%; } .gs-steps li:last-child::before { right: 50%; }
.gs-steps li::after { content: ""; position: absolute; top: 4px; left: 50%; width: 18px; height: 18px; margin-left: -9px; transform: rotate(45deg); border: 2px solid var(--line); background: var(--ground-raised); }
.gs-steps li.is-done::before, .gs-steps li.is-now::before { background: var(--brass); }
.gs-steps li.is-done::after { background: var(--brass); border-color: var(--brass); }
.gs-steps li.is-now::after { border-color: var(--brass); box-shadow: inset 0 0 0 3px var(--ground-raised), inset 0 0 0 9px var(--brass); }
.gs-steps b { font-family: var(--font-label); letter-spacing: .06em; }
.gs-steps .gs-muted { font-size: 16px; }
.gs-events { list-style: none; margin: 0; padding: 0; }
.gs-events li { display: grid; grid-template-columns: 150px 18px minmax(0, 1fr); gap: 14px; position: relative; padding-bottom: 18px; }
.gs-events li::before { content: ""; position: absolute; left: 172px; top: 10px; bottom: -4px; width: 2px; background: var(--line); }
.gs-events li:last-child::before { display: none; }
.gs-events i { width: 12px; height: 12px; margin: 6px 0 0 3px; transform: rotate(45deg); background: var(--line); position: relative; z-index: 1; }
.gs-events li:first-child i { background: var(--brass); }
.gs-events time { font-family: var(--font-label); font-size: 16px; letter-spacing: .04em; color: var(--ink-muted); }

/* account */
.gs-acct { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.gs-acct__nav { display: flex; flex-direction: column; border-top: 2px solid var(--brass); }
.gs-acct__nav button, .gs-acct__nav a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--ink); text-align: left; cursor: pointer; text-decoration: none; font: 700 17px/1 var(--font-label); letter-spacing: .08em; }
.gs-acct__nav button:hover { color: var(--brass); }
.gs-acct__nav button.is-on { color: var(--brass); background: var(--ground-raised); box-shadow: inset 3px 0 0 var(--brass); }
.gs-table { width: 100%; border-collapse: collapse; }
.gs-table th { padding: 10px 12px 10px 0; text-align: left; font: 500 16px/21px var(--font-label); letter-spacing: .1em; color: var(--ink-muted); border-bottom: 2px solid var(--brass); }
.gs-table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.gs-cards2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gs-addr { font-style: normal; line-height: 25px; }
@media (max-width: 900px) {
  .gs-acct { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gs-acct__nav { flex-direction: row; flex-wrap: wrap; border-top: 0; gap: 6px; }
  .gs-acct__nav button, .gs-acct__nav a { min-height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .gs-steps { grid-auto-flow: row; grid-auto-columns: auto; }
  .gs-steps li { align-items: flex-start; text-align: left; padding: 0 0 16px 34px; }
  .gs-steps li::before { top: 0; bottom: 0; left: 8px; right: auto; width: 2px; height: auto; }
  .gs-steps li:first-child::before { left: 8px; top: 12px; } .gs-steps li:last-child::before { right: auto; bottom: auto; height: 12px; }
  .gs-steps li::after { top: 2px; left: 0; margin-left: 0; }
  .gs-events li { grid-template-columns: 18px minmax(0, 1fr); }
  .gs-events li time { grid-column: 2; grid-row: 2; }
  .gs-events li::before { left: 8px; }
}

/* ---------- buttons: pressed, adding, added ---------- */
.gg-btn { position: relative; transition: transform .08s ease, filter .12s ease; }
.gg-btn:active:not([disabled]) { transform: translateY(1px) scale(.98); filter: brightness(.92); }
/* Adding: the label steps aside for a spinner, so the button keeps its size. */
.gg-btn.is-loading, .gg-btn.loading { color: transparent !important; cursor: progress; pointer-events: none; }
.gg-btn.is-loading::after, .gg-btn.loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border: 2px solid var(--on-brass); border-right-color: transparent; border-radius: 50%; animation: gg-spin .7s linear infinite; }
/* Checkout: WooCommerce marks the form "processing" while it places the order. */
form.checkout.processing #place_order { color: transparent !important; pointer-events: none; }
form.checkout.processing #place_order::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border: 2px solid var(--on-brass); border-right-color: transparent; border-radius: 50%; animation: gg-spin .7s linear infinite; }
/* Outline buttons: the face hides its label and the spinner is brass. */
.gg-btn--ghost.is-loading > span, .gg-btn--ghost.loading > span { color: transparent !important; }
.gg-btn--ghost.is-loading::after, .gg-btn--ghost.loading::after { z-index: 1; border-color: var(--brass); border-right-color: transparent; }
/* Added: a check and a quick pop. */
.gg-btn.is-added { background: var(--gg-ok, #2F6B3A); color: #FFFCF6; }
.gg-btn__check { display: inline-block; width: 7px; height: 13px; margin: -4px 10px 0 0; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.gg-btn.is-added { animation: gg-pop .32s ease; }
/* WooCommerce's own "View cart" link after a shelf button: the note carries it instead. */
a.added_to_cart.wc-forward { display: none !important; }
/* The cart icon when something lands in it. */
.gg-cart-link.is-bump svg { animation: gg-wiggle .5s ease; }
.gg-cart-link.is-bump .gs-badge { animation: gg-pop .45s ease; }
@keyframes gg-spin { to { transform: rotate(360deg); } }
@keyframes gg-pop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes gg-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 60% { transform: rotate(9deg); } }

/* The "in your cart" note */
.gg-toast { position: fixed; z-index: 60; top: 96px; right: 24px; max-width: min(380px, calc(100vw - 32px)); display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 12px 14px 18px; background: var(--ground-raised); color: var(--ink); border: 1px solid var(--line); border-left: 4px solid var(--gg-ok, #2F6B3A);
  border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(36,24,15,.22); font-size: 19px; line-height: 27px;
  opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; }
.gg-toast.is-on { opacity: 1; transform: none; }
.gg-toast.is-error { border-left-color: var(--garnet, #8E2A35); }
.gg-toast__msg { margin: 0; flex: 1; }
.gg-toast__msg a { color: var(--brass); font-weight: 700; white-space: nowrap; }
.gg-toast__check { display: inline-block; width: 7px; height: 13px; margin: -3px 10px 0 2px; border: solid var(--gg-ok, #2F6B3A); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.gg-toast.is-error .gg-toast__check { display: none; }
.gg-toast__x { flex: none; width: 32px; height: 32px; margin: -6px -4px 0 0; border: 0; background: none; color: var(--ink-muted); font-size: 24px; line-height: 1; cursor: pointer; }
.gg-toast__x:hover { color: var(--ink); }
@media (max-width: 720px) {
  .gg-toast { top: auto; bottom: 16px; left: 16px; right: 16px; max-width: none; transform: translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .gg-btn, .gg-toast { transition: none; }
  .gg-btn.is-added, .gg-cart-link.is-bump svg, .gg-cart-link.is-bump .gs-badge { animation: none; }
  .gg-btn.is-loading::after, .gg-btn.loading::after { animation-duration: 1.6s; }
}

