/* =====================================================================
   RW-HOME-2026 1.0.0 – feedback designer (Primestudios, 11-11-2026)
   1. Lettergroottes uit "Roedeshop.nl lettergroottes.xlsx" (homepage, header en footer)
      in vier formaten: XL (vanaf 1600px), L (1026–1599px), M (676–1025px), S (t/m 675px).
      Alle maten staan hieronder als variabelen: één plek om ze aan te passen.
   2. Header: oranje balk links uitgelijnd met het logo, zoekknop zonder oranje cirkel,
      scheidingsstreepjes in het menu niet tot de rand.
   3. Footer: social-iconen op één rij, copyrightregel donkergrijs.
   4. Homepage: ruimte aan de zijkanten, dunnere knoppen, hoger samples- en showroomblok,
      zwevende stofstalen die boven het grijze vlak uitsteken, strepen niet tot de rand.
   Wordt geladen na stijl-2026.css en breedte-2026.css (alleen als Stijl 2026 aan staat).
   ===================================================================== */

/* ---------- 0. ruimte aan de zijkanten (1.0.1) ----------
   Automatisch meeschalend 16–48px; CMS › Instellingen › Site › Paginarand overschrijft dit (index.php). */
:root { --rs-paginarand: clamp(16px, 3vw, 48px); }
@media only screen and (min-width: 1026px) {
  /* hero-tekst op dezelfde lijn als logo en blokken */
  html body .s26h-hero-tekst { padding-left: max(var(--rs-paginarand), calc((100vw - var(--rs-paginabreedte, 1440px)) / 2 + var(--rs-paginarand))) !important; }
}

/* ---------- 1. lettergroottes: XL (1920) ---------- */
:root {
  --t-h1: 40px;          --t-h1-lh: 49.7px;     /* hero kop */
  --t-h2: 40px;          --t-h2-lh: 49.7px;     /* sectiekop */
  --t-eyebrow: 18px;     --t-eyebrow-lh: 21px;
  --t-intro: 16px;       --t-intro-lh: 23.1px;  /* intro / lopende tekst */
  --t-gg: 16px;          --t-gg-lh: 23.1px;     /* "Goed geregeld." */
  --t-cat-titel: 14px;   --t-cat-titel-lh: 19px;
  --t-cat-tekst: 13px;   --t-cat-tekst-lh: 18px;
  --t-cat-link: 13px;    --t-cat-link-lh: 16.8px;
  --t-tip-nr: 14px;      --t-tip-nr-lh: 18.2px;  /* producttegel naam (01) */
  --t-tip-titel: 14px;   --t-tip-titel-lh: 19px;
  --t-tip-tekst: 13px;   --t-tip-tekst-lh: 18px;
  --t-tip-link: 13px;    --t-tip-link-lh: 16.8px;
  --t-lijst-nr: 14px;    --t-lijst-nr-lh: 18.2px;
  --t-lijst-titel: 14px; --t-lijst-titel-lh: 19px;
  --t-lijst-tekst: 13px; --t-lijst-tekst-lh: 18px;
  --t-label1: 13px;      --t-label1-lh: 14px;
  --t-label2: 14px;      --t-label2-lh: 14px;
  --t-knop: 14px;        --t-knop-lh: 14px;
  --t-topbalk: 9px;      --t-topbalk-lh: 11.2px;
  --t-contact: 10.4px;   --t-contact-lh: 11.2px; /* teller winkelwagen */
  --t-nav: 12px;         --t-nav-lh: 17.6px;
  --t-infoblok: 9px;     --t-infoblok-lh: 11.2px;
  --t-footerkop: 11.2px; --t-footerkop-lh: 16.8px;
  --t-footerlink: 11.2px;--t-footerlink-lh: 16.8px;
  --t-copyright: 11.2px; --t-copyright-lh: 16.8px;
  --h26-knop-hoogte: 40px;   /* dunnere knoppen */
  --h26-grijs-tekst: #6A6A6A;
}
/* L (1280) */
@media only screen and (max-width: 1599px) {
  :root {
    --t-h1: 38.1px;  --t-h1-lh: 47.3px;  --t-h2: 38.1px;  --t-h2-lh: 47.3px;
    --t-eyebrow: 17.1px; --t-eyebrow-lh: 20px;
    --t-intro: 15.2px; --t-intro-lh: 22px; --t-gg: 15.2px; --t-gg-lh: 22px;
    --t-cat-titel: 13.3px; --t-cat-titel-lh: 18.1px; --t-cat-tekst: 12.4px; --t-cat-tekst-lh: 17.1px; --t-cat-link: 12.4px; --t-cat-link-lh: 16px;
    --t-tip-nr: 13.3px; --t-tip-nr-lh: 17.3px; --t-tip-titel: 13.3px; --t-tip-titel-lh: 18.1px; --t-tip-tekst: 12.4px; --t-tip-tekst-lh: 17.1px; --t-tip-link: 12.4px; --t-tip-link-lh: 16px;
    --t-lijst-nr: 13.3px; --t-lijst-nr-lh: 17.3px; --t-lijst-titel: 13.3px; --t-lijst-titel-lh: 18.1px; --t-lijst-tekst: 12.4px; --t-lijst-tekst-lh: 17.1px;
    --t-label1: 12.4px; --t-label1-lh: 13.3px; --t-label2: 13.3px; --t-label2-lh: 13.3px; --t-knop: 13.3px; --t-knop-lh: 13.3px;
  }
}
/* M (768) */
@media only screen and (max-width: 1025px) {
  :root {
    --t-h1: 33px; --t-h1-lh: 40.3px; --t-h2: 29px; --t-h2-lh: 35.4px;
    --t-eyebrow: 13px; --t-eyebrow-lh: 18.2px;
    --t-intro: 16px; --t-intro-lh: 26.4px; --t-gg: 17px; --t-gg-lh: 25.5px;
    --t-cat-titel: 18px; --t-cat-titel-lh: 23.4px; --t-cat-tekst: 14px; --t-cat-tekst-lh: 21px; --t-cat-link: 15px; --t-cat-link-lh: 21px;
    --t-tip-nr: 16px; --t-tip-nr-lh: 19.2px; --t-tip-titel: 18px; --t-tip-titel-lh: 23.4px; --t-tip-tekst: 14.5px; --t-tip-tekst-lh: 22.5px; --t-tip-link: 15px; --t-tip-link-lh: 21px;
    --t-lijst-nr: 17px; --t-lijst-nr-lh: 22.1px; --t-lijst-titel: 18px; --t-lijst-titel-lh: 23.4px; --t-lijst-tekst: 15px; --t-lijst-tekst-lh: 23.2px;
    --t-label1: 14px; --t-label1-lh: 19.6px; --t-label2: 15px; --t-label2-lh: 21px; --t-knop: 16px; --t-knop-lh: 19.2px;
    --t-topbalk: 12px; --t-topbalk-lh: 15.6px; --t-contact: 14px; --t-contact-lh: 18.2px; --t-nav: 14px; --t-nav-lh: 18.2px;
    --t-infoblok: 12px; --t-infoblok-lh: 16.8px; --t-footerkop: 14.5px; --t-footerkop-lh: 20.3px; --t-footerlink: 14px; --t-footerlink-lh: 21px;
    --t-copyright: 12.5px; --t-copyright-lh: 17.5px;
    --h26-knop-hoogte: 44px;
  }
}
/* S (390) */
@media only screen and (max-width: 675px) {
  :root { --t-h1: 30px; --t-h1-lh: 36.6px; }
}

/* homepage */
html body .s26h-hero h1 { font-size: var(--t-h1) !important; line-height: var(--t-h1-lh) !important; }
html body .s26h h2 { font-size: var(--t-h2) !important; line-height: var(--t-h2-lh) !important; }
html body .s26h-lbl { font-size: var(--t-eyebrow) !important; line-height: var(--t-eyebrow-lh) !important; }
html body .s26h-hero-tekst > p:not(.s26h-gg), html body .s26h-intro, html body .s26h-split-tekst p:not(.s26h-gg),
html body .s26h-hulp-tekst p:not(.s26h-gg), html body .s26h-maat > div > p:not(.s26h-gg) { font-size: var(--t-intro) !important; line-height: var(--t-intro-lh) !important; }
html body .s26h-gg { font-size: var(--t-gg) !important; line-height: var(--t-gg-lh) !important; }
html body .s26h-kaart-tekst b { font-size: var(--t-cat-titel) !important; line-height: var(--t-cat-titel-lh) !important; }
html body .s26h-kaart-tekst small { font-size: var(--t-cat-tekst) !important; line-height: var(--t-cat-tekst-lh) !important; }
html body .s26h-kaart .s26h-meer { font-size: var(--t-cat-link) !important; line-height: var(--t-cat-link-lh) !important; }
html body .s26h-tip-nr { font-size: var(--t-tip-nr) !important; line-height: var(--t-tip-nr-lh) !important; }
html body .s26h-tip b { font-size: var(--t-tip-titel) !important; line-height: var(--t-tip-titel-lh) !important; }
html body .s26h-tip small { font-size: var(--t-tip-tekst) !important; line-height: var(--t-tip-tekst-lh) !important; }
html body .s26h-tip .s26h-meer { font-size: var(--t-tip-link) !important; line-height: var(--t-tip-link-lh) !important; }
html body .s26h-punten li > span { font-size: var(--t-lijst-nr) !important; line-height: var(--t-lijst-nr-lh) !important; }
html body .s26h-punten b { font-size: var(--t-lijst-titel) !important; line-height: var(--t-lijst-titel-lh) !important; }
html body .s26h-punten small { font-size: var(--t-lijst-tekst) !important; line-height: var(--t-lijst-tekst-lh) !important; }
html body .s26h-hero-label { font-size: var(--t-label1) !important; line-height: var(--t-label1-lh) !important; }
html body .s26h-hero-label b { font-size: var(--t-label2) !important; line-height: var(--t-label2-lh) !important; margin-top: 8px; }
html body .s26h-knop { font-size: var(--t-knop) !important; line-height: var(--t-knop-lh) !important; }

/* header en footer */
html body #header-top, html body #header-top a, html body #header-top span { font-size: var(--t-topbalk) !important; line-height: var(--t-topbalk-lh); }
html body #header .winkelwagen span, html body #cart-details, html body #cart-details * { font-size: var(--t-contact) !important; line-height: var(--t-contact-lh) !important; }
@media only screen and (min-width: 1026px) {
  html body #navigation-container ul.depth-0 > li > a, html body #navigation-container ul.depth-0 > li > a span { font-size: var(--t-nav) !important; line-height: var(--t-nav-lh) !important; }
}
html body #grijze-balk-boven, html body #grijze-balk-boven * { font-size: var(--t-infoblok) !important; line-height: var(--t-infoblok-lh) !important; }
html body #footer .footer-content > p:first-of-type, html body #footer .footer-content > p:first-of-type * { font-size: var(--t-footerkop) !important; line-height: var(--t-footerkop-lh) !important; }
html body #footer .footer-content > p:not(:first-of-type), html body #footer .footer-content > p:not(:first-of-type) * { font-size: var(--t-footerlink) !important; line-height: var(--t-footerlink-lh) !important; }

/* ---------- 2. header ---------- */
/* oranje balk: teksten links, op één lijn met het logo (zelfde breedte en rand als de header) */
@media only screen and (min-width: 1026px) {
  html body #header-top {
    justify-content: flex-start !important; gap: 0 clamp(20px, 3vw, 48px);
    padding-left: max(var(--rs-paginarand, 16px), calc((100% - var(--rs-paginabreedte, 1440px)) / 2 + var(--rs-paginarand, 16px))) !important;
    padding-right: var(--rs-paginarand, 16px) !important;
  }
  html body #header-top > span:last-of-type { margin-left: auto !important; }	/* Zakelijk inkopen rechts */
}
/* zoekknop: geen oranje cirkel, grijs vergrootglas */
html body .s26-zoek-knop, html body .s26-zoek-knop:hover { background: transparent !important; color: var(--rs-grijs-d) !important; box-shadow: none !important; }
html body .s26-zoek-knop:hover { color: var(--rs-tekst) !important; }
html body .s26-zoek-knop svg, html body .s26-zoek-knop svg * { stroke: currentColor; }
/* menu: scheidingsstreepjes niet tot boven- en onderrand */
@media only screen and (min-width: 1026px) {
  html body #navigation-container ul.depth-0 > li + li > a { box-shadow: none !important; position: relative; }
  html body #navigation-container ul.depth-0 > li + li > a::before {
    content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: rgba(255,255,255,.6); pointer-events: none;
  }
}

/* ---------- 3. footer ---------- */
html body #footer .footer4 p:last-of-type, html body #footer .footer4 > p { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; }
html body #footer .footer4 img { flex: 0 0 auto; max-width: 44px; height: auto; }
html body #footer > div:last-child, html body #footer > div:last-child * {
  color: var(--h26-grijs-tekst) !important; font-size: var(--t-copyright) !important; line-height: var(--t-copyright-lh) !important;
}

/* ---------- 4. homepage ---------- */
/* ruimte aan de zijkanten: zelfde breedte en rand als header en footer */
html body .s26h-blok {
  max-width: var(--rs-paginabreedte, 1440px); margin-left: auto !important; margin-right: auto !important;
  padding-left: var(--rs-paginarand, 16px) !important; padding-right: var(--rs-paginarand, 16px) !important; box-sizing: border-box;
}
@media only screen and (max-width: 1025px) { html body .s26h-blok { padding-left: 16px !important; padding-right: 16px !important; } }
/* dunnere knoppen */
html body .s26h-knop { min-height: var(--h26-knop-hoogte); padding: 0 20px; border-width: 1.5px; }
/* maatwerk: de streepjes lopen niet tot de rand door */
html body .s26h-punten { border-bottom: 0; }
html body .s26h-punten li { border-top: 0; position: relative; }
html body .s26h-punten li::after { content: ""; position: absolute; left: 4px; right: 12%; bottom: 0; height: 1px; background: #E2E2E2; }
html body .s26h-punten li:first-child::before { content: ""; position: absolute; left: 4px; right: 12%; top: 0; height: 1px; background: #E2E2E2; }
/* samplesblok en showroom: hoger */
html body .s26h-samples, html body .s26h-showroom { min-height: clamp(360px, 34vw, 560px); }
html body .s26h-samples .s26h-split-tekst, html body .s26h-showroom .s26h-split-tekst { padding-top: clamp(56px, 6vw, 96px); padding-bottom: clamp(56px, 6vw, 96px); }
/* zwevende stofstalen: steken aan de bovenkant buiten het grijze vlak uit */
html body .s26h-zwevend { overflow: visible; margin-top: clamp(80px, 9vw, 150px) !important; }
html body .s26h-zwevend .s26h-split-foto { overflow: visible; min-height: clamp(360px, 34vw, 560px); }
html body .s26h-zwevend .s26h-split-foto img {
  position: absolute; inset: auto 0 6% 0; top: calc(-1 * clamp(80px, 9vw, 150px)); margin: 0 auto; width: auto !important; height: calc(100% + clamp(80px, 9vw, 150px)) !important;
  max-width: 92%; aspect-ratio: 720 / 900; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.18));
}
/* overige categorietegels tussen samples en showroom */
html body .s26h-blok-2 { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
@media only screen and (max-width: 760px) {
  html body .s26h-zwevend { margin-top: 64px !important; }
  html body .s26h-zwevend .s26h-split-foto { min-height: 260px; aspect-ratio: auto; }
  html body .s26h-zwevend .s26h-split-foto img { top: -64px; height: calc(100% + 40px) !important; }
  html body .s26h-samples, html body .s26h-showroom { min-height: 0; }
}

/* ---------- 1.0.2: tablet (676–1025px) – hamburgermenu ----------
   Tussen 676 en 1025 px is de paarse menubalk verborgen (die opent via het hamburgermenu),
   maar het hamburgermenu stond alleen op de telefoon (tot 675 px). Daardoor was er op tablet en in een
   smal desktopvenster geen menu. Nu de telefoonkop ook op tablet: menu links, logo midden, winkelwagen rechts. */
@media only screen and (min-width: 676px) and (max-width: 1025px) {
  html body #header #logo-desktop { display: none !important; }
  html body #header > #cart { display: none !important; }
  html body #header #logo-mobiel { display: flex !important; align-items: center; justify-content: space-between; width: 100%; height: auto !important; padding: 8px 16px; box-sizing: border-box; }
  html body #header #logo-mobiel, html body #header #logo-mobiel * { min-height: 0 !important; }
  html body #header #logo-mobiel .mobile-menu { display: flex !important; width: auto; padding: 0; margin: 0; flex: 0 0 120px; }
  html body #header #logo-mobiel > div:nth-child(2) { flex: 1 1 auto; width: auto !important; height: auto !important; text-align: center; }
  html body #header #logo-mobiel a#logo { display: inline-block; height: auto !important; padding: 0 !important; margin: 0 auto !important; }
  html body #header #logo-mobiel img#logo { width: auto !important; height: auto !important; max-height: 44px; max-width: 260px; padding: 0 !important; margin: 0 auto !important; }
  html body #header #logo-mobiel > div:nth-child(3) { flex: 0 0 120px; width: auto !important; height: auto !important; padding: 0 !important; text-align: right; }
  html body #header #logo-mobiel .winkelwagen img { width: auto !important; height: 36px !important; }
}
