/* ═══════════════════════════════════════════════════════════════
   /schoencadeautjes/ (views/nieuw/pagina-schoencadeautjes.php),
   nieuwe opbouw. Warme kop met collage, cadeautjes tot 5 euro,
   ideeën voor in de schoen 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 /schoencadeautjes/ ────────────────────────────────── */
/* Warme kop: donker oranje, zodat witte tekst AA haalt (5,2:1 op het lichtste punt). */
.nw-cd-kop--schoen { color: #fff;
    background: radial-gradient(120% 100% at 85% 0%, #C2410C 0%, #A8350A 55%, #8A2B08 100%); }
.nw-cd-kop--schoen h1 { color: #fff; }
.nw-cd-kop--schoen h1 em { color: #FFD66B; }
.nw-cd-kop--schoen .nw-cd-intro { color: #FFF1E6; }
.nw-cd-kop--schoen .nw-cd-feiten li { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.nw-cd-kop--schoen .nw-cd-feiten .nw-icoon { color: var(--nw-geel); }
.nw-cd-kop--schoen .nw-kruimels ol { color: #FFD9BF; }
.nw-cd-kop--schoen .nw-kruimels a { color: #FFE7D0; }
.nw-cd-kop--schoen .nw-kruimels a:hover, .nw-cd-kop--schoen .nw-kruimels [aria-current] { color: #fff; }
.nw-cd-kop--schoen .nw-kruimels li + li::before { color: #F5A76B; }
.nw-cd-kop--schoen :focus-visible { outline-color: var(--nw-geel); }

/* Ideeën: kaartjes met een paar diertjes of een bundel en een pack. */
.nw-cd-ideeen { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 1.8vw, 18px);
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.nw-cd-idee { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 20px; border-radius: var(--nw-r-l);
    background: var(--nw-wit); border: 1px solid var(--nw-rand); box-shadow: var(--nw-schaduw-s); }
.nw-cd-idee h3 { margin: 0; color: var(--nw-inkt); font-family: var(--nw-kop-font); font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.nw-cd-idee > p { margin: 0 0 8px; color: var(--nw-inkt-zacht); font-size: .96rem; line-height: 1.55; }
.nw-cd-minis, .nw-cd-opties { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.nw-cd-mini, .nw-cd-optie { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 12px 6px 6px;
    border-radius: 14px; background: var(--nw-canvas); border: 1px solid transparent; color: var(--nw-inkt); text-decoration: none;
    transition: border-color .2s, background-color .2s; }
.nw-cd-mini:hover, .nw-cd-optie:hover { background: var(--nw-wit); border-color: var(--nw-flexi-fidget-kleur); color: var(--nw-inkt); }
.nw-cd-mini-foto { width: 58px; height: 44px; flex: none; display: grid; place-items: center; overflow: hidden;
    border-radius: 10px; background: var(--nw-wit); color: var(--nw-flexi-fidget-inkt); }
.nw-cd-mini-foto picture { display: contents; }
.nw-cd-mini-foto img { width: 100%; height: 100%; object-fit: cover; }
.nw-cd-mini-naam { flex: 1; min-width: 0; font-family: var(--nw-kop-font); font-weight: 700; font-size: .93rem; line-height: 1.25; }
.nw-cd-mini-prijs, .nw-cd-optie-prijs { flex: none; font-size: .92rem; }
.nw-cd-optie { align-items: flex-start; padding: 12px; }
.nw-cd-optie > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nw-cd-optie strong { font-family: var(--nw-kop-font); font-weight: 700; font-size: .98rem; line-height: 1.25; }
.nw-cd-optie small { color: var(--nw-inkt-zacht); font-size: .86rem; line-height: 1.45; }

/* Vaker schoen zetten: over de hele breedte, tekst links en de twee keuzes rechts. */
.nw-cd-idee--vaker { grid-column: 1 / -1; }
@media (min-width: 900px) {
    .nw-cd-idee--vaker { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 32px; align-content: center; }
    .nw-cd-idee--vaker > h3 { grid-column: 1; align-self: end; }
    .nw-cd-idee--vaker > p { grid-column: 1; margin-bottom: 0; }
    .nw-cd-idee--vaker .nw-cd-opties { grid-column: 2; grid-row: 1 / span 2; margin: 0;
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
}

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