/* ===========================================================
   Brabants Glas: webshop (overzicht, product, winkelwagen, afrekenen)
   =========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shop { padding-block: 1.6rem clamp(3rem, 6vw, 5.5rem); }
.shop--smal { max-width: 52rem; }
.kruimels { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.kruimels a { color: var(--muted); }
.kruimels a:hover { color: var(--sage-700); text-decoration: underline; }
.kruimels span[aria-hidden] { margin-inline: .35rem; opacity: .6; }
.shop__kop { margin-bottom: 1.4rem; }
.shop__kop h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.1; margin-bottom: .4rem; }
.shop__kop p { color: var(--muted); }
.shop__kop .lead { font-size: 1.2rem; color: var(--ink); }
.shop__intro { max-width: 46rem; color: var(--ink); margin-bottom: .6rem; }

/* filters en sorteren */
.shop__balk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; border-block: 1px solid var(--line); margin-bottom: 1.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chip { display: inline-block; padding: .4rem .95rem; border: 1px solid var(--line); background: #fff; font-size: .92rem; color: var(--ink); border-radius: 999px; }
.chip:hover { border-color: var(--sage); color: var(--sage-700); }
.chip.is-actief { background: var(--forest); border-color: var(--forest); color: #fff; }
.sorteer label { font-size: .92rem; color: var(--muted); display: inline-flex; align-items: center; gap: .6rem; }
.sorteer select, .aantal input, .veld input, .veld textarea { font: inherit; padding: .65rem .8rem; border: 1px solid #cfc6b8; background: #fff; border-radius: 0; color: var(--ink); }

/* productraster */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.pkaart { display: flex; flex-direction: column; }
.pkaart__beeld { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--alt); }
.pkaart__beeld img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.pkaart:hover .pkaart__beeld img { transform: scale(1.05); }
.pkaart__label { position: absolute; top: .7rem; left: .7rem; background: var(--forest); color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: .3rem .6rem; }
.pkaart__label--actie { background: var(--sage); }
.pkaart--uit .pkaart__beeld img { opacity: .55; }
.pkaart__tekst { padding-top: .9rem; text-align: center; }
.pkaart__cat { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 .25rem; }
.pkaart h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: .35rem; }
.pkaart h3 a { color: var(--forest); }
.pkaart h3 a:hover { color: var(--sage-700); }
.pkaart__prijs { margin: 0; color: var(--ink); }
.pkaart__prijs del { color: var(--muted); margin-right: .3rem; }
.pkaart__prijs strong { font-weight: 700; color: var(--sage-700); }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; } }
.leeg { padding-block: 2rem; color: var(--muted); }

/* productpagina: foto links, informatie rechts, omschrijving eronder */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.product__groot { background: var(--alt); border: 1px solid var(--line); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.product__groot img { width: 100%; height: 100%; object-fit: contain; }
.product__thumbs { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: .8rem 0 0; }
.thumb { width: 5rem; height: 5rem; padding: 0; border: 2px solid transparent; background: var(--alt); cursor: pointer; opacity: .75; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-actief { border-color: var(--sage); opacity: 1; }
.product__info h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; margin-bottom: .8rem; }
.product__prijs { font-size: 1.8rem; margin: 0 0 1.1rem; color: var(--sage-700); }
.product__prijs del { font-size: 1.15rem; color: var(--muted); margin-right: .4rem; }
.product__kort { font-size: 1.1rem; margin-bottom: 1.4rem; }
.product__kort p + p { margin-top: .7rem; }
.product__koop { display: flex; flex-wrap: wrap; gap: .8rem; align-items: stretch; margin-bottom: .6rem; }
.aantal input { width: 5rem; text-align: center; }
.product__koop .aantal input { height: 100%; }
.btn--groot { padding: 1.05rem 2.2rem; font-size: .95rem; }
.btn--blok { display: block; text-align: center; width: 100%; }
.product__voorraad { color: var(--sage-700); font-weight: 700; font-size: .95rem; }
.product__uitverkocht { padding: 1rem; background: var(--alt); border-left: 3px solid var(--sage); }
.product__meta { list-style: none; padding: 1.2rem 0 0; margin: 1.4rem 0 1.2rem; border-top: 1px solid var(--line); font-size: .98rem; }
.product__meta li { padding: .3rem 0; }
.product__meta li span { display: inline-block; min-width: 8rem; color: var(--muted); }
.product .social { margin-top: .4rem; }
.product__omschrijving, .gerelateerd { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.product__omschrijving h2, .gerelateerd h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.2rem; }
.product__omschrijving .prose { max-width: 52rem; font-size: 1.12rem; }
.product__omschrijving .prose p + p, .product__omschrijving .prose ul, .product__omschrijving .prose ol { margin-top: 1rem; }
.product__omschrijving .prose ul { padding-left: 1.3rem; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

/* meldingen */
.melding { padding: .9rem 1.1rem; background: var(--alt); border-left: 4px solid var(--sage); margin-bottom: 1rem; }
.melding--ok { background: #eef5ec; border-color: #5f8f57; }
.melding--fout { background: #fbecea; border-color: #b3382c; }
.melding ul { margin: 0; padding-left: 1.2rem; }

/* winkelwagen en afrekenen */
.wagen, .afrekenen { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 2rem 2.5rem; align-items: start; }
.wagen__tabel { width: 100%; border-collapse: collapse; }
.wagen__tabel th { text-align: left; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .6rem .5rem; border-bottom: 2px solid var(--forest); }
.wagen__tabel td { padding: 1rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.wagen__tabel .rechts, .wagen__tabel th.rechts { text-align: right; }
.wagen__beeld img { width: 5.2rem; height: 5.2rem; object-fit: cover; }
.wagen__naam a { color: var(--forest); font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.link-weg { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
.link-weg:hover { color: #b3382c; }
.wagen__totaal { background: #fff; border: 1px solid var(--line); padding: 1.5rem; position: sticky; top: 11rem; }
.wagen__totaal h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.wagen__totaal dl, .bestelling dl { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; margin: 1rem 0; }
.wagen__totaal dd, .bestelling dd { margin: 0; text-align: right; }
.wagen__totaal .totaal, .bestelling .totaal { border-top: 1px solid var(--line); padding-top: .6rem; font-weight: 700; font-size: 1.15rem; }
.klein { font-size: .88rem; color: var(--muted); }
.mini { list-style: none; padding: 0; margin: 0; }
.mini li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.mini b { font-weight: 700; white-space: nowrap; }
.bestelling { background: #fff; border: 1px solid var(--line); padding: 1.5rem; margin: 1.5rem 0; }
.bestelling h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.afrekenen__velden fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.afrekenen__velden legend { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: .7rem; padding: 0; }
.veld { display: block; font-size: .95rem; margin-bottom: .9rem; }
.veld input, .veld textarea { display: block; width: 100%; margin-top: .3rem; }
.veld-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.keuze { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line); background: #fff; margin-bottom: .6rem; cursor: pointer; }
.keuze input { margin-top: .35rem; }
.keuze small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.keuze--voorwaarden { border: 0; background: none; padding: 0; }
.actieknoppen { display: flex; flex-wrap: wrap; gap: .8rem; }
.zoek--groot { max-width: 30rem; margin-top: .6rem; }
.zoek--groot input { flex: 1; width: auto; padding: .8rem 1rem; }
.hp-field { position: absolute; left: -9999px; }
@media (max-width: 900px) {
  .wagen, .afrekenen { grid-template-columns: 1fr; }
  .wagen__totaal { position: static; }
  .wagen__tabel thead { display: none; }
  .wagen__tabel tr { display: grid; grid-template-columns: 5.2rem 1fr auto; gap: .2rem .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .wagen__tabel td { border: 0; padding: .1rem 0; }
  .wagen__beeld { grid-row: span 3; }
}
@media (max-width: 560px) { .veld-rij { grid-template-columns: 1fr; } }

.product__omschrijving .prose > * + * { margin-top: 1rem; }
.product__omschrijving .prose blockquote { margin-left: 0; padding-left: 1.2rem; border-left: 3px solid var(--sage); color: var(--ink); }
.product__omschrijving .prose strong { font-weight: 700; }
.product__omschrijving .prose img { max-width: 100%; height: auto; }

/* productfoto vergroten */
.product__groot { cursor: zoom-in; position: relative; }
.product__groot:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; }
.product__groot::after { content: ""; position: absolute; right: .8rem; bottom: .8rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(43,41,39,.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='5.5'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 60% no-repeat; pointer-events: none; }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(20,17,14,.94); display: grid; grid-template-columns: 4rem minmax(0, 1fr) 4rem; align-items: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox__beeld { margin: 0; display: grid; justify-items: center; gap: .6rem; max-height: 100%; }
.lightbox__beeld img { max-width: 100%; max-height: 88vh; width: auto; height: auto; object-fit: contain; background: #fff; }
.lightbox__beeld figcaption { color: #d9d2c7; font-size: .9rem; min-height: 1.2em; }
.lightbox__sluit { position: absolute; top: .6rem; right: 1rem; z-index: 2; width: 3rem; height: 3rem; border: 0; background: none; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }
.lightbox__nav { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; justify-self: center; }
.lightbox__nav:hover, .lightbox__sluit:hover { background: var(--sage); border-color: var(--sage); }
.lightbox--een .lightbox__nav { visibility: hidden; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem; padding: .5rem; } .lightbox__nav { width: 2.4rem; height: 2.4rem; font-size: 1.5rem; } }
.thumb { cursor: pointer; }

/* ===== één uitstraling voor alle binnenpagina's ===== */
.shop--smal { max-width: var(--maxw); }
.shop--smal > header, .shop--smal > form, .shop--smal > .bestelling, .shop--smal > .prose, .shop--smal > .actieknoppen { max-width: 52rem; }
.eigen-inhoud, .prose { font-family: var(--sans); font-size: 1.12rem; line-height: 1.75; color: var(--ink); }
.eigen-inhoud > * + *, .prose > * + * { margin-top: 1rem; }
.eigen-inhoud h2, .eigen-inhoud h3, .prose h2, .prose h3 { font-family: var(--serif); margin-top: 2rem; line-height: 1.2; }
.eigen-inhoud ul, .eigen-inhoud ol, .prose ul, .prose ol { padding-left: 1.4rem; }
.eigen-inhoud li + li { margin-top: .35rem; }
.eigen-inhoud a { color: var(--sage-700); text-decoration: underline; }
.page-hero { background: none; border-bottom: 1px solid var(--line); padding: 2rem 0 1.4rem; text-align: left; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.1; }
.page-hero p { margin-inline: 0; max-width: 60rem; font-size: 1.15rem; color: var(--ink); }
.page-hero .eyebrow { color: var(--muted); }

/* ===== lightbox met zoomen (vervangt de eenvoudige versie hierboven) ===== */
.lightbox { display: block; padding: 0; background: rgba(20,17,14,.96); overscroll-behavior: contain; }
.lightbox[hidden] { display: none; }
.lightbox__stage { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: zoom-in; padding: 3.2rem 4.5rem 4.6rem; box-sizing: border-box; user-select: none; -webkit-user-select: none; }
.lightbox--ingezoomd .lightbox__stage { cursor: grab; }
.lightbox--sleept .lightbox__stage { cursor: grabbing; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: #fff; transform-origin: 50% 50%; will-change: transform; -webkit-user-drag: none; pointer-events: none; }
.lightbox__sluit { position: absolute; top: .6rem; right: .8rem; z-index: 5; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; }
.lightbox__nav--vorige { left: .8rem; }
.lightbox__nav--volgende { right: .8rem; }
.lightbox__balk { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: .4rem; padding: .35rem .5rem; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; }
.lightbox__balk button { min-width: 2.8rem; height: 2.8rem; padding: 0 .7rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.lightbox__balk button:hover:not(:disabled) { background: var(--sage); border-color: var(--sage); }
.lightbox__balk button:disabled { opacity: .35; cursor: default; }
.lightbox__balk .lightbox__pas { font-size: .95rem; white-space: nowrap; }
.lightbox__pas small { opacity: .75; font-size: .75rem; }
.lightbox__teller { padding: 0 .5rem; font-size: .9rem; color: #d9d2c7; min-width: 3rem; text-align: center; }
.lightbox--een .lightbox__nav { display: none; }
@media (max-width: 700px) {
  .lightbox__stage { padding: 3.2rem .4rem 5rem; }
  .lightbox__nav { top: auto; bottom: 1rem; transform: none; width: 3rem; height: 3rem; }
  .lightbox__nav--vorige { left: .6rem; } .lightbox__nav--volgende { right: .6rem; }
  .lightbox__balk { bottom: 1rem; gap: .25rem; padding: .3rem .4rem; }
  .lightbox__pas small, .lightbox__teller { display: none; }
}
.lightbox { z-index: 9999; }
.lightbox__balk .lightbox__pas { display: inline-flex; align-items: center; gap: .4rem; min-width: 5.6rem; justify-content: center; }
.lightbox__balk .lightbox__pas span { font-variant-numeric: tabular-nums; }

/* ===== nieuwsbrief ===== */
.nb-pagina { max-width: 52rem; }
.nb-form__velden { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: .8rem; align-items: end; }
.nb-form label { display: grid; gap: .3rem; font-size: .95rem; }
.nb-form input[type=text], .nb-form input[type=email] { width: 100%; padding: .75rem .85rem; border: 1px solid #cfc6b8; background: #fff; font: inherit; border-radius: 0; }
.nb-form input:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.nb-form__opt { color: var(--muted); font-size: .85em; }
.nb-form .btn { white-space: nowrap; }
.nb-form__klein { margin: .8rem 0 0; font-size: .88rem; color: var(--muted); }
.nb-form__melding:empty { display: none; }
.nb-form__melding, .nb-melding { margin: .9rem 0 0; padding: .8rem 1rem; border-left: 4px solid var(--sage); background: var(--alt); }
.nb-form__melding.is-ok, .nb-melding.is-ok { border-left-color: #5f8f57; background: #eef5ec; }
.nb-form__melding.is-fout, .nb-melding.is-fout { border-left-color: #b3382c; background: #fbecea; }
.nb-melding { margin: 0 0 1.2rem; }
.nb-afmelden { display: grid; gap: .8rem; justify-items: start; }
@media (max-width: 720px) { .nb-form__velden { grid-template-columns: 1fr; } }
