/* ═══════════════════════════════════════════════════════════════════════════
   PRIMO RE · NOTTE D'ORO — tema esclusivo del menu (45.41.0)
   Lo stesso mondo di PRIMORE HQ: l'oro dell'insegna su fondo notte.

   Come vince sugli altri fogli
   • public.css ha ancora i colori del vecchio tema scritti a mano (crema, marrone):
     qui ogni regola parte da html[data-theme="primore-notte"] (html[data-theme="primore-notte"]), quindi ha una
     classe e un elemento in più e vince senza !important. Lo usa solo dove public.css
     o uno stile scritto dentro la pagina usano !important o style="…".
   • /theme.css (colori salvati in Aspetto & Tema) arriva per ultimo e scrive :root:
     le variabili qui stanno su html[data-theme="primore-notte"]:root, che pesa di più. I colori del pannello non
     cambiano questo tema; il "CSS avanzato" del pannello invece resta valido.
   • Il logo è l'insegna vettoriale (logo.svg in questa cartella), nitida su ogni
     schermo; il logo caricato nel pannello resta per gli altri temi.
   ═══════════════════════════════════════════════════════════════════════════ */

html[data-theme="primore-notte"]:root,
html[data-theme="primore-notte"].dark:root{
--pn-notte:#0d0f14;
--pn-notte-2:#151821;
--pn-notte-3:#1b1f2a;
--pn-vetro:rgba(255,255,255,.045);
--pn-vetro-2:rgba(255,255,255,.075);
--pn-filo:rgba(255,255,255,.09);
--pn-filo-2:rgba(255,255,255,.14);
--pn-filo-oro:rgba(198,147,92,.30);
--pn-testo:#f3efe8;
--pn-testo-2:#bab3a8;
--pn-testo-3:#8a837a;
--pn-oro:#c6935c;
--pn-oro-chiaro:#e6c197;
--pn-oro-scuro:#a68653;
--pn-inchiostro:#1a1208;
--pn-salvia:#8fc3b6;
--pn-verde:#6fcf9b;
--pn-corallo:#e8826c;
--pn-serif:'Cormorant Garamond','Cormorant',Georgia,'Times New Roman',serif;
--pn-sans:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
--pn-oro-pieno:linear-gradient(180deg,#d6a771 0%,#c6935c 45%,#a68653 100%);
--pn-raggio:22px;
--pn-raggio-s:14px;
/* le variabili di public.css, così modali, carrello e banner si allineano da soli */
--primary:#c6935c;
--primary-dark:#a68653;
--secondary:#8fc3b6;
--text:#f3efe8;
--text-sec:#bab3a8;
--bg:#0d0f14;
--card:#151821;
--border:rgba(255,255,255,.09);
--badge-new:#6fcf9b;
--badge-discount:#e8826c;
--badge-featured:#c6935c;
--shadow:none;
--shadow-card:none;
--shadow-hover:0 14px 40px rgba(0,0,0,.45);
color-scheme:dark;
background:#0d0f14;
}

/* ── Fondo: notte con l'alone dell'insegna (come l'hub) ─────────────────── */
html[data-theme="primore-notte"] body{
background:transparent;   /* il fondo sta su html: così l'alone di body::before resta visibile */
color:var(--pn-testo);
font-family:var(--pn-sans);
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
}
html[data-theme="primore-notte"] body::before{
content:"";
position:fixed;
inset:0;
z-index:-1;
pointer-events:none;
background:
radial-gradient(900px 520px at 12% -8%,rgba(198,147,92,.16),transparent 62%),
radial-gradient(700px 460px at 105% 4%,rgba(70,90,140,.17),transparent 62%),
radial-gradient(800px 600px at 50% 112%,rgba(198,147,92,.07),transparent 60%);
}
html[data-theme="primore-notte"] ::selection{background:rgba(198,147,92,.38);color:#fff}
html[data-theme="primore-notte"] a:focus-visible,
html[data-theme="primore-notte"] button:focus-visible,
html[data-theme="primore-notte"] [role="button"]:focus-visible,
html[data-theme="primore-notte"] [data-section-toggle]:focus-visible{outline:2px solid var(--pn-oro-chiaro);outline-offset:3px;border-radius:10px}
html[data-theme="primore-notte"] ::-webkit-scrollbar{width:6px;height:6px}
html[data-theme="primore-notte"] ::-webkit-scrollbar-track{background:var(--pn-notte)}
html[data-theme="primore-notte"] ::-webkit-scrollbar-thumb{background:rgba(198,147,92,.45);border-radius:3px}
html[data-theme="primore-notte"] h1,html[data-theme="primore-notte"] h2,html[data-theme="primore-notte"] h3{color:var(--pn-testo)}

/* ── Intestazione ──────────────────────────────────────────────────────── */
html[data-theme="primore-notte"] .site-header{
background:rgba(13,15,20,.74);
border-bottom:1px solid rgba(198,147,92,.16);
box-shadow:none;
backdrop-filter:blur(18px) saturate(140%);
-webkit-backdrop-filter:blur(18px) saturate(140%);
}
/* L'insegna vettoriale al posto del logo caricato: l'immagine resta nel codice
   (alt, link alla home) ma il suo contenuto si sposta fuori dal riquadro. */
html[data-theme="primore-notte"] .header-logo__img{
box-sizing:border-box;
width:96px;
height:32px;
padding-left:96px;
overflow:hidden;
background:url(logo.svg) left center/contain no-repeat;
}
html[data-theme="primore-notte"] .site-header .header-controls .lang-switcher a,
html[data-theme="primore-notte"] .site-header .header-controls .lang-switcher span{
color:var(--pn-testo-2);
background:transparent;
border:1px solid var(--pn-filo-2);
}
html[data-theme="primore-notte"] .site-header .header-controls .lang-switcher a:hover,
html[data-theme="primore-notte"] .site-header .header-controls .lang-switcher span:hover{
color:var(--pn-testo);
background:var(--pn-vetro-2);
border-color:var(--pn-filo-oro);
}
html[data-theme="primore-notte"] .site-header .header-controls .lang-switcher a.active,
html[data-theme="primore-notte"] .site-header .header-controls .lang-switcher span.active{
background:var(--pn-oro-pieno);
color:var(--pn-inchiostro);
border-color:transparent;
}
html[data-theme="primore-notte"] .dark-toggle{display:none}

/* ── Home: l'insegna con il suo alone ─────────────────────────────────── */
html[data-theme="primore-notte"] .hero-text{
position:relative;
padding:40px 0 26px;
text-align:center;
isolation:isolate;
}
html[data-theme="primore-notte"] .hero-text::before{
content:"";
position:absolute;
left:50%;
top:50%;
width:min(520px,100%);
height:220px;
transform:translate(-50%,-50%);
z-index:-1;
pointer-events:none;
border-radius:50%;
background:radial-gradient(closest-side,rgba(198,147,92,.22),rgba(198,147,92,.10) 40%,rgba(198,147,92,.03) 72%,rgba(198,147,92,0) 100%);
}
html[data-theme="primore-notte"] .hero-text__logo{
box-sizing:border-box;
width:min(320px,78vw);
height:calc(min(320px,78vw) / 3);
padding-left:min(320px,78vw);
overflow:hidden;
margin:0 auto;
background:url(logo.svg) center/contain no-repeat;
}
html[data-theme="primore-notte"] .hero-text h1{
font-family:var(--pn-serif);
font-weight:600;
font-size:2.2rem;
letter-spacing:.01em;
color:var(--pn-testo);
text-shadow:none;
}
@media (prefers-reduced-motion:no-preference){
html[data-theme="primore-notte"] .hero-text::before{animation:pnAlone 1.6s cubic-bezier(.2,.7,.2,1) both}
html[data-theme="primore-notte"] .hero-text__logo{animation:pnInsegna 1.1s cubic-bezier(.2,.7,.2,1) both}
@keyframes pnAlone{from{opacity:0;transform:translate(-50%,-50%) scale(.82)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes pnInsegna{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
}
/* copertina (se un giorno verrà caricata) */
html[data-theme="primore-notte"] .hero{border-radius:var(--pn-raggio);border:1px solid var(--pn-filo)}
html[data-theme="primore-notte"] .hero-overlay{background:linear-gradient(180deg,rgba(13,15,20,.05) 20%,rgba(13,15,20,.88) 100%)}
html[data-theme="primore-notte"] .hero-overlay h1{font-family:var(--pn-serif);font-weight:600;font-size:2rem;color:var(--pn-testo);text-shadow:none}
html[data-theme="primore-notte"] .hero-overlay p{color:var(--pn-testo-2)}

/* Avvertenze della home */
html[data-theme="primore-notte"] .home-disclaimer{
margin:4px 0 20px;
padding:16px 20px;
border:1px solid var(--pn-filo);
border-radius:var(--pn-raggio-s);
background:var(--pn-vetro);
}
html[data-theme="primore-notte"] .home-disclaimer li{color:var(--pn-testo-2)}
html[data-theme="primore-notte"] .home-disclaimer li::before{color:var(--pn-oro)}

/* ── Le categorie: tessere come nell'hub ──────────────────────────────── */
html[data-theme="primore-notte"] .categories-grid{gap:14px}
html[data-theme="primore-notte"] .category-card{
border-radius:var(--pn-raggio);
border:1px solid var(--pn-filo);
background:var(--pn-notte-2);
box-shadow:none;
transition:transform .18s ease,border-color .18s ease;
}
html[data-theme="primore-notte"] .category-card:hover{transform:translateY(-2px);border-color:rgba(198,147,92,.5);box-shadow:none}
html[data-theme="primore-notte"] .category-card:active{transform:scale(.985)}
html[data-theme="primore-notte"] .category-card::after{
content:"\2192";
position:absolute;
top:14px;
right:14px;
z-index:3;
width:38px;
height:38px;
border-radius:50%;
display:grid;
place-items:center;
font-family:var(--pn-sans);
font-size:1rem;
line-height:1;
color:var(--pn-testo);
background:rgba(13,15,20,.42);
border:1px solid var(--pn-filo-2);
-webkit-backdrop-filter:blur(8px);
backdrop-filter:blur(8px);
}
html[data-theme="primore-notte"] .category-card--with-image{background:var(--pn-notte-2)}
html[data-theme="primore-notte"] .category-card--with-image .category-card__img{filter:saturate(.92) brightness(.86)}
html[data-theme="primore-notte"] .category-card--with-image .category-card__body{
padding:22px 20px 18px;
background:linear-gradient(to top,rgba(13,15,20,.94) 0%,rgba(13,15,20,.62) 42%,rgba(13,15,20,0) 100%);
}
html[data-theme="primore-notte"] .category-card__title{
font-family:var(--pn-serif);
font-weight:600;
font-size:1.7rem;
line-height:1.12;
letter-spacing:.005em;
color:var(--pn-testo);
}
html[data-theme="primore-notte"] .category-card--with-image .category-card__title{color:var(--pn-testo);text-shadow:0 1px 18px rgba(0,0,0,.45)}
html[data-theme="primore-notte"] .category-card--with-image .category-card__desc{color:rgba(243,239,232,.78);margin-top:6px;font-size:.86rem}
/* senza foto: tessera di vetro con il riflesso dorato in basso a destra */
html[data-theme="primore-notte"] .category-card--text-only{
aspect-ratio:auto;
min-height:104px;
padding:20px 66px 20px 20px;
justify-content:flex-start;
align-items:center;
text-align:left;
background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.015));
overflow:hidden;
}
html[data-theme="primore-notte"] .category-card--text-only::before{
content:"";
position:absolute;
right:-22%;
bottom:-70%;
width:70%;
height:140%;
border-radius:50%;
background:rgba(198,147,92,.38);
filter:blur(42px);
opacity:.55;
pointer-events:none;
}
html[data-theme="primore-notte"] .category-card--text-only .category-card__body{position:relative;z-index:1}
html[data-theme="primore-notte"] .category-card--text-only .category-card__title{
display:flex;
align-items:center;
gap:14px;
color:var(--pn-testo);
font-size:1.55rem;
}
html[data-theme="primore-notte"] .category-card--text-only .category-card__desc{color:var(--pn-testo-2);margin-top:6px;font-size:.86rem}
html[data-theme="primore-notte"] .category-card__icon{
flex:none;
width:46px;
height:46px;
margin:0;
border-radius:14px;
display:inline-grid;
place-items:center;
font-size:1.35rem;
background:var(--pn-vetro-2);
border:1px solid var(--pn-filo);
vertical-align:middle;
}
html[data-theme="primore-notte"] .category-card--with-image .category-card__icon{width:auto;height:auto;background:none;border:0;margin-right:.3em;font-size:1em;display:inline}

/* ── Promozioni ───────────────────────────────────────────────────────── */
html[data-theme="primore-notte"] .promo-banner{background:var(--pn-vetro);border:1px solid var(--pn-filo-oro);border-radius:var(--pn-raggio-s);box-shadow:none}
html[data-theme="primore-notte"] .promo-banner__body strong{font-family:var(--pn-serif);font-size:1.15rem;font-weight:600;color:var(--pn-testo)}
html[data-theme="primore-notte"] .badge-promo{background:var(--pn-oro-pieno);color:var(--pn-inchiostro)}

/* ── Pagina della categoria ───────────────────────────────────────────── */
html[data-theme="primore-notte"] .btn-back-menu{
top:60px;
background:rgba(21,24,33,.78);
color:var(--pn-testo);
border:1px solid var(--pn-filo-oro);
box-shadow:0 8px 24px rgba(0,0,0,.35);
-webkit-backdrop-filter:blur(14px);
backdrop-filter:blur(14px);
font-family:var(--pn-sans);
font-weight:500;
letter-spacing:.01em;
padding:11px 24px;
}
html[data-theme="primore-notte"] .btn-back-menu:hover{background:rgba(27,31,42,.9);border-color:rgba(198,147,92,.6);box-shadow:0 10px 28px rgba(0,0,0,.4)}
html[data-theme="primore-notte"] .btn-back-menu__arrow{color:var(--pn-oro-chiaro)}
html[data-theme="primore-notte"] .category-page-header{text-align:center;margin:6px 0 10px}
html[data-theme="primore-notte"] .category-page-header h1{
font-family:var(--pn-serif);
font-weight:600;
font-size:2.3rem;
line-height:1.08;
letter-spacing:.005em;
color:var(--pn-testo);
}
html[data-theme="primore-notte"] .category-desc{color:var(--pn-testo-2);font-size:.92rem;margin-top:8px}

/* Sezioni (separatori): serif dorato tra due fili d'oro */
html[data-theme="primore-notte"] .section-divider{margin:34px 0 14px}
html[data-theme="primore-notte"] .section-divider:first-child{margin-top:14px}
html[data-theme="primore-notte"] .section-divider__title{
font-family:var(--pn-serif)!important;
font-weight:600!important;
font-size:1.45rem!important;
letter-spacing:.01em!important;
text-transform:none;
color:var(--pn-oro-chiaro)!important;
padding:4px 6px;
gap:14px;
}
html[data-theme="primore-notte"] .section-divider__title::before,
html[data-theme="primore-notte"] .section-divider__title::after{
width:44px;
height:1px;
background:linear-gradient(90deg,transparent,rgba(198,147,92,.75))!important;
}
html[data-theme="primore-notte"] .section-divider__title::after{background:linear-gradient(90deg,rgba(198,147,92,.75),transparent)!important}
html[data-theme="primore-notte"] .section-divider[data-section-toggle]:hover .section-divider__title{color:#f2d6b3!important}
html[data-theme="primore-notte"] .section-divider__chevron{color:var(--pn-oro);opacity:.7;font-size:.6rem;margin-left:2px}
html[data-theme="primore-notte"] .section-divider__desc{color:var(--pn-testo-2);font-family:var(--pn-serif);font-size:1.02rem;line-height:1.5;margin-top:2px}
@media (max-width:480px){
html[data-theme="primore-notte"] .section-divider__title{font-size:1.3rem!important;padding:4px 2px}
html[data-theme="primore-notte"] .section-divider__title::before,html[data-theme="primore-notte"] .section-divider__title::after{width:26px}
html[data-theme="primore-notte"] .category-page-header h1{font-size:2rem}
html[data-theme="primore-notte"] .category-card__title{font-size:1.55rem}
html[data-theme="primore-notte"] .category-card--text-only .category-card__title{font-size:1.4rem}
}

/* L'esperienza dello chef */
html[data-theme="primore-notte"] .experience-disclaimer{
background:linear-gradient(160deg,rgba(198,147,92,.13),rgba(255,255,255,.02));
border:1px solid var(--pn-filo-oro);
box-shadow:none;
color:#eadbc6;
font-style:normal;
}
html[data-theme="primore-notte"] .experience-disclaimer p{font-family:var(--pn-serif);font-style:italic;font-size:1.08rem;line-height:1.5}
html[data-theme="primore-notte"] .experience-disclaimer__icon{background:rgba(198,147,92,.12);border:1px solid var(--pn-filo-oro)}

/* ── I piatti ─────────────────────────────────────────────────────────── */
html[data-theme="primore-notte"] .products-list{gap:12px}
html[data-theme="primore-notte"] .section-content{display:flex;flex-direction:column;gap:12px}
html[data-theme="primore-notte"] .product-card,
html[data-theme="primore-notte"] .product-card--full{
background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
border:1px solid var(--pn-filo);
border-radius:20px;
box-shadow:none;
margin-bottom:0;
}
html[data-theme="primore-notte"] .product-card--full:hover{box-shadow:none}
html[data-theme="primore-notte"] .product-card--full .product-card__body{padding:18px 20px 18px}
html[data-theme="primore-notte"] .product-card--full .product-card__header{
align-items:baseline;
gap:14px;
padding-bottom:10px;
margin-bottom:2px;
border-bottom:1px solid rgba(255,255,255,.07);
}
/* piatto senza descrizione né allergeni: niente filo sotto il nome */
html[data-theme="primore-notte"] .product-card--full .product-card__header:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}
html[data-theme="primore-notte"] .product-card__name,
html[data-theme="primore-notte"] .product-card--full .product-card__name{
font-family:var(--pn-serif)!important;
font-weight:600;
font-size:1.42rem;
line-height:1.15;
letter-spacing:.005em;
color:var(--pn-testo);
}
html[data-theme="primore-notte"] .product-card--full .product-card__price,
html[data-theme="primore-notte"] .product-card--full .price-current,
html[data-theme="primore-notte"] .product-card--full .price-range,
html[data-theme="primore-notte"] .price-current,
html[data-theme="primore-notte"] .price-range{
font-family:var(--pn-sans);
font-weight:600;
font-size:1.02rem;
font-variant-numeric:tabular-nums;
letter-spacing:.01em;
color:var(--pn-oro-chiaro)!important;
}
html[data-theme="primore-notte"] .price-original{color:var(--pn-testo-3)}
html[data-theme="primore-notte"] .price-discounted{font-family:var(--pn-sans);font-weight:600;color:var(--pn-corallo)}
html[data-theme="primore-notte"] .price-variable{color:var(--pn-testo-2)!important}
html[data-theme="primore-notte"] .price-unit{color:var(--pn-testo-3)}
html[data-theme="primore-notte"] .price-variant-item{font-size:.86rem;gap:10px}
html[data-theme="primore-notte"] .price-variant-label{color:var(--pn-testo-2)}
html[data-theme="primore-notte"] .product-card__desc-full{color:var(--pn-testo-2);font-size:.9rem;line-height:1.62;margin-top:10px}
html[data-theme="primore-notte"] .product-card__ingr{
background:rgba(198,147,92,.07);
border-left:2px solid var(--pn-oro);
border-radius:0 10px 10px 0;
color:var(--pn-testo-2);
font-size:.82rem;
padding:8px 12px;
margin-top:10px;
}
html[data-theme="primore-notte"] .product-card__ingr-label{color:var(--pn-oro-chiaro);text-transform:none;letter-spacing:.01em;font-size:.8rem;font-weight:600}
html[data-theme="primore-notte"] .product-card__allergens-full{border-top:1px dashed rgba(255,255,255,.1);padding-top:10px;margin-top:12px}
html[data-theme="primore-notte"] .allergens--no-content{border-top:none!important;padding-top:2px!important;margin-top:8px!important}
html[data-theme="primore-notte"] .allergen-pill{
background:rgba(255,255,255,.04);
color:var(--pn-testo-2);
border:1px solid var(--pn-filo-2);
font-size:.74rem;
font-weight:500;
padding:3px 10px;
}
html[data-theme="primore-notte"] .dough-allergens__label{
color:var(--pn-oro-chiaro);
background:rgba(198,147,92,.1);
border:1px solid var(--pn-filo-oro);
text-transform:none;
letter-spacing:.02em;
font-size:.7rem;
}
html[data-theme="primore-notte"] .allergen-pill--dough{border-style:dashed;border-color:rgba(198,147,92,.4)}
html[data-theme="primore-notte"] .product-card__image-overlay{background:rgba(13,15,20,.55)}
html[data-theme="primore-notte"] .product-card--unavailable{opacity:.45}
html[data-theme="primore-notte"] .product-card__section-badge{
color:var(--pn-oro-chiaro);
background:rgba(198,147,92,.1);
border:1px solid var(--pn-filo-oro);
letter-spacing:.04em;
text-transform:none;
font-size:.7rem;
}

/* Etichette */
html[data-theme="primore-notte"] .badge-pill{box-shadow:0 4px 14px rgba(0,0,0,.35)}
html[data-theme="primore-notte"] .badge-pill--featured{background:var(--pn-oro-pieno);color:var(--pn-inchiostro);letter-spacing:.08em}
html[data-theme="primore-notte"] .badge-pill--new{background:linear-gradient(180deg,#8ee0b4,#5fbf8c);color:#0c2117;letter-spacing:.08em}
html[data-theme="primore-notte"] .badge-pill--discount{background:var(--pn-corallo);color:#2a0f08}
html[data-theme="primore-notte"] .badge-pill--unavailable{background:rgba(243,239,232,.14);color:var(--pn-testo);border:1px solid var(--pn-filo-2)}

/* Consigliato: cornice d'oro e nome dorato, senza lampeggi */
html[data-theme="primore-notte"] .product-card.product-card--highlight{
border:1px solid transparent;
background:
linear-gradient(160deg,#1b1d24,#14161d) padding-box,
linear-gradient(135deg,#e6c197 0%,#a68653 45%,rgba(198,147,92,.35) 100%) border-box;
box-shadow:0 14px 44px rgba(198,147,92,.10);
animation:none;
}
html[data-theme="primore-notte"] .product-card--highlight .product-card__name,
html[data-theme="primore-notte"] .product-card--highlight .product-card__name a{color:var(--pn-oro-chiaro)}
/* Novità: cornice verde salvia */
html[data-theme="primore-notte"] .product-card.product-card--fresh{
border:1px solid transparent;
background:
linear-gradient(160deg,#181d1d,#13171a) padding-box,
linear-gradient(135deg,#8ee0b4 0%,rgba(111,207,155,.55) 50%,rgba(111,207,155,.2) 100%) border-box;
box-shadow:0 14px 44px rgba(111,207,155,.08);
animation:none;
}
html[data-theme="primore-notte"] .product-card--fresh .product-card__name,
html[data-theme="primore-notte"] .product-card--fresh .product-card__name a{color:#a9e8c6}
@media (max-width:480px){
html[data-theme="primore-notte"] .product-card__name,html[data-theme="primore-notte"] .product-card--full .product-card__name{font-size:1.32rem}
html[data-theme="primore-notte"] .product-card--full .product-card__body{padding:16px 16px}
html[data-theme="primore-notte"] .product-card__desc-full{font-size:.88rem}
}

/* Pagina del singolo piatto */
html[data-theme="primore-notte"] .product-detail{
background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
border:1px solid var(--pn-filo);
border-radius:var(--pn-raggio);
box-shadow:none;
}
html[data-theme="primore-notte"] .product-detail{padding-bottom:22px}
html[data-theme="primore-notte"] .product-detail .product-badges{padding:20px 20px 0;margin-bottom:0}
html[data-theme="primore-notte"] .product-detail .product-badges + h1{margin-top:12px}
html[data-theme="primore-notte"] .product-detail h1{font-family:var(--pn-serif);font-weight:600;font-size:2.1rem;line-height:1.1;color:var(--pn-testo);margin-top:20px}
html[data-theme="primore-notte"] .product-price-block .price-current,
html[data-theme="primore-notte"] .product-price-block .price-discounted{font-size:1.25rem}
html[data-theme="primore-notte"] .product-desc{color:var(--pn-testo-2)}
html[data-theme="primore-notte"] .product-ingredients{color:var(--pn-testo-2);background:transparent;border:0}
html[data-theme="primore-notte"] .product-ingredients strong,
html[data-theme="primore-notte"] .product-allergens strong{color:var(--pn-oro-chiaro)}
html[data-theme="primore-notte"] .product-allergens{border-top:1px solid var(--pn-filo)}
html[data-theme="primore-notte"] .allergen-badge{background:rgba(255,255,255,.05);color:var(--pn-testo-2);border:1px solid var(--pn-filo-2);border-radius:999px;padding:3px 10px}
html[data-theme="primore-notte"] .allergen-badge--dough{border-style:dashed;border-color:rgba(198,147,92,.4);background:rgba(198,147,92,.06);color:var(--pn-testo-2)}
html[data-theme="primore-notte"] .product-hero-img,html[data-theme="primore-notte"] .gallery-img{box-shadow:none}
html[data-theme="primore-notte"] .service-badge{box-shadow:0 2px 10px rgba(0,0,0,.5)}

/* ── Pulsanti e finestre ──────────────────────────────────────────────── */
html[data-theme="primore-notte"] .btn{font-family:var(--pn-sans)}
html[data-theme="primore-notte"] .btn-primary,
html[data-theme="primore-notte"] .btn-table-order{background:var(--pn-oro-pieno);color:var(--pn-inchiostro);border:0}
html[data-theme="primore-notte"] .btn-primary:hover{background:linear-gradient(180deg,#e0b47f,#c6935c 50%,#a68653);color:var(--pn-inchiostro)}
html[data-theme="primore-notte"] .btn-secondary{background:var(--pn-vetro);color:var(--pn-testo);border:1px solid var(--pn-filo-2)}
html[data-theme="primore-notte"] .btn-secondary:hover{border-color:var(--pn-oro);color:var(--pn-oro-chiaro)}
html[data-theme="primore-notte"] .btn-link{color:var(--pn-oro-chiaro)}
html[data-theme="primore-notte"] .btn-beach-order{background:var(--pn-vetro-2);color:var(--pn-oro-chiaro);border:1px solid var(--pn-filo-oro);box-shadow:none}
html[data-theme="primore-notte"] .table-badge{background:var(--pn-vetro);color:var(--pn-oro-chiaro);border-color:var(--pn-filo-oro)}

html[data-theme="primore-notte"] .popup-overlay,
html[data-theme="primore-notte"] .md-modal-overlay{background:rgba(6,7,10,.68)}
html[data-theme="primore-notte"] .popup-card,
html[data-theme="primore-notte"] .md-modal{background:var(--pn-notte-2);color:var(--pn-testo);border:1px solid var(--pn-filo);box-shadow:0 30px 80px rgba(0,0,0,.6)}
html[data-theme="primore-notte"] .popup-card__title{font-family:var(--pn-serif);font-size:1.5rem;font-weight:600;color:var(--pn-testo)}
html[data-theme="primore-notte"] .popup-card__body p{color:var(--pn-testo-2)}
html[data-theme="primore-notte"] .popup-card__close{background:rgba(13,15,20,.6);color:var(--pn-testo);border:1px solid var(--pn-filo-2)}
html[data-theme="primore-notte"] .md-modal__close{background:var(--pn-vetro-2);color:var(--pn-testo)}
html[data-theme="primore-notte"] .md-modal__close:hover,html[data-theme="primore-notte"] .popup-card__close:hover{background:var(--pn-corallo);color:#1a0a05}
html[data-theme="primore-notte"] .md-field label{color:var(--pn-testo-2)}
html[data-theme="primore-notte"] .md-input{background:var(--pn-notte);color:var(--pn-testo);border:1px solid var(--pn-filo-2)}
html[data-theme="primore-notte"] .md-input:focus{border-color:var(--pn-oro);box-shadow:0 0 0 3px rgba(198,147,92,.18)}
html[data-theme="primore-notte"] .md-error{background:rgba(232,130,108,.12);color:#f3b4a6;border:1px solid rgba(232,130,108,.35)}
html[data-theme="primore-notte"] .modal-subtitle,html[data-theme="primore-notte"] .session-code-label,html[data-theme="primore-notte"] .session-code-hint,html[data-theme="primore-notte"] .session-info-row{color:var(--pn-testo-2)}
html[data-theme="primore-notte"] .session-code-value{background:var(--pn-notte);color:var(--pn-oro-chiaro);border-color:var(--pn-oro)}
html[data-theme="primore-notte"] .cart-item{border-bottom-color:var(--pn-filo)}
html[data-theme="primore-notte"] .cart-qty-btn{background:var(--pn-notte);border:1px solid var(--pn-filo-2);color:var(--pn-testo)}
html[data-theme="primore-notte"] .cart-total{border-top-color:var(--pn-filo-2)}
html[data-theme="primore-notte"] .cart-total strong{color:var(--pn-oro-chiaro)}
html[data-theme="primore-notte"] .cart-fab{background:var(--pn-oro-pieno);color:var(--pn-inchiostro);box-shadow:0 10px 30px rgba(0,0,0,.5)}
html[data-theme="primore-notte"] .cart-fab__count{background:var(--pn-corallo);color:#1a0a05;box-shadow:none}
html[data-theme="primore-notte"] .order-status-card{background:var(--pn-notte);border-color:var(--pn-filo)}
html[data-theme="primore-notte"] .session-top-bar{background:rgba(198,147,92,.14);color:var(--pn-testo);border:1px solid var(--pn-filo-oro);box-shadow:none}
html[data-theme="primore-notte"] .session-top-bar__btn{background:var(--pn-vetro-2);color:var(--pn-testo)}
html[data-theme="primore-notte"] .unit-type-toggle{background:var(--pn-notte)}
html[data-theme="primore-notte"] .unit-type-toggle__btn{color:var(--pn-testo-2)}
html[data-theme="primore-notte"] .unit-type-toggle__btn--active{background:var(--pn-notte-3);color:var(--pn-testo);box-shadow:none}
html[data-theme="primore-notte"] .md-unit-notice{background:rgba(198,147,92,.1);border-color:var(--pn-filo-oro);color:var(--pn-oro-chiaro)}
html[data-theme="primore-notte"] .md-empty-filtered{color:var(--pn-testo-2)}
html[data-theme="primore-notte"] .cart-toast--error{background:var(--pn-corallo)}

/* ── Avvisi di servizio (spiaggia, bar, zone) ─────────────────────────── */
html[data-theme="primore-notte"] .beach-mode-banner,
html[data-theme="primore-notte"] .zone-mode-banner{
background:rgba(198,147,92,.12);
color:var(--pn-oro-chiaro);
border:1px solid var(--pn-filo-oro);
box-shadow:none;
font-weight:600;
border-radius:var(--pn-raggio-s);
}
html[data-theme="primore-notte"] .zone-mode-banner{background:rgba(143,195,182,.1);color:var(--pn-salvia);border-color:rgba(143,195,182,.3)}
/* questi due hanno i colori scritti dentro la pagina (style="…"): servono gli !important */
html[data-theme="primore-notte"] .beach-info-banner,
html[data-theme="primore-notte"] .beach-wa-banner{
margin:0 0 16px!important;
background:var(--pn-vetro)!important;
border:1px solid var(--pn-filo-oro)!important;
box-shadow:none!important;
}
html[data-theme="primore-notte"] .beach-wa-banner{border-color:rgba(111,207,155,.35)!important}
html[data-theme="primore-notte"] .beach-info-banner > div > div:first-child,
html[data-theme="primore-notte"] .beach-wa-banner > div > div:first-child{color:var(--pn-testo)!important}
html[data-theme="primore-notte"] .beach-info-banner > div > div + div,
html[data-theme="primore-notte"] .beach-wa-banner > div > div + div{color:var(--pn-testo-2)!important}
html[data-theme="primore-notte"] .bss{box-shadow:none;border-width:1px;color:var(--pn-testo)}
html[data-theme="primore-notte"] .bss--open{background:rgba(111,207,155,.1);border-color:rgba(111,207,155,.35);color:#c8f0da}
html[data-theme="primore-notte"] .bss--partial{background:rgba(198,147,92,.12);border-color:var(--pn-filo-oro);color:var(--pn-oro-chiaro)}
html[data-theme="primore-notte"] .bss--closed{background:rgba(232,130,108,.1);border-color:rgba(232,130,108,.35);color:#f3c1b5}
html[data-theme="primore-notte"] .bar-closed-banner{background:rgba(198,147,92,.12);border-color:var(--pn-filo-oro);color:var(--pn-oro-chiaro);box-shadow:none}
html[data-theme="primore-notte"] .bar-session-banner{background:rgba(143,195,182,.12);color:var(--pn-testo);border:1px solid rgba(143,195,182,.3);box-shadow:none}
html[data-theme="primore-notte"] .bar-session-banner .bsb-change,
html[data-theme="primore-notte"] .beach-session-banner .bsb-change{background:var(--pn-vetro-2);color:var(--pn-testo);border:1px solid var(--pn-filo-2)}
html[data-theme="primore-notte"] .beach-session-banner{background:rgba(111,207,155,.1);border-color:rgba(111,207,155,.35);color:#c8f0da;box-shadow:none}
html[data-theme="primore-notte"] .beach-session-banner b{color:#e6fbef}
html[data-theme="primore-notte"] .bw-stepper{background:var(--pn-notte-2);box-shadow:none}
html[data-theme="primore-notte"] .bw-step-info,
html[data-theme="primore-notte"] .bw-step-info--bar{background:var(--pn-notte-2);color:var(--pn-testo)}
html[data-theme="primore-notte"] .bw-step-lbl{color:var(--pn-testo-2)}
html[data-theme="primore-notte"] .bw-blocked{background:rgba(198,147,92,.1);border-color:var(--pn-filo-oro);color:var(--pn-oro-chiaro)}
html[data-theme="primore-notte"] .md-add-detail > div[style*="color:#64748b"]{color:var(--pn-testo-3)!important}
/* bar: oro al posto del blu; spiaggia: resta il verde di WhatsApp */
html[data-theme="primore-notte"] .bw-add--bar{background:var(--pn-oro-pieno);color:var(--pn-inchiostro);box-shadow:0 6px 18px rgba(0,0,0,.35)}
html[data-theme="primore-notte"] .bw-stepper--bar{border-color:var(--pn-oro)}
html[data-theme="primore-notte"] .bw-step--bar{background:var(--pn-oro-pieno);color:var(--pn-inchiostro)}
html[data-theme="primore-notte"] .bw-step--bar:hover{background:var(--pn-oro)}
html[data-theme="primore-notte"] .bw-step-info--bar{color:var(--pn-testo)}
/* i pulsanti del carrello li crea lo script con style="…" */
html[data-theme="primore-notte"] #bar-fab,
html[data-theme="primore-notte"] #beach-fab{background:var(--pn-oro-pieno)!important;color:var(--pn-inchiostro)!important;box-shadow:0 10px 30px rgba(0,0,0,.55)!important}
/* l'avviso "✓ … aggiunto" (anche lui con style="…" dallo script) */
html[data-theme="primore-notte"] .md-wa-toast{white-space:nowrap;max-width:calc(100vw - 32px);overflow:hidden;text-overflow:ellipsis;background:rgba(21,24,33,.94)!important;color:var(--pn-testo)!important;border:1px solid var(--pn-filo-oro);box-shadow:0 12px 30px rgba(0,0,0,.5)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html[data-theme="primore-notte"] .md-wa-toast--beach{border-color:rgba(111,207,155,.45)}
html[data-theme="primore-notte"] #bar-cart-badge,
html[data-theme="primore-notte"] #beach-cart-badge{background:var(--pn-corallo)!important;color:#1a0a05!important;border-color:var(--pn-notte)!important}

/* ── Piè di pagina ────────────────────────────────────────────────────── */
html[data-theme="primore-notte"] .site-footer{
background:transparent;
border-top:1px solid rgba(198,147,92,.16);
margin-top:28px;
padding:28px 0 40px;
}
html[data-theme="primore-notte"] .footer-address{color:var(--pn-testo-3)}
html[data-theme="primore-notte"] .footer-link{background:var(--pn-vetro);color:var(--pn-testo);border:1px solid var(--pn-filo-2);border-radius:999px}
html[data-theme="primore-notte"] .footer-link:hover{border-color:var(--pn-oro);color:var(--pn-oro-chiaro)}
html[data-theme="primore-notte"] .footer-link--booking{background:var(--pn-oro-pieno);color:var(--pn-inchiostro);border-color:transparent}
html[data-theme="primore-notte"] .footer-link--booking:hover{color:var(--pn-inchiostro);filter:brightness(1.06)}
html[data-theme="primore-notte"] .footer-copy{color:var(--pn-testo-3);opacity:1;letter-spacing:.02em}
html[data-theme="primore-notte"] .footer-info-block{
background:var(--pn-vetro);
border:1px solid var(--pn-filo);
border-radius:var(--pn-raggio-s);
}
html[data-theme="primore-notte"] .footer-info-item{color:var(--pn-testo-2)}
html[data-theme="primore-notte"] .footer-info-item strong{color:var(--pn-testo)}
html[data-theme="primore-notte"] .footer-info-social a{color:var(--pn-oro-chiaro)!important}
html[data-theme="primore-notte"] .footer-badges{border-top-color:var(--pn-filo)}
/* loghi trasparenti (png, svg, webp) diventano sagome chiare; i jpg restano com'sono */
html[data-theme="primore-notte"] .footer-badge{filter:grayscale(1) brightness(0) invert(1);opacity:.5}
html[data-theme="primore-notte"] .footer-badge:hover{filter:grayscale(1) brightness(0) invert(1);opacity:.85}
html[data-theme="primore-notte"] .footer-badge[src$=".jpg"],html[data-theme="primore-notte"] .footer-badge[src$=".JPG"],
html[data-theme="primore-notte"] .footer-badge[src$=".jpeg"],html[data-theme="primore-notte"] .footer-badge[src$=".JPEG"]{filter:grayscale(.3);opacity:.8;border-radius:8px}

/* ── Stampa: niente notte sulla carta ─────────────────────────────────── */
@media print{
html[data-theme="primore-notte"] body{background:#fff;color:#111}
html[data-theme="primore-notte"] body::before{display:none}
}
