/* Winkel van Houtbouw Sake van der Kloet — bovenop /assets/site.css */
.testbalk { background: #ffd166; color: var(--inkt); text-align: center; font-weight: bold; padding: 6px 12px; font-size: .95rem; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; }
.wagenlink b { background: var(--rood); color: #fff; border-radius: 99px; padding: 0 8px; margin-left: 4px; font-size: .85rem; }
main.winkel { padding-block: 32px 56px; min-height: 60vh; }
main.winkel h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 .4em; line-height: 1.15; }
main.winkel h2 { font-size: 1.3rem; margin: 1.2em 0 .5em; }
.klein { font-size: .92rem; color: #6b4a30; }
.kruimel { font-size: .92rem; margin: 0 0 12px; }

.melding { border-radius: 12px; padding: 12px 16px; font-weight: bold; background: #e3f4dc; border: 2px solid #3f8f3a; }
.melding.fout { background: #fde4e1; border-color: var(--rood); color: #8a2018; }

.intro { padding: 0 0 12px; max-width: 760px; }
.producten { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.product a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 4px solid var(--hout); border-radius: 22px; padding: 14px 16px 18px; text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s; }
.product a:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--hout-licht); }
.product img { width: 100%; height: auto; border-radius: 14px; background: #f3e6cf; }
.product h2 { margin: 10px 0 2px; font-size: 1.25rem; }
.product p { margin: 0 0 10px; color: #6b4a30; }
.prijs { font-weight: bold; color: var(--rood); font-size: 1.2rem; margin-top: auto; }
.prijs.groot { font-size: 1.8rem; margin: 0 0 .4em; }
.prijs small { font-size: .9rem; color: #6b4a30; font-weight: normal; }

.productdetail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.productdetail img { width: 100%; height: auto; background: #f3e6cf; border: 4px solid var(--hout); border-radius: 24px; }
.koop { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin: 20px 0 10px; }
.maten { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.maten legend { font-weight: bold; margin-bottom: 6px; }
.maten input { position: absolute; opacity: 0; }
.maten span { display: inline-block; min-width: 52px; text-align: center; padding: 8px 12px; border: 3px solid var(--hout-licht); border-radius: 12px; background: #fff; font-weight: bold; cursor: pointer; }
.maten input:checked + span { background: var(--hout); border-color: var(--hout); color: #fff; }
.maten input:focus-visible + span { outline: 3px solid var(--rood); outline-offset: 2px; }
.aantal input { width: 72px; margin-left: 8px; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }

input, select, textarea { font: inherit; padding: 9px 12px; border: 2px solid var(--hout-licht); border-radius: 10px; background: #fff; color: var(--inkt); }
input:focus, select:focus, textarea:focus { outline: 3px solid #ffd166; border-color: var(--hout); }

table.wagen { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; border: 3px solid var(--hout-licht); }
.wagen th, .wagen td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #ecdcc4; vertical-align: middle; }
.wagen th { background: #f3e6cf; }
.wagen .r { text-align: right; white-space: nowrap; }
.wagen .mini img { border-radius: 10px; background: #f3e6cf; display: block; }
.wagen input { width: 70px; }
.wagen tfoot td { border-bottom: 0; }
.wagen tr.totaal td { font-weight: bold; font-size: 1.15rem; border-top: 2px solid var(--hout-licht); }
button.weg { background: none; border: 0; color: var(--rood); font-size: 1.2rem; cursor: pointer; padding: 4px 8px; }
.knoppen { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; }

.afrekenen { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 36px; align-items: start; }
.afrekenen form { display: flex; flex-direction: column; gap: 12px; }
.afrekenen form h2:first-of-type { margin-top: 0; }
.veld { display: flex; flex-direction: column; gap: 4px; }
.veld span { font-weight: bold; }
.veld em, .akkoord em { color: var(--rood); font-style: normal; font-size: .92rem; display: block; }
.veld.heeftfout input { border-color: var(--rood); background: #fff5f4; }
.rij { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.akkoord { display: block; padding: 10px 12px; background: #fff; border-radius: 10px; border: 2px solid transparent; }
.akkoord.heeftfout { border-color: var(--rood); }
.afrekenen form .btn { align-self: flex-start; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.overzicht { background: #fff; border: 3px solid var(--hout-licht); border-radius: 18px; padding: 18px 20px; }
.overzicht h2 { margin-top: 0; }
.overzicht ul { list-style: none; padding: 0; margin: 0; }
.overzicht li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #ecdcc4; }
.overzicht li.totaal { font-weight: bold; font-size: 1.15rem; border-bottom: 0; border-top: 2px solid var(--hout-licht); }

.status { display: inline-block; padding: 6px 14px; border-radius: 99px; background: #f3e6cf; }
.s-wacht { background: #ffe8c2; } .s-betaald, .s-besteld { background: #dcefff; } .s-verzonden { background: #e3f4dc; } .s-geannuleerd { background: #eee; }
.betaal { background: #fff; border: 4px solid #e0812b; border-radius: 20px; padding: 18px 22px; margin: 18px 0 28px; max-width: 560px; }
.betaal h2 { margin-top: 0; }
.betaal dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 1.1rem; margin: 0 0 10px; }
.betaal dt { color: #6b4a30; }
.betaal dd { margin: 0; font-weight: bold; font-family: ui-monospace, Consolas, monospace; }

.tekst { max-width: 760px; }

@media (max-width: 760px) {
  .productdetail, .afrekenen { grid-template-columns: 1fr; }
  .wagen thead { display: none; }
  .wagen td:nth-child(3) { display: none; }
  .top nav a { margin-left: 12px; }
}

/* beheer */
.beheerbalk { background: var(--inkt); color: #e8d8c0; padding: 8px 14px; border-radius: 10px; }
.beheerbalk a { color: #ffd166; }
.inlog { display: flex; flex-direction: column; gap: 12px; max-width: 340px; align-items: flex-start; }
.statusform { display: flex; flex-direction: column; gap: 12px; }
.statusform .btn { align-self: flex-start; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a { background: #fff; border: 2px solid var(--hout-licht); border-radius: 99px; padding: 4px 12px; text-decoration: none; color: var(--inkt); }
.filters a.actief { background: var(--hout); color: #fff; border-color: var(--hout); }
.historie li { font-size: .95rem; }
