/* AccuEpe: kop (testbalk en menu), footer, mobiele actiebalk en het contactformulier. Gelijk op alle pagina's: de HTML komt uit
   site_kop(), site_voet() en contact_formulier() in winkel-layout.php. */
:root{
  --kv-ink:#20231F;--kv-ink-2:#565A52;--kv-line:#E2DED2;--kv-line-2:#ECE9DF;--kv-bg-2:#EFECE2;
  /* accugroen (knoppen, met donkere tekst), -d: hover, -t: groene tekst op licht, den: dennengroen */
  --kv-groen:#7EAD3D;--kv-groen-d:#6E9A33;--kv-groen-t:#4E7A1F;--kv-den:#14251C
}

/* testbalk (alleen op de testversie, zie TESTVERSIE in winkel-layout.php) */
.testbar{background:#20231F;color:#e8eaed;font-size:13.5px;line-height:1.4;display:flex;align-items:center;gap:14px;padding:10px 20px;justify-content:center;text-align:center}
.testbar strong{color:#fff}
.testbar span{max-width:900px}
.testbar-close{flex:none;background:rgba(255,255,255,.12);border:0;color:#fff;width:26px;height:26px;border-radius:7px;cursor:pointer;font-size:17px;line-height:1;display:grid;place-items:center;font-family:inherit}
.testbar-close:hover{background:rgba(255,255,255,.22)}
/* actiebalk (bijv. gratis verzending t/m 31 december): dennengroen, bestelwagen in accugroen, één regel */
.actiebalk{margin:0;background:#14251C;text-align:center;font-size:14px;line-height:1.3}
.actiebalk a{display:flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding:8px 16px;color:rgba(245,243,235,.82);font-weight:500}
.actiebalk svg{width:20px;height:20px;flex:none;color:#7EAD3D}
.actiebalk b{color:#F5F3EB;font-weight:700}
.actiebalk a:hover span{text-decoration:underline;text-decoration-color:rgba(245,243,235,.4);text-underline-offset:3px}
@media(max-width:560px){.testbar{font-size:12px;padding:7px 14px;gap:10px;text-align:left;line-height:1.35}.testbar-close{width:24px;height:24px;font-size:15px}}

/* kop: een effen witte balk over de hele breedte, met een dunne lijn eronder */
header{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--kv-line);padding:0 24px}
.nav{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px;max-width:1180px;margin:0 auto}
.wm{display:inline-flex;align-items:center;gap:9px;font-weight:800;font-size:21px;letter-spacing:-.035em;color:var(--kv-ink);line-height:1;text-decoration:none}
.wm b{color:var(--kv-groen-t);font-weight:800}
.wm-ico{width:37px;height:33px;display:block;flex:none}
.nav-rechts{display:flex;align-items:center;gap:14px}
.menu{display:flex;align-items:center;gap:22px}
.menu a{text-decoration:none}
.menu a.link{font-weight:600;font-size:15px;color:var(--kv-ink);white-space:nowrap;padding:6px 0;border-bottom:2px solid transparent}
.menu a.link:hover{border-bottom-color:var(--kv-line)}
.menu a.link.on{border-bottom-color:var(--kv-groen)}
.menu .m-zoek{background:var(--kv-groen);color:var(--kv-den);font-weight:700;font-size:14.5px;padding:0 16px 0 14px;min-height:40px;border-radius:8px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
  border:0;cursor:pointer;font-family:inherit}
.menu .m-zoek[aria-expanded="true"]{background:var(--kv-groen-d)}
.menu .m-zoek:hover{background:var(--kv-groen-d)}
.menu .m-wa{background:#fff;color:var(--kv-ink);border:1px solid #CFCABC;font-weight:700;font-size:14.5px;padding:0 14px;min-height:40px;border-radius:8px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.menu .m-wa:hover{border-color:var(--kv-ink)}
.menu .m-wa svg{color:var(--kv-groen-t)}
.hamburger{display:none;background:none;border:0;border-radius:8px;width:44px;height:44px;cursor:pointer;align-items:center;justify-content:center;color:var(--kv-ink)}
/* het menu past naast het logo vanaf 1221px (met zoek-, account- en mandknop); smaller wordt het een uitklapmenu */
@media(max-width:1220px){
  .hamburger{display:inline-flex}
  .nav-rechts{gap:8px}
  .menu{position:absolute;top:100%;left:-24px;right:-24px;background:#fff;border-bottom:1px solid var(--kv-line);border-radius:0;
    flex-direction:column;align-items:stretch;gap:0;padding:8px 0 12px;opacity:0;pointer-events:none;transform:translateY(-6px);
    transition:opacity .18s,transform .18s;box-shadow:0 14px 24px -18px rgba(0,0,0,.35)}
  .menu.open{opacity:1;pointer-events:auto;transform:none}
  .menu a.link{padding:13px 24px;font-size:16px;border-bottom:0}
  .menu a.link.on{color:var(--kv-groen-t)}
  .menu .m-zoek,.menu .m-wa{margin:8px 24px 0;justify-content:center;min-height:48px}
}
@media(min-width:861px) and (max-width:1220px){.menu{left:auto;right:0;width:320px;border:1px solid var(--kv-line);border-top:0;border-radius:0 0 8px 8px}}
@media(max-width:860px){
  header{padding:0 12px 0 16px}
  .nav{height:58px;gap:8px}
  .menu{left:-16px;right:-12px}
  .wm{font-size:19px}.wm-ico{width:33px;height:29px}
}

/* zoekknop en zoekvenster in de kop */
.zk-knop{width:44px;height:44px;border-radius:8px;border:0;background:none;color:var(--kv-ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.zk-knop:hover,.zk-knop[aria-expanded="true"]{background:#F2EFE6}
.zk-knop svg{width:21px;height:21px}
/* knop naar Mijn bestellingen (mijn.php); op de telefoon staat die link in het uitklapmenu */
.ac-knop{width:44px;height:44px;border-radius:8px;background:none;color:var(--kv-ink);display:inline-flex;align-items:center;justify-content:center;flex:none;text-decoration:none}
.ac-knop:hover,.ac-knop.on{background:#F2EFE6}
.ac-knop.on{color:var(--kv-groen-t)}
.ac-knop svg{width:21px;height:21px}
.menu a.m-mijn{display:none}
@media(max-width:860px){.ac-knop{display:none}.menu a.m-mijn{display:block}}
.sz.zk-venster{width:520px;padding:14px}
.zk-veld{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 16px;border:1px solid #CFCABC;border-radius:8px;color:var(--kv-ink-2)}
.zk-veld:focus-within{border-color:var(--kv-groen);color:var(--kv-groen-t)}
.zk-veld svg{width:20px;height:20px;flex:none}
.zk-veld input{flex:1;min-width:0;border:0;outline:none;background:none;font-family:inherit;font-size:16.5px;color:var(--kv-ink)}
.zk-res{margin-top:6px;max-height:min(62vh,520px);overflow-y:auto}
.zk-tip{font-size:14px;color:var(--kv-ink-2);padding:10px 4px 4px;margin:0}
.zk-tip a{color:var(--kv-groen-t);font-weight:600}
.zk-groep{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#5F6359;margin:12px 4px 4px}
.zk-rij{display:flex;align-items:center;gap:12px;padding:8px;border-radius:12px;text-decoration:none;color:var(--kv-ink)}
a.zk-rij:hover,.zk-rij:has(.zk-link:hover){background:var(--kv-bg-2)}
.zk-link{display:flex;align-items:center;gap:12px;flex:1;min-width:0;color:inherit;text-decoration:none}
.zk-foto{width:46px;height:46px;border-radius:10px;background:var(--kv-bg-2);flex:none;display:grid;place-items:center;overflow:hidden}
.zk-foto img{max-width:86%;max-height:86%;object-fit:contain;mix-blend-mode:multiply}
.zk-tekst{flex:1;min-width:0}
.zk-tekst b{display:block;font-size:14.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zk-tekst small{display:block;font-size:12.5px;color:#5F6359;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zk-prijs{font-weight:800;font-size:14.5px;white-space:nowrap}
.zk-mand{width:36px;height:36px;border-radius:8px;border:1px solid var(--kv-line);background:#fff;font-size:20px;font-weight:700;color:var(--kv-ink);cursor:pointer;flex:none;line-height:1}
.zk-mand:hover{border-color:var(--kv-groen);color:var(--kv-groen-t)}
.zk-alles{display:block;text-align:center;margin-top:8px;padding:12px;border-radius:12px;background:var(--kv-bg-2);font-weight:700;font-size:14.5px;color:var(--kv-ink);text-decoration:none}
.zk-alles:hover{background:#E5E1D5}
@media(max-width:860px){.sz.zk-venster{width:auto}}

/* "Zoek op kenteken": venster onder de kop */
.sz{position:absolute;top:calc(100% + 1px);right:0;width:420px;background:#fff;border:1px solid var(--kv-line);border-radius:0 0 12px 12px;padding:20px;
  box-shadow:0 14px 28px -20px rgba(0,0,0,.35);z-index:5;animation:szIn .18s ease}
.sz[hidden]{display:none}
@keyframes szIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.sz-titel{display:block;font-size:17px;font-weight:700;letter-spacing:-.015em;color:var(--kv-ink);margin-bottom:12px}
.sz-rij{display:flex;gap:10px}
.sz-plaat{flex:1;min-width:0;display:flex;align-items:stretch;height:56px;border:2px solid #15171a;border-radius:9px;overflow:hidden;
  background:linear-gradient(180deg,#f8d963 0%,#F4CE45 55%,#e9c13a 100%);box-shadow:0 0 0 2px #F4CE45,0 0 0 3px rgba(0,0,0,.2)}
.sz-band{width:32px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:linear-gradient(180deg,#1a4bc0,#0a3391);
  color:#fff;font-family:"Barlow Condensed","Figtree",sans-serif;font-size:13px;font-weight:700;line-height:1}
.sz-sterren{width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-10 -10 20 20' fill='%23ffcc00'%3E%3Cpath id='s' d='M0.00 -8.85L0.47 -7.55L1.85 -7.50L0.76 -6.65L1.15 -5.32L0.00 -6.10L-1.15 -5.32L-0.76 -6.65L-1.85 -7.50L-0.47 -7.55Z'/%3E%3Cuse href='%23s' transform='rotate(30)'/%3E%3Cuse href='%23s' transform='rotate(60)'/%3E%3Cuse href='%23s' transform='rotate(90)'/%3E%3Cuse href='%23s' transform='rotate(120)'/%3E%3Cuse href='%23s' transform='rotate(150)'/%3E%3Cuse href='%23s' transform='rotate(180)'/%3E%3Cuse href='%23s' transform='rotate(210)'/%3E%3Cuse href='%23s' transform='rotate(240)'/%3E%3Cuse href='%23s' transform='rotate(270)'/%3E%3Cuse href='%23s' transform='rotate(300)'/%3E%3Cuse href='%23s' transform='rotate(330)'/%3E%3C/svg%3E") center/contain no-repeat}
.sz-plaat input{flex:1;min-width:0;border:0;background:transparent;outline:none;font-family:"Barlow Condensed","Figtree",sans-serif;font-weight:700;
  font-size:28px;letter-spacing:3px;text-transform:uppercase;text-align:center;color:#15171a;padding:0 6px}
.sz-plaat input::placeholder{color:rgba(40,32,0,.3)}
.sz-knop{flex:none;min-height:56px;padding:0 22px;border:0;border-radius:8px;background:var(--kv-groen);color:var(--kv-den);font-family:inherit;font-weight:700;font-size:16px;cursor:pointer}
.sz-knop:hover{background:var(--kv-groen-d)}
/* regeltje onder elk kentekenveld: herkende auto, onbekend kenteken of een melding (site_voet) */
.kz-auto{font-size:14px;color:var(--kv-ink-2);margin:10px 0 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.kz-auto[hidden]{display:none}
.kz-auto.goed::before{content:"";width:18px;height:18px;border-radius:50%;flex:none;
  background:var(--kv-groen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314251C' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat}
.kz-auto b{color:var(--kv-ink)}
.kz-auto.onbekend{color:#9a6a00}
.kz-auto.fout{color:#b23a2c;font-weight:600}
/* op de donkere fotokop van de winkelpagina's */
.kop .kz-auto{color:rgba(255,255,255,.85)}
.kop .kz-auto b{color:#fff}
.kop .kz-auto.onbekend{color:#f6d36b}
.kop .kz-auto.fout{color:#ffb4a8}
.sz-laatst{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%;margin-top:12px;padding:10px 12px;border:1px solid var(--kv-line);border-radius:12px;
  background:var(--kv-bg-2);font-family:inherit;font-size:14px;font-weight:600;color:var(--kv-ink);cursor:pointer;text-align:left}
.sz-laatst:hover{border-color:var(--kv-groen)}
.sz-laatst[hidden]{display:none}
.sz-mini{font-family:"Barlow Condensed","Figtree",sans-serif;font-size:15px;letter-spacing:1.5px;background:#F4CE45;border:1.5px solid #15171a;border-radius:5px;padding:1px 7px}
.sz-geen{display:inline-block;margin-top:12px;font-size:14px;font-weight:600;color:var(--kv-ink-2);text-decoration:underline;text-underline-offset:3px}
.sz-geen:hover{color:var(--kv-groen-t)}
@media(max-width:860px){.sz{left:0;width:auto;padding:16px}}

/* footer */
footer{background:var(--kv-den);color:#c3c9bf;padding:52px 0 28px}
footer a{color:inherit;text-decoration:none}
.f-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.12)}
footer .wm{color:#fff}footer .wm b{color:var(--kv-groen)}
footer p{font-size:14.5px;margin-top:12px;max-width:34ch;color:#b9c0b6}
.f-col h2,.f-col h4{color:#fff;font-size:14px;font-weight:700;letter-spacing:0;line-height:1.4;margin-bottom:12px}
.f-col a{display:block;font-size:14.5px;padding:4px 0}
.f-col a:hover,.f-onder a:hover{color:var(--kv-groen)}
.f-onder{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding-top:20px;font-size:13px;color:#8d918a}
@media(max-width:900px){.f-top{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.f-top{grid-template-columns:1fr;gap:22px}footer{padding:40px 0 24px}}

/* mobiele contactbalk: compact en effen, met ruimte voor de veilige zone onderaan de telefoon.
   Op productpagina's is er een eigen bestelbalk (.pp-strook); dan staat deze er niet. */
.dock{position:fixed;left:0;right:0;bottom:0;z-index:55;display:none;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));
  background:#fff;border-top:1px solid var(--kv-line)}
.dock a{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:8px;font-weight:700;font-size:15px;text-decoration:none}
.dock svg{width:17px;height:17px;flex:none}
.dock-bel{background:#fff;color:var(--kv-ink);border:1px solid #CFCABC}
.dock-wa{background:var(--kv-den);color:#F5F3EB}.dock-wa:hover{background:#0c1912}
.dock-wa svg{color:var(--kv-groen)}
@media(max-width:860px){
  .dock{display:flex}
  body{padding-bottom:calc(61px + env(safe-area-inset-bottom,0px))}
  body:has(.pp-strook) .dock{display:none}
}

/* contactformulier (contact.php en de homepage) */
.cf{background:#fff;border:1px solid var(--kv-line);border-radius:12px;padding:26px 26px 20px;color:var(--kv-ink);font-family:inherit}
.cf-titel{font-size:21px;letter-spacing:-.02em;margin:0 0 16px}
.cf-twee{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cf-veld{display:block;font-size:13.5px;font-weight:600;margin-bottom:12px}
.cf-veld small{color:#5F6359;font-weight:500;font-size:12.5px}
.cf-veld input,.cf-veld select,.cf-veld textarea{display:block;width:100%;margin-top:6px;border:1px solid #CFCABC;border-radius:8px;padding:12px 14px;
  font-size:16px;font-family:inherit;font-weight:400;color:var(--kv-ink);background:#fff;outline:none;box-sizing:border-box}
.cf-veld select{appearance:none;-webkit-appearance:none;padding-right:40px;cursor:pointer;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6058' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat}
.cf-veld textarea{resize:vertical;min-height:110px}
.cf-veld input:focus,.cf-veld select:focus,.cf-veld textarea:focus{border-color:var(--kv-groen)}
.cf-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.cf-fout{background:#fdecea;color:#b23a2c;border-radius:12px;padding:12px 14px;font-size:14.5px;font-weight:600;margin-bottom:12px}
.cf-fout[hidden]{display:none}
.cf-knop{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;border:0;border-radius:8px;background:var(--kv-groen);color:var(--kv-den);
  font-family:inherit;font-weight:700;font-size:16px;cursor:pointer;margin-top:4px}
.cf-knop:hover{background:var(--kv-groen-d)}
.cf-knop:disabled{opacity:.6;cursor:default}
.cf-noot{font-size:13px;color:#5F6359;margin:12px 0 0;text-align:center;line-height:1.5}
.cf-noot a{color:var(--kv-ink-2);text-decoration:underline}
.cf-klaar{text-align:center;padding:36px 10px}
.cf-vink{width:60px;height:60px;border-radius:50%;background:#E7EDD9;color:var(--kv-groen-t);display:grid;place-items:center;margin:0 auto 16px}
.cf-vink svg{width:28px;height:28px}
.cf-klaar h3{font-size:21px;margin:0 0 6px}
.cf-klaar p{color:var(--kv-ink-2);margin:0}
@media(max-width:420px){.cf-twee{grid-template-columns:1fr;gap:0}}
@media(max-width:560px){.cf{padding:20px 18px 14px}}

/* zoeken op merk, product of artikelnummer: op brede schermen een herkenbaar zoekveld in de kop (opent het zoekvenster),
   op smallere schermen alleen het vergrootglas. Bewust anders dan de gele kentekenzoeker. */
.zk-hint{display:none}
/* het zoekveld past naast het volledige menu vanaf 1360 px; WhatsApp is daar een icoonknop */
@media(min-width:1360px){
  .menu{gap:18px}
  .nav-rechts{gap:8px}
  .menu .m-wa{width:40px;padding:0;justify-content:center;font-size:0;gap:0}
  .menu .m-wa svg{width:18px;height:18px}
  .zk-knop{width:auto;min-width:236px;justify-content:flex-start;gap:10px;padding:0 14px;height:40px;border:1px solid #CFCABC;background:#fff;color:#5F6359;font-family:inherit;font-size:14.5px;border-radius:8px}
  .zk-knop svg{width:18px;height:18px;color:var(--kv-ink)}
  .zk-knop:hover,.zk-knop[aria-expanded="true"]{background:#fff;border-color:var(--kv-ink)}
  .zk-hint{display:inline;white-space:nowrap}
}
