/* ==========================================================================
   ReadyBurn Firewood — Design system
   Brand colours (overridden at runtime from config/site.js → colors):
     --charcoal:   #1E1B18  text, dark sections
     --ember:      #E8742A  buttons, accents (use charcoal text on it)
     --ember-text: #A84A14  ember for text/links on light backgrounds (AA contrast)
     --beige:      #EADBC8  natural wood, alternate sections
     --off-white:  #FAF7F2  page background
   Typography:
     Display: Fraunces (warm serif) — headings
     Body:    Inter — text
   Mobile-first: base styles are for phones; min-width queries add layout.
   ========================================================================== */

/* Self-hosted fonts (public/fonts) — no requests to Google Fonts.
   Variable woff2 files, Latin subset (covers English and French).
   Licence: SIL Open Font License 1.1 (see public/fonts/LICENSE-*.txt). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-variable.woff2") format("woff2");
}
:root {
  --charcoal: #1e1b18;
  --ember: #e8742a;
  --ember-text: #a84a14;
  --beige: #eadbc8;
  --off-white: #faf7f2;

  --charcoal-80: #3a3530;
  --muted: #5f564d;          /* secondary text on light backgrounds */
  --muted-light: #cfc4b6;    /* secondary text on dark backgrounds */
  --line: rgba(30, 27, 24, 0.12);
  --line-light: rgba(250, 247, 242, 0.16);
  --surface: #ffffff;
  --beige-soft: #f3ebe0;
  --danger: #b3261e;
  --whatsapp: #1f7a4d;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(30, 27, 24, 0.06), 0 8px 24px rgba(30, 27, 24, 0.08);
  --container: 1200px;
  --gutter: 1.25rem;
  --section-y: 4rem;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.2, 0.65, 0.3, 1);
  --shadow-lift: 0 22px 44px -22px rgba(30, 27, 24, 0.42);
}
/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--off-white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
h1, h2, h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: inherit;
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
h3, .h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--ember-text); text-underline-offset: 0.18em; }
a:hover { color: var(--charcoal); }
address { font-style: normal; }
:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--charcoal);
  color: var(--off-white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--off-white); }
main:focus { outline: none; }
/* Elements waiting to slide in (data-reveal="right") start 36 px to the right;
   clip them so a visitor who jumps straight to a section can't scroll sideways.
   `clip` (not `hidden`) creates no scroll container, so sticky elements still work. */
main { overflow-x: clip; }
[hidden] { display: none !important; }
/* ---- Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 820px; }
.section { padding: var(--section-y) 0; }
.section--tight { padding: 2.5rem 0 var(--section-y); }
.section--beige { background: var(--beige); }
.section--dark { background: var(--charcoal); color: var(--off-white); }
.section--dark a:not(.btn) { color: var(--ember); }
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-head--row { display: flex; flex-direction: column; gap: 1rem; max-width: none; }
.lead { font-size: 1.125rem; color: var(--muted); }
.section--dark .lead, .section--dark p { color: var(--muted-light); }
.section--dark h2, .section--dark h3 { color: var(--off-white); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-text);
  margin: 0 0 0.75rem;
}
.eyebrow--light { color: var(--ember); }
.split { display: grid; gap: 2rem; align-items: center; }
.split-text > :last-child { margin-bottom: 0; }
.card-grid { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-row--center { justify-content: center; }
/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 10px 24px -10px rgba(232, 116, 42, 0.75); }
.btn-whatsapp:hover { box-shadow: 0 10px 24px -10px rgba(31, 122, 77, 0.7); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ember); color: var(--charcoal); }
.btn-primary:hover { background: #f08a45; color: var(--charcoal); }
.btn-dark { background: var(--charcoal); color: var(--off-white); }
.btn-dark:hover { background: var(--charcoal-80); color: var(--off-white); }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); color: var(--off-white); }
.btn-outline-light { border-color: rgba(250, 247, 242, 0.7); color: var(--off-white); background: transparent; }
.btn-outline-light:hover { background: var(--off-white); color: var(--charcoal); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #17633e; color: #fff; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }
/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.topbar { background: var(--charcoal); color: var(--muted-light); font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: center; align-items: center; gap: 1rem; min-height: 36px; }
.topbar a { color: var(--off-white); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.topbar a:hover { color: var(--ember); }
.topbar-contact { display: none; gap: 1.25rem; }
.header-main {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.logo-link { display: inline-flex; text-decoration: none; color: var(--charcoal); border-radius: 8px; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo-mark { color: var(--charcoal); flex-shrink: 0; }
.logo--light .logo-mark { color: var(--off-white); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.06em; }
.logo-sub { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.42em; color: var(--ember-text); margin-top: 0.3rem; }
.logo--light .logo-word { color: var(--off-white); }
.logo--light .logo-sub { color: var(--ember); }
.logo-img { height: 48px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch-item {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 36px; padding: 0 0.6rem;
  border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; color: var(--charcoal);
}
.lang-switch-item.is-active { background: var(--charcoal); color: var(--off-white); }
a.lang-switch-item:hover { background: var(--beige); color: var(--charcoal); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 0; border-radius: 10px;
  background: transparent; color: var(--charcoal); cursor: pointer;
}
.nav-toggle:hover { background: var(--beige); }
.nav-toggle-icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon-close { display: inline-flex; }
/* Mobile nav: off-canvas panel under the header */
.main-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--off-white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.5rem var(--gutter) 1.25rem;
  max-height: calc(100vh - var(--header-h) - 36px);
  overflow-y: auto;
}
.main-nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.nav-link {
  display: block; padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal); font-weight: 500; text-decoration: none;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ember-text); }
.nav-link[aria-current="page"] { font-weight: 700; }
.nav-cta { width: 100%; white-space: nowrap; }
/* ---- Page header (inner pages) ------------------------------------------ */
.page-header {
  background: var(--charcoal);
  color: var(--off-white);
  padding: 3.5rem 0 3rem;
  background-image: radial-gradient(circle at 85% 20%, rgba(232, 116, 42, 0.22), transparent 45%);
}
.page-header h1 { color: var(--off-white); max-width: 22ch; }
.page-header .eyebrow { color: var(--ember); }
.page-header .lead { color: var(--muted-light); max-width: 62ch; margin-bottom: 0; }
/* ---- Photos (placeholder-friendly) --------------------------------------- */
.photo {
  margin: 0; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--beige-soft);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
/* Image file missing → labelled placeholder (set by public/js/main.js) */
.photo { position: relative; }
.photo--missing img { visibility: hidden; }
.photo--missing::after {
  content: attr(data-missing-label);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 1rem; text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--muted);
  border: 2px dashed var(--line);  border-radius: inherit;
}

/* ---- Feature cards ------------------------------------------------------- */
.feature-card, .info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.feature-card h3, .info-card h3 { margin-bottom: 0.4rem; }
.feature-card p, .info-card p { color: var(--muted); margin: 0; }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--beige); color: var(--ember-text);
}
.info-facts { list-style: none; padding: 0; margin: 1rem 0 0; font-size: 0.92rem; color: var(--muted); }
.info-facts li { padding: 0.35rem 0; border-top: 1px dashed var(--line); }
.info-facts strong { color: var(--charcoal); }
/* ---- Products ------------------------------------------------------------ */
.product-grid { display: grid; gap: 1.75rem; }
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(30, 27, 24, 0.05), 0 10px 30px -18px rgba(30, 27, 24, 0.25);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.product-card .photo { border-radius: 0; }
.product-card .photo img { transition: transform 0.8s var(--ease-out); }
.product-card:hover .photo img { transform: scale(1.06); }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.6rem; }
.product-card-title { font-size: 1.35rem; margin-bottom: 0.4rem; }
.product-card-title a { color: var(--charcoal); text-decoration: none; }
.product-card:hover .product-card-title a { color: var(--ember-text); }
.product-card-tagline { color: var(--muted); margin-bottom: 1.1rem; }
.product-tags { margin: 0 0 1.4rem; display: grid; gap: 0.45rem; }
.product-tags dd { margin: 0; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.65rem; border-radius: 999px;
  background: var(--beige-soft); color: var(--charcoal);
  font-size: 0.8rem; font-weight: 500; line-height: 1.4;
}
.tag--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.tag .icon { color: var(--ember-text); }
.product-card-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--ember-text);
}
.product-card-cta .icon { transition: transform 0.3s var(--ease-out); }
.product-card:hover .product-card-cta .icon { transform: translateX(5px); }
.stretched-link::after { content: ""; position: absolute; inset: 0; }
.stretched-link:focus-visible { outline: none; }
.stretched-link:focus-visible::after { outline: 3px solid var(--ember); outline-offset: -3px; border-radius: var(--radius-lg); }
.mini-specs { margin: 0; font-size: 0.88rem; }
.mini-specs div { display: flex; gap: 0.5rem; padding: 0.35rem 0; border-top: 1px solid var(--line); }
.mini-specs dt { font-weight: 600; min-width: 80px; }
.mini-specs dd { margin: 0; color: var(--muted); }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex; align-items: center;
  padding: 0.35rem 0.8rem; border-radius: 999px;
  background: var(--beige-soft); border: 1px solid var(--line);
  font-size: 0.88rem;
}
.chip--lg { padding: 0.6rem 1.1rem; font-size: 1rem; background: var(--surface); }
.length-groups { display: grid; gap: 2rem; }
.length-groups h3 { font-size: 1.05rem; }
.section--beige .check-list .icon, .check-list--boxed .icon { color: var(--ember-text); }
.check-list--boxed li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; }

/* ---- Markets ------------------------------------------------------------- */
.market-mode-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ember-text);
}
/* Flags: self-hosted SVG (public/images/flags), 4:3 with a hairline border */
.flag {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: center / cover no-repeat var(--beige-soft);
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(30, 27, 24, 0.12), 0 2px 6px rgba(30, 27, 24, 0.12);
}
.flag--md { width: 40px; height: 30px; }
.section-foot { margin: 2rem 0 0; }
/* ---- CTA band ------------------------------------------------------------ */
.cta-band {
  background: var(--charcoal); color: var(--off-white);
  padding: 3.5rem 0;
  background-image: radial-gradient(circle at 10% 120%, rgba(232, 116, 42, 0.3), transparent 50%);
}
.cta-band-inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: var(--off-white); margin-bottom: 0.4rem; }
.cta-band p { color: var(--muted-light); margin: 0; max-width: 60ch; }
/* ---- Cards / forms ------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card--dark { background: var(--charcoal); color: var(--off-white); border-color: var(--charcoal); }
.card--dark .h3 { color: var(--off-white); }
.form-grid { display: grid; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; min-width: 0; }
.form-grid .field { margin-bottom: 0; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
.field label { font-weight: 600; font-size: 0.95rem; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px;
  padding: 0.7rem 0.85rem;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--charcoal);
  background: var(--surface);
  border: 1.5px solid #b9ada0;
  border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 110px; }
.field textarea[data-autogrow] { max-height: 32rem; overflow-y: auto; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ember-text); outline: 3px solid rgba(232, 116, 42, 0.35); outline-offset: 0; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231E1B18' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; padding-right: 2.4rem; }
.field-error { margin: 0; font-size: 0.88rem; color: var(--danger); font-weight: 600; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.form-alert {
  background: #fdecea; color: #7a1712;
  border-left: 4px solid var(--danger);
  padding: 0.8rem 1rem; border-radius: 6px; font-weight: 600;
}
.form-note { font-size: 0.9rem; color: var(--muted); margin: 1.25rem 0; }
.form-card .h3 { margin-bottom: 0.5rem; }
/* Honeypot — hidden from people, visible to naive bots */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* ---- Export -------------------------------------------------------------- */
.fact-line { display: flex; gap: 0.6rem; align-items: flex-start; }
.fact-line .icon { color: var(--ember-text); margin-top: 0.2rem; }
.stack-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.75rem; }
.fact-card {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: var(--surface); border-radius: var(--radius); padding: 1rem;
  border: 1px solid var(--line);
}
.fact-card .icon { color: var(--ember-text); margin-top: 0.2rem; }
.fact-card div { display: grid; gap: 0.15rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.data-table th, .data-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--charcoal); color: var(--off-white); font-size: 0.9rem; }
.data-table tbody th { font-weight: 600; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.plain-list { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.plain-list li { padding: 0.35rem 0; border-top: 1px solid var(--line); }
.plain-list li:first-child { border-top: 0; }
/* ---- Status pages (thank you / 404 / 500) -------------------------------- */
.status-page { text-align: center; padding: 5rem 0; }
.status-page .lead { margin-left: auto; margin-right: auto; max-width: 56ch; }
.status-icon { display: flex; justify-content: center; color: var(--whatsapp); margin: 0 auto 0.75rem; }
.status-code {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(4rem, 16vw, 7rem); line-height: 1; color: var(--ember);
  margin-bottom: 0.5rem;
}
.ref-badge {
  display: inline-block; background: var(--beige); border-radius: 999px;
  padding: 0.4rem 1rem; font-weight: 600; font-size: 0.95rem;
}
.status-next { margin-top: 2.5rem; }
/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: #161411; color: var(--muted-light); padding: 3.5rem 0 0; font-size: 0.95rem; }
.site-footer a { color: var(--off-white); text-decoration: none; }
.site-footer a:hover { color: var(--ember); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
.footer-tagline { font-family: var(--font-display); color: var(--ember); font-size: 1.1rem; margin: 1rem 0 0.5rem; }
.footer-blurb { max-width: 40ch; }
.footer-heading {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--off-white);
  margin: 0 0 1rem;
}
.footer-heading--spaced { margin-top: 1.75rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .icon { color: var(--ember); margin-top: 0.25rem; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 0.4rem;
  border-top: 1px solid var(--line-light);
  padding-top: 1.25rem; padding-bottom: 1.5rem;
  font-size: 0.85rem;
}
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* ---- Floating WhatsApp button -------------------------------------------- */
/* Round, icon-only (56 px) on every screen size. The label is in aria-label/title. */
.whatsapp-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; padding: 0;
  border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none; font-weight: 600;
  transition: transform 0.18s ease, background-color 0.18s ease;
}
.whatsapp-float:hover { background: #17633e; color: #fff; transform: translateY(-2px); }
/* Room below the last content so the floating button never covers it
   (56 px button + 1–1.25 rem offset + breathing space). */
.has-whatsapp-float .footer-bottom { padding-bottom: calc(56px + 2.5rem); }
.whatsapp-float:focus-visible { outline-color: var(--charcoal); box-shadow: 0 0 0 3px var(--off-white); }

/* ---- Product detail page -------------------------------------------------- */
.card-grid--1 { max-width: 420px; }
/* Quote form opened from a product page */
.quote-product { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.25rem; padding: 0.8rem 1rem; border-radius: var(--radius); background: var(--beige-soft); }
.quote-product .icon { color: var(--ember-text); }
/* ==========================================================================
   Motion — scroll reveals (public/js/main.js)
   Only active when <html> has "js-motion" (JavaScript on, IntersectionObserver
   available, no reduced-motion preference). Otherwise everything is visible.
   Only opacity and transform are animated. Each element animates once; when
   done, main.js removes data-reveal so hover effects run at their own speed.
   ========================================================================== */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
.js-motion [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js-motion [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js-motion [data-reveal="zoom"] { transform: scale(0.96); }
.js-motion [data-reveal].is-revealed { opacity: 1; transform: none; }
/* ==========================================================================
   Breakpoints (mobile-first)
   ========================================================================== */
/* Small phones: keep logo + language switch + menu button on one line */
@media (max-width: 400px) {
  .header-main { gap: 0.5rem; }
  .logo { gap: 0.45rem; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-word { font-size: 1.08rem; letter-spacing: 0.04em; }
  .logo-sub { font-size: 0.58rem; letter-spacing: 0.34em; }
  .header-actions { gap: 0.25rem; }
  .lang-switch-item { min-width: 34px; padding: 0 0.45rem; }
  .nav-toggle { width: 44px; height: 44px; }
}
@media (min-width: 600px) {
  :root { --gutter: 1.5rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row .field--narrow { max-width: none; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .field--full { grid-column: 1 / -1; }
  .market-grid, .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid--n1 { grid-template-columns: 1fr; }
  .feature-grid--n3 > :last-child { grid-column: 1 / -1; }
  .length-groups { grid-template-columns: 1fr 1fr; }
  .topbar-inner { justify-content: space-between; }
  .topbar-contact { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .whatsapp-float { right: 1.25rem; bottom: 1.25rem; }
}
@media (min-width: 900px) {
  :root { --section-y: 5.5rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .feature-grid--n3 { grid-template-columns: repeat(3, 1fr); }
  .feature-grid--n3 > :last-child { grid-column: auto; }
  .process--n3 { --steps: 3; }
  .cta-band-inner { grid-template-columns: 1fr auto; }
  .section-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .card { padding: 2rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 2.5rem; }
}
/* Desktop navigation */
@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .main-nav {
      display: flex !important; align-items: center; gap: 1.25rem;
      position: static; padding: 0; background: none; border: 0; box-shadow: none;
      max-height: none; overflow: visible;
    }
  .nav-list { display: flex; gap: 0.25rem; margin: 0; }
  .nav-link { border: 0; padding: 0.5rem 0.6rem; border-radius: 8px; font-size: 0.95rem; white-space: nowrap; }
  .nav-link:hover { background: var(--beige); color: var(--charcoal); }
  .nav-link[aria-current="page"] { color: var(--ember-text); box-shadow: inset 0 -2px 0 var(--ember); border-radius: 0; }
  .nav-cta { width: auto; min-height: 44px; padding: 0.55rem 1.15rem; font-size: 0.95rem; }
  .header-main { gap: 1.5rem; }
  .main-nav { margin-left: auto; }
}
/* ==========================================================================
   Part 02 — Products page, product detail page, credits, markets fixes
   ========================================================================== */
.section--beige-soft { background: var(--beige-soft); }
.muted { color: var(--muted); }
.photo picture { display: contents; }
/* ---- Page hero with photo (Products) ------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--off-white); background: var(--charcoal);
  min-height: min(70vh, 560px); display: flex; align-items: center;
  padding: 4rem 0;
}
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media .photo { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto !important; height: 100%; }
.page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 27, 24, 0.55) 0%, rgba(30, 27, 24, 0.45) 50%, rgba(30, 27, 24, 0.85) 100%),
    linear-gradient(100deg, rgba(30, 27, 24, 0.88) 0%, rgba(30, 27, 24, 0.72) 100%);
}
@media (min-width: 900px) {
  .page-hero-media::after {
      background:
        linear-gradient(180deg, rgba(30, 27, 24, 0.3) 0%, transparent 40%, rgba(30, 27, 24, 0.6) 100%),
        linear-gradient(100deg, rgba(30, 27, 24, 0.92) 0%, rgba(30, 27, 24, 0.75) 50%, rgba(30, 27, 24, 0.35) 100%);
    }
}
.page-hero h1 { color: var(--off-white); max-width: 18ch; }
.page-hero-lead { max-width: 58ch; font-size: 1.1rem; color: #e9e2d8; margin-bottom: 1.75rem; }

/* ---- Product filters ------------------------------------------------------ */
.product-grid > [hidden] { display: none !important; }
/* Product card: image + category label */
.product-card-media { position: relative; }
.product-card-category {
  position: absolute; left: 0.9rem; top: 0.9rem;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: rgba(30, 27, 24, 0.82); color: var(--off-white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
/* ---- FAQ accordion -------------------------------------------------------- */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.02rem; border-radius: var(--radius-lg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--ember-text); transition: transform 0.3s var(--ease-out); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item[open] { border-color: rgba(232, 116, 42, 0.45); }
.faq-answer { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq-answer p { margin: 0; }

/* ---- Lightbox ------------------------------------------------------------- */
.has-lightbox { overflow: hidden; }
/* ---- Credits page --------------------------------------------------------- */
.credit-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.credit-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 2rem); }
.credit-card .photo { border-radius: 0; }
.credit-body { padding: 1.1rem 1.25rem 1.25rem; }
.credit-body h2 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.credit-body p { margin: 0 0 0.3rem; font-size: 0.9rem; color: var(--muted); }
.credit-body .credit-photographer { color: var(--charcoal); font-weight: 600; }
.credit-date { font-size: 0.8rem !important; }

/* ---- Markets page: balanced grid + full-width "Other markets" band -------- */
/* Quote page opened with ?focus=destination */
.field select.is-highlighted { box-shadow: 0 0 0 4px rgba(232, 116, 42, 0.35); border-color: var(--ember-text); }
/* Floating WhatsApp button: tucked away while the CTA band / footer is visible */
.whatsapp-float { transition: transform 0.25s var(--ease-out), opacity 0.25s ease, visibility 0.25s, background-color 0.18s ease; }
.whatsapp-float.is-tucked { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; }
@media (min-width: 600px) {
  .credit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .page-hero { min-height: 520px; padding: 5rem 0; }
  .credit-grid { grid-template-columns: repeat(3, 1fr); }
  .market-list--n3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1180px) {
  .credit-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Part 03 — Export & Shipping, Sustainability & Quality, shared gauge,
   product CTA fix. Motion hooks only act under .js-motion (see main.js):
   without JavaScript or with reduced motion everything shows its final state.
   ========================================================================== */
.section--dark .h4 { color: var(--off-white); }
/* ---- Hero chips + text fade-up ------------------------------------------ */
.hero-chips { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: rgba(250, 247, 242, 0.1); border: 1px solid rgba(250, 247, 242, 0.25);
  color: var(--off-white); font-size: 0.9rem; font-weight: 600;
  backdrop-filter: blur(4px);
}
.hero-chips .icon { color: var(--ember); }
.page-hero--export h1, .page-hero--sustainability h1 { max-width: 20ch; }
/* Fade-up of the hero text only (the photo is the LCP and is never hidden) */
@keyframes hero-up { from { opacity: 0.25; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
.js-motion .hero-fade > * { animation: hero-up 0.7s var(--ease-out) both; }
.js-motion .hero-fade > :nth-child(2) { animation-delay: 0.06s; }
.js-motion .hero-fade > :nth-child(3) { animation-delay: 0.12s; }
.js-motion .hero-fade > :nth-child(4) { animation-delay: 0.18s; }
.js-motion .hero-fade > :nth-child(5) { animation-delay: 0.24s; }
/* ---- Image subtle zoom (on reveal + hover) ------------------------------ */
.photo--zoom img { transition: transform 1.2s var(--ease-out); }
.js-motion [data-reveal] .photo--zoom img { transform: scale(1.06); }
.js-motion .is-revealed .photo--zoom img { transform: none; }
.mode-card:hover .photo--zoom img, .image-reveal:hover .photo--zoom img { transform: scale(1.04); }
/* ---- Source notes + badges ---------------------------------------------- */
.source-note { margin: 1.5rem 0 0; font-size: 0.85rem; color: var(--muted); max-width: 90ch; }
.source-note a { color: var(--ember-text); }
.source-note--dark { color: var(--muted-light); }
.source-note--dark a { color: var(--ember); }
.source-note-label { font-weight: 700; }

/* ---- Dry wood + gauge --------------------------------------------------- */
.gauge { margin: 0; padding: 1.25rem 1.25rem 1rem; border-radius: var(--radius-lg); }
.gauge--dark { background: rgba(250, 247, 242, 0.05); border: 1px solid var(--line-light); }
.gauge--light { background: var(--surface); border: 1px solid var(--line); }
.gauge-svg { width: 100%; height: auto; max-width: 420px; margin: 0 auto; overflow: visible; }
.gauge-track { fill: none; stroke: rgba(127, 116, 104, 0.35); stroke-width: 18; stroke-linecap: round; }
.gauge-zone { fill: none; stroke-width: 18; }
.gauge-zone--target { stroke: #4caf7d; stroke-linecap: round; }
.gauge-zone--fresh { stroke: #5b8fd6; }
.gauge-tick { stroke: currentColor; stroke-width: 2; opacity: 0.5; }
.gauge-tick-label, .gauge-end, .gauge-unit { fill: currentColor; font: 600 12px var(--font-body); }
.gauge-end { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.gauge-unit { font-size: 15px; opacity: 0.7; }
.gauge--dark { color: var(--muted-light); }
.gauge--light { color: var(--muted); }
.gauge-needle { transform-origin: 160px 160px; transform: rotate(var(--needle-to)); transition: transform 2.2s cubic-bezier(0.34, 1.2, 0.5, 1) 0.3s; }
.gauge-needle path { fill: var(--ember); }
.gauge-hub { fill: var(--ember); stroke: var(--charcoal); stroke-width: 4; }
.gauge--light .gauge-hub { stroke: var(--off-white); }
.js-motion .gauge[data-reveal-line]:not(.is-revealed) .gauge-needle { transform: rotate(var(--needle-from)); transition: none; }
.gauge-legend { display: grid; gap: 0.4rem; margin-top: 0.9rem; font-size: 0.92rem; }
.gauge-legend-item { display: block; position: relative; padding-left: 1.5rem; }
.gauge-legend-item .gauge-swatch { position: absolute; left: 0; top: 0.25rem; }
.gauge--dark .gauge-legend-item strong { color: var(--off-white); }
.gauge-swatch { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.gauge-legend-item--fresh .gauge-swatch { background: #5b8fd6; }
.gauge-legend-item--target .gauge-swatch { background: #4caf7d; }
.gauge-legend small { font-size: 0.85em; opacity: 0.85; }
.section--dark .gauge + .photo, .gauge + .photo { margin-top: 1rem; }

/* ---- Certifications note + EUDR note ------------------------------------- */
/* ==========================================================================
   Part 04 — shared by About and Contact
   ========================================================================== */
/* ---- Full-width photo band (About "Canadian roots", Contact "Our region") --
   The photo moves a few pixels slower than the page ([data-parallax], main.js);
   it is taller than the band so the movement never shows an edge. */
.photo-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; min-height: clamp(320px, 46vw, 540px); padding: 4.5rem 0;
  background: var(--charcoal); color: var(--off-white);
}
.photo-band-media { position: absolute; inset: 0; z-index: -1; }
.photo-band-media .photo { position: absolute; left: 0; right: 0; top: -32px; height: calc(100% + 64px); border-radius: 0; aspect-ratio: auto !important; }
.js-motion .photo-band-media .photo img { transform: translate3d(0, var(--parallax, 0px), 0); will-change: transform; }
.photo-band-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30, 27, 24, 0.86) 0%, rgba(30, 27, 24, 0.6) 55%, rgba(30, 27, 24, 0.35) 100%);
}
.photo-band-line {
  margin: 0 0 1.5rem; max-width: 24ch;
  font-family: var(--font-display); font-weight: 600; line-height: 1.2;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem); color: var(--off-white);
}
.photo-band-content > :last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .product-card:hover, .whatsapp-float:hover,
    .feature-card:hover, .market-card:hover, .product-card:hover .photo img,
    .feature-card:hover .feature-icon--lg, .process-step:hover .process-num,
    .guide-card:hover, .product-gallery-main:hover .product-gallery-zoom, .whatsapp-float.is-tucked { transform: none; }
}
@media print {
  .site-header, .whatsapp-float, .cta-band, .site-footer { display: none; }
  body { background: #fff; }
}

/* ==========================================================================
   Shared since Part 05
   ========================================================================== */
/* ---- Lightbox (product gallery + credits gallery, views/partials/lightbox.ejs) ---- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--off-white);
}
.lightbox::backdrop { background: rgba(14, 12, 10, 0.92); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 4rem 1rem; }
.lightbox-figure { margin: 0; max-width: min(1200px, 100%); display: grid; gap: 0.75rem; justify-items: center; }
.lightbox-stage img { max-width: 100%; max-height: calc(100vh - 10rem); width: auto; height: auto; border-radius: 12px; }
.lightbox figcaption { font-size: 0.92rem; color: var(--muted-light); text-align: center; }
.lightbox-counter { margin-left: 0.5rem; font-weight: 600; color: var(--off-white); }
.lightbox-btn {
  position: absolute; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(250, 247, 242, 0.12); color: var(--off-white);
  transition: background-color 0.2s ease;
}
.lightbox-btn:hover { background: var(--ember); color: var(--charcoal); }
.lightbox-btn:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 599px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; transform: none; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
}
/* ---- CTA band with a photo (Export & Shipping, Markets) ---- */
.cta-band--photo { position: relative; isolation: isolate; overflow: hidden; padding: 5rem 0; background-image: none; }
.cta-band-media { position: absolute; inset: 0; z-index: -1; }
.cta-band-media .photo { position: absolute; inset: 0; height: 100%; border-radius: 0; aspect-ratio: auto !important; }
.cta-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(30, 27, 24, 0.9) 0%, rgba(30, 27, 24, 0.7) 55%, rgba(30, 27, 24, 0.45) 100%); }
.cta-band--photo p { color: #e9e2d8; }
/* ---- Filter chips (Products filters, Credits filter) ---- */
.filter-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 1rem;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--off-white);
  color: var(--charcoal); font-weight: 600; font-size: 0.92rem; text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-chip:hover { border-color: var(--ember); color: var(--charcoal); }
.filter-chip[aria-current="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--off-white); }

/* ---- Part 12: "More details" accordions (partials/more-start.ejs), FAQ "Show all" ---- */
.section--collapsed { padding: 0.9rem 0; }
.section--collapsed.section--dark { background: transparent; color: inherit; }
.more-stack { display: grid; gap: 0.75rem; }
.more-block { background: var(--surface); color: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.more-block[open] { border-color: rgba(232, 116, 42, 0.45); }
.more-block-summary {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  border-radius: var(--radius-lg);
}
.more-block-summary::-webkit-details-marker { display: none; }
.more-block-summary:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.more-block-head { flex: 1; display: grid; gap: 0.2rem; }
.more-block-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.more-block-text { color: var(--muted); font-size: 0.95rem; }
.more-block-hint { color: var(--ember-text); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.more-block-summary .icon { color: var(--ember-text); transition: transform 0.3s var(--ease-out); flex: none; }
.more-block[open] > .more-block-summary .icon { transform: rotate(45deg); }
.more-block-body { padding: 0.25rem 1.25rem 1.5rem; }
/* Sections nested in an accordion: no second band of padding / background */
.more-block .section, .more-block .section--dark, .more-block .section--beige, .more-block .section--beige-soft { padding: 1rem 0; background: transparent; color: inherit; }
.more-block .container { padding: 0; max-width: none; }
.more-block .section-head { margin-bottom: 1rem; }
/* the heading that repeats the accordion title (it stays in the HTML) */
.more-block-body > .section-head h2, .more-block-body > section:first-of-type > .container > .section-head h2 { display: none; }
.more-block .eyebrow--light, .more-block .lead { color: var(--muted); }
.section--dark .more-block h3, .section--dark .more-block p, .section--dark .more-block li { color: var(--charcoal); }
@media (max-width: 599px) {
  .more-block-hint { display: none; }
  .more-block-title { font-size: 1.08rem; }
}
.faq-more { margin-top: 0.25rem; }
.faq-more > summary { list-style: none; justify-self: start; display: inline-flex; margin-bottom: 0.75rem; }
.faq-more > summary::-webkit-details-marker { display: none; }
.faq-more[open] > summary { display: none; }

/* ---- Part 12: product detail — one-liner, "from" price, fact chips, good to know ---- */
.product-oneliner { margin-bottom: 1rem; }
.price-from { margin: 0 0 1rem; }
.price-from-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--charcoal); }
.price-from-unit { color: var(--muted); font-weight: 600; }
.price-from-note { color: var(--muted); font-size: 0.82rem; }
/* Part 13: "From <real minimum total>" block (product page) */
.price-from > p { margin: 0; }
.price-from .price-from-value { display: block; line-height: 1.2; }
.price-from-min { margin-top: 0.2rem !important; font-weight: 600; font-size: 0.92rem; color: var(--charcoal); }
.price-from-note { margin-top: 0.25rem !important; }
.price-from .price-from-unit { margin-top: 0.25rem !important; font-size: 0.85rem; font-weight: 500; }
.fact-chip-note { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.75rem; font-weight: 400; line-height: 1.35; }
.fact-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; }
.fact-chip { background: var(--beige-soft); border: 1px solid var(--line); border-radius: 12px; padding: 0.5rem 0.75rem; min-width: 0; max-width: 100%; }
.fact-chip dt { display: flex; align-items: center; gap: 0.35rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.fact-chip dt .icon { color: var(--ember-text); }
.fact-chip dd { margin: 0.15rem 0 0; font-size: 0.92rem; font-weight: 600; }
.product-good { padding-top: 0; }
.product-good h2 { margin-bottom: 0.75rem; }
.product-more { padding-top: 0; }
.product-shipping .doc-list { margin: 0.75rem 0; }
.product-more-summary { margin-bottom: 1rem; }

/* ---- Part 12: short product card (Products page) ---- */
.product-card--lean .product-card-tagline { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-price { margin: 0.25rem 0 0.6rem; font-weight: 700; color: var(--ember-text); }
/* Part 13: three price lines on the cards — total, minimum + place, muted per-m³ wood price */
.product-card-price > p { margin: 0; }
.product-card-price-main { font-size: 1.05rem; }
.product-card-price-min { font-size: 0.82rem; font-weight: 600; color: var(--charcoal); }
.product-card-price-unit { font-size: 0.78rem; font-weight: 500; color: var(--muted); }
/* Part 13b: "Estimate" tag (sample rates) next to the From price; admin-only reason note */
.price-estimate-tag { display: inline-block; vertical-align: middle; margin-left: 0.35rem; padding: 0.05rem 0.45rem; border: 1px solid currentColor; border-radius: 999px; font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ember-text); line-height: 1.5; }
.price-admin-hint { position: relative; z-index: 2; margin: 0.25rem 0 0.75rem; padding: 0.4rem 0.6rem; border: 1px dashed var(--danger); border-radius: 8px; background: #fff4f2; color: var(--charcoal); font-size: 0.75rem; font-weight: 500; line-height: 1.4; }
.price-admin-hint code { font-size: 0.72rem; word-break: break-all; }
.product-card-chips { margin-bottom: 1rem; }
.product-card--lean .product-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; position: relative; z-index: 2; }
.more-block--wide .more-block-body > .lead { max-width: 60ch; }
