/* ==========================================================================
   Bield — storefront styles
   Palette, type and components drawn from the Bield brand assets v1 (Sep 2026).
   Colour rhythm: ~60% limestone, ~25% slate, ~15% accents.
   Bracken is the signature CTA; gorse is sale-only (<5%). No drop shadows.
   ========================================================================== */

:root {
  /* ---- Bield brand assets v1 (Sep 2026). Internal names kept; brand names in comments. ---- */
  --slate: #3E4548;        /* primary dark: body text, nav, primary buttons */
  --limestone: #E8E4DC;    /* primary light: page background, reversed type */
  --limestone-96: #DEDAD1; /* cards, panels, fields, secondary ground */
  --bracken: #9A5B2E;      /* primary accent / signature colour / hover */
  --bracken-dk: #7E4A26;
  --peat: #4A3B2E;         /* secondary dark: footers, deep panels */
  --lichen: #8D9478;       /* secondary: cards, dividers, muted labels, decoration */
  --gorse: #D9A317;        /* the one saturated hit — sale tags only, under 5% */
  --bottle: #2C3B33;       /* deep accent: alternate dark sections */
  --oxblood: #6B2F2A;      /* rare accent: editorial / print */

  /* Semantic tokens (internal names used throughout the stylesheet) */
  --ink: var(--slate);       /* structure, headlines, nav, dark buttons */
  --ink-2: var(--peat);      /* deeper dark: footer / topbar */
  --charcoal: var(--slate);  /* body text */
  --bark: #6A7073;           /* muted text: captions, metadata, helper */
  --oatmeal: var(--limestone);   /* page background (~60%) */
  --sand: var(--limestone-96);   /* cards, panels, dividers */
  --wool-white: #F6F4EF;     /* product / form grounds — never pure white */
  --campfire: var(--bracken);    /* the signature CTA/accent */
  --campfire-2: var(--bracken-dk);
  --ember: var(--lichen);        /* decorative graphic shapes */
  --ochre: var(--bracken);       /* stars, underlines (accent) */
  --moss: var(--bottle);         /* outdoor / community accent */
  --lake: var(--slate);          /* Journal / knowledge accent */
  --signal-error: #6B2F2A;

  --bg: var(--oatmeal);
  --surface: var(--wool-white);
  --ink-soft: var(--bark);
  --line: #D3CEC3;           /* hairline on limestone */
  --line-strong: #C1BBAF;
  --accent: var(--bracken);
  --accent-ink: var(--bracken);

  /* Legacy aliases so existing component rules resolve */
  --fell-green: var(--ink);
  --fell-green-2: var(--ink-2);
  --bothy-cream: var(--oatmeal);
  --bothy-cream-2: var(--sand);
  --bracken-2: var(--bracken-dk);
  --slate-2: var(--peat);
  --bilberry: var(--bottle);

  /* Type — Newsreader (display serif), Archivo (body/UI), Archivo Narrow (labels) */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Archivo Narrow", "Archivo", Helvetica, Arial, sans-serif;
  --fraunces: normal;

  /* Metrics — square-edged, 2px radius, no drop shadows */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;           /* buttons, inputs, cards */
  --radius-lg: 0px;        /* photography & packaging: square */
  --radius-panel: 2px;     /* content panels */
  --radius-pill: 999px;    /* collection tags & filter chips only */
  --shadow-sm: none;
  --shadow-md: 0 8px 24px rgba(62, 69, 72, 0.14);
  --header-h: 72px;
  --topbar-h: 38px;
  /* Combined height of the pinned announcement bar + header, so in-page
     sticky panels park just below the fixed chrome. */
  --chrome-h: calc(var(--topbar-h) + var(--header-h));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
/* Component titles are set in Archivo (sans), per the brand's card / H3 spec */
.card__name, .cart-line__name, .article-card h3, .value-card h3,
.gf-option b, .search-hit b, .gf-mini-card b {
  font-family: var(--sans); font-weight: 600; letter-spacing: 0;
}
:focus-visible { outline: 2px solid var(--bracken); outline-offset: 2px; border-radius: 2px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.stack > * + * { margin-top: 1rem; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 12px;
}
.eyebrow--light { color: var(--bothy-cream-2); }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 40px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); }
.section-head .link-more { flex: none; }

.link-more {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fell-green);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.link-more:hover { color: var(--bracken); border-color: var(--bracken); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent;
  background: var(--fell-green); color: var(--bothy-cream);
  transition: background .2s var(--ease), color .2s var(--ease), transform .05s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--bracken); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--bracken); color: var(--limestone); }
.btn--accent:hover { background: var(--bracken-dk); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--fell-green); }
.btn--ghost:hover { background: var(--fell-green); color: var(--bothy-cream); border-color: var(--fell-green); }
.btn--light { background: var(--bothy-cream); color: var(--fell-green); }
.btn--light:hover { background: var(--wool-white); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--fell-green-2);
  color: var(--bothy-cream);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 38px; text-align: center; padding-block: 8px; }
.topbar a { border-bottom: 1px solid rgba(245,245,243,.4); }
.topbar__msg { display: inline-flex; align-items: center; gap: 10px; }
.topbar__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--bracken); }

/* ---------- Header ---------- */
/* The whole top chrome (announcement bar + header) is pinned as one unit so
   both stay visible on scroll across every page. */
.site-head { position: sticky; top: 0; z-index: 60; }
.site-header { background: var(--bothy-cream); border-bottom: 1px solid var(--line); }
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: var(--header-h); gap: 16px;
}
.nav-primary { display: flex; align-items: center; gap: 26px; }
.nav-primary a {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fell-green); padding-block: 6px; position: relative;
}
.nav-primary a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--bracken);
  transition: right .25s var(--ease);
}
.nav-primary a:hover::after, .nav-primary a[aria-current="page"]::after { right: 0; }

.brand { justify-self: center; display: inline-flex; align-items: center; gap: 11px; line-height: 1; color: var(--ink); }
.brand__logo { width: 26px; height: 26px; display: block; flex: none; }
.brand__logo svg { width: 100%; height: 100%; fill: currentColor; }
.brand__word { font-family: var(--serif); font-weight: 400; font-size: 25px; letter-spacing: 0.08em; text-transform: uppercase; color: currentColor; }
.brand--footer { color: var(--limestone); flex-direction: column; align-items: flex-start; gap: 12px; }
.brand--footer .brand__logo { width: 40px; height: 40px; }
.brand--footer .brand__word { font-size: 30px; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: transparent; border: 0; color: var(--fell-green); position: relative;
  transition: background .2s var(--ease);
}
.icon-btn:hover { background: var(--bothy-cream-2); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--bracken); color: #fff;
  font-family: var(--sans); font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.cart-count[hidden] { display: none; }
.nav-toggle { display: none; }

/* ---------- Mobile drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(35,34,32,.5); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; z-index: 70; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 88vw); background: var(--bothy-cream);
  transform: translateX(100%); transition: transform .32s var(--ease); z-index: 80; display: flex; flex-direction: column;
  box-shadow: var(--shadow-md);
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.drawer__body { overflow-y: auto; flex: 1; padding: 8px var(--gutter) 24px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px var(--gutter); background: var(--bothy-cream-2); }
.drawer-nav a { display: block; padding: 15px 4px; font-family: var(--serif); font-size: 22px; color: var(--fell-green); border-bottom: 1px solid var(--line); }
.drawer-nav .sub { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 12px 4px 4px; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--fell-green); color: var(--bothy-cream); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media svg, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,34,32,.62) 0%, rgba(35,34,32,.34) 46%, rgba(35,34,32,.12) 100%), linear-gradient(180deg, rgba(35,34,32,.18) 0%, rgba(35,34,32,.5) 55%, rgba(35,34,32,.8) 100%); }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(90px, 20vw, 200px); max-width: 640px; }
.hero h1 { font-size: clamp(38px, 7vw, 76px); letter-spacing: -0.02em; }
.hero p { font-size: clamp(17px, 2.4vw, 21px); color: var(--bothy-cream); opacity: .92; max-width: 44ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- Marquee strip ---------- */
.assurance { background: var(--fell-green); color: var(--bothy-cream); border-top: 1px solid rgba(245,245,243,.14); }
.assurance__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.assurance__item { display: flex; align-items: center; gap: 12px; padding: 18px var(--gutter); justify-content: center; text-align: left; }
.assurance__item + .assurance__item { border-left: 1px solid rgba(245,245,243,.14); }
.assurance__item svg { width: 24px; height: 24px; flex: none; color: var(--bracken); }
.assurance__item b { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.assurance__item span { font-size: 13px; color: var(--bothy-cream-2); }

/* ---------- Collection tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.tile {
  position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  color: var(--bothy-cream); background: var(--slate); isolation: isolate;
}
.tile--wide { grid-column: span 2; aspect-ratio: 16/10; }
.tile__media { position: absolute; inset: 0; z-index: -1; }
.tile__media svg, .tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover .tile__media svg, .tile:hover .tile__media img { transform: scale(1.04); }
.tile__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(35,34,32,0) 30%, rgba(35,34,32,.78) 100%); }
.tile__body { position: absolute; inset: auto 0 0 0; padding: clamp(18px, 2.4vw, 28px); }
.tile__kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bothy-cream-2); }
.tile__title { font-size: clamp(22px, 2.6vw, 30px); margin: 4px 0 2px; }
.tile__desc { font-size: 14px; color: var(--bothy-cream-2); margin: 0; max-width: 34ch; }
.tile__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.tile__cta svg { width: 14px; transition: transform .2s var(--ease); }
.tile:hover .tile__cta svg { transform: translateX(4px); }

/* ---------- Product grid + cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px) clamp(14px, 1.6vw, 22px); }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--wool-white); border: 1px solid var(--line); margin-bottom: 14px;
}
.card__media svg, .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media svg, .card:hover .card__media img { transform: scale(1.03); }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge {
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 8px; border-radius: var(--radius); background: var(--ink); color: var(--oatmeal);
}
.badge--gift { background: var(--sand); color: var(--ink); }
.badge--sale { background: var(--gorse); color: var(--slate); }
.badge--new { background: var(--lichen); color: var(--bottle); }
.card__wish {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.86); border: 0; display: grid; place-items: center; color: var(--slate);
  opacity: 0; transform: translateY(-4px); transition: opacity .2s var(--ease), transform .2s var(--ease), color .2s;
}
.card:hover .card__wish { opacity: 1; transform: translateY(0); }
.card__wish:hover { color: var(--bracken); }
.card__wish.is-on { color: var(--bracken); opacity: 1; }
.card__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  opacity: 0; transform: translateY(8px); transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.card:hover .card__quick { opacity: 1; transform: translateY(0); }
.card__maker { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.card__name { font-family: var(--serif); font-size: 18px; line-height: 1.2; margin: 3px 0 6px; }
.card__name a:hover { color: var(--bracken); }
.card__meta { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price { font-family: var(--mono); font-size: 15px; color: var(--fell-green); }
.price--old { color: var(--ink-soft); text-decoration: line-through; font-size: 13px; }
.card__swatches { display: flex; gap: 5px; margin-top: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
.split--reverse .split__media { order: 2; }
.split__media { aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split__media svg, .split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(28px, 4vw, 46px); }

/* ---------- Gift finder promo ---------- */
.giftband { background: var(--ink); color: var(--oatmeal); border-radius: var(--radius-panel); overflow: hidden; }
.giftband__inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding: clamp(28px, 4vw, 56px); }
.giftband h2 { font-size: clamp(28px, 4vw, 44px); }
.giftband p { color: var(--sand); max-width: 46ch; }
.giftfinder-mini { display: grid; gap: 12px; }

/* ---------- Journal cards ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); }
.article-card__media { aspect-ratio: 3/2; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; border: 1px solid var(--line); }
.article-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.article-card:hover .article-card__media svg { transform: scale(1.03); }
.article-card__cat { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bracken); }
.article-card h3 { font-size: 22px; margin: 8px 0 6px; }
.article-card:hover h3 { color: var(--bracken); }
.article-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.article-card__meta { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--fell-green); color: var(--bothy-cream); }
.newsletter__inner { max-width: 620px; margin-inline: auto; text-align: center; }
.newsletter h2 { font-size: clamp(28px, 4vw, 42px); }
.newsletter p { color: var(--bothy-cream-2); }
.subscribe { display: flex; gap: 10px; margin-top: 20px; }
.subscribe input {
  flex: 1; min-width: 0; padding: 15px 18px; border-radius: var(--radius); border: 1px solid rgba(245,245,243,.3);
  background: rgba(245,245,243,.08); color: var(--bothy-cream); font-size: 15px;
}
.subscribe input::placeholder { color: rgba(245,245,243,.6); }
.subscribe input:focus { outline: none; border-color: var(--bracken); background: rgba(245,245,243,.14); }
.form-note { font-size: 12px; color: var(--bothy-cream-2); margin-top: 12px; }
.form-note--ok { color: #BFE3B8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--fell-green-2); color: var(--bothy-cream); padding-block: clamp(48px, 6vw, 80px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand .brand__word { color: var(--bothy-cream); }
.footer-brand p { color: var(--bothy-cream-2); font-size: 14px; max-width: 32ch; margin-top: 16px; }
.footer-col h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bothy-cream-2); font-weight: 400; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; color: var(--bothy-cream); font-size: 14px; opacity: .88; }
.footer-col a:hover { opacity: 1; color: var(--bracken); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(245,245,243,.24); display: grid; place-items: center; }
.footer-social a:hover { background: var(--bracken); border-color: var(--bracken); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(245,245,243,.14); font-size: 12px; color: var(--bothy-cream-2); }
.footer-bottom a { border-bottom: 1px solid transparent; }
.footer-bottom a:hover { border-color: currentColor; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--fell-green); color: var(--bothy-cream); padding-block: clamp(48px, 7vw, 92px); position: relative; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; opacity: .5; }
.page-hero__media svg, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Real photos read better a little brighter than the generated scenes; the
   page-hero text keeps its own colour treatment for contrast. */
.page-hero__media--photo { opacity: .72; }
.page-hero__inner { position: relative; z-index: 2; max-width: 720px; }
.page-hero h1 { font-size: clamp(34px, 6vw, 60px); }
.page-hero p { color: var(--bothy-cream-2); font-size: clamp(16px, 2.2vw, 19px); max-width: 52ch; }
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bothy-cream-2); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--bracken); }
.breadcrumb--dark { color: var(--ink-soft); }
.breadcrumb--dark a { color: var(--slate); }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 248px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.filters { position: sticky; top: calc(var(--chrome-h) + 16px); }
.filter-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--slate); cursor: pointer; }
.filter-opt input { accent-color: var(--fell-green); width: 16px; height: 16px; }
.filter-opt .count { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-soft); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.shop-toolbar .result-count { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.select {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 34px 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%234C4E4C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--fell-green); appearance: none; cursor: pointer;
}
.filter-toggle { display: none; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 20px; background: var(--bothy-cream-2); color: var(--fell-green); }
.chip button { background: none; border: 0; color: inherit; font-size: 14px; line-height: 1; padding: 0; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.pdp__gallery { position: sticky; top: calc(var(--chrome-h) + 16px); display: grid; gap: 12px; }
.pdp__main { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--wool-white); border: 1px solid var(--line); }
.pdp__main svg { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pdp__thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--wool-white); padding: 0; }
.pdp__thumb.is-active { border-color: var(--fell-green); box-shadow: 0 0 0 1px var(--fell-green); }
.pdp__thumb svg { width: 100%; height: 100%; object-fit: cover; }
/* Real product photos: keep the uploaded proportions, never crop.
   The main image sizes itself to the photo; thumbnails/cards letterbox on white. */
.pdp__main--photo { aspect-ratio: auto; }
.pdp__main--photo img { width: 100%; height: auto; display: block; object-fit: contain; }
.card__media img, .pdp__thumb img, .cart-line__media img, .search-hit__img img { width: 100%; height: 100%; object-fit: contain; }
.pdp__maker { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bracken); }
.pdp h1 { font-size: clamp(28px, 4vw, 42px); margin: 8px 0 12px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pdp__price .price { font-size: 22px; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.stars { color: var(--ochre); letter-spacing: 2px; font-size: 15px; }
.pdp__pitch { font-size: 18px; color: var(--ink); font-family: var(--serif); line-height: 1.4; margin: 18px 0; }
.opt-row { margin: 18px 0; }
.opt-row__label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.opt-row__label a { color: var(--bracken); }
.opts { display: flex; gap: 10px; flex-wrap: wrap; }
.opt {
  min-width: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); font-family: var(--mono); font-size: 13px; color: var(--fell-green); transition: border-color .15s, background .15s;
}
.opt:hover { border-color: var(--fell-green); }
.opt.is-active { background: var(--fell-green); color: var(--bothy-cream); border-color: var(--fell-green); }
.opt--color { width: 38px; height: 38px; min-width: 0; border-radius: 50%; padding: 0; position: relative; }
.opt--color.is-active { box-shadow: 0 0 0 2px var(--bothy-cream), 0 0 0 4px var(--fell-green); }
.buy-row { display: flex; gap: 12px; margin: 22px 0; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.qty button { width: 44px; height: 100%; background: none; border: 0; font-size: 18px; color: var(--fell-green); }
.qty input { width: 40px; border: 0; text-align: center; font-family: var(--mono); background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gift-note { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: var(--bothy-cream-2); border-radius: var(--radius); font-size: 14px; margin: 16px 0; }
.gift-note svg { width: 20px; flex: none; color: var(--bilberry); margin-top: 2px; }
.pdp__accordion { border-top: 1px solid var(--line); margin-top: 24px; }
.acc { border-bottom: 1px solid var(--line); }
.acc__head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; background: none; border: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--fell-green); text-align: left; }
.acc__head svg { width: 16px; transition: transform .2s var(--ease); }
.acc.open .acc__head svg { transform: rotate(45deg); }
.acc__body { display: none; padding-bottom: 18px; color: var(--slate); font-size: 15px; }
.acc.open .acc__body { display: block; }
.spec-list { display: grid; gap: 6px; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border-bottom: 1px dotted var(--line); }
.spec-list dt { color: var(--ink-soft); }
.spec-list dd { margin: 0; text-align: right; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-line__media { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--wool-white); border: 1px solid var(--line); }
.cart-line__media svg { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font-family: var(--serif); font-size: 18px; }
.cart-line__opts { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: 4px 0 10px; }
.cart-line__remove { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); background: none; border: 0; padding: 0; border-bottom: 1px solid var(--line-strong); }
.cart-line__remove:hover { color: var(--bracken); border-color: var(--bracken); }
.cart-line__price { text-align: right; font-family: var(--mono); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 24px; position: sticky; top: calc(var(--chrome-h) + 16px); }
.summary h2 { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; color: var(--slate); }
.summary__row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 20px; color: var(--ink); font-family: var(--serif); }
.summary__row--total span:last-child { font-family: var(--mono); }
.ship-bar { height: 6px; border-radius: 4px; background: var(--bothy-cream-2); overflow: hidden; margin: 10px 0 6px; }
.ship-bar span { display: block; height: 100%; background: var(--bracken); transition: width .4s var(--ease); }

/* ---------- Gift finder page ---------- */
.gf-step { display: none; }
.gf-step.active { display: block; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gf-progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 36px; }
.gf-progress span { width: 44px; height: 4px; border-radius: 4px; background: var(--line-strong); transition: background .3s; }
.gf-progress span.done { background: var(--bracken); }
.gf-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; max-width: 760px; margin: 0 auto; }
.gf-option {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 26px 20px; background: var(--surface);
  text-align: center; transition: border-color .2s, transform .1s, box-shadow .2s;
}
.gf-option:hover { border-color: var(--fell-green); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gf-option svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--fell-green); }
.gf-option b { display: block; font-family: var(--serif); font-size: 20px; margin-bottom: 4px; }
.gf-option span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 10px; width: min(420px, calc(100vw - 32px)); }
.toast {
  background: var(--fell-green); color: var(--bothy-cream); padding: 14px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px; font-size: 14px;
  animation: toastin .3s var(--ease);
}
.toast svg { width: 20px; color: var(--bracken); flex: none; }
.toast a { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid rgba(245,245,243,.5); }
@keyframes toastin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Prose (journal / about) ---------- */
.prose { max-width: 68ch; margin-inline: auto; font-size: 18px; line-height: 1.75; color: #2B2A28; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose blockquote { border-left: 3px solid var(--bracken); padding-left: 22px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--fell-green); }
.prose figure { margin: 2em 0; }
.prose figure svg { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.prose figcaption { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.prose a { color: var(--bracken); border-bottom: 1px solid currentColor; }

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); padding: 28px; }
.value-card svg { width: 30px; color: var(--bracken); margin-bottom: 14px; }
.value-card h3 { font-size: 22px; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.hidden { display: none !important; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--fell-green); color: var(--bothy-cream); padding: 12px 18px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Search panel ---------- */
.search-panel { background: var(--bothy-cream); border-bottom: 1px solid var(--line); position: sticky; top: var(--chrome-h); z-index: 55; }
.search-input-wrap { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--fell-green); padding-bottom: 10px; }
.search-input-wrap svg { width: 22px; color: var(--slate); flex: none; }
.search-input-wrap input { flex: 1; border: 0; background: none; font-family: var(--serif); font-size: clamp(20px, 3vw, 30px); color: var(--fell-green); padding: 6px 0; }
.search-input-wrap input:focus { outline: none; }
.search-input-wrap input::placeholder { color: var(--line-strong); }
.search-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 12px; }
.search-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.search-hit { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius); transition: background .15s; }
.search-hit:hover { background: var(--bothy-cream-2); }
.search-hit__img { width: 48px; height: 60px; border-radius: 3px; overflow: hidden; flex: none; border: 1px solid var(--line); background: #fff; }
.search-hit__img svg { width: 100%; height: 100%; object-fit: cover; }
.search-hit b { display: block; font-family: var(--serif); font-size: 15px; line-height: 1.2; }
.search-hit i { font-family: var(--mono); font-size: 11px; font-style: normal; color: var(--ink-soft); }
.search-empty { color: var(--ink-soft); font-size: 15px; }
.search-empty a { color: var(--bracken); border-bottom: 1px solid; }

/* ---------- Gift-mini cards (home) ---------- */
.gf-mini-card { background: rgba(245,245,243,.08); border: 1px solid rgba(245,245,243,.18); border-radius: var(--radius); padding: 16px 18px; }
.gf-mini-card svg { width: 24px; color: var(--bracken); margin-bottom: 8px; }
.gf-mini-card b { display: block; font-family: var(--serif); font-size: 18px; }
.gf-mini-card span { font-size: 13px; color: var(--sand); }

/* ---------- Form field ---------- */
.field { display: block; }
.field span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.field input { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); font-size: 15px; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--fell-green); background: #fff; }

.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .assurance__grid { grid-template-columns: repeat(2, 1fr); }
  .assurance__item:nth-child(3) { border-left: 0; }
}
@media (max-width: 880px) {
  .nav-primary { display: none; }
  .nav-toggle { display: inline-grid; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .giftband__inner { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; aspect-ratio: 4/5; }
  .journal-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .assurance__grid { grid-template-columns: 1fr; }
  .assurance__item { border-left: 0 !important; border-top: 1px solid rgba(245,245,243,.14); }
  .assurance__item:first-child { border-top: 0; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(360px, 90vw); background: var(--bothy-cream); z-index: 80; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; padding: 20px var(--gutter); box-shadow: var(--shadow-md); top: 0; }
  .filters.open { transform: translateX(0); }
  .filter-toggle { display: inline-flex; }
  .card__wish { opacity: 1; }
  .subscribe { flex-direction: column; }
  .buy-row { flex-wrap: wrap; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
