/* Eemhuus & Co: layout-laag over het WordPress-thema.
   Alleen ritme, uitlijning en bewegingen; kleuren, fonts en knopstijl blijven van het thema.
   Wordt na shop.css geladen (zie build/convert.py). */

:root {
  --eh-gutter: 16px;
  --eh-ease-out: cubic-bezier(.23, 1, .32, 1);
  --eh-dark: var(--wp--preset--color--ti-bg-inv, #1a1919);
}

/* ---------- basis ---------- */
html { background: var(--eh-dark); -webkit-text-size-adjust: 100%; }
/* Thema zet body op wit met een vaste achtergrondfoto: onder de foto werd het wit. */
body { overflow-x: clip; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
h1, h2, h3, .wp-block-heading, .wp-block-post-title { text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: manual; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--eh-amber); outline-offset: 2px; }

/* Touchscreens kunnen geen vaste achtergrond (iOS rekt hem op, Android schokt). */
@media (hover: none), (max-width: 1024px) {
  body { background-attachment: scroll !important; background-size: auto 100vh !important; background-repeat: repeat-y !important; }
}

/* Volle-breedteblok binnen een al volle-breedte <main>: niet nog eens naar buiten schuiven. */
.wp-site-blocks > main.has-background .alignfull { margin-left: 0 !important; margin-right: 0 !important; }

/* ---------- knoppen ---------- */
.wp-block-button__link, .wp-element-button, .eh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; box-sizing: border-box; line-height: 1.25; text-wrap: balance;
  transition: transform .16s var(--eh-ease-out), filter .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.wp-block-button__link:active, .wp-element-button:active, .eh-btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .wp-block-button__link:hover, .wp-element-button:hover, .eh-btn:hover { filter: brightness(1.08); }
}

/* ---------- productkaarten (overzicht + gerelateerd) ---------- */
.wc-block-product-template { gap: 16px !important; }
.wc-block-product-template > li.wc-block-product { width: auto !important; margin: 0 !important; display: flex; }
.wc-block-product-template > li.wc-block-product > .wp-block-group {
  display: flex; flex-direction: column; width: 100%; box-sizing: border-box;
  transition: transform .2s var(--eh-ease-out), box-shadow .2s ease;
}
.wc-block-product-template > li.wc-block-product > .wp-block-group > .wp-block-group:last-child { margin-top: auto !important; }
.wc-block-product-template .wc-block-components-product-image img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 8px; }
.wc-block-product-template .wp-block-post-title { font-size: 1rem !important; line-height: 1.3; margin: 0 0 4px !important; }
.wc-block-product-template .wc-block-components-product-button { width: 100%; }
.wc-block-product-template .wc-block-components-product-button .wp-block-button__link { width: 100%; font-size: .9rem !important; padding: 10px 12px !important; }
@media (hover: hover) and (pointer: fine) {
  .wc-block-product-template > li.wc-block-product > .wp-block-group:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
}

/* ---------- productpagina ---------- */
.wc-block-next-previous-buttons__button {
  background: rgba(20, 20, 20, .65) !important; color: #fff !important; border-radius: 999px !important;
  backdrop-filter: blur(4px); transition: transform .16s var(--eh-ease-out), opacity .2s ease;
}
.wc-block-next-previous-buttons__button:active { transform: scale(.94); }
.wc-block-next-previous-buttons__button[aria-disabled="true"] { opacity: 0; pointer-events: none; }
/* Er zijn geen reviews meer: tabje en lege tab weg. */
.woocommerce-tabs .reviews_tab, .woocommerce-tabs #tab-reviews { display: none !important; }
.woocommerce-tabs ul.wc-tabs:not(:has(> li:not(.reviews_tab) ~ li:not(.reviews_tab))) { display: none; }
.woocommerce-Tabs-panel--description { margin: 0 !important; }
.wp-block-add-to-cart-with-options .wp-element-button { flex: 1; }

/* Maatkeuze: grotere tikvlakken en altijd S-M-L-XL-volgorde. */
.wc-block-product-filter-chips__items { display: flex; flex-wrap: wrap; gap: 8px; }
.wc-block-product-filter-chips__item { min-width: 44px; min-height: 40px; padding: 6px 10px !important; border-radius: 8px !important; transition: background-color .15s ease, color .15s ease, transform .16s var(--eh-ease-out); }
.wc-block-product-filter-chips__item:active { transform: scale(.95); }
.wc-block-product-filter-chips__item[aria-checked="true"] { background: var(--eh-amber) !important; color: #1a1919 !important; border-color: var(--eh-amber) !important; }
.wc-block-product-filter-chips__item[value="3xs"], .wc-block-product-filter-chips__item[value="xxs"] { order: 1; }
.wc-block-product-filter-chips__item[value="xs"] { order: 2; }
.wc-block-product-filter-chips__item[value="s"] { order: 3; }
.wc-block-product-filter-chips__item[value="m"] { order: 4; }
.wc-block-product-filter-chips__item[value="l"] { order: 5; }
.wc-block-product-filter-chips__item[value="xl"] { order: 6; }
.wc-block-product-filter-chips__item[value="xxl"] { order: 7; }
.wc-block-product-filter-chips__item[value="xxxl"], .wc-block-product-filter-chips__item[value="3xl"] { order: 8; }
/* Aantal + knop: knop vult de rest, loopt nooit buiten de kaart. */
.wp-block-add-to-cart-with-options .is-nowrap { flex-wrap: wrap !important; gap: 10px !important; }
.wp-block-add-to-cart-with-options .is-nowrap > .wp-block-button, .wp-block-add-to-cart-with-options .is-nowrap > button { flex: 1 1 160px; min-width: 0; }
.wp-block-add-to-cart-with-options .is-nowrap .wp-element-button { width: 100%; }
.single-product .wp-block-post-excerpt, .woocommerce.product .wp-block-post-excerpt { font-size: .95rem !important; line-height: 1.55; }
.woocommerce.product .wp-block-columns { align-items: flex-start; }

/* ---------- contactformulier ---------- */
.wpcf7-form fieldset.hidden-fields-container:empty, .wpcf7-response-output:empty { display: none; }
.wpcf7-form input.wpcf7-text, .wpcf7-form textarea { width: 100%; box-sizing: border-box; border-radius: 8px; padding: 12px 14px; font: inherit; border: 1px solid transparent; }
.wpcf7-form input.wpcf7-text:focus, .wpcf7-form textarea:focus { outline: 2px solid var(--eh-amber); outline-offset: 1px; }
.wpcf7-form .wpcf7-submit {
  background: radial-gradient(rgb(255, 105, 0) 0%, rgb(207, 46, 46) 100%) !important; color: #fff !important; border: 0 !important;
  border-radius: 10px; min-height: 48px; padding: 12px 28px; font: inherit; font-weight: 600; cursor: pointer;
  transition: transform .16s var(--eh-ease-out), filter .2s ease;
}
.wpcf7-form .wpcf7-submit:active { transform: scale(.97); }

/* ================= mobiel ================= */
@media (max-width: 781px) {
  :root { --wp--custom--spacing--outer: var(--eh-gutter); }
  .wp-site-blocks { padding-left: var(--eh-gutter) !important; padding-right: var(--eh-gutter) !important; }
  .wp-site-blocks .alignfull { margin-left: calc(var(--eh-gutter) * -1) !important; margin-right: calc(var(--eh-gutter) * -1) !important; }

  /* Blokken-in-blokken: binnenste lagen krijgen geen extra zijruimte meer. */
  main .wp-block-group.has-background,
  main .wp-block-columns.has-background { padding-left: var(--eh-gutter) !important; padding-right: var(--eh-gutter) !important; }
  main .wp-block-group.has-background .wp-block-group.has-background,
  main .wp-block-group.has-background .wp-block-columns.has-background { padding-left: 12px !important; padding-right: 12px !important; }
  main .wp-block-group.has-background .alignfull,
  main .wp-block-group.has-background .alignwide { margin-left: 0 !important; margin-right: 0 !important; }
  main .wp-block-column:not(.has-border-color):not(.has-background) { padding-left: 0 !important; padding-right: 0 !important; }
  main .wp-block-column.has-border-color, main .wp-block-group.has-border-color:not(.has-background) { padding: 12px 14px !important; }
  main figure.wp-block-image:not(.alignleft):not(.alignright) { margin-left: auto !important; margin-right: auto !important; text-align: center; }

  /* Zoekbalk: invoerveld krijgt de ruimte, knop zo smal als hij hoeft. */
  .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
  .wp-block-search__inside-wrapper .wp-block-search__input { flex: 1 1 auto; min-width: 0; }
  .wp-block-search__inside-wrapper .wp-block-search__button { flex: 0 0 auto; width: auto !important; padding-inline: 18px !important; margin: 0 !important; }
  main .wp-block-columns { gap: 16px !important; }

  /* Koppen met streepjes links/rechts: streepjes weg, kop mag de volle breedte. */
  .is-nowrap:has(> .wp-block-separator) > .wp-block-separator { display: none; }
  .is-nowrap:has(> .wp-block-separator) > .wp-block-heading { flex: 1 1 auto; }

  main h1, main .has-huge-font-size { font-size: clamp(1.9rem, 8vw, 2.4rem) !important; line-height: 1.15 !important; }
  h2.wp-block-heading { line-height: 1.2; }
  main p { line-height: 1.6; }

  /* Knoppen: één regel waar het kan, volle breedte in smalle kolommen. */
  .wp-block-buttons { gap: 10px !important; }
  .wp-block-button.wp-block-button__width-25, .wp-block-button.wp-block-button__width-50, .wp-block-button.wp-block-button__width-75 { width: auto !important; min-width: min(100%, 220px); flex: 0 1 auto; }
  .wp-block-buttons.is-vertical .wp-block-button, .wp-block-buttons > .wp-block-button.has-custom-width { flex-basis: auto; }

  /* Productoverzicht: twee kolommen. */
  .wc-block-product-template { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .wc-block-product-template > li.wc-block-product > .wp-block-group { padding: 8px !important; border-width: 2px !important; }
  .wc-block-product-template > li.wc-block-product > .wp-block-group > .wp-block-group { padding: 8px 0 0 !important; margin-top: 8px !important; background: transparent !important; }
  .wc-block-product-template .wc-block-components-product-image__inner-container { padding: 0 !important; }
  .wc-block-product-template .wc-block-components-product-button .wp-block-button__link { font-size: .8rem !important; padding: 8px !important; min-height: 40px; }

}

/* ================= desktop ================= */
@media (min-width: 782px) {
  .wp-block-button.has-custom-width { min-width: fit-content; }
  .wp-block-button.has-custom-width .wp-block-button__link { white-space: nowrap; }
  .wc-block-product-template.columns-4 { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .wc-block-product-template.columns-3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .wc-block-product-template.columns-2 { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.eh-search input { min-width: 0; }
.eh-search .eh-btn { flex: 0 0 auto; }
.eh-search .eh-btn { background: radial-gradient(rgb(255, 105, 0) 0%, rgb(207, 46, 46) 100%) !important; color: #fff !important; }

/* ================= productpagina: compositie =================
   Foto links groot, koopkaart rechts die meeloopt bij scrollen, daaronder één
   leesbare kolom met de details. Op mobiel: foto, koopkaart, details. */
.single-product .woocommerce.product { --eh-pp-gap: clamp(16px, 3vw, 40px); --eh-pp-radius: 14px; --eh-pp-ink: #f4f1ea; --eh-pp-soft: #c9c4b8; }
.single-product .woocommerce.product .wp-block-columns.alignwide {
  gap: var(--eh-pp-gap) !important; align-items: flex-start !important; padding: var(--eh-pp-gap) !important;
}
.single-product .woocommerce.product .wp-block-columns.alignwide > .wp-block-column { min-width: 0; }
.single-product .woocommerce.product .wp-block-columns.alignwide > .wp-block-column:first-child { flex-basis: 56% !important; }
.single-product .woocommerce.product .wp-block-columns.alignwide > .wp-block-column:last-child {
  flex-basis: 44% !important; padding: clamp(20px, 2.4vw, 32px) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 18px 40px rgba(0, 0, 0, .35) !important;
}
@media (min-width: 782px) {
  .single-product .woocommerce.product .wp-block-columns.alignwide > .wp-block-column:last-child { position: sticky; top: 24px; }
}

/* Galerij: grote foto vult de kolom, miniaturen eronder op dezelfde lijn. */
.single-product .wc-block-product-gallery { gap: 12px !important; }
.single-product .wc-block-product-gallery-large-image { border-radius: var(--eh-pp-radius); overflow: hidden; background: #222; position: relative; }
.single-product .wc-block-product-gallery-large-image__wrapper .wc-block-components-product-image { display: block; }
/* Productfoto's hebben verschillende verhoudingen: vierkant vlak, foto past er heel in. */
.single-product .wc-block-product-gallery-large-image .wc-block-components-product-image.wc-block-components-product-image--aspect-ratio-auto img.wc-block-woocommerce-product-gallery-large-image__image {
  width: 100% !important; aspect-ratio: 1; height: auto !important; object-fit: contain !important; display: block; margin: 0 !important; background: #222;
}
.single-product .wc-block-components-product-image__inner-container .is-loading { display: none; }
.single-product .wc-block-product-gallery-large-image__inner-blocks { position: absolute; inset: auto 12px 12px auto; z-index: 2; }
.single-product .wc-block-next-previous-buttons { gap: 8px !important; }
.single-product .wc-block-next-previous-buttons__button { width: 40px !important; height: 40px !important; }
.single-product .wc-block-product-gallery-thumbnails { width: 100% !important; }
.single-product .wc-block-product-gallery-thumbnails__scrollable { display: flex !important; gap: 10px !important; justify-content: flex-start !important; overflow-x: auto; scrollbar-width: none; padding: 4px !important; margin: -4px !important; }
.single-product .wc-block-product-gallery-thumbnails__thumbnail { flex: 0 0 clamp(64px, 18%, 96px) !important; width: auto !important; margin: 0 !important; }
.single-product .wc-block-product-gallery-thumbnails__thumbnail__image {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: pointer; opacity: .7; background: #2a2a2a;
  outline: 2px solid transparent; outline-offset: 2px;
  transition: opacity .2s ease, outline-color .2s ease, transform .16s var(--eh-ease-out);
}
.single-product .wc-block-product-gallery-thumbnails__thumbnail__image--is-active { opacity: 1; outline-color: var(--eh-amber); }
.single-product .wc-block-product-gallery-thumbnails__thumbnail__image:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) {
  .single-product .wc-block-product-gallery-thumbnails__thumbnail__image:hover { opacity: 1; }
}
/* Thema legt een overlay over de actieve miniatuur; de rand is genoeg. */
.single-product .wc-block-product-gallery-thumbnails--active-overlay .wc-block-product-gallery-thumbnails__thumbnail__image--is-active { filter: none !important; }
.single-product .wc-block-product-gallery-thumbnails__thumbnail::after { display: none !important; }

/* Koopkaart: ritme van klein naar groot, prijs duidelijk, tekst leesbaar. */
.single-product .wc-block-breadcrumbs { font-size: .8rem !important; opacity: .85; margin: 0 !important; }
.single-product .wc-block-breadcrumbs a { text-underline-offset: 3px; }
.single-product .woocommerce.product h1.wp-block-post-title { margin: 10px 0 0 !important; line-height: 1.08; letter-spacing: -.02em; }
.single-product #ppcp-recaptcha-v2-container:empty { display: none; }
.single-product .woocommerce.product .wp-block-post-excerpt { margin: 12px 0 0 !important; color: var(--eh-pp-soft) !important; }
.single-product .woocommerce.product .wp-block-post-excerpt p { font-size: 1rem; font-weight: 400; line-height: 1.55; margin: 0; max-width: 46ch; }
/* Lange intro's: vijf regels, de volledige tekst staat onder de foto. */
.single-product .woocommerce.product .wp-block-columns.alignwide .wp-block-post-excerpt p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.single-product .woocommerce.product .wp-block-columns.alignwide .wp-block-woocommerce-product-price { margin-top: 18px !important; }
.single-product .woocommerce.product .wp-block-columns.alignwide .wp-block-woocommerce-product-price .wc-block-components-product-price {
  font-size: clamp(1.6rem, 2.4vw, 2rem) !important; font-weight: 700 !important; color: var(--eh-pp-ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.single-product .woocommerce.product .wp-block-column:last-child > .wp-block-group.has-ti-bg-color { padding: 0 !important; margin: 20px 0 0 !important; background: transparent !important; }
.single-product .wp-block-add-to-cart-with-options-variation-selector-attribute > .wp-block-group { margin: 0 0 16px !important; gap: 10px !important; }
.single-product .wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute-name { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--eh-pp-soft); }
.single-product .wc-block-product-filter-chips__items { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px !important; }
.single-product .wc-block-product-filter-chips__item { min-width: 0 !important; min-height: 46px; padding: 6px 4px !important; justify-content: center; font-weight: 600; white-space: nowrap; }
.single-product .wp-block-woocommerce-product-stock-indicator:empty { display: none; }

/* Aantal + knop op één regel, even hoog. */
.single-product .wp-block-add-to-cart-with-options .is-horizontal { flex-wrap: nowrap !important; align-items: stretch !important; gap: 10px !important; padding: 0 !important; margin: 0 !important; background: transparent !important; }
.single-product .wp-block-add-to-cart-with-options .is-horizontal > .wc-block-add-to-cart-with-options__quantity-selector { flex: 0 0 auto; }
.single-product .wp-block-add-to-cart-with-options .wc-block-components-quantity-selector { height: 54px; margin: 0 !important; border-radius: 10px !important; width: 124px !important; }
.single-product .wp-block-add-to-cart-with-options .wc-block-components-quantity-selector__input { font-weight: 600; font-variant-numeric: tabular-nums; }
.single-product .wp-block-add-to-cart-with-options .is-horizontal > .wp-block-button { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; margin: 0 !important; }
.single-product .wp-block-add-to-cart-with-options .single_add_to_cart_button {
  min-height: 54px; height: 100%; width: 100% !important; padding: 0 18px !important; border-radius: 10px !important;
  font-size: 1rem !important; font-weight: 700 !important; white-space: nowrap; justify-content: center !important; text-align: center !important;
  background: radial-gradient(rgb(255, 105, 0) 0%, rgb(207, 46, 46) 100%) !important; color: #fff !important;
  box-shadow: 0 8px 20px rgba(207, 46, 46, .28);
}
.single-product .wp-block-add-to-cart-with-options .single_add_to_cart_button > span { transition: filter .2s ease, opacity .2s ease; }
.single-product .wp-block-add-to-cart-with-options .single_add_to_cart_button.eh-swap > span { filter: blur(2px); opacity: .4; }
.single-product .wp-block-add-to-cart-with-options .single_add_to_cart_button.disabled { filter: saturate(.4) brightness(.85); box-shadow: none; }
.single-product .woocommerce.product .wp-block-column:last-child p.has-small-font-size { text-align: left !important; margin: 14px 0 0 !important; font-size: .85rem !important; color: var(--eh-pp-soft); }
.single-product .woocommerce.product .wp-block-column:last-child > .wp-block-group:empty { display: none; }

/* Drie pluspunten onder foto en koopkaart: op desktop één rij, op mobiel een lijstje. */
.single-product .woocommerce.product .wp-block-group.has-ti-bg-inv-background-color > .wp-block-group.alignwide.has-ti-fg-background-color {
  max-width: none !important; margin: 0 var(--eh-pp-gap) var(--eh-pp-gap) !important; padding: 6px 20px !important; border-radius: var(--eh-pp-radius) !important;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px;
}
.single-product .woocommerce.product .wp-block-group.has-ti-bg-inv-background-color > .wp-block-group.alignwide.has-ti-fg-background-color > p {
  max-width: none !important; margin: 0 !important; padding: 14px 0; font-size: .95rem; font-weight: 500; line-height: 1.45; color: var(--eh-pp-ink);
}
.single-product .woocommerce.product .wp-block-group.has-ti-bg-inv-background-color > .wp-block-group.alignwide.has-ti-fg-background-color > p strong { font-weight: inherit; }
@media (max-width: 781px) {
  .single-product .woocommerce.product .wp-block-group.has-ti-bg-inv-background-color > .wp-block-group.alignwide.has-ti-fg-background-color { grid-template-columns: 1fr; margin: 16px 0 0 !important; padding: 4px 18px !important; }
  .single-product .woocommerce.product .wp-block-group.has-ti-bg-inv-background-color > .wp-block-group.alignwide.has-ti-fg-background-color > p + p { border-top: 1px solid rgba(255, 255, 255, .07); }
}

/* Details onder de foto: één kolom, dezelfde breedte als het blok erboven. */
.single-product .woocommerce.product > .wp-block-group > .wp-block-group.alignwide.has-ti-fg-background-color {
  margin-top: 16px !important; padding: clamp(18px, 2.4vw, 28px) clamp(18px, 3vw, 36px) !important; border-radius: var(--eh-pp-radius) !important;
}
.single-product .woocommerce.product > .wp-block-group > .wp-block-group.alignwide.has-ti-fg-background-color p { font-weight: 400; line-height: 1.6; max-width: 70ch; color: var(--eh-pp-ink); }
/* Lege beschrijving (alleen het verborgen reviewtabje): blok weg. */
.single-product .woocommerce.product > .wp-block-group > .wp-block-group.alignwide.has-ti-fg-background-color:not(:has(.woocommerce-Tabs-panel--description)) { display: none; }

/* Gerelateerd: kop links zoals de rest, ruimte erboven. */
.single-product .wp-block-woocommerce-product-collection { margin-top: clamp(32px, 5vw, 64px) !important; }
.single-product .wp-block-woocommerce-product-collection > h2 { text-align: left !important; font-size: 1.4rem !important; margin-bottom: 16px !important; }

@media (max-width: 781px) {
  .single-product .woocommerce.product .wp-block-columns.alignwide { padding: 0 !important; background: transparent !important; }
  .single-product .woocommerce.product > .wp-block-group > .wp-block-group.alignwide.has-ti-bg-inv-background-color { background: transparent !important; padding: 0 !important; }
  .single-product .woocommerce.product .wp-block-columns.alignwide > .wp-block-column:last-child { padding: 20px 18px !important; }
  .single-product .woocommerce.product h1.wp-block-post-title { font-size: clamp(1.8rem, 8vw, 2.2rem) !important; }
  .single-product .wc-block-product-filter-chips__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ================= ontwerp-pass: alle pagina's =================
   Rust, leesbaarheid en één doorlopend frame. Kleuren, logo's en knopstijl blijven van het merk. */
:root { --eh-ink: #f4f1ea; --eh-ink-soft: #c9c4b8; --eh-panel: #2b2a29; }

/* Achtergrondtextuur liep maar één schermhoogte door (body was 100% hoog): nu één vaste laag achter de hele pagina. */
html, body { height: auto !important; }
body { min-height: 100vh; background: transparent !important; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--eh-dark) url("../assets/wp-content/uploads/2023/11/1920x1080_px_Simple_Background-1330509.jpg") center / cover no-repeat;
}
/* Korte pagina's (winkelwagen, afrekenen, bedankt): footer onderaan het scherm, niet halverwege. */
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > * { flex-shrink: 0; }
.wp-site-blocks > footer, .wp-site-blocks > :last-child { margin-top: auto !important; }
.wp-site-blocks > main { margin-block-start: 0; }

/* Browserdelen in de huisstijl. */
::selection { background: var(--eh-amber); color: #1a1919; }
html { scrollbar-color: #4a4846 var(--eh-dark); accent-color: var(--eh-amber); }
a { text-underline-offset: .18em; text-decoration-thickness: from-font; }

/* Breder frame op desktop: 740px liet de helft van het scherm leeg. */
@media (min-width: 1100px) {
  body { --wp--style--global--content-size: 1000px; --wp--style--global--wide-size: 1180px; }
}

/* Lopende tekst: 700 vet op 18px las als één blok; koppen blijven zwaar. */
body main p, body main li { font-weight: 500; }
body main p strong, body main li strong, body main p b { font-weight: 700; }
main p.has-luminous-vivid-amber-color { color: var(--eh-ink) !important; }
main p { max-width: 75ch; }
main .has-text-align-center p, main p.has-text-align-center { margin-inline: auto; }

/* Volle-breedteblok in een volle-breedteblok schoof 16-24px buiten beeld. */
/* ---------- ritme ---------- */
/* Lege spacers van 100px+ maakten op mobiel gaten tussen de blokken. */
@media (max-width: 781px) {
  .wp-site-blocks .wp-block-spacer { max-height: 32px !important; }
  .wp-site-blocks > main.wp-block-group.has-background { padding-top: 40px !important; padding-bottom: 40px !important; }
}
.wp-site-blocks > .wp-block-group.has-background > .wp-block-buttons.alignfull { margin-left: 0 !important; margin-right: 0 !important; }
@media (max-width: 781px) {
  .wp-site-blocks > .wp-block-group.has-background > .alignfull, .alignfull > .alignfull { margin-left: 0 !important; margin-right: 0 !important; }
}
/* Zoekknop was fel citroengeel (#ff0), los van de rest: nu het merk-amber, even hoog als het veld. */
main .wp-block-search__button.has-custom-color-4-background-color { background: var(--eh-amber) !important; color: #1a1919 !important; border-radius: 10px !important; min-height: 48px; transition: transform .16s var(--eh-ease-out), filter .2s ease; }
main .wp-block-search__button:active { transform: scale(.97); }
main .wp-block-search__input { border-radius: 10px !important; min-height: 48px; }

/* Productkaarten: naam/prijs/knop zaten in een smaller donker blokje binnen de kaart. Eén vlak, foto op volle kaartbreedte. */
.wc-block-product-template > li.wc-block-product > .wp-block-group > .wp-block-group { background: transparent !important; width: 100% !important; max-width: none !important; box-shadow: none !important; padding-left: 0 !important; padding-right: 0 !important; }
.wc-block-product-template .wc-block-components-product-image, .wc-block-product-template .wc-block-components-product-image a { display: block; width: 100%; }
.wc-block-product-template .wc-block-components-product-image img { max-width: 100% !important; }
.wc-block-product-template .wc-block-components-product-price { font-variant-numeric: tabular-nums; font-weight: 600; }

/* Maatkeuze op desktop stond als één smalle kolom onder elkaar: chips krijgen de volle kaartbreedte. */
.single-product .wp-block-woocommerce-product-filter-chips, .single-product .wc-block-product-filter-chips__fieldset { align-self: stretch !important; width: 100% !important; min-width: 0; }
@media (min-width: 782px) {
  .single-product .wc-block-product-filter-chips__items { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

/* ================= header, footer en paginatitels =================
   Eén header en footer op alle pagina's (markup uit build/chrome.py), menu-gedrag in shop.js.
   Amber is de accentkleur: actieve pagina, hover, prijs. Menu-tekst zelf is gebroken wit, zodat het rustig leest. */
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('/shop/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
:root {
  --eh-chrome: #121111;
  --eh-chrome-2: #1d1c1b;
  --eh-header-h: 72px;
  --eh-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --eh-flag: linear-gradient(90deg, #c8102e 0 25%, #1f3a93 25% 50%, #f4f1ea 50% 75%, #2e8b57 75%);
}
@media (max-width: 1079px) { :root { --eh-header-h: 64px; } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header en footer lopen altijd van rand tot rand, ook waar de site zijruimte heeft. */
.wp-site-blocks > .eh-header, .wp-site-blocks > .eh-footer { margin-inline: calc(50% - 50vw) !important; width: 100vw; max-width: none; }
@media (max-width: 781px) {
  .wp-site-blocks > .eh-header, .wp-site-blocks > .eh-footer { margin-inline: calc(var(--eh-gutter) * -1) !important; width: auto; }
}

/* ---------- header ---------- */
.eh-header { position: sticky; top: 0; z-index: 50; margin-block: 0 !important; background: var(--eh-chrome); color: var(--eh-ink); transition: box-shadow .2s ease; font-family: inherit; }
.eh-header.is-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 8px 24px rgba(0, 0, 0, .35); }
.eh-header__bar { max-width: 1240px; margin: 0 auto; height: var(--eh-header-h); padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.eh-skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 14px; border-radius: 8px; background: var(--eh-amber); color: #1a1919 !important; font-weight: 700; text-decoration: none; }
.eh-skip:focus { top: 12px; }

.eh-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--eh-ink) !important; text-decoration: none !important; }
.eh-brand__logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.eh-brand__name { font-family: var(--eh-display); font-weight: 700; font-size: 1.45rem; line-height: 1; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.eh-brand__amp { color: var(--eh-amber); }

.eh-nav { flex: 1 1 auto; min-width: 0; }
.eh-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 2px; }
.eh-nav__item { position: relative; }
.eh-nav__link {
  line-height: 1; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  font: inherit; font-size: .95rem; font-weight: 600; color: var(--eh-ink) !important; text-decoration: none !important; white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.eh-nav__link[aria-current="page"], .eh-nav__item.is-current > .eh-nav__link { color: var(--eh-amber) !important; }
.eh-nav__link[aria-current="page"]::after, .eh-nav__item.is-current > .eh-nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--eh-amber);
}
.eh-nav__item.has-sub.is-current > .eh-nav__link::after { right: 30px; }
.eh-ico { width: 22px; height: 22px; flex: 0 0 auto; }
.eh-ico--chev { width: 12px; height: 12px; opacity: .7; transition: transform .2s var(--eh-ease-out); }
.eh-nav__toggle[aria-expanded="true"] .eh-ico--chev { transform: rotate(180deg); }

.eh-sub {
  list-style: none; margin: 0; padding: 6px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; z-index: 5;
  background: var(--eh-chrome-2); border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 16px 40px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: top left;
  transition: opacity .16s ease, transform .2s var(--eh-ease-out), visibility 0s linear .2s;
}
.eh-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* brug: muis valt niet in het gat */
.eh-nav__toggle[aria-expanded="true"] + .eh-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .16s ease, transform .2s var(--eh-ease-out), visibility 0s; }
.eh-sub__link { display: block; padding: 10px 12px; border-radius: 8px; color: var(--eh-ink) !important; text-decoration: none !important; font-size: .95rem; font-weight: 500; white-space: nowrap; transition: background-color .12s ease, color .12s ease; }
.eh-sub__link[aria-current="page"] { color: var(--eh-amber) !important; font-weight: 600; }

.eh-nav__extra { display: none; }

.eh-tools { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; margin-left: auto; }
.eh-iconbtn {
  position: relative; line-height: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 10px;
  border: 0; border-radius: 999px; background: none; cursor: pointer; color: var(--eh-ink) !important; text-decoration: none !important; font: inherit; font-size: .9rem; font-weight: 600;
  transition: background-color .15s ease, color .15s ease, transform .16s var(--eh-ease-out);
}
.eh-iconbtn:active { transform: scale(.94); }
.eh-iconbtn[aria-current="page"] { color: var(--eh-amber) !important; }
.eh-badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center;
  background: var(--eh-amber); color: #1a1919; font-size: .7rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums;
}
.eh-badge[hidden] { display: none; }
.eh-giants { width: 44px; height: 44px; border-radius: 10px; margin-left: 10px; }
.eh-menu-btn { display: none; }

@media (hover: hover) and (pointer: fine) {
  .eh-nav__link:hover, .eh-iconbtn:hover { color: var(--eh-amber) !important; background: rgba(255, 255, 255, .05); }
  .eh-sub__link:hover { background: rgba(255, 255, 255, .06); color: var(--eh-amber) !important; }
  .eh-brand:hover .eh-brand__name { color: var(--eh-amber); }
}
@media (max-width: 1279px) { .eh-iconbtn__label { display: none; } .eh-nav__link { padding: 0 10px; } }

/* Mobiel en tablet: menu achter de knop, als paneel onder de header */
@media (max-width: 1079px) {
  .eh-header__bar { padding: 0 8px 0 16px; gap: 12px; }
  .eh-brand__logo { width: 40px; height: 40px; }
  .eh-brand__name { font-size: 1.3rem; }
  .eh-giants { display: none; }
  .eh-menu-btn { display: inline-flex; }
  .eh-iconbtn--account { display: none; }
  .eh-ico__top, .eh-ico__bot { transition: transform .25s var(--eh-ease-out); transform-origin: 12px 12px; }
  .eh-header.is-open .eh-ico__top { transform: translateY(4.5px) rotate(45deg); }
  .eh-header.is-open .eh-ico__bot { transform: translateY(-4.5px) rotate(-45deg); }

  .eh-nav {
    position: fixed; left: 0; right: 0; top: var(--eh-header-h); height: calc(100dvh - var(--eh-header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); background: var(--eh-chrome);
    display: flex; flex-direction: column; gap: 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s ease, transform .24s var(--eh-ease-out), visibility 0s linear .24s;
  }
  .eh-header.is-open .eh-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .24s var(--eh-ease-out), visibility 0s; }
  .eh-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .eh-nav__item { border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .eh-nav__link { width: 100%; height: 56px; padding: 0 4px; font-size: 1.15rem; justify-content: space-between; border-radius: 0; }
  .eh-nav__link[aria-current="page"]::after, .eh-nav__item.is-current > .eh-nav__link::after { display: none; }
  .eh-nav__link[aria-current="page"]::before { content: ""; width: 4px; height: 22px; border-radius: 2px; background: var(--eh-amber); order: 2; }
  .eh-nav__toggle .eh-ico--chev { width: 14px; height: 14px; }
  /* Submenu klapt in de lijst open, zonder zwevend paneel */
  .eh-sub { position: static; min-width: 0; padding: 0 0 10px 12px; background: none; box-shadow: none; transform: none; opacity: 1; visibility: visible; display: none; transition: none; }
  .eh-sub::before { display: none; }
  .eh-nav__toggle[aria-expanded="true"] + .eh-sub { display: block; }
  .eh-sub__link { padding: 12px 8px; font-size: 1.05rem; color: var(--eh-ink-soft) !important; }
  .eh-nav__extra { display: flex; flex-direction: column; gap: 20px; }
  .eh-nav__account { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 12px; background: var(--eh-chrome-2); color: var(--eh-ink) !important; font-weight: 600; text-decoration: none !important; }
  .eh-nav__socials { display: flex; justify-content: center; gap: 8px; }
  .eh-nav__socials a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--eh-ink) !important; background: var(--eh-chrome-2); }
  .eh-nav__socials svg { width: 22px; height: 22px; }
}
@media (max-width: 380px) { .eh-brand__name { font-size: 1.15rem; } }

/* Kassa: rustige balk, alleen terug + veilig betalen */
.eh-header--checkout { position: relative; }
.eh-header--checkout .eh-header__bar { justify-content: space-between; }
.eh-back { order: -1; display: inline-flex; align-items: center; gap: 4px; color: var(--eh-ink-soft) !important; text-decoration: none !important; font-weight: 600; font-size: .9rem; min-height: 44px; }
.eh-secure { display: inline-flex; align-items: center; gap: 8px; color: var(--eh-ink-soft); font-size: .85rem; font-weight: 600; }
.eh-secure .eh-ico { width: 18px; height: 18px; color: var(--eh-amber); }
.eh-header--checkout .eh-brand { position: absolute; left: 50%; transform: translateX(-50%); }
@media (max-width: 640px) {
  .eh-secure { font-size: 0; gap: 0; } /* alleen het slotje */
  .eh-back { font-size: 0; } .eh-back .eh-ico { width: 26px; height: 26px; }
  .eh-header--checkout .eh-brand__name { font-size: 1.15rem; }
}

/* ---------- footer ---------- */
.eh-footer { margin-block: 0 !important; background: var(--eh-chrome); color: var(--eh-ink-soft); font-size: .95rem; }
.eh-footer__inner { max-width: 1240px; margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: minmax(260px, 1.15fr) 3fr; gap: 48px; }
.eh-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.eh-footer__brand .eh-brand__logo { width: 52px; height: 52px; }
.eh-footer__about { margin: 0; max-width: 34ch; line-height: 1.6; color: var(--eh-ink-soft); font-weight: 400 !important; }
.eh-footer__socials { display: flex; gap: 8px; }
.eh-social { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--eh-chrome-2); color: var(--eh-ink) !important; transition: color .15s ease, background-color .15s ease, transform .16s var(--eh-ease-out); }
.eh-social svg { width: 20px; height: 20px; }
.eh-social:active { transform: scale(.94); }
.eh-footer__partner { font-weight: 400 !important; display: flex; align-items: center; gap: 12px; margin: 4px 0 0; font-size: .85rem; line-height: 1.35; color: var(--eh-ink-soft); }
.eh-footer__partner img { width: 40px; height: 40px; border-radius: 8px; }
.eh-footer__partner strong { color: var(--eh-ink); font-weight: 600; }
.eh-footer__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.eh-footer__title { margin: 0 0 14px !important; font-family: var(--eh-display) !important; font-size: 1.15rem !important; font-weight: 700 !important; letter-spacing: .02em; text-transform: uppercase; color: var(--eh-amber) !important; line-height: 1.2; }
.eh-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.eh-footer__link { display: inline-block; padding: 6px 0; line-height: 1.35; color: var(--eh-ink-soft) !important; text-decoration: none !important; font-weight: 500; transition: color .15s ease; }
.eh-footer__link[aria-current="page"] { color: var(--eh-amber) !important; }
.eh-footer__bottom { max-width: 1240px; margin: 0 auto; padding: 20px 24px calc(24px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .85rem; }
.eh-footer__bottom p { margin: 0; color: var(--eh-ink-soft); font-weight: 400 !important; }
.eh-footer__cookies { border: 0; background: none; padding: 8px 0; font: inherit; color: var(--eh-ink-soft); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.eh-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.eh-footer__legal a { color: var(--eh-ink-soft) !important; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .eh-footer__link:hover, .eh-footer__cookies:hover, .eh-footer__legal a:hover { color: var(--eh-amber) !important; }
  .eh-social:hover { color: #1a1919 !important; background: var(--eh-amber); }
}
@media (max-width: 1023px) {
  .eh-footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .eh-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (max-width: 781px) {
  .eh-footer__inner { padding: 40px 20px 32px; }
  .eh-footer__bottom { padding-inline: 20px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .eh-footer__link { padding: 8px 0; }
}

/* ---------- paginatitels ---------- */
/* Eén stijl voor elke paginatitel: de balk bovenaan, in de display-letter van het merk, met de Groningse vlag eronder. */
body .wp-site-blocks h1.wp-block-post-title.alignfull {
  box-sizing: border-box; width: 100% !important; max-width: none !important; margin: 0 !important; padding: clamp(32px, 4.5vw, 56px) var(--eh-gutter) clamp(28px, 4vw, 48px) !important;
  background: var(--eh-chrome-2) !important; box-shadow: 0 0 0 100vmax var(--eh-chrome-2); clip-path: inset(0 -100vmax);
  font-family: var(--eh-display) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem) !important; line-height: 1 !important; color: var(--eh-amber) !important; text-align: center;
}
body .wp-site-blocks :is(h1.wp-block-post-title.alignfull, h1.wp-block-query-title, h1.wp-block-post-title.alignwide)::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 16px auto 0; border-radius: 2px; background: var(--eh-flag);
}
body .wp-site-blocks h1.wp-block-post-title a { color: inherit !important; text-decoration: none !important; }
/* Categorie, winkelwagen, afrekenen, zoeken: titel links, zelfde letter. */
body .wp-site-blocks :is(h1.wp-block-query-title, h1.wp-block-post-title.alignwide) {
  font-family: var(--eh-display) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem) !important; line-height: 1 !important; color: var(--eh-amber) !important; margin-top: 8px !important; margin-bottom: 24px !important;
}
body .wp-site-blocks :is(h1.wp-block-query-title, h1.wp-block-post-title.alignwide)::after { margin-left: 0; }
/* Startgidsen (installatie, besturing): titel staat al in een eigen vlak */
body .wp-site-blocks h1.wp-block-post-title.has-background:not(.alignfull) { font-family: var(--eh-display) !important; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05 !important; color: var(--eh-amber) !important; }

/* ================= merchandise en productpagina =================
   Markup uit build/winkel.py, gedrag in shop.js (initProductForms, initEhGallery, initBuyBar).
   Idee: een prijsbord uit de schuur. Donkere grond, namen in de condensed letter van de header,
   prijzen in amber met een stippellijn ernaartoe, foto's in een warm vlak. */
.eh-shop, .eh-pdp, .eh-kassa, .eh-drawer {
  --eh-ground: #121111;
  --eh-panel: #1d1c1b;
  --eh-panel-2: #262422;
  --eh-line: rgba(244, 241, 234, .09);
  --eh-ink: #f4f1ea;
  --eh-soft: #c9c4b8;
  --eh-r: 16px;
  color: var(--eh-ink);
}
.eh-shop *, .eh-pdp *, .eh-kassa *, .eh-drawer * { box-sizing: border-box; }
.eh-shop ::selection, .eh-pdp ::selection, .eh-kassa ::selection { background: var(--eh-amber); color: #1a1919; }
.eh-shop :is(h2, h3, p, ul, ol, dl, figure, fieldset), .eh-pdp :is(h1, h2, h3, p, ul, ol, dl, figure, fieldset) { margin: 0; }
.eh-shop :is(ul, ol)[role="list"], .eh-pdp :is(ul, ol)[role="list"] { list-style: none; padding: 0; }
.eh-i { width: 20px; height: 20px; flex: none; }

/* ---------- knoppen ---------- */
.eh-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border: 0; border-radius: 12px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none !important;
  cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: transform .16s var(--eh-ease-out), filter .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.eh-cta--buy { background: radial-gradient(rgb(255, 105, 0) 0%, rgb(207, 46, 46) 100%) !important; color: #fff !important; border: 0 !important; box-shadow: 0 6px 18px rgba(207, 46, 46, .25); }
.eh-cta--line { background: transparent !important; color: var(--eh-ink) !important; box-shadow: inset 0 0 0 1.5px rgba(244, 241, 234, .28); }
.eh-cta--line .eh-i { width: 18px; height: 18px; transition: transform .2s var(--eh-ease-out); }
.eh-cta.disabled, .eh-cta[aria-disabled="true"] { filter: saturate(.3) brightness(.8); box-shadow: none; cursor: not-allowed; }
.eh-cta > span { transition: filter .2s ease, opacity .2s ease; }
.eh-cta.eh-swap > span { filter: blur(2px); opacity: .4; }
@media (hover: hover) and (pointer: fine) {
  .eh-cta--buy:hover { filter: brightness(1.08); }
  .eh-cta--line:hover { box-shadow: inset 0 0 0 1.5px var(--eh-amber); color: var(--eh-amber) !important; }
  .eh-cta--line:hover .eh-i { transform: translateX(3px); }
}

/* ---------- productkaart ---------- */
.eh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.eh-card { position: relative; display: flex; flex-direction: column; background: var(--eh-panel); border-radius: var(--eh-r); overflow: hidden; box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset; }
.eh-card__media { aspect-ratio: 4 / 5; background: var(--eh-panel-2); overflow: hidden; }
.eh-card__img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; transition: transform .5s var(--eh-ease-out); }
.eh-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 16px 18px; }
.eh-card__title { font-family: var(--eh-display); font-weight: 700; font-size: 1.45rem !important; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.eh-card__link { color: var(--eh-ink) !important; text-decoration: none !important; }
.eh-card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.eh-card__link:focus-visible { outline: none; }
.eh-card:has(.eh-card__link:focus-visible) { outline: 2px solid var(--eh-amber); outline-offset: 3px; }
/* Prijsbord: omschrijving … stippellijn … prijs */
.eh-card__line { display: flex; align-items: baseline; gap: 8px; margin-top: auto !important; max-width: none !important; }
.eh-card__note { display: flex; align-items: baseline; flex: 1; min-width: 0; font-size: .88rem; font-weight: 500; color: var(--eh-soft); white-space: nowrap; }
.eh-card__note::after { content: ''; flex: 1; min-width: 12px; margin-left: 8px; border-bottom: 2px dotted rgba(244, 241, 234, .22); transform: translateY(-4px); }
.eh-card__price { font-size: 1.15rem !important; font-weight: 700; color: var(--eh-amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
.eh-card__btn { position: relative; z-index: 2; width: 100%; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .eh-card:hover .eh-card__img { transform: scale(1.035); }
}

/* ---------- merchandise ---------- */
.eh-shop { padding-bottom: clamp(48px, 7vw, 96px); }
.eh-shop__wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--eh-gutter); }
.eh-shop__intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 28px); }
body main .eh-shop__lede { max-width: 32ch; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.4; color: var(--eh-ink); }
.eh-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
body main .eh-facts li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--eh-soft); }
.eh-facts .eh-i { color: var(--eh-amber); }

.eh-shop__nav { position: sticky; top: calc(var(--eh-header-h) + 8px); z-index: 20; padding: 6px; background: rgba(18, 17, 17, .94); border-radius: 999px; box-shadow: 0 0 0 1px var(--eh-line), 0 10px 24px rgba(0, 0, 0, .3); width: fit-content; max-width: 100%; }
.eh-shop__nav ul { display: flex; gap: 2px; margin: 0; overflow-x: auto; scrollbar-width: none; }
.eh-shop__nav ul::-webkit-scrollbar { display: none; }
.eh-shop__nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: transparent; color: var(--eh-ink) !important; font-weight: 600; font-size: .95rem; text-decoration: none !important; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.eh-shop__nav a[aria-current="true"] { background: var(--eh-amber); color: #1a1919 !important; }
@media (hover: hover) and (pointer: fine) { .eh-shop__nav a:not([aria-current="true"]):hover { background: var(--eh-panel-2); } }
.eh-shop :is(.eh-feature, .eh-cat) { scroll-margin-top: calc(var(--eh-header-h) + 80px); }

/* Uitgelicht pakket: twee foto's als afdrukken op de werkbank, koopinfo ernaast. */
.eh-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; margin-top: clamp(28px, 4vw, 48px); padding: clamp(24px, 4vw, 56px); background: var(--eh-panel); border-radius: calc(var(--eh-r) + 6px); position: relative; overflow: hidden; }
.eh-feature::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--eh-flag); }
.eh-feature__media { position: relative; display: grid; grid-template-columns: 1fr; padding: 4% 14% 10% 0; }
.eh-feature__img { grid-area: 1 / 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.eh-feature__img:first-of-type { transform: rotate(-2.5deg); }
.eh-feature__img:nth-of-type(2) { width: 52%; justify-self: end; align-self: end; transform: translate(26%, 16%) rotate(4deg); border: 6px solid var(--eh-ink); border-radius: 6px; }
.eh-tag { position: absolute; z-index: 2; top: 0; left: -6px; padding: 6px 12px; border-radius: 8px; background: var(--eh-amber); color: #1a1919; font-family: var(--eh-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; transform: rotate(-4deg); }
.eh-feature__body { display: flex; flex-direction: column; gap: 14px; }
.eh-feature__title { font-family: var(--eh-display); font-weight: 700; font-size: clamp(2.3rem, 4.6vw, 3.8rem) !important; line-height: .95; text-transform: uppercase; letter-spacing: .005em; }
.eh-feature__title a { color: var(--eh-ink) !important; text-decoration: none !important; }
body main .eh-feature__sub { font-size: 1.1rem; color: var(--eh-ink); }
body main .eh-feature__lede { color: var(--eh-soft); font-weight: 400; }
.eh-feature__buy { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 8px; }
.eh-feature__price { font-size: 2rem !important; font-weight: 700; color: var(--eh-amber); font-variant-numeric: tabular-nums; }
.eh-feature__btn { min-height: 54px; padding: 0 28px; }
.eh-feature__more { align-self: flex-start; color: var(--eh-soft) !important; font-size: .95rem; text-underline-offset: 4px; text-decoration-color: rgba(201, 196, 184, .4) !important; }
@media (hover: hover) and (pointer: fine) { .eh-feature__more:hover { color: var(--eh-amber) !important; } }

/* Rijen per soort: kop met dialecttekst links, kaarten rechts. */
.eh-cat { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); padding: clamp(40px, 6vw, 72px) 0 0; }
.eh-cat + .eh-cat { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--eh-line); }
.eh-cat__head { display: flex; flex-direction: column; gap: 12px; }
.eh-cat__title { font-family: var(--eh-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.8rem) !important; line-height: 1; text-transform: uppercase; color: var(--eh-amber); }
body main .eh-cat__head p { font-weight: 400; color: var(--eh-soft); line-height: 1.55; }
.eh-cat .eh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* categoriepagina's (/product-categorie/…/): zelfde opbouw als het overzicht, alleen de producten van die soort */
.eh-catpage__crumbs { padding-top: clamp(18px, 2.4vw, 28px); }
.eh-catpage .eh-shop__intro { padding-top: clamp(16px, 2.4vw, 28px); }
body main .eh-catpage__grid { margin-top: clamp(20px, 3vw, 32px); }
body main .eh-catpage__empty { margin-top: 24px; color: var(--eh-soft); }
.eh-catpage { padding-bottom: clamp(48px, 7vw, 96px); }

/* ---------- productpagina ---------- */
.eh-pdp { width: min(1200px, 100%); margin: 0 auto; padding: clamp(16px, 2.4vw, 28px) var(--eh-gutter) clamp(48px, 7vw, 96px); }
.eh-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--eh-soft); }
.eh-crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.eh-crumbs a { color: var(--eh-soft) !important; text-underline-offset: 3px; text-decoration-color: rgba(201, 196, 184, .35) !important; }
@media (hover: hover) and (pointer: fine) { .eh-crumbs a:hover { color: var(--eh-amber) !important; } }
.eh-crumbs [aria-current] { color: var(--eh-ink); }
.eh-pdp__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 16px; }

/* Foto's: vaste 4:5-lijst. De foto zelf staat erin op ware grootte (de t-shirtfoto's zijn maar 300×400),
   met een vervaagde kopie als achtergrond in plaats van een kale zwarte rand. */
.eh-gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--eh-header-h) + 16px); }
.eh-gallery__stage { position: relative; aspect-ratio: 1; border-radius: calc(var(--eh-r) + 4px); overflow: hidden; background: var(--eh-panel-2); }
.eh-gallery__slide { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.eh-gallery__slide.is-small { padding: 5%; }
.eh-gallery__slide[hidden] { display: none; }
.eh-gallery__slide::before { content: ''; position: absolute; inset: -80px; background: var(--eh-photo) center / cover no-repeat; filter: blur(48px) brightness(.55) saturate(1.2); }
.eh-gallery__slide.is-active { animation: eh-fade .35s var(--eh-ease-out); }
.eh-gallery__img { position: relative; display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
/* Kleine foto's (t-shirts 300×400, muts) niet opblazen: hooguit ~1,4× op een vervaagde kopie van zichzelf. */
.eh-gallery__slide.is-small .eh-gallery__img { width: auto !important; height: min(100%, 560px) !important; aspect-ratio: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 22px 44px rgba(0, 0, 0, .45); }
.eh-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; }
.eh-gallery__thumb { flex: none; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--eh-panel-2); opacity: .6; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s ease, outline-color .2s ease, transform .16s var(--eh-ease-out); }
.eh-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eh-gallery__thumb[aria-pressed="true"] { opacity: 1; outline-color: var(--eh-amber); }
.eh-gallery__thumb:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .eh-gallery__thumb:hover { opacity: 1; } }
@keyframes eh-fade { from { opacity: .4; } to { opacity: 1; } }

/* Koopblok */
.eh-buy { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 36px); background: var(--eh-panel); border-radius: calc(var(--eh-r) + 4px); }
.eh-buy__title { font-family: var(--eh-display); font-weight: 700; font-size: clamp(2.4rem, 4.2vw, 3.6rem) !important; line-height: .95; text-transform: uppercase; letter-spacing: .005em; color: var(--eh-ink) !important; }
body main .eh-buy__lede { font-weight: 400; color: var(--eh-soft); line-height: 1.55; max-width: 48ch; }
.eh-buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.eh-buy__price .wc-block-components-product-price { font-size: clamp(1.9rem, 2.6vw, 2.3rem) !important; font-weight: 700; color: var(--eh-amber); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.eh-buy__incl { font-size: .9rem; color: var(--eh-soft); }
.eh-buy__form { display: flex; flex-direction: column; gap: 18px; padding-top: 18px; border-top: 1px solid var(--eh-line); }
.eh-buy__attr { border: 0; padding: 0; min-width: 0; }
.eh-buy__attr legend { padding: 0; margin-bottom: 10px; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--eh-soft); }
.eh-buy__chosen { margin-left: 6px; color: var(--eh-ink); letter-spacing: .02em; }
body main .eh-buy__away { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: var(--eh-panel-2); color: var(--eh-ink); font-size: .95rem; line-height: 1.5; }
.eh-buy__away a { color: var(--eh-amber) !important; }
/* Niet te koop: alleen de melding, geen maten, knop of verzendregel (ook de vaste koopbalk niet) */
.eh-buy--weg .eh-buy__form, .eh-buy--weg .eh-buy__incl { display: none !important; }
body:has(.eh-buy--weg) [data-eh-buybar] { display: none !important; }
body main .eh-buy__help { margin-top: 10px; font-size: .88rem; color: var(--eh-soft); line-height: 1.5; }
/* Maattabel onder de maten (winkel.py MAATTABEL): dicht een tekstlink, open een rustige tabel */
.eh-maten { margin-top: 12px; }
.eh-maten summary { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; list-style: none; font-size: .9rem; font-weight: 600; color: var(--eh-amber); text-decoration: underline; text-underline-offset: 3px; }
.eh-maten summary::-webkit-details-marker { display: none; }
.eh-maten summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--eh-ease-out); }
.eh-maten[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.eh-maten table { width: 100%; margin: 8px 0 0; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.eh-maten th, .eh-maten td { padding: 9px 0; border: 0; border-bottom: 1px solid var(--eh-line); text-align: left; background: none; }
.eh-maten thead th { padding-top: 0; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--eh-soft); }
.eh-maten tbody th { font-weight: 700; color: var(--eh-ink); }
.eh-maten td, .eh-maten thead th:last-child { text-align: right; color: var(--eh-ink); }
.eh-maten thead th:last-child { color: var(--eh-soft); }
body main .eh-maten p { margin-top: 10px; font-weight: 400; font-size: .85rem; color: var(--eh-soft); line-height: 1.5; }
body main .eh-buy__hint { margin-top: 10px; font-size: .92rem; font-weight: 600; color: #ffb3a8; }
.eh-buy__attr.is-missing .eh-chip { box-shadow: inset 0 0 0 2px var(--eh-red); }
@media (prefers-reduced-motion: no-preference) { .eh-buy__attr.is-missing .eh-chips { animation: eh-shake .35s ease; } }
@keyframes eh-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.eh-chips { --eh-chip-min: max(50px, calc(var(--eh-chip-ch, 2) * 1ch + 24px)); display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--eh-chip-min), 1fr)); gap: 8px; }
@media (max-width: 400px) { .eh-chips { --eh-chip-min: max(46px, calc(var(--eh-chip-ch, 2) * 1ch + 20px)); gap: 6px; } }
.eh-chip {
  min-height: 48px; margin: 0; padding: 0 6px; border: 0; border-radius: 10px; background: var(--eh-panel-2); color: var(--eh-ink);
  box-shadow: inset 0 0 0 1px var(--eh-line); font: inherit; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .16s var(--eh-ease-out);
}
.eh-chip:active { transform: scale(.95); }
.eh-chip[aria-checked="true"] { background: var(--eh-amber); color: #1a1919; box-shadow: none; }
.eh-chip.eh-chip-out { color: var(--eh-soft); text-decoration: line-through; opacity: .55; }
@media (hover: hover) and (pointer: fine) { .eh-chip:not([aria-checked="true"]):hover { box-shadow: inset 0 0 0 1.5px var(--eh-amber); } }
.eh-buy__row { display: flex; gap: 10px; }
.eh-qty { display: flex; align-items: center; flex: none; height: 56px; border-radius: 12px; background: var(--eh-panel-2); box-shadow: inset 0 0 0 1px var(--eh-line); }
.eh-qty__btn { display: grid; place-items: center; width: 42px; height: 100%; padding: 0; border: 0; background: none; color: var(--eh-ink); cursor: pointer; transition: transform .16s var(--eh-ease-out), opacity .2s ease; }
.eh-qty__btn:active { transform: scale(.88); }
.eh-qty__btn:disabled { opacity: .3; cursor: default; }
.eh-qty__btn .eh-i { width: 18px; height: 18px; }
.eh-qty__input { width: 40px !important; height: 100% !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: var(--eh-ink) !important; font: inherit; font-weight: 700; font-size: 1.05rem; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.eh-qty__input::-webkit-inner-spin-button, .eh-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.eh-buy__submit { flex: 1; min-height: 56px; font-size: 1.05rem; }
.eh-buy__form.is-invalid .eh-buy__submit { filter: saturate(.3) brightness(.8); box-shadow: none; }
.eh-buy__points { display: flex; flex-direction: column; border-top: 1px solid var(--eh-line); }
body main .eh-buy__points li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; font-weight: 400; font-size: .95rem; line-height: 1.4; color: var(--eh-soft); }
.eh-buy__points li + li { border-top: 1px solid var(--eh-line); }
.eh-buy__points .eh-i { color: var(--eh-amber); margin-top: -1px; }

/* Over dit product */
.eh-about, .eh-related { margin-top: clamp(48px, 7vw, 88px); }
.eh-about__title, .eh-related__title { font-family: var(--eh-display); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.5rem) !important; line-height: 1; text-transform: uppercase; color: var(--eh-amber); margin-bottom: 20px !important; }
.eh-about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.eh-about__specs { grid-column: 2; }
.eh-about__text { grid-column: 1; grid-row: 1; color: var(--eh-ink); }
body main .eh-about__text :is(p, li) { font-weight: 400; line-height: 1.65; }
.eh-about__text > * + * { margin-top: 14px !important; }
.eh-about__text ul { padding-left: 1.2em; }
.eh-about__text li + li { margin-top: 6px; }
.eh-about__specs { padding: 6px 22px; background: var(--eh-panel); border-radius: var(--eh-r); }
.eh-about__specs > div { display: flex; align-items: baseline; gap: 8px; padding: 13px 0; }
.eh-about__specs > div + div { border-top: 1px solid var(--eh-line); }
.eh-about__specs dt { display: flex; align-items: baseline; flex: 1; color: var(--eh-soft); font-size: .95rem; }
.eh-about__specs dt::after { content: ''; flex: 1; min-width: 12px; margin-left: 8px; border-bottom: 2px dotted rgba(244, 241, 234, .18); transform: translateY(-4px); }
.eh-about__specs dd { margin: 0; font-weight: 600; text-align: right; max-width: 60%; }
.eh-about__grid:not(:has(.eh-about__text)) { grid-template-columns: minmax(0, 520px); }
.eh-about__grid:not(:has(.eh-about__text)) .eh-about__specs { grid-column: 1; }
.eh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Koopbalk onderin (alleen mobiel) */
.eh-buybar { display: none; }

@media (max-width: 1023px) {
  .eh-cat { grid-template-columns: 1fr; }
  .eh-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
  /* .wp-site-blocks heeft op mobiel al de zijmarge */
  .eh-shop__wrap, .eh-pdp { padding-inline: 0; }
  .eh-shop__intro { flex-direction: column; align-items: flex-start; }
  .eh-feature { grid-template-columns: 1fr; padding: 22px 18px 24px; }
  .eh-feature__media { padding: 14px 18% 12% 6px; }
  .eh-feature__buy { display: grid; grid-template-columns: auto 1fr; }
  .eh-feature__btn { width: 100%; }
  .eh-grid, .eh-cat .eh-grid, .eh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .eh-card__body { padding: 12px 12px 14px; gap: 8px; }
  .eh-card__title { font-size: 1.2rem !important; }
  .eh-card__line { flex-wrap: wrap; row-gap: 2px; }
  .eh-card__note { flex-basis: 100%; font-size: .8rem; }
  .eh-card__note::after { display: none; }
  .eh-card__btn { min-height: 44px; padding: 0 10px; font-size: .9rem; }
  .eh-card__btn .eh-i { display: none; }

  .eh-pdp__top { grid-template-columns: 1fr; gap: 16px; margin-top: 12px; }
  .eh-gallery { position: static; margin: 0 calc(var(--eh-gutter) * -1); }
  .eh-gallery__stage { aspect-ratio: 1; border-radius: 0; }
  .eh-gallery__slide.is-small .eh-gallery__img { height: min(100%, 420px) !important; }
  .eh-gallery__thumbs { padding: 3px var(--eh-gutter); margin: 0; }
  .eh-gallery__thumb { width: 64px; height: 64px; }
  .eh-buy { padding: 20px 18px; margin: 0 calc(var(--eh-gutter) * -0.25); }
  .eh-about__grid { grid-template-columns: 1fr; }
  .eh-about__specs, .eh-about__text { grid-column: 1; grid-row: auto; }

  .eh-buybar {
    position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px;
    background: rgba(29, 28, 27, .97); border-radius: 16px; box-shadow: 0 0 0 1px var(--eh-line), 0 12px 32px rgba(0, 0, 0, .55);
    transform: translateY(calc(100% + 24px)); transition: transform .4s var(--eh-ease-out); pointer-events: none;
  }
  .eh-buybar[hidden] { display: none; }
  .eh-buybar.is-shown { transform: none; pointer-events: auto; }
  .eh-buybar__info { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
  .eh-buybar__name { font-family: var(--eh-display); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .eh-buybar__meta { font-size: .9rem; font-weight: 700; color: var(--eh-amber); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .eh-buybar__meta span { color: var(--eh-soft); font-weight: 500; }
  .eh-buybar__btn { min-height: 48px; padding: 0 18px; }
  .eh-pdp { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .eh-card__img, .eh-buybar, .eh-gallery__slide.is-active { transition: none; animation: none; }
}

/* ================= voorwaarden en beleid =================
   Markup uit build/beleid.py: algemene voorwaarden, privacy, cookies, verzenden en retour.
   Zelfde donkere grond en panelen als de winkel. Lange tekst moet rustig lezen: smalle kolom,
   inhoudsopgave ernaast op desktop, "in het kort" bovenaan voor wie niet alles leest. */
.eh-legal {
  --eh-ground: #121111;
  --eh-panel: #1d1c1b;
  --eh-panel-2: #262422;
  --eh-line: rgba(244, 241, 234, .09);
  --eh-ink: #f4f1ea;
  --eh-soft: #c9c4b8;
  --eh-r: 16px;
  color: var(--eh-ink);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.eh-legal * { box-sizing: border-box; }
.eh-legal ::selection { background: var(--eh-amber); color: #1a1919; }
.eh-legal :is(h2, h3, p, ul, ol, dl, figure, table) { margin: 0; }
.eh-legal :is(ul, ol)[role="list"] { list-style: none; padding: 0; }
.eh-legal a:not(.eh-cta) { color: var(--eh-amber) !important; text-decoration: underline; }
.eh-legal__wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--eh-gutter); }

/* Vier pagina's als één set: tabs zoals de winkelnavigatie. */
.eh-legal__tabs { margin-top: clamp(24px, 4vw, 40px); padding: 6px; background: rgba(18, 17, 17, .94); border-radius: 999px; box-shadow: 0 0 0 1px var(--eh-line); width: fit-content; max-width: 100%; }
.eh-legal__tabs ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.eh-legal__tabs ul::-webkit-scrollbar { display: none; }
.eh-legal .eh-legal__tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; color: var(--eh-ink) !important; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.eh-legal .eh-legal__tabs a[aria-current="page"] { background: var(--eh-amber); color: #1a1919 !important; }
@media (hover: hover) and (pointer: fine) { .eh-legal .eh-legal__tabs a:not([aria-current]):hover { background: var(--eh-panel-2); } }

.eh-legal__intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; padding: clamp(24px, 3.5vw, 40px) 0 clamp(20px, 3vw, 28px); }
body main .eh-legal__lede { max-width: 40ch; font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-weight: 500; line-height: 1.4; }
body main .eh-legal__meta { font-size: .9rem; color: var(--eh-soft); }

.eh-legal__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.eh-legal__toc { position: sticky; top: calc(var(--eh-header-h) + 24px); }
body main .eh-legal__toc-title { font-family: var(--eh-display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--eh-soft); margin-bottom: 10px; }
.eh-legal__toc ol { counter-reset: toc; border-left: 2px solid var(--eh-line); }
.eh-legal__toc li { counter-increment: toc; }
.eh-legal .eh-legal__toc a { display: flex; gap: 10px; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--eh-soft) !important; font-size: .92rem; line-height: 1.3; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.eh-legal .eh-legal__toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: rgba(244, 241, 234, .35); }
.eh-legal .eh-legal__toc a.is-current { color: var(--eh-ink) !important; border-left-color: var(--eh-amber); }
@media (hover: hover) and (pointer: fine) { .eh-legal .eh-legal__toc a:hover { color: var(--eh-ink) !important; } }

.eh-legal__doc { background: var(--eh-panel); border-radius: var(--eh-r); padding: clamp(20px, 4vw, 48px); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset; position: relative; overflow: hidden; }
.eh-legal__doc::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--eh-flag); }
.eh-legal__doc :is(p, li, td, dd, dt) { font-size: 1rem; font-weight: 400 !important; line-height: 1.65; color: #e4e0d6; }
.eh-legal__doc :is(p, li, td, dd) strong { font-weight: 700; color: var(--eh-ink); }
.eh-legal__doc p + p, .eh-legal__doc p + ul, .eh-legal__doc ul + p { margin-top: 14px; }

.eh-legal__kort { background: var(--eh-panel-2); border-radius: 12px; padding: 20px 22px; margin-bottom: 8px; }
.eh-legal h2.eh-legal__kort-title { font-family: var(--eh-display); font-weight: 700; font-size: 1.35rem !important; text-transform: uppercase; color: var(--eh-amber) !important; margin-bottom: 12px; }
.eh-legal__kort ul { display: grid; gap: 10px; }
.eh-legal__doc .eh-legal__kort li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600 !important; color: var(--eh-ink) !important; }
.eh-legal__kort .eh-i { color: var(--eh-amber); margin-top: 3px; }

.eh-legal__sec { padding-top: 32px; scroll-margin-top: calc(var(--eh-header-h) + 20px); }
.eh-legal__sec + .eh-legal__sec { margin-top: 32px; border-top: 1px solid var(--eh-line); }
.eh-legal__sec h2 { display: flex; align-items: baseline; gap: 12px; font-family: var(--eh-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 1.9rem) !important; line-height: 1.1; text-transform: uppercase; color: var(--eh-ink) !important; margin-bottom: 14px; }
.eh-legal__num { font-size: .75em; color: var(--eh-amber); font-variant-numeric: tabular-nums; }
.eh-legal__doc ul:not([role]) { padding-left: 1.2em; }
.eh-legal__doc code { font-size: .88em; padding: 2px 6px; border-radius: 6px; background: rgba(244, 241, 234, .07); color: var(--eh-ink); white-space: nowrap; }

/* Bedrijfsgegevens als kaartje */
.eh-legal__card { display: grid; gap: 0; margin-top: 18px !important; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--eh-line); overflow: hidden; }
.eh-legal__card div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 16px; }
.eh-legal__card div + div { border-top: 1px solid var(--eh-line); }
.eh-legal__doc .eh-legal__card dt { font-weight: 600 !important; color: var(--eh-soft); }
.eh-legal__card dd { margin: 0; }

/* Tabellen: op mobiel elke rij een kaartje met labels. */
.eh-legal__table { margin-top: 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--eh-line); overflow: hidden; }
.eh-legal__table + p { margin-top: 16px; }
.eh-legal__table table { width: 100%; border-collapse: collapse; }
.eh-legal__table th { text-align: left; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--eh-soft); background: var(--eh-panel-2); padding: 12px 14px; }
.eh-legal__table td { vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--eh-line); font-size: .95rem !important; }
.eh-legal__doc .eh-legal__table td:first-child { font-weight: 700 !important; color: var(--eh-ink); }

.eh-legal__todo { background: #ffd23f; color: #1a1919; padding: 1px 6px; border-radius: 4px; font-weight: 700; font-size: .9em; }

/* Modelformulier */
.eh-legal__form { margin-top: 18px !important; padding: 20px 22px; border-radius: 12px; border: 1.5px dashed rgba(244, 241, 234, .25); }
.eh-legal__form figcaption { font-family: var(--eh-display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; color: var(--eh-amber); }
body main .eh-legal__fine { font-size: .9rem; color: var(--eh-soft); margin-top: 6px; }
.eh-legal__lines { list-style: none; padding: 0 !important; margin: 14px 0 0 !important; display: grid; gap: 10px; }
.eh-legal__lines li { padding-bottom: 10px; border-bottom: 1px dotted rgba(244, 241, 234, .22); }
.eh-legal__form .eh-cta { margin-top: 18px; white-space: normal; text-align: left; }

body main .eh-legal__contact { display: flex; gap: 12px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--eh-line); max-width: none; color: var(--eh-soft); }
.eh-legal__contact .eh-i { color: var(--eh-amber); }

@media (max-width: 899px) {
  .eh-legal__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .eh-legal__toc { display: none; }
}
@media (max-width: 600px) {
  .eh-legal__tabs { border-radius: 14px; width: 100%; }
  .eh-legal__doc { margin-inline: calc(var(--eh-gutter) * -.5); }
  .eh-legal__card div { grid-template-columns: 1fr; gap: 2px; }
  .eh-legal__table { box-shadow: none; border-radius: 0; overflow: visible; }
  .eh-legal__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .eh-legal__table tr { display: block; padding: 14px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--eh-line); }
  .eh-legal__table tr + tr { margin-top: 10px; }
  .eh-legal__table td { display: block; padding: 0; border: 0; }
  .eh-legal__table td + td { margin-top: 8px; }
  .eh-legal__table td:not(:first-child)::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--eh-soft); }
  .eh-legal__table td:first-child { font-size: 1.02rem !important; }
}

/* ================= winkelwagen en afrekenen =================
   Frame uit build/kassa.py, inhoud uit shop.js (renderCartPage, renderCheckout, initAddress).
   Zelfde werkbank als de merchandise: donkere vlakken, namen in de condensed letter,
   bedragen in amber met een stippellijn ernaartoe. Eén duidelijke knop per scherm. */
.eh-kassa { --eh-body-font: Inter, sans-serif; width: 100%; padding-bottom: clamp(48px, 7vw, 96px); }
.eh-kassa__wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--eh-gutter); }
.eh-kassa :is(h1, h2, h3, p, ul, ol, dl, dd, fieldset) { margin: 0; }
.eh-kassa ul[role="list"], .eh-kassa ol { list-style: none; padding: 0; }
body main .eh-kassa p { max-width: none; }
.eh-kassa a { color: inherit; }
.eh-kassa .eh-page { margin-top: 0; color: var(--eh-ink); }
.eh-kassa .eh-loading { padding: 64px 0; }
.eh-kassa__noscript { padding: 24px; border-radius: var(--eh-r); background: var(--eh-panel); }

/* Kop: stappen + titel */
.eh-kassa__head { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3.4vw, 40px) 0 clamp(20px, 3vw, 32px); }
.eh-steps { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--eh-soft); }
.eh-steps li { display: flex; align-items: center; gap: 10px; }
.eh-steps li + li::before { content: ''; width: clamp(16px, 4vw, 40px); height: 2px; border-radius: 1px; background: var(--eh-line); }
.eh-steps li.is-done + li::before { background: var(--eh-amber); }
.eh-steps a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: inherit !important; }
.eh-steps__no { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--eh-line); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.eh-steps [aria-current] { color: var(--eh-ink); }
.eh-steps [aria-current] .eh-steps__no { background: var(--eh-amber); color: #1a1919; box-shadow: none; }
.eh-steps .is-done .eh-steps__no { box-shadow: inset 0 0 0 1.5px var(--eh-amber); color: var(--eh-amber); }
@media (hover: hover) and (pointer: fine) { .eh-steps a:hover { color: var(--eh-amber) !important; } }
.eh-kassa__title { font-family: var(--eh-display); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem) !important; line-height: .95; text-transform: uppercase; letter-spacing: .005em; color: var(--eh-amber); }
.eh-kassa__title::after { content: ''; display: block; width: 64px; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--eh-flag); }
.eh-kassa__count { display: inline-block; margin-left: 14px; vertical-align: .35em; font-family: var(--eh-body-font); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--eh-soft); }
.eh-kassa__count:empty { display: none; }

.eh-kassa__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(20px, 3vw, 40px); align-items: start; }
.eh-kassa__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* ---------- winkelwagen: regels ---------- */
.eh-kassa ul.eh-lines-list { display: flex; flex-direction: column; background: var(--eh-panel); border-radius: calc(var(--eh-r) + 4px); padding: 4px clamp(16px, 2.2vw, 28px); }
.eh-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto; grid-template-areas: "media info qty total remove"; align-items: center; gap: 8px 20px; padding: 20px 0; }
.eh-line + .eh-line { border-top: 1px solid var(--eh-line); }
.eh-line__media { grid-area: media; display: block; width: 96px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--eh-panel-2); }
.eh-line__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eh-line__info { grid-area: info; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.eh-line__name { font-family: var(--eh-display); font-weight: 700; font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; color: var(--eh-ink) !important; text-decoration: none !important; }
@media (hover: hover) and (pointer: fine) { .eh-line__name:hover { color: var(--eh-amber) !important; } }
body main .eh-line__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .92rem; color: var(--eh-soft); font-variant-numeric: tabular-nums; }
.eh-line__var { padding: 3px 10px; border-radius: 999px; background: var(--eh-panel-2); box-shadow: inset 0 0 0 1px var(--eh-line); color: var(--eh-ink); font-size: .85rem; font-weight: 600; }
.eh-line__qty { grid-area: qty; height: 48px; }
.eh-line__qty .eh-qty__btn { width: 40px; }
.eh-line__qty .eh-qty__input { width: 34px !important; }
body main .eh-line__total { grid-area: total; min-width: 92px; text-align: right; font-size: 1.15rem; font-weight: 700; color: var(--eh-amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
.eh-line__remove { grid-area: remove; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--eh-soft); cursor: pointer; transition: color .2s ease, background-color .2s ease, transform .16s var(--eh-ease-out); }
.eh-line__remove span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eh-line__remove:active { transform: scale(.9); }
@media (hover: hover) and (pointer: fine) { .eh-line__remove:hover { color: #ff8a7a; background: rgba(255, 107, 107, .1); } }
.eh-kassa__back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--eh-soft) !important; font-weight: 600; text-decoration: none !important; }
.eh-kassa__back .eh-i { transition: transform .2s var(--eh-ease-out); }
@media (hover: hover) and (pointer: fine) { .eh-kassa__back:hover { color: var(--eh-amber) !important; } .eh-kassa__back:hover .eh-i { transform: translateX(-3px); } }

/* ---------- overzicht (rechts) ---------- */
.eh-sum { position: sticky; top: calc(var(--eh-header-h) + 16px); display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.4vw, 28px); background: var(--eh-panel); border-radius: calc(var(--eh-r) + 4px); overflow: hidden; }
.eh-sum::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--eh-flag); }
.eh-sum--co { top: 24px; }
.eh-sum__title { font-family: var(--eh-display); font-weight: 700; font-size: 1.7rem !important; line-height: 1; text-transform: uppercase; color: var(--eh-ink); outline: none; }
.eh-sum__rows { display: flex; flex-direction: column; gap: 10px; }
.eh-sum__rows > div { display: flex; align-items: baseline; gap: 8px; }
.eh-sum__rows dt { display: flex; align-items: baseline; flex: 1; min-width: 0; color: var(--eh-soft); font-size: .95rem; white-space: nowrap; }
.eh-sum__rows dt span { margin-left: 4px; font-size: .85rem; opacity: .8; }
.eh-sum__rows dt::after { content: ''; flex: 1; min-width: 12px; margin-left: 8px; border-bottom: 2px dotted rgba(244, 241, 234, .18); transform: translateY(-4px); }
.eh-sum__rows dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.eh-sum__rows dd.is-free { color: #8fd18a; }
body main .eh-sum__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--eh-line); font-weight: 700; font-size: 1.1rem; }
.eh-sum__total strong { font-size: clamp(1.8rem, 2.4vw, 2.1rem); color: var(--eh-amber); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
body main .eh-sum__fine { font-weight: 400; margin-top: -10px; font-size: .85rem; color: var(--eh-soft); }
.eh-sum__cta { width: 100%; min-height: 56px; font-size: 1.05rem; }
.eh-sum__cta .eh-i, .eh-kassabar .eh-i, .eh-empty-cart .eh-i { transition: transform .2s var(--eh-ease-out); }
@media (hover: hover) and (pointer: fine) { .eh-cta--buy:hover .eh-i { transform: translateX(3px); } }
.eh-cta--buy:active { transform: scale(.98); }
.eh-sum__trust { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--eh-line); }
body main .eh-sum__trust li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--eh-soft); }
.eh-sum__trust .eh-i { color: var(--eh-amber); }
.eh-pays { display: flex; flex-wrap: wrap; gap: 6px; }
body main .eh-pays li { padding: 4px 10px; border-radius: 6px; background: var(--eh-ink); color: #1a1919; font-size: .75rem; font-weight: 700; letter-spacing: .01em; }

/* ---------- ook mooi erbij / lege winkelwagen ---------- */
.eh-upsell { margin-top: clamp(48px, 7vw, 80px); }
.eh-upsell__title { margin-bottom: 20px !important; font-family: var(--eh-display); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.5rem) !important; line-height: 1; text-transform: uppercase; color: var(--eh-amber); }
.eh-upsell__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; }
.eh-upsell .eh-card__media { aspect-ratio: 1; }
.eh-empty-cart { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: clamp(36px, 6vw, 64px) 24px; text-align: center; background: var(--eh-panel); border-radius: calc(var(--eh-r) + 4px); }
.eh-empty-cart__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--eh-panel-2); color: var(--eh-amber); }
.eh-empty-cart__icon .eh-i { width: 34px; height: 34px; }
.eh-empty-cart__title { font-family: var(--eh-display); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.5rem) !important; line-height: 1; text-transform: uppercase; color: var(--eh-ink); outline: none; }
body main .eh-empty-cart p { color: var(--eh-soft); font-weight: 400; }
.eh-empty-cart .eh-cta { margin-top: 6px; min-height: 52px; }

/* Mobiel: totaal + knop onderin tot het overzicht in beeld is */
.eh-kassabar { display: none; }

/* ---------- afrekenen ---------- */
.eh-box { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.6vw, 32px); background: var(--eh-panel); border-radius: calc(var(--eh-r) + 4px); }
.eh-box__title { display: flex; align-items: center; gap: 12px; font-family: var(--eh-display); font-weight: 700; font-size: 1.7rem !important; line-height: 1; text-transform: uppercase; color: var(--eh-ink); }
.eh-box__no { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--eh-amber); color: #1a1919; font-family: var(--eh-body-font); font-size: .9rem; font-weight: 700; }

.eh-kassa .eh-field { flex: none; gap: 6px; min-width: 0; }
.eh-kassa .eh-field label, .eh-find > label, .eh-land legend { font-size: .85rem; font-weight: 600; color: var(--eh-ink); }
.eh-kassa .eh-optional { font-weight: 400; color: var(--eh-soft); }
.eh-kassa :is(.eh-field input, .eh-field textarea, .eh-find__box input) {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--eh-ground); color: var(--eh-ink);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .14); font: inherit; font-size: 1rem; font-weight: 500;
  transition: box-shadow .15s ease, background-color .3s ease;
}
.eh-kassa .eh-field textarea { min-height: 90px; resize: vertical; }
.eh-kassa :is(.eh-field input, .eh-field textarea, .eh-find__box input)::placeholder { color: rgba(201, 196, 184, .5); }
.eh-kassa :is(.eh-field input, .eh-field textarea, .eh-find__box input):focus { outline: none; box-shadow: inset 0 0 0 2px var(--eh-amber); }
.eh-kassa .eh-field.has-error :is(input, textarea) { box-shadow: inset 0 0 0 2px var(--eh-red); }
.eh-kassa .eh-field.is-filled input { animation: eh-filled 1.2s ease; }
@keyframes eh-filled { 0% { background-color: rgba(252, 185, 0, .22); } 100% { background-color: var(--eh-ground); } }
body main .eh-field__note { font-size: .85rem; font-weight: 400; color: var(--eh-soft); }
.eh-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Land: drie knoppen in plaats van een uitklaplijst */
.eh-land { border: 0; padding: 0; min-width: 0; }
.eh-land legend { padding: 0; margin-bottom: 8px; }
.eh-land__opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.eh-kassa :is(.eh-find, .eh-or, .eh-land__other)[hidden] { display: none; }
.eh-kassa .eh-land__other { margin-top: 12px; }
.eh-kassa .eh-field select {
  width: 100%; min-height: 50px; padding: 12px 40px 12px 14px; border: 0; border-radius: 12px; color: var(--eh-ink); font: inherit; font-size: 1rem; font-weight: 500;
  background: var(--eh-ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23fcb900' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 20px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .14); -webkit-appearance: none; appearance: none; cursor: pointer;
}
.eh-kassa .eh-field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--eh-amber); }
.eh-kassa .eh-field.has-error select { box-shadow: inset 0 0 0 2px var(--eh-red); }
.eh-land__opt { position: relative; }
.eh-land__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.eh-land__opt span { display: grid; place-items: center; min-height: 48px; padding: 0 8px; border-radius: 12px; background: var(--eh-panel-2); box-shadow: inset 0 0 0 1px var(--eh-line); font-weight: 700; font-size: .95rem; text-align: center; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.eh-land__opt input:checked + span { background: var(--eh-amber); color: #1a1919; box-shadow: none; }
.eh-land__opt input:focus-visible + span { outline: 2px solid var(--eh-amber); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .eh-land__opt input:not(:checked):hover + span { box-shadow: inset 0 0 0 1.5px var(--eh-amber); } }

/* Adres zoeken */
.eh-find { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; margin-top: 4px; border-radius: 14px; background: var(--eh-panel-2); box-shadow: inset 0 0 0 1px var(--eh-line); }
.eh-find__box { position: relative; }
.eh-find__box .eh-i { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--eh-amber); pointer-events: none; }
.eh-kassa .eh-find__box input { padding-left: 44px; -webkit-appearance: none; appearance: none; }
.eh-find__box input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.eh-sum--co .eh-sum__rows { padding-top: 16px; border-top: 1px solid var(--eh-line); }
.eh-find__list { position: absolute; z-index: 30; left: 16px; right: 16px; top: calc(100% - 38px); max-height: 340px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: #2d2b29; box-shadow: 0 0 0 1px var(--eh-line), 0 18px 40px rgba(0, 0, 0, .5); animation: eh-pop .16s var(--eh-ease-out); transform-origin: top; }
.eh-find__list[hidden] { display: none; }
.eh-find__list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.eh-find__list li .eh-i { flex: none; color: var(--eh-soft); }
.eh-find__list li span { display: flex; flex-direction: column; min-width: 0; }
.eh-find__list strong { font-weight: 600; }
.eh-find__list small { font-size: .85rem; color: var(--eh-soft); }
.eh-find__list li[aria-selected="true"] { background: var(--eh-amber); color: #1a1919; }
.eh-find__list li[aria-selected="true"] :is(small, .eh-i) { color: #1a1919; }
@media (hover: hover) and (pointer: fine) { .eh-find__list li:not([aria-selected="true"]):hover { background: rgba(244, 241, 234, .07); } }
@keyframes eh-pop { from { opacity: 0; transform: scaleY(.96) translateY(-4px); } }
body main .eh-or { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--eh-soft); }
.eh-or::before, .eh-or::after { content: ''; flex: 1; height: 1px; background: var(--eh-line); }

/* Adresvelden: NL begint met postcode + huisnummer, BE/DE met straat */
.eh-addr { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.eh-field--postalCode { grid-column: span 2; }
.eh-field--houseNumber { grid-column: span 2; }
.eh-field--houseAddition { grid-column: span 2; }
.eh-field--street { grid-column: span 3; }
.eh-field--city { grid-column: span 3; }
.eh-co:not([data-land="NL"]) .eh-field--street { grid-column: span 4; order: -3; }
.eh-co:not([data-land="NL"]) .eh-field--houseNumber { grid-column: span 1; order: -2; }
.eh-co:not([data-land="NL"]) .eh-field--houseAddition { grid-column: span 1; order: -1; }
.eh-co:not([data-land="NL"]) .eh-field--postalCode { grid-column: span 2; }
.eh-co:not([data-land="NL"]) .eh-field--city { grid-column: span 4; }

.eh-addr-status { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px 12px; padding: 12px 14px; border-radius: 12px; font-size: .92rem; line-height: 1.4; animation: eh-pop .2s var(--eh-ease-out); }
.eh-addr-status[hidden] { display: none; }
.eh-addr-status > span:not(.eh-addr-status__opts) { flex: 1 1 200px; }
.eh-addr-status strong { display: block; font-weight: 700; }
.eh-addr-status .eh-i { flex: none; }
.eh-addr-status--ok { background: rgba(90, 157, 86, .14); box-shadow: inset 0 0 0 1px rgba(143, 209, 138, .35); }
.eh-addr-status--ok .eh-i { color: #8fd18a; }
.eh-addr-status--warn, .eh-addr-status--pick { background: rgba(252, 185, 0, .1); box-shadow: inset 0 0 0 1px rgba(252, 185, 0, .35); }
.eh-addr-status--warn strong, .eh-addr-status--pick strong { display: inline; }
.eh-addr-status--busy { color: var(--eh-soft); background: rgba(244, 241, 234, .04); }
.eh-addr-status--busy::before { content: ''; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--eh-line); border-top-color: var(--eh-amber); animation: eh-spin .7s linear infinite; }
@keyframes eh-spin { to { transform: rotate(360deg); } }
.eh-addr-status__opts { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
.eh-addr-status__opts .eh-chip { min-height: 40px; padding: 0 14px; }

/* Betalen */
.eh-kassa .eh-pay { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 0; border-radius: 14px; background: var(--eh-panel-2); box-shadow: inset 0 0 0 1px var(--eh-line); }
body main .eh-pay p { font-weight: 400; color: var(--eh-soft); font-size: .95rem; }
.eh-note summary { line-height: 1.2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--eh-soft); list-style: none; }
.eh-note summary::-webkit-details-marker { display: none; }
.eh-note summary::before { content: '+'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--eh-panel-2); color: var(--eh-amber); font-weight: 700; transition: transform .2s var(--eh-ease-out); }
.eh-note[open] summary::before { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .eh-note summary:hover { color: var(--eh-ink); } }

.eh-kassa .eh-check { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.eh-kassa .eh-check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.eh-check__box { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--eh-ground); box-shadow: inset 0 0 0 1.5px rgba(244, 241, 234, .3); color: transparent; transition: background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.eh-check__box .eh-i { width: 18px; height: 18px; }
.eh-check input:checked + .eh-check__box { background: var(--eh-amber); box-shadow: none; color: #1a1919; }
.eh-check input:focus-visible + .eh-check__box { outline: 2px solid var(--eh-amber); outline-offset: 2px; }
.eh-check.has-error .eh-check__box { box-shadow: inset 0 0 0 2px var(--eh-red); }
.eh-kassa .eh-check a { color: var(--eh-amber) !important; }
.eh-kassa .eh-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 107, 107, .1); box-shadow: inset 0 0 0 1px rgba(255, 107, 107, .4); color: #ffb3a8; }
.eh-kassa .eh-error[hidden] { display: none; }
body main.eh-kassa .eh-field__msg { margin: 6px 0 0; font-size: .88rem; font-weight: 600; line-height: 1.4; color: #ffb3a8; }
.eh-co__submit { width: 100%; min-height: 60px; justify-content: space-between; padding: 0 22px; font-size: 1.1rem; }
.eh-co__amount { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .35); font-variant-numeric: tabular-nums; }
.eh-co__submit.is-busy { justify-content: center; cursor: progress; filter: saturate(.6); }
.eh-co__submit:disabled:not(.is-busy) { filter: saturate(.3) brightness(.8); box-shadow: none; cursor: not-allowed; }
body main .eh-co__fine { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: -6px; font-size: .85rem; color: var(--eh-soft); }
.eh-co__fine .eh-i { width: 16px; height: 16px; }

/* Besteloverzicht bij afrekenen: uitklapbaar op mobiel, altijd open op desktop */
.eh-sum__fold { display: flex; flex-direction: column; gap: 16px; }
.eh-sum__toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.eh-sum__toggle::-webkit-details-marker { display: none; }
.eh-sum__peek { font-weight: 700; color: var(--eh-amber); font-variant-numeric: tabular-nums; }
.eh-sum--co .eh-sum__fold[open] .eh-sum__peek { display: none; }
.eh-kassa .eh-summary { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.eh-kassa .eh-summary li { gap: 14px; padding: 0; }
.eh-kassa .eh-summary__img { flex-basis: 56px; }
.eh-kassa .eh-summary__img img { width: 56px; height: 56px; border-radius: 10px; }
.eh-kassa .eh-summary__qty { top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 5px; background: var(--eh-amber); color: #1a1919; font-size: .75rem; box-shadow: 0 0 0 3px var(--eh-panel); }
.eh-kassa .eh-summary__name { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.eh-kassa .eh-summary__name small { margin-top: 2px; font-weight: 500; font-size: .85rem; color: var(--eh-soft); }
.eh-kassa .eh-summary__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.eh-sum__edit { align-self: flex-start; font-size: .9rem; font-weight: 600; color: var(--eh-soft) !important; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .eh-sum__edit:hover { color: var(--eh-amber) !important; } }
.eh-kassa .eh-closed { margin: 0 0 20px; }

/* E-mail tikfout, account aanmaken, adres bevestigen */
body main .eh-mailfix { margin-top: -6px; font-size: .9rem; font-weight: 400; color: var(--eh-soft); }
.eh-mailfix[hidden] { display: none; }
.eh-linkbtn { display: inline; min-height: 0; margin: 0; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--eh-amber); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.eh-kassa .eh-check--account { padding: 14px 16px; border-radius: 14px; background: var(--eh-panel-2); box-shadow: inset 0 0 0 1px var(--eh-line); }
.eh-kassa .eh-check--account input { left: 16px; top: 14px; }
.eh-check--account strong { display: block; font-weight: 700; }
.eh-check--account small { display: block; margin-top: 2px; font-size: .88rem; color: var(--eh-soft); }
.eh-addr-status .eh-chip--addr { min-height: 44px; padding: 0 14px; font-weight: 600; text-align: left; font-variant-numeric: normal; }
.eh-addr-status .eh-chip--ok { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(244, 241, 234, .28); }

/* ---------- bestelling ontvangen ---------- */
.eh-done--solo { grid-template-columns: minmax(0, 760px); }
.eh-done__hero { position: relative; align-items: flex-start; gap: 12px; overflow: hidden; }
.eh-done__hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--eh-flag); }
.eh-done__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(90, 157, 86, .16); color: #8fd18a; box-shadow: inset 0 0 0 1.5px rgba(143, 209, 138, .4); animation: eh-pop-in .5s var(--eh-ease-out) both; }
.eh-done__icon .eh-i { width: 32px; height: 32px; }
.eh-done--open .eh-done__icon, .eh-done--unknown .eh-done__icon { background: rgba(252, 185, 0, .12); color: var(--eh-amber); box-shadow: inset 0 0 0 1.5px rgba(252, 185, 0, .4); }
.eh-done--failed .eh-done__icon { background: rgba(255, 107, 107, .12); color: #ff8a7a; box-shadow: inset 0 0 0 1.5px rgba(255, 107, 107, .4); }
@keyframes eh-pop-in { from { opacity: 0; transform: scale(.6); } }
.eh-done__title { font-family: var(--eh-display); font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.2rem) !important; line-height: 1; text-transform: uppercase; color: var(--eh-ink); }
body main .eh-done__hero p { max-width: 60ch; font-weight: 400; color: var(--eh-soft); }
.eh-done__hero a { color: var(--eh-amber) !important; }
.eh-done__badge { padding: 3px 10px; border-radius: 999px; background: var(--eh-amber); color: #1a1919; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eh-next { display: flex; flex-direction: column; }
.eh-next li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.eh-next li:last-child { padding-bottom: 0; }
.eh-next li:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; border-radius: 1px; background: var(--eh-line); }
.eh-next li.is-done:not(:last-child)::before { background: var(--eh-amber); }
.eh-next__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--eh-panel-2); color: var(--eh-soft); box-shadow: inset 0 0 0 1px var(--eh-line); }
.eh-next .is-done .eh-next__icon { background: var(--eh-amber); color: #1a1919; box-shadow: none; }
.eh-next li > span:last-child { display: block; padding-top: 2px; font-size: .95rem; line-height: 1.5; color: var(--eh-soft); }
.eh-next strong { color: var(--eh-ink); font-weight: 600; overflow-wrap: anywhere; }
.eh-next li > span:last-child > strong:first-child { display: block; margin-bottom: 2px; font-size: 1.02rem; font-weight: 700; }
.eh-done__acc { flex-direction: row; align-items: flex-start; gap: 14px; }
.eh-done__acc .eh-next__icon { color: var(--eh-amber); }
.eh-done__acc > div { display: flex; flex-direction: column; gap: 4px; }
.eh-done__h { font-size: 1.1rem !important; font-weight: 700; color: var(--eh-ink); }
body main .eh-done__acc p { font-weight: 400; color: var(--eh-soft); font-size: .95rem; }
.eh-done__link { align-self: flex-start; margin-top: 6px; font-weight: 700; color: var(--eh-amber) !important; text-underline-offset: 4px; }
.eh-done__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.eh-done__actions .eh-cta { min-height: 54px; padding: 0 24px; }
.eh-done__actions .eh-kassa__back { align-self: center; }
.eh-done__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 16px; border-bottom: 1px solid var(--eh-line); }
.eh-done__meta dt { font-size: .8rem; color: var(--eh-soft); }
.eh-done__meta dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.eh-done__addr { padding-top: 16px; border-top: 1px solid var(--eh-line); }
.eh-done__addr h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .9rem; font-weight: 700; color: var(--eh-ink); }
.eh-done__addr h3 .eh-i { width: 18px; height: 18px; color: var(--eh-amber); }
body main .eh-done__addr p { font-weight: 400; color: var(--eh-soft); line-height: 1.5; }
.eh-sum--done { top: 24px; }

/* Adresblok van afrekenen in Mijn account (shop.js addressHtml) */
.eh-adresblok { display: flex; flex-direction: column; gap: 14px; padding-bottom: 0; }
.eh-adresblok :is(.eh-field label, .eh-find > label), .eh-acc__details .eh-adresblok .eh-land legend { font-size: 14px; color: #c9c4b8; }
.eh-acc__details .eh-adresblok .eh-land { display: block; }

@media (min-width: 900px) {
  .eh-sum--co .eh-sum__toggle { pointer-events: none; }
}
@media (max-width: 1023px) {
  .eh-line { grid-template-columns: 80px minmax(0, 1fr) auto; grid-template-areas: "media info remove" "media qty total"; gap: 12px 16px; }
  .eh-line__media { width: 80px; align-self: start; }
  .eh-line__qty { justify-self: start; }
  .eh-line__remove { align-self: start; margin-top: -8px; }
}
@media (max-width: 899px) {
  .eh-kassa__grid { grid-template-columns: minmax(0, 1fr); }
  .eh-sum { position: static; }
  .eh-co .eh-sum--co { order: -1; padding-block: 16px; }
  .eh-sum--co .eh-sum__toggle { min-height: 32px; cursor: pointer; }
  .eh-sum--co .eh-sum__toggle .eh-sum__title { display: flex; align-items: center; gap: 8px; font-size: 1.35rem !important; }
  .eh-sum--co .eh-sum__toggle .eh-sum__title::after { content: ''; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid var(--eh-amber); border-bottom: 2px solid var(--eh-amber); transform: rotate(45deg); transition: transform .2s var(--eh-ease-out); }
  .eh-sum--co .eh-sum__fold[open] .eh-sum__toggle .eh-sum__title::after { transform: rotate(-135deg); margin-top: 4px; }
  .eh-sum--co > .eh-sum__trust, .eh-sum--co > .eh-pays { display: none; }
  .eh-upsell__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
  .eh-kassa__wrap { padding-inline: 0; }
  .eh-steps { font-size: .85rem; gap: 8px; }
  .eh-steps li, .eh-steps a { gap: 8px; }
  .eh-steps li + li::before { width: 14px; }
  .eh-kassa ul.eh-lines-list { padding: 0 16px; margin-inline: calc(var(--eh-gutter) * -.25); }
  .eh-line { grid-template-columns: 72px minmax(0, 1fr) auto; padding: 16px 0; }
  .eh-line__media { width: 72px; }
  .eh-line__name { font-size: 1.25rem; }
  .eh-upsell__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .eh-upsell__grid > :nth-child(3) { display: none; }
  .eh-box { padding: 20px 16px; margin-inline: calc(var(--eh-gutter) * -.25); }
  .eh-row { grid-template-columns: 1fr; }
  .eh-find { padding: 14px 12px; }
  .eh-find__list { left: 12px; right: 12px; }
  .eh-addr { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .eh-field--postalCode { grid-column: span 6; }
  .eh-field--houseNumber, .eh-field--houseAddition { grid-column: span 3; }
  .eh-field--street, .eh-field--city { grid-column: span 6; }
  .eh-co:not([data-land="NL"]) .eh-field--street { grid-column: span 6; }
  .eh-co:not([data-land="NL"]) .eh-field--houseNumber, .eh-co:not([data-land="NL"]) .eh-field--houseAddition { grid-column: span 3; }
  .eh-co:not([data-land="NL"]) .eh-field--postalCode { grid-column: span 6; }
  .eh-co:not([data-land="NL"]) .eh-field--city { grid-column: span 6; }
  .eh-land__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eh-land__opt span { font-size: .9rem; }
  .eh-co__submit { padding: 0 18px; font-size: 1.02rem; }
  .eh-done__actions { flex-direction: column; align-items: stretch; }
  .eh-done__actions .eh-kassa__back { justify-content: center; }
  .eh-done .eh-sum { margin-inline: calc(var(--eh-gutter) * -.25); }

  /* Vaste balk onderin met totaal en afrekenknop */
  .eh-kassabar {
    position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(18, 17, 17, .96); box-shadow: 0 -1px 0 var(--eh-line), 0 -12px 30px rgba(0, 0, 0, .35);
    transition: transform .3s var(--eh-ease-out), opacity .2s ease;
  }
  @supports (backdrop-filter: blur(8px)) { .eh-kassabar { background: rgba(18, 17, 17, .82); backdrop-filter: blur(12px); } }
  .eh-kassabar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .eh-kassabar p { display: flex; flex-direction: column; line-height: 1.15; }
  .eh-kassabar p span { font-size: .8rem; color: var(--eh-soft); }
  .eh-kassabar p strong { font-size: 1.3rem; color: var(--eh-amber); font-variant-numeric: tabular-nums; }
  .eh-kassabar .eh-cta { min-height: 50px; padding: 0 22px; }
  .eh-kassa:has(.eh-kassabar) { padding-bottom: 96px; }
}
@media (max-width: 400px) {
  /* Smal scherm: alleen de huidige stap met naam */
  .eh-steps li:not([aria-current]) .eh-steps__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .eh-kassa *, .eh-kassabar { animation: none !important; transition: none !important; }
}

/* ================= winkelwagen-zijbalk =================
   Opent na "In winkelwagen" en via het tasje in de header (shop.js: buildDrawer, renderDrawer).
   Zelfde werkbank als /winkelwagen/: kop vast bovenin, regels scrollen, totaal + afrekenknop vast onderin
   zodat de knop op mobiel altijd onder de duim zit. Bovenin een korte bevestiging van wat er net bij kwam. */
.eh-drawer { --eh-body-font: Inter, sans-serif; position: fixed; inset: 0; z-index: 99999; font-family: var(--eh-body-font); }
.eh-drawer[hidden] { display: none; }
.eh-drawer :is(h2, h3, p, ul, dl, dd) { margin: 0; }
.eh-drawer ul[role="list"] { list-style: none; padding: 0; }
.eh-drawer a { color: inherit; }
.eh-drawer__overlay { position: absolute; inset: 0; background: rgba(8, 8, 8, .62); animation: eh-dr-fade .26s ease both; }
@supports (backdrop-filter: blur(2px)) { .eh-drawer__overlay { backdrop-filter: blur(2px); } }
.eh-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column;
  background: var(--eh-ground); color: var(--eh-ink); box-shadow: -1px 0 0 var(--eh-line), -24px 0 60px rgba(0, 0, 0, .5);
  animation: eh-dr-in .38s cubic-bezier(.32, .72, 0, 1) both;
}
.eh-drawer.is-closing .eh-drawer__overlay { animation: eh-dr-fade .22s ease reverse both; }
.eh-drawer.is-closing .eh-drawer__panel { animation: eh-dr-out .22s cubic-bezier(.4, 0, 1, 1) both; }
@keyframes eh-dr-in { from { transform: translateX(100%); } }
@keyframes eh-dr-out { to { transform: translateX(100%); } }
@keyframes eh-dr-fade { from { opacity: 0; } }

/* Kop */
.eh-drawer__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 16px 16px 24px; }
.eh-drawer__head::after { content: ''; position: absolute; left: 24px; bottom: 0; width: 48px; height: 3px; border-radius: 2px; background: var(--eh-flag); }
.eh-drawer__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-family: var(--eh-display); font-weight: 700; font-size: 2rem; line-height: 1; text-transform: uppercase; letter-spacing: .005em; color: var(--eh-amber); outline: none; }
.eh-drawer__count { font-family: var(--eh-body-font); font-size: .95rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--eh-soft); }
.eh-drawer__close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--eh-panel); color: var(--eh-ink); cursor: pointer; transition: transform .16s var(--eh-ease-out), background-color .15s ease; }
.eh-drawer__close:active { transform: scale(.9); }
@media (hover: hover) and (pointer: fine) { .eh-drawer__close:hover { background: var(--eh-panel-2); } }

/* Bevestiging na toevoegen */
.eh-drawer__added { display: none; }
.eh-drawer__added.is-on { display: flex; align-items: center; gap: 12px; margin: 16px 16px 0; padding: 12px 14px; border-radius: 14px; background: rgba(90, 157, 86, .14); box-shadow: inset 0 0 0 1px rgba(143, 209, 138, .25); animation: eh-dr-pop .45s var(--eh-ease-out) .12s both; }
.eh-drawer__tick { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #5a9d56; color: #fff; }
.eh-drawer__tick .eh-i { width: 18px; height: 18px; }
.eh-drawer__added p { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.3; }
.eh-drawer__added strong { font-size: .95rem; color: #b9e6b5; }
.eh-drawer__added p span { font-size: .88rem; color: var(--eh-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes eh-dr-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* Regels */
.eh-drawer__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 24px; }
.eh-dlines { display: flex; flex-direction: column; }
.eh-dline { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "media info total" "media ctrl ctrl"; gap: 10px 14px; padding: 16px 8px; border-radius: 14px; }
.eh-dline + .eh-dline { box-shadow: 0 -1px 0 var(--eh-line); border-top-left-radius: 0; border-top-right-radius: 0; }
.eh-dline.is-new { animation: eh-dr-new 1.6s ease .3s both; }
@keyframes eh-dr-new { 0%, 30% { background: rgba(252, 185, 0, .1); } 100% { background: transparent; } }
.eh-dline__media { grid-area: media; display: block; width: 72px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--eh-panel-2); }
.eh-dline__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eh-dline__info { grid-area: info; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.eh-dline__name { font-family: var(--eh-display); font-weight: 700; font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; color: var(--eh-ink) !important; text-decoration: none !important; }
@media (hover: hover) and (pointer: fine) { .eh-dline__name:hover { color: var(--eh-amber) !important; } }
.eh-dline__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .85rem; font-weight: 400; color: var(--eh-soft); font-variant-numeric: tabular-nums; }
.eh-dline__meta:empty { display: none; }
.eh-dline__meta .eh-line__var { padding: 2px 9px; font-size: .8rem; }
.eh-dline__total { grid-area: total; font-size: 1.05rem; font-weight: 700; color: var(--eh-amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
.eh-dline__ctrl { grid-area: ctrl; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eh-dline__qty { height: 40px; border-radius: 10px; }
.eh-dline__qty .eh-qty__btn { width: 38px; }
.eh-dline__qty .eh-qty__btn .eh-i { width: 16px; height: 16px; }
.eh-dline__qty .eh-qty__input { width: 30px !important; font-size: .98rem; }
.eh-dline__remove { margin-right: -8px; }

/* Ook mooi erbij (klein) */
.eh-dup { margin-top: 20px; padding: 16px; border-radius: 16px; background: var(--eh-panel); }
.eh-dup__title { margin-bottom: 10px !important; font-family: var(--eh-display); font-weight: 700; font-size: 1.15rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; color: var(--eh-soft); }
.eh-dup__list { display: flex; flex-direction: column; gap: 4px; }
.eh-dup__item { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.eh-dup__item img { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--eh-panel-2); }
.eh-dup__name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-weight: 600; font-size: .95rem; line-height: 1.25; color: var(--eh-ink) !important; text-decoration: none !important; }
.eh-dup__name span { font-weight: 500; font-size: .85rem; color: var(--eh-amber); font-variant-numeric: tabular-nums; }
.eh-dup__btn { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--eh-panel-2); box-shadow: inset 0 0 0 1px var(--eh-line); color: var(--eh-ink) !important; cursor: pointer; font: inherit; transition: transform .16s var(--eh-ease-out), box-shadow .15s ease, color .15s ease; }
.eh-dup__btn--link { width: auto; padding: 0 14px; font-size: .85rem; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.eh-dup__btn:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .eh-dup__btn:hover { box-shadow: inset 0 0 0 1.5px var(--eh-amber); color: var(--eh-amber) !important; } .eh-dup__name:hover { color: var(--eh-amber) !important; } }

/* Leeg */
.eh-dempty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 16px 32px; text-align: center; }
.eh-dempty .eh-empty-cart__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--eh-panel); color: var(--eh-amber); }
.eh-dempty .eh-empty-cart__icon .eh-i { width: 34px; height: 34px; }
.eh-dempty__title { font-family: var(--eh-display); font-weight: 700; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.eh-dempty__text { max-width: 30ch; font-weight: 400; color: var(--eh-soft); font-size: .95rem; line-height: 1.5; }
.eh-dempty .eh-cta { margin-top: 6px; min-height: 52px; }

/* Onderin: totaal en afrekenen */
.eh-drawer__foot { display: flex; flex-direction: column; gap: 12px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); background: var(--eh-panel); box-shadow: 0 -1px 0 var(--eh-line), 0 -16px 32px rgba(0, 0, 0, .3); }
.eh-drawer__foot[hidden] { display: none; }
.eh-drawer__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 1rem; }
.eh-drawer__total strong { font-size: 1.75rem; line-height: 1; color: var(--eh-amber); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.eh-drawer__fine { margin-top: -6px; font-size: .82rem; font-weight: 400; line-height: 1.4; color: var(--eh-soft); }
.eh-drawer__fine b { font-weight: 600; color: #8fd18a; }
.eh-drawer__closed { padding: 10px 12px; border-radius: 10px; background: rgba(255, 107, 107, .12); color: #ffb3a8; font-size: .88rem; font-weight: 600; }
.eh-drawer__cta { width: 100%; min-height: 56px; font-size: 1.05rem; }
.eh-drawer__cta .eh-i { transition: transform .2s var(--eh-ease-out); }
.eh-drawer__links { display: flex; justify-content: space-between; gap: 12px; margin-top: -4px; }
.eh-drawer__links :is(a, button) { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border: 0; background: none; font: inherit; font-size: .92rem; font-weight: 600; color: var(--eh-soft) !important; text-decoration: underline !important; text-decoration-color: rgba(201, 196, 184, .35) !important; text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .eh-drawer__links :is(a, button):hover { color: var(--eh-amber) !important; text-decoration-color: currentColor !important; } }
.eh-drawer__safe { font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .78rem; color: var(--eh-soft); }
.eh-drawer__safe .eh-i { width: 15px; height: 15px; color: var(--eh-amber); }
.eh-drawer__safe span { margin-right: 2px; }
.eh-drawer__safe b { padding: 2px 7px; border-radius: 5px; background: var(--eh-ink); color: #1a1919; font-size: .7rem; font-weight: 700; }
.eh-drawer :focus-visible { outline: 2px solid var(--eh-amber); outline-offset: 2px; }

@media (max-width: 480px) {
  .eh-drawer__panel { width: 100%; box-shadow: none; }
  .eh-drawer__head { padding: 12px 12px 14px 16px; }
  .eh-drawer__head::after { left: 16px; }
  .eh-drawer__title { font-size: 1.75rem; }
  .eh-drawer__body { padding: 4px 8px 20px; }
  .eh-drawer__added.is-on { margin: 12px 12px 0; }
  .eh-drawer__foot { padding: 14px 16px calc(12px + env(safe-area-inset-bottom)); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .eh-drawer *, .eh-drawer *::before { animation: none !important; transition: none !important; }
}

/* =====================================================================
   Cookiemelding (shop.js initAnalytics): alleen als er een GA4-meet-ID is ingesteld.
   Twee even grote knoppen, zodat "nee" net zo makkelijk is als "ja".
   ===================================================================== */
.eh-cookiebar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 1000;
  max-width: 760px; margin: 0 auto; background: #1d1c1b; color: #f4f1ea;
  border: 1px solid rgba(244, 241, 234, .14); border-top: 4px solid var(--eh-amber); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45); animation: eh-cookie-in .4s var(--eh-ease-out) both;
}
.eh-cookiebar__inner { display: flex; align-items: center; gap: 20px; padding: 18px 20px; }
.eh-cookiebar__text { flex: 1; min-width: 0; font-size: .95rem; line-height: 1.5; }
.eh-cookiebar__text p { margin: 0; font-weight: 400; }
.eh-cookie-dialog p { font-weight: 400; }
.eh-cookiebar__title { font-family: var(--eh-display, inherit); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .01em; margin-bottom: 4px !important; }
.eh-cookiebar a, .eh-cookie-dialog a { color: var(--eh-amber); text-underline-offset: .2em; }
.eh-cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.eh-cookie-actions .eh-btn { min-width: 150px; justify-content: center; text-align: center; margin: 0; padding: 12px 18px; white-space: nowrap; }
.eh-cookie-status { color: #c9c4b8; }
.eh-cookie-dialog .eh-cookie-actions { margin: 4px 0 14px; flex-wrap: wrap; }
.eh-cookie-close { border: 0; background: none; padding: 6px 0; font: inherit; color: #c9c4b8; text-decoration: underline; cursor: pointer; }
@keyframes eh-cookie-in { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 640px) {
  .eh-cookiebar__inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px 16px; }
  .eh-cookiebar__text { font-size: .88rem; }
  .eh-cookiebar__title { font-size: 1.05rem; }
  .eh-cookie-actions .eh-btn { flex: 1; min-width: 0; padding: 11px 8px; }
}
@media (prefers-reduced-motion: reduce) { .eh-cookiebar { animation: none; } }
