/* Floraume – huisstijl goud, wit, zwart. Eerst voor de gsm, daarna breder. */
:root {
    --zwart: #111111;
    --zwart-2: #1c1a18;
    --goud: #b8963e;
    --goud-licht: #d9c27e;
    --goud-donker: #8f7330;
    --creme: #f7f3ec;
    --wit: #ffffff;
    --tekst: #1b1b1b;
    --grijs: #6a655d;
    --lijn: #e6dfd2;
    --rond: 10px;
    --schaduw: 0 1px 2px rgba(17, 17, 17, .06), 0 6px 18px rgba(17, 17, 17, .06);
    --kop-serif: Georgia, "Times New Roman", serif;
    --breed: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body {
    margin: 0;
    font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--tekst);
    background: var(--creme);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--kop-serif); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--wit); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--goud); outline-offset: 2px; }

/* ---------- Kop ---------- */
.kop { position: sticky; top: 0; z-index: 20; background: var(--zwart); color: var(--wit); }
.kop-binnen {
    max-width: var(--breed); margin: 0 auto; padding: 10px 16px;
    display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 4px 8px;
}
.logo img { width: 128px; height: auto; }
.zoek { display: flex; min-width: 0; background: var(--zwart-2); border: 1px solid #34302a; border-radius: 999px; }
.zoek input {
    flex: 1; min-width: 0; border: 0; background: transparent; color: var(--wit);
    padding: 9px 14px; font: inherit; font-size: 15px;
}
.zoek input::placeholder { color: #9b958b; }
.zoek input:focus { outline: none; }
.zoek:focus-within { border-color: var(--goud); }
.zoek button { border: 0; background: none; color: var(--goud-licht); padding: 0 12px; cursor: pointer; }
.zoek svg, .mandje-knop svg, .account-knop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mandje-knop { position: relative; color: var(--goud-licht); padding: 8px; display: flex; }
.teller {
    position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; padding: 0 5px;
    border-radius: 999px; background: var(--goud); color: var(--zwart); font-size: 12px; font-weight: 700;
    display: grid; place-items: center;
}

.cat-nav { border-top: 1px solid #2a2622; }
.cat-nav ul {
    list-style: none; margin: 0 auto; padding: 0 8px; max-width: var(--breed);
    display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
}
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
    display: block; white-space: nowrap; text-decoration: none; color: #d8d2c6;
    padding: 11px 10px; font-size: 14px; letter-spacing: .02em; border-bottom: 2px solid transparent;
}
.cat-nav a:hover, .cat-nav a[aria-current="page"] { color: var(--goud-licht); border-bottom-color: var(--goud); }

/* ---------- Held (startpagina) met krullen ---------- */
.held {
    background-color: var(--zwart);
    background-image: url("/img/krullen.svg");
    background-size: 150px 150px;
    color: var(--wit);
    border-bottom: 3px solid var(--goud);
}
.held-binnen { max-width: var(--breed); margin: 0 auto; padding: 44px 16px 48px; }
.boven { color: var(--goud-licht); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; margin-bottom: 14px; }
.held h1 { font-size: clamp(32px, 8vw, 54px); }
.held-tekst { color: #d8d2c6; max-width: 34em; margin-top: 16px; }
.held-knoppen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- Knoppen ---------- */
.knop {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid var(--goud); background: var(--goud); color: var(--zwart);
    padding: 11px 20px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px;
    text-decoration: none; cursor: pointer; transition: background .15s, color .15s;
}
.knop:hover { background: var(--goud-licht); border-color: var(--goud-licht); }
.knop-lijn { background: transparent; color: inherit; }
.held .knop-lijn { color: var(--goud-licht); }
.knop-lijn:hover { background: rgba(184, 150, 62, .12); }
.knop-klein { border: 1px solid var(--lijn); background: var(--wit); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.link-knop { border: 0; background: none; color: var(--grijs); text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; padding: 6px 0; }

/* ---------- Blokken ---------- */
.blok { max-width: var(--breed); margin: 0 auto; padding: 28px 16px; }
.titel { font-size: 26px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.titel::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--goud), transparent); opacity: .6; }
.pagina-kop { max-width: var(--breed); margin: 0 auto; padding: 22px 16px 0; }
.pagina-kop h1 { font-size: clamp(28px, 6vw, 40px); }
.kruimel { font-size: 13px; color: var(--grijs); margin-bottom: 8px; display: flex; gap: 6px; }
.kruimel a { text-decoration: none; }
.kruimel a:hover { color: var(--goud-donker); }
.sub { color: var(--grijs); font-size: 13px; }
.leeg { color: var(--grijs); margin-bottom: 16px; }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips a {
    display: block; white-space: nowrap; text-decoration: none; font-size: 14px;
    padding: 7px 14px; border-radius: 999px; background: var(--wit); border: 1px solid var(--lijn);
}
.chips a:hover { border-color: var(--goud); color: var(--goud-donker); }

/* ---------- Categorietegels ---------- */
.tegels { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tegel {
    position: relative; display: block; overflow: hidden; border-radius: var(--rond);
    background: var(--wit); text-decoration: none; box-shadow: var(--schaduw); aspect-ratio: 1 / 1;
}
.tegel img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tegel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(17, 17, 17, .82)); }
.tegel-naam, .tegel-aantal { position: absolute; left: 12px; right: 12px; z-index: 1; color: var(--wit); }
.tegel-naam { bottom: 28px; font-family: var(--kop-serif); font-size: 19px; line-height: 1.15; }
.tegel-aantal { bottom: 10px; font-size: 12px; color: var(--goud-licht); }
.tegel:hover img { transform: scale(1.04); }

/* ---------- Productkaarten ---------- */
.raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kaart {
    display: flex; flex-direction: column; background: var(--wit); border-radius: var(--rond);
    box-shadow: var(--schaduw); overflow: hidden;
}
.kaart-foto { display: block; background: var(--wit); aspect-ratio: 1 / 1; }
.kaart-foto img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.kaart-tekst { padding: 10px 12px 0; }
.kaart h3 { font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.3; }
.kaart h3 a { text-decoration: none; }
.kaart h3 a:hover { color: var(--goud-donker); }
.prijs { margin-top: 4px; font-weight: 700; color: var(--goud-donker); }
.bestel { margin-top: auto; padding: 10px 12px 12px; display: grid; gap: 8px; }
.keuze {
    width: 100%; font: inherit; font-size: 14px; padding: 7px 10px; border: 1px solid var(--lijn);
    border-radius: 8px; background: var(--wit);
}
.teller-rij { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.stapper { display: inline-flex; align-items: center; border: 1px solid var(--lijn); border-radius: 999px; background: var(--wit); }
.stapper button {
    width: 34px; height: 34px; border: 0; background: none; font-size: 18px; line-height: 1;
    color: var(--goud-donker); cursor: pointer; border-radius: 999px;
}
.stapper button:hover { background: var(--creme); }
.stapper input, .regel-aantal input {
    width: 52px; border: 0; text-align: right; font: inherit; font-size: 15px; font-weight: 600;
    -moz-appearance: textfield; background: transparent;
}
.stapper input::-webkit-outer-spin-button, .stapper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stapper input:focus { outline: none; }
.eenheid { font-size: 13px; color: var(--grijs); padding: 0 2px 0 3px; }
.regelprijs { font-size: 14px; font-weight: 600; }
.opmerking summary { font-size: 13px; color: var(--grijs); cursor: pointer; }
.opmerking input { margin-top: 6px; width: 100%; font: inherit; font-size: 14px; padding: 7px 10px; border: 1px solid var(--lijn); border-radius: 8px; }
.bestel .knop { width: 100%; padding: 10px; }
.bestel .knop.klaar { background: var(--zwart); color: var(--goud-licht); border-color: var(--zwart); }

/* ---------- Productdetail ---------- */
.detail { max-width: var(--breed); margin: 0 auto; padding: 12px 16px 8px; display: grid; gap: 18px; }
.detail-foto { background: var(--wit); border-radius: var(--rond); box-shadow: var(--schaduw); overflow: hidden; }
.detail-foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.detail-tekst h1 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 12px; }
.detail-tekst > p { color: #3d3a35; margin-bottom: 6px; }
.kaart-detail { margin-top: 16px; }
.kaart-detail .prijs { font-size: 22px; }

/* ---------- Zo werkt het ---------- */
.stappen { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.stappen li {
    counter-increment: s; background: var(--wit); border-radius: var(--rond); box-shadow: var(--schaduw);
    padding: 16px 16px 16px 60px; position: relative; display: grid; gap: 4px;
}
.stappen li::before {
    content: counter(s); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; border-radius: 999px;
    border: 1px solid var(--goud); color: var(--goud-donker); display: grid; place-items: center;
    font-family: var(--kop-serif); font-size: 17px;
}
.stappen span { color: var(--grijs); font-size: 14px; }
.smal { max-width: 720px; }
.voorbeeld { background: var(--wit); border-left: 3px solid var(--goud); padding: 12px 14px; border-radius: 6px; margin-bottom: 16px; }
.smal .knop { margin-top: 18px; }

/* ---------- Mandje ---------- */
.regels { list-style: none; padding: 0; margin: 0; background: var(--wit); border-radius: var(--rond); box-shadow: var(--schaduw); }
.regel { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px; border-bottom: 1px solid var(--lijn); align-items: start; }
.regel:last-child { border-bottom: 0; }
.regel img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: var(--creme); }
.regel-tekst { display: grid; gap: 2px; min-width: 0; }
.regel-naam { font-weight: 600; text-decoration: none; }
.regel-acties { display: flex; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.regel-aantal { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--lijn); border-radius: 999px; padding: 2px 4px 2px 8px; }
.regel-prijs { white-space: nowrap; }
.totaal { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 4px 6px; font-size: 18px; }
.totaal strong { font-size: 24px; color: var(--goud-donker); }
.mandje-knoppen { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

/* ---------- Voet ---------- */
.voet {
    margin-top: 40px; background-color: var(--zwart); background-image: url("/img/krullen.svg"); background-size: 150px 150px;
    color: #cfc8bb; border-top: 3px solid var(--goud); padding-bottom: 70px;
}
.voet-binnen { max-width: var(--breed); margin: 0 auto; padding: 32px 16px; display: grid; gap: 22px; }
.voet h2 { font-size: 18px; color: var(--goud-licht); margin-bottom: 6px; }
.voet p { font-size: 14px; }
.voet img { width: 140px; margin-bottom: 10px; }
.voet a { color: #efe7d6; }

/* ---------- Mandjebalk (gsm) en melding ---------- */
.mandje-balk {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 999px;
    background: var(--zwart); color: var(--wit); text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    border: 1px solid var(--goud-donker);
}
.mandje-balk strong { margin-left: auto; color: var(--goud-licht); }
.mandje-balk .pijl { background: var(--goud); color: var(--zwart); border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: 14px; }
.melding {
    position: fixed; left: 50%; bottom: 80px; transform: translate(-50%, 20px); z-index: 40;
    background: var(--zwart); color: var(--wit); padding: 10px 18px; border-radius: 999px; font-size: 14px;
    opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; border: 1px solid var(--goud-donker);
}
.melding.toon { opacity: 1; transform: translate(-50%, 0); }
.melding.fout { border-color: #b4432f; }

/* ---------- Breder ---------- */
@media (min-width: 640px) {
    .raster { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .tegels { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .stappen { grid-template-columns: repeat(3, 1fr); }
    .voet-binnen { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .logo img { width: 160px; }
}
@media (min-width: 900px) {
    .raster { grid-template-columns: repeat(4, 1fr); }
    .tegels { grid-template-columns: repeat(5, 1fr); }
    .detail { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
    .held-binnen { padding: 72px 16px 76px; }
    .mandje-balk { left: auto; right: 24px; bottom: 24px; width: 340px; }
    .melding { bottom: 96px; }
    .zoek { max-width: 460px; justify-self: center; width: 100%; }
}

/* ---------- Afrekenen ---------- */
.afreken-form { display: grid; gap: 16px; }
.stap { border: 0; margin: 0; padding: 16px; background: var(--wit); border-radius: var(--rond); box-shadow: var(--schaduw); min-width: 0; }
.stap legend { float: left; width: 100%; font-family: var(--kop-serif); font-size: 21px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.stap legend span { width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--goud); color: var(--goud-donker); display: grid; place-items: center; font-size: 15px; }
.stap legend + * { clear: both; }
.keuzes { display: grid; gap: 8px; }
.keuze-kaart { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--lijn); border-radius: 10px; cursor: pointer; }
.keuze-kaart .sub { grid-column: 2; }
.keuze-kaart:has(input:checked) { border-color: var(--goud); background: #fbf7ee; box-shadow: 0 0 0 1px var(--goud) inset; }
.keuze-kaart.uit { opacity: .5; cursor: not-allowed; }
.keuze-kaart input { accent-color: var(--goud-donker); width: 18px; height: 18px; }
.uur-keuze label, .veld label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.uur-keuze .keuze { font-size: 16px; padding: 10px; }
.velden, .adres { display: grid; gap: 12px; }
.veld input, .veld textarea {
    width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--lijn); border-radius: 8px; background: var(--wit);
}
.veld input:focus, .veld textarea:focus, .uur-keuze select:focus { outline: 2px solid var(--goud); outline-offset: 0; }
.veld input[aria-invalid="true"] { border-color: #b4432f; background: #fdf4f2; }
.veld-fout { color: #a23a26; font-size: 13px; margin-top: 4px; }
.fout-blok { background: #fdf0ed; border-left: 4px solid #b4432f; padding: 10px 14px; border-radius: 6px; }
.overzicht { background: var(--zwart); color: var(--wit); border-radius: var(--rond); padding: 18px; display: grid; gap: 10px; align-self: start; }
.overzicht h2 { font-size: 22px; color: var(--goud-licht); }
.overzicht ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.overzicht li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #2c2925; padding-bottom: 6px; }
.overzicht .sub { color: #a9a196; display: block; }
.overzicht .totaal { padding: 6px 0 0; }
.overzicht .totaal strong { color: var(--goud-licht); }
.overzicht .knop { width: 100%; padding: 13px; font-size: 16px; }
.overzicht .link-knop { color: #cfc8bb; justify-self: center; }
.regel-kort { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--lijn); }
.regel-kort .sub { display: block; }
.bedankt { margin-top: 16px; }

@media (min-width: 900px) {
    .afreken-form { grid-template-columns: 1fr 360px; align-items: start; }
    .afreken-form > .stap, .afreken-form > .fout-blok { grid-column: 1; }
    .overzicht { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: 130px; }
    .keuzes { grid-template-columns: repeat(3, 1fr); }
    .velden { grid-template-columns: 1fr 1fr; }
    .veld.breed, .adres { grid-column: 1 / -1; }
    .adres { grid-template-columns: 2fr 1fr 2fr; }
    .adres .veld.breed { grid-column: auto; }
}

/* ---------- Account ---------- */
.account-knop { position: relative; color: var(--goud-licht); padding: 8px; display: flex; }
.account-knop .aan { position: absolute; right: 4px; bottom: 6px; width: 8px; height: 8px; border-radius: 999px; background: #7fbf5a; border: 2px solid var(--zwart); }
.formulier .veld label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.formulier .veld input { width: 100%; }
.formulier .veld input:disabled { background: #f3efe7; color: var(--grijs); }
.los { margin-top: 14px; }
.historiek { display: grid; gap: 12px; }
.hist-kaart { background: var(--wit); border-radius: var(--rond); box-shadow: var(--schaduw); padding: 14px; display: grid; gap: 10px; }
.hist-kaart header { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.hist-kaart header .prijs { margin: 0 0 0 auto; }
.hist-kaart ul { margin: 0; padding-left: 18px; font-size: 14px; }
.hist-kaart .knop { justify-self: start; }
@media (min-width: 640px) { .historiek { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .kop-binnen { grid-template-columns: auto 1fr auto auto; } }
