/* Early Black Friday deal box (.dn-bf, product pages): red "low stock" tab on top, title in Anton,
   no bag icon / barcode, and a black countdown strip underneath. deal-timer.js builds the tab and strip.
   Space for both is reserved up front so nothing jumps when the script runs. */
html .dn-bf { margin: 26px 0 42px; }
html .dn-bf.dn-bf--plain { margin: 0; }
.dn-bf__ic, .dn-bf__bc { display: none !important; }
.dn-bf__lbl {
  font-family: Anton, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: .03em !important;
  font-size: clamp(15px, 4.3vw, 17px) !important;
}

.dn-bfx { display: flex; flex-direction: column; }
html .dn-bfx .dn-bf { margin: 0; border: 2px solid #141414; border-radius: 14px 14px 0 0; }

.dn-bfx__tab {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  margin-left: 14px;
  padding: 0 11px;
  border-radius: 10px 10px 0 0;
  background: #D62828;
  color: #fff;
  font: 700 12px/1 Outfit, sans-serif; /* same font as "KORTING" in the -40% stub */
  letter-spacing: .12em;
  box-sizing: border-box;
}
.dn-bfx__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .3);
  animation: dn-bfx-pulse 1s ease-in-out infinite;
}
@keyframes dn-bfx-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }

.dn-bfx__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border-radius: 0 0 14px 14px;
  background: #141414;
  color: #fff;
  box-sizing: border-box;
}
.dn-bfx__ends { display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1 Outfit, sans-serif; white-space: nowrap; }
.dn-bfx__ends svg { flex: none; width: 15px; height: 15px; }
.dn-bfx__tiles { display: inline-flex; align-items: center; gap: 6px; }
.dn-bfx__seg { display: inline-flex; align-items: center; gap: 2px; }
/* Digits and D/U/M/S about 15% larger than first built (18px -> 20.5px, 10px -> 11.5px); the strip keeps its 42px height. */
.dn-bfx__seg b {
  display: inline-block;
  min-width: 34px;
  padding: 4px 4px 3px;
  border-radius: 6px;
  background: #D62828;
  color: #fff;
  font: 400 20.5px/1.1 Anton, sans-serif;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.dn-bfx__seg small { font: 700 11.5px/1 Outfit, sans-serif; color: #b8bec7; }

/* "Veel gevraagd in november!" urgency line under the deal box: removed (the countdown replaces it). */
.dn-shipnote__fast { display: none !important; }

/* Bigger phones: title and sentence 20% larger, box height unchanged (less inner padding instead). */
@media (min-width: 390px) {
  .dn-bf__lbl { font-size: min(5.16vw, 20.4px) !important; }
  html .dn-bf .dn-bf__ttl { font-size: min(3.9vw, 16.2px); line-height: 1.2; }
  html .dn-bf .dn-bf__main { padding-top: 7px; padding-bottom: 7px; gap: 3px; }
}

/* 360-379px: same digit size, slightly tighter tiles so German ("Std Min Sek") keeps 12px on the right. */
@media (min-width: 360px) and (max-width: 379px) {
  .dn-bfx__tiles { gap: 4px; }
  .dn-bfx__seg b { min-width: 31px; }
}

@media (max-width: 359px) {
  .dn-bfx__strip { padding: 0 9px; gap: 6px; }
  .dn-bfx__ends { font-size: 12px; }
  .dn-bfx__tiles { gap: 4px; }
  .dn-bfx__seg b { min-width: 28px; font-size: 17.5px; }
  .dn-bfx__seg small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .dn-bfx__dot { animation: none; } }

/* AIBOX GO Pro: flip-clock card (option 7, 12 Nov 2026) instead of tab + ticket + strip.
   deal-timer.js builds it when DN_DEAL.flip is set and hides the plain box. */
.dn-bf.dn-bf--flipped { display: none !important; }
.dn-bfc {
  contain: layout style; /* the flipping digits can never change the layout of the rest of the page */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 9px 10px 7px;
  border: 2px solid #D62828;
  border-radius: 14px;
  background: rgba(214, 40, 40, .05); /* red at 5% */
  font-family: Outfit, sans-serif;
  box-sizing: border-box;
}
/* Black Friday (owner, 15 Nov 2026, option 4): dark "first come, first served" badge on the card's top edge with a
   pulsing red dot (blinks + a fading ring). Calm for visitors who ask their phone for less motion. */
.dn-bfc--urg { position: relative; padding-top: 15px; }
/* GO and Pro: 30% more room under the car checker (18px -> 23px), so the label doesn't touch it (owner, 15 Nov 2026). */
.dn-fitdd ~ .dn-bfc { margin-top: 23px; }
.dn-bfc__urg { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: #121820; color: #fff; font: 800 10.5px/1 Outfit, sans-serif; letter-spacing: .05em; white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.dn-bfc__dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff2d3d; animation: dn-urg-blink 1.2s ease-in-out infinite; }
.dn-bfc__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #ff2d3d; animation: dn-urg-ring 1.2s ease-out infinite; }
@keyframes dn-urg-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes dn-urg-ring { 0% { transform: scale(1); opacity: .75; } 80%, 100% { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dn-bfc__dot, .dn-bfc__dot::after { animation: none; } }
/* The header is stretched to the card width (10px each side) by deal-timer.js; clamp() is only the first guess. */
.dn-bfc__hd { width: 100%; font: 700 12.5px/1 Outfit, sans-serif; color: #141414; text-align: center; white-space: nowrap; overflow: hidden; }
.dn-bfc__ht { font-size: clamp(11px, 4vw, 18px); letter-spacing: .05em; }
.dn-bfc__hd b { font-weight: 800; color: #D62828; }
.dn-bfc__row { display: flex; align-items: flex-start; gap: 7px; }
.dn-bfc__sep { font: 800 22px/40px Outfit, sans-serif; font-style: normal; color: #D62828; }
.dn-flip { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dn-flip small { font: 600 9.5px/1 Outfit, sans-serif; color: #6b7280; }
/* Red frame with a cream card inside, a hinge line across the middle and a pin on each side (like a flip clock). */
.dn-flip__card {
  position: relative;
  display: block;
  width: 52px;
  height: 40px;
  border-radius: 9px;
  background: linear-gradient(#ef2b36, #c41622);
  box-shadow: 0 2px 0 #9c0f19, 0 4px 8px rgba(160, 20, 30, .22);
}
.dn-flip__h {
  position: absolute;
  left: 3px;
  right: 3px;
  height: 17px;
  overflow: hidden;
}
.dn-flip__h i {
  display: block;
  height: 34px;
  font: 700 23px/34px Outfit, sans-serif;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  color: #9e1620;
  text-align: center;
}
.dn-flip__top, .dn-flip__ft { top: 3px; border-radius: 6px 6px 0 0; background: #fbf4ea; }
.dn-flip__bot, .dn-flip__fb { top: 20px; border-radius: 0 0 6px 6px; background: #f1e4d3; }
.dn-flip__bot i, .dn-flip__fb i { margin-top: -17px; }
/* The flip without 3D (owner's iPhone recording, 15 Nov 2026): every 3D flip made Safari stop drawing the page behind
   its address bar for 0.6 s, so the buy button under it blinked once a second (the 13 Nov "steady layer" fix wasn't
   enough). Now the old half folds away towards the middle line and the new half unfolds from it, drawn with a clip
   instead of a rotation: nothing for the graphics card to animate, so Safari leaves the rest of the page alone. */
.dn-flip__ft { z-index: 3; visibility: hidden; }
.dn-flip__fb { z-index: 3; visibility: hidden; -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); }
.dn-flip__card.is-flip .dn-flip__ft { visibility: visible; background: linear-gradient(#fbf4ea, #eadccb); animation: dn-flip-top .3s ease-in both; }
.dn-flip__card.is-flip .dn-flip__fb { visibility: visible; background: linear-gradient(#e8d6c0, #f1e4d3); animation: dn-flip-bot .3s ease-out .3s both; }
@keyframes dn-flip-top { from { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); } to { -webkit-clip-path: inset(100% 0 0 0); clip-path: inset(100% 0 0 0); } }
@keyframes dn-flip-bot { from { -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); } to { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); } }
.dn-flip__card:after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 3px;
  right: 3px;
  top: 20px;
  height: 1px;
  margin-top: -.5px;
  background: rgba(70, 25, 25, .35);
}
.dn-flip__card:before {
  content: "";
  position: absolute;
  z-index: 5;
  left: 1px;
  right: 1px;
  top: 17px;
  height: 6px;
  background:
    linear-gradient(#2b1d1d, #2b1d1d) left / 3px 6px no-repeat,
    linear-gradient(#2b1d1d, #2b1d1d) right / 3px 6px no-repeat;
  border-radius: 1px;
}
@media (max-width: 340px) {
  .dn-bfc__row { gap: 5px; }
  .dn-flip__card { width: 48px; }
  .dn-bfc__hd { font-size: 11.5px; letter-spacing: .03em; }
}
@media (prefers-reduced-motion: reduce) {
  .dn-flip__card.is-flip .dn-flip__ft, .dn-flip__card.is-flip .dn-flip__fb { animation: none; visibility: hidden; }
}
