/* =====================================================================
   Ercel.nl v2 - kop, voertuigband en categorietegels (ontwerp B)
   Override op de bestaande markup van index.php (die blijft ongewijzigd).
   Geladen via @import bovenaan kenteken.css.
   ===================================================================== */
:root{ --e-red:#e63946; --e-navy:#4a4343; --e-band:#d7303d; --e-brown:#615959; --e-muted:#7a7272; --e-line:#ebe8e8; --e-bg:#f6f5f5; }

/* ---------- Kop: niet meer vast bovenaan (wordt hoger) ---------- */
html body .header-height-bar{ display:none !important; }
html body header.header-main{ position:relative !important; top:auto !important; box-shadow:none !important; background:#fff !important; }
html body header.header-main .header-middle{ padding:0 !important; border:0 !important; position:relative; z-index:auto !important; }
html body #header_05_search{ z-index:0 !important; }
html body #header_05_search:has(.dropdown-menu.show){ z-index:4 !important; }
html body header.header-main > nav.navbar{ z-index:3 !important; }
/* open dropdown (kenteken-historie, account) moet boven de tegels vallen */
html body header.header-main .header-middle .dropdown-menu{ z-index:1060 !important; }
html body .shop-top-bar-03 .layout-change > button.d-lg-none{ display:none !important; }
html body header.header-main .header-middle > .container > .row{
	display:grid !important; grid-template-columns:auto minmax(0,1fr) auto; grid-template-areas:"logo search right" "veh veh veh";
	align-items:center; column-gap:28px; margin:0 !important; }
html body header.header-main .header-middle > .container > .row > *{ width:auto !important; max-width:none !important; flex:none !important; padding:0 !important; }
html body header.header-main .header-middle > .container > .row > div:first-child{ grid-area:logo; padding:14px 0 !important; text-align:left !important; }
html body header.header-main .navbar-brand img{ height:32px !important; width:auto !important; }

/* ---------- Zoekbalk in het midden, zonder knop ---------- */
html body #header_06_search{ grid-area:search; padding:14px 0 !important; display:block !important; height:auto !important; visibility:visible !important; }
html body #header_06_search #zoekCode{ position:relative; max-width:620px; margin:0 auto; }
html body #header_06_search #search{ height:46px; border:1px solid var(--e-line); border-radius:10px; padding:0 16px 0 44px; font-size:15px; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7272' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") 14px center/18px no-repeat; box-shadow:none; text-transform:none !important; }
html body #header_06_search #search::placeholder{ text-transform:none; color:var(--e-muted); }
html body #header_06_search #search:focus{ border-color:var(--e-navy); }
html body #header_06_search #zoekCode > button[type=submit]{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); border:0; }
/* medewerkers: "uitgebreid zoeken" onder de zoekbalk */
html body #header_06_search #zoekCode > div[style*="absolute"]{ position:absolute !important; right:12px; top:50%; transform:translateY(-50%); margin:0 !important; background:#fff; padding-left:8px; border-left:1px solid var(--e-line); height:26px; }
html body #header_06_search #zoekCode > div[style*="absolute"] label{ margin:0 !important; white-space:nowrap; cursor:pointer; }
html body #header_06_search #zoekCode > div[style*="absolute"] label{ display:flex !important; align-items:center !important; gap:6px !important; height:100%; }
html body #header_06_search #zoekCode > div[style*="absolute"] input[type=checkbox]{ margin:0 !important; width:14px; height:14px; flex:none; position:static !important; vertical-align:middle; }
html body #header_06_search #zoekCode > div[style*="absolute"] span{ margin:0 !important; line-height:1 !important; display:block; padding-top:1px; }
html body #header_06_search #zoekCode:has(#zoekCodeAdvancedSearch) #search{ padding-right:160px; }
html body #header_06_search #zoekCode > div[style*="absolute"] span{ color:var(--e-muted); letter-spacing:.04em; }

/* ---------- Rechts: welkom + account + winkelwagen ---------- */
html body header.header-main .header-right{ grid-area:right; }
html body header.header-main .header-right .nav{ gap:10px; flex-wrap:nowrap !important; }
html body header.header-main .header-right .nav-item.d-lg-none,
html body header.header-main .header-right .nav-item.d-xl-none{ display:none !important; }
html body header.header-main .header-right .nav-item.text-primary{ display:block !important; color:var(--e-red) !important; margin-right:2px; white-space:nowrap; }
html body header.header-main .header-right .nav-item.text-primary small{ font-size:12.5px; }
html body header.header-main .header-right .nav-item.text-primary strong{ font-weight:700; color:inherit; }
html body header.header-main .header-right .nav-link{ width:44px; height:44px; padding:0 !important; border:1px solid var(--e-line); border-radius:10px; display:flex !important; align-items:center; justify-content:center; position:relative; }

/* ---------- Voertuigband ---------- */
html body #header_05_search{
	grid-area:veh; display:block !important; height:auto !important; visibility:visible !important; position:relative; color:#fff;
	background:transparent; isolation:isolate; padding:14px 0 36px !important; text-align:left !important; }
/* volle breedte band zonder clip-path (anders vallen dropdowns weg) */
html body #header_05_search::before{ content:""; position:absolute; top:0; bottom:0; left:-100vmax; right:-100vmax; background:var(--e-band); z-index:-1; pointer-events:none; }
html body header.header-main{ overflow-x:clip; }
html body #header_05_search > .row{
	display:grid !important; grid-template-columns:auto minmax(0,1fr) auto; grid-template-areas:"plate info car"; align-items:center; column-gap:34px;
	border:0 !important; margin:0 !important; }
html body #header_05_search > .row > div{ width:auto !important; max-width:none !important; padding:0 !important; text-align:left !important; }
html body #header_05_search > .row > div:nth-child(1){ grid-area:car; width:240px !important; height:116px; background:#fff; border-radius:14px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
html body #header_05_search > .row > div:nth-child(1):empty,
html body #header_05_search > .row > div:nth-child(1):not(:has(img)){ display:none; }
html body #header_05_search > .row > div:nth-child(1) img{ max-width:92%; max-height:92%; width:auto; }
html body #header_05_search > .row > div:nth-child(2){ grid-area:plate; display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
html body #header_05_search > .row > div:nth-child(2)::before{ content:"Uw voertuig"; font-size:12px; text-transform:uppercase; letter-spacing:.1em; opacity:.7; }
html body #header_05_search > .row > div:nth-child(2) > button{ display:none; }
html body #header_05_search > .row > div:nth-child(3){ grid-area:info; font-size:13px !important; line-height:1.5; color:rgba(255,255,255,.8); }
html body #header_05_search > .row > div:nth-child(3) b{ display:block; color:#fff; font-size:21px; font-weight:600; line-height:1.25; margin-bottom:6px; }
html body #header_05_search > .row > div:nth-child(3) u{ text-decoration:none; }
html body #header_05_search > .row > div:nth-child(3) #eerste_toelating b{ display:inline; font-size:inherit; margin:0; }
/* gestructureerde weergave (gevuld door ercel_v2.js) */
html body #header_05_search .ev2-name{ display:block; color:#fff; font-size:21px; font-weight:600; line-height:1.25; }
html body #header_05_search .ev2-type{ display:block; font-size:15px; color:rgba(255,255,255,.8); margin-bottom:12px; }
html body #header_05_search .ev2-grid{ display:flex; flex-wrap:wrap; gap:6px 28px; }
html body #header_05_search .ev2-grid div{ font-size:12px; color:rgba(255,255,255,.7); line-height:1.3; }
html body #header_05_search .ev2-grid div b{ display:block !important; font-size:15px !important; color:#fff; font-weight:600; margin:0 !important; }

/* ---------- Kenteken in de band: groot, 3D zonder glans ---------- */
html body #header_05_search .kenteken2{ width:280px !important; height:58px !important; padding:2px !important; border-radius:6px !important;
	background:linear-gradient(180deg,#ffcf2e,#f3bd00 55%,#e0aa00) !important;
	box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 2px 0 #c99800,0 3px 0 #b88a00,0 4px 0 #a77d00,0 5px 0 #946e00,0 10px 18px rgba(0,0,0,.35) !important; }
/* schuin (gekanteld 3D) - klapt recht bij aanwijzen, typen of openen van de historie */
html body #header_05_search .kenteken2{ transform:perspective(600px) rotateX(14deg) rotateY(-16deg); transform-style:preserve-3d; transition:transform .35s ease, box-shadow .35s ease;
	background:linear-gradient(160deg,#ffcf2e,#f3bd00 60%,#e0aa00) !important;
	box-shadow:1px 1px 0 #c99800,2px 2px 0 #b88a00,3px 3px 0 #a77d00,4px 4px 0 #946e00,8px 12px 18px rgba(0,0,0,.3) !important; }
html body #header_05_search .kenteken2 .inset2 input{ letter-spacing:3px !important; }
html body #header_05_search .kenteken2:hover,
html body #header_05_search .kenteken2:focus-within,
html body #header_05_search .kenteken2:has(.dropdown-menu.show){ transform:none;
	box-shadow:0 2px 0 #b88a00,0 4px 0 #946e00,0 10px 18px rgba(0,0,0,.3) !important; }
@media (prefers-reduced-motion:reduce){ html body #header_05_search .kenteken2{ transition:none; } }
html body #header_05_search .kenteken2 .inset2{ height:52px !important; border-radius:4px; }
html body #header_05_search .kenteken2 .inset2 .blue2{ width:34px !important; height:50px !important; flex:none; }
html body #header_05_search .kenteken2 .inset2 form{ flex:1; display:flex; min-width:0; }
html body #header_05_search .kenteken2 .inset2 input{ width:100% !important; font-size:33px !important; line-height:50px !important; text-align:center; color:#111; text-shadow:0 1px 0 rgba(255,255,255,.45); }
html body #header_05_search .kenteken2 .inset2 .dropdown .nav-link{ color:#111; }

/* ---------- Categorietegels ---------- */
html body header.header-main > nav.navbar{ padding:0 !important; background:transparent !important; border:0 !important; position:relative; z-index:2; margin-top:-26px; }
html body header.header-main > nav.navbar .navbar-collapse{ display:block !important; }
html body header.header-main > nav.navbar .navbar-nav{ display:grid !important; grid-template-columns:repeat(10,minmax(0,1fr)); gap:10px; width:100%; }
html body header.header-main > nav.navbar .navbar-nav > li.ms-auto{ display:none !important; }
html body header.header-main > nav.navbar .navbar-nav > li{ margin:0 !important; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link{
	height:100%; min-height:0 !important; line-height:1.2 !important; background-color:#fff !important; border:1px solid var(--e-line); border-radius:10px; padding:50px 6px 7px !important; text-align:center;
	font-size:12.5px !important; font-weight:500; color:var(--e-navy) !important; white-space:normal !important; box-shadow:0 6px 16px rgba(29,43,79,.08);
	background-repeat:no-repeat !important; background-position:center 7px !important; background-size:auto 40px !important; display:block; transition:box-shadow .15s,border-color .15s; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link:hover{ border-color:#cfd5e1; box-shadow:0 8px 20px rgba(29,43,79,.14); }
html body header.header-main > nav.navbar .navbar-nav > li.active > a.nav-link{ border-color:var(--e-brown); box-shadow:0 0 0 2px var(--e-brown) inset,0 6px 16px rgba(97,89,89,.22); }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link::before,
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link::after{ display:none !important; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link[href*="/100354/"]{ background-image:url("https://portal.ercel.nl/upload/compressor.jpg") !important; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link[href*="/100355/"]{ background-image:url("https://portal.ercel.nl/upload/condensor.jpg") !important; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link[href*="/100357/"]{ background-image:url("https://portal.ercel.nl/upload/droger.jpg") !important; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link[href*="/100393/"],
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link[href*="/103421/"]{ background-image:url("https://portal.ercel.nl/upload/interkoeler.jpg") !important; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link[href*="/100104/"]{ background-image:url("https://portal.ercel.nl/upload/kachel%20radiateur%20auto.jpg") !important; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link[href*="/100874/"]{ background-image:url("https://portal.ercel.nl/upload/koelmodule.jpg") !important; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link[href*="/100108/"]{ background-image:url("https://portal.ercel.nl/upload/oliekoeler.jpg") !important; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link[href*="/100103/"]{ background-image:url("https://portal.ercel.nl/upload/radiateur.jpg") !important; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link[href*="/100356/"]{ background-image:url("https://portal.ercel.nl/upload/verdamper.jpg") !important; }

/* ---------- Titelbalk / kruimelpad ---------- */
html body main > .py-3.bg-gray-100{ background:transparent !important; padding:26px 0 4px !important; margin-top:0 !important; }
html body main > .py-3.bg-gray-100 > #breadcrumb{ margin-top:0 !important; }
html body main > .py-3.bg-gray-100 .row{ flex-direction:column-reverse; align-items:flex-start !important; }
html body main > .py-3.bg-gray-100 .row > div{ width:100%; margin:0 !important; }
html body main > .py-3.bg-gray-100 h1{ text-align:left !important; font-size:26px !important; font-weight:600; color:var(--e-navy); margin-top:2px !important; }
html body main > .py-3.bg-gray-100 .breadcrumb{ justify-content:flex-start !important; font-size:13px; }
html body main > .py-3.bg-gray-100 .breadcrumb a{ color:var(--e-muted); }

/* ---------- Tablet (iPad) ---------- */
@media (max-width:1199px){
	html body #header_05_search > .row{ grid-template-columns:auto minmax(0,1fr); grid-template-areas:"plate info"; }
	html body #header_05_search > .row > div:nth-child(1){ display:none; }
	html body header.header-main > nav.navbar .navbar-nav{ grid-template-columns:repeat(5,1fr); }
}
@media (max-width:991px){
	html body header.header-main .header-middle > .container > .row{ column-gap:16px; }
	html body header.header-main .header-right .nav-item.ms-auto{ display:none !important; }
}
/* ---------- Telefoon ---------- */
@media (max-width:767px){
	html body header.header-main .header-middle > .container > .row{ grid-template-columns:1fr auto; grid-template-areas:"logo right" "search search" "veh veh"; row-gap:0; }
	html body header.header-main .header-middle > .container > .row > div:first-child{ padding:10px 0 !important; }
	html body header.header-main .navbar-brand img{ height:26px !important; }
	html body header.header-main .header-right .nav-item.text-primary{ display:none !important; }
	html body #header_06_search{ padding-bottom:12px !important; }
	html body #header_05_search{ padding:16px 0 36px !important; }
	html body #header_05_search > .row{ grid-template-columns:minmax(0,1fr); grid-template-areas:"plate" "info"; row-gap:14px; }
	html body #header_05_search > .row > div:nth-child(2){ align-items:stretch; }
	html body #header_05_search .kenteken2{ width:100% !important; height:54px !important; transform:perspective(800px) rotateX(10deg) rotateY(-6deg); }
	html body #header_05_search .kenteken2 .inset2{ height:48px !important; }
	html body #header_05_search .kenteken2 .inset2 .blue2{ height:46px !important; }
	html body #header_05_search .ev2-name{ font-size:17px; }
	html body #header_05_search .ev2-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px 14px; }
	html body header.header-main > nav.navbar{ margin-top:-24px; }
	html body header.header-main > nav.navbar .navbar-nav{ display:flex !important; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; padding:0 2px 8px; }
	html body header.header-main > nav.navbar .navbar-nav::-webkit-scrollbar{ display:none; }
	html body header.header-main > nav.navbar .navbar-nav > li{ flex:0 0 96px; }
	html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link{ padding-top:44px !important; background-size:auto 34px !important; font-size:12px !important; }
	html body main > .py-3.bg-gray-100 h1{ font-size:20px !important; }
}

/* ---------- Thema-overrides voor kleinere schermen (thema maakt zoek/voertuig/menu hier zwevend) ---------- */
html body header.header-main .header-middle > .container > .row{ height:auto !important; min-height:0 !important; }
html body #header_06_search, html body #header_05_search{ position:relative !important; top:auto !important; left:auto !important; right:auto !important; width:auto !important; box-sizing:border-box; transform:none !important; }
html body #header_06_search{ background:transparent !important; box-shadow:none !important; border:0 !important; }
html body header.header-main > nav.navbar #navbarSupportedContent{ min-width:0 !important; width:100% !important; flex:1 1 100% !important; position:static !important; height:auto !important; max-height:none !important; background:transparent !important; box-shadow:none !important; border:0 !important; padding:0 !important; overflow:visible !important; transform:none !important; }
html body header.header-main > nav.navbar .navbar-nav{ flex-direction:row !important; }
html body header.header-main > nav.navbar .navbar-nav > li{ border:0 !important; }

/* =====================================================================
   Artikellijst (menuparts_selection.php) - kaart met labels
   ===================================================================== */
html body .ercel-part{ display:grid !important; grid-template-columns:150px minmax(0,1fr) auto; gap:22px; align-items:center !important;
	border:1px solid var(--e-line); border-radius:12px; padding:18px !important; margin:0 0 14px !important; background:#fff; }
html body .ercel-part > div{ width:auto !important; max-width:none !important; padding:0 !important; margin:0 !important; }
html body .ercel-part > div:first-child{ background:var(--e-bg); border-radius:10px; height:120px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
html body .ercel-part > div:first-child a{ display:flex; width:100%; height:100%; align-items:center; justify-content:center; }
html body .ercel-part > div:first-child img{ max-width:88%; max-height:88%; width:auto !important; object-fit:contain; padding:0 !important; mix-blend-mode:multiply; }
html body .ercel-part .product-title{ font-size:17px; font-weight:600; color:var(--e-navy); margin-bottom:2px !important; }
html body .ercel-part .product-title a:hover{ color:var(--e-red) !important; }
html body .ercel-part .ev2-specs{ display:flex; flex-wrap:wrap; gap:6px; }
html body .ercel-part .ev2-chip{ display:inline-flex; align-items:center; gap:6px; min-height:28px; padding:3px 10px; border-radius:14px; background:var(--e-bg); font-size:12.5px; color:var(--e-muted); line-height:1.3; }
html body .ercel-part .ev2-chip b{ color:var(--e-navy); font-weight:600; }
html body .ercel-part .ev2-note{ flex-basis:100%; font-size:12.5px; padding:6px 10px; border-left:3px solid var(--e-red); background:#fdf1f2; color:var(--e-navy); border-radius:0 6px 6px 0; }
html body .ercel-part .ev2-buy{ display:flex !important; flex-direction:column; align-items:flex-end; gap:8px; text-align:right; }
html body .ercel-part .ev2-price{ color:var(--e-red) !important; font-size:21px; font-weight:700; margin:0 !important; white-space:nowrap; }
html body .ercel-part .ev2-stock .badge{ font-size:11.5px; font-weight:600; border-radius:12px; padding:5px 10px; }
html body .ercel-part .ev2-buy > div:last-child{ display:flex; gap:8px; flex-wrap:nowrap; justify-content:flex-end; }
html body .ercel-part .ev2-buy .btn{ height:40px; padding:0 14px; border-radius:8px; display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:600; white-space:nowrap; }
html body .ercel-part .ev2-cart{ background:var(--e-red) !important; border-color:var(--e-red) !important; color:#fff !important; }
html body .ercel-part .ev2-view{ background:#fff !important; border:1px solid var(--e-line) !important; color:var(--e-navy) !important; }
html body .ercel-part .ev2-view:hover{ border-color:var(--e-navy) !important; }

@media (max-width:991px){
	html body .ercel-part{ grid-template-columns:120px minmax(0,1fr); gap:14px 18px; }
	html body .ercel-part > div:first-child{ height:100px; }
	html body .ercel-part .ev2-buy{ grid-column:1/-1; display:grid !important; grid-template-columns:1fr auto; align-items:center; text-align:left; gap:2px 12px; border-top:1px solid var(--e-line); padding-top:12px !important; }
	html body .ercel-part .ev2-price{ grid-column:1; grid-row:1; }
	html body .ercel-part .ev2-stock{ grid-column:1; grid-row:2; }
	html body .ercel-part .ev2-buy > div:last-child{ grid-column:2; grid-row:1/3; }
}
@media (max-width:575px){
	html body .ercel-part{ grid-template-columns:64px minmax(0,1fr); padding:12px !important; gap:10px; align-items:start !important; }
	html body .ercel-part > div:first-child{ height:64px; }
	html body .ercel-part .ev2-chip{ padding:3px 8px; gap:4px; }
	html body .ercel-part .product-title{ font-size:15px; }
	html body .ercel-part .ev2-chip{ font-size:11.5px; }
	html body .ercel-part .ev2-view span{ display:none; }
	html body .ercel-part .ev2-price{ font-size:19px; }
	html body .ercel-part .ev2-buy > div:last-child{ grid-column:1/-1; grid-row:3; margin-top:8px; }
	html body .ercel-part .ev2-buy > div:last-child .btn{ flex:1; justify-content:center; }
	html body .ercel-part .ev2-view{ flex:0 0 48px !important; }
}

/* ---------- Kenteken: historie-icoon verticaal gecentreerd en groter ---------- */
html body #header_05_search .kenteken2 .inset2 > .dropdown{ width:auto !important; padding:0 !important; margin:0 8px 0 0 !important; display:flex !important; align-items:center; align-self:stretch; }
html body #header_05_search .kenteken2 .inset2 > .dropdown > .nav-link{ padding:0 !important; height:100%; display:flex !important; align-items:center; justify-content:center; width:26px; }
html body #header_05_search .kenteken2 .inset2 > .dropdown .fa-history{ font-size:20px; line-height:1; }
@media (max-width:767px){ html body #header_05_search .kenteken2 .inset2 > .dropdown .fa-history{ font-size:18px; } }

/* ---------- Minder wit tussen titel en filter/artikelen ---------- */
html body main section .shop-clear-filter-01:not(:has(li)){ display:none !important; }
html body main section .shop-top-bar-03:not(:has(.layout-change a)){ display:none !important; }
html body #ercel-filter{ margin-top:10px !important; }

/* ---------- Geen voertuig gekozen: meer ruimte onder kenteken, placeholder past in de plaat ---------- */
html body #header_05_search:not(:has(> .row > div:nth-child(3) b)){ padding-top:18px !important; padding-bottom:54px !important; }
html body #header_05_search .kenteken2 .inset2 input::placeholder{ font-size:24px; letter-spacing:2px; color:rgba(0,0,0,.4); }
@media (max-width:767px){
	html body #header_05_search:not(:has(> .row > div:nth-child(3) b)){ padding-bottom:50px !important; }
	html body #header_05_search .kenteken2 .inset2 input::placeholder{ font-size:22px; }
}

/* ---------- Artikellijst: kenmerken gegroepeerd (functions/ercel_specs.php) ---------- */
html body .ercel-part .ev2-specs{ display:block; }
html body .ercel-part .ev2-groups{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:10px 26px; }
html body .ercel-part .ev2-group h6{ margin:0 0 3px; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--e-band); }
html body .ercel-part .ev2-row{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:4px 0; border-bottom:1px solid #f0eded; font-size:12.5px; line-height:1.35; }
html body .ercel-part .ev2-row span{ color:var(--e-muted); }
html body .ercel-part .ev2-row b{ color:var(--e-navy); font-weight:600; text-align:right; }
html body .ercel-part .ev2-note{ margin-top:10px; }
@media (max-width:575px){
	html body .ercel-part .ev2-groups{ grid-template-columns:1fr; gap:8px; }
	html body .ercel-part > div:nth-child(2){ grid-column:1/-1; }
}

/* ---------- Artikellijst (computer): prijs + voorraad bovenaan, knoppen onderaan uitgelijnd ---------- */
@media (min-width:992px){
	html body .ercel-part{ align-items:stretch !important; }
	html body .ercel-part > div:first-child{ align-self:start; }
	html body .ercel-part .ev2-buy{ align-self:stretch; justify-content:flex-start; min-height:120px; }
	html body .ercel-part .ev2-buy > div:last-child{ margin-top:auto; padding-top:12px; }
}

/* =====================================================================
   Artikelpagina klant (part_external.php) - voorstel 2
   ===================================================================== */
html body:has(.ev2-pd) #breadcrumb h1{ display:none !important; }
html body .ev2-pd{ padding-top:10px !important; }
/* galerij: grote foto, miniaturen links ernaast */
html body .ev2-gallery{ display:flex !important; gap:12px; align-items:flex-start; }
html body .ev2-gallery .swiper_gallery_v{ flex:1 1 auto; min-width:0; height:480px !important; border:1px solid var(--e-line); border-radius:16px; background:var(--e-bg); overflow:hidden; }
html body .ev2-gallery .swiper_gallery_v .swiper-slide, html body .ev2-gallery .pd-gallery-slide{ height:480px !important; }
html body .ev2-gallery .pd-gallery-slide{ display:flex !important; align-items:center; justify-content:center; background:transparent !important; }
html body .ev2-gallery .swiper_gallery_v img{ width:auto !important; height:auto !important; max-width:90% !important; max-height:90% !important; object-fit:contain; mix-blend-mode:multiply; }
html body .ev2-gallery .gallery-link{ top:12px !important; right:12px !important; border-radius:10px !important; background:#fff !important; color:var(--e-navy) !important; border:1px solid var(--e-line); }
html body .ev2-gallery .swiper_thumb_gallery_v{ order:-1; flex:0 0 84px !important; width:84px !important; max-width:84px !important; height:480px !important; padding:0 !important; }
html body .ev2-gallery .swiper_thumb_gallery_v .swiper-slide{ width:84px !important; }
html body .ev2-gallery .pd-gallery-slide-thumb{ border:1px solid var(--e-line) !important; border-radius:10px !important; background:var(--e-bg) !important; overflow:hidden; height:100%; display:flex; align-items:center; justify-content:center; }
html body .ev2-gallery .pd-gallery-slide-thumb img{ mix-blend-mode:multiply; max-height:90%; width:auto !important; }
html body .ev2-gallery .swiper-slide-thumb-active .pd-gallery-slide-thumb{ border:2px solid var(--e-brown) !important; }
html body .ev2-gallery .swiper-arrow-style-03{ border-radius:10px !important; background:#fff !important; box-shadow:0 2px 8px rgba(0,0,0,.12); width:30px !important; height:22px !important; left:50% !important; transform:translateX(-50%); }
/* koopvak */
html body .ev2-buybox{ border:1px solid var(--e-line); border-radius:16px; padding:22px !important; box-shadow:0 10px 28px rgba(0,0,0,.06); position:sticky; top:16px; background:#fff; }
html body .ev2-title{ font-size:26px; font-weight:600; color:var(--e-navy); margin:0 0 4px; }
html body .ev2-sub{ font-size:13px; color:var(--e-muted); margin-bottom:14px; }
html body .ev2-fit{ display:flex; gap:10px; align-items:center; background:#e7f6ee; border-radius:12px; padding:10px 12px; margin:0 0 16px; }
html body .ev2-fit-c{ width:26px; height:26px; border-radius:50%; background:#1a9a50; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; flex:none; }
html body .ev2-fit b{ display:block; font-size:13px; color:#11663a; }
html body .ev2-fit span:not(.ev2-fit-c):not(.ev2-plate){ font-size:12px; color:#2f7a52; }
html body .ev2-plate{ display:inline-flex; height:22px; border-radius:3px; background:#f3bd00; border:1px solid #333; overflow:hidden; vertical-align:middle; margin-left:4px; }
html body .ev2-plate i{ width:10px; background:#039 url('kenteken.png') center/cover; }
html body .ev2-plate em{ font-style:normal; font-family:'Kenteken',sans-serif; font-size:14px; letter-spacing:1px; padding:0 6px; line-height:21px; color:#111; }
html body .ev2-bigprice{ font-size:32px; font-weight:700; color:var(--e-red); line-height:1; }
html body .ev2-bigprice small{ font-size:13px; color:var(--e-muted); font-weight:400; margin-left:6px; }
html body .ev2-ex{ font-size:12.5px; color:var(--e-muted); margin-top:6px; }
html body .ev2-buybox .product-detail-actions{ display:flex !important; gap:10px; margin:16px 0 0 !important; padding:0 !important; border:0 !important; flex-wrap:nowrap !important; }
html body .ev2-buybox .cart-qty-01{ display:flex !important; align-items:center; flex-direction:row !important; border:1px solid var(--e-line) !important; border-radius:12px !important; height:50px; width:auto !important; margin:0 !important; overflow:hidden; position:relative !important; }
html body .ev2-buybox .cart-qty-01 .qty-btn{ position:static !important; width:38px !important; height:100% !important; display:flex !important; align-items:center; justify-content:center; cursor:pointer; background:#fff !important; border:0 !important; color:var(--e-navy); }
html body .ev2-buybox .cart-qty-01 .dec{ order:0; } html body .ev2-buybox .cart-qty-01 input{ order:1; } html body .ev2-buybox .cart-qty-01 .inc{ order:2; }
html body .ev2-buybox .cart-qty-01 .dec i::before{ content:"\2212"; font-family:inherit; font-style:normal; font-size:18px; }
html body .ev2-buybox .cart-qty-01 .inc i::before{ content:"+"; font-family:inherit; font-style:normal; font-size:18px; }
html body .ev2-buybox .cart-qty-01 input{ width:44px !important; height:100% !important; border:0 !important; text-align:center; font-weight:600; padding:0 !important; box-shadow:none !important; background:#fff !important; }
html body .ev2-buybox .cart-button{ flex:1; margin:0 !important; }
html body .ev2-buybox .pd-cart-btn{ width:100%; height:50px; border-radius:12px !important; font-weight:600; font-size:15px; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
html body .ev2-buybox .pd-cart-btn.btn-primary{ background:var(--e-red) !important; border-color:var(--e-red) !important; }
html body .ev2-buybox .pd-cart-btn.btn-warning{ background:#f08c00 !important; border-color:#f08c00 !important; color:#fff !important; }
html body .ev2-stockline{ display:flex; align-items:center; gap:8px; margin-top:14px; font-size:13px; font-weight:600; }
html body .ev2-stockline .dot{ width:8px; height:8px; border-radius:50%; background:currentColor; box-shadow:0 0 0 4px rgba(0,0,0,.05); }
html body .ev2-stockline.ev2-ok{ color:#1a9a50; } html body .ev2-stockline.ev2-warn{ color:#c77700; } html body .ev2-stockline.ev2-err{ color:var(--e-band); }
html body .ev2-keys{ display:grid; grid-template-columns:1fr 1fr; gap:10px 16px; margin-top:16px; padding-top:16px; border-top:1px solid var(--e-line); }
html body .ev2-keys span{ display:block; font-size:11.5px; color:var(--e-muted); }
html body .ev2-keys b{ font-size:15px; color:var(--e-navy); }
/* secties onder elkaar met springbalk */
html body .ev2-details{ padding-bottom:40px; }
html body .ev2-jump{ display:flex; gap:6px; position:sticky; top:0; z-index:4; background:#fff; padding:12px 0; margin-top:24px; border-bottom:1px solid var(--e-line); overflow-x:auto; }
html body .ev2-jump a{ height:34px; display:inline-flex; align-items:center; padding:0 14px; border-radius:17px; font-size:13px; font-weight:500; color:var(--e-navy); background:var(--e-bg); white-space:nowrap; text-decoration:none; }
html body .ev2-jump a.on{ background:var(--e-brown); color:#fff; }
html body .ev2-sec{ padding:24px 0; border-bottom:1px solid var(--e-line); scroll-margin-top:70px; }
html body .ev2-sec:last-child{ border-bottom:0; }
html body .ev2-sec h3{ font-size:18px; font-weight:600; color:var(--e-navy); margin:0 0 14px; }
html body .ev2-details .ev2-groups{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px 32px; }
html body .ev2-details .ev2-group h6{ margin:0 0 4px; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--e-band); }
html body .ev2-details .ev2-row{ display:flex; justify-content:space-between; gap:12px; padding:6px 0; border-bottom:1px solid #f0eded; font-size:13px; }
html body .ev2-details .ev2-row span{ color:var(--e-muted); } html body .ev2-details .ev2-row b{ font-weight:600; color:var(--e-navy); text-align:right; }
html body .ev2-details .ev2-note{ margin-top:14px; font-size:13px; padding:8px 12px; border-left:3px solid var(--e-band); background:#fdf1f2; border-radius:0 8px 8px 0; }
html body .ev2-oemb{ margin-bottom:12px; } html body .ev2-oemb h6{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin:0 0 8px; color:var(--e-navy); }
html body .ev2-oems{ display:flex; flex-wrap:wrap; gap:6px; }
html body .ev2-oem{ font-family:ui-monospace,Consolas,monospace; font-size:13px; border:1px solid var(--e-line); border-radius:8px; padding:6px 10px; background:#fff; color:var(--e-navy) !important; text-decoration:none; }
html body .ev2-oem:hover{ border-color:var(--e-brown); }
html body .ev2-docs{ display:flex; gap:10px; flex-wrap:wrap; }
html body .ev2-doc{ border:1px solid var(--e-line); border-radius:12px; padding:10px 14px; display:flex; gap:10px; align-items:center; font-size:13px; color:var(--e-navy) !important; text-decoration:none; }
html body .ev2-doc i{ font-style:normal; background:#fdecee; color:var(--e-band); border-radius:6px; font-size:10.5px; font-weight:700; padding:8px 6px; }
html body .ev2-doc b{ display:block; font-weight:600; }
html body .ev2-mbar{ display:none; }
@media (max-width:991px){
	html body .ev2-buybox{ position:static; }
	html body .ev2-details .ev2-groups{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767px){
	html body .ev2-gallery .swiper_gallery_v, html body .ev2-gallery .swiper_gallery_v .swiper-slide, html body .ev2-gallery .pd-gallery-slide{ height:320px !important; }
	html body .ev2-gallery .swiper_thumb_gallery_v{ flex-basis:64px !important; width:64px !important; max-width:64px !important; height:320px !important; }
	html body .ev2-gallery .swiper_thumb_gallery_v .swiper-slide{ width:64px !important; }
	html body .ev2-title{ font-size:21px; }
	html body .ev2-details .ev2-groups{ grid-template-columns:1fr; }
	html body .ev2-mbar{ display:flex; position:sticky; bottom:0; z-index:20; background:#fff; border-top:1px solid var(--e-line); padding:10px 14px; gap:12px; align-items:center; box-shadow:0 -6px 18px rgba(0,0,0,.06); }
	html body .ev2-mbar .p{ font-size:20px; font-weight:700; color:var(--e-red); line-height:1; white-space:nowrap; }
	html body .ev2-mbar .p small{ display:block; font-size:11px; color:var(--e-muted); font-weight:400; margin-top:3px; }
	html body .ev2-mbar .btn{ flex:1; height:46px; border-radius:12px !important; background:var(--e-red) !important; border-color:var(--e-red) !important; font-weight:600; }
}

/* ---------- Kenmerkgroepen: van links naar rechts, pas naar onder als het niet past ---------- */
html body .ercel-part .ev2-groups{ display:grid !important; columns:auto !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 28px; align-items:start; }
html body .ev2-details .ev2-groups{ display:grid !important; columns:auto !important; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px 32px; align-items:start; }
html body .ercel-part .ev2-group, html body .ev2-details .ev2-group{ margin:0; }
@media (max-width:575px){ html body .ercel-part .ev2-groups{ grid-template-columns:1fr; } }

/* ---------- Tegels: foto + tekst verticaal gecentreerd (evenveel ruimte boven als onder) ---------- */
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link{ display:flex !important; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:7px 6px !important; background-size:0 0 !important; }
html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link::before{ content:"" !important; display:block !important; position:static !important; flex:none; width:100% !important; height:40px !important; opacity:1 !important; transform:none !important; background-color:transparent !important; background-image:inherit !important; background-repeat:no-repeat !important; background-position:center !important; background-size:contain !important; }
@media (max-width:767px){ html body header.header-main > nav.navbar .navbar-nav > li > a.nav-link::before{ height:34px !important; } }

/* ---------- Logo groter (gelijk met zoekbalk), minder wit boven/onder ---------- */
html body header.header-main .header-middle > .container > .row > div:first-child{ padding:8px 0 !important; }
html body header.header-main .navbar-brand{ padding:0 !important; margin:0 !important; display:block; line-height:0; }
html body header.header-main .navbar-brand img{ height:46px !important; }
html body #header_06_search{ padding:8px 0 !important; }
@media (max-width:767px){
	html body header.header-main .navbar-brand img{ height:34px !important; }
	html body #header_06_search{ padding:0 0 10px !important; }
}

/* ---------- Artikelpagina: secties als tabbladen ---------- */
html body .ev2-details.ev2-tabs .ev2-sec{ display:none; border-bottom:0; }
html body .ev2-details.ev2-tabs .ev2-sec.on{ display:block; }
html body .ev2-details.ev2-tabs .ev2-sec h3{ display:none; }
html body .ev2-details.ev2-tabs .ev2-jump{ position:static; }
html body .ev2-details .ev2-jump a{ cursor:pointer; }

/* ---------- "Let op"-melding (Toelichting Ercel) onder de afbeelding - stijl A ---------- */
html body .ev2-note{ display:flex; gap:8px; align-items:flex-start; background:#fff8e1 !important; border:1px solid #ffe08a !important; border-left:1px solid #ffe08a !important; border-radius:10px !important; padding:8px 10px !important; font-size:12px !important; line-height:1.35; color:#6b4e00 !important; margin:8px 0 0 !important; }
html body .ev2-note .ic{ flex:none; width:18px; height:18px; border-radius:50%; background:#f0a500; color:#fff; font-weight:700; font-size:11px; display:flex; align-items:center; justify-content:center; margin-top:1px; }
html body .ev2-note b{ display:block; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin-bottom:1px; color:#6b4e00; }
/* afbeeldingskolom: foto-vak + melding eronder */
html body .ercel-part > div:first-child{ background:transparent !important; height:auto !important; display:block !important; overflow:visible !important; border-radius:0 !important; }
html body .ercel-part > div:first-child > a{ height:120px; background:var(--e-bg); border-radius:10px; overflow:hidden; }
@media (max-width:991px){ html body .ercel-part > div:first-child > a{ height:100px; } }
@media (max-width:575px){
	html body .ercel-part > div:first-child > a{ height:64px; }
	html body .ercel-part.ev2-has-note > div:first-child{ grid-column:1/-1; display:flex !important; gap:10px; align-items:flex-start; }
	html body .ercel-part.ev2-has-note > div:first-child > a{ flex:0 0 64px; }
	html body .ercel-part.ev2-has-note > div:first-child .ev2-note{ margin:0 !important; flex:1; }
}
/* artikelpagina: melding over de volle breedte onder de galerij */
html body .ev2-gallery{ flex-wrap:wrap; }
html body .ev2-gallery > .ev2-note{ flex:1 1 100%; margin-top:12px !important; font-size:13px !important; }

/* ---------- Artikellijst: koopkolom altijd even breed (ook zonder winkelwagenknop) ---------- */
@media (min-width:992px){
	html body .ercel-part{ grid-template-columns:150px minmax(0,1fr) 260px !important; }
	html body .ercel-part .ev2-buy{ width:260px !important; }
}
html body .ev2-note div{ min-width:0; overflow-wrap:anywhere; hyphens:auto; }
/* melding zonder icoon, zodat de tekst altijd in de smalle kolom past */
html body .ev2-note .ic{ display:none !important; }
html body .ev2-note{ display:block !important; }
/* melding compacter */
html body .ercel-part .ev2-note{ font-size:11px !important; padding:6px 8px !important; line-height:1.3; border-radius:8px !important; }
html body .ercel-part .ev2-note b{ font-size:9.5px; }
/* icoon terug, maar klein en met weinig ruimte links */
html body .ev2-note{ display:flex !important; gap:5px !important; }
html body .ev2-note .ic{ display:flex !important; width:14px !important; height:14px !important; font-size:9px !important; margin-top:1px; }
html body .ercel-part .ev2-note{ padding:6px 7px 6px 5px !important; }

/* ---------- Artikelpagina: grote foto altijd naast de miniaturen (niet eronder) ---------- */
html body .ev2-gallery .swiper_gallery_v{ flex:0 0 calc(100% - 96px) !important; width:calc(100% - 96px) !important; max-width:calc(100% - 96px) !important; }
html body .ev2-gallery .swiper_thumb_gallery_v{ flex:0 0 84px !important; }
@media (max-width:767px){
	html body .ev2-gallery .swiper_gallery_v{ flex-basis:calc(100% - 76px) !important; width:calc(100% - 76px) !important; max-width:calc(100% - 76px) !important; }
	html body .ev2-gallery .swiper_thumb_gallery_v{ flex:0 0 64px !important; }
}

/* ---------- Artikelpagina: foto zonder ruimte eromheen, witte achtergrond ---------- */
html body .ev2-gallery .swiper_gallery_v{ background:#fff !important; }
html body .ev2-gallery .pd-gallery-slide{ padding:0 !important; }
html body .ev2-gallery .swiper_gallery_v img{ max-width:100% !important; max-height:100% !important; width:100% !important; height:100% !important; object-fit:contain !important; padding:0 !important; margin:0 !important; mix-blend-mode:normal !important; }
/* elke foto een eigen witte achtergrond (geen doorschijnende vorige foto) */
html body .ev2-gallery .swiper_gallery_v .swiper-slide, html body .ev2-gallery .swiper_gallery_v .pd-gallery-slide{ background:#fff !important; }
html body .ev2-gallery .pd-gallery-slide-thumb{ background:#fff !important; }
html body .ev2-gallery .pd-gallery-slide-thumb img{ mix-blend-mode:normal !important; }
