/* ============================================================
   Mycohond ontwerplaag: basis voor alle drie de ontwerpen.
   Laadt alleen als er een ontwerp actief is (optie mh_design of
   voorbeeld via ?ontwerp=). Alles draait op de --mh-* tokens; de
   ontwerpbestanden zetten alleen tokens en hun eigen handtekening.
   ============================================================ */

:root {
  --mh-font-kop: var(--mh-font);
  --mh-font-num: var(--mh-font);
  --mh-knop-radius: var(--mh-radius);
  --mh-knop-tekst: var(--mh-papier);
  --mh-body: 1.0625rem;
  --mh-lees: #3a423b;
  --mh-kop-gewicht: 700;
}

body.mh-design { font-size: var(--mh-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.mh-design h1, body.mh-design h2, body.mh-design h3, body.mh-design h4,
body.mh-design .product_title { font-family: var(--mh-font-kop); font-weight: var(--mh-kop-gewicht); color: var(--mh-inkt); }
body.mh-design .mh-lead { color: var(--mh-lees); }

/* ---------- knoppen: één actiekleur, tekstkleur per ontwerp ---------- */
body.mh-design .mh-btn,
body.mh-design .pdp-buy .single_add_to_cart_button,
body.mh-design .wc-block-components-button:not(.is-link),
body.mh-design .woocommerce a.button.alt,
body.mh-design .woocommerce button.button.alt,
body.mh-design .wp-block-woocommerce-empty-cart-block .wp-block-button__link {
  border-radius: var(--mh-knop-radius) !important;
  color: var(--mh-knop-tekst) !important;
  background: var(--mh-oker) !important;
  transition: background-color .18s ease, transform .12s ease;
}
body.mh-design .mh-btn:hover,
body.mh-design .pdp-buy .single_add_to_cart_button:hover,
body.mh-design .wc-block-components-button:not(.is-link):hover { background: var(--mh-okerdonker) !important; }
body.mh-design .mh-btn--ghost,
body.mh-design .card-product .mh-btn {
  background: transparent !important; color: var(--mh-inkt) !important;
  border: 1.5px solid var(--mh-inkt); font-size: 1rem;
}
body.mh-design .card-product .mh-btn:hover,
body.mh-design .mh-btn--ghost:hover { background: var(--mh-inkt) !important; color: var(--mh-papier) !important; }
body.mh-design .woocommerce button.button:not(.alt),
body.mh-design .woocommerce a.button:not(.alt) { border-radius: var(--mh-knop-radius); }

/* ---------- bug: Woo's clearfix-pseudo nam de eerste gridcel in ---------- */
body.mh-design ul.products::before,
body.mh-design ul.products::after,
body.mh-design .woocommerce ul.products::before,
body.mh-design .woocommerce ul.products::after { content: none !important; display: none !important; }

/* ---------- productkaart ---------- */
body.mh-design .card-product__title { font-family: var(--mh-font-kop); }
body.mh-design .card-product__price { font-family: var(--mh-font-num); }

/* ---------- paginaheader met sfeerfoto ---------- */
.mh-pagehero__grid { display: block; }
.mh-pagehero--beeld .mh-pagehero__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.mh-pagehero__beeld { margin: 0; overflow: hidden; border-radius: var(--mh-radius); aspect-ratio: 4 / 5; max-height: 460px; justify-self: end; width: 100%; max-width: 380px; }
.mh-pagehero__beeld img { width: 100%; height: 100%; object-fit: cover; }

/* dosering: het gat tussen kop en calculator dicht, dubbele intro weg */
body.mh-design.mh-pagina-dosering .mh-pagehero + .mh-sectie { padding-top: 8px; }
body.mh-design.mh-pagina-dosering .mh-sectie.mh-band { padding-top: 0 !important; }
body.mh-design.mh-pagina-dosering .mh-sectie.mh-band .mh-content > p:first-child { display: none; }

/* ---------- homepage ---------- */
.mh-hero__rechts { display: grid; gap: 18px; }
.mh-etiket { margin: 0; font-size: .95rem; }
.mh-etiket div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid var(--mh-lijn); }
.mh-etiket div:last-child { border-bottom: 1px solid var(--mh-lijn); }
.mh-etiket dt { color: var(--mh-gedempt); font-family: var(--mh-font-num); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; padding-top: 2px; }
.mh-etiket dd { margin: 0; color: var(--mh-inkt); font-weight: 600; }
.mh-etiket dd a { color: var(--mh-inkt); }
.mh-etiket del { color: var(--mh-gedempt); font-weight: 400; }

.mh-hero__foto { position: relative; margin: 0; }
.mh-hero__foto > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--mh-radius); max-height: 620px; }
.mh-hero__chip {
  position: absolute; left: -28px; bottom: 28px; display: flex; gap: 12px; align-items: center;
  background: var(--mh-papier); color: var(--mh-inkt); text-decoration: none;
  padding: 10px 18px 10px 10px; border-radius: 999px; box-shadow: 0 14px 40px rgba(20, 33, 26, .18);
  max-width: 330px;
}
.mh-hero__chip img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.mh-hero__chip strong { font-size: .98rem; }
.mh-hero__chip:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.mh-hero__tool { background: var(--mh-papier); border-radius: var(--mh-radius); padding: clamp(22px, 3vw, 34px); scroll-margin-top: 100px; }
.mh-hero__toolkop { font-family: var(--mh-font-kop); font-weight: 700; font-size: 1.35rem; margin: 0; color: var(--mh-inkt); }
.mh-hero__tool .mh-calc { margin-top: 18px; }
.mh-hero__tool .mh-calc__velden { grid-template-columns: 1fr; }

.mh-waarom__foto { margin: 0 0 34px; max-width: 420px; overflow: hidden; border-radius: var(--mh-radius); }
.mh-waarom__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; }

/* calculator: uitkomst groot en rustig */
body.mh-design .mh-calc__uitkomst p { margin: 0; }
body.mh-design .mh-calc__uitkomst strong { font-family: var(--mh-font-num); color: var(--mh-bos); }
body.mh-design .mh-calc__uitkomst p[hidden] { display: none; }
body.mh-design .mh-calc input, body.mh-design .mh-calc select { font-size: 1.05rem; min-height: 54px; }
body.mh-design .mh-calc__notitie { color: var(--mh-gedempt); }

/* ---------- productpagina ---------- */
body.mh-design .pdp-buy .product_title { line-height: 1.12; }
body.mh-design .pdp-buy .price { font-family: var(--mh-font-num); }
body.mh-design .pdp-buy .woocommerce-product-details__short-description { color: var(--mh-lees); font-size: 1.05rem; }

/* variaties als knoppen (design.js maakt ze; de select blijft voor Woo) */
.mh-varkeuze { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; }
.mh-varkeuze button {
  font: inherit; font-size: .98rem; font-weight: 600; color: var(--mh-inkt);
  background: var(--mh-papier); border: 1.5px solid var(--mh-lijn); border-radius: var(--mh-knop-radius);
  padding: 11px 16px; min-height: 48px; cursor: pointer; display: grid; text-align: left; gap: 1px;
  transition: border-color .15s ease, background-color .15s ease;
}
.mh-varkeuze button small { font-size: .82rem; font-weight: 500; color: var(--mh-gedempt); font-family: var(--mh-font-num); }
.mh-varkeuze button:hover { border-color: var(--mh-inkt); }
.mh-varkeuze button[aria-pressed="true"] { border-color: var(--mh-bos); background: var(--mh-moslicht); box-shadow: inset 0 0 0 1px var(--mh-bos); }
.mh-varkeuze button:focus-visible { outline: 2px solid var(--mh-bos); outline-offset: 2px; }
body.mh-design .pdp-buy table.variations.mh-vars-knoppen td { position: relative; }
body.mh-design .pdp-buy table.variations.mh-vars-knoppen select { position: absolute; left: 0; top: 0; width: 1px !important; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
body.mh-design .pdp-buy table.variations.mh-vars-knoppen th { width: auto; display: block; padding-bottom: 8px; }
body.mh-design .pdp-buy table.variations.mh-vars-knoppen td { display: block; }
body.mh-design .pdp-buy table.variations.mh-vars-knoppen tr { display: block; }
body.mh-design .pdp-buy .reset_variations { display: none !important; }

/* USP-balk (mu-plugin) wordt gewone tekst, zonder vinkjes en zonder kader */
body.mh-design .mh-uspbar { max-width: none; margin: 0; padding: 0; }
body.mh-design .mh-uspbar ul { background: none; border: 0; border-radius: 0; padding: 0; justify-content: flex-start; flex-direction: column; gap: 10px; }
body.mh-design .mh-uspbar li { font-size: 1.05rem; font-weight: 600; color: var(--mh-inkt); padding-left: 0; }
body.mh-design .mh-uspbar li::before { content: none; }

/* video + cross-sell naast elkaar in plaats van gecentreerd gestapeld */
body.mh-design .pdp-extra {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 72px);
  align-items: start; margin: clamp(48px, 7vw, 84px) 0 0; padding-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--mh-lijn);
}
body.mh-design .pdp-extra > .mh-brandvideo-wrap { grid-column: 1; grid-row: 1 / span 3; margin: 0; padding: 0; max-width: none; }
body.mh-design .pdp-extra > .mh-uspbar { grid-column: 2; grid-row: 1; }
body.mh-design .pdp-extra > .mh-crosssell { grid-column: 2; grid-row: 2; margin: 18px 0 0; padding: 0; max-width: none; }
body.mh-design .mh-brandvideo { max-width: none; }
body.mh-design .mh-brandvideo video { border-radius: var(--mh-radius); max-height: 560px; }
body.mh-design .mh-brandvideo-caption { text-align: left; color: var(--mh-gedempt); margin: 10px 0 0; }
body.mh-design .mh-crosssell h2 { text-align: left; font-size: 1.3rem; color: var(--mh-inkt); margin: 0 0 12px; }
body.mh-design .mh-crosssell__card { margin: 0; max-width: 520px; background: transparent; border: 0; border-top: 1px solid var(--mh-lijn); border-bottom: 1px solid var(--mh-lijn); border-radius: 0; padding: 14px 0; }
body.mh-design .mh-crosssell__card img { border-radius: var(--mh-radius); }
body.mh-design .mh-crosssell__name { color: var(--mh-inkt); font-size: 1.05rem; }
body.mh-design .mh-crosssell__price { color: var(--mh-gedempt); font-family: var(--mh-font-num); }
body.mh-design .mh-crosssell__cta { color: var(--mh-okerdonker); }

body.mh-design .pdp-subnav { margin-top: clamp(48px, 6vw, 72px); }

/* productteksten: volle leesbreedte als er geen zijkolom is, koppen niet grijs */
body.mh-design .pdp-details--solo { grid-template-columns: minmax(0, 1fr); }
body.mh-design .pdp-details--solo .pdp-prose { max-width: 720px; }
body.mh-design .pdp-prose { color: var(--mh-lees); font-size: 1.06rem; }
body.mh-design .pdp-prose h2 { color: var(--mh-inkt); font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 2em 0 .5em; scroll-margin-top: 100px; }
body.mh-design .pdp-prose h2:first-child { margin-top: 0; }
body.mh-design .pdp-prose h3 { color: var(--mh-inkt); font-size: 1.15rem; margin: 1.6em 0 .3em; }
body.mh-design .pdp-prose table,
body.mh-design .mh-content table,
body.mh-design .mh-artikel__lijf table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; background: transparent; font-size: 1rem; }
body.mh-design .pdp-prose td, body.mh-design .pdp-prose th { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--mh-lijn); text-align: left; vertical-align: top; }
body.mh-design .pdp-prose tr:first-child td, body.mh-design .pdp-prose tr:first-child th { border-top: 1px solid var(--mh-lijn); }
body.mh-design .pdp-prose td:first-child { font-weight: 700; color: var(--mh-inkt); white-space: nowrap; width: 1%; padding-right: 24px; }
body.mh-design .mh-content th, body.mh-design .mh-content td { padding: 12px 14px 12px 0; }
body.mh-design .mh-content th { background: transparent; border-bottom: 1.5px solid var(--mh-inkt); }

/* ---------- winkel: FAQ onder het overzicht ---------- */
body.mh-design .mh-shopfaq {
  margin: clamp(56px, 8vw, 96px) 0 0; padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--mh-lijn);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(32px, 5vw, 72px);
}
body.mh-design .mh-shopfaq > h2 { grid-column: 1 / -1; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 22px; }
body.mh-design .mh-shopfaq > h3 { grid-column: 1; font-size: 1.12rem; margin: 0; padding: 18px 0; border-top: 1px solid var(--mh-lijn); }
body.mh-design .mh-shopfaq > p { grid-column: 2; margin: 0; padding: 18px 0; border-top: 1px solid var(--mh-lijn); color: var(--mh-lees); }
body.mh-design .shop-toolbar { margin-top: 20px; }

/* ---------- bedankpagina, meldingen ---------- */
body.mh-design .woocommerce-message, body.mh-design .woocommerce-info { border-radius: 0 var(--mh-radius) var(--mh-radius) 0; }

/* koopregel: aantal en knop naast elkaar */
body.mh-design .pdp-buy .woocommerce-variation-add-to-cart,
body.mh-design .pdp-buy form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
body.mh-design .pdp-buy .single_add_to_cart_button { flex: 1 1 220px; max-width: 360px; }
body.mh-design .pdp-buy .single_variation_wrap { gap: 10px; }
body.mh-design .pdp-buy table.variations.mh-vars-knoppen td, body.mh-design .pdp-buy table.variations.mh-vars-knoppen th { padding-bottom: 6px; }
body.mh-design .pdp-buy .woocommerce-variation-price .price { font-size: 1.5rem; margin: 0; }

/* ---------- footer: koppen licht op donker ---------- */
body.mh-design .mh-footer h2, body.mh-design .mh-footer h3 { color: #fff; }

/* ---------- winkelwagenlade: dicht = echt weg (anders schaduwrand rechts) ---------- */
body.mh-design .cart-drawer:not([data-open="true"]) { box-shadow: none; visibility: hidden; transition: transform .32s cubic-bezier(.2,.7,.3,1), visibility 0s linear .32s; }
body.mh-design .cart-drawer[data-open="true"] { visibility: visible; transition: transform .32s cubic-bezier(.2,.7,.3,1); }

/* ---------- homepage: calculator en kennisbank in twee kolommen ---------- */
@media (min-width: 901px) {
  body.mh-design .mh-home #dosering > .mh-shell,
  body.mh-design .mh-home #kennisbank > .mh-shell {
    display: grid; grid-template-rows: auto auto 1fr; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(40px, 6vw, 96px); align-items: start;
  }
  body.mh-design .mh-home #dosering > .mh-shell > *,
  body.mh-design .mh-home #kennisbank > .mh-shell > * { grid-column: 1; }
  body.mh-design .mh-home #dosering > .mh-shell > .mh-calc,
  body.mh-design .mh-home #kennisbank > .mh-shell > .mh-kennis { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; max-width: none; }
  body.mh-design .mh-home #dosering .mh-h2, body.mh-design .mh-home #kennisbank .mh-h2 { margin-top: 10px; }
}
@media (min-width: 861px) { body.mh-design .mh-home ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mh-hero__chip > span { display: grid; gap: 2px; font-size: .9rem; line-height: 1.3; }
.mh-hero__chip > span > span { display: block; }

/* ---------- responsief ---------- */
@media (max-width: 1000px) {
  body.mh-design .pdp-extra { grid-template-columns: 1fr; }
  body.mh-design .pdp-extra > .mh-brandvideo-wrap,
  body.mh-design .pdp-extra > .mh-uspbar,
  body.mh-design .pdp-extra > .mh-crosssell { grid-column: 1; grid-row: auto; }
  body.mh-design .pdp-extra > .mh-brandvideo-wrap { max-width: 360px; }
}
@media (max-width: 900px) {
  .mh-pagehero--beeld .mh-pagehero__grid { grid-template-columns: 1fr; }
  .mh-pagehero__beeld { justify-self: start; max-width: none; aspect-ratio: 16 / 10; max-height: 320px; }
  .mh-pagehero__beeld img { object-position: center 35%; }
  .mh-hero__chip { left: 12px; bottom: 12px; right: 12px; max-width: none; }
  body.mh-design .mh-shopfaq { grid-template-columns: 1fr; }
  body.mh-design .mh-shopfaq > h3, body.mh-design .mh-shopfaq > p { grid-column: 1; }
  body.mh-design .mh-shopfaq > p { border-top: 0; padding-top: 0; }
}
@media (max-width: 560px) {
  body.mh-design { font-size: 1rem; }
  .mh-shell, .mh-header { width: calc(100% - 40px); }
  .mh-varkeuze button { flex: 1 1 calc(50% - 8px); }
  body.mh-design .pdp-prose td:first-child { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  body.mh-design .mh-btn, .mh-varkeuze button { transition: none; }
}

/* ---------- staffelkorting op de aantal-knoppen (26-09-2026) ---------- */
.mh-varkeuze:has(.mh-varkeuze--voordeel) { row-gap: 18px; margin-top: 12px; }
.mh-varkeuze button.mh-varkeuze--voordeel { position: relative; }
.mh-varkeuze:has(.mh-varkeuze--voordeel) button { align-content: start; }
.mh-varkeuze button small.mh-varkeuze__per { color: var(--mh-bos); font-weight: 600; }
.mh-varkeuze__label {
  position: absolute; top: -11px; right: 10px;
  background: var(--mh-oker); color: #fff;
  font-size: .72rem; font-weight: 700; line-height: 1; letter-spacing: .01em;
  padding: 5px 8px; border-radius: 999px; white-space: nowrap;
}
