/* NIGHT THEME (the dark look Sidou approved on 29 Nov 2026: "Ok great deploy it"). Every rule is scoped to <html data-theme=dark>,
   so it does nothing in the light look. Switch + phone setting = dark.js. PART 1 = the approved design (one change, 30 Nov). */
/* PlayCube DZ dark theme, PREVIEW v2 */
:root[data-theme=dark]{
  --cream:#12202B; --cream-2:#0F1A22; --panel:#182733;
  --ink:#E9EFF4; --ink-soft:#A3B3C2;
  --orange:#1D9E75; --orange-dk:#4FD1A5;
  --blue:#1B3442; --peach:#3B2F25; --mint:#1F3A2E; --lilac:#35283B;
  --line:#2A3C4B;
  color-scheme:dark;
}
[data-theme=dark] body{background-color:#0C151C;background-image:linear-gradient(rgba(12,21,28,.94),rgba(12,21,28,.94)),url(doodle.webp)}
[data-theme=dark] body::before{background:linear-gradient(rgba(12,21,28,.93),rgba(12,21,28,.93)),url(doodle.webp) top center/cover no-repeat!important}
/* big section panels */
[data-theme=dark] #new-arrivals,[data-theme=dark] #shop,[data-theme=dark] #order-now{background:rgba(20,33,44,.86)!important;border-color:#27394A!important}
/* cards: dark card, photo stays on a light mat so LEGO boxes keep their white background */
[data-theme=dark] .card,[data-theme=dark] .on-card{background:#182733!important;border-color:#2A3C4B!important;box-shadow:0 6px 18px rgba(0,0,0,.35)}
[data-theme=dark] .on-box,[data-theme=dark] .nav-links .dropmenu{background:#182733!important}
[data-theme=dark] .on-arrow,[data-theme=dark] .on-x{background:#182733!important;color:var(--ink)!important;border-color:#2A3C4B!important}
[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#101C25!important;color:var(--ink)!important}
/* 30 Nov 2026, Sidou "Bring colours back": the navy rule for product labels (.tag) was removed, labels keep their own
   colours at night. A NEW kind of label needs its own background + white text (the plain .tag style is unreadable at night). */
[data-theme=dark] .oos-overlay{background:rgba(12,21,28,.6)!important}
[data-theme=dark] .lang-bar{border-bottom-color:rgba(255,255,255,.07)!important}
/* v3: readable grays */
[data-theme=dark] .head span,[data-theme=dark] .on-note,[data-theme=dark] .on-meta,[data-theme=dark] .meta,[data-theme=dark] .card .meta{color:#B4C3D0!important}
[data-theme=dark] .copy,[data-theme=dark] .hint,[data-theme=dark] .price s,[data-theme=dark] .card .price s{color:#8497A8!important}
[data-theme=dark] .lang-bar-label{color:#9FB0BF!important}
[data-theme=dark] .lang-sw button{color:#C3CFDA!important;border-color:rgba(255,255,255,.22)!important}
[data-theme=dark] .lang-sw button:hover{background:rgba(255,255,255,.08)!important}
[data-theme=dark] .lang-sw button.active{color:#fff!important;border-color:#1D9E75!important}
[data-theme=dark] .card .add:disabled{background:#26384A!important;color:#8497A8!important}
[data-theme=dark] .news-btn{background:#12202B}
/* v4: in-stock page, filters, product page */
[data-theme=dark] body:not(:has(.hero)){background-image:linear-gradient(rgba(12,21,28,.94),rgba(12,21,28,.94)),url(doodle.webp)!important}
[data-theme=dark] .filter-btn,[data-theme=dark] .chip,[data-theme=dark] .theme-chip,[data-theme=dark] .sort-sel{background:#182733!important;color:var(--ink)!important;border-color:#2A3C4B!important}
[data-theme=dark] p[data-i18n=in_stock_sub]{color:#B4C3D0!important}
/* v5 */
[data-theme=dark] p[data-i18n$=_sub],[data-theme=dark] .page-sub{color:#B4C3D0!important}
[data-theme=dark] body:not(:has(.hero)){background-image:linear-gradient(rgba(12,21,28,.955),rgba(12,21,28,.955)),url(doodle.webp)!important}
[data-theme=dark] body::before{background:linear-gradient(rgba(12,21,28,.955),rgba(12,21,28,.955)),url(doodle.webp) top center/cover no-repeat!important}
/* v6: product page */
[data-theme=dark] .product-layout{background:rgba(20,33,44,.9)!important}
[data-theme=dark] .gbtn{background:rgba(24,39,51,.92)!important;color:var(--ink)!important}
[data-theme=dark] .pagination button{background:#182733!important;color:var(--ink)!important;border-color:#2A3C4B!important}

/* PART 2 (29 Nov 2026): the parts the preview had NOT reached yet (cart, checkout, request a toy, "Sur commande", keychains and
   the other lists, home "why us" box). Same colours as part 1. */
/* grey texts on the lists and the "other set?" box */
[data-theme=dark] .page-hero p,[data-theme=dark] .order-bridge p{color:#B4C3D0!important}
/* "Sur commande" notes (were dark blue on light blue) */
[data-theme=dark] .card-order-note,[data-theme=dark] .cflag.order,[data-theme=dark] .citem .order-note:not(.cnote){color:#8DBBFF!important}
[data-theme=dark] .cnote.order-note,[data-theme=dark] .co-orderbox{background:#16293F!important;color:#BBD5F7!important}
/* "order again" button on a sold-out card */
[data-theme=dark] .card .add.reorder{background:transparent!important;color:#4FD1A5!important;box-shadow:inset 0 0 0 2px #1D9E75}
[data-theme=dark] .card .add.reorder:hover{background:#157F5E!important;color:#fff!important}
/* checkout: delivery type + delivery company boxes */
[data-theme=dark] .dtype-opt{background:#101C25!important;border-color:#2A3C4B!important}
[data-theme=dark] .dtype-opt:has(input:checked){background:#182733!important;border-color:#1D9E75!important}
/* home "why us" box (the only one with its own style) */
[data-theme=dark] #about[style]{background:#162531!important;border-color:#27394A!important}
/* request a toy: "how it works" box and the chosen item */
[data-theme=dark] .req-howto-card,[data-theme=dark] .req-item{background:#182733!important;border-color:#2A3C4B!important}
/* last grey texts: request steps + the "nothing found" message in a product list */
[data-theme=dark] .req-step p,[data-theme=dark] .grid > p[style]{color:#B4C3D0!important}
/* checkout: the empty tick circle, and the blue "on order" line in the cart / order summary */
[data-theme=dark] .dtype-opt:not(:has(input:checked))::after{background:transparent;border-color:#5B7185}
[data-theme=dark] .crow .ctag:not(.home),[data-theme=dark] .co-items .ctag:not(.home){color:#8DBBFF!important}
