/* Productinformatie: galerij + lightbox, specificatietabel, datasheetkaart, kaarten, FAQ, formulier.
   Gedeeld door de C&I-pagina's en de thuisbatterijpagina's (bovenop futuristic.min.css + site-premium.css).
   Alles heeft het voorvoegsel .zk-, zodat het niet botst met de eigen stijlen van een pagina. */

.zk-crumbs { font: 12px 'JetBrains Mono', monospace; letter-spacing: .04em; color: var(--ink-faint); margin: 0 0 1.2rem; }
.zk-crumbs a { color: var(--ink-faint); text-decoration: none; }
.zk-crumbs a:hover { color: var(--accent); }
.zk-crumbs span[aria-hidden] { margin: 0 .45rem; opacity: .6; }

.zk-grad { background: linear-gradient(135deg, #0f6b6b 0%, #0f6b6b 45%, #22a06b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Tekst + beeld */
.zk-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; margin-top: 2.6rem; }
.zk-prose p { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; margin: 0 0 1.1rem; }
.zk-prose h3 { font: 600 1.15rem 'Space Grotesk', sans-serif; color: var(--ink); margin: 1.8rem 0 .6rem; }
.zk-checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.zk-checks li { position: relative; padding-left: 1.7rem; color: var(--ink); font-size: .95rem; line-height: 1.5; }
.zk-checks li::before { content: ''; position: absolute; left: 0; top: .32em; width: 1rem; height: 1rem; border-radius: 50%; background: rgba(15,107,107,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6b6b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/70% no-repeat; }
.zk-figure { margin: 0; position: sticky; top: 100px; }
.zk-figure img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #f0f5f5; }
.zk-figure figcaption { margin-top: .6rem; font: 11px 'JetBrains Mono', monospace; color: var(--ink-faint); letter-spacing: .04em; }
@media (max-width: 900px) { .zk-split { grid-template-columns: 1fr; gap: 1.8rem; } .zk-figure { position: static; } }

/* Fotogalerij + lightbox */
.zk-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 2.2rem; }
.zk-gal figure { margin: 0; min-width: 0; }
.zk-gal a { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); background: #eef4f4; cursor: zoom-in; }
.zk-gal a.contain img { object-fit: contain; padding: 6%; background: #f4f7f7; }
.zk-gal img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.zk-gal a:hover img { transform: scale(1.035); }
.zk-gal a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.zk-gal figcaption { margin-top: .55rem; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.zk-bron { display: block; font: 10.5px 'JetBrains Mono', monospace; color: var(--ink-faint); letter-spacing: .03em; margin-top: .15rem; }
@media (max-width: 560px) { .zk-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .zk-gal figcaption { font-size: 12.5px; } }
.zk-lb { position: fixed; inset: 0; z-index: 100001; display: none; align-items: center; justify-content: center; background: rgba(8,20,21,.94); padding: 56px 64px 72px; }
.zk-lb.is-open { display: flex; }
.zk-lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.zk-lb img { display: block; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 10px; background: #13292b; }
.zk-lb figcaption { margin-top: 14px; color: #fff; font-size: 15px; line-height: 1.4; text-align: center; max-width: 60ch; }
.zk-lb figcaption span { display: block; margin-top: 4px; font: 12px 'JetBrains Mono', monospace; color: #c6ebe6; }
.zk-lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; padding: 0; }
.zk-lb button:hover, .zk-lb button:focus-visible { background: rgba(255,255,255,.28); outline: none; }
.zk-lb button svg { width: 22px; height: 22px; }
.zk-lb .zk-close { top: 12px; right: 12px; }
.zk-lb .zk-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.zk-lb .zk-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .zk-lb { padding: 60px 8px 96px; }
  .zk-lb .zk-prev, .zk-lb .zk-next { top: auto; bottom: 16px; transform: none; }
  .zk-lb .zk-prev { left: calc(50% - 60px); }
  .zk-lb .zk-next { right: calc(50% - 60px); }
}
body.zk-lb-open { overflow: hidden; }

/* Specificatietabel */
.zk-spec-wrap { margin-top: 2.2rem; border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; }
.zk-spec { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.zk-spec caption { text-align: left; padding: 1rem 1.2rem .2rem; font: 11px 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.zk-spec th, .zk-spec td { padding: .62rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.45; }
.zk-spec thead th { position: sticky; top: 0; background: #13292b; color: #fff; font: 600 .86rem 'Space Grotesk', sans-serif; letter-spacing: .01em; white-space: nowrap; }
.zk-spec tbody th { font-weight: 400; color: var(--ink-soft); width: 34%; min-width: 180px; }
.zk-spec td { color: var(--ink); font-variant-numeric: tabular-nums; }
.zk-spec td.span { text-align: center; }
.zk-spec tr.grp th { background: rgba(15,107,107,.08); color: var(--accent); font: 600 11px 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; padding-top: .8rem; }
.zk-spec tbody tr:hover td, .zk-spec tbody tr:hover th:not(.g) { background: rgba(15,107,107,.035); }
.zk-spec-noot { margin-top: .9rem; font-size: .85rem; color: var(--ink-faint); line-height: 1.5; }
.zk-spec-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.zk-spec-tabs button { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 999px; padding: .5rem 1rem; font: 500 .88rem 'Inter', sans-serif; cursor: pointer; }
.zk-spec-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.zk-spec-panel[hidden] { display: none; }

/* Datasheetkaart */
.zk-ds { display: grid; grid-template-columns: 220px 1fr; gap: 2.2rem; align-items: center; margin-top: 2.2rem; padding: 1.8rem; border: 1px solid var(--line-strong); border-radius: var(--r-xl); background: linear-gradient(160deg, rgba(15,107,107,.07), rgba(255,255,255,0) 60%); }
.zk-ds + .zk-ds { margin-top: 1rem; }
.zk-ds-thumb { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 18px 40px rgba(19,41,43,.16); background: #fff; }
.zk-ds-thumb img { display: block; width: 100%; height: auto; }
.zk-ds h3 { font: 600 1.25rem 'Space Grotesk', sans-serif; color: var(--ink); margin: .3rem 0 .5rem; }
.zk-ds p { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; margin: 0 0 1.1rem; }
.zk-ds-meta { font: 11px 'JetBrains Mono', monospace; color: var(--ink-faint); letter-spacing: .05em; text-transform: uppercase; }
.zk-ds .btn { margin-right: .5rem; margin-bottom: .5rem; }
@media (max-width: 640px) { .zk-ds { grid-template-columns: 1fr; padding: 1.2rem; } .zk-ds-thumb { max-width: 220px; } }

/* Kaarten (toepassingen, producten, stappen) */
.zk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; }
.zk-cards.four { grid-template-columns: repeat(4, 1fr); }
.zk-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; background: #fff; min-width: 0; }
.zk-card .nr { font: 500 12px 'JetBrains Mono', monospace; color: var(--accent); letter-spacing: .08em; }
.zk-card h3 { font: 600 1.08rem 'Space Grotesk', sans-serif; color: var(--ink); margin: .45rem 0 .45rem; }
.zk-card p { color: var(--ink-soft); font-size: .92rem; line-height: 1.58; margin: 0; }
@media (max-width: 980px) { .zk-cards, .zk-cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .zk-cards, .zk-cards.four { grid-template-columns: 1fr; } }

.zk-prod { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 2.4rem; }
.zk-prod-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
.zk-prod-card:hover { border-color: rgba(15,107,107,.45); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(19,41,43,.10); }
.zk-prod-card .img { aspect-ratio: 4 / 3; background: #eef4f4; overflow: hidden; }
.zk-prod-card .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zk-prod-card .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.zk-prod-card .merk { font: 500 11px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.zk-prod-card strong { font: 600 1.15rem 'Space Grotesk', sans-serif; color: var(--ink); letter-spacing: -.01em; }
.zk-prod-card .kort { color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.zk-prod-card .tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: .7rem; }
.zk-prod-card .tags span { font: 11px 'JetBrains Mono', monospace; padding: .25rem .55rem; border-radius: 999px; background: rgba(15,107,107,.08); color: var(--ink); }
.zk-prod-card .meer { font-weight: 600; color: var(--accent); font-size: .9rem; margin-top: .6rem; }

/* FAQ */
.zk-faq { max-width: 860px; margin: 2.2rem auto 0; display: grid; gap: .7rem; }
.zk-faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.zk-faq summary { cursor: pointer; padding: 1.05rem 1.3rem; font: 600 1rem 'Space Grotesk', sans-serif; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.zk-faq summary::-webkit-details-marker { display: none; }
.zk-faq summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.zk-faq details[open] summary::after { content: '–'; }
.zk-faq .a { padding: 0 1.3rem 1.15rem; color: var(--ink-soft); line-height: 1.65; font-size: .95rem; }
.zk-faq .a p { margin: 0 0 .7rem; }
.zk-note { margin-top: 1.2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--accent); background: rgba(15,107,107,.05); border-radius: 0 10px 10px 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.6; }
/* Formulier zakelijk */
.zk-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 620px; margin: 0 auto 1.5rem; text-align: left; }
.zk-form .full { grid-column: 1 / -1; }
.zk-form select { width: 100%; }
@media (max-width: 560px) { .zk-form { grid-template-columns: 1fr; } }
.zk-msg { display: none; padding: 1rem 1.2rem; border-radius: 12px; font: 13px 'JetBrains Mono', monospace; margin-bottom: 1rem; }
.zk-msg.ok { background: rgba(21,132,62,.08); border: 1px solid rgba(21,132,62,.3); color: #15843e; }
.zk-msg.err { background: rgba(255,80,80,.08); border: 1px solid rgba(255,80,80,.25); color: #990000; }
.zk-spec-wrap + .zk-spec-wrap { margin-top: 1rem; }
.zk-spec-noot ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.zk-spec-noot li { margin-bottom: .3rem; }
.zk-prose a, .zk-faq a, .zk-ds p a { color: var(--accent); }

/* ---------------------------------------------------------------- telefoon
   99% van de bezoekers komt via de telefoon: compacter, vegen in plaats van stapelen. */
.zk-meer, .zk-gal-tip { display: none; }
@media (max-width: 640px) {
  :is(#fotos, #specificaties, #datasheet, #vragen) .section-title { font-size: 1.6rem; line-height: 1.15; }
  :is(#fotos, #specificaties, #datasheet, #vragen) .section-sub { font-size: .95rem; margin-top: .5rem; }
  .hero-actions [data-pi] { display: none; }

  /* Galerij: veegrij, volgende foto steekt een stukje in beeld */
  .zk-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 1.3rem calc(50% - 50vw) 0; padding: 0 calc(50vw - 50%) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .zk-gal::-webkit-scrollbar { display: none; }
  .zk-gal figure { flex: 0 0 80%; scroll-snap-align: center; }
  .zk-gal figcaption { font-size: 12.5px; }
  .zk-gal-tip { display: block; margin-top: .4rem; font: 11px 'JetBrains Mono', monospace; color: var(--ink-faint); letter-spacing: .04em; }

  /* Spectabel: kleiner, labelkolom blijft staan bij zijwaarts scrollen */
  .zk-spec-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 1.3rem calc(50% - 50vw) 0; padding: 0 calc(50vw - 50%) 4px; scrollbar-width: none; }
  .zk-spec-tabs::-webkit-scrollbar { display: none; }
  .zk-spec-tabs button { flex: 0 0 auto; font-size: .82rem; padding: .45rem .85rem; }
  .zk-spec-wrap { margin-top: 1rem; border-radius: var(--r-md); }
  .zk-spec { font-size: .8rem; min-width: 0; }
  .zk-spec caption { padding: .8rem .8rem .2rem; font-size: 10px; }
  .zk-spec th, .zk-spec td { padding: .5rem .6rem; }
  .zk-spec thead th { font-size: .78rem; }
  .zk-spec tbody th { width: auto; min-width: 118px; max-width: 150px; position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .zk-spec thead th:first-child { position: sticky; left: 0; z-index: 3; }
  .zk-spec tr.grp th { position: static; max-width: none; box-shadow: none; }
  .zk-spec td.span { text-align: left; }
  .zk-spec-noot { font-size: .8rem; }
  .zk-dicht { position: relative; max-height: 560px; overflow: hidden; }
  .zk-dicht::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 85%); pointer-events: none; }
  .zk-meer { display: block; width: 100%; margin: .6rem 0 0; padding: .7rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--accent); font: 600 .9rem 'Inter', sans-serif; cursor: pointer; }

  /* Datasheetkaart: klein voorbeeld links, knoppen ernaast */
  .zk-ds { grid-template-columns: 74px 1fr; gap: .9rem; padding: .9rem; align-items: start; margin-top: 1.2rem; border-radius: var(--r-lg); }
  .zk-ds + .zk-ds { margin-top: .6rem; }
  .zk-ds-thumb { max-width: none; box-shadow: 0 6px 14px rgba(19,41,43,.12); border-radius: 5px; }
  .zk-ds-meta { font-size: 9.5px; letter-spacing: .03em; }
  .zk-ds h3 { font-size: .98rem; line-height: 1.3; margin: .25rem 0 .6rem; }
  .zk-ds p { display: none; }
  .zk-ds .btn { padding: .5rem .8rem; font-size: .8rem; margin: 0 .3rem .35rem 0; min-height: 0; }
  .zk-ds .btn-ghost { display: none; }

  /* Kaarten en FAQ compacter */
  .zk-cards, .zk-cards.four { gap: .6rem; margin-top: 1.4rem; }
  .zk-card { padding: 1.05rem 1.1rem; }
  .zk-card h3 { font-size: 1rem; margin: .3rem 0 .3rem; }
  .zk-card p { font-size: .88rem; line-height: 1.5; }
  .zk-faq { margin-top: 1.4rem; gap: .5rem; }
  .zk-faq summary { padding: .85rem 1rem; font-size: .95rem; }
  .zk-faq .a { padding: 0 1rem .9rem; font-size: .9rem; }
  .zk-prose p { font-size: .95rem; line-height: 1.6; margin-bottom: .85rem; }
  .zk-checks li { font-size: .9rem; }
}
