/* =====================================================================
   toppe.com — front-end  |  design system moderno & responsive
   ===================================================================== */
:root{
  --blu:#0f447a; --blu2:#407aaa; --blu-dark:#0b3560;
  --giallo:#ffce3a;
  --ink:#1f2a37; --muted:#64748b; --line:#e6ebf1; --bg:#f5f7fb;
  --ok:#198754; --warn:#b45309;
  --radius:14px; --shadow:0 6px 24px rgba(15,68,122,.08); --shadow-lg:0 14px 40px rgba(15,68,122,.16);
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; font-family:'Poppins',-apple-system,'Segoe UI',Arial,sans-serif; color:var(--ink);
  background:var(--bg); line-height:1.55; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; }
a{ color:var(--blu); text-decoration:none; }
h1,h2,h3{ line-height:1.2; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 20px; }

/* ---------- header ---------- */
.topbar{ position:sticky; top:0; z-index:50; background:#fff; border-bottom:1px solid var(--line);
  box-shadow:0 2px 12px rgba(15,68,122,.05); }
.topbar .wrap{ display:flex; align-items:center; gap:16px; min-height:66px; }
.topbar .logo{ font-size:24px; font-weight:700; color:var(--blu); letter-spacing:-.5px; }
.topbar .logo span{ color:var(--blu2); }
.topbar .logo .logo-img{ height:80px; width:auto; vertical-align:middle; margin-right:9px; }
.nav-toggle{ display:none; margin-left:auto; background:none; border:0; font-size:26px; color:var(--blu); cursor:pointer; }
.mainnav{ margin-left:auto; display:flex; align-items:center; gap:22px; font-size:15px; font-weight:500; }
.mainnav>a{ color:var(--ink); }
.mainnav>a:hover{ color:var(--blu); }
.nav-riv{ border:1.5px solid var(--blu); color:var(--blu)!important; padding:7px 14px; border-radius:22px; }
.nav-riv:hover{ background:var(--blu); color:#fff!important; }
.nav-cart{ background:var(--blu); color:#fff!important; padding:8px 18px; border-radius:22px; font-weight:600; }
.nav-cart:hover{ background:var(--blu-dark); }
.langbar{ display:inline-flex; gap:5px; align-items:center; }
.langbar a{ line-height:0; opacity:.45; border:1.5px solid transparent; border-radius:4px; }
.langbar a.attiva,.langbar a:hover{ opacity:1; border-color:var(--blu2); }
.langbar img{ width:26px; height:17px; display:block; border-radius:3px; box-shadow:0 0 0 1px rgba(0,0,0,.1); }

/* ---------- bottoni ---------- */
.btn_acquista{ display:inline-block; width:100%; text-align:center; background:var(--blu); color:#fff; border:0;
  padding:15px 20px; border-radius:12px; font:600 16px 'Poppins',sans-serif; cursor:pointer; transition:.15s; }
.btn_acquista:hover{ background:var(--blu-dark); transform:translateY(-1px); box-shadow:var(--shadow); }

/* ---------- hero ---------- */
.hero{ background:radial-gradient(1200px 400px at 80% -20%, #5b8fc4 0%, transparent 60%), linear-gradient(135deg,var(--blu),var(--blu2));
  color:#fff; padding:70px 0 76px; text-align:center; }
.hero h1{ font-size:clamp(30px,5vw,48px); margin:0 0 12px; font-weight:700; letter-spacing:-1px; }
.hero p{ font-size:clamp(15px,2vw,19px); max-width:720px; margin:0 auto 26px; color:#e8f0f8; }
.hero .cta{ display:inline-block; background:var(--giallo); color:#1f2937; font-weight:700; font-size:17px;
  padding:16px 42px; border-radius:30px; box-shadow:0 10px 24px rgba(0,0,0,.18); transition:.15s; }
.hero .cta:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(0,0,0,.24); }
.hero_trust{ margin-top:20px; font-size:13.5px; color:#dbe7f3; }

/* ---------- hero2 (banner arancione hardcoded, testo tradotto) ---------- */
.hero2{ background:radial-gradient(900px 500px at 85% -10%, #ffb85a 0%, transparent 55%), linear-gradient(120deg,#f39b1e 0%,#e8830c 60%,#e07a08 100%);
  color:#fff; overflow:hidden; }
.hero2-in{ display:flex; align-items:center; gap:32px; padding:52px 20px 56px; }
.hero2-txt{ flex:1 1 56%; min-width:0; animation:h2in .6s ease both; }
.hero2-txt h1{ font-size:clamp(30px,4.6vw,52px); font-weight:700; letter-spacing:-1px; margin:0 0 22px; text-shadow:0 2px 10px rgba(0,0,0,.12); }
.hero2-list{ list-style:none; margin:0 0 30px; padding:0; display:grid; gap:14px; }
.hero2-list li{ position:relative; padding-left:38px; font-size:clamp(15px,1.6vw,19px); font-weight:600; line-height:1.4; }
.hero2-list li::before{ content:"✓"; position:absolute; left:0; top:-1px; width:26px; height:26px; border-radius:50%;
  background:rgba(255,255,255,.22); color:#fff; font-weight:700; font-size:15px; display:flex; align-items:center; justify-content:center; }
.hero2-btn{ display:inline-block; background:#2f66e0; color:#fff!important; font-weight:700; font-size:17px; letter-spacing:.3px;
  padding:15px 44px; border-radius:30px; box-shadow:0 10px 26px rgba(19,52,133,.35); transition:.15s; }
.hero2-btn:hover{ background:#2453c4; transform:translateY(-2px); box-shadow:0 14px 32px rgba(19,52,133,.45); }
.hero2-media{ flex:0 0 40%; display:flex; align-items:center; justify-content:center; gap:0; }
.hero2-media img{ width:47%; aspect-ratio:1/1; object-fit:cover; border-radius:18px; background:#fff;
  border:5px solid #fff; box-shadow:0 18px 44px rgba(0,0,0,.28); animation:h2pop .7s ease both; }
.hero2-media img:first-child{ transform:rotate(-6deg); z-index:2; margin-right:-6%; }
.hero2-media img:last-child{ transform:rotate(5deg); margin-top:26px; }
.hero2-media img:only-child{ width:70%; transform:none; margin:0; }
@keyframes h2in{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }
@keyframes h2pop{ from{ opacity:0; transform:scale(.9) rotate(0); } }
@media(max-width:820px){
  .hero2-in{ flex-direction:column-reverse; text-align:center; gap:24px; padding:34px 20px 40px; }
  .hero2-list{ text-align:left; max-width:440px; margin-inline:auto; }
  .hero2-media{ flex-basis:auto; }
  .hero2-media img{ width:40%; max-width:180px; }
}

/* ---------- griglia categorie compatta: SOLO MOBILE ---------- */
.cat-quick{ display:none; background:var(--bg); }
.cat-quick-in{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; padding:18px 20px 6px; }
.cq-item{ display:block; text-align:center; }
.cq-img{ display:block; aspect-ratio:1/1; background:#fff; border:1px solid var(--line); border-radius:14px;
  overflow:hidden; box-shadow:var(--shadow); }
.cq-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.cq-lab{ display:block; margin-top:7px; font-size:12.5px; font-weight:600; color:var(--ink); line-height:1.25; }
@media(max-width:760px){ .cat-quick{ display:block; } }

/* ---------- sezioni ---------- */
.sez{ color:var(--blu); font-size:26px; margin:46px 0 4px; }
/* i titoli-ancora (es. #categorie dal menu) non devono finire sotto la topbar sticky (~86px) */
.sez[id]{ scroll-margin-top:86px; }
.sez_sub{ color:var(--muted); margin:0 0 20px; }

/* ---------- griglia card ---------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.cards4{ grid-template-columns:repeat(4,1fr); }
.card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  display:flex; flex-direction:column; transition:.18s; }
.card:hover{ box-shadow:var(--shadow-lg); transform:translateY(-4px); border-color:transparent; }
.card_img{ aspect-ratio:4/3; background:#eef2f7; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.card_img img{ width:100%; height:100%; object-fit:cover; }
.card_body{ padding:15px 16px; display:flex; justify-content:space-between; align-items:center; gap:8px; }
.card_body b{ font-weight:600; }
.card_cta{ color:var(--blu2); font-size:13px; font-weight:600; white-space:nowrap; }

/* ---------- blocco SEO ---------- */
.seo{ margin:50px 0; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow); }
.seo h2{ color:var(--blu); margin-top:0; }
.seo_cols{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; margin-top:12px; }
.seo_cols h3{ color:var(--blu2); margin:0 0 4px; font-size:16px; }
.seo_cols p{ margin:0; color:var(--muted); font-size:14.5px; }

/* ---------- breadcrumb ---------- */
.breadcrumb{ font-size:13px; color:var(--muted); margin:22px 0 18px; }
.breadcrumb a{ color:var(--muted); }
.breadcrumb a:hover{ color:var(--blu); }
.breadcrumb span{ color:var(--ink); font-weight:600; }

/* ---------- scheda prodotto ---------- */
.product-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:34px; align-items:start; }
.product-gallery{ position:sticky; top:86px; }
.pg-main{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; }
.pg-main img{ width:100%; height:100%; object-fit:cover; }
.pg-main img.is-ph{ object-fit:contain; padding:30px; }
.pg-thumbs{ display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.pg-thumbs img{ width:70px; height:70px; object-fit:cover; border:1px solid var(--line); border-radius:10px; cursor:pointer; }
.pg-thumbs img:hover{ border-color:var(--blu2); }

.product-info h1{ font-size:30px; color:var(--blu); margin:0 0 6px; }
.p-sub{ color:var(--muted); margin:0 0 20px; font-size:14.5px; }

/* campi form */
.fields .campo{ margin-bottom:18px; }
.campo>label{ display:block; font-weight:600; margin-bottom:6px; font-size:14.5px; }
.campo select,.campo input[type=number],.campo input[type=text],.campo input[type=email],.campo input[type=password],
.campo textarea,.campo input[type=file]{ width:100%; padding:11px 12px; border:1.5px solid #d6dee8; border-radius:10px;
  font:15px 'Poppins',sans-serif; background:#fff; transition:.15s; }
.campo select:focus,.campo input:focus,.campo textarea:focus{ outline:none; border-color:var(--blu2);
  box-shadow:0 0 0 3px rgba(64,122,170,.15); }
.campo small{ display:block; color:var(--muted); font-size:12px; margin-top:5px; }
/* frase "puoi inviare la grafica via e-mail dopo": marcata e azzurrino chiaro */
.campo small.upload-later{ color:#2f8fd0; font-weight:600; font-size:13px; margin-top:3px; }

/* anteprima file grafica caricato */
.file-preview{ margin-top:8px; }
.fp-row{ display:flex; align-items:center; gap:10px; background:#f5f8fc; border:1px solid var(--line); border-radius:10px; padding:8px; }
.fp-thumb{ width:56px; height:56px; object-fit:cover; border-radius:8px; background:#fff; border:1px solid var(--line); flex:0 0 auto; }
.fp-ico{ font-size:30px; flex:0 0 auto; }
.fp-meta{ display:flex; flex-direction:column; line-height:1.3; overflow:hidden; }
.fp-meta b{ font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:190px; }
.fp-meta small{ color:var(--muted); font-size:11.5px; margin:0; }
.fp-meta small.over{ color:var(--warn); font-weight:600; }
.fp-remove{ margin-left:auto; border:none; background:#e0e6ee; color:#333; width:26px; height:26px; border-radius:50%; cursor:pointer; font-size:16px; line-height:1; flex:0 0 auto; }
.fp-remove:hover{ background:#d0d8e2; }
.dim{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.dim>span{ font-size:13px; color:var(--muted); }
.dim select{ width:auto; min-width:96px; }

/* griglia di icone selezionabili — posizioni ricamo (abbigliamento) e forme (toppe) */
.ricamo-grid,.opt-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.ricamo-item,.opt-item{ display:block; cursor:pointer; margin:0; }
.ricamo-item input,.opt-item input{ position:absolute; opacity:0; width:0; height:0; }
.ricamo-card,.opt-card{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:2px;
  border:1.5px solid #d6dee8; border-radius:10px; padding:10px 6px; transition:.15s; height:100%; box-sizing:border-box; }
.ricamo-card img,.opt-card img{ width:56px; height:56px; object-fit:contain; }
.ricamo-card b,.opt-card b{ font-size:12.5px; font-weight:600; line-height:1.2; }
.ricamo-card em,.opt-card em{ font-size:12px; color:var(--blu2); font-style:normal; font-weight:600; }
.ricamo-card .ricamo-mis{ font-size:10.5px; color:var(--muted); line-height:1.2; }
.ricamo-item:hover .ricamo-card,.opt-item:hover .opt-card{ border-color:var(--blu2); }
.ricamo-item input:checked + .ricamo-card,.opt-item input:checked + .opt-card{ border-color:var(--blu2); background:#eef5fd; box-shadow:0 0 0 1.5px var(--blu2) inset; }
.ricamo-item input:focus-visible + .ricamo-card,.opt-item input:focus-visible + .opt-card{ outline:2px solid var(--blu2); outline-offset:2px; }
/* variante fitta per i pallini colore (tante opzioni piccole) */
/* taglia come chip + colore come swatch (abbigliamento) */
.size-grid{ grid-template-columns:repeat(auto-fill,minmax(66px,1fr)); }
.size-card{ min-height:46px; justify-content:center; padding:10px 6px; }
.size-card b{ font-size:14px; }
.colore-swatch{ width:34px; height:34px; border-radius:50%; border:1px solid rgba(0,0,0,.18); box-shadow:0 1px 2px rgba(0,0,0,.10); }

.opt-grid-fitta{ grid-template-columns:repeat(auto-fill,minmax(70px,1fr)); gap:8px; }
.opt-grid-fitta .opt-card{ padding:7px 3px; gap:3px; }
.opt-grid-fitta .opt-card img{ width:38px; height:38px; }
.opt-grid-fitta .opt-card b{ font-size:10.5px; }
@media(max-width:480px){ .ricamo-grid,.opt-grid{ grid-template-columns:repeat(2,1fr); } .opt-grid-fitta{ grid-template-columns:repeat(auto-fill,minmax(64px,1fr)); } }

/* banner spedizione gratuita (carrello/checkout) */
.freeship{ background:#eef7ef; border:1px solid #cde9d3; border-radius:10px; padding:10px 14px; margin:14px 0 16px; font-size:13.5px; color:#1c6b39; }
.freeship b{ color:#12813a; }
.freeship-bar{ height:6px; background:#d7ebdb; border-radius:4px; margin-top:8px; overflow:hidden; }
.freeship-bar span{ display:block; height:100%; background:var(--ok,#28a745); transition:width .3s ease; }
/* banner promo omaggio (limoncello): accento giallo */
.freeship.omaggio-bar{ background:#fff7e0; border-color:#f4dd9a; color:#8a6a12; }
.freeship.omaggio-bar b{ color:#a67c00; }
.freeship.omaggio-bar .freeship-bar{ background:#f2e3b0; }
.freeship.omaggio-bar .freeship-bar span{ background:#f2b705; }
.omaggio-link{ display:inline-block; margin:6px 0 2px; font-size:13px; font-weight:600; color:#a67c00; text-decoration:none; }
.omaggio-link:hover{ text-decoration:underline; }
/* riga/badge OMAGGIO nel carrello e checkout */
.gift-badge{ display:inline-block; background:#f2b705; color:#5a4300; font-size:10.5px; font-weight:700;
  letter-spacing:.4px; padding:2px 8px; border-radius:20px; vertical-align:middle; }
.cart-gift-free{ color:#12813a!important; }
.cart-item.cart-gift{ background:#fff7e0; border-radius:10px; padding:10px; align-items:center; }
.cart-gift-ico img{ width:40px; height:40px; border:0; background:none; border-radius:0; object-fit:contain; } /* bottiglina limoncello (override thumb 64px) */
.lm-ico{ width:1.15em; height:1.15em; vertical-align:-.22em; } /* icona limoncello inline nel testo */
.cart-gift-ico{ font-size:30px; display:flex; align-items:center; justify-content:center; }

/* box prezzo (scheda prodotto) */
.price-box{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); margin-top:6px; }
.pb-row{ display:flex; justify-content:space-between; font-size:14px; color:var(--muted); margin-bottom:7px; }
.pb-total{ display:flex; justify-content:space-between; align-items:baseline; font-size:15px; color:var(--muted);
  border-top:2px solid var(--line); padding-top:12px; margin:6px 0 14px; }
.pb-total b{ font-size:30px; color:var(--blu); font-weight:700; }
.badge_riv{ background:#eaf6ee; color:var(--ok); font-size:12.5px; padding:8px 10px; border-radius:8px; margin:8px 0; text-align:center; }
.msg{ color:var(--warn); font-size:13px; min-height:18px; margin:6px 0; }
.trust{ list-style:none; padding:0; margin:14px 0 0; font-size:12.5px; color:var(--muted); }
.trust li{ padding-left:22px; position:relative; margin-bottom:5px; }
.trust li:before{ content:'✔'; position:absolute; left:0; color:var(--ok); font-weight:700; }

/* barra prezzo fissa in basso: prezzo della composizione sempre visibile mentre si configura */
.price-bar{ position:fixed; left:0; right:0; bottom:0; z-index:60;
  background:#fff; border-top:1px solid var(--line); box-shadow:0 -6px 22px rgba(0,0,0,.10);
  transform:translateY(115%); transition:transform .28s ease; }
.price-bar.show{ transform:translateY(0); }
.pbar-inner{ display:flex; align-items:center; gap:16px; padding-top:9px; padding-bottom:9px; }
.pbar-figs{ display:flex; flex-direction:column; line-height:1.12; min-width:0; }
.pbar-figs b{ font-size:24px; color:var(--blu); font-weight:800; white-space:nowrap; }
.pbar-unit{ font-size:12px; color:var(--muted); white-space:nowrap; }
.pbar-btn{ width:auto; margin-left:auto; padding:13px 26px; white-space:nowrap; border-radius:10px; flex:0 0 auto; }
@media(max-width:760px){
  .pbar-figs b{ font-size:20px; }
  .pbar-btn{ padding:13px 16px; font-size:15px; }
  .topbar .logo .logo-img{ height:60px; }
}

/* descrizione + video */
.product-extra{ display:grid; grid-template-columns:1fr 1fr; gap:28px; margin:44px 0; }
.pe-desc,.video_box{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow); }
.pe-desc h2,.video_box h2{ color:var(--blu); margin-top:0; }
.pe-desc p{ color:#44515f; }
.video_placeholder{ text-align:center; }
.video_placeholder video{ width:100%; border-radius:10px; background:#000; }
.video_claim{ font-size:18px; font-weight:600; color:var(--blu); margin-top:14px; }

/* ---------- pagine generiche (carrello/checkout/rivenditori/grazie) ---------- */
.configuratore h1,main.wrap>h1{ color:var(--blu); }
.sottotitolo{ color:var(--muted); margin-top:0; }
.config_grid{ display:grid; grid-template-columns:1.4fr .9fr; gap:26px; align-items:start; }
.col_campi{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); }
.col_campi h3{ color:var(--blu); margin-top:28px; }
.col_campi h3:first-child{ margin-top:0; }
.col_prezzo{ position:sticky; top:86px; }
.box_prezzo{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); }
.box_prezzo h3{ margin-top:0; color:var(--blu); }
.riga_piccola{ display:flex; justify-content:space-between; font-size:14px; color:var(--muted); margin-bottom:7px; gap:10px; }
.riga_totale{ display:flex; justify-content:space-between; font-size:22px; font-weight:700; color:var(--blu);
  border-top:2px solid var(--line); padding-top:12px; margin-top:8px; }
.rassicura{ font-size:12.5px; color:var(--muted); line-height:1.7; margin:14px 0 0; }

/* ---------- carrello ---------- */
.cart-empty{ font-size:16px; color:var(--muted); }
.cart-list h3{ display:flex; align-items:center; gap:9px; }
.cart-count{ background:var(--blu); color:#fff; font-size:12px; font-weight:700; min-width:22px; height:22px;
  display:inline-flex; align-items:center; justify-content:center; border-radius:11px; padding:0 6px; }
.cart-item{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px;
  padding:16px 0; border-bottom:1px solid var(--line); }
.cart-item:last-of-type{ border-bottom:0; }
.cart-item-thumb{ flex:0 0 auto; display:block; line-height:0; }
.cart-item-thumb img{ width:64px; height:64px; object-fit:cover; border:1px solid var(--line); border-radius:8px; background:#fafafa; }
.cart-item-main{ flex:1 1 auto; min-width:0; }
.cart-item-name{ color:var(--blu); font-size:15.5px; display:block; text-decoration:none; }
a.cart-item-name:hover{ text-decoration:underline; }
/* popup grafica nel carrello */
.cart-lb{ display:none; position:fixed; inset:0; z-index:1200; background:rgba(9,20,34,.9); align-items:center; justify-content:center; padding:24px; }
.cart-lb.open{ display:flex; }
.cart-lb img{ max-width:92vw; max-height:88vh; border-radius:12px; box-shadow:0 12px 44px rgba(0,0,0,.55); background:#fff; }
.cart-lb-close{ position:absolute; top:16px; right:22px; width:auto; padding:0; font-size:34px; line-height:1; color:#fff; background:none; border:none; cursor:pointer; }
/* FAQ accordion */
.faq-list{ max-width:820px; margin:12px 0 34px; }
.faq-item{ border:1px solid var(--line); border-radius:12px; margin-bottom:10px; background:#fff; overflow:hidden; }
.faq-item summary{ cursor:pointer; padding:16px 46px 16px 18px; font-weight:600; color:var(--blu); list-style:none; position:relative; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; position:absolute; right:18px; top:50%; transform:translateY(-50%); font-size:22px; color:var(--muted); }
.faq-item[open] summary::after{ content:'\2212'; }
.faq-item summary:hover{ background:#f7f9fc; }
.faq-answer{ padding:0 18px 16px; color:var(--ink); line-height:1.6; }
.consegna-nota{ display:inline-block; font-size:13px; color:#7a5a1e; background:#fff6e9; border:1px solid #f0d9b5; border-radius:20px; padding:5px 13px; margin:4px 0 14px; }
.consegna-nota a{ color:var(--blu); font-weight:700; text-decoration:underline; }
.cart-item-opts{ display:flex; flex-wrap:wrap; gap:4px 14px; margin:7px 0; font-size:12.5px; color:#556; }
.cart-item-opts b{ color:#334; font-weight:600; }
.cart-item-remove{ font-size:12px; color:#b23; text-decoration:none; }
.cart-item-remove:hover{ text-decoration:underline; }
.cart-item-price{ text-align:right; white-space:nowrap; flex-shrink:0; }
.cart-item-price b{ color:var(--blu); font-size:16px; }
.cart-item-price small{ color:var(--muted); font-size:11px; margin-left:2px; }
.cart-item-qty{ display:block; font-size:12.5px; color:var(--muted); margin-top:3px; }
.cart-continue{ display:inline-block; margin-top:18px; font-size:14px; color:var(--muted); text-decoration:none; }
.cart-continue:hover{ color:var(--blu); }
.cart-checkout{ display:block; text-align:center; text-decoration:none; margin-top:8px; }
.cart-share{ margin-top:12px; width:100%; }

/* ---------- area account ---------- */
.acc-head{ display:flex; align-items:baseline; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.acc-logout{ font-size:14px; color:#b23; text-decoration:none; }
.acc-logout:hover{ text-decoration:underline; }
.acc-nav{ display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 24px; }
.acc-nav a{ font-size:14px; font-weight:600; color:var(--blu); text-decoration:none;
  border:1px solid var(--line); border-radius:999px; padding:7px 15px; background:#fff; }
.acc-nav a:hover{ background:var(--blu); color:#fff; }
.acc-sec{ margin-bottom:34px; scroll-margin-top:86px; }
.acc-sec h2{ color:var(--blu); font-size:21px; border-bottom:2px solid var(--line); padding-bottom:8px; margin-bottom:16px; }
.acc-table{ width:100%; border-collapse:collapse; font-size:14.5px; }
.acc-table th{ text-align:left; font-size:12px; text-transform:uppercase; letter-spacing:.03em; color:var(--muted); padding:8px 10px; border-bottom:1px solid var(--line); }
.acc-table td{ padding:11px 10px; border-bottom:1px solid var(--line); }
.acc-table a{ color:var(--blu); text-decoration:none; white-space:nowrap; }
.acc-table a:hover{ text-decoration:underline; }
.ord-stato{ display:inline-block; background:#eef4fb; color:var(--blu); font-size:12px; font-weight:600;
  padding:3px 10px; border-radius:999px; }
.acc-addr-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:14px; margin-bottom:22px; }
.acc-addr{ position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:16px; box-shadow:var(--shadow); font-size:13.5px; }
.acc-addr.is-default{ border-color:var(--blu); }
.acc-addr b{ color:var(--blu); }
.acc-addr p{ color:#44515f; line-height:1.55; margin:8px 0 12px; white-space:pre-line; }
.acc-addr-badge{ position:absolute; top:10px; right:10px; background:var(--blu); color:#fff; font-size:10.5px; font-weight:700; padding:2px 8px; border-radius:999px; }
.acc-addr-act{ display:flex; gap:14px; font-size:13px; }
.acc-addr-act a{ color:var(--blu); text-decoration:none; }
.acc-addr-act a.del{ color:#b23; }
.acc-addr-act a:hover{ text-decoration:underline; }
.acc-addr-form{ max-width:560px; }
.nav-account{ font-weight:600; }
/* checkout: blocchi guest (login inline + crea account) */
.co-guest{ background:#eef4fb; border:1px solid #d6e5f3; border-radius:10px; padding:12px 14px; margin-bottom:18px; font-size:14px; }
.co-guest a{ color:var(--blu); font-weight:600; }
.co-login-form .campo{ margin-bottom:10px; }
.co-crea-account{ margin-top:14px; padding:14px; border:1px dashed var(--line); border-radius:10px; background:#fafcff; }

/* ---------- footer ---------- */
.sitefooter{ background:var(--blu); color:#cdddef; margin-top:56px; padding:40px 0 20px; }
.sitefooter b{ color:#fff; }
.foot_cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; font-size:14px; line-height:1.8; }
.foot_bottom{ border-top:1px solid #2f5c88; margin-top:26px; padding-top:16px; font-size:12px; text-align:center; color:#9fbcda; }
.foot_cols a{ color:inherit; text-decoration:none; }
.foot_cols a:hover{ text-decoration:underline; }
.foot_pay{ height:26px; width:auto; margin:0 auto 10px; display:block; }
.foot_copy{ margin:0; line-height:1.6; }
.foot_copy a{ color:#cfe0f0; text-decoration:underline; }
.foot_bottom a{ color:#cfe0f0; }

/* ---------- banner consenso cookie ---------- */
.cookie-banner{ position:fixed; left:16px; right:16px; bottom:16px; z-index:1200; background:#fff; color:#1b1b1b;
  border:1px solid #e2e6ea; border-radius:14px; box-shadow:0 10px 40px rgba(0,0,0,.18);
  transform:translateY(180%); transition:transform .35s ease; }
.cookie-banner.show{ transform:none; }
.ck-inner{ display:flex; gap:18px; align-items:center; justify-content:space-between; flex-wrap:wrap; padding:16px 20px; max-width:1180px; margin:0 auto; }
.ck-txt{ flex:1 1 320px; }
.ck-txt b{ display:block; margin-bottom:4px; font-size:15px; }
.ck-txt p{ margin:0; font-size:13px; line-height:1.5; color:#444; }
.ck-txt a{ color:#d85c0e; text-decoration:underline; }
.ck-btns{ display:flex; gap:10px; flex-shrink:0; }
.ck-btn{ border:0; border-radius:10px; padding:11px 22px; font-size:14px; font-weight:600; cursor:pointer; }
.ck-rej{ background:#eef1f4; color:#333; }
.ck-rej:hover{ background:#e2e6ea; }
.ck-acc{ background:#d85c0e; color:#fff; }
.ck-acc:hover{ filter:brightness(.95); }
@media(max-width:560px){ .ck-btns{ width:100%; } .ck-btn{ flex:1; } }
.hero_tagline{ margin:6px 0 12px; font-size:16px; font-weight:600; color:#eaf3fb; opacity:.95; }

/* ---- Pagine CMS statiche (Chi siamo, Termini, Cookie, Contatti) ---- */
.cms-wrap{ padding-top:18px; padding-bottom:40px; }
.cms-page{ max-width:900px; margin:0 auto; }
.cms-page h1{ font-size:30px; margin:6px 0 20px; }
.cms-body{ font-size:15px; line-height:1.7; color:#243; }
/* scheda Limoncello in omaggio (I Giardini di Cataldo) */
.limoncello-gallery{ display:flex; gap:14px; flex-wrap:wrap; margin:0 0 22px; }
.limoncello-gallery img{ width:calc((100% - 28px)/3); height:auto; border-radius:12px; border:1px solid var(--line); object-fit:cover; } /* 3 per riga desktop (gap 14px) */
@media(max-width:640px){ .limoncello-gallery img{ width:calc(50% - 7px); } }  /* 2 per riga tablet */
@media(max-width:480px){ .limoncello-gallery img{ width:100%; } }             /* 1 per riga mobile */
.limoncello-scheda{ list-style:none; padding:0; margin:16px 0; }
.limoncello-scheda li{ padding:7px 0; border-bottom:1px solid var(--line); }
.limoncello-avvertenza{ margin-top:18px; padding:12px 14px; background:#fff3f3; border:1px solid #f2c4c4; border-radius:10px; font-size:13.5px; color:#7a2b2b; }
.cms-body h2{ font-size:21px; margin:26px 0 10px; }
.cms-body h3{ font-size:17px; margin:20px 0 8px; }
.cms-body p{ margin:0 0 12px; }
.cms-body ul,.cms-body ol{ margin:0 0 12px 22px; }
.cms-body a{ color:#0a5; text-decoration:underline; word-break:break-word; }
.cms-body table{ width:100%!important; border-collapse:collapse; height:auto!important; }
.cms-body td{ padding:0!important; vertical-align:top; }
.cms-body img{ max-width:100%; height:auto; }
/* Contatti */
.contatti-grid{ display:grid; grid-template-columns:1fr 1.4fr; gap:34px; margin-top:26px; align-items:start; }
.contatti-info{ background:#f5f8fb; border:1px solid #e3ecf4; border-radius:12px; padding:22px; font-size:15px; line-height:1.6; }
.contatti-info h2,.contatti-form h2{ font-size:20px; margin:0 0 14px; }
.contatti-info a{ color:#0a5; }
.wa-link{ font-weight:600; }
.contatti-form .campo{ margin-bottom:14px; }
.contatti-form label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:5px; color:#334; }
.contatti-form input,.contatti-form textarea{ width:100%; padding:11px 13px; border:1px solid #cdd8e3; border-radius:8px; font-size:15px; font-family:inherit; box-sizing:border-box; }
.contatti-form textarea{ resize:vertical; }
.flash-ok{ background:#e7f7ec; border:1px solid #b6e2c4; color:#1c6b39; padding:12px 14px; border-radius:8px; margin-bottom:14px; }
.flash-err{ background:#fdecec; border:1px solid #f4c3c3; color:#a12727; padding:12px 14px; border-radius:8px; margin-bottom:14px; }
@media(max-width:760px){ .contatti-grid{ grid-template-columns:1fr; } }

/* ---------- responsive ---------- */
@media(max-width:900px){
  .product-grid{ grid-template-columns:1fr; gap:22px; }
  .product-gallery{ position:static; }
  .ts-preview{ position:static; }
  .config_grid{ grid-template-columns:1fr; }
  .col_prezzo{ position:static; }
  .product-extra{ grid-template-columns:1fr; }
  .cards,.cards4,.seo_cols,.foot_cols{ grid-template-columns:1fr 1fr; }
}
@media(max-width:760px){
  .nav-toggle{ display:block; }
  .mainnav{ display:none; position:absolute; top:66px; left:0; right:0; background:#fff; flex-direction:column;
    align-items:stretch; gap:0; padding:8px 16px 16px; border-bottom:1px solid var(--line); box-shadow:var(--shadow); }
  .mainnav.open{ display:flex; }
  .mainnav>a{ padding:12px 4px; border-bottom:1px solid var(--line); }
  .nav-riv,.nav-cart{ border-radius:10px; text-align:center; margin-top:8px; }
  .langbar{ margin-top:12px; justify-content:center; }
}
@media(max-width:560px){
  .cards,.cards4,.seo_cols,.foot_cols{ grid-template-columns:1fr; }
  .hero{ padding:52px 0; }
  .dim{ gap:6px; } .dim select{ min-width:0; flex:1; }
}

/* ---------- gallery (scroll-snap, nessuna dipendenza) ---------- */
.gal-wrap{ position:relative; }
.gal{ display:flex; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  aspect-ratio:1/1; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
  scrollbar-width:none; cursor:grab; }
.gal::-webkit-scrollbar{ display:none; }
.gal:active{ cursor:grabbing; }
.gal-slide{ flex:0 0 100%; scroll-snap-align:center; height:100%; display:flex; align-items:center; justify-content:center; }
.gal-slide img{ width:100%; height:100%; object-fit:cover; display:block; cursor:zoom-in; }
.gal-slide img.is-ph{ object-fit:contain; padding:34px; cursor:default; }
.gal-nav{ position:absolute; top:50%; transform:translateY(-50%); width:40px; height:40px; border:0; border-radius:50%;
  background:rgba(255,255,255,.92); color:var(--blu); font-size:24px; line-height:1; cursor:pointer; box-shadow:var(--shadow); z-index:2; }
.gal-nav:hover{ background:#fff; }
.gal-nav.prev{ left:10px; } .gal-nav.next{ right:10px; }
.gal-thumbs{ display:flex; gap:8px; margin-top:12px; overflow-x:auto; scrollbar-width:none; }
.gal-thumbs::-webkit-scrollbar{ display:none; }
.gal-thumbs img{ flex:0 0 auto; width:72px; height:72px; object-fit:cover; border:2px solid var(--line);
  border-radius:10px; cursor:pointer; opacity:.6; transition:.15s; }
.gal-thumbs img:hover{ opacity:1; }
.gal-thumbs img.active{ border-color:var(--blu2); opacity:1; }

/* ---------- lightbox (scroll-snap) ---------- */
.lightbox{ display:none; position:fixed; inset:0; z-index:1000; background:rgba(9,20,34,.94); }
.lightbox.open{ display:block; }
.lb-track{ display:flex; height:100%; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.lb-track::-webkit-scrollbar{ display:none; }
.lb-slide{ flex:0 0 100%; scroll-snap-align:center; height:100%; display:flex; align-items:center; justify-content:center; padding:44px; }
.lb-slide img{ max-width:100%; max-height:86vh; object-fit:contain; border-radius:10px; }
.lb-nav{ position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border:0; border-radius:50%;
  background:rgba(255,255,255,.16); color:#fff; font-size:28px; cursor:pointer; z-index:2; }
.lb-nav.prev{ left:18px; } .lb-nav.next{ right:18px; }
.lb-close{ position:absolute; top:14px; right:22px; background:none; border:0; color:#fff; font-size:42px; line-height:1; cursor:pointer; z-index:3; }
@media(max-width:560px){ .lb-slide{ padding:14px; } .lb-slide img{ max-height:80vh; } .gal-thumbs img{ width:60px; height:60px; } }

/* ---- Pulsante + popup "Vedi tutti i prezzi" (componente listino) ---- */
.btn-listino{ display:inline-flex; align-items:center; justify-content:center; gap:6px; width:100%;
  margin-top:10px; background:#fff; color:var(--blu); border:1.5px solid var(--blu);
  border-radius:12px; padding:11px 16px; font-size:14.5px; font-weight:600; cursor:pointer;
  transition:background .15s, color .15s, transform .15s; }
.btn-listino:hover{ background:var(--blu); color:#fff; transform:translateY(-1px); box-shadow:var(--shadow); }

.price-modal{ display:none; position:fixed; inset:0; z-index:1100; background:rgba(9,20,34,.55);
  padding:20px; align-items:center; justify-content:center; }
.price-modal.open{ display:flex; }
.pm-card{ position:relative; background:#fff; border-radius:var(--radius); box-shadow:var(--shadow-lg);
  max-width:640px; width:100%; max-height:86vh; display:flex; flex-direction:column; padding:24px; }
.pm-close{ position:absolute; top:10px; right:14px; background:none; border:0; font-size:30px; line-height:1;
  color:var(--muted); cursor:pointer; }
.pm-close:hover{ color:var(--ink); }
.pm-title{ margin:0 30px 14px 0; color:var(--blu); font-size:19px; }
.pm-scroll{ overflow:auto; -webkit-overflow-scrolling:touch; }
.pm-note{ margin:14px 0 0; font-size:13px; color:var(--muted); line-height:1.5; }

.lp-table{ width:100%; border-collapse:collapse; font-size:14.5px; }
.lp-table th, .lp-table td{ padding:9px 12px; text-align:center; border-bottom:1px solid var(--line); white-space:nowrap; }
.lp-table thead th{ position:sticky; top:0; background:var(--blu); color:#fff; font-weight:600; font-size:13px; }
.lp-table thead th:first-child, .lp-table tbody td:first-child{ text-align:left; }
.lp-table tbody tr:nth-child(even){ background:var(--bg); }
.lp-table tbody tr:hover{ background:#eef4fb; }
.lp-table td b{ color:var(--ink); }
@media(max-width:560px){ .pm-card{ padding:18px; } .lp-table th, .lp-table td{ padding:8px 9px; font-size:13px; } }

/* ---- Badge "2 toppe + 1 omaggio" (prodotti prezzo fisso / Croce Rossa) ---- */
.omaggio-badge{ display:inline-block; background:#e11d2a; color:#fff; font-weight:700; font-size:14px;
  padding:6px 14px; border-radius:20px; margin:2px 0 10px; letter-spacing:.2px;
  box-shadow:0 3px 10px rgba(225,29,42,.28); }

/* ===================================================================== */
/*  TOPPA CON SCRITTA — font bundlati, anteprima live, forme             */
/* ===================================================================== */
/* Percorso corretto: da /css/ a /public/fonts/ è ../public/ (era ../../ ai tempi di /new/) */
@font-face{ font-family:'Playfair Display'; src:url(../public/fonts/elegante.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Great Vibes';      src:url(../public/fonts/corsivo.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Pacifico';         src:url(../public/fonts/pennello.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Caveat';           src:url(../public/fonts/manoscritto.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Anton';            src:url(../public/fonts/stampatello.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'UnifrakturMaguntia';src:url(../public/fonts/gotico.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Stardos Stencil';  src:url(../public/fonts/stencil.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Rye';              src:url(../public/fonts/western.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Bangers';          src:url(../public/fonts/comico.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Orbitron';         src:url(../public/fonts/digitale.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Merriweather';     src:url(../public/fonts/serif.woff2) format('woff2'); font-display:swap; }
/* Font aggiunti per la lista ricamorapido (sistema + Google) */
@font-face{ font-family:'Bungee';           src:url(../public/fonts/bungee.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Varela Round';     src:url(../public/fonts/varelaround.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Kalam';            src:url(../public/fonts/kalam.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Pinyon Script';    src:url(../public/fonts/pinyon.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Comic Neue';       src:url(../public/fonts/comicneue.woff2) format('woff2'); font-weight:700; font-display:swap; }
@font-face{ font-family:'Grenze Gotisch';   src:url(../public/fonts/grenzegotisch.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'UnifrakturCook';   src:url(../public/fonts/unifrakturcook.woff2) format('woff2'); font-weight:700; font-display:swap; }
@font-face{ font-family:'Permanent Marker'; src:url(../public/fonts/permanentmarker.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Shadows Into Light';src:url(../public/fonts/shadowsintolight.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Yellowtail';       src:url(../public/fonts/yellowtail.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Bungee Outline';   src:url(../public/fonts/bungeeoutline.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Lobster';          src:url(../public/fonts/lobster.woff2) format('woff2'); font-display:swap; }
@font-face{ font-family:'Dancing Script';   src:url(../public/fonts/dancingscript.woff2) format('woff2'); font-display:swap; }

/* griglia FONT: ogni voce col NOME scritto nel proprio carattere */
.font-grid{ grid-template-columns:repeat(auto-fill,minmax(116px,1fr)); }
.font-card{ min-height:60px; justify-content:center; padding:10px 6px; }
.font-card .font-name{ font-family:inherit; font-size:18px; font-weight:600; line-height:1.15; color:#222; word-break:break-word; }
.font-item input:checked + .font-card{ border-color:var(--blu2); background:#eef5fd; box-shadow:0 0 0 1.5px var(--blu2) inset; }

/* pannello ANTEPRIMA */
.ts-preview{ margin:2px 0 20px; position:sticky; top:86px; z-index:20; background:var(--bg); padding-bottom:12px; }
.ts-stage{ display:flex; align-items:center; justify-content:center; min-height:200px; padding:20px;
  background:repeating-linear-gradient(45deg,#f3f6fa,#f3f6fa 10px,#eef2f7 10px,#eef2f7 20px); border-radius:14px; }
.ts-patch{ display:flex; align-items:center; justify-content:center; text-align:center;
  width:180px; height:180px; padding:16px; background:#ffffff; border:6px solid #c9d3e0;
  box-shadow:0 4px 16px rgba(0,0,0,.14); transition:background .15s,border-color .15s,border-radius .15s; overflow:hidden; }
.ts-text{ font-size:28px; font-weight:700; line-height:1.12; color:#222; word-break:break-word; }
.ts-text.is-placeholder{ opacity:.4; }
.ts-note{ display:block; color:var(--muted); font-size:12px; margin-top:8px; text-align:center; }
/* player immagine (toppa con logo, sublimatiche, PVC) */
.img-graphic{ max-width:100%; max-height:100%; object-fit:contain; display:block; }
.img-empty{ color:var(--muted); font-size:13px; padding:0 8px; }

/* forme del riquadro anteprima (approssimazioni CSS) */
.shape-tonda{ border-radius:50%; }
.shape-non-so{ border-radius:16px; }
.shape-quadrata{ border-radius:6px; }
.shape-ovale{ border-radius:50%/40%; width:210px; height:150px; }
.shape-rettangolare{ border-radius:8px; width:220px; height:140px; }
.shape-scudetto{ border-radius:14px 14px 46% 46%/14px 14px 62% 62%; }
.shape-sagomata{ border-radius:44% 56% 62% 38%/42% 44% 56% 58%; }

@media(max-width:480px){
  .ts-patch,.shape-ovale,.shape-rettangolare{ width:150px; height:150px; }
  .shape-ovale{ height:120px; } .shape-rettangolare{ height:110px; }
  .ts-text{ font-size:22px; }
}

/* ===================================================================== */
/*  HERO SLIDER (immagini gestite da ERP, per lingua)                    */
/* ===================================================================== */
.hero-wrap{ margin:22px auto 8px; }
.hero-slider{ position:relative; width:100%; overflow:hidden; background:var(--bg); line-height:0;
  border-radius:var(--radius); }
.hs-track{ display:flex; align-items:flex-start; transition:transform .5s ease, height .35s ease; will-change:transform; }
.hs-slide{ min-width:100%; }
.hs-slide a,.hs-slide picture{ display:block; width:100%; }
.hs-slide img{ width:100%; height:auto; display:block; }
.hs-nav{ position:absolute; top:50%; transform:translateY(-50%); display:flex; align-items:center; justify-content:center;
  width:46px; height:46px; border:0; border-radius:50%; background:rgba(0,0,0,.28); color:#fff; font-size:28px; line-height:1;
  cursor:pointer; transition:background .15s; z-index:2; }
.hs-nav:hover{ background:rgba(0,0,0,.5); }
.hs-nav.prev{ left:16px; } .hs-nav.next{ right:16px; }
.hs-dots{ position:absolute; left:0; right:0; bottom:14px; display:flex; gap:9px; justify-content:center; z-index:2; }
.hs-dot{ width:11px; height:11px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.55); cursor:pointer;
  transition:background .15s,transform .15s; }
.hs-dot:hover{ background:rgba(255,255,255,.8); }
.hs-dot.active{ background:#fff; transform:scale(1.15); }
@media(max-width:640px){
  .hs-nav{ width:36px; height:36px; font-size:22px; }
  .hs-nav.prev{ left:8px; } .hs-nav.next{ right:8px; }
  .hs-dots{ bottom:10px; }
}

/* ===================================================================== */
/*  HOMEPAGE — sezioni migrate dal sito attuale (fasi, video, recensioni)*/
/* ===================================================================== */
.home-sec{ margin:48px 0; }
.sez3{ color:var(--blu); font-size:20px; margin:26px 0 10px; }

/* Fasi di lavorazione: griglia responsive di 5 foto + didascalia tradotta (t()).
   Desktop: 5 in fila. Mobile: 2 colonne (la 5ª foto centrata). */
.fasi-steps{ list-style:none; margin:20px 0 0; padding:24px; display:grid; grid-template-columns:repeat(5,1fr); gap:18px 14px;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); }
.fasi-steps .fase{ text-align:center; }
.fase-img{ display:block; width:100%; max-width:220px; height:auto; margin:0 auto 10px; }
.fase-txt{ display:block; color:var(--blu); font-size:15px; font-weight:600; line-height:1.3; }
@media(max-width:640px){
  .fasi-steps{ grid-template-columns:repeat(2,1fr); gap:22px 12px; padding:16px; }
  .fasi-steps .fase:last-child:nth-child(odd){ grid-column:1 / -1; }   /* 5ª foto centrata su riga intera */
  .fase-img{ max-width:190px; }
}

.benefits{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:14px; }
.benefit{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px 20px; text-align:center; box-shadow:var(--shadow); }
.benefit .bi{ font-size:34px; display:block; margin-bottom:10px; line-height:1; }
.benefit b{ display:block; color:var(--blu); margin-bottom:6px; font-size:16px; }
.benefit p{ margin:0; color:var(--muted); font-size:14px; }

.vh-frame{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg); background:#000; width:100%; }
.vh-frame video{ width:100%; display:block; }

.qualita{ display:grid; grid-template-columns:1fr auto; gap:26px; align-items:center; background:#fff;
  border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
.qualita .q-txt h2{ margin:0 0 8px; }
.qualita .q-txt p{ margin:0; color:var(--muted); }
.qualita .q-cert{ width:140px; height:auto; flex:0 0 auto; }

.mac-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.mac-grid img{ width:100%; height:230px; object-fit:cover; border-radius:var(--radius); border:1px solid var(--line); }
.sede-img{ width:100%; max-height:440px; object-fit:cover; border-radius:var(--radius); border:1px solid var(--line); }

.rev-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.rev{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow);
  display:flex; flex-direction:column; }
.rev-stars{ color:#f5a623; letter-spacing:2px; font-size:16px; }
.rev b{ display:block; color:var(--blu); margin:8px 0 6px; }
.rev p{ margin:0 0 12px; font-size:14px; color:var(--ink); flex:1; }
.rev small{ color:var(--muted); font-size:12px; }

@media(max-width:860px){
  .benefits,.mac-grid{ grid-template-columns:1fr; }
  .rev-grid{ grid-template-columns:repeat(2,1fr); }
  .qualita{ grid-template-columns:1fr; text-align:center; }
  .qualita .q-cert{ margin:0 auto; }
}
@media(max-width:520px){ .rev-grid{ grid-template-columns:1fr; } }

/* ---- card ricamate con descrizione + badge (home) ---- */
/* griglia ricamate: si adatta al numero di prodotti (niente buco col terzo depubblicato) */
.cards-desc{ grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); }
.cards-desc .card_img{ position:relative; }
.cards-desc .card_body{ flex-direction:column; align-items:flex-start; gap:8px; }
.card-desc-txt{ margin:0; color:var(--muted); font-size:13.5px; line-height:1.5; }
.cards-desc .card_cta{ margin-top:2px; }
.card-badge{ position:absolute; top:10px; right:10px; z-index:1; background:var(--giallo); color:#4a3800;
  font-size:11.5px; font-weight:700; padding:5px 11px; border-radius:20px; box-shadow:0 3px 10px rgba(0,0,0,.18);
  text-transform:uppercase; letter-spacing:.3px; }

/* ---- banner riassicurazione pagamento/bozza (schede prodotto) ---- */
.pay-banners{ margin:16px 0 4px; display:flex; flex-direction:column; gap:10px; }
.pay-banner{ display:flex; align-items:flex-start; gap:12px; border-radius:12px; padding:13px 15px; font-size:13.5px; line-height:1.5; }
.pay-banner .pb-ico{ font-size:19px; line-height:1.2; flex:0 0 auto; }
.pay-banner p{ margin:0; }
.pay-banner.green{ background:#e7f6ec; border:1px solid #b7e0c4; color:#14532d; }
.pay-banner.green b{ color:#0f7a33; }
.pay-banner.orange{ background:#fff3e6; border:1px solid #ffd3a3; color:#7a3d06; }
.pay-banner .pb-strong{ display:inline-block; margin-top:6px; background:#111; color:#fff; font-weight:700;
  font-size:12px; padding:4px 11px; border-radius:6px; letter-spacing:.4px; }

/* ---------- guida alla scelta della dimensione ---------- */
.dim-help{ background:none; border:0; padding:0; margin:0; cursor:pointer; color:var(--blu);
  font:inherit; font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.dim-help:hover{ color:var(--blu-dark); }
.help-modal{ display:none; position:fixed; inset:0; z-index:1150; background:rgba(9,20,34,.55);
  align-items:center; justify-content:center; padding:22px; }
.help-modal.open{ display:flex; }
.help-modal-box{ position:relative; background:#fff; border-radius:16px; max-width:520px; width:100%;
  padding:30px 28px 26px; box-shadow:0 24px 60px rgba(0,0,0,.35); max-height:88vh; overflow:auto; }
.help-modal-box h3{ margin:0 40px 14px 0; color:var(--blu); font-size:21px; line-height:1.25; }
.help-modal-box p{ margin:0 0 13px; color:#44515f; font-size:14.5px; line-height:1.6; }
.help-modal-box p:last-child{ margin-bottom:0; }
.help-modal-x{ position:absolute; top:12px; right:14px; width:34px; height:34px; border:0; border-radius:50%;
  background:var(--bg); color:var(--ink); font-size:22px; line-height:1; cursor:pointer; }
.help-modal-x:hover{ background:#e2e8f0; }
/* tabella guida taglie (dentro il pop-up) */
.size-guide{ overflow-x:auto; }
.size-guide table{ width:100%; border-collapse:collapse; font-size:14px; }
.size-guide th,.size-guide td{ border:1px solid var(--line); padding:9px 12px; text-align:center; white-space:nowrap; }
.size-guide thead th{ background:var(--blu); color:#fff; font-weight:600; }
.size-guide tbody tr:nth-child(even){ background:var(--bg); }
.size-guide tbody td:first-child{ font-weight:700; color:var(--blu); }
.size-guide-note{ margin:14px 0 0; font-size:12.5px; color:var(--muted); }
/* descrizione capo (caratteristiche da scheda tecnica) */
.pe-corpo{ color:#44515f; font-size:14.5px; line-height:1.6; margin:0 0 12px; }

/* ---------- pulsante WhatsApp flottante (sitewide) ---------- */
.wa-float{ position:fixed; right:20px; bottom:20px; z-index:70; width:56px; height:56px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 22px rgba(0,0,0,.28); transition:transform .15s, bottom .2s ease, box-shadow .15s; }
.wa-float:hover{ transform:scale(1.07); box-shadow:0 12px 28px rgba(0,0,0,.35); }
.wa-float svg{ width:32px; height:32px; display:block; }
/* tooltip CSS (non nativa): bolla a sinistra del pulsante, con freccetta */
.wa-tip{ position:absolute; right:calc(100% + 14px); top:50%; transform:translateY(-50%) translateX(6px);
  white-space:nowrap; background:#0b1f33; color:#fff; font-size:13.5px; font-weight:600; line-height:1;
  padding:10px 14px; border-radius:10px; box-shadow:0 8px 22px rgba(0,0,0,.28);
  opacity:0; visibility:hidden; pointer-events:none; transition:opacity .18s ease, transform .18s ease; }
.wa-tip::after{ content:""; position:absolute; left:100%; top:50%; transform:translateY(-50%);
  border:7px solid transparent; border-left-color:#0b1f33; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip{ opacity:1; visibility:visible; transform:translateY(-50%) translateX(0); }
/* quando la barra prezzo è visibile (schede prodotto) solleva il pulsante per non sovrapporlo */
.price-bar.show ~ .wa-float{ bottom:82px; }
@media(max-width:760px){
  .wa-float{ width:52px; height:52px; right:16px; bottom:16px; }
  .price-bar.show ~ .wa-float{ bottom:78px; }
}
