/* =============================================================================
   BW26 -- Black Week 2026, design "Midnight Orange" (NL-70, chosen 2026-11-26).
   Belongs to bw26.js, which loads it and switches it on: every rule hangs on
   `.deal.bw` (homepage) or `.bw26-*` (popup), classes that only bw26.js sets,
   and only until 2026-12-01. Without them this file changes nothing.

   ⚠️ Homepage selectors start with `html body #s27home`: the home article's own
   dark-mode rules (`html[data-s27dark] #s27home .deal`) would otherwise win.
   Black on black is the point of the campaign, so the box looks the same in
   both modes.
   ============================================================================= */

/* ---- Homepage: the deal box ---------------------------------------------- */
html body #s27home .deal.bw{--c:#ff9000;position:relative;scroll-margin-top:90px;
  background:radial-gradient(ellipse 520px 380px at 24% 58%,rgba(255,144,0,.30),transparent 70%),linear-gradient(180deg,#000 0%,#141416 100%);   /* solid again (see-through tried and dropped 2026-11-26) */
  box-shadow:0 22px 50px rgba(0,0,0,.45)}
html body #s27home .deal.bw .dflag{border-color:#ff9000}
html body #s27home .deal.bw .dflag-l{color:#ff9000}
html body #s27home .deal.bw .dflag-t{background:#ff9000;color:#000}
html body #s27home .deal.bw .dmore{color:#ff9000}
html body #s27home .deal.bw .dbrand{color:#d9dde4}
html body #s27home .deal.bw .dname{color:#fff}
html body #s27home .deal.bw .dhl,
html body #s27home .deal.bw .dline{color:#ff9000}
html body #s27home .deal.bw .dscen{color:#a9b0bc}
html body #s27home .deal.bw .dprice b{color:#ff9000}
html body #s27home .deal.bw .dprice s{color:#8d939e}
html body #s27home .deal.bw .dtrust li{color:#c3c8d0}
html body #s27home .deal.bw .dtrust i,
html body #s27home .deal.bw .dos i{color:#7d8592}
html body #s27home .deal.bw .dos{color:#9aa1ad}
html body #s27home .deal.bw .dshot{box-shadow:0 10px 24px rgba(0,0,0,.5),22px 30px 54px rgba(0,0,0,.6)}
/* Licence star: `#s27home a{color:inherit}` would hand it the white of the heading. */
html body #s27home .deal.bw .s2y-star,
html body #s27home .deal.bw a.s2y-star:hover,
html body #s27home .deal.bw a.s2y-star:focus{color:#0d2b45}
/* Buy button orange with black text; the green button's own gradient layers off. */
html body #s27home .deal.bw .dbuy{position:relative;overflow:hidden;background:#ff9000;background-image:none;color:#000;box-shadow:none;border:0}
html body #s27home .deal.bw .dbuy:hover,
html body #s27home .deal.bw .dbuy.is-hovered{background:#ffa526;color:#000}
html body #s27home .deal.bw .dbuy::before,
html body #s27home .deal.bw .dbuy::after{display:none}
html body #s27home .deal.bw .dtry{background:transparent;color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
html body #s27home .deal.bw .dtry:hover{box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)}

/* ---- Light streak over the buy buttons ----------------------------------- */
.bw26-shine{position:absolute;top:0;bottom:0;left:0;width:40%;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);animation:bw26Sweep 3.2s ease-in-out infinite}
@keyframes bw26Sweep{0%,62%{transform:translateX(-130%) skewX(-20deg)}100%{transform:translateX(330%) skewX(-20deg)}}

/* ---- Product pages: popup ------------------------------------------------- */
.bw26-ov{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;
  padding:16px max(16px,env(safe-area-inset-right,0px)) 16px max(16px,env(safe-area-inset-left,0px));
  background:rgba(5,8,14,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;transition:opacity .25s ease}
.bw26-ov.is-open{opacity:1}
.bw26-pop,.bw26-pop *{box-sizing:border-box;margin:0;padding:0}
.bw26-pop{position:relative;width:min(600px,100%);max-height:100%;overflow:auto;border-radius:20px;padding:30px 32px 22px;color:#fff;
  font-family:'PT Sans',Arial,sans-serif;line-height:1.3;text-align:left;
  background:radial-gradient(ellipse 340px 240px at 22% 52%,rgba(255,144,0,.30),transparent 70%),linear-gradient(180deg,#000,#141416);
  box-shadow:0 30px 80px rgba(0,0,0,.6);transform:translateY(16px) scale(.98);transition:transform .25s ease}
.bw26-ov.is-open .bw26-pop{transform:none}
.bw26-x{position:absolute;top:10px;right:12px;z-index:2;width:36px;height:36px;border:0;border-radius:50%;
  background:rgba(255,255,255,.08);color:#cfd3da;font:26px/36px Arial,sans-serif;cursor:pointer}
.bw26-x:hover{background:rgba(255,255,255,.16);color:#fff}
.bw26-pop:focus{outline:none}
.bw26-flag{display:inline-flex;max-width:calc(100% - 40px);border:2px solid #ff9000;border-radius:10px;overflow:hidden;
  font-weight:800;font-size:15px;letter-spacing:.06em;text-transform:uppercase}
.bw26-flag .l{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;color:#ff9000;white-space:nowrap}
.bw26-flag .t{display:inline-flex;align-items:center;padding:8px 14px;background:#ff9000;color:#000;white-space:pre;font-variant-numeric:tabular-nums}
.bw26-main{display:flex;align-items:center;gap:22px;margin:20px 0 22px}
.bw26-phone{width:118px;height:auto;flex:none;margin:-4px 6px -4px 8px;transform:rotate(-5deg);filter:drop-shadow(10px 16px 22px rgba(0,0,0,.65))}   /* the app on an iPhone instead of the box (Ralf 2026-11-26) */
.bw26-txt{min-width:0}
.bw26-brand{font-size:17px;font-weight:700;color:#d9dde4}
.bw26-brand sup{font-size:10px}
.bw26-name{font-size:36px;font-weight:800;line-height:1.05;color:#fff;margin:2px 0 6px}
.bw26-name span{color:#ff9000}
.bw26-sub{font-size:17px;color:#a9b0bc;margin-bottom:12px}
.bw26-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px}
.bw26-price b{font-size:44px;font-weight:800;line-height:1;color:#ff9000}
.bw26-price s{position:relative;font-size:21px;color:#8d939e;text-decoration:none}
.bw26-price s::after{content:"";position:absolute;left:-3px;right:-3px;top:50%;height:2px;background:#e4001f;transform:rotate(-8deg)}
.bw26-price em{font-style:normal;font-weight:800;font-size:17px;padding:3px 9px;border-radius:6px;background:#e4001f;color:#fff;transform:rotate(-6deg);display:inline-block}
.bw26-pop a.bw26-cta{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;
  padding:15px 20px;border-radius:10px;background:#ff9000;color:#000;font-size:22px;font-weight:700;text-decoration:none;text-align:center}
.bw26-pop a.bw26-cta:hover,.bw26-pop a.bw26-cta:focus{background:#ffa526;color:#000;text-decoration:none}
.bw26-pop a.bw26-cta:focus-visible,.bw26-x:focus-visible,.bw26-no:focus-visible{outline:3px solid #fff;outline-offset:2px}
.bw26-no{display:block;margin:12px auto 0;border:0;background:none;color:#8d939e;font:15px 'PT Sans',Arial,sans-serif;text-decoration:underline;cursor:pointer}
.bw26-no:hover{color:#c3c8d0}
.bw26-end{margin-top:10px;text-align:center;font-size:14px;font-weight:700;color:#c3c8d0;letter-spacing:.02em}
@media(max-width:520px){
  .bw26-pop{padding:26px 20px 18px}
  .bw26-main{gap:14px}
  .bw26-phone{width:86px;margin:-2px 2px -2px 4px}
  .bw26-name{font-size:28px}
  .bw26-price b{font-size:36px}
  .bw26-flag{font-size:13px}
  .bw26-flag .l,.bw26-flag .t{padding:7px 10px}
  .bw26-pop a.bw26-cta{font-size:19px}
}
/* Store ratings (DE/US popups only, bw26.js rateRow). Stars filled to the
   exact value: one gradient clipped to the text, orange up to r/5. */
.bw26-rate{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 28px;margin:26px 0 0;padding:0;border:0;background:none}
/* inside the text column under the price, both stores on one line (2026-11-26: a full-width row left
   too much empty space, two lines were too big); small store name above each */
.bw26-pop a.bw26-rate-i{display:inline-flex;flex-direction:column;align-items:flex-start;gap:5px;color:#fff;text-decoration:none;white-space:nowrap}
.bw26-pop a.bw26-rate-i:hover{color:#fff;text-decoration:none}
.bw26-pop a.bw26-rate-i:hover .lbl{color:#c3c8d0}
.bw26-rate-i .lbl{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8d939e;line-height:1}
.bw26-rate-i .bw26-rrow{display:inline-flex;align-items:center;gap:8px}   /* not ".row": Bootstrap owns that class and makes every child full width */
.bw26-rate-i img{width:24px;height:24px}
.bw26-stars{font-size:19px;letter-spacing:1px;line-height:1;
  background:linear-gradient(90deg,#ff9000 calc(var(--r) / 5 * 100%),#4a4a50 calc(var(--r) / 5 * 100%));
  -webkit-background-clip:text;background-clip:text;color:transparent}
.bw26-rate-i b{font-size:23px;font-weight:800;line-height:1}
@media(max-width:520px){
  .bw26-rate{gap:8px 18px;margin-top:18px}
  .bw26-rate-i .lbl{font-size:10px}
  .bw26-rate-i img{width:20px;height:20px}
  .bw26-stars{font-size:16px;letter-spacing:0}
  .bw26-rate-i b{font-size:20px}
}
@media(prefers-reduced-motion:reduce){
  .bw26-shine{display:none}
  .bw26-ov,.bw26-pop{transition:none}
}

/* ---- Homepage: page background black (wish 2026-11-26) -------------------
   ONLY the background (the digital world) turns black, plus what stands
   directly on it: heading + intro, the section headings, the press label and
   the breadcrumbs. Cards, comparison table, language pills and press panel
   keep their light look (wish 2026-11-26, second round).
   Taken from the homepage dark mode (HOME-DARK css in the home articles, the
   "difference" layer on body::before), its navy base turned graphite.
   Switched by data-bw26 on <html>: set by the inline BW26 snippet in the home
   article before the heading (no flash), and by bw26.js as a fallback; both
   only until 2026-12-01. */
html[data-bw26]{background-color:#0b0b0d}
html[data-bw26] body:has(#s27home)::before{
  background-color:#3b3b40;
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0) 0,
      rgba(255,255,255,0) var(--s27bg-scrim-h),
      rgba(255,255,255,0) calc(var(--s27bg-scrim-h) + var(--s27bg-scrim-fade))),
    linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)),
    linear-gradient(to bottom, rgba(255,255,255,0) var(--s27bg-fadeout), #3b3b40 100%),
    var(--s27bg-img);
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat;
  background-position:center top,center top,center var(--s27bg-offset),center var(--s27bg-offset);
  background-size:100% 100%,100% 100%,100% var(--s27bg-aspect),100% auto;
  background-blend-mode:normal,normal,normal,difference;
  filter:grayscale(1) brightness(.55) contrast(1.8);   /* grayscale: the motif is blue, without it the "black" reads as navy. brightness/contrast/opacity tuned 2026-11-26 so the dot grid shows clearly on black (dark mode had .49/1.31/.47: dots too dim) */
  opacity:1}
html[data-bw26] .mod-breadcrumbs,html[data-bw26] .mod-breadcrumbs a{color:#a9b0bc}
html[data-bw26] #s27home .intro h1{color:#ffffff}
html[data-bw26] #s27home .intro p{color:#d0d4da}
html[data-bw26] #s27home .intro p b{color:#ffffff}
html[data-bw26] #s27home .sec-head h2{color:#ffffff}
html[data-bw26] #s27home .sec-head p{color:#a9b0bc}
html[data-bw26] #s27home .sec-head p a{color:#ffffff}
html[data-bw26] #s27home .sec-head p a:hover{color:#ffffff;text-decoration-color:currentColor}
html[data-bw26] #s27home .press .lbl{color:#8d939e}
/* Header, pinned menu bar and dropdowns are frosted glass (user.css: 92 % white +
   blur over the page background). Over the dark background they would turn grey;
   they must look exactly as usual, so during the campaign the glass is solid in
   its usual appearance (rgb 250,252,254 per the comment in user.css). */
html[data-bw26] .header.container-header,html[data-bw26] header.header,html[data-bw26] .container-nav{--s27head-a:1;--s27head-drop-a:1;--s27head-tint:250,252,254}
