/* ═══════════════════════════════════════════════════════════════
   SINT & KERST — index-kerst.html (De Hondenbijbel)
   Shared Christmas template: red (actions, urgency)
   + deep blue (text, trust) + icy blue-white background. Loaded after style-kerst.css.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #F3F7FB;           /* snow */
  --light: #EAF1F8;
  --section: #DCE8F4;      /* icy blue for alternating sections */
  --heading: #1B2F4E;      /* midnight blue */
  --body: #3E5470;
  --muted: #7A8FA8;
  --dark: #12213A;
  --cta: #C8322B;          /* festive red */
  --cta-hover: #A3251F;
  --accent: #2F6DB5;       /* gift blue */
  --highlight: #BFD8F2;
  --red: #C8322B;
  --red-soft: #FBE7E5;
  --blue: #2F6DB5;
  --blue-soft: #E3EEF9;
}

body { background: var(--bg); }

/* ─── Top bar above navigation ─── */
.xmas-bar {
  background: var(--red); color: #FFF3F2;
  font-size: 14.5px; line-height: 1.35; text-align: center; padding: 10px 16px;
  position: relative; z-index: 60;
}
.xmas-bar strong { color: #FFFFFF; font-weight: 700; }
.xmas-bar .xmas-count {
  display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.16); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.xmas-bar a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .xmas-bar { font-size: 13.5px; padding: 9px 12px; } }

/* ─── Navigation ─── */
.nav-cta { background: var(--red) !important; }
.nav-cta:hover { background: var(--cta-hover) !important; }

/* ─── Hero ─── */
.hero-section { background: #FFFFFF; }
.hero-left h1 .xmas-h1-accent { color: var(--red); }
.hero-left h1 .highlight-yellow { background: linear-gradient(transparent 50%, var(--highlight) 50%); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.btn-cta { background: linear-gradient(135deg, var(--red) 0%, var(--cta-hover) 100%) !important; box-shadow: 0 8px 28px rgba(200,50,43,0.30), inset 0 1px 0 rgba(255,255,255,0.22) !important; }
.hero-self-link { font-size: 15px; color: var(--body); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--muted); }
.hero-self-link:hover { color: var(--heading); }

/* ─── Proof strip below hero: 3 badges ─── */
.proof-strip {
 background: var(--dark);
 background-image: radial-gradient(circle at 12% 0%, rgba(47,109,181,.35), transparent 42%), radial-gradient(circle at 92% 100%, rgba(200,50,43,.28), transparent 40%);
 padding: 0 20px;
}
.proof-strip-inner {
 max-width: 1050px; margin: 0 auto;
 display: grid; grid-template-columns: repeat(3, 1fr);
}
.proof-item {
 display: flex; align-items: center; gap: 16px;
 padding: 24px 28px;
 color: #fff;
 position: relative;
}
.proof-item + .proof-item::before {
 content: ''; position: absolute; left: 0; top: 18px; bottom: 18px;
 width: 1px; background: rgba(255,255,255,.14);
}
.proof-icon {
 flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%;
 display: grid; place-items: center;
 background: rgba(255,255,255,.08);
 box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.proof-lang .proof-icon { background: rgba(255,255,255,.92); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.proof-bestseller .proof-icon { background: #FBE7E5; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.proof-text { display: flex; flex-direction: column; gap: 3px; }
.proof-text strong { font-family: 'DM Sans', sans-serif; font-size: 16.5px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.proof-text span { font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.3; }
@media (max-width: 900px) {
 .proof-strip-inner { grid-template-columns: 1fr; }
 .proof-item { padding: 14px 6px; gap: 14px; }
 .proof-item + .proof-item::before { left: 6px; right: 6px; top: 0; bottom: auto; width: auto; height: 1px; }
 .proof-icon { flex-basis: 48px; width: 48px; height: 48px; }
 .proof-icon svg { width: 28px; height: 28px; }
 .proof-text strong { font-size: 15.5px; }
 .proof-text span { font-size: 13px; }
}

/* ─── Block: three gift questions ─── */
.gift-why { background: var(--bg); padding: 64px 20px 56px; }
.gift-why-inner { max-width: 1050px; margin: 0 auto; }
.gift-why h2 { text-align: left; max-width: 680px; margin: 0 0 10px; }
.gift-why .gift-why-lead { color: var(--body); font-size: 17px; max-width: 620px; margin: 0 0 36px; }
.gift-why-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 28px 32px; }
.gift-why-list li { padding-top: 14px; border-top: 2px solid var(--blue); }
.gift-why-list .num { font-size: 44px; line-height: 1; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.gift-why-list h3 { font-size: 21px; margin: 0 0 8px; color: var(--heading); }
.gift-why-list p { color: var(--body); font-size: 15.5px; line-height: 1.55; margin: 0; }
.gift-why-list p strong { color: var(--heading); }
@media (max-width: 860px) { .gift-why-list { grid-template-columns: 1fr; gap: 22px; } .gift-why-list .num { font-size: 36px; } }

/* ─── Offer ─── */
.offer-banner h2 .xmas-until { color: var(--red); }
.xmas-set {
  margin: 18px 0 0; padding: 18px 20px; border-radius: 14px;
  background: var(--blue-soft); border: 1px solid #C5D9EE;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.xmas-set .xmas-set-icon { font-size: 30px; line-height: 1; }
.xmas-set .xmas-set-text { flex: 1 1 260px; color: var(--body); font-size: 15px; line-height: 1.5; }
.xmas-set .xmas-set-text strong { color: var(--heading); }
.xmas-set .xmas-set-price { font-size: 22px; font-weight: 800; color: var(--red); white-space: nowrap; }
.xmas-set .xmas-set-price small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: right; }

/* ─── Misc ─── */
.voor-jou { padding-top: 56px; }
.final-offer-heading .hl-underline { text-decoration-color: var(--red); }
.ice-guarantee { border-color: var(--blue) !important; }
.faq-item.xmas .faq-question h3::before { content: "🎁 "; }
@media (prefers-reduced-motion: reduce) { .hero-right img { animation: none !important; } }

/* ─── Offer benefit cards: alternate blue / red ─── */
.offer-card.c-purple  { background: #1B2F4E; }
.offer-card.c-red     { background: #C8322B; }
.offer-card.c-crimson { background: #2F6DB5; }
.offer-card.c-green   { background: #A3251F; }
.offer-card.c-orange  { background: #4F86C6; }
.offer-card.c-indigo  { background: #3E5470; }
.offer-card.c-blue    { background: #C8322B; }

/* ─── Hard-coded purple leftovers in the base template ─── */
.urgency-box { background: linear-gradient(135deg, #12213A 0%, #1B2F4E 55%, #24406A 100%) !important; }
.faq-question h3 { color: var(--heading) !important; }
.faq-icon { color: var(--red) !important; }
.carousel-icon { background: linear-gradient(135deg, rgba(47,109,181,0.14), rgba(200,50,43,0.08)) !important; box-shadow: 0 2px 8px rgba(47,109,181,0.12) !important; }
.carousel-btn { box-shadow: 0 4px 12px rgba(200,50,43,0.22) !important; }
.jou-highlight { background: var(--heading) !important; color: #fff !important; }
.shipping-box .hl-orange, .faq-heading .hl-orange { background: linear-gradient(180deg, transparent 55%, var(--highlight) 55%) !important; }
.highlight-underline { text-decoration-color: var(--red) !important; }
.review-photo-card { background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, var(--red), var(--blue)) !important; }

/* ═══ Template additions ═══ */
.proof-delivery .proof-icon { background: #FFF6E0; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.book-preview { padding: 72px 20px; }
.book-preview .highlight-teal { background: linear-gradient(transparent 50%, var(--highlight) 50%); font-style: normal; }
.book-preview h2 em { font-style: italic; }
.ugc-item { aspect-ratio: 4 / 5; position: relative; }
.ugc-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px;
  background: linear-gradient(transparent, rgba(18,33,58,.78));
  color: #fff; font-size: 12.5px; font-weight: 700; text-align: center; line-height: 1.3;
}
.ugc-item .ugc-stars { display: block; font-size: 10px; letter-spacing: 1px; margin-bottom: 2px; }
.auteur-photo.auteur-photo-square { max-width: 380px; border-radius: 16px; }
.guarantee-seal { font-size: 12px; letter-spacing: .02em; }
.hero-right img { filter: drop-shadow(0 18px 30px rgba(27,47,78,.18)); }
.site-footer .footer-logo { background: #FFFFFF; padding: 8px 14px; border-radius: 12px; height: auto; width: 190px; max-width: 100%; box-sizing: border-box; aspect-ratio: auto; object-fit: contain; }

/* Logo is a wide wordmark (500×98): no fixed aspect ratio */
.nav-logo img { aspect-ratio: auto; height: 40px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 480px) { .nav-logo img { height: 34px; } }

/* Hero image: square 1200×1200 with a transparent margin (matches the 420×420
   width/height attributes → no layout shift); negative margins swallow the transparent band */
.hero-right img { aspect-ratio: 1 / 1; max-width: none; }
@media (min-width: 1024px) {
  .hero { gap: 32px; }
}
@media (min-width: 1366px) {
  .hero-right img { width: 740px !important; margin: -40px -150px -40px -30px; }
}
@media (min-width: 1200px) and (max-width: 1365px) {
  .hero-right img { width: 660px !important; margin: -36px -60px -36px -30px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-right img { width: 560px !important; margin: -30px -10px -30px -30px; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .hero-right { margin: 0 auto; }
  .hero-right img { width: 520px !important; max-width: 100%; margin: -40px auto -34px; }
}
@media (max-width: 768px) {
  .hero-right { width: 100%; }
  /* ~4 % transparent edge on each side may bleed into the 20px gutter */
  .hero-right img { width: min(calc(100% + 28px), 380px) !important; max-width: none; margin: -26px -14px -22px; }
}

/* ═══ De Hondenbijbel — Sint & Kerst additions ═══ */
/* Legal entity line: present in the DOM for payment-provider verification, visually hidden */
.legal-entity-banner {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Sinterklaas deadline fragments disappear after 22 November (set by script) */
body.after-sint .dl-sint { display: none; }

/* Receipt row without a struck-through value ("inbegrepen") */
.xm-receipt .xr-val.xr-inc { color: var(--xr-green); }
.xm-receipt .xr-val.xr-inc::after { display: none; }

/* Sinterklaas poem in the gift block */
.sint-poem {
  margin: 36px auto 0; max-width: 620px; padding: 20px 24px 22px; border-radius: 14px;
  background: var(--blue-soft); border: 1px solid #C5D9EE; position: relative;
}
.sint-poem .sint-poem-label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 10px;
}
.sint-poem blockquote { margin: 0; padding: 0 0 0 16px; border-left: 3px solid var(--red); }
.sint-poem blockquote p {
  font-family: 'Recoleta', serif; font-size: 18px; line-height: 1.55; color: var(--heading); margin: 0;
}
.sint-poem .sint-poem-sign { margin: 10px 0 0; font-size: 14px; color: var(--muted); font-style: italic; }
@media (max-width: 600px) {
  .sint-poem { padding: 16px 16px 18px; }
  .sint-poem blockquote p { font-size: 16px; }
}

/* Six reader photos: 3 per row instead of 4 */
.ugc-gallery .ugc-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .ugc-gallery .ugc-grid { grid-template-columns: repeat(2, 1fr); } }

/* Square-ish payment badges (iDEAL | Wero etc.) */
.payment-row .pay-icon, .footer-payments .pay-icon { background: #FFFFFF; }

/* Wider hero on desktop: the long H1 gets a wider column instead of 9 narrow lines */
@media (min-width: 1200px) {
  .hero-section .section-inner { max-width: 1180px !important; }
  .hero-right img { width: 640px !important; margin: -34px -40px -34px -30px; }
}
@media (min-width: 1366px) {
  .hero-section .section-inner { max-width: 1260px !important; }
  .hero-right img { width: 700px !important; margin: -38px -70px -38px -30px; }
}

/* Desktop hero: text column ~58 %, picture ~42 %, smaller H1 so the left column stays low */
@media (min-width: 1024px) {
  .hero-section .section-inner { max-width: 1260px !important; }
  .hero-section .hero { gap: 28px; align-items: center !important; }
  .hero-section .hero-left { flex: 1 1 0; min-width: 0; }
  .hero-section .hero-right { flex: 0 0 42%; }
  .hero-section .hero-right img { width: 112% !important; max-width: none; margin: -6% -6% -6% -6%; }
  .hero-left h1 { font-size: clamp(28px, 2.45vw, 36px) !important; line-height: 1.16; }
}
