/* Kopie van de brand: pithco/dtvj-brand onderdelen/actie/stijl.css (26 november 2026). Pas het onderdeel in de brand aan, niet hier; daarna opnieuw kopiëren met een nieuw versienummer. */
/* Actie: één vorm voor elke tijdelijke aanbieding (Kees, 26 november 2026: "een soort uniforme strakheid, ook al heeft
   hij een andere achtergrondkleur of dwarrelen er met kerst sterretjes over een groene"). De balk en het blok zijn bij
   elke actie gelijk; data-seizoen kiest alleen het vlak, het accent en één decor. Aftellen in woorden, nooit seconden. */
.dtvj-actie-balk, .dtvj-actie { --actie-vlak: var(--kleur-paars-vol, #7b40f2); --actie-tekst: #fffcf8; --actie-accent: var(--kleur-geel, #ffc82d); --actie-label: #1a1216; }
[data-seizoen="black-friday"] { --actie-vlak: #0d0a0c; --actie-tekst: #fffcf8; --actie-accent: #f3c94f; --actie-label: #1a1216; --actie-goud: linear-gradient(100deg, #b8860b 0%, #f7d774 28%, #fff3c4 46%, #e8b923 64%, #a8740a 100%); }
[data-seizoen="kerst"] { --actie-vlak: #1e5a3e; --actie-tekst: #fffcf8; --actie-accent: var(--kleur-geel, #ffc82d); --actie-label: #1a1216; }
[data-seizoen="zomer"] { --actie-vlak: var(--kleur-geel-bleek, #fff8e1); --actie-tekst: var(--kleur-inkt, #1a1216); --actie-accent: var(--kleur-roze-tekst, #e24a7b); --actie-label: #fffcf8; }
[data-seizoen="moederdag"], [data-seizoen="lancering"] { --actie-vlak: #fde3ec; --actie-tekst: var(--kleur-inkt, #1a1216); --actie-accent: var(--kleur-paars-vol, #7b40f2); --actie-label: #fffcf8; }

/* De balk: één regel, 52 px, de hele balk is de link. */
.dtvj-actie-balk { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 8px 20px; margin: 0 0 24px; border-radius: 14px; background: var(--actie-vlak); color: var(--actie-tekst); font: 700 16px/1.25 var(--letter-tekst, "DM Sans", sans-serif); text-decoration: none; overflow: hidden; }
.dtvj-actie-balk__label { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--actie-accent); color: var(--actie-label); font-size: 13px; letter-spacing: 0.04em; }
.dtvj-actie-balk__nog { flex: none; font-family: var(--letter-hand, "Caveat", cursive); font-size: 24px; font-weight: 700; line-height: 1; color: var(--actie-accent); }
.dtvj-actie-balk__pijl { flex: none; transition: translate .35s cubic-bezier(.215,.61,.355,1); }
.dtvj-actie-balk:hover .dtvj-actie-balk__pijl { translate: 4px 0; }

/* Het blok: links de tekst, rechts het product met een stickertje. */
.dtvj-actie { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin: 0 0 24px; padding: clamp(28px, 5vw, 56px); border-radius: var(--hoek-kaart, 28px); background: var(--actie-vlak); color: var(--actie-tekst); overflow: hidden; }
.dtvj-actie__label { margin: 0; font-family: var(--letter-hand, "Caveat", cursive); font-size: 32px; font-weight: 700; line-height: 1; color: var(--actie-accent); }
.dtvj-actie__kop { margin: 10px 0 18px; font-family: var(--letter-kop, "Playfair Display", serif); font-weight: 700; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -0.02em; color: var(--actie-tekst); }
.dtvj-actie__kop em { font-style: italic; color: var(--actie-accent); }
.dtvj-actie__prijs { display: flex; align-items: baseline; gap: 14px; margin: 0 0 8px; }
.dtvj-actie__prijs del { font: 600 20px var(--letter-tekst, "DM Sans", sans-serif); color: var(--actie-tekst); opacity: 1; text-decoration-thickness: 2px; text-decoration-color: var(--actie-accent); }
.dtvj-actie__prijs strong { font-family: var(--letter-kop, "Playfair Display", serif); font-weight: 700; font-size: clamp(44px, 6vw, 68px); line-height: 1; color: var(--actie-tekst); }
.dtvj-actie__nog { margin: 0 0 24px; font-size: 16px; line-height: 1.45; color: var(--actie-tekst); }
.dtvj-actie__nog b { font-family: var(--letter-hand, "Caveat", cursive); font-size: 26px; color: var(--actie-accent); }
.dtvj-actie__product { position: relative; margin: 0; justify-self: center; }
.dtvj-actie__product img { display: block; width: min(100%, 300px); height: auto; border-radius: 16px; rotate: 3deg; box-shadow: 0 24px 48px -24px rgb(20 10 15 / 0.55); }
.dtvj-actie__sticker { position: absolute; top: -14px; left: -14px; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 999px; background: var(--kleur-roze, #f65d8b); color: #fffcf8; font: 800 22px/1 var(--letter-tekst, "DM Sans", sans-serif); rotate: -10deg; box-shadow: 0 10px 24px -10px rgb(20 10 15 / 0.5); }

/* Decor per seizoen, achter alles. */
[data-seizoen="kerst"].dtvj-actie::before, [data-seizoen="kerst"].dtvj-actie-balk::before { content: ""; position: absolute; inset: -40% 0 0; z-index: -1; pointer-events: none; opacity: 0.85;
  background-image: radial-gradient(2px 2px at 12% 18%, #fff 60%, transparent 62%), radial-gradient(3px 3px at 28% 62%, #ffe9a8 60%, transparent 62%), radial-gradient(2px 2px at 46% 34%, #fff 60%, transparent 62%), radial-gradient(3px 3px at 64% 78%, #fff 60%, transparent 62%), radial-gradient(2px 2px at 82% 26%, #ffe9a8 60%, transparent 62%), radial-gradient(2.5px 2.5px at 92% 58%, #fff 60%, transparent 62%), radial-gradient(2px 2px at 6% 84%, #fff 60%, transparent 62%), radial-gradient(3px 3px at 54% 8%, #ffe9a8 60%, transparent 62%);
  background-size: 100% 50%; background-repeat: repeat; animation: dtvj-sneeuw 14s linear infinite; }
.dtvj-actie-balk::before { z-index: 0; }
.dtvj-actie-balk > * { position: relative; z-index: 1; }
@keyframes dtvj-sneeuw { to { transform: translateY(40%); } }
[data-seizoen="zomer"].dtvj-actie::before { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 999px; background: var(--kleur-zalm, #f5b7a1); opacity: 0.7; }
@media (prefers-reduced-motion: reduce) { [data-seizoen="kerst"]::before { animation: none; } }
@media (max-width: 720px) {
  .dtvj-actie { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .dtvj-actie__product { order: -1; justify-self: start; }
  .dtvj-actie__product img { width: 140px; }
  .dtvj-actie__sticker { width: 64px; height: 64px; font-size: 18px; }
  .dtvj-actie-balk { flex-wrap: wrap; gap: 6px 10px; font-size: 14px; }
  .dtvj-actie-balk__aanbod { flex-basis: 100%; text-align: center; order: 3; }
}
/* Meer en grotere sterretjes bij kerst, in twee lagen die elk in hun eigen tempo dwarrelen. */
[data-seizoen="kerst"].dtvj-actie::after { content: ""; position: absolute; inset: -60% 0 0; z-index: -1; pointer-events: none; opacity: 0.9;
  background-image: radial-gradient(3px 3px at 8% 40%, #fff 60%, transparent 62%), radial-gradient(4px 4px at 22% 12%, #fff 55%, transparent 60%), radial-gradient(2.5px 2.5px at 36% 70%, #ffe9a8 60%, transparent 62%), radial-gradient(4px 4px at 50% 46%, #fff 55%, transparent 60%), radial-gradient(3px 3px at 70% 18%, #fff 60%, transparent 62%), radial-gradient(4px 4px at 88% 80%, #ffe9a8 55%, transparent 60%), radial-gradient(3px 3px at 96% 36%, #fff 60%, transparent 62%), radial-gradient(2.5px 2.5px at 60% 92%, #fff 60%, transparent 62%);
  background-size: 100% 40%; animation: dtvj-sneeuw 22s linear infinite; }
@media (prefers-reduced-motion: reduce) { [data-seizoen="kerst"]::after { animation: none; } }

/* ---------- Black Friday: zwart en goud, met sterretjes die oplichten (Kees, 26 november 2026: "echt wat toffers") ----------
   De enige actie op zwart. Het label staat vet op een gouden penseelstreek (de penseelstreek van het merk), de korting
   en het accentwoord in goud, en losse sterretjes die elk op hun eigen moment oplichten. */
[data-seizoen="black-friday"] .dtvj-actie__label, [data-seizoen="black-friday"] .dtvj-actie-balk__label { position: relative; isolation: isolate; display: inline-block; padding: 0.18em 0.55em 0.12em; background: none; font-family: var(--letter-tekst, "DM Sans", sans-serif); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.01em; color: #1a1216; rotate: -5deg; }
[data-seizoen="black-friday"] .dtvj-actie__label::before, [data-seizoen="black-friday"] .dtvj-actie-balk__label::before { content: ""; position: absolute; z-index: -1; inset: -0.12em -0.35em; background: var(--actie-goud); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20200%2024%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M2%2013.5C6%208%2018%206.5%2034%206c36-1%2076-1.8%20116-1%2020%20.4%2036%201.3%2046%203.6%203%20.7%202.5%202.4-1%202.8-6%20.6-3%201.8%202%202.6%202%20.6%200%202.4-5%202.8-32%202.2-74%201.8-112%202.8-28%20.8-54%201.6-71%200-6-.6-8.5-3.1-7-6.1z%20M178%2019.6c4-.8%209-.6%2013%20.3-3%201.3-9%201.5-13-.3z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20200%2024%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M2%2013.5C6%208%2018%206.5%2034%206c36-1%2076-1.8%20116-1%2020%20.4%2036%201.3%2046%203.6%203%20.7%202.5%202.4-1%202.8-6%20.6-3%201.8%202%202.6%202%20.6%200%202.4-5%202.8-32%202.2-74%201.8-112%202.8-28%20.8-54%201.6-71%200-6-.6-8.5-3.1-7-6.1z%20M178%2019.6c4-.8%209-.6%2013%20.3-3%201.3-9%201.5-13-.3z%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
[data-seizoen="black-friday"] .dtvj-actie__label { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; margin-bottom: 8px; }
[data-seizoen="black-friday"] .dtvj-actie-balk__label { font-size: 15px; }
[data-seizoen="black-friday"] .dtvj-actie__kop em, [data-seizoen="black-friday"] .dtvj-actie__prijs strong, [data-seizoen="black-friday"] .dtvj-actie__nog b, [data-seizoen="black-friday"] .dtvj-actie-balk__nog { background: var(--actie-goud); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-seizoen="black-friday"] .dtvj-actie__sticker { background: var(--actie-goud); color: #1a1216; font-weight: 900; }
[data-seizoen="black-friday"].dtvj-actie { box-shadow: inset 0 0 0 1px rgb(243 201 79 / 0.18); }
/* De sterretjes: losse spans in .dtvj-actie__sterren, elk een vierpuntige ster die oplicht en dooft. */
.dtvj-actie__sterren { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dtvj-actie__sterren i { position: absolute; width: var(--g, 14px); height: var(--g, 14px); background: #fff7d6; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 6px rgb(255 230 150 / 0.9)); opacity: 0.15; scale: 0.4; animation: dtvj-twinkel 3.2s ease-in-out infinite; animation-delay: var(--w, 0s); }
.dtvj-actie__sterren i:nth-child(1) { left: 6%; top: 14%; --g: 18px; --w: 0s; }
.dtvj-actie__sterren i:nth-child(2) { left: 38%; top: 8%; --g: 10px; --w: 1.1s; }
.dtvj-actie__sterren i:nth-child(3) { left: 52%; top: 70%; --g: 14px; --w: 2.2s; }
.dtvj-actie__sterren i:nth-child(4) { left: 88%; top: 12%; --g: 22px; --w: 0.6s; }
.dtvj-actie__sterren i:nth-child(5) { left: 94%; top: 78%; --g: 12px; --w: 1.7s; }
.dtvj-actie__sterren i:nth-child(6) { left: 30%; top: 88%; --g: 9px; --w: 2.6s; }
.dtvj-actie__sterren i:nth-child(7) { left: 66%; top: 26%; --g: 8px; --w: 0.3s; }
.dtvj-actie-balk .dtvj-actie__sterren i { --g: 9px; }
@keyframes dtvj-twinkel { 0%, 100% { opacity: 0.12; scale: 0.35; rotate: 0deg; } 45% { opacity: 1; scale: 1; rotate: 45deg; } 60% { opacity: 0.85; scale: 0.9; } }
@media (prefers-reduced-motion: reduce) { .dtvj-actie__sterren i { animation: none; opacity: 0.7; scale: 0.8; } }
/* De smalle balk op de site: 44 px, één regel, ook bij Black Friday. */
[data-seizoen="black-friday"].dtvj-actie-balk { min-height: 44px; padding-block: 4px; border-radius: 12px; }
[data-seizoen="black-friday"].dtvj-actie-balk .dtvj-actie-balk__label { font-size: 14px; padding: 0.15em 0.6em 0.1em; }
[data-seizoen="black-friday"] .dtvj-actie-balk__nog { font-size: 22px; }

/* Black Friday, ronde 2 (Kees, 26 november 2026): goud alleen in de penseelstreek van het label; de rest in het geel
   van de site. Een cadeau krijgt een stickertje ‘Cadeau’ en een onderschrift; de code staat klein onder de knop. */
[data-seizoen="black-friday"] { --actie-accent: var(--kleur-geel, #ffc82d); }
[data-seizoen="black-friday"] .dtvj-actie__kop em, [data-seizoen="black-friday"] .dtvj-actie__prijs strong, [data-seizoen="black-friday"] .dtvj-actie__nog b, [data-seizoen="black-friday"] .dtvj-actie-balk__nog { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--actie-accent); }
[data-seizoen="black-friday"] .dtvj-actie__sticker { background: var(--kleur-roze, #f65d8b); color: #fffcf8; font-weight: 800; }
.dtvj-actie__sticker { width: auto; min-width: 84px; height: auto; min-height: 44px; padding: 10px 16px; border-radius: 999px; font-size: 17px; }
.dtvj-actie__product figcaption { margin-top: 18px; max-width: 300px; font-size: 15px; line-height: 1.45; text-align: center; color: var(--actie-tekst); }
.dtvj-actie__product figcaption b { display: block; }
.dtvj-actie__code { margin: 16px 0 0; font-size: 15px; color: var(--actie-tekst); }
.dtvj-actie__code b { letter-spacing: 0.06em; }
.dtvj-actie__kop em { font-style: italic; }

/* Zo telt een actie af: de stappen op een rij (alleen in de brandkit, om het te laten zien). */
.dtvj-actie-stappen { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.dtvj-actie-stappen span { padding: 6px 14px; border-radius: 999px; background: #0d0a0c; color: var(--kleur-geel, #ffc82d); font-family: var(--letter-hand, "Caveat", cursive); font-size: 22px; font-weight: 700; line-height: 1.1; }

/* Site-adapter (alleen website): de balk vult de vaste balk bovenaan, het blok staat na de hero. */
body.pubergids-page .pubergids-announcement, body.leergids-page .urgentie-bar { padding: 0 !important; background: #0d0a0c; }
.pubergids-page .pubergids-announcement .wrap, .leergids-page .urgentie-bar .wrap { max-width: none; }
.bf-balk a.dtvj-actie-balk { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; box-sizing: border-box; margin: 0; border-radius: 0; min-height: var(--bf-bar-height, 52px); padding: 8px 20px; color: var(--actie-tekst); font: 700 16px/1.25 var(--letter-tekst, "DM Sans", sans-serif); white-space: normal; }
.dtvj-actie-plek { padding: clamp(24px, 5vw, 48px) var(--edge, 20px); }
.dtvj-actie-plek > .dtvj-actie { max-width: 1100px; margin: 0 auto; }
.dtvj-actie .dtvj-knop { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 999px; background: var(--kleur-roze, #f65d8b); color: #fffcf8; font: 700 17px/1.2 var(--letter-tekst, "DM Sans", sans-serif); text-decoration: none; }
@media (max-width: 768px) {
  .bf-balk a.dtvj-actie-balk { gap: 8px; padding: 6px 10px; font-size: 13px; }
  .bf-balk a.dtvj-actie-balk .dtvj-actie-balk__label { font-size: 11px; padding: 4px 9px; }
  .bf-balk a.dtvj-actie-balk .dtvj-actie-balk__nog { font-size: 20px; }
  .bf-balk a.dtvj-actie-balk .dtvj-actie-balk__pijl { display: none; }
}
/* Site-adapter, telefoon (eigenaar, 27 november 2026): het cadeau groot en over de hele breedte,
   gecentreerd, met het onderschrift eronder, in plaats van een klein plaatje links. */
@media (max-width: 720px) {
  .dtvj-actie__product { justify-self: stretch; display: grid; justify-items: center; padding: 8px 0 4px; }
  .dtvj-actie__product img { width: min(72%, 280px); }
  .dtvj-actie__sticker { top: 0; left: calc(14% - 10px); min-width: 0; min-height: 40px; padding: 8px 14px; font-size: 16px; }
  .dtvj-actie__product figcaption { max-width: 34ch; margin-top: 16px; font-size: 15.5px; }
}
