/* ═══════════════════════════════════════════════════════════════
   /uitdeelcadeautjes/ (views/nieuw/pagina-uitdeelcadeautjes.php),
   nieuwe opbouw. Lichte kop met collage, prijstabellen per bundel
   en pack, traktatie en kinderfeestje, diertjes en tips.
   Bouwt op css/nieuw/10-basis.css. Klassen: nw-cd-*.
   ═══════════════════════════════════════════════════════════════ */

/* ── Gedeeld blok nw-cd-* (views/nieuw/_cadeau.php) ──────────────
   Staat letterlijk gelijk in pagina-uitdeelcadeautjes.css en
   pagina-schoencadeautjes.css: de layout laadt per view één eigen
   bestand. Pas je hier iets aan, doe het in allebei. */

/* Kop: tekst links, collage rechts; onder 940px onder elkaar. */
.nw-cd-kop { position: relative; overflow: hidden; padding-block: clamp(18px, 2.6vw, 28px) clamp(40px, 5.4vw, 68px); }
.nw-cd-kop .nw-binnen { position: relative; display: grid; gap: clamp(24px, 3.4vw, 40px) clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 940px) {
    .nw-cd-kop .nw-binnen { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
    .nw-cd-kop .nw-kruimels { grid-column: 1 / -1; }
}
.nw-cd-kop-tekst { min-width: 0; }
.nw-cd-kop h1 { font-family: var(--nw-kop-font); font-weight: 700; letter-spacing: -.015em;
    font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.25rem); line-height: 1.05; margin: 16px 0; }
.nw-cd-kop h1 em { font-style: normal; }
.nw-cd-intro { font-size: clamp(1rem, .96rem + .25vw, 1.12rem); line-height: 1.65; max-width: 54ch; margin: 0 0 24px; }
.nw-cd-feiten { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nw-cd-feiten li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
    font-size: .86rem; font-weight: 500; line-height: 1.3; }
.nw-cd-kop .nw-cd-waarschuwing { margin-top: 22px; max-width: 560px; }
.nw-sectie .nw-cd-waarschuwing { margin: 0 0 clamp(16px, 2vw, 22px); max-width: 760px; }

/* Collage: drie witte tegels, licht gedraaid; de eerste groot. */
.nw-cd-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px);
    width: 100%; max-width: 480px; justify-self: center; }
.nw-cd-tegel { display: flex; flex-direction: column; gap: 2px; padding: 8px 8px 12px; border-radius: 20px; background: #fff;
    color: var(--nw-inkt); text-decoration: none; box-shadow: 0 16px 36px rgba(20, 32, 74, .16); transition: box-shadow .25s; }
.nw-cd-tegel:first-child { grid-row: span 2; align-self: center; transform: rotate(-2.5deg); }
.nw-cd-tegel:nth-child(2) { transform: rotate(2deg) translateY(6px); }
.nw-cd-tegel:nth-child(3) { transform: rotate(-1deg); }
.nw-cd-tegel:hover { color: var(--nw-inkt); box-shadow: 0 22px 46px rgba(20, 32, 74, .24); }
.nw-cd-tegel:focus-visible { outline: 3px solid var(--nw-navy); outline-offset: 3px; border-radius: 20px; }
.nw-cd-tegel-foto { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--nw-canvas); }
.nw-cd-tegel:first-child .nw-cd-tegel-foto { aspect-ratio: 1; }
.nw-cd-tegel-foto picture { display: contents; }
.nw-cd-tegel-foto img { width: 100%; height: 100%; object-fit: cover; }
.nw-cd-tegel-naam { font-family: var(--nw-kop-font); font-weight: 700; font-size: .92rem; line-height: 1.25; padding: 7px 4px 0; }
.nw-cd-tegel-prijs { font-size: .9rem; padding: 0 4px; }
@media (max-width: 599px) {
    .nw-cd-collage { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 10px; }
    .nw-cd-tegel { padding: 5px 5px 8px; border-radius: 14px; }
    .nw-cd-tegel:first-child { grid-row: auto; }
    .nw-cd-tegel:first-child .nw-cd-tegel-foto { aspect-ratio: 4 / 3; }
    .nw-cd-tegel:nth-child(2) { transform: rotate(2deg); }
    .nw-cd-tegel-foto { border-radius: 10px; }
    .nw-cd-tegel-naam { font-size: .76rem; padding-top: 5px; }
    .nw-cd-tegel-prijs { font-size: .78rem; }
}

/* Blokken en prijstabellen. */
.nw-cd-prijzen, .nw-cd-twee { display: grid; gap: clamp(14px, 2vw, 22px); align-items: start; }
@media (min-width: 880px) { .nw-cd-prijzen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 800px) { .nw-cd-twee { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
.nw-cd-blok { min-width: 0; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--nw-r-l); background: var(--nw-wit);
    border: 1px solid var(--nw-rand); box-shadow: var(--nw-schaduw-s); }
.nw-cd-blok > p { margin: 0 0 10px; color: var(--nw-inkt-zacht); line-height: 1.6; }
.nw-cd-blok > p:last-child { margin-bottom: 0; }
.nw-cd-blok-kop { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--nw-inkt);
    font-family: var(--nw-kop-font); font-weight: 700; font-size: clamp(1.15rem, 1.04rem + .45vw, 1.35rem); line-height: 1.2; }
.nw-cd-blok .nw-link { margin-top: 8px; }

.nw-cd-tabel-wrap { overflow-x: auto; margin: 4px 0 2px; }
.nw-cd-tabel { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.nw-cd-tabel th, .nw-cd-tabel td { padding: 4px 10px; border-bottom: 1px solid var(--nw-rand); text-align: left; vertical-align: middle; }
.nw-cd-tabel th:first-child { padding-left: 2px; }
.nw-cd-tabel td { text-align: right; white-space: nowrap; }
.nw-cd-tabel thead th { padding-block: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--nw-inkt-zacht); }
.nw-cd-tabel thead th + th { text-align: right; }
.nw-cd-tabel tbody th { font-weight: 600; }
.nw-cd-tabel tbody th a { display: inline-flex; align-items: center; min-height: 44px; color: var(--nw-inkt);
    font-family: var(--nw-kop-font); font-weight: 700; text-decoration: underline; text-decoration-color: var(--nw-geel);
    text-decoration-thickness: 3px; text-underline-offset: 5px; }
.nw-cd-tabel tbody th a:hover { color: var(--nw-oranje-inkt); }
.nw-cd-tabel .nw-cd-los th, .nw-cd-tabel .nw-cd-los td { height: 46px; color: var(--nw-inkt-zacht); font-weight: 500; }
.nw-cd-tabel .nw-prijs { font-weight: 600; }
.nw-cd-tabel tr.is-laagst { background: #FFF4E6; }
.nw-cd-laagst { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; vertical-align: 1px;
    background: var(--nw-flexi-fidget-inkt); color: #fff; font-family: var(--nw-kop-font); font-size: .78rem; font-weight: 700; }
@media (max-width: 480px) {
    .nw-cd-tabel th, .nw-cd-tabel td { padding-inline: 6px; }
    .nw-cd-laagst { display: block; width: fit-content; margin: 2px 0 4px auto; }
}

/* Tips: kaartjes met een icoon in de wereldkleur naast de kop. */
.nw-cd-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 1.8vw, 18px);
    grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); }
.nw-cd-tip { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; column-gap: 14px;
    padding: 20px 22px 22px; border-radius: var(--nw-r-m); background: var(--nw-wit); border: 1px solid var(--nw-rand); }
.nw-cd-tip h3 { margin: 0; color: var(--nw-inkt); font-family: var(--nw-kop-font); font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.nw-cd-tip p { grid-column: 1 / -1; margin: 12px 0 0; color: var(--nw-inkt-zacht); font-size: .98rem; line-height: 1.6; }

/* Slotkaart (navy): een regel tekst en knoppen naar verwante pagina's. */
.nw-cd-slot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
    padding: clamp(24px, 3.4vw, 44px); border-radius: var(--nw-r-l); color: #C9D3F2;
    background: radial-gradient(110% 140% at 100% 0%, #2A3B7C 0%, var(--nw-navy) 55%, var(--nw-navy-diep) 100%); }
.nw-cd-slot-tekst { max-width: 56ch; }
.nw-cd-slot h2 { margin: 0 0 8px; color: #fff; font-family: var(--nw-kop-font); font-weight: 700;
    font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2rem); line-height: 1.15; }
.nw-cd-slot h2 em { font-style: normal; color: var(--nw-geel); }
.nw-cd-slot p { margin: 0; line-height: 1.6; }
.nw-cd-slot :focus-visible { outline-color: var(--nw-geel); }

@media (prefers-reduced-motion: reduce) {
    .nw-cd-tegel { transition: none; }
}

/* ── Alleen /uitdeelcadeautjes/ ───────────────────────────────── */
/* Lichte kop in de tint van Flexi & fidget; oranje tekst alleen in de grote kop (AA groot). */
.nw-cd-kop--uitdeel { color: var(--nw-inkt);
    background: linear-gradient(180deg, var(--nw-flexi-fidget-tint) 0%, #FFF3E6 68%, var(--nw-canvas) 100%); }
.nw-cd-kop--uitdeel h1 { color: var(--nw-inkt); }
.nw-cd-kop--uitdeel h1 em { color: var(--nw-oranje-inkt); }
.nw-cd-kop--uitdeel .nw-cd-intro { color: var(--nw-inkt-zacht); }
.nw-cd-kop--uitdeel .nw-cd-feiten li { background: var(--nw-wit); color: var(--nw-inkt); box-shadow: var(--nw-schaduw-s); }
.nw-cd-kop--uitdeel .nw-cd-feiten .nw-icoon { color: var(--nw-oranje-inkt); }
.nw-cd-kop--uitdeel .nw-knop--rand { background: rgba(255, 255, 255, .6); }
.nw-cd-kop--uitdeel .nw-knop--rand:hover { background: var(--nw-inkt); }
