/* Header and footer in woonklasse.nl's visual language. Values mirror woonklasse.nl's own
   header (.header--nieuw), phone menu (.mobile-nav) and footer (.footer--vb). Markup: lib/chrome.js. */
:root {
  --wk-ink: #2B2A28; --wk-ink-2: #5F5449; --wk-muted: #A2968A; --wk-line: #DDD5C9; --wk-card: #E5DED4; --wk-soft: #EFEAE4;
  --wk-accent: #E8B44A; --wk-accent-dark: #D4A038; --wk-accent-text: #412402; --wk-brons: #7A5510;
}
.wkh-top, .wkh, .wkh-sub, .wkf { -webkit-font-smoothing: antialiased; }
.wkh-in { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.wkh a, .wkh-top a, .wkh-sub a, .wkf a { text-decoration: none; }

/* top row: woonklasse.nl's main sections (tablet and desktop; on phones they are in the menu) */
.wkh-top { display: none; background: var(--wk-soft); border-bottom: 1px solid var(--wk-line); font-size: 13px; line-height: 1.4; }
.wkh-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.wkh-top-nav { display: flex; align-items: center; gap: 20px; min-width: 0; }
.wkh-top a { color: var(--wk-ink-2); font-weight: 500; white-space: nowrap; padding: 8px 0; }
.wkh-top a:hover { color: var(--wk-ink); text-decoration: underline; text-underline-offset: 3px; }
.wkh-top .wkh-top-home { color: var(--wk-ink); font-weight: 700; padding-right: 20px; border-right: 1px solid var(--wk-line); }
.wkh-top .wkh-top-tel { color: var(--wk-ink); font-weight: 600; }
@media (min-width: 760px) { .wkh-top { display: block; } }

/* main bar */
.wkh { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 2px solid var(--wk-ink); }
.wkh-row { display: flex; align-items: center; gap: 40px; padding-top: 12px; padding-bottom: 12px; }
.wkh-logo { display: flex; align-items: center; flex: none; height: 52px; }
.wkh-logo img { height: 58px; width: auto; max-width: none; }
.wkh-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; min-width: 0; }
.wkh-nav a, .wkh-sub a { font-size: 15px; font-weight: 600; color: var(--wk-ink); white-space: nowrap; padding: 6px 0; text-underline-offset: 7px; text-decoration-thickness: 2px; text-decoration-color: var(--wk-accent); }
.wkh-nav a:hover, .wkh-nav a[aria-current], .wkh-sub a[aria-current] { text-decoration-line: underline; }
/* Woonklasse 3D: after the shop groups, behind a divider, one step quieter */
.wkh-nav-sep { flex: none; width: 1px; height: 22px; background: var(--wk-line); }
.wkh-nav .wkh-3d { display: inline-flex; align-items: center; gap: 7px; color: var(--wk-ink-2); }
.wkh-nav .wkh-3d:hover { color: var(--wk-ink); }
.wkh-3d .wkh-ic { width: 17px; height: 17px; stroke-width: 1.8; }
.wkh-menu .wkh-3d { display: flex; align-items: center; gap: 10px; }
.wkh-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.wkh-wa { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 14px; font-weight: 600; color: var(--wk-ink); white-space: nowrap; position: relative; }
.wkh-wa:hover { color: var(--wk-brons); }
.wkh-wa::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.wkh-wa-ic { width: 18px; height: 18px; flex: none; fill: currentColor; stroke: none; }
.wkh-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wkh-cart { display: inline-flex; align-items: center; gap: 8px; flex: none; background: var(--wk-accent); color: var(--wk-accent-text); padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; line-height: 1.5; transition: background .15s ease; }
.wkh-cart:hover, .wkh-cart[aria-current] { background: var(--wk-accent-dark); }
.wkh-cart-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--wk-ink); color: var(--bg); font-size: 12px; line-height: 20px; letter-spacing: 0; text-align: center; }
.wkh-toggle { display: none; position: relative; place-items: center; width: 28px; height: 28px; padding: 0; background: none; border: 0; color: var(--wk-ink); cursor: pointer; }
.wkh-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.wkh-toggle .wkh-ic { width: 24px; height: 24px; stroke-width: 1.8; }
.wkh-ic-close, .wkh-toggle[aria-expanded="true"] .wkh-ic-open { display: none; }
.wkh-toggle[aria-expanded="true"] .wkh-ic-close { display: block; }

/* phone and tablet menu, opened by the toggle (public/js/site-nav.js) */
.wkh-menu { display: none; border-top: 1px solid var(--wk-line); padding: 14px 0 6px; max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; }
.wkh-menu a { display: block; padding: 14px 24px; font-size: 17px; font-weight: 600; color: var(--wk-ink); }
.wkh-menu > a + a, .wkh-menu-sub + a { border-top: 1px solid var(--wk-line); }
.wkh-menu a[aria-current] { color: var(--wk-brons); }
.wkh-menu .wkh-menu-cta { display: flex; justify-content: center; margin: 0 24px 6px; padding: 13px 18px; background: var(--wk-accent); color: var(--wk-accent-text); border-radius: 999px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.wkh-menu-title { margin: 0; padding: 22px 24px 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--wk-ink-2); }
.wkh-menu-sub { background: var(--wk-card); padding: 4px 0 8px; }
.wkh-menu .wkh-menu-sub a { padding: 11px 24px 11px 38px; font-size: 14px; font-weight: 500; }

/* product groups under the bar on phone and tablet */
.wkh-sub { background: var(--bg); border-bottom: 1px solid var(--wk-line); }
.wkh-sub-in { display: flex; justify-content: space-between; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.wkh-sub-in::-webkit-scrollbar { display: none; }
.wkh-sub a { flex: none; padding: 12px 0; font-size: 14px; }

@media (max-width: 1179px) { .wkh-wa span { display: none; } }
@media (max-width: 1099px) {
  .wkh-nav { display: none; }
  .wkh-toggle { display: grid; }
  .wkh-menu.open { display: block; }
  .wkh-row { gap: 16px; }
}
@media (min-width: 1100px) { .wkh-menu, .wkh-sub { display: none !important; } }
@media (min-width: 640px) and (max-width: 1099px) { .wkh-sub-in { justify-content: flex-start; gap: 28px; } }
@media (max-width: 560px) {
  .wkh-row { padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .wkh-logo { height: 44px; }
  .wkh-logo img { height: 48px; }
  .wkh-menu { max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); }
  .wkh-right { gap: 14px; }
  .wkh-cart { padding: 9px 12px; font-size: 12px; gap: 6px; }
  .wkh-cart .wkh-ic { width: 16px; height: 16px; }
}
@media (max-width: 430px) {
  .wkh-sub-in { gap: 10px; }
  .wkh-sub a { font-size: clamp(12.5px, 3.4vw, 14px); }
}
@media (max-width: 374px) { .wkh-cart-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 359px) { .wkh-sub-in { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } }

/* footer */
.wkf { background: var(--bg); border-top: 1px solid var(--wk-line); padding: 48px 0 30px; color: var(--wk-ink); line-height: 1.5; }
.wkf-usps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; padding-bottom: 36px; border-bottom: 1px solid var(--wk-line); }
.wkf-usps > div { display: grid; grid-template-columns: auto minmax(0, max-content); grid-template-rows: auto auto; column-gap: 12px; justify-content: center; align-content: start; }
.wkf-chk { width: 22px; height: 22px; grid-row: 1 / 3; align-self: start; }
.wkf-chk polyline { fill: none; stroke: currentColor; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.wkf-usps b { font-size: 14px; }
.wkf-usps span { font-size: 14px; color: var(--wk-ink-2); }
.wkf-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 36px 0; }
.wkf-cols h2 { font-size: 14px; font-weight: 700; line-height: 1.5; margin: 0 0 14px; }
.wkf-cols a { display: block; padding: 5px 0; font-size: 14px; color: var(--wk-ink-2); }
.wkf-cols a:hover { color: var(--wk-ink); }
.wkf-cols .wkf-tel { font-weight: 700; color: var(--wk-ink); }
.wkf-addr { margin: 14px 0 0; font-size: 14px; color: var(--wk-ink-2); }
.wkf-note { margin: 0 0 24px; font-size: 13px; color: var(--wk-ink-2); }
.wkf-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid var(--wk-line); }
.wkf-logo img { height: 60px; width: auto; max-width: none; }
.wkf-bottom p { margin: 0; font-size: 14px; color: var(--wk-ink-2); }
.wkf-bottom .wkf-company { margin-left: auto; text-align: right; }
.wkf-credit { margin: 28px 0 0; text-align: center; font-size: 12px; line-height: 1; }
.wkf-credit a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; color: #6B6055; /* AA contrast; was --wk-muted (2.7:1) */ }
.wkf-credit img { height: 10px; width: auto; opacity: .7; transition: opacity .15s ease; }
.wkf-credit a:hover { color: var(--wk-ink-2); }
.wkf-credit a:hover img { opacity: 1; }
@media (max-width: 1023px) { .wkf-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .wkf-usps { grid-template-columns: 1fr; }
  .wkf-usps > div { justify-content: start; }
  .wkf-bottom .wkf-company { margin-left: 0; text-align: left; }
}
@media (max-width: 640px) { .wkf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* room for the fixed buy bar on product pages */
@media (max-width: 979px) { body:has(#sticky-buy) .wkf { padding-bottom: 96px; } }
