/* ==================================================================================================
   Jax Snax Dog Treats — storefront design system
   Palette, type and components carried over from the original Elementor/WooCommerce store, rebuilt as
   one small, dependency-free stylesheet. Mobile-first; breakpoints at 480 / 640 / 820 / 900 / 1100px.
   ================================================================================================== */

/* ------------------------------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------------------------------ */
:root {
  --c-gold: #A68741; /* large gold headings, borders, accents */
  --c-gold-dark: #8C7033;
  /* Every surface that carries white text (primary buttons, active chips, gold sections, footer) uses this
     shade: white on it is 4.69:1 (WCAG AA). Set it back to #A68741 for the exact old-store gold (3.41:1). */
  --c-gold-strong: #8C7033;
  --c-gold-strong-hover: #7A612C;
  --c-accent: #D4A843;
  --c-copper: #C8874A;
  --c-brown: #3D2B1F;
  --c-text: #2E2A22;
  --c-muted: #6E6757;
  --c-cream: #FAF6EF;
  --c-cream-2: #F7F1E6;
  --c-border: #E8DCC4;
  --c-white: #FFFFFF;
  --c-green: #2D5A32;
  --c-sage: #5A6B5D;
  --c-danger: #B3261E;

  /* derived tones */
  --c-gold-tint: #F6EEDC;
  --c-copper-tint: #F6E7D8;
  --c-copper-ink: #8A4E1F;
  --c-green-tint: #E5EFE5;
  --c-danger-tint: #FBECEA;
  --c-warning-tint: #FDF3DC;
  --c-warning-ink: #7A5A10;
  --c-input-border: #B5A47E;
  --c-skeleton: #F1EADC;
  --c-skeleton-hi: #F9F5EC;

  /* The old store set its headings (and buttons) in Georgia 700; Playfair Display is kept only for the
     header brand name, the main nav links and the reviews title (.font-playfair). */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-button: var(--font-display);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 10px 25px -18px rgba(46, 42, 34, 0.35);
  --shadow-lift: 0 22px 40px -22px rgba(46, 42, 34, 0.45);
  --shadow-pop: 0 18px 50px -18px rgba(46, 42, 34, 0.45);
  --ring: 0 0 0 3px rgba(166, 135, 65, 0.35);

  --container: 1200px;
  --gutter: 1rem;
  --header-h: 68px;
  --section-y: clamp(3.5rem, 8vw, 6rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --scrollbar-w: 0px;

  color-scheme: light;
}

@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
}
@media (min-width: 900px) {
  :root { --header-h: 84px; }
}

/* ------------------------------------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* safety net against accidental horizontal scroll; keeps position:sticky working */
}

main { flex: 1 0 auto; display: block; }

/* --header-offset is the measured header height (set by site.js); --header-h is the CSS fallback. */
[id] { scroll-margin-top: calc(var(--header-offset, var(--header-h)) + 16px); }

img,
picture,
video,
canvas,
svg { display: block; max-width: 100%; }
img { height: auto; }

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; }

p,
ul,
ol,
dl,
figure,
blockquote { margin: 0 0 1rem; }

/* Zero-specificity list reset so any component class can set its own padding/list-style. */
:where(ul[class], ol[class]) { padding: 0; list-style: none; }

a {
  color: var(--c-gold-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}
a:hover { color: var(--c-brown); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-gold);
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.75rem); }
/* h3 stays ≥ 19.2px bold ("large text"), so the lighter gold still meets AA 3:1; smaller headings use the
   darker gold (4.69:1 on white). */
h3 { font-size: clamp(1.2rem, 2.2vw, 1.35rem); }
h4 { font-size: 1.05rem; }
h4, h5, h6 { color: var(--c-gold-dark); }

strong, b { font-weight: 700; }
small { font-size: 0.875em; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 2rem 0; }

::selection { background: var(--c-accent); color: var(--c-brown); }

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

[hidden] { display: none !important; }

/* Scroll lock while the cart drawer is open (site.js toggles the class). */
html.is-locked { overflow: hidden; }
html.is-locked body { padding-right: var(--scrollbar-w); }

/* ------------------------------------------------------------------------------------------------
   3. Layout
   ------------------------------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 760px; }
.container--wide { max-width: 1320px; }

.section { padding-block: var(--section-y); position: relative; }
.section--cream { background: var(--c-cream); }
.section--cream-2 { background: var(--c-cream-2); }
.section--white { background: var(--c-white); }
.section--gold { background: var(--c-gold-strong); color: var(--c-white); }
.section--gold h1,
.section--gold h2,
.section--gold h3,
.section--gold h4,
.section--gold h5,
.section--gold h6,
.section--gold .section-title,
.section--gold .eyebrow,
.section--gold .lead,
.section--gold .muted { color: var(--c-white); } /* solid white: any transparency drops small text below AA */
.section--gold a:not(.btn) { color: var(--c-white); }
.section--gold :focus-visible { outline-color: var(--c-white); }

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.section__head > :last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-text);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  color: var(--c-gold);
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--c-text);
  text-wrap: pretty;
}

.grid,
.grid--2,
.grid--3,
.grid--4 {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stack > * { margin-block: 0; }
.stack > * + * { margin-block-start: var(--stack-gap, 1rem); }

.text-center { text-align: center; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ------------------------------------------------------------------------------------------------
   4. Buttons — serif, bold, pill-shaped like the original store
   ------------------------------------------------------------------------------------------------ */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--c-text);
  --btn-border: transparent;
  --btn-bg-hover: var(--btn-bg);
  --btn-fg-hover: var(--btn-fg);
  --btn-border-hover: var(--btn-border);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.75rem;
  border: 2px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-button);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s var(--ease), box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg-hover);
  border-color: var(--btn-border-hover);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; border-radius: var(--radius-pill); }
.btn svg { flex: none; width: 1.1em; height: 1.1em; }

/* Optional arrow span: <span class="btn__arrow" aria-hidden="true">→</span> nudges right on hover. */
.btn__arrow { display: inline-block; transition: transform 0.2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  --btn-bg: var(--c-gold-strong);
  --btn-fg: var(--c-white);
  --btn-border: var(--c-gold-strong);
  --btn-bg-hover: var(--c-gold-strong-hover);
  --btn-border-hover: var(--c-gold-strong-hover);
  box-shadow: 0 8px 18px -12px rgba(122, 97, 44, 0.8);
}
.btn--primary:hover { box-shadow: 0 12px 22px -12px rgba(122, 97, 44, 0.9); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  --btn-fg: var(--c-gold-dark);
  --btn-border: var(--c-gold);
  --btn-bg-hover: var(--c-gold-strong);
  --btn-fg-hover: var(--c-white);
  --btn-border-hover: var(--c-gold-strong);
}

.btn--ghost {
  --btn-fg: var(--c-text);
  --btn-fg-hover: var(--c-gold-dark);
  padding-inline: 1rem;
}
.btn--ghost:hover { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1.5px; }

.btn--light {
  --btn-bg: var(--c-white);
  --btn-fg: var(--c-gold-dark);
  --btn-border: var(--c-white);
  --btn-bg-hover: var(--c-cream);
  --btn-fg-hover: var(--c-brown);
  --btn-border-hover: var(--c-cream);
}
.btn--light:hover { transform: translateY(-1px); }

/* Contextual variants inside gold sections */
.section--gold .btn--outline {
  --btn-fg: var(--c-white);
  --btn-border: rgba(255, 255, 255, 0.85);
  --btn-bg-hover: var(--c-white);
  --btn-fg-hover: var(--c-gold-dark);
  --btn-border-hover: var(--c-white);
}
/* A primary button shares the section's --c-gold-strong background, so a white edge keeps it visible. */
.section--gold .btn--primary { --btn-border: var(--c-white); --btn-border-hover: var(--c-white); }
.section--gold .btn--ghost { --btn-fg: var(--c-white); --btn-fg-hover: var(--c-white); }
.section--gold .btn:focus-visible { outline-color: var(--c-white); }

.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 40px; padding: 0.5rem 1.15rem; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 1rem 2.25rem; font-size: 1.1rem; }

.btn[disabled],
.btn[aria-disabled="true"],
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}
/* Brief "Added ✓" confirmation state used by add-to-cart buttons. */
.btn.is-added {
  --btn-bg: var(--c-green);
  --btn-bg-hover: var(--c-green);
  --btn-fg: var(--c-white);
  --btn-fg-hover: var(--c-white);
  --btn-border: var(--c-green);
  --btn-border-hover: var(--c-green);
  box-shadow: none;
}
.btn.is-loading {
  color: transparent !important;
  pointer-events: none;
  cursor: progress;
}
.btn.is-loading > * { visibility: hidden; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 1.2em;
  height: 1.2em;
  margin: auto;
  border: 2px solid var(--btn-fg);
  border-right-color: transparent;
  border-radius: 50%;
  animation: jx-spin 0.7s linear infinite;
}

/* ------------------------------------------------------------------------------------------------
   5. Forms
   ------------------------------------------------------------------------------------------------ */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.field + .field { margin-top: 1rem; }
.grid > .field + .field { margin-top: 0; }

.field label,
.field__label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.35;
}
.field__req { color: var(--c-danger); margin-left: 0.15em; }
.field__optional { font-weight: 400; color: var(--c-muted); font-size: 0.85em; }

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--c-input-border);
  border-radius: 12px;
  background: var(--c-white);
  color: var(--c-text);
  font-size: 1rem; /* ≥16px avoids iOS zoom-on-focus */
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.input::placeholder,
.textarea::placeholder { color: #9A917D; opacity: 1; }
.input:hover,
.select:hover,
.textarea:hover { border-color: var(--c-gold); }
.input:focus,
.select:focus,
.textarea:focus,
.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: var(--ring);
}
.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] { border-color: var(--c-danger); }
.input[aria-invalid="true"]:focus,
.select[aria-invalid="true"]:focus,
.textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.2); }
.input:disabled,
.select:disabled,
.textarea:disabled { background: var(--c-cream); color: var(--c-muted); cursor: not-allowed; }

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%238C7033' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  cursor: pointer;
}
.select::-ms-expand { display: none; }

.textarea { min-height: 120px; resize: vertical; }

.field__hint { margin: 0; font-size: 0.85rem; color: var(--c-muted); line-height: 1.45; }
.field__error { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--c-danger); line-height: 1.45; }
.field__error:empty { display: none; }

.checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.45;
  cursor: pointer;
}
.checkbox input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.1rem 0 0;
  accent-color: var(--c-gold);
  cursor: pointer;
}

.radio-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
  background: var(--c-white);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.radio-card:hover { border-color: var(--c-gold); }
.radio-card input[type="radio"] {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  accent-color: var(--c-gold);
  cursor: pointer;
}
.radio-card:has(input:checked),
.radio-card.is-checked {
  border-color: var(--c-gold);
  background: #FFFBF2;
  box-shadow: 0 0 0 1px var(--c-gold) inset;
}
.radio-card:has(input:focus-visible) { box-shadow: var(--ring); }
.radio-card:has(input:disabled),
.radio-card.is-disabled { opacity: 0.55; cursor: not-allowed; }
.radio-card__body { display: grid; gap: 0.15rem; flex: 1; min-width: 0; }
.radio-card__title { font-weight: 800; color: var(--c-text); }
.radio-card__desc { font-size: 0.88rem; color: var(--c-muted); line-height: 1.45; }
.radio-card__price { margin-left: auto; font-weight: 800; white-space: nowrap; }

.qty {
  display: inline-flex;
  align-items: stretch;
  height: 44px;
  border: 1px solid var(--c-input-border);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  overflow: hidden;
}
.qty:focus-within { border-color: var(--c-gold); box-shadow: var(--ring); }
.qty__btn {
  display: grid;
  place-items: center;
  width: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-text);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.qty__btn:hover:not(:disabled) { background: var(--c-cream); color: var(--c-gold-dark); }
.qty__btn:disabled { color: #C9BFAE; cursor: not-allowed; }
.qty__btn:focus-visible { outline: 2px solid var(--c-gold); outline-offset: -3px; border-radius: var(--radius-pill); }
.qty__input {
  width: 2.75rem;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }
.qty--sm { height: 36px; }
.qty--sm .qty__btn { width: 34px; font-size: 1.05rem; }
.qty--sm .qty__input { width: 2.25rem; font-size: 0.95rem; }

/* ------------------------------------------------------------------------------------------------
   6. Commerce
   ------------------------------------------------------------------------------------------------ */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
@media (min-width: 480px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 820px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: #DCCBA8;
}
.product-card:focus-within { border-color: var(--c-gold); }

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--c-cream);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.3s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.15rem 1.2rem;
}
.product-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-brown);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.product-card__title a {
  color: inherit;
  text-decoration: none;
}
/* Stretched link: the whole card is clickable; actions sit above it. */
.product-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.product-card__title a:hover { color: var(--c-gold-dark); }
.product-card__title a:focus-visible { outline: none; }
.product-card:has(.product-card__title a:focus-visible) { box-shadow: var(--ring), var(--shadow-lift); }

.product-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__price { margin: 0; font-weight: 800; color: var(--c-text); }
.product-card__actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
}
.product-card__actions .btn { flex: 1; }
.product-card.is-soldout .product-card__media img { opacity: 0.65; filter: grayscale(0.25); }

.price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.5rem;
  font-weight: 800;
  color: var(--c-text);
}
.price--sale { color: var(--c-danger); }
.price__compare {
  font-weight: 600;
  font-size: 0.9em;
  color: var(--c-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--c-cream-2);
  color: var(--c-brown);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}
.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--c-copper-tint);
  color: var(--c-copper-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgba(46, 42, 34, 0.55);
  pointer-events: none;
}
.product-card__badge + .product-card__badge { top: 2.6rem; }
.badge--copper { background: var(--c-copper-tint); color: var(--c-copper-ink); }
.badge--green { background: var(--c-green-tint); color: var(--c-green); }
.badge--muted { background: #EFEBE3; color: var(--c-muted); }

.chips {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0.25rem 0.1rem 0.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  list-style: none;
}
.chips > * { scroll-snap-align: start; flex: none; }
@media (min-width: 900px) {
  .chips { flex-wrap: wrap; overflow: visible; }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.45rem 1.05rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.chip:hover { border-color: var(--c-gold); color: var(--c-gold-dark); }
.chip.is-active,
.chip[aria-current="page"],
.chip[aria-pressed="true"] {
  border-color: var(--c-gold-strong);
  background: var(--c-gold-strong);
  color: var(--c-white);
  box-shadow: 0 8px 16px -12px rgba(122, 97, 44, 0.9);
}
.chip:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; border-radius: var(--radius-pill); }

.skeleton {
  display: block;
  min-height: 1em;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--c-skeleton) 25%, var(--c-skeleton-hi) 37%, var(--c-skeleton) 63%);
  background-size: 400% 100%;
  color: transparent !important;
  animation: jx-shimmer 1.4s ease infinite;
  pointer-events: none;
  user-select: none;
}
.skeleton--text { height: 0.9em; margin: 0.35em 0; }
.skeleton--title { height: 1.3em; width: 70%; margin: 0.2em 0 0.5em; }
.skeleton--media { aspect-ratio: 1 / 1; border-radius: 0; }
.skeleton--btn { height: 44px; border-radius: var(--radius-pill); }

.empty-state {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) 1.5rem;
  text-align: center;
}
.empty-state__icon { font-size: 2.75rem; line-height: 1; margin-bottom: 0.75rem; }
.empty-state h2,
.empty-state h3,
.empty-state__title {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--c-gold);
}
.empty-state p { color: var(--c-muted); }
.empty-state .btn { margin-top: 0.5rem; }

.notice {
  display: block;
  margin: 0 0 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #E3D3AE;
  border-left-width: 4px;
  border-radius: 12px;
  background: var(--c-gold-tint);
  color: var(--c-brown);
  font-size: 0.95rem;
  line-height: 1.5;
}
.notice > :last-child { margin-bottom: 0; }
.notice p { margin-bottom: 0.5rem; }
.notice a:not(.btn) { color: inherit; font-weight: 700; text-decoration: underline; }
.notice strong { font-weight: 800; }
.notice--info { background: var(--c-gold-tint); border-color: #E3D3AE; border-left-color: var(--c-gold); color: var(--c-brown); }
.notice--success { background: var(--c-green-tint); border-color: #C3D8C4; border-left-color: var(--c-green); color: #1F4023; }
.notice--warning { background: var(--c-warning-tint); border-color: #EFD89C; border-left-color: #C99A1B; color: var(--c-warning-ink); }
.notice--error { background: var(--c-danger-tint); border-color: #F1C4BF; border-left-color: var(--c-danger); color: #7F1D17; }

.spinner {
  display: inline-block;
  flex: none;
  width: 1.25em;
  height: 1.25em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.2em;
  animation: jx-spin 0.7s linear infinite;
}
.spinner--lg { width: 2.25rem; height: 2.25rem; border-width: 3px; color: var(--c-gold); }

/* ------------------------------------------------------------------------------------------------
   7. Skip link, announcement bar, header & navigation
   ------------------------------------------------------------------------------------------------ */
.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--c-brown);
  color: var(--c-white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: none; color: var(--c-white); outline-offset: 2px; }

.announcement-bar {
  position: relative;
  z-index: 51;
  background: var(--c-brown);
  color: var(--c-cream);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  animation: jx-slide-down 0.35s var(--ease);
}
.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 40px;
  padding-block: 0.45rem;
  text-align: center;
}
.announcement-bar__text { margin: 0; flex: 1; min-width: 0; }
.announcement-bar a,
.announcement-bar__link {
  color: var(--c-white);
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-underline-offset: 0.2em;
}
.announcement-bar a:hover { color: var(--c-accent); }
.announcement-bar__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: -0.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  opacity: 0.8;
}
.announcement-bar__close:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }
.announcement-bar__close svg { width: 14px; height: 14px; }
.announcement-bar :focus-visible { outline-color: var(--c-accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #ECE6DA;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
  }
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(46, 42, 34, 0.35); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.brand__logo {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.brand__name {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 4.2vw, 1.3rem);
  font-weight: 700;
  color: var(--c-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__est {
  margin-top: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.brand:hover .brand__name { color: var(--c-gold-dark); }

.site-header__actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.25rem;
}
.site-header__shop { display: none; }

.cart-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--c-text);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.cart-button:hover { background: var(--c-cream); color: var(--c-gold-dark); }
.cart-button:focus-visible { border-radius: 50%; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--c-white);
  border-radius: var(--radius-pill);
  background: var(--c-gold-strong);
  color: var(--c-white);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  box-sizing: content-box;
  transform-origin: center;
}
.cart-count.is-bumped { animation: jx-bump 0.45s var(--ease); }

.nav-toggle {
  position: relative;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--c-text);
}
.nav-toggle:hover { background: var(--c-cream); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile navigation: slide-down panel under the header (< 900px) */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-offset, var(--header-h)));
  max-height: calc(100dvh - var(--header-offset, var(--header-h)));
  overflow-y: auto;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 24px 40px -24px rgba(46, 42, 34, 0.35);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.site-header.is-nav-open .site-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0s;
}
.site-nav__list {
  margin: 0;
  padding: 0.5rem var(--gutter) 1.25rem;
  list-style: none;
}
.site-nav__list li + li { border-top: 1px solid #F0E9DC; }
.site-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0.5rem 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text);
  text-decoration: none;
}
.site-nav__list a::after {
  content: "→";
  font-family: var(--font-sans);
  color: var(--c-gold);
  transition: transform 0.2s var(--ease);
}
.site-nav__list a:hover { color: var(--c-gold-dark); }
.site-nav__list a:hover::after { transform: translateX(3px); }
.site-nav__list a[aria-current="page"],
.site-nav__list a.is-active { color: var(--c-gold-dark); }

@media (min-width: 400px) {
  .brand__logo { width: 52px; height: 52px; }
}
@media (min-width: 560px) {
  .site-header__shop { display: inline-flex; }
  .site-header__actions { gap: 0.5rem; }
}

@media (min-width: 900px) {
  .site-header__inner { gap: 1.25rem; }
  .brand__logo { width: 64px; height: 64px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    flex: 1;
    min-width: 0;
    max-height: none;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-nav__list {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 2.2vw, 2.25rem);
    padding: 0;
  }
  .site-nav__list li + li { border: 0; }
  .site-nav__list a {
    position: relative;
    min-height: 44px;
    padding: 0.5rem 0.1rem;
    font-size: 0.98rem;
    color: #444441;
    white-space: nowrap;
  }
  .site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.45rem;
    height: 2px;
    border-radius: 2px;
    background: var(--c-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .site-nav__list a:hover::after,
  .site-nav__list a[aria-current="page"]::after,
  .site-nav__list a.is-active::after { transform: scaleX(1); }
  .site-nav__list a:hover { color: var(--c-text); }
  .site-header__shop { min-height: 42px; }
}
@media (min-width: 900px) and (max-width: 1060px) {
  .brand__name { font-size: 1.12rem; }
  .brand__est { letter-spacing: 0.18em; }
  .site-nav__list a { font-size: 0.92rem; }
}

/* ------------------------------------------------------------------------------------------------
   8. Footer — the old store's gold footer. It carries straight on from a gold CTA section: round logo,
   name and tagline centred on top, the link columns beneath, and a bottom bar with the copyright on the
   left and "Made with 🐾 and lots of love." on the right. Every piece of text on it is pure white, which is
   what keeps it AA on --c-gold-strong.
   Bottom bar markup: <div class="container site-footer__legal"><p class="site-footer__copy">© …</p>
   <p class="site-footer__love">Made with …</p></div> (site.js upgrades the older single-line version).
   ------------------------------------------------------------------------------------------------ */
.site-footer {
  flex: none;
  background: var(--c-gold-strong);
  color: var(--c-white);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 1.5rem;
  padding-block: clamp(3.5rem, 8vw, 4.5rem) clamp(2.25rem, 5vw, 3rem);
}
.site-footer__brand,
.site-footer__contact { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .site-footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; }
  .site-footer__contact { grid-column: auto; }
}
.site-footer p { margin: 0 0 0.75rem; }
.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Short rule between the brand block and the link columns. */
.site-footer__brand::after {
  content: "";
  width: 56px;
  height: 2px;
  margin-top: 0.75rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
}
.site-footer__brand img {
  width: clamp(120px, 30vw, 160px);
  height: auto;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5), 0 18px 36px -18px rgba(46, 42, 34, 0.65);
}
.site-footer__brand p:not(.site-footer__name):not(.site-footer__tagline) { max-width: 48ch; }
.site-footer__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-white);
}
.site-footer__tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 700;
  color: var(--c-white);
}
.site-footer__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-white);
}
.site-footer__nav ul { margin: 0; padding: 0; list-style: none; }
.site-footer__nav li + li { margin-top: 0.2rem; }
.site-footer a {
  color: var(--c-white);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.2s ease;
}
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-weight: 600;
}
.site-footer a:hover { color: var(--c-white); text-decoration-color: currentColor; }
.site-footer a[aria-current="page"] {
  font-weight: 800;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}
.site-footer :focus-visible { outline-color: var(--c-white); }
.site-footer .small { color: var(--c-white); }
.site-footer__contact a { font-weight: 700; }
.site-footer__bottom {
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  color: var(--c-white);
  font-size: 0.85rem;
}
.site-footer__bottom > .container {
  position: relative;
  padding-top: 1.5rem;
}
/* The divider spans the content width only, like the old footer's boxed bottom row. */
.site-footer__bottom > .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1.5rem;
}
.site-footer__legal > p { margin: 0; }
@media (min-width: 720px) {
  .site-footer__legal { justify-content: space-between; text-align: left; }
}

/* ------------------------------------------------------------------------------------------------
   9. Drawer (mini-cart) — markup is created by site.js
   ------------------------------------------------------------------------------------------------ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 42, 34, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  background: var(--c-white);
  box-shadow: -24px 0 50px -24px rgba(46, 42, 34, 0.45);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  outline: none;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
}
.drawer__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-brown);
}
.drawer__title-count { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; color: var(--c-muted); }
.drawer__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-cream);
  color: var(--c-text);
  transition: background-color 0.2s ease, transform 0.2s var(--ease);
}
.drawer__close:hover { background: var(--c-border); transform: rotate(90deg); }
.drawer__close svg { width: 16px; height: 16px; }
.drawer__body {
  flex: 1;
  min-height: 0;
  padding: 0.5rem 1.25rem 1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer__footer {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--c-border);
  background: var(--c-cream);
}

.mini-cart__list { margin: 0; padding: 0; list-style: none; }
.mini-cart__item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid #F0E9DC;
  animation: jx-fade-in 0.3s ease;
}
.mini-cart__item:last-child { border-bottom: 0; }
.mini-cart__media {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-cream);
  border: 1px solid var(--c-border);
}
.mini-cart__media img { width: 100%; height: 100%; object-fit: cover; }
.mini-cart__info { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.mini-cart__name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-brown);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.mini-cart__name:hover { color: var(--c-gold-dark); text-decoration: underline; }
.mini-cart__meta { margin: 0; font-size: 0.84rem; color: var(--c-muted); line-height: 1.4; overflow-wrap: anywhere; }
.mini-cart__personal { color: var(--c-text); font-style: italic; }
.mini-cart__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.45rem;
}
.mini-cart__price { font-weight: 800; white-space: nowrap; }
.mini-cart__remove {
  align-self: flex-start;
  margin-top: 0.3rem;
  padding: 0.2rem 0;
  border: 0;
  background: none;
  color: var(--c-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.mini-cart__remove:hover { color: var(--c-danger); }
.mini-cart__item.is-unavailable .mini-cart__media { opacity: 0.55; filter: grayscale(0.6); }
.mini-cart__item.is-unavailable .mini-cart__name { color: var(--c-muted); }
.mini-cart__warn { margin: 0.2rem 0 0; font-size: 0.82rem; font-weight: 700; color: var(--c-danger); }
.mini-cart__subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 800;
}
.mini-cart__subtotal span:first-child { font-family: var(--font-display); color: var(--c-brown); }
.mini-cart__note { margin: -0.4rem 0 0; font-size: 0.84rem; color: var(--c-muted); }
.mini-cart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.mini-cart__actions .btn { padding-inline: 0.75rem; }
.mini-cart__ship { display: grid; gap: 0.45rem; font-size: 0.86rem; font-weight: 700; color: var(--c-brown); }
.mini-cart__ship.is-unlocked { color: var(--c-green); }
.mini-cart__skeleton { display: grid; grid-template-columns: 76px 1fr; gap: 0.9rem; padding: 1rem 0; }
.mini-cart__skeleton .skeleton:first-child { height: 76px; border-radius: 12px; }
.mini-cart__empty { padding-block: 3rem 2rem; }

.progress {
  position: relative;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--c-border);
  overflow: hidden;
}
.progress__bar {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-gold), var(--c-accent));
  transition: width 0.5s var(--ease);
}

/* ------------------------------------------------------------------------------------------------
   10. Toasts — region created by site.js
   ------------------------------------------------------------------------------------------------ */
.toast-region {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: min(420px, calc(100% - 2rem));
  transform: translateX(-50%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .toast-region { left: auto; right: 1.5rem; bottom: 1.5rem; transform: none; }
}
/* While the cart drawer is open (html.is-locked), keep toasts clear of its Checkout button. */
html.is-locked .toast-region { top: calc(0.75rem + env(safe-area-inset-top, 0px)); bottom: auto; }
@media (min-width: 900px) {
  html.is-locked .toast-region { top: auto; bottom: 1.5rem; left: 1.5rem; right: auto; }
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.8rem 0.8rem 1rem;
  border-radius: 14px;
  background: var(--c-brown);
  color: var(--c-white);
  box-shadow: var(--shadow-pop);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  pointer-events: auto;
  animation: jx-toast-in 0.35s var(--ease);
}
.toast.is-leaving { animation: jx-toast-out 0.25s ease forwards; }
.toast__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--c-accent);
}
.toast__icon svg { width: 15px; height: 15px; }
.toast__msg { flex: 1; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.toast__action {
  flex: none;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--c-white);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.toast__action:hover { background: rgba(255, 255, 255, 0.12); color: var(--c-white); }
.toast__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
}
.toast__close:hover { background: rgba(255, 255, 255, 0.12); color: var(--c-white); }
.toast__close svg { width: 13px; height: 13px; }
.toast :focus-visible { outline-color: var(--c-accent); }
.toast--success .toast__icon { background: #3E7A45; color: var(--c-white); }
.toast--error { background: var(--c-danger); }
.toast--error .toast__icon { background: rgba(255, 255, 255, 0.2); color: var(--c-white); }

/* ------------------------------------------------------------------------------------------------
   11. Utilities
   ------------------------------------------------------------------------------------------------ */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2.5rem !important; }
.muted { color: var(--c-muted); }
.small { font-size: 0.875rem; }
.nowrap { white-space: nowrap; }
/* Playfair Display 800 (the old store's reviews-title face) on an element that would otherwise use the
   Georgia heading face, e.g. <h2 class="section-title font-playfair">. */
.font-playfair { font-family: var(--font-serif) !important; font-weight: 800 !important; }

/* ------------------------------------------------------------------------------------------------
   12. Motion
   ------------------------------------------------------------------------------------------------ */
/* .reveal is only hidden once site.js has started observing (html.js-reveal), so content never gets
   stuck invisible if JavaScript fails. Optional stagger: style="--reveal-delay: 120ms". */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes jx-spin { to { transform: rotate(360deg); } }
@keyframes jx-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
@keyframes jx-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
@keyframes jx-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes jx-slide-down {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: none; }
}
@keyframes jx-toast-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes jx-toast-out {
  to { opacity: 0; transform: translateY(8px) scale(0.98); }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal,
  .js-reveal .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .btn,
  .product-card,
  .product-card__media img,
  .brand__logo,
  .drawer__panel,
  .drawer-backdrop,
  .drawer__close,
  .site-nav,
  .site-header.is-nav-open .site-nav,
  .nav-toggle span,
  .skip-link,
  .progress__bar { transition: none; }
  .btn:hover,
  .btn--primary:hover,
  .btn--light:hover,
  .product-card:hover,
  .product-card:hover .product-card__media img,
  .brand:hover .brand__logo,
  .drawer__close:hover { transform: none; }
  .skeleton { animation: none; }
  .cart-count.is-bumped,
  .announcement-bar,
  .mini-cart__item,
  .toast,
  .toast.is-leaving { animation: none; }
  .spinner,
  .btn.is-loading::after { animation-duration: 1.6s; }
}

/* ------------------------------------------------------------------------------------------------
   13. Print
   ------------------------------------------------------------------------------------------------ */
@media print {
  .announcement-bar,
  .site-header__actions,
  .site-nav,
  .drawer,
  .toast-region,
  .skip-link { display: none !important; }
  .site-header { position: static; box-shadow: none; border: 0; }
  .site-footer { background: none; color: #000; border: 0; }
  .site-footer * { color: #000 !important; }
  .site-footer__brand::after,
  .site-footer__bottom > .container::before { display: none; }
  .site-footer__brand img { box-shadow: none; }
  body { color: #000; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
