/* =========================================================================
   Shutters365 — Redesign Prototype
   Shared design system
   Brand: red #D62828 used as a disciplined conversion accent over warm
   neutrals, with a dark "ink" header/footer where the white logo sits.
   Type: Fraunces (display serif) + Inter (UI/body).
   ========================================================================= */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Brand */
  --red: #d62828;
  --red-bright: #f43737;
  --red-dark: #a91d1d;
  --red-tint: #fbeceb;

  /* Ink / neutrals */
  --ink: #15171c;          /* header, footer, strong headings */
  --ink-2: #1d2026;
  --ink-3: #2a2e36;
  --charcoal: #23262d;     /* primary text */
  --text: #4b5058;         /* body text */
  --muted: #7b8089;        /* secondary text */
  --faint: #9aa0a8;

  /* Warm surfaces */
  --paper: #fbf9f6;        /* page background */
  --paper-2: #f4efe8;      /* alternating section */
  --sand: #efe8dd;         /* cards / panels */
  --stone: #e6dccc;        /* deeper warm */
  --white: #ffffff;

  /* Lines */
  --line: #e8e1d6;
  --line-2: #ded5c7;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Accents */
  --gold: #c39a4d;         /* stars / premium marks */
  --green: #2f7d54;        /* trust / in-stock */
  --green-tint: #e8f3ec;

  /* Radius */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadow */
  --sh-xs: 0 1px 2px rgba(21, 23, 28, 0.06);
  --sh-sm: 0 2px 8px rgba(21, 23, 28, 0.06), 0 1px 2px rgba(21, 23, 28, 0.04);
  --sh: 0 10px 30px -12px rgba(21, 23, 28, 0.18), 0 2px 8px rgba(21, 23, 28, 0.05);
  --sh-lg: 0 30px 60px -22px rgba(21, 23, 28, 0.30), 0 6px 16px rgba(21, 23, 28, 0.06);

  /* Type */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: 24px;
  --header-h: 76px;
  --promo-h: 40px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* Stop mobile horizontal scroll at the viewport: body's overflow-x:hidden can't
   clip the off-screen fixed drawer (translateX(100%)) on iOS Safari. `hidden` is
   the universal fallback; `clip` (modern browsers) overrides it without creating
   a scroll container, so the sticky header is unaffected. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------------------------------------- Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 540;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.95rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text); }
strong { color: var(--charcoal); font-weight: 600; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.eyebrow.center { justify-content: center; }
.lead { font-size: 1.15rem; color: var(--text); line-height: 1.65; }
.serif-accent { font-family: var(--font-display); font-style: italic; }

/* --------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 840px; }
section { position: relative; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.bg-paper-2 { background: var(--paper-2); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: #cfd2d8; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color .2s;
  border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { --btn-bg: var(--red); box-shadow: 0 10px 22px -10px rgba(214, 40, 40, 0.7); }
.btn-primary:hover { --btn-bg: var(--red-dark); box-shadow: 0 14px 26px -10px rgba(214, 40, 40, 0.75); }

.btn-dark { --btn-bg: var(--ink); }
.btn-dark:hover { --btn-bg: #000; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-outline:hover { border-color: var(--ink); background: var(--white); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }

.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: gap 0.2s var(--ease), color .2s;
  font-size: 0.98rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- Pills / badges */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--sand);
  color: var(--charcoal);
}
.pill-red { background: var(--red-tint); color: var(--red-dark); }
.pill-green { background: var(--green-tint); color: var(--green); }
.pill-gold { background: #f7efdc; color: #8a6a1e; }
.pill svg { width: 14px; height: 14px; }

.tag-popular {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  z-index: 2;
}

/* --------------------------------------------------------------- Stars */
.stars { display: inline-flex !important; gap: 2px; color: var(--gold); line-height: 1; }
.stars svg { width: 17px; height: 17px; min-width: 17px; fill: var(--gold); display: inline-block; }

/* ===================================================== PROMO BAR + HEADER */
.promo-bar {
  background: var(--ink);
  color: #f0e9df;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  height: var(--promo-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-bottom: 1px solid var(--line-dark);
}
.promo-bar strong { color: #fff; }
.promo-bar .promo-code {
  border: 1px dashed rgba(255, 255, 255, 0.4);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}
.promo-bar .dot { color: rgba(255, 255, 255, 0.4); }
@media (max-width: 720px) { .promo-bar .hide-sm { display: none; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #e7e9ee;
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand img { height: 34px; width: auto; }
.brand { flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.main-nav > li > a,
.main-nav > li > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: #d7dae1;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}
.main-nav > li > a:hover,
.main-nav > li > button:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.main-nav .caret { width: 13px; height: 13px; opacity: 0.7; transition: transform 0.2s; }
.has-mega { position: relative; }
.has-mega:hover .caret { transform: rotate(180deg); }

/* Mega dropdown */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  right: auto;
  transform: translateY(8px);
  width: min(720px, 90vw);
  max-width: calc(100vw - 32px);
  background: var(--white);
  color: var(--text);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  border: 1px solid var(--line);
}
.has-mega:hover .mega,
.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-col-head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 12px;
}
.mega-item {
  display: flex;
  gap: 13px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  transition: background 0.15s;
  align-items: center;
}
.mega-item:hover { background: var(--paper-2); }
.mega-item .mi-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--sand);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--red);
}
.mega-item .mi-icon svg { width: 22px; height: 22px; }
.mega-item b { display: block; color: var(--ink); font-size: 0.95rem; }
.mega-item span { font-size: 0.83rem; color: var(--muted); }
.mega-foot {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mega-foot .from { font-size: 0.85rem; color: var(--muted); }
.mega-foot .from b { color: var(--ink); font-size: 1rem; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: #d7dae1;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 17px; height: 17px;
  background: var(--red);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 4px;
  border: 2px solid var(--ink);
}
.header-cta { margin-left: 8px; }
.hamburger { display: none; }

/* ----------------------------------------------------- Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 11, 14, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s;
  z-index: 200;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(360px, 86vw);
  background: var(--ink);
  color: #e7e9ee;
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 18px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.drawer-head img { height: 30px; }
.drawer-nav { margin-top: 8px; }
.drawer-nav a, .drawer-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 8px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #e7e9ee;
  border-bottom: 1px solid var(--line-dark);
}
.drawer-sub { padding-left: 14px; display: none; }
.drawer-sub.open { display: block; }
.drawer-sub a { font-size: 0.96rem; color: #b9bdc6; font-weight: 400; }
.drawer-cta { margin-top: 22px; display: grid; gap: 12px; }
/* The drawer is dark, so the default (dark-ink) outline button text is invisible. */
.drawer-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.32); }
.drawer-cta .btn-outline:hover { background: rgba(255,255,255,0.10); border-color: #fff; }
.drawer-foot { margin-top: auto; padding-top: 22px; font-size: 0.85rem; color: var(--faint); }
.drawer-foot a { color: #d7dae1; display: inline-flex; gap: 8px; align-items: center; }

/* ===================================================== TRUST STRIP */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 16px; }
.trust-item { display: flex; align-items: center; gap: 11px; }
.trust-item .ti-icon { color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.trust-item .ti-icon svg { width: 24px; height: 24px; }
.trust-item b { display: block; color: var(--ink); font-size: 0.92rem; font-weight: 600; line-height: 1.2; }
.trust-item span { font-size: 0.8rem; color: var(--muted); }
.trust-rating .stars { margin-bottom: 2px; }
.drawer-acc-trigger svg{
  width: 20px;
}

/* ===================================================== CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color .2s;
  position: relative;
}
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card-hover:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: 0.96rem; }
.card-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }

/* review cards */
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--sh-sm);
}
.review-card p { color: var(--charcoal); font-size: 1.02rem; line-height: 1.6; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.review-author b { display: block; color: var(--ink); font-size: 0.92rem; }
.review-author span { font-size: 0.8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.verified { color: var(--green); display: inline-flex; align-items: center; gap: 3px; font-size: 0.78rem; font-weight: 600; }
.verified svg { width: 13px; height: 13px; }

/* ===================================================== FORMS */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--charcoal); margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.input, .select, textarea.input {
  width: 100%;
  padding: 13px 15px;
  background: var(--white);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, textarea.input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-tint);
}
.input-row { display: flex; gap: 14px; }
.input-row > * { flex: 1; }
.input-affix { position: relative; }
.input-affix .suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.9rem; pointer-events: none; }

/* ===================================================== FOOTER */
.site-footer { background: var(--ink); color: #aeb3bc; padding-top: clamp(48px, 6vw, 76px); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; color: #9097a1; max-width: 280px; }
.footer-contact { margin-top: 18px; display: grid; gap: 10px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; color: #d7dae1; font-size: 0.92rem; }
.footer-contact a svg { width: 17px; height: 17px; color: var(--red-bright); }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: #aeb3bc; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; flex-wrap: wrap; }
.footer-bottom small { color: #80868f; font-size: 0.82rem; }
.pay-icons { display: flex; gap: 8px; align-items: center; }
.pay-icons span { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-dark); border-radius: 6px; padding: 5px 9px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; color: #cfd2d8; }

/* ===================================================== MOBILE STICKY CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,0.2);
}
.mobile-cta .btn { flex: 1; padding: 14px; }

/* ===================================================== HELPERS / REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-2 { margin-bottom: 16px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.muted { color: var(--muted); }
.tiny { font-size: 0.82rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.reassure { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); }
.reassure svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.reassure-row { display: flex; gap: 22px; flex-wrap: wrap; }

/* ===================================================== RESPONSIVE */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .hamburger { display: grid; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  /* Gently compact type on phones: scale rem-based sizing + body copy down a touch. */
  html { font-size: 93.75%; }
  body { font-size: 15.5px; }
  .header-cta { display: none; }
  .icon-btn.hide-mobile { display: none; }
  .header-inner { gap: 12px; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .trust-strip .container { flex-direction: column; align-items: flex-start; gap: 18px; }
  .mobile-cta { display: flex; }
  body.has-mobile-cta { padding-bottom: 76px; }
  .input-row { flex-direction: column; gap: 0; }
}
@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =========================================================================
   SHARED CONTENT COMPONENTS (guides, gallery, about, blog, contact, faq,
   basket, legal) — used by the built-out pages.
   ========================================================================= */

/* ---- sub-page hero ---- */
.page-hero { background: var(--ink); color: #cfd2d8; padding: clamp(26px,3.4vw,46px) 0 clamp(22px,3vw,38px); position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; right:-90px; top:-90px; width:380px; height:380px; background:radial-gradient(circle,rgba(214,40,40,0.30),transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { color:#fff; margin-top:14px; max-width: 18ch; }
.page-hero h1 em { font-style: italic; color:#f3d9a7; }
.page-hero p { color:#c7cbd2; margin-top:16px; max-width: 56ch; font-size:1.1rem; }
.page-hero .eyebrow { color: var(--red-bright); }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center p { margin-inline: auto; }
.page-hero-grid { display:grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.page-hero-media { border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3; }
.page-hero-media img { width:100%; height:100%; object-fit: cover; }
@media (max-width: 820px){ .page-hero-grid{ grid-template-columns:1fr } .page-hero-media{ display:none } }

.breadcrumb { display:flex; gap:8px; align-items:center; font-size:0.84rem; color:var(--muted); padding:16px 0; flex-wrap: wrap; }
.breadcrumb a:hover{ color:var(--red); } .breadcrumb .sep{ opacity:.5; } .breadcrumb b{ color:var(--charcoal); }
.page-hero .breadcrumb { color: rgba(255,255,255,.6); padding-top: 0; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.8); } .page-hero .breadcrumb a:hover { color:#fff; } .page-hero .breadcrumb b { color:#fff; }

/* ---- "what you need" chip row ---- */
.need-row { display:flex; gap:12px; flex-wrap:wrap; margin-top: 24px; }
.need { display:flex; align-items:center; gap:10px; background: var(--white); border:1px solid var(--line); border-radius: var(--r-pill); padding: 9px 16px 9px 12px; box-shadow: var(--sh-xs); }
.need svg { width:20px; height:20px; color: var(--red); }
.need b { color: var(--ink); font-size:0.9rem; } .need span { color: var(--muted); font-size:0.8rem; }
.page-hero .need { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.page-hero .need b { color:#fff; } .page-hero .need svg { color: var(--red-bright); }

/* ---- guide steps ---- */
.guide-step { display:grid; grid-template-columns: 64px 1fr 1fr; gap: 28px; align-items:center; padding: 30px 0; border-bottom:1px solid var(--line); }
.guide-step:nth-child(even) .gs-vis { order: -1; }
.guide-step .gs-num { width:52px; height:52px; border-radius:50%; background:var(--red); color:#fff; display:grid; place-items:center; font-family:var(--font-display); font-size:1.4rem; }
.guide-step .gs-body h3 { margin-bottom:8px; }
.guide-step .gs-body p { font-size:0.98rem; }
.guide-step .gs-vis { background:var(--paper-2); border:1px solid var(--line); border-radius:var(--r); padding:18px; display:grid; place-items:center; aspect-ratio: 16/10; }
.guide-step .gs-vis svg { width:100%; height:100%; }
@media (max-width: 760px){ .guide-step{ grid-template-columns: 44px 1fr; gap:16px } .guide-step .gs-vis{ grid-column: 1 / -1; order:0 !important; } .guide-step .gs-num{ width:42px;height:42px;font-size:1.15rem } }

/* ---- two-card explainer / info cards ---- */
.info-2 { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
@media (max-width:680px){ .info-2{ grid-template-columns:1fr } }
.info-card { background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:28px; }
.info-card .ic-vis { background:var(--paper-2); border-radius:var(--r); aspect-ratio:16/9; display:grid; place-items:center; margin-bottom:18px; }
.info-card .ic-vis svg { width:60%; height:70%; }
.info-card h3 { margin-bottom:8px; }
.info-card p { font-size:0.95rem; }

/* ---- prose (articles, legal, about) ---- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem,3vw,2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); font-size: 1.06rem; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.3em; display:grid; gap:.5em; }
.prose ul li { list-style: none; position: relative; padding-left: 6px; }
.prose ul li::before { content:""; position:absolute; left:-14px; top:11px; width:7px; height:7px; border-radius:50%; background:var(--red); }
.prose ol { list-style: decimal; } .prose ol li { padding-left: 4px; }
.prose blockquote { border-left:3px solid var(--red); padding: 4px 0 4px 22px; font-family:var(--font-display); font-size:1.3rem; color:var(--ink); font-style: italic; }
.prose a { color: var(--red); font-weight:600; border-bottom:1px solid currentColor; }
.prose img { border-radius: var(--r); margin-block: 1.4em; }
.prose strong { color: var(--charcoal); }

/* ---- gallery ---- */
.filter-row { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:28px; }
.filter-btn { border:1.5px solid var(--line-2); background:var(--white); border-radius:var(--r-pill); padding:9px 18px; font-size:0.9rem; font-weight:600; color:var(--charcoal); cursor:pointer; transition:.15s; }
.filter-btn:hover { border-color:var(--ink); }
.filter-btn.on { background:var(--ink); color:#fff; border-color:var(--ink); }
.masonry { columns: 3; column-gap: 16px; }
@media (max-width: 900px){ .masonry{ columns:2 } } @media (max-width: 560px){ .masonry{ columns:1 } }
.masonry .gitem { break-inside: avoid; margin-bottom:16px; border-radius:var(--r); overflow:hidden; position:relative; cursor:pointer; display:block; }
.masonry .gitem img { width:100%; display:block; transition: transform .5s var(--ease); }
.masonry .gitem:hover img { transform: scale(1.05); }
.masonry .gitem .cap { position:absolute; inset:auto 0 0 0; padding:26px 16px 14px; background:linear-gradient(0deg,rgba(0,0,0,.7),transparent); color:#fff; font-size:0.85rem; font-weight:600; opacity:0; transition:.2s; }
.masonry .gitem:hover .cap { opacity:1; }
.lightbox { position:fixed; inset:0; background:rgba(10,11,14,.92); display:none; place-items:center; z-index:300; padding:24px; }
.lightbox.show { display:grid; }
.lightbox img { max-width:92vw; max-height:86vh; border-radius:var(--r); box-shadow:var(--sh-lg); }
.lightbox .lb-close { position:absolute; top:18px; right:18px; width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.12); color:#fff; display:grid; place-items:center; }
.lightbox .lb-close svg { width:22px; height:22px; }

/* ---- blog ---- */
.featured-post { display:grid; grid-template-columns:1.1fr 1fr; gap:0; background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-sm); margin-bottom:40px; }
.featured-post .fp-media { aspect-ratio:16/11; } .featured-post .fp-media img{ width:100%;height:100%;object-fit:cover; }
.featured-post .fp-body { padding: clamp(24px,3vw,40px); display:flex; flex-direction:column; justify-content:center; }
.featured-post h2 { font-size: clamp(1.5rem,2.5vw,2.1rem); margin:12px 0; }
@media (max-width:780px){ .featured-post{ grid-template-columns:1fr } }
.post-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .post-grid{ grid-template-columns:1fr 1fr } } @media (max-width:600px){ .post-grid{ grid-template-columns:1fr } }
.post-card { background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; display:flex; flex-direction:column; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform:translateY(-5px); box-shadow:var(--sh-lg); }
.post-card .pc-media { aspect-ratio:16/10; overflow:hidden; } .post-card .pc-media img{ width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease); }
.post-card:hover .pc-media img{ transform:scale(1.05); }
.post-card .pc-body { padding:22px; display:flex; flex-direction:column; flex:1; }
.post-card h3 { font-size:1.2rem; margin:8px 0 8px; }
.post-card p { font-size:0.92rem; flex:1; }
.post-meta { display:flex; align-items:center; gap:10px; font-size:0.78rem; color:var(--muted); margin-top:14px; }
.cat-tag { display:inline-block; font-size:0.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--red); }

/* ---- contact ---- */
.contact-grid { display:grid; grid-template-columns: 1.2fr 1fr; gap:40px; align-items:start; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr } }
.contact-cards { display:grid; gap:14px; }
.contact-info { display:flex; gap:14px; background:var(--white); border:1px solid var(--line); border-radius:var(--r); padding:18px; }
.contact-info .ci-ic { width:46px; height:46px; border-radius:11px; background:var(--red-tint); color:var(--red); display:grid; place-items:center; flex-shrink:0; }
.contact-info .ci-ic svg{ width:22px;height:22px; }
.contact-info b { display:block; color:var(--ink); }
.contact-info a, .contact-info span { color:var(--text); font-size:0.94rem; }

/* ---- basket ---- */
.basket-grid { display:grid; grid-template-columns: 1fr 360px; gap:30px; align-items:start; }
@media (max-width:880px){ .basket-grid{ grid-template-columns:1fr } }
.line-item { display:grid; grid-template-columns: 92px 1fr auto; gap:18px; padding:20px 0; border-bottom:1px solid var(--line); align-items:start; }
.line-item .li-media { width:92px; height:92px; border-radius:var(--r-sm); overflow:hidden; background:var(--sand); display:grid; place-items:center; }
.line-item .li-media img, .line-item .li-media svg { width:100%; height:100%; object-fit:cover; }
.line-item h3 { font-size:1.12rem; }
.line-item .li-spec { font-size:0.84rem; color:var(--muted); margin-top:4px; }
.line-item .li-remove { font-size:0.8rem; color:var(--muted); margin-top:10px; display:inline-flex; gap:5px; align-items:center; cursor:pointer; }
.line-item .li-remove:hover { color:var(--red); }
.line-item .li-price { text-align:right; font-family:var(--font-display); font-size:1.2rem; color:var(--ink); }
.qty { display:inline-flex; align-items:center; border:1.5px solid var(--line-2); border-radius:var(--r-pill); margin-top:10px; overflow:hidden; }
.qty button { width:32px; height:32px; display:grid; place-items:center; color:var(--charcoal); }
.qty button:hover { background:var(--paper-2); }
.qty span { min-width:30px; text-align:center; font-weight:600; }
.summary { background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:24px; box-shadow:var(--sh-sm); position:sticky; top:calc(var(--header-h) + 16px); }
.summary h3 { margin-bottom:16px; }
.summary .srow { display:flex; justify-content:space-between; padding:8px 0; font-size:0.94rem; color:var(--text); }
.summary .srow b { color:var(--ink); }
.summary .srow.free b { color:var(--green); }
.summary .stotal { display:flex; justify-content:space-between; align-items:baseline; border-top:1px solid var(--line); margin-top:10px; padding-top:14px; }
.summary .stotal .amt { font-family:var(--font-display); font-size:1.7rem; color:var(--ink); }
.promo-field { display:flex; gap:8px; margin:14px 0; }
.promo-field .input { flex:1; }

/* ---- faq (shared) ---- */
.faq-cat { margin-bottom: 36px; }
.faq-cat > h3 { font-size:1.3rem; margin-bottom:8px; display:flex; align-items:center; gap:10px; }
.faq-cat > h3 .fc-ic { width:34px;height:34px;border-radius:9px;background:var(--red-tint);color:var(--red);display:grid;place-items:center; }
.faq-cat > h3 .fc-ic svg{ width:18px;height:18px; }
.faq-item { border-bottom:1px solid var(--line); }
.faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 4px; text-align:left; font-family:var(--font-display); font-size:1.08rem; color:var(--ink); font-weight:540; }
.faq-q .faq-ic { flex-shrink:0; width:28px; height:28px; border-radius:50%; border:1.5px solid var(--line-2); display:grid; place-items:center; transition:transform .25s,background .2s,border-color .2s,color .2s; }
.faq-q .faq-ic svg { width:15px; height:15px; }
.faq-item.open .faq-ic { background:var(--red); border-color:var(--red); color:#fff; transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .3s var(--ease); }
.faq-a-inner { padding:0 4px 20px; color:var(--text); max-width:74ch; }

/* ---- legal ---- */
.legal-grid { display:grid; grid-template-columns: 220px 1fr; gap:44px; align-items:start; }
@media (max-width:780px){ .legal-grid{ grid-template-columns:1fr } }
.legal-nav { position:sticky; top:calc(var(--header-h) + 16px); display:grid; gap:4px; }
.legal-nav a { padding:10px 14px; border-radius:var(--r-sm); font-size:0.92rem; font-weight:600; color:var(--muted); }
.legal-nav a:hover, .legal-nav a.on { background:var(--paper-2); color:var(--ink); }
@media (max-width:780px){ .legal-nav{ position:static; grid-auto-flow:column; overflow-x:auto; } }

/* ---- reusable CTA band ---- */
.cta-band { background:var(--ink); border-radius:var(--r-xl); padding: clamp(36px,5vw,60px); text-align:center; position:relative; overflow:hidden; }
.cta-band::before { content:""; position:absolute; left:50%; top:-80px; transform:translateX(-50%); width:420px; height:420px; background:radial-gradient(circle,rgba(214,40,40,.28),transparent 70%); }
.cta-band > * { position:relative; }
.cta-band h2 { color:#fff; max-width:20ch; margin:10px auto 0; }
.cta-band p { color:#c7cbd2; max-width:52ch; margin:16px auto 0; }
.cta-band .cta-row { margin-top:28px; }

/* ---- stat row (about) ---- */
.stat-row { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media (max-width:680px){ .stat-row{ grid-template-columns:1fr 1fr } }
.stat { text-align:center; }
.stat b { display:block; font-family:var(--font-display); font-size:clamp(2rem,4vw,2.8rem); color:var(--ink); line-height:1; }
.stat span { font-size:0.88rem; color:var(--muted); margin-top:8px; display:block; }

/* split feature (about / generic) */
.split { display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,64px); align-items:center; }
.split.rev .split-media { order:-1; }
@media (max-width:820px){ .split{ grid-template-columns:1fr } .split.rev .split-media{ order:0 } }
.split-media { border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh); aspect-ratio:4/3; }
.split-media img { width:100%; height:100%; object-fit:cover; }

/* ---- callout / sample nudge / trust-mini (shared across pages) ---- */
.callout { display:flex; gap:12px; padding:15px 17px; background:var(--green-tint); border-radius:var(--r-sm); margin-top:18px; }
.callout svg { width:20px; height:20px; min-width:20px; color:var(--green); flex-shrink:0; margin-top:2px; }
.callout p { font-size:0.88rem; color:#2c5b3f; }
.callout a { color:var(--green); font-weight:700; border-bottom:1px solid currentColor; }
.sample-nudge { display:flex; gap:11px; align-items:center; background:var(--paper-2); border-radius:var(--r-sm); padding:13px 15px; margin-top:16px; }
.sample-nudge svg { width:22px; height:22px; min-width:22px; color:var(--red); flex-shrink:0; }
.sample-nudge p { font-size:0.82rem; color:var(--charcoal); }
.sample-nudge a { color:var(--red); font-weight:700; border-bottom:1px solid currentColor; }
.trust-mini { display:grid; gap:9px; margin-top:16px; }
.trust-mini span { display:flex; align-items:center; gap:9px; font-size:0.82rem; color:var(--muted); }
.trust-mini svg { width:16px; height:16px; min-width:16px; color:var(--green); flex-shrink:0; }
