/*
Theme Name: De Verfhoek
Theme URI: https://www.verfhoekscherpenzeel.nl/
Author: Kamphorst ICT
Author URI: https://www.kamphorstict.nl/
Description: Maatwerkthema voor De Verfhoek Scherpenzeel. Teksten, foto's, acties, merken, assortiment, openingstijden en mededelingen zijn zelf te beheren via het menu "De Verfhoek" in het dashboard.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: Proprietary
Text Domain: verfhoek
*/

/* Kleuren uit het logo: antraciet en taupe, met linnen als pagina-achtergrond. */
:root {
  --coal: #252628;
  --coal-2: #34363a;
  --taupe: #a8a090;
  --taupe-d: #7d7566;
  --linen: #f3f1ec;
  --paper: #ffffff;
  --ink: #252628;
  --muted: #615d55;
  --line: #ddd8ce;
  --display: "Jost", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--linen); color: var(--ink); font-family: var(--body); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 1160px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; color: var(--taupe-d); }
.on-coal .eyebrow { color: var(--taupe); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.on-coal { background: var(--coal); color: #ecebe8; }
.on-coal .lead, .on-coal .muted { color: #bcb6ab; }
.muted { color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); }
:focus-visible { outline: 3px solid var(--taupe); outline-offset: 3px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 100; background: var(--taupe); color: var(--coal); padding: 8px 14px; border-radius: 4px; }

/* Knoppen */
.btn, .wp-block-button__link { display: inline-flex; align-items: center; gap: .5em; font-family: var(--display); font-weight: 500; letter-spacing: .04em; padding: .8em 1.4em; border-radius: 4px; text-decoration: none; border: 2px solid var(--coal); background: var(--coal); color: #fff; cursor: pointer; font-size: 1rem; transition: background .15s, color .15s; }
.btn:hover { background: var(--coal-2); }
.btn-line { background: transparent; color: var(--coal); }
.btn-line:hover { background: var(--coal); color: #fff; }
.btn-taupe { background: var(--taupe); border-color: var(--taupe); color: var(--coal); }
.btn-taupe:hover { background: #bbb3a3; }
.btn-ghost { background: transparent; border-color: #6b675f; color: #fff; }
.btn-ghost:hover { border-color: var(--taupe); background: transparent; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--coal); color: #fff; }
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 0; } }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand svg { width: 38px; height: 46px; flex: none; }
.brand img { max-height: 56px; width: auto; }
.brand-name { font-family: var(--display); font-weight: 600; letter-spacing: .08em; font-size: 1.3rem; color: var(--taupe); line-height: 1; text-transform: uppercase; }
.brand-name small { display: block; text-transform: none; letter-spacing: .03em; font-weight: 400; color: #e8e6e2; font-size: .82rem; margin-top: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a { display: block; text-decoration: none; font-family: var(--display); font-size: .98rem; padding: 8px 12px; color: #d9d6d0; }
.nav a:hover { color: #fff; }
.nav .current-menu-item > a, .nav .current_page_item > a { color: #fff; box-shadow: inset 0 -2px 0 var(--taupe); }
.menu-btn { display: none; background: none; border: 1px solid #55524c; color: #fff; border-radius: 4px; padding: 8px 12px; font: 500 .95rem var(--display); cursor: pointer; }

/* Mededeling */
.notice { background: #f6efe0; border-bottom: 1px solid #e4d6b8; color: #4a3f2c; }
.notice .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 12px; font-size: .95rem; }
.notice b, .notice strong { font-family: var(--display); font-weight: 600; letter-spacing: .02em; }
.notice-tag { font: 600 .72rem var(--display); letter-spacing: .16em; text-transform: uppercase; background: var(--coal); color: var(--taupe); padding: 3px 8px; border-radius: 3px; }

/* Secties */
.band { padding-block: 80px; }
.band-tight { padding-block: 56px; }
.white { background: var(--paper); }
.head { display: grid; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.page-head .wrap { display: grid; gap: 12px; }
.page-head .wrap > * { max-width: 760px; }

/* Hero */
.hero { padding-block: 56px 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-grid > div { min-width: 0; display: grid; gap: 22px; }
.hero h1 span { color: var(--taupe); }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: #e8e6e2; border: 1px solid #4a4843; border-radius: 999px; padding: 6px 14px; width: max-content; max-width: 100%; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #c0705a; flex: none; }
.status.open i { background: #5fbf85; box-shadow: 0 0 0 4px rgba(95,191,133,.18); }
.art { border-radius: 6px; overflow: hidden; max-width: 100%; }
.art svg { display: block; width: 100%; height: auto; }
.art img { display: block; width: 100%; height: auto; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .92rem; color: #bcb6ab; }
.facts b { color: #fff; font-weight: 500; }

/* USP-strook */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border-bottom: 1px solid var(--line); }
.strip div { padding: 26px 24px; display: grid; gap: 4px; border-right: 1px solid var(--line); }
.strip div:last-child { border-right: 0; }
.strip strong { font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.strip span { color: var(--muted); font-size: .94rem; }

/* Tegels */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: border-color .2s, transform .2s; }
a.tile:hover { border-color: var(--taupe); transform: translateY(-3px); }
.tile .pic { aspect-ratio: 16 / 10; background: var(--linen); max-width: 100%; }
.tile .pic svg, .tile .pic img { width: 100%; height: 100%; display: block; object-fit: cover; }
.tile .txt { padding: 20px 22px 24px; display: grid; gap: 6px; align-content: start; }
.tile p { color: var(--muted); font-size: .95rem; }
.tag-new { display: inline-block; font: 600 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; background: var(--taupe); color: var(--coal); padding: 3px 8px; border-radius: 3px; width: max-content; vertical-align: middle; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > div { min-width: 0; display: grid; gap: 18px; }

/* Stappen */
.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid #45433f; counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 1.8rem; color: var(--taupe); line-height: 1; }
.steps p { color: #bcb6ab; }

/* Kleurkiezer */
.picker { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.picker > div { min-width: 0; }
.room { border-radius: 6px; overflow: hidden; max-width: 100%; }
.room svg { display: block; width: 100%; height: auto; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 2px solid var(--line); border-radius: 6px; padding: 8px; font: 500 .95rem var(--body); color: var(--ink); cursor: pointer; text-align: left; }
.chip i { width: 34px; height: 34px; border-radius: 4px; background: var(--c); border: 1px solid rgba(0,0,0,.1); flex: none; }
.chip[aria-pressed="true"] { border-color: var(--coal); }

/* Foto's */
.ph { border-radius: 6px; overflow: hidden; background: var(--line); max-width: 100%; margin: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery .ph { aspect-ratio: 3 / 4; }

/* Merken */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.brandcard { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.brandcard h3 { font-size: 1.5rem; letter-spacing: .02em; }
.brandcard p { color: var(--muted); font-size: .95rem; }
.brandcard.has-img { padding: 0; overflow: hidden; }
.brandcard.has-img .ph { border-radius: 0; aspect-ratio: 4 / 3; }
.brandcard .bc-txt { padding: 22px 24px 26px; display: grid; gap: 8px; }
.brand-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; padding-block: 48px; border-top: 1px solid var(--line); }
.brand-row:first-child { border-top: 0; padding-top: 0; }
.brand-row > div { min-width: 0; display: grid; gap: 14px; }
.brand-row h3 { font-size: 1.8rem; }
.brand-row ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.brand-row .gallery { grid-template-columns: repeat(2, 1fr); }
.brand-row .gallery .ph { aspect-ratio: 1 / 1; }
.brand-row .gallery.one { grid-template-columns: 1fr; max-width: 380px; }
.brand-row .gallery.one .ph { aspect-ratio: auto; }
.placeholder { aspect-ratio: 16 / 9; border: 2px dashed var(--line); border-radius: 6px; display: grid; place-items: center; color: var(--muted); font-size: .95rem; text-align: center; padding: 16px; }

/* Acties */
.deals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.deal { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; }
.deal .ph { border-radius: 0; background: var(--coal); }
.deal .ph img { height: auto; }
.deal-txt { padding: 24px 26px 28px; display: grid; gap: 12px; align-content: start; }
.deal-txt .entry { color: var(--muted); font-size: .95rem; }
.deal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.deal-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.deal-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.deal-list small { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }
.price { font-family: var(--display); font-weight: 600; font-size: 1.25rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price s { font-weight: 400; color: var(--muted); font-size: .95rem; margin-right: 6px; }
.deal-until { font-size: .85rem; color: var(--muted); }
.promo-img { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--coal); color: #fff; border-radius: 6px; overflow: hidden; margin-top: 28px; }
.promo-img > div { padding: 32px 36px; display: grid; gap: 12px; align-content: center; min-width: 0; }
.promo-img .ph { border-radius: 0; padding: 0; }
.promo-img p { color: #bcb6ab; }
.promo-img .eyebrow { color: var(--taupe); }
.promo-img .price { color: var(--taupe); font-size: 2rem; }

/* Kleur van het jaar */
.koty { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-bottom: 72px; }
.koty > div { min-width: 0; }
.koty .ph { border-radius: 0; height: 100%; }
.koty-txt { padding: 36px; display: grid; gap: 14px; align-content: center; }
.swatch-big { display: flex; align-items: center; gap: 14px; }
.swatch-big i { width: 64px; height: 64px; border-radius: 4px; background: var(--c); flex: none; }
.swatch-big code { font: 500 .9rem var(--body); color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact > div { min-width: 0; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: grid; gap: 14px; }
dl.info { margin: 0; display: grid; gap: 14px; }
dl.info dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; color: var(--taupe-d); font-weight: 600; }
dl.info dd { margin: 2px 0 0; font-size: 1.1rem; }
dl.info a { text-decoration: none; }
table.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today { font-weight: 600; background: var(--linen); }
.hours tr.today th { box-shadow: inset 3px 0 0 var(--taupe); }
.vh-form { display: grid; gap: 14px; }
.vh-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.vh-form input, .vh-form textarea, .vh-form select, .calc input, .calc select { font: inherit; padding: 11px 12px; border: 1px solid #c9c3b7; border-radius: 4px; background: var(--paper); color: var(--ink); width: 100%; }
.vh-form textarea { min-height: 120px; resize: vertical; }
.vh-form .hp { position: absolute; left: -9999px; }
.calc { display: grid; gap: 14px; }
.calc label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.msg { border-radius: 4px; padding: 12px 14px; font-size: .95rem; }
.msg-ok { background: #e6f1ea; color: #24563a; }
.msg-err { background: #f6e3de; color: #7a2e1d; }

/* Over ons */
.portrait { aspect-ratio: 4 / 4.4; max-width: 100%; background: var(--coal); border-radius: 6px; overflow: hidden; }
.portrait svg, .portrait img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Inhoud uit de editor */
.entry > * + * { margin-top: 1em; }
.entry h2 { margin-top: 1.4em; }
.entry h3 { margin-top: 1.2em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry blockquote { margin: 1.4em 0; font-family: var(--display); font-size: 1.45rem; line-height: 1.35; border-left: 3px solid var(--taupe); padding-left: 18px; }
.entry blockquote p { margin: 0; }
.entry blockquote cite { display: block; font: 400 .9rem var(--body); color: var(--muted); margin-top: 8px; font-style: normal; }
.entry img { border-radius: 6px; }
.entry a { color: var(--taupe-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry .alignwide { max-width: 1160px; }
.entry figure { margin-inline: 0; }
.entry figcaption { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.entry .wp-block-gallery { gap: 12px; }
.on-coal .entry a { color: var(--taupe); }
.narrow { max-width: 760px; }

/* Footer */
.foot { background: var(--coal); color: #a9a499; padding-block: 48px 28px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot-grid > div { display: grid; gap: 6px; align-content: start; min-width: 0; }
.foot h4 { margin: 0 0 6px; font: 600 .78rem var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.foot a { text-decoration: none; color: #d9d6d0; }
.foot a:hover { color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-bottom { border-top: 1px solid #3c3b38; margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Responsief */
@media (max-width: 960px) {
  .hero-grid, .split, .picker, .contact, .brand-row, .koty, .promo-img { grid-template-columns: 1fr; gap: 36px; }
  .koty, .promo-img { gap: 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .deals { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--coal); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid #3c3b38; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid #3c3b38; }
  .nav .current-menu-item > a, .nav .current_page_item > a { box-shadow: none; color: var(--taupe); }
  .strip { grid-template-columns: 1fr; }
  .strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .tiles, .brands, .foot-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .band { padding-block: 56px; }
  .brand-name { font-size: 1.1rem; }
  .koty-txt, .promo-img > div { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
