/* ==========================================================================
   Hair & Looks webshop — design tokens
   Bron: dev--hair-and-looks-website.netlify.app (assets/css/main.css), uitgelezen 12-11-2026.
   Alles onder "Merk" en "Basis" is 1-op-1 overgenomen van de website.
   Alles onder "Webshop-aanvulling" is nieuw, en bouwt alleen op de merkkleuren.
   Dit bestand gaat later ongewijzigd naar design/assets/css/variables.css.
   ========================================================================== */

/* ---------- Lettertypen (zelf gehost, zelfde bestanden als de website) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display Variable'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('../fonts/playfair-display-variable-latin-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display Variable'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('../fonts/playfair-display-variable-latin-ext-italic.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* ===== Merk: kleuren (1-op-1 van de website) ===== */
  --hl-green: #577D7A;        /* hoofdkleur: knoppen, links, accenten */
  --hl-green-300: #A7BFBD;    /* zacht groen, alleen op donker of als vlak */
  --hl-green-700: #4A6B68;    /* ingedrukt, en groene tekst op grijs */
  --hl-green-dark: #2B3F3C;   /* hover, overline, USP-balk */
  --hl-ink: #1A1A1A;          /* koppen, donkere secties, voet */
  --hl-ink-700: #2A2A2A;      /* lopende tekst */
  --hl-ink-500: #5C5C5C;      /* gedempte tekst, kleine tekst */
  --hl-ink-300: #9A9A9A;      /* alleen decoratief: NIET voor tekst (contrast 2,8) */
  --hl-line: #EAEAEA;
  --hl-grey-line: #E3E3E3;
  --hl-grey-soft: #F4F4F4;    /* vlakken, achtergrond productfoto */
  --hl-white: #FFFFFF;

  /* ===== Basis: rollen (1-op-1 van de website) ===== */
  --accent: var(--hl-green);
  --accent-hover: var(--hl-green-dark);
  --accent-muted: var(--hl-green-300);
  --accent-pressed: var(--hl-green-700);
  --surface-page: var(--hl-white);
  --surface-card: var(--hl-white);
  --surface-muted: var(--hl-grey-soft);
  --surface-inverse: var(--hl-ink);
  --text-heading: var(--hl-ink);
  --text-body: var(--hl-ink-700);
  --text-muted: var(--hl-ink-500);
  --text-caption: var(--hl-ink-300);
  --text-link: var(--hl-green);
  --text-link-hover: var(--hl-green-dark);
  --text-overline: var(--hl-green-dark);
  --text-on-accent: var(--hl-white);
  --text-on-inverse: var(--hl-white);
  --text-on-inverse-muted: rgba(255, 255, 255, 0.72);
  --border-default: var(--hl-line);
  --border-soft: var(--hl-grey-line);
  --border-strong: var(--hl-ink);
  --border-on-inverse: rgba(255, 255, 255, 0.18);
  --focus-ring: var(--hl-green);
  --overlay: rgba(26, 26, 26, 0.55);
  --color-ink: var(--hl-ink);
  --color-error: #9B2C2C;
  --color-star: #E8A33D;

  /* ===== Basis: typografie ===== */
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Playfair Display Variable', Georgia, 'Times New Roman', serif;
  --weight-light: 300;     /* lopende tekst */
  --weight-regular: 400;
  --weight-medium: 500;    /* koppen, knoppen, prijzen */
  --weight-accent: 500;    /* Playfair-accentwoord */
  /* mobiel (< 768 px); tablet en desktop staan onderaan */
  --fs-display: 40px;
  --fs-h1: 32px;
  --fs-h2: 26px;
  --fs-h3: 22px;
  --fs-h4: 18px;
  --fs-lead: 17px;
  --fs-body: 15px;
  --fs-hero-text: 16px;
  --fs-small: 14px;        /* ondergrens: niets kleiner dan 14 px */
  --fs-overline: 14px;
  --leading-tight: 1.12;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;
  --tracking-tight: -0.01em;
  --tracking-overline: 0.24em;
  --accent-scale: 1.09;    /* Playfair-woord iets groter dan de Poppins eromheen */

  /* ===== Basis: ruimte, maten, vormen ===== */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --content-max: 1200px;
  --content-narrow: 720px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 96px);
  --header-h: 64px;
  --tap-min: 44px;
  --radius-xs: 4px;
  --radius-soft: 8px;
  --radius-card: 10px;
  --radius-image: 10px;
  --radius-panel: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --radius-round: 50%;
  --radius-button: var(--radius-pill);
  --radius-input: var(--radius-pill);
  --radius-tag: var(--radius-pill);
  --shadow-xs: 0 1px 2px rgba(43, 63, 60, 0.05);
  --shadow-sm: 0 2px 8px rgba(43, 63, 60, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 63, 60, 0.08);
  --shadow-lg: 0 16px 48px rgba(43, 63, 60, 0.10);

  /* ===== Basis: beweging ===== */
  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 360ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* ===== Basis: lagen ===== */
  --z-subnav: 40;
  --z-header: 50;
  --z-overlay: 90;
  --z-modal: 100;

  /* ===== Webshop-aanvulling (nieuw, op basis van de merkkleuren) ===== */
  --usp-bg: var(--hl-green-dark);           /* balk boven de kop */
  --usp-fg: var(--hl-white);
  --usp-h: 40px;
  --price-color: var(--hl-ink);             /* prijs: ink, medium */
  --price-old: var(--hl-ink-500);           /* doorgestreepte van-prijs */
  --price-sale: var(--color-error);         /* actieprijs: 7,5:1 op wit */
  --badge-sale-bg: var(--hl-ink);           /* label "Actie" */
  --badge-sale-fg: var(--hl-white);
  --badge-new-bg: var(--hl-green-dark);     /* label "Nieuw" */
  --badge-new-fg: var(--hl-white);
  --badge-soft-bg: var(--hl-white);         /* label "Meerdere maten" op de foto */
  --badge-soft-fg: var(--hl-ink);
  --stock-in: var(--hl-green-700);          /* op voorraad (5,8:1) */
  --stock-low: #8A5A12;                     /* bijna op: donker amber, 5,9:1 op wit */
  --stock-out: var(--hl-ink-500);           /* uitverkocht */
  --wish-on: var(--hl-green);               /* gevuld hartje */
  --success-bg: #EEF3F2;                    /* lichte tint van --hl-green */
  --success-fg: var(--hl-green-dark);
  --error-bg: #F7ECEC;
  --error-fg: var(--color-error);
  --info-bg: var(--hl-grey-soft);
  --info-fg: var(--hl-ink-700);
  --product-media-bg: var(--hl-grey-soft);  /* packshots hebben wit: multiply maakt dat grijs */
  --product-ratio: 1 / 1;
  --drawer-w: min(420px, 100vw);
  --input-h: 48px;
  --radius-textarea: var(--radius-md);
}

@media (min-width: 768px) {
  :root { --fs-display: 52px; --fs-h1: 40px; --fs-h2: 30px; --fs-lead: 18px; --fs-body: 16px; --fs-hero-text: 18px; }
}
@media (min-width: 1200px) {
  :root { --fs-display: 64px; --fs-h1: 48px; --fs-h2: 36px; --fs-h3: 24px; --fs-h4: 20px; --fs-lead: 20px; --fs-hero-text: 19px; --header-h: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { --duration-fast: 0ms; --duration-base: 0ms; --duration-slow: 0ms; }
}
