/* ================================
   Hydratio 2026 — Design System
   Modern, warm, conversion-first
   ================================ */

/* -------- Tokens -------- */
:root {
  /* Palette — warm, earthy, premium */
  --ink: #0e1a1f;
  --ink-80: #1f2f36;
  --ink-60: #4a5a61;
  --ink-40: #8a9598;
  --cream: #fbf8f3;
  --cream-warm: #f5efe6;
  --sand: #e8decc;
  --blush: #f5d5ce;
  --sage: #a6b5a0;
  --moss: #5c6b5e;
  --navy: #1b2e3d;
  --onyx: #2a2a2a;
  --copper: #c07a5f;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--cream);
  --bg-alt: var(--cream-warm);
  --fg: var(--ink);
  --fg-muted: var(--ink-60);
  --border: rgba(14, 26, 31, 0.08);
  --border-strong: rgba(14, 26, 31, 0.16);
  --accent: var(--moss);
  --accent-hover: #44513f;
  --success: #2f7d4f;
  --warning: #c97a3d;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Scale */
  --step--1: clamp(0.88rem, 0.84rem + 0.15vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  --step-1: clamp(1.12rem, 1.05rem + 0.35vw, 1.25rem);
  --step-2: clamp(1.3rem, 1.18rem + 0.6vw, 1.56rem);
  --step-3: clamp(1.62rem, 1.4rem + 1.1vw, 2.1rem);
  --step-4: clamp(2rem, 1.6rem + 2vw, 2.95rem);
  --step-5: clamp(2.6rem, 2rem + 3vw, 4rem);
  --step-6: clamp(3.2rem, 2.4rem + 4vw, 5.25rem);

  /* Radii */
  --r-sm: 0.5rem;
  --r-md: 0.9rem;
  --r-lg: 1.25rem;
  --r-xl: 1.75rem;
  --r-2xl: 2.25rem;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(14, 26, 31, 0.05);
  --shadow-md: 0 8px 24px rgba(14, 26, 31, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 26, 31, 0.12);
  --shadow-xl: 0 40px 90px rgba(14, 26, 31, 0.16);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
  --dur-slow: 540ms;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(1rem, 2vw, 1.5rem);
  --section-y: clamp(3.5rem, 6vw, 6rem);

  color-scheme: light;
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: transparent; }
ul, ol { padding-left: 1.1rem; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 550; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 0.6em; }
h1 { font-size: var(--step-6); font-weight: 500; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; color: var(--ink-80); }
::selection { background: var(--moss); color: var(--cream); }

/* -------- Layout utilities -------- */
.container { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.container-narrow { width: min(760px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--cream-warm); }
.subtitle { font-size: var(--step-1); color: var(--fg-muted); max-width: 58ch; margin: 0 0 2rem; }
section { padding-block: var(--section-y); }

/* -------- Announcement bar -------- */
.announce {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
  text-align: center;
}
.announce a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

/* -------- Header / nav -------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink);
  line-height: 0;
}
.brand img {
  height: 44px; width: auto; display: block;
  transition: opacity var(--dur-fast) var(--ease);
}
.brand:hover img { opacity: 0.82; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--moss); display: inline-block; }
.site-footer .brand img { height: 40px; filter: brightness(0) invert(1); opacity: 0.9; }
.site-footer .brand:hover img { opacity: 1; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500;
  padding: 0.4rem 0.1rem;
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px;
  height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-med) var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 0.5rem; align-items: center; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-md); background: transparent; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
body.menu-open { overflow: hidden; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; position: relative; z-index: 70; }
  .nav-links, .nav-cta-links {
    position: fixed; inset: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 5rem var(--gutter) 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform var(--dur-med) var(--ease);
    z-index: 60;
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
  }
  .nav-links a { padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 1.15rem; }
  body.menu-open .nav-links { transform: translateX(0); }
  /* Hamburger blijft zichtbaar boven het menu en transformeert naar X */
  body.menu-open .nav-toggle {
    position: fixed; top: 1rem; right: 1rem;
    background: var(--cream); border-radius: var(--r-md);
    z-index: 70;
  }
  .nav-cta > .button-secondary { display: none; }
}

/* -------- Buttons -------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.96rem;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-med) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  will-change: transform;
  line-height: 1;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--ink); color: var(--cream); }
.button-primary:hover { background: var(--ink-80); box-shadow: var(--shadow-md); }
.button-accent { background: var(--moss); color: var(--cream); }
.button-accent:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }
.button-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--border-strong); }
.button-secondary:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.button-ghost { background: transparent; color: var(--ink); padding: 0.55rem 0.9rem; }
.button-large { padding: 1.1rem 2rem; font-size: 1.02rem; }
.button-small { padding: 0.6rem 1rem; font-size: 0.85rem; }
.button-arrow::after { content: "→"; transition: transform var(--dur-fast) var(--ease); }
.button-arrow:hover::after { transform: translateX(4px); }

/* -------- Hero -------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 6rem) clamp(3rem, 4vw, 4rem);
  overflow: hidden;
}
.hero-bg-blob {
  position: absolute; top: -10%; right: -10%; width: 55vw; height: 55vw; z-index: 0;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--sage) 60%, transparent), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 4rem);
  align-items: center; position: relative; z-index: 1;
}
.hero-copy h1 {
  font-size: var(--step-6);
  font-weight: 450;
  line-height: 1.04;
  margin-bottom: 1.25rem;
}
.hero-copy h1 em { font-style: italic; color: var(--moss); font-family: var(--font-display); font-weight: 400; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-trust { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; font-size: 0.88rem; color: var(--fg-muted); }
.stars { color: var(--warning); letter-spacing: 2px; }
.hero-media { position: relative; aspect-ratio: 5 / 4; }
.hero-media .image-card {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--sand), var(--blush) 60%, var(--sage));
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem; border-radius: var(--r-pill);
  font-size: 0.82rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 60%, transparent); }
  50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--success) 0%, transparent); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; margin-inline: auto; }
}

/* -------- Logo bar / press -------- */
.press-bar {
  padding-block: 1.5rem;
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
}
.press-inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 4vw, 3.5rem); justify-content: center; opacity: 0.72; }
.press-inner span { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--fg-muted); font-weight: 600; }

/* -------- USP bar -------- */
.usp-bar {
  background: var(--ink);
  color: var(--cream);
  padding-block: 2rem;
}
.usp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
}
.usp-grid > div { font-size: 0.95rem; }
.usp-grid strong { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.usp-grid p { margin: 0; color: color-mix(in srgb, var(--cream) 75%, transparent); font-size: 0.88rem; }
@media (max-width: 720px) { .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }

/* -------- Section heading -------- */
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0.75rem; }
.section-head.center { text-align: center; margin-inline: auto; }

/* -------- Product grid -------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-media {
  aspect-ratio: 1 / 1.05;
  background: linear-gradient(160deg, var(--bg-alt), var(--sand));
  position: relative; overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-tag {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: var(--cream); color: var(--ink);
  padding: 0.3rem 0.7rem; border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.product-tag.sale { background: var(--copper); color: var(--cream); }
.product-body { padding: 1.25rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-body h3 { font-size: 1.15rem; margin-bottom: 0.35rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }
.product-desc { font-size: 0.92rem; color: var(--fg-muted); margin-bottom: 0.9rem; flex-grow: 1; }
.product-price { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.9rem; }
.product-price .now { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.product-price .was { text-decoration: line-through; color: var(--ink-40); font-size: 0.92rem; }
.product-price .off { background: var(--blush); color: var(--ink); font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: var(--r-sm); }
.product-swatches { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border-strong); }

/* -------- Feature grid -------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.feature-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.feature-card:hover { transform: translateY(-2px); border-color: var(--moss); }
.feature-card .icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--sage);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 1.25rem; margin-bottom: 1.2rem;
}
.feature-card h3 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: var(--fg-muted); font-size: 0.95rem; }

/* -------- Split block -------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-media { aspect-ratio: 5/4; border-radius: var(--r-2xl); overflow: hidden; background: var(--bg-alt); box-shadow: var(--shadow-lg); }
.split-media img, .split-media video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; } }

/* -------- Testimonials -------- */
.testimonials { background: var(--bg-alt); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
}
.testimonial .stars { font-size: 0.9rem; }
.testimonial blockquote { margin: 0; font-size: 1.02rem; color: var(--ink-80); font-family: var(--font-display); font-style: italic; line-height: 1.5; }
.testimonial cite { font-style: normal; font-size: 0.88rem; color: var(--fg-muted); font-weight: 600; }
.testimonial cite::before { content: "— "; }
.testimonial.is-hidden { display: none; }

/* -------- UGC / Instagram section -------- */
.ugc-section { background: var(--cream-warm); }
.ugc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 1080px;
  margin-inline: auto;
}
.ugc-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-md);
  display: block;
  background: var(--bg-alt);
}
.ugc-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
  display: block;
}
.ugc-tile:hover img,
.ugc-tile:focus-visible img { transform: scale(1.06); }
.ugc-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(14, 26, 31, 0);
  transition: background 280ms var(--ease);
  pointer-events: none;
}
.ugc-tile:hover::after,
.ugc-tile:focus-visible::after { background: rgba(14, 26, 31, 0.32); }
.ugc-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
  width: 36px; height: 36px;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbf8f3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17.5' cy='6.5' r='0.8' fill='%23fbf8f3'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.ugc-tile:hover .ugc-icon,
.ugc-tile:focus-visible .ugc-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.ugc-play {
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  width: 26px; height: 26px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--cream);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 1;
  backdrop-filter: blur(4px);
}
.ugc-play svg { width: 12px; height: 12px; }
.ugc-cta {
  text-align: center;
  margin-top: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.ugc-handle {
  font-size: 0.92rem;
  color: var(--fg-muted);
}
.ugc-handle a {
  color: var(--moss);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .ugc-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}

/* -------- Bundle card -------- */
.bundle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.bundle-card {
  background: var(--white); border-radius: var(--r-xl); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.bundle-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bundle-media { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--sand), var(--blush)); position: relative; }
.bundle-media.mod-sage { background: linear-gradient(135deg, var(--sage), var(--cream-warm)); }
.bundle-media.mod-navy { background: linear-gradient(135deg, var(--navy), var(--sage)); }
.bundle-media.mod-onyx { background: linear-gradient(135deg, var(--onyx), var(--ink-60)); }
.bundle-media.mod-white { background: linear-gradient(135deg, var(--white), var(--bg-alt)); }
.bundle-media img { width: 100%; height: 100%; object-fit: cover; }
.bundle-body { padding: 1.4rem; }
.bundle-body h3 { margin-bottom: 0.35rem; font-family: var(--font-sans); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.bundle-body p { font-size: 0.9rem; color: var(--fg-muted); margin-bottom: 0.8rem; }

/* -------- FAQ -------- */
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--border);
  overflow: hidden; transition: border-color var(--dur-fast) var(--ease);
}
.faq-item[open] { border-color: var(--moss); }
.faq-item summary {
  list-style: none; padding: 1.15rem 1.3rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 600; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--moss); transition: transform var(--dur-fast) var(--ease); flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item-body { padding: 0 1.3rem 1.3rem; color: var(--fg-muted); font-size: 0.95rem; }

/* -------- CTA band -------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, var(--moss) 100%);
  color: var(--cream);
  border-radius: var(--r-2xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: color-mix(in srgb, var(--cream) 80%, transparent); margin: 0 0 1.5rem; }
.cta-band .button-accent { background: var(--cream); color: var(--ink); }
.cta-band .button-accent:hover { background: var(--white); }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } }

/* -------- Social / Instagram grid -------- */
.social-section { padding: 4rem 0; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 2rem; }
.social-tile { display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--r-lg); position: relative; background: var(--bg-alt); }
.social-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-med) var(--ease); display: block; }
.social-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.35) 100%);
  opacity: 0; transition: opacity var(--dur-fast) var(--ease);
  pointer-events: none;
}
.social-tile:hover img { transform: scale(1.05); }
.social-tile:hover::after { opacity: 1; }
.social-cta { display: flex; gap: 1rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
@media (max-width: 900px) { .social-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .social-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; } .social-cta { flex-direction: column; } .social-cta .button { width: 100%; } }

/* -------- Blog cards -------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.blog-card {
  background: var(--white); border-radius: var(--r-xl); overflow: hidden;
  display: flex; flex-direction: column; transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--sand), var(--sage)); }
.blog-card-media.mod-2 { background: linear-gradient(135deg, var(--blush), var(--sand)); }
.blog-card-media.mod-3 { background: linear-gradient(135deg, var(--navy), var(--moss)); }
.blog-card-media.mod-4 { background: linear-gradient(135deg, var(--cream-warm), var(--sage)); }
.blog-card-media.mod-5 { background: linear-gradient(135deg, var(--onyx), var(--copper)); }
.blog-card-media.mod-6 { background: linear-gradient(135deg, var(--sage), var(--blush)); }
.blog-card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex-grow: 1; }
.blog-card-cat { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); font-weight: 700; }
.blog-card-body h3 { font-size: 1.15rem; margin: 0; font-family: var(--font-sans); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.blog-card-body p { margin: 0; color: var(--fg-muted); font-size: 0.92rem; flex-grow: 1; }
.blog-card-body .read { font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-top: 0.5rem; }
.blog-card-body .read::after { content: " →"; transition: transform var(--dur-fast) var(--ease); display: inline-block; }
.blog-card:hover .read::after { transform: translateX(3px); }

/* -------- Article -------- */
.article {
  padding-block: clamp(3rem, 5vw, 5rem);
  max-width: 760px; margin-inline: auto;
}
.article header { margin-bottom: 2.5rem; }
.article header time { font-size: 0.88rem; color: var(--fg-muted); display: block; margin-bottom: 0.5rem; }
.article h1 { font-size: var(--step-5); font-weight: 450; line-height: 1.1; margin-bottom: 1rem; }
.article .lead { font-size: var(--step-1); color: var(--fg-muted); margin-bottom: 0; }
.article h2 { font-size: var(--step-3); margin: 2.5rem 0 0.75rem; }
.article h3 { font-size: var(--step-2); margin: 2rem 0 0.5rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }
.article p, .article li { color: var(--ink-80); font-size: 1.05rem; line-height: 1.75; }
.article ul, .article ol { margin-block: 1rem; padding-left: 1.5rem; }
.article li { margin-bottom: 0.5rem; }
.article blockquote {
  margin: 2rem 0; padding: 1.5rem 1.75rem;
  background: var(--bg-alt); border-left: 4px solid var(--moss);
  border-radius: var(--r-md); font-family: var(--font-display); font-style: italic;
  font-size: 1.1rem; color: var(--ink);
}
.article table { width: 100%; border-collapse: collapse; margin-block: 1.5rem; font-size: 0.95rem; }
.article th, .article td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
.article th { background: var(--bg-alt); font-weight: 600; }
.article .callout {
  background: var(--cream-warm); border-radius: var(--r-lg); padding: 1.5rem;
  margin-block: 2rem; display: flex; gap: 1rem;
}
.article .callout-body strong { display: block; margin-bottom: 0.25rem; }

/* -------- Forms -------- */
.form { display: grid; gap: 1rem; }
.form label { font-size: 0.88rem; font-weight: 600; display: block; margin-bottom: 0.3rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--white);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px color-mix(in srgb, var(--moss) 22%, transparent);
}
.form textarea { min-height: 140px; resize: vertical; }

/* -------- Breadcrumbs -------- */
.breadcrumbs { font-size: 0.86rem; color: var(--fg-muted); padding-block: 1rem; }
.breadcrumbs a { color: var(--fg-muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span.sep { margin-inline: 0.4rem; }

/* -------- Product detail -------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); padding-block: var(--section-y); }
.product-gallery { display: grid; gap: 1rem; }
.gallery-main {
  aspect-ratio: 1; border-radius: var(--r-2xl);
  background: linear-gradient(160deg, var(--sand), var(--blush));
  overflow: hidden; box-shadow: var(--shadow-md);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.gallery-thumbs button { aspect-ratio: 1; border-radius: var(--r-md); background: var(--bg-alt); overflow: hidden; cursor: pointer; border: 2px solid transparent; padding: 0; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--moss); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info h1 { font-size: var(--step-4); font-weight: 450; margin-bottom: 0.5rem; }
.product-info .rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--fg-muted); }
.product-info .price-block { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1.5rem; }
.product-info .price-now { font-size: 1.8rem; font-weight: 700; color: var(--ink); }
.product-info .price-was { text-decoration: line-through; color: var(--ink-40); }
.product-info .save-badge { background: var(--blush); padding: 0.3rem 0.7rem; border-radius: var(--r-sm); font-size: 0.82rem; font-weight: 700; }
.product-info .lead { color: var(--fg-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
.product-info .color-picker { margin-bottom: 1.5rem; }
.product-info .color-picker strong { display: block; margin-bottom: 0.6rem; font-size: 0.9rem; }
.color-swatches { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.color-swatch {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--border-strong);
  cursor: pointer; transition: transform var(--dur-fast) var(--ease);
}
.color-swatch:hover, .color-swatch[aria-current="true"] { border-color: var(--ink); transform: scale(1.05); }
.product-buy { display: flex; gap: 0.75rem; align-items: stretch; margin-bottom: 1.5rem; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border-strong); border-radius: var(--r-pill); overflow: hidden; background: var(--white); }
.qty button { padding: 0 0.9rem; height: 100%; font-size: 1.15rem; color: var(--ink); }
.qty input { width: 44px; text-align: center; border: 0; background: transparent; font-weight: 600; }
.product-trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-block: 1.5rem 2rem; font-size: 0.88rem; color: var(--fg-muted); }
.product-trust-row div { display: flex; align-items: center; gap: 0.5rem; }
.product-trust-row svg { flex-shrink: 0; color: var(--moss); }
.product-specs-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin-bottom: 1.5rem; }
.product-specs-table th { text-align: left; font-weight: 600; padding: 0.65rem 0; color: var(--ink); width: 40%; }
.product-specs-table td { padding: 0.65rem 0; border-bottom: 1px solid var(--border); color: var(--ink-80); }

@media (max-width: 860px) {
  .product-detail { grid-template-columns: 1fr; }
}

/* -------- Reviews aggregate -------- */
.review-summary {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
  background: var(--white); padding: 2rem; border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
.review-score .big { font-size: 3rem; font-weight: 700; color: var(--ink); font-family: var(--font-display); line-height: 1; }
.review-score .stars { font-size: 1.25rem; }
.review-score p { margin: 0.3rem 0 0; color: var(--fg-muted); font-size: 0.88rem; }
.review-bars { display: grid; gap: 0.4rem; font-size: 0.88rem; }
.review-bar { display: grid; grid-template-columns: 40px 1fr 40px; gap: 0.5rem; align-items: center; }
.review-bar .bar { height: 8px; background: var(--bg-alt); border-radius: 4px; overflow: hidden; }
.review-bar .bar-fill { height: 100%; background: var(--warning); }

/* -------- Footer -------- */
.site-footer {
  background: var(--ink);
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid color-mix(in srgb, var(--cream) 15%, transparent); }
.footer-brand .brand { color: var(--cream); }
.footer-brand p { color: color-mix(in srgb, var(--cream) 70%, transparent); margin-top: 0.8rem; max-width: 36ch; font-size: 0.92rem; }
.footer-col h4 { color: var(--cream); font-size: 0.9rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: color-mix(in srgb, var(--cream) 80%, transparent); font-size: 0.92rem; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-top: 2rem; font-size: 0.82rem; color: color-mix(in srgb, var(--cream) 60%, transparent);
}
.footer-socials { display: flex; gap: 0.8rem; }
.footer-socials a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--cream) 20%, transparent); border-radius: 50%; transition: background var(--dur-fast) var(--ease); }
.footer-socials a:hover { background: color-mix(in srgb, var(--cream) 10%, transparent); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* -------- Fade in animations -------- */
[data-animate] { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

/* -------- Utility -------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* -------- Cart drawer -------- */
.mini-cart-btn {
  position: relative;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease);
}
.mini-cart-btn:hover { background: var(--bg-alt); }
.mini-cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--moss); color: var(--cream);
  font-size: 0.68rem; font-weight: 700; border-radius: var(--r-pill);
  border: 2px solid var(--cream);
  opacity: 0; transform: scale(0.6);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease-bounce);
}
.mini-cart-count.is-visible { opacity: 1; transform: scale(1); }

.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(14, 26, 31, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-med) var(--ease);
  z-index: 90;
}
.cart-overlay[aria-hidden="false"] { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform var(--dur-med) var(--ease);
  z-index: 91;
  box-shadow: -20px 0 60px rgba(14, 26, 31, 0.15);
}
.cart-drawer[aria-hidden="false"] { transform: translateX(0); }
body.cart-open { overflow: hidden; }

.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-head h2 {
  font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; margin: 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.cart-count-badge {
  font-size: 0.78rem; font-weight: 600;
  background: var(--bg-alt); color: var(--ink-60);
  padding: 0.12rem 0.55rem; border-radius: var(--r-pill);
}
.cart-close {
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1; color: var(--ink);
  transition: background var(--dur-fast) var(--ease);
}
.cart-close:hover { background: var(--bg-alt); }

.cart-drawer-body {
  flex: 1 1 auto; overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty {
  text-align: center; padding: 3rem 1rem 2rem;
  color: var(--fg-muted);
}
.cart-empty-art { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }
.cart-empty p { margin: 0.3rem 0; }
.cart-empty .button { margin-top: 1.5rem; }

.cart-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.9rem; align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item-media {
  width: 72px; height: 72px; border-radius: var(--r-md);
  background: var(--bg-alt); overflow: hidden;
}
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body h4 { margin: 0 0 0.15rem; font-family: var(--font-sans); font-size: 0.96rem; font-weight: 600; letter-spacing: -0.01em; }
.cart-item-variant { margin: 0 0 0.5rem; font-size: 0.82rem; color: var(--fg-muted); }
.cart-item-qty {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem;
}
.cart-item-qty button {
  width: 24px; height: 24px;
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 1rem; line-height: 1;
  transition: background var(--dur-fast) var(--ease);
}
.cart-item-qty button:hover { background: var(--sand); }
.cart-item-qty span {
  min-width: 1.4em; text-align: center; font-weight: 600;
}
.cart-item-remove {
  width: auto !important; height: auto !important;
  background: transparent !important;
  color: var(--fg-muted) !important;
  font-size: 0.8rem !important;
  padding: 0 0.5rem; margin-left: 0.5rem;
  text-decoration: underline; text-underline-offset: 2px;
}
.cart-item-remove:hover { color: var(--ink) !important; }
.cart-item-price { font-weight: 700; font-size: 0.96rem; white-space: nowrap; }

.cart-drawer-foot {
  padding: 1.2rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--cream-warm);
}
.cart-shipping { margin-bottom: 1rem; }
.cart-shipping-bar {
  height: 6px; background: var(--border);
  border-radius: 3px; overflow: hidden; margin-bottom: 0.5rem;
}
.cart-shipping-fill {
  height: 100%; width: 0%;
  background: var(--moss);
  transition: width var(--dur-med) var(--ease);
}
.cart-shipping p { margin: 0; font-size: 0.85rem; color: var(--fg-muted); }
.cart-shipping p.is-met { color: var(--moss); }
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 1rem; margin-bottom: 1rem;
}
.cart-subtotal strong { font-size: 1.25rem; }
.cart-drawer-foot .button { width: 100%; }
.cart-disclaimer {
  margin: 0.75rem 0 0; text-align: center;
  font-size: 0.76rem; color: var(--fg-muted);
}

@media (max-width: 520px) {
  .cart-drawer { width: 100%; }
  .cart-drawer-head { padding: 1rem 1.2rem; }
  .cart-drawer-body { padding: 1rem 1.2rem; }
  .cart-drawer-foot { padding: 1rem 1.2rem 1.2rem; }
  .cart-item { grid-template-columns: 60px 1fr auto; gap: 0.75rem; }
  .cart-item-media { width: 60px; height: 60px; }
}

/* -------- Mobile-specific improvements -------- */
@media (max-width: 900px) {
  /* Tighten header on mobile so cart icon + shop nu + hamburger fit */
  .nav-cta { gap: 0.25rem; }
  .nav-cta > .button-secondary { display: none; }
  .nav-cta > .button-primary.button-small { padding: 0.55rem 0.95rem; font-size: 0.85rem; }
  .mini-cart-btn { width: 38px; height: 38px; }
  .header-inner { min-height: 64px; }
  .brand img { height: 36px; }

  /* Announcement bar: smaller text, less padding */
  .announce { font-size: 0.74rem; padding: 0.45rem 0.8rem; line-height: 1.3; }

  /* Hero gets a portrait-friendly layout on mobile */
  .hero { padding-block: 2rem 2.5rem; }
  .hero-media { aspect-ratio: 4 / 5; max-width: 100%; }
  .hero-bg-blob { width: 100vw; height: 60vw; top: -5%; right: -20%; }
  .hero-actions .button { flex-grow: 1; min-width: 140px; }

  /* Touch targets minimum 44x44 */
  .color-swatch { width: 36px; height: 36px; }
  .nav-toggle { width: 44px; height: 44px; }
  .qty button { min-width: 38px; min-height: 38px; padding: 0; }

  /* USP bar: tighter text */
  .usp-bar { padding-block: 1.5rem; }
  .usp-grid strong { font-size: 0.95rem; }
  .usp-grid p { font-size: 0.82rem; }

  /* Section padding */
  section { padding-block: 2.5rem; }
  .section-head { margin-bottom: 1.75rem; }

  /* Make CTA band stack nicer */
  .cta-band { padding: 1.75rem; }
}

@media (max-width: 600px) {
  /* Stack hero copy in a tighter way */
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .hero-trust span:not(.stars) { font-size: 0.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }

  /* FAQ summary slightly smaller */
  .faq-item summary { font-size: 0.95rem; padding: 1rem 1.1rem; }

  /* Single-column footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.4rem; }

  /* Product detail spacing */
  .product-info h1 { font-size: var(--step-3); }
  .product-info .price-now { font-size: 1.5rem; }
  .product-trust-row { grid-template-columns: 1fr; gap: 0.5rem; }

  /* Press bar on mobile */
  .press-bar { padding-block: 1rem; }
  .press-inner { gap: 0.8rem 1.5rem; font-size: 0.78rem; }
}

/* iOS-specific: prevent input zoom on focus */
@supports (-webkit-touch-callout: none) {
  input, textarea, select { font-size: 16px; }
}

/* Off-screen content optimization (skip rendering until close to viewport) */
.testimonials, .faq, .blog-preview, .cta-band {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* Bundle cards — make image area a clickable button */
.bundle-card { cursor: default; }
button.bundle-media {
  padding: 0; margin: 0;
  width: 100%;
  display: block;
  overflow: hidden;
  text-align: inherit;
  cursor: pointer;
  transition: transform var(--dur-med) var(--ease);
}
button.bundle-media:hover img { transform: scale(1.04); }
button.bundle-media:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}
.bundle-media img { transition: transform var(--dur-med) var(--ease); }

/* -------- Reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
  [data-animate] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
