/* ADGUSTUM PASTICCERIE v7 — elegante, fisso, testata */

:root{
  --k:#0f0e17;--k2:#44445a;--k3:#8888a0;
  --bg:#fafaf8;--wh:#fff;--br:#e4e0f0;--br2:#ccc8dc;
  --ac:#5b21b6;--ac2:#7c3aed;
  --sh:0 12px 48px rgba(91,33,182,.09),0 2px 8px rgba(0,0,0,.05);
}
#adgpast-page{font-family:'Inter',system-ui,sans-serif;color:var(--k);background:var(--bg);}



/* MODALE */
.apw-modal{position:absolute;bottom:0;left:0;right:0;max-height:90vh;background:var(--wh);border-radius:20px 20px 0 0;overflow-y:auto;animation:apwUp .3s ease;z-index:10;}
@media(min-width:600px){.apw-modal{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:480px;max-height:84vh;border-radius:20px;animation:apwFi .2s ease;}}
@keyframes apwUp{from{transform:translateY(100%);}to{transform:translateY(0);}}
@keyframes apwFi{from{opacity:0;transform:translate(-50%,-44%);}to{opacity:1;transform:translate(-50%,-50%);}}
.apw-modal-handle{width:32px;height:4px;background:var(--br);border-radius:2px;margin:10px auto 0;}
.apw-modal-close{position:absolute;top:12px;right:14px;width:26px;height:26px;border-radius:50%;background:var(--bg);border:none;font-size:13px;cursor:pointer;color:var(--k2);display:flex;align-items:center;justify-content:center;z-index:5;}
.apw-mhero{height:190px;background-size:cover;background-position:center;background-color:var(--bg);position:relative;}
.apw-mhero-ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.65),transparent);}
.apw-mhero-info{position:absolute;bottom:14px;left:16px;right:16px;}
.apw-mhero-name{font-family:'Playfair Display',serif;font-size:20px;font-weight:700;color:#fff;margin-bottom:3px;}
.apw-mhero-loc{font-size:12px;color:rgba(255,255,255,.75);}
.apw-mbody{padding:18px 20px 26px;}
.apw-mscore{display:inline-flex;align-items:center;gap:8px;background:#f3f0ff;border-radius:50px;padding:5px 14px;margin-bottom:12px;}
.apw-mscore-n{font-size:19px;font-weight:700;color:var(--ac);font-family:'Playfair Display',serif;}
.apw-mscore-l{font-size:10px;color:var(--k3);}
.apw-mexc{font-size:13px;color:var(--k2);line-height:1.65;margin-bottom:12px;font-weight:300;}
.apw-mspecs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px;}
.apw-mspec{font-size:11px;font-weight:500;color:var(--ac);background:#f3f0ff;border:1px solid #c4b5fd;padding:3px 10px;border-radius:20px;}
.apw-mofferta{background:#f8f5ff;border-radius:11px;padding:12px;margin-bottom:12px;display:flex;gap:10px;border:1px solid #e9d5ff;}
.apw-mofferta-ico{font-size:20px;flex-shrink:0;}
.apw-mofferta strong{display:block;font-size:11px;font-weight:600;color:var(--ac);margin-bottom:2px;}
.apw-mofferta p{font-size:12px;color:var(--k2);margin:0;line-height:1.5;}
.apw-minfo{display:flex;flex-direction:column;gap:7px;margin-bottom:12px;}
.apw-minfo-row{display:flex;gap:8px;font-size:13px;color:var(--k2);}
.apw-minfo-row a{color:var(--ac);text-decoration:none;}
.apw-mactions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px;}
.apw-maction{flex:1;min-width:68px;padding:9px;border-radius:9px;border:1.5px solid var(--br);background:var(--bg);font-size:12px;font-weight:600;color:var(--k2);text-align:center;text-decoration:none;display:block;cursor:pointer;font-family:inherit;transition:background .1s;}
.apw-maction:hover{background:var(--br);}
.apw-maction.primary{background:var(--ac);color:#fff;border-color:var(--ac);}
.apw-msocs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px;}
.apw-msoc{display:inline-block;font-size:12px;font-weight:500;padding:5px 13px;border-radius:20px;text-decoration:none;border:1.5px solid var(--br);color:var(--k2);}
.apw-mbase-cta{background:#f8f5ff;border-radius:12px;padding:16px;text-align:center;border:1px solid #e9d5ff;margin-top:8px;}
.apw-mbase-cta p{font-size:13px;color:var(--k2);margin:0 0 10px;line-height:1.55;font-weight:300;}
.apw-mbase-cta a{display:inline-block;background:var(--ac);color:#fff;font-size:13px;font-weight:600;padding:8px 20px;border-radius:20px;text-decoration:none;}
.apw-marts{border-top:1px solid var(--br);padding-top:12px;margin-top:12px;}
.apw-marts-lbl{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--k3);margin-bottom:8px;}
.apw-mart{display:flex;gap:10px;align-items:center;padding:7px;border-radius:9px;text-decoration:none;margin-bottom:5px;transition:background .1s;}
.apw-mart:hover{background:var(--bg);}
.apw-mart-img{width:40px;height:40px;border-radius:7px;background-size:cover;background-position:center;flex-shrink:0;background-color:var(--br);}
.apw-mart-ttl{font-size:12px;font-weight:600;color:var(--k);line-height:1.3;margin-bottom:2px;}
.apw-mart-date{font-size:10px;color:var(--k3);}

/* ═══════════════════════════════════════════
   BENTO MAGAZINE v3 — Adgustum Pasticcerie
═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   BENTO MAGAZINE — Adgustum Pasticcerie — v4 FINAL
   Font: Cormorant Garamond (titoli) + Inter (corpo)
   Palette: viola #5b21b6, bianco, grigio caldo
═══════════════════════════════════════════════════ */

/* ─── Variabili locali ─── */

/* ═══════════════════════════════════════════════
   BENTO MAGAZINE — WOW Edition
   Font: Cormorant Garamond (titoli grandi, italic)
   Palette: inchiostro #0f0e17, viola #5b21b6, bianco
═══════════════════════════════════════════════ */
.bm-hero-h3,.bm-h2,.bm-aside-h4,.bm-cur-h4,.bm-card-h4,.bm-mondo-h3,.bm-quiz-q,.bm-trend-h4,.bm-cur2-h4,.bm-vcard-h4,.bm-lcard-h4,.bm-novita-h4,.bm-ex-h4,.bm-srch-h3,.bm-cur1-h4{font-family:"Cormorant Garamond",Palatino,Georgia,serif !important;font-style:italic;}

/* ══════════════════════════════════════════════
   MAGAZINE ADGUSTUM — Testata seria, pulita
   Font: Cormorant Garamond (titoli) · Inter (corpo)
   Ispirazione: Financial Times, Il Post, Gambero Rosso
══════════════════════════════════════════════ */

/* MAGAZINE FONT STACK */
/* Serif fallback per tutti i titoli magazine */
.mg h2,.mg h3,.mg h4,.mg-title,.mg-hero-h3,.mg-aside-h4,
.mg-gcard-h4,.mg-quiz-q,.mg-trend-q,.mg-pcard-name,
.mg-mondo-h4,.mg-nov-h4,.mg-srch-h3{
  font-family:"Cormorant Garamond",Palatino,"Book Antiqua",Georgia,serif;
  font-style:italic;
}

/* ════════════════════════════════════════
   ADGUSTUM MAGAZINE — WOW
   Font: Cormorant Garamond + Inter
   Max-width: 100% (full width Elementor)
════════════════════════════════════════ */

/* ══ ADGUSTUM MAGAZINE v6 ══ */
.mgw{width:100%;font-family:-apple-system,'Helvetica Neue',Arial,sans-serif;color:#111;background:#fff}

/* Serif stack per titoli */
.mgw-brand,.mgw-hero-h3,.mgw-hsc-h,.mgw-srch-h3,.mgw-gc-h4,
.mgw-ds-h,.mgw-ds-th,.mgw-mondo-h,.mgw-pc-name,.mgw-nov-h,
.mgw-stats strong,.mgw-pscore{
  font-family:Georgia,'Times New Roman',serif;font-style:italic;
}

/* NAV */
.mgw-nb{display:flex;align-items:center;justify-content:space-between;padding:0 40px;height:56px;border-bottom:1px solid #e8e8e8;background:#fff;position:sticky;top:0;z-index:100}
.mgw-brand{font-size:21px;font-weight:400;color:#111;font-style:italic;letter-spacing:-.02em}
.mgw-brand em{color:#5b21b6}
.mgw-nav{display:flex;align-items:center;gap:24px}
.mgw-na{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#999;text-decoration:none;padding-bottom:2px;border-bottom:2px solid transparent;transition:all .18s}
.mgw-na:hover,.mgw-na.active{color:#111;border-bottom-color:#5b21b6}
.mgw-live{display:flex;align-items:center;gap:5px;font-size:9px;font-weight:700;color:#dc2626;letter-spacing:.08em;text-transform:uppercase}
/* HERO BENTO EDITORIALE (1 GRANDE + 2 PICCOLI) */
.mgw-hero-bento{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;margin-bottom:32px;height:500px;}
@media(max-width:900px){.mgw-hero-bento{grid-template-columns:1fr;height:auto;display:flex;flex-direction:column;}}

.mgw-hb-main{position:relative;border-radius:24px;overflow:hidden;background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:flex-end;padding:40px;box-shadow:0 12px 32px rgba(91,33,182,.08);transition:transform 0.4s;}
@media(max-width:900px){.mgw-hb-main{height:400px;padding:30px;}}
.mgw-hb-main:hover{transform:scale(1.01);}
.mgw-hb-ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(10,5,20,0.9) 0%,rgba(10,5,20,0.4) 40%,rgba(10,5,20,0) 100%);pointer-events:none;}
.mgw-hb-body{position:relative;z-index:1;max-width:85%;}
@media(max-width:900px){.mgw-hb-body{max-width:100%;}}
.mgw-hb-h3{font-family:'Cormorant Garamond',serif;font-size:clamp(32px,5vw,54px);font-weight:600;color:#fff;line-height:1.1;margin-bottom:12px;font-style:italic;text-shadow:0 4px 12px rgba(0,0,0,0.5);}
.mgw-hb-exc{font-size:15px;color:rgba(255,255,255,0.8);line-height:1.6;margin-bottom:20px;font-weight:300;}
.mgw-hb-btn{display:inline-flex;align-items:center;padding:12px 24px;background:#fff;color:#5b21b6;text-decoration:none;font-size:13px;font-weight:700;border-radius:50px;transition:all .2s;}
.mgw-hb-btn:hover{background:#5b21b6;color:#fff;transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,0.3);}

.mgw-hb-side{display:grid;grid-template-rows:1fr 1fr;gap:20px;}
@media(max-width:900px){.mgw-hb-side{grid-template-columns:1fr 1fr;grid-template-rows:none;height:240px;}}
@media(max-width:500px){.mgw-hb-side{grid-template-columns:1fr;grid-template-rows:200px 200px;height:auto;}}

.mgw-hsc-b{position:relative;border-radius:20px;overflow:hidden;background:#fcfcfa;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;text-decoration:none;box-shadow:0 8px 24px rgba(91,33,182,.05);transition:transform 0.4s;}
.mgw-hsc-b:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(91,33,182,.15);}
.mgw-hsc-b-img{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform 0.6s;}
.mgw-hsc-b:hover .mgw-hsc-b-img{transform:scale(1.06);}
.mgw-hsc-b-ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,0.85) 0%,rgba(0,0,0,0) 70%);pointer-events:none;}
.mgw-hsc-b-badge{position:absolute;top:16px;left:16px;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;background:#5b21b6;color:#fff;padding:4px 10px;border-radius:20px;}
.mgw-hsc-b-body{position:relative;z-index:1;}
.mgw-hsc-b-cat{font-size:10px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:#c4b5fd;display:block;margin-bottom:6px;}
.mgw-hsc-b-h{font-family:'Cormorant Garamond',serif;font-size:22px;font-weight:600;font-style:italic;color:#fff;line-height:1.2;text-shadow:0 2px 8px rgba(0,0,0,0.5);}

/* PAGE */
.mgw-page{max-width:1200px;margin:0 auto;padding:0 40px}

/* MOTORE LIGHT MODE PREMIUM */
.mgw-srch{background:#fafaf8;border:1px solid #e4e0f0;border-radius:16px;overflow:hidden;margin:32px 0;position:relative;box-shadow:0 12px 32px rgba(91,33,182,.04), 0 2px 6px rgba(0,0,0,.02);}
.mgw-srch-top{display:grid;grid-template-columns:1fr 1.55fr;position:relative;z-index:1}
@media(max-width:700px){.mgw-srch-top{grid-template-columns:1fr}}
.mgw-srch-lx{padding:34px 30px;border-right:1px solid #e4e0f0;background:linear-gradient(135deg,#fcfcfa 0%,#f5f3ff 100%);}
.mgw-eye{font-size:9px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#5b21b6;display:block;margin-bottom:10px}
.mgw-srch-h3{font-size:clamp(19px,2.2vw,28px);font-weight:400;color:#111;line-height:1.15;margin-bottom:8px}
.mgw-srch-h3 em{color:#5b21b6;font-style:italic}
.mgw-srch-p{font-size:13px;color:#555;line-height:1.65;margin-bottom:24px}
.mgw-stats{display:flex;gap:28px}
.mgw-stats strong{display:block;font-size:30px;font-weight:400;color:#5b21b6;line-height:1}
.mgw-stats span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#777;margin-top:3px;display:block}
.mgw-srch-rx{padding:26px 26px;display:flex;flex-direction:column;gap:13px;background:#fff;}
.mgw-sfield{display:flex;flex-direction:column;gap:4px}
.mgw-slbl{font-size:9px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#888}
.mgw-sinp-r{display:flex;align-items:center;border:1.5px solid #e4e0f0;border-radius:9px;overflow:hidden;background:#fff;transition:border-color .2s,box-shadow .2s}
.mgw-sinp-r:focus-within{border-color:#5b21b6;box-shadow:0 0 0 3px rgba(91,33,182,.1)}
.mgw-sico{padding:0 11px;font-size:15px;color:#999;flex-shrink:0;display:flex;align-items:center;height:42px}
.mgw-sinp{flex:1;border:none;outline:none;font-size:13px;font-family:inherit;color:#111;background:transparent;padding:0 8px 0 0;height:42px}
.mgw-sinp::placeholder{color:#aaa}
.mgw-sbtn{background:#5b21b6;color:#fff;border:none;height:42px;padding:0 22px;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;white-space:nowrap;flex-shrink:0;letter-spacing:.04em;transition:background .15s}
.mgw-sbtn:hover{background:#6d28d9}
.mgw-sor{display:flex;align-items:center;gap:10px;font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:#999}
.mgw-sor::before,.mgw-sor::after{content:'';flex:1;height:1px;background:#e4e0f0}
.mgw-chips{display:flex;gap:6px;flex-wrap:wrap}
.mgw-chip{padding:5px 13px;border-radius:50px;border:1.5px solid #e4e0f0;background:#fafaf8;font-size:11px;font-weight:500;color:#555;cursor:pointer;font-family:inherit;transition:all .18s}
.mgw-chip:hover{border-color:#c4b5fd;color:#5b21b6;background:#f5f3ff}
.mgw-chip.on{background:#5b21b6;border-color:#5b21b6;color:#fff;box-shadow:0 4px 12px rgba(91,33,182,.2)}
.mgw-ac{list-style:none;padding:0;margin:4px 0 0;background:#fff;border:1.5px solid #e4e0f0;border-radius:9px;overflow:hidden;position:relative;z-index:50;box-shadow:0 12px 32px rgba(0,0,0,.08)}
.mgw-ach{display:none}
.mgw-ac li{padding:10px 14px;cursor:pointer;border-bottom:1px solid #e4e0f0;transition:background .1s;font-size:13px;color:#444}
.mgw-ac li:last-child{border-bottom:none}
.mgw-ac li:hover{background:#f5f3ff}
.mgw-acm{display:block;font-size:13px;font-weight:600;color:#111}
.mgw-acs{display:block;font-size:11px;color:#777;margin-top:2px}
.mgw-sres{display:none;border-top:1px solid #e4e0f0;position:relative;z-index:1}
.mgw-sres-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 26px;font-size:12px;font-weight:600;color:#555;background:#fafaf8;border-bottom:1px solid #e4e0f0}
.mgw-sreset{background:none;border:none;color:#5b21b6;font-weight:600;font-size:12px;cursor:pointer;font-family:inherit}
.mgw-smapwrap{display:grid;grid-template-columns:1fr 290px;height:420px}
@media(max-width:700px){.mgw-smapwrap{grid-template-columns:1fr;grid-template-rows:260px auto;height:auto}}
#mgw-map{width:100%;height:100%}
#mgw-slist{border-left:1px solid #e4e0f0;overflow-y:auto;background:#fff}
#mgw-slist::-webkit-scrollbar{width:3px}
#mgw-slist::-webkit-scrollbar-thumb{background:#ccc8dc}
.mgw-rc{padding:13px 15px;border-bottom:1px solid #e4e0f0;cursor:pointer;transition:background .1s}
.mgw-rc:hover{background:#f5f3ff}
.mgw-rc-name{font-size:13px;font-weight:600;color:#111;margin-bottom:2px}
.mgw-rc-loc{font-size:11px;color:#666;margin-bottom:5px}
.mgw-rc-tag{font-size:9px;font-weight:700;padding:2px 8px;border-radius:20px;background:#f3f0ff;color:#5b21b6;border:1px solid #c4b5fd;letter-spacing:.05em;text-transform:uppercase}
.mgw-sload{padding:22px;font-size:13px;color:#777;text-align:center}

/* Stili per il blocco vuoto Premium (fallback pasticcerie) */
.mgw-empty-premium{grid-column:1/-1;padding:50px 30px;text-align:center;background:linear-gradient(to bottom,#fcfcfa,#f5f3ff);border:1px solid #e9d5ff;border-radius:16px;box-shadow:0 12px 32px rgba(91,33,182,.06);position:relative;overflow:hidden;}
.mgw-ep-icon{width:48px;height:48px;color:#5b21b6;margin:0 auto 16px;display:block;opacity:0.8;}
.mgw-ep-title{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:28px;font-weight:600;color:#1e1065;margin:0 0 12px;}
.mgw-ep-desc{font-size:14px;color:#555;margin:0 auto;max-width:480px;line-height:1.7;}

/* SEZIONE */
.mgw-secrow{display:flex;align-items:center;gap:14px;margin:36px 0 22px}
.mgw-seclbl{font-size:9px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#aaa;white-space:nowrap}
.mgw-secline{flex:1;height:1px;background:#e8e8e8}
.mgw-secmore{font-size:11px;font-weight:600;color:#5b21b6;text-decoration:none}

/* GRIGLIA 3 */
.mgw-g3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-bottom:36px}
@media(max-width:760px){.mgw-g3{grid-template-columns:1fr;gap:0}}
.mgw-gc{text-decoration:none;display:block}
.mgw-gc-imgw{width:100%;height:200px;border-radius:6px;overflow:hidden;margin-bottom:16px;position:relative;background:#f0ece8}
.mgw-gc-imgw::after{content:attr(data-cat);position:absolute;bottom:10px;left:12px;background:rgba(0,0,0,.58);color:#fff;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:3px 9px;border-radius:3px}
.mgw-gc-img{width:100%;height:100%;background-size:cover;background-position:center;transition:transform .5s cubic-bezier(.25,.46,.45,.94)}
.mgw-gc:hover .mgw-gc-img{transform:scale(1.06)}
.mgw-gc-cat{font-size:9px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#5b21b6;display:block;margin-bottom:7px}
.mgw-gc-h4{font-size:20px;font-weight:400;color:#111;line-height:1.28;margin:0 0 8px;transition:color .15s}
.mgw-gc:hover .mgw-gc-h4{color:#5b21b6}
.mgw-gc-exc{font-size:13px;color:#666;line-height:1.6;margin-bottom:9px}
.mgw-gc-meta{font-size:11px;color:#bbb;display:flex;align-items:center;gap:6px}
.mgw-mdot{width:3px;height:3px;border-radius:50%;background:#ddd;display:inline-block}

/* DATA STRIP */
.mgw-ds{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#e8e8e8;border-radius:12px;overflow:hidden;margin-bottom:36px;border:1px solid #e8e8e8}
@media(max-width:760px){.mgw-ds{grid-template-columns:1fr}}
.mgw-ds-quiz{background:#f7f5ff;padding:26px 24px;display:flex;flex-direction:column;gap:12px}
.mgw-ds-h{font-size:21px;font-weight:400;color:#1e1065;line-height:1.3;margin:2px 0}
.mgw-qopts{display:flex;flex-direction:column;gap:8px}
.mgw-qo{padding:10px 15px;border-radius:8px;font-size:13px;border:1.5px solid #c4b5fd;color:#4c1d95;cursor:pointer;background:#fff;text-align:left;font-family:inherit;transition:all .18s;font-weight:500}
.mgw-qo:hover{background:#ede9ff;border-color:#7c3aed;transform:translateX(3px)}
.mgw-qo.ok{background:#ecfdf5;border-color:#6ee7b7;color:#059669;transform:none}
.mgw-qo.no{background:#fef2f2;border-color:#fca5a5;color:#dc2626;transform:none}
.mgw-quiz-lnk{font-size:11px;font-weight:600;color:#5b21b6;text-decoration:none;margin-top:auto}
.mgw-ds-trend{background:#0d0d14;padding:26px 24px}
.mgw-ds-th{font-size:21px;font-weight:400;color:#fff;line-height:1.3;margin:2px 0 20px}
.mgw-trs{display:flex;flex-direction:column;gap:0}
.mgw-tr{margin-bottom:13px}
.mgw-tr-row{display:flex;justify-content:space-between;font-size:12px;margin-bottom:5px}
.mgw-tr-row span{color:rgba(255,255,255,.52)}
.mgw-tr-row strong{color:#4ade80;font-weight:700}
.mgw-tr-bar{height:3px;background:rgba(255,255,255,.08);border-radius:2px;overflow:hidden}
.mgw-tr-fill{height:100%;width:0;border-radius:2px;background:linear-gradient(90deg,#5b21b6,#06b6d4);transition:width 1.2s ease-out}
.mgw-ds-mondo{position:relative;overflow:hidden;cursor:pointer;min-height:220px;display:flex;flex-direction:column;justify-content:flex-end;text-decoration:none}
.mgw-mondo-img-bg{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform .5s cubic-bezier(.25,.46,.45,.94)}
.mgw-ds-mondo:hover .mgw-mondo-img-bg{transform:scale(1.06)}
.mgw-mondo-ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.92) 0%,rgba(0,0,0,.25) 65%,transparent 100%)}
.mgw-mondo-body{position:relative;z-index:1;padding:20px 22px}
.mgw-mondo-h{font-size:20px;font-weight:400;color:#fff;line-height:1.28;margin:5px 0 5px;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.mgw-mondo-me{font-size:11px;color:rgba(255,255,255,.42)}

/* PASTICCERIE */
.mgw-pg{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:36px}
@media(max-width:760px){.mgw-pg{grid-template-columns:1fr}}
.mgw-pc{border:1px solid #ebebeb;border-radius:10px;overflow:hidden;cursor:pointer;transition:border-color .22s,box-shadow .25s,transform .25s;background:#fff;display:flex;flex-direction:column}
.mgw-pc:hover{border-color:#7c3aed;box-shadow:0 8px 32px rgba(91,33,182,.12);transform:translateY(-3px)}
.mgw-pc-ph{cursor:default;opacity:.55}
.mgw-pc-imgw{height:170px;overflow:hidden;position:relative;flex-shrink:0}
.mgw-pc-img{width:100%;height:100%;background-size:cover;background-position:center;transition:transform .5s cubic-bezier(.25,.46,.45,.94)}
.mgw-pc:hover .mgw-pc-img{transform:scale(1.06)}
.mgw-pbadge{position:absolute;top:10px;right:10px;padding:3px 10px;border-radius:20px;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.mgw-pbp{background:#5b21b6;color:#fff}
.mgw-pbv{background:#059669;color:#fff}
.mgw-pscore{position:absolute;bottom:10px;left:12px;background:rgba(0,0,0,.68);color:#fff;font-size:17px;font-weight:400;padding:4px 11px;border-radius:5px}
.mgw-pscore small{font-size:10px;color:rgba(255,255,255,.5);font-style:normal}
.mgw-pc-body{padding:14px 16px 18px;flex:1;display:flex;flex-direction:column}
.mgw-pc-name{font-size:18px;font-weight:400;color:#111;margin-bottom:4px;line-height:1.2}
.mgw-pc-loc{font-size:11px;color:#aaa;margin-bottom:10px;display:flex;align-items:center;gap:5px}
.mgw-pc-loc i{font-size:12px;color:#ccc}
.mgw-pc-offer{background:#f7f5ff;color:#4c1d95;font-size:11px;font-weight:500;padding:7px 11px;border-radius:7px;margin-bottom:11px;display:flex;align-items:center;gap:6px;border:1px solid #e9d5ff}
.mgw-pc-offer i{font-size:13px;flex-shrink:0}
.mgw-pc-specs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:12px}
.mgw-pc-specs span{font-size:10px;color:#555;background:#f5f5f5;padding:3px 9px;border-radius:20px;border:1px solid #eee}
.mgw-pc-foot{display:flex;align-items:center;justify-content:flex-end;margin-top:auto;padding-top:10px;border-top:1px solid #f0f0f0}
.mgw-pc-cta{font-size:11px;font-weight:600;color:#5b21b6;display:flex;align-items:center;gap:4px}
.mgw-pc-cta i{font-size:11px}

/* BOTTOM */
.mgw-bot{display:grid;grid-template-columns:1fr 290px;gap:44px;padding-top:28px;border-top:1px solid #e8e8e8;margin-bottom:24px}
@media(max-width:760px){.mgw-bot{grid-template-columns:1fr}}
.mgw-nov{text-decoration:none;display:grid;grid-template-columns:1fr 1fr;background:#f7f5ff;border:1px solid #e9d5ff;border-radius:10px;overflow:hidden;transition:box-shadow .22s,transform .22s}
.mgw-nov:hover{box-shadow:0 8px 28px rgba(91,33,182,.13);transform:translateY(-2px)}
.mgw-nov-imgw{overflow:hidden}
.mgw-nov-img{width:100%;height:100%;min-height:185px;background-size:cover;background-position:center;background-color:#e8e4f0;transition:transform .5s cubic-bezier(.25,.46,.45,.94)}
.mgw-nov:hover .mgw-nov-img{transform:scale(1.05)}
.mgw-nov-body{padding:22px 22px;display:flex;flex-direction:column;justify-content:center}
.mgw-nov-h{font-size:19px;font-weight:400;color:#2e1065;line-height:1.28;margin:7px 0 9px}
.mgw-nov-p{font-size:12px;color:#5b21b6;line-height:1.58;margin-bottom:13px;font-weight:300}
.mgw-nov-cta{font-size:11px;font-weight:700;color:#5b21b6}
.mgw-secs{display:flex;flex-direction:column}
.mgw-secr{text-decoration:none;display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #e8e8e8;transition:opacity .15s}
.mgw-secr:last-child{border-bottom:none}
.mgw-secr:hover{opacity:.72}
.mgw-secr:hover b{color:#5b21b6}
.mgw-secr:hover .mgw-secn{color:#c4b5fd}
.mgw-secn{font-family:Georgia,serif;font-size:34px;font-weight:400;color:#e8e8e8;flex-shrink:0;line-height:1;transition:color .2s;font-style:italic}
.mgw-secr b{font-size:14px;font-weight:600;color:#111;display:block;margin-bottom:2px;transition:color .15s}
.mgw-secr span{font-size:12px;color:#aaa;display:block}



/* ── Bottone cerca unico ── */
.mgw-sbtn-full{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:12px;padding:12px;background:#5b21b6;color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:500;cursor:pointer;font-family:inherit;transition:opacity .15s}
.mgw-sbtn-full:hover{opacity:.88}
/* ── Score in lista ── */
.mgw-rc-score{font-size:11px;color:#5b21b6;font-weight:600;margin-top:3px}
/* ── Badge Adgustum ── */
.mgw-rc-adg{display:inline-block;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#a78bfa;background:rgba(91,33,182,.1);padding:2px 7px;border-radius:3px;margin-bottom:4px}
/* ── Tooltip mappa ── */
.mgw-tip{background:#1a1040;color:#fff;border:none;font-size:12px;font-family:inherit;padding:4px 10px;border-radius:5px}

/* ════════════════════════════════════════
   ADGSP — LAYOUT SCHEDA INLINE
═══════════════════════════════════════ */

/* Default: il container esistente non viene toccato finche non si apre la scheda */
.mgw-smapwrap{transition:all .35s ease}

/* Quando scheda aperta: split desktop 50/50 sx (mappa+lista) | 50 dx (scheda) */
@media(min-width:900px){
  .mgw-smapwrap.adgsp-split{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    align-items:flex-start;
  }
  .mgw-smapwrap.adgsp-split #mgw-map{
    height:280px!important;
    transition:height .35s ease;
  }
  .mgw-smapwrap.adgsp-split #mgw-slist{
    max-height:300px;
    overflow-y:auto;
  }
  .mgw-smapwrap.adgsp-split #adgsp-pane{
    grid-row:1 / span 2;
    grid-column:2;
    max-height:620px;
    overflow-y:auto;
    position:sticky;
    top:80px;
  }
}

/* Mobile: tutto stacked (mappa, lista, scheda sotto) */
@media(max-width:899px){
  .mgw-smapwrap.adgsp-split #mgw-map{
    height:200px!important;
  }
  .mgw-smapwrap.adgsp-split #mgw-slist{
    max-height:220px;
    overflow-y:auto;
  }
  .mgw-smapwrap.adgsp-split #adgsp-pane{
    margin-top:14px;
  }
}

/* Pannello scheda */
.adgsp-pane{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  border:0.5px solid #e5e5e5;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#111;
  animation:adgspLiftIn .5s cubic-bezier(.21,1.02,.73,1) forwards;
  transform-origin:center top;
}
@keyframes adgspLiftIn{
  0%{
    opacity:0;
    transform:translateY(40px) scale(.96);
    box-shadow:0 0 0 rgba(91,33,182,0);
    filter:blur(4px);
  }
  60%{
    opacity:1;
    filter:blur(0);
  }
  100%{
    opacity:1;
    transform:translateY(0) scale(1);
    box-shadow:0 18px 50px -10px rgba(91,33,182,.35), 0 8px 22px -8px rgba(91,33,182,.25);
    filter:blur(0);
  }
}

/* Pulsazione sottile del bordo per attirare attenzione i primi secondi */
.adgsp-pane.adgsp-just-opened{
  animation:adgspLiftIn .5s cubic-bezier(.21,1.02,.73,1) forwards, adgspGlow 2s ease-out .6s;
}
@keyframes adgspGlow{
  0%{box-shadow:0 18px 50px -10px rgba(91,33,182,.35), 0 8px 22px -8px rgba(91,33,182,.25), 0 0 0 0 rgba(124,58,237,.4)}
  50%{box-shadow:0 18px 50px -10px rgba(91,33,182,.35), 0 8px 22px -8px rgba(91,33,182,.25), 0 0 0 12px rgba(124,58,237,0)}
  100%{box-shadow:0 18px 50px -10px rgba(91,33,182,.35), 0 8px 22px -8px rgba(91,33,182,.25), 0 0 0 0 rgba(124,58,237,0)}
}
.adgsp-loading{padding:60px 20px;text-align:center;color:#94a3b8;font-size:14px}
.adgsp-topbar{padding:10px 14px;border-bottom:0.5px solid #f0f0f0;background:#fafafa;display:flex;justify-content:space-between;align-items:center}
.adgsp-back{background:none;border:none;color:#5b21b6;font-size:12px;font-weight:600;cursor:pointer;padding:4px 0}
.adgsp-back:hover{color:#4c1d95}
.adgsp-close-x{background:rgba(0,0,0,.08);border:none;width:24px;height:24px;border-radius:50%;cursor:pointer;color:#666;font-size:14px;display:flex;align-items:center;justify-content:center;line-height:1}

/* ── ISCRITTO ── */
.adgsp-iscritto .adgsp-hero{height:160px;background:linear-gradient(135deg,#5b21b6,#7c3aed);background-size:cover;background-position:center;position:relative}
.adgsp-livello{position:absolute;top:10px;left:12px;color:#fff;font-size:9px;font-weight:700;padding:3px 10px;border-radius:20px;text-transform:uppercase;letter-spacing:.08em}
.adgsp-anno{position:absolute;top:10px;right:12px;background:rgba(255,255,255,.2);color:#fff;font-size:9px;font-weight:600;padding:3px 8px;border-radius:20px;border:0.5px solid rgba(255,255,255,.3)}
.adgsp-score-box{position:absolute;bottom:10px;left:12px;color:#fff}
.adgsp-score{font-family:Georgia,serif;font-size:32px;font-style:italic;line-height:1;text-shadow:0 2px 10px rgba(0,0,0,.5)}
.adgsp-score-lbl{font-size:10px;opacity:.85;margin-top:2px}
.adgsp-stars{position:absolute;bottom:14px;right:12px;color:#f59e0b;font-size:13px;letter-spacing:2px}
.adgsp-body{padding:14px 16px 18px}
.adgsp-title{font-family:Georgia,serif;font-size:19px;font-weight:400;font-style:italic;color:#111;margin:0 0 2px}
.adgsp-sub{font-size:12px;color:#888;margin:0 0 10px}
.adgsp-tags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:10px}
.adgsp-tag{font-size:10px;padding:3px 9px;border-radius:20px;font-weight:500}
.adgsp-tag-v{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}
.adgsp-tag-p{background:#f0f0f0;color:#555}
.adgsp-offer{background:linear-gradient(135deg,#fefce8,#fef3c7);border:0.5px solid #fde68a;border-radius:8px;padding:9px 11px;margin-bottom:10px;display:flex;gap:8px}
.adgsp-offer-ico{font-size:16px;flex-shrink:0}
.adgsp-offer-lbl{font-size:9px;font-weight:700;text-transform:uppercase;color:#92400e;margin-bottom:2px;letter-spacing:.08em}
.adgsp-offer-txt{font-size:12px;color:#78350f;line-height:1.4}
.adgsp-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:10px}
.adgsp-cell{background:#f8f8f8;border-radius:6px;padding:7px 9px}
.adgsp-cell.adgsp-full{grid-column:1/-1}
.adgsp-cl{font-size:9px;text-transform:uppercase;color:#999;margin-bottom:2px;letter-spacing:.04em}
.adgsp-cv{font-size:12px;color:#111;font-weight:500;line-height:1.3;word-break:break-word}
.adgsp-cv a{color:#5b21b6;text-decoration:none}
.adgsp-section-lbl{font-size:9px;text-transform:uppercase;color:#999;margin-bottom:5px;letter-spacing:.05em;font-weight:600}
.adgsp-specs{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:10px}
.adgsp-spec{background:#f0f0f0;border:1px solid #e5e5e5;font-size:11px;padding:3px 9px;border-radius:20px;color:#444}
.adgsp-parere{background:#f5f3ff;border-left:3px solid #7c3aed;border-radius:0 6px 6px 0;padding:9px 11px;margin-bottom:10px}
.adgsp-parere-lbl{font-size:9px;font-weight:700;text-transform:uppercase;color:#5b21b6;margin-bottom:3px;letter-spacing:.08em}
.adgsp-parere-txt{font-size:12px;color:#3b0764;line-height:1.6;font-style:italic}
.adgsp-socials{display:flex;gap:5px;margin-bottom:10px;flex-wrap:wrap}
.adgsp-social{flex:1;min-width:80px;background:#f5f3ff;color:#5b21b6;padding:6px;border-radius:6px;text-decoration:none;font-size:10px;text-align:center;border:0.5px solid #e9d5ff}
.adgsp-social:hover{background:#ede9fe}
.adgsp-actions{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap}
.adgsp-btn{flex:1;min-width:60px;text-align:center;padding:10px 8px;border-radius:8px;text-decoration:none;font-size:12px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:4px;box-sizing:border-box}
.adgsp-btn-primary{background:#5b21b6;color:#fff!important}
.adgsp-btn-primary:hover{background:#4c1d95}
.adgsp-btn-sec{background:#f5f5f5;color:#333!important;border:0.5px solid #e5e5e5}
.adgsp-btn-sec:hover{background:#ebebeb}
.adgsp-btn-block{flex:none;width:100%;display:block;margin-bottom:8px}
.adgsp-articoli{border-top:0.5px solid #f0f0f0;padding-top:10px;margin-bottom:10px}
.adgsp-art{display:flex;gap:10px;text-decoration:none!important;padding:7px 0;border-bottom:0.5px solid #f5f5f5;align-items:center;color:inherit!important}
.adgsp-art-thumb{width:42px;height:42px;border-radius:6px;background-size:cover;background-position:center;flex-shrink:0;background-color:#ddd}
.adgsp-art-title{font-size:12px;color:#111;font-weight:500;line-height:1.3}
.adgsp-art-date{font-size:10px;color:#aaa;margin-top:1px}
.adgsp-footer{border-top:0.5px solid #f0f0f0;padding-top:10px;text-align:center}
.adgsp-footer a{font-size:12px;font-weight:600;color:#5b21b6!important;text-decoration:none!important}

/* ── NON ISCRITTO ── */
.adgsp-non-iscritto{background:#fafafa}
.adgsp-ni-head{padding:14px 16px 10px;border-bottom:0.5px solid #f0f0f0}
.adgsp-ni-title{font-family:Georgia,serif;font-size:17px;font-style:italic;color:#444;margin:0 0 2px;font-weight:400}
.adgsp-ni-sub{font-size:11px;color:#aaa;margin:0}
.adgsp-ni-addr{font-size:12px;color:#666;margin-bottom:12px;display:flex;align-items:center;gap:5px}
.adgsp-cta-iscriviti{background:#f5f3ff;border:0.5px dashed #c4b5fd;border-radius:8px;padding:12px;margin-bottom:10px;text-align:center}
.adgsp-cta-lbl{font-size:11px;color:#5b21b6;font-weight:600;margin-bottom:5px;text-transform:uppercase;letter-spacing:.05em}
.adgsp-cta-txt{font-size:11px;color:#666;line-height:1.5;margin-bottom:10px}
.adgsp-cta-btn{display:inline-block;background:#5b21b6;color:#fff!important;padding:7px 16px;border-radius:6px;text-decoration:none!important;font-size:11px;font-weight:500}
.adgsp-cta-btn:hover{background:#4c1d95}
.adgsp-segnala{text-align:center;margin-top:10px}
.adgsp-segnala a{font-size:10px;color:#999;text-decoration:underline}

/* Item lista evidenziato quando selezionato */
.mgw-rc-item.adgsp-selected{background:#ede9fe!important;border-left:3px solid #5b21b6}


/* Bottombar — pulsante "torna" anche in fondo */
.adgsp-bottombar{padding:12px 14px;border-top:0.5px solid #f0f0f0;background:#fafafa;text-align:center}
.adgsp-bottombar .adgsp-back{background:#5b21b6;color:#fff;border:none;padding:8px 18px;border-radius:8px;font-size:12px;font-weight:500;cursor:pointer}
.adgsp-bottombar .adgsp-back:hover{background:#4c1d95}

/* Pulsante Segnala */
.adgsp-segnala{text-align:center;margin-top:12px;border-top:0.5px solid #f0f0f0;padding-top:12px}
.adgsp-segnala-btn{background:none;border:1px dashed #c4b5fd;color:#5b21b6;font-size:11px;padding:8px 14px;border-radius:6px;cursor:pointer;font-family:inherit}
.adgsp-segnala-btn:hover{background:#f5f3ff}

/* Scheda map iscritto */
.adgsp-scheda-map{height:160px;border-radius:8px;overflow:hidden;border:0.5px solid #e5e5e5;margin-bottom:12px;background:#f0f0f0}

/* Item selezionato */
.mgw-rc.adgsp-selected{background:#ede9fe!important;border-left:3px solid #5b21b6}


/* ════════════════════════════════════
   TAG TIPO LOCALE + DISTANZA
═══════════════════════════════════ */
.adgsp-rc-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:6px;
  align-items:center;
}
.adgsp-tipo{
  font-size:10px;
  padding:2px 8px;
  border-radius:20px;
  font-weight:500;
  letter-spacing:.02em;
  display:inline-block;
  white-space:nowrap;
}
.adgsp-tipo-pasticceria{background:#fef3c7;color:#92400e;border:0.5px solid #fde68a}
.adgsp-tipo-panificio{background:#fdf2e9;color:#9a3412;border:0.5px solid #fed7aa}
.adgsp-tipo-gelateria{background:#dbeafe;color:#1e40af;border:0.5px solid #bfdbfe}
.adgsp-tipo-cioccolateria{background:#f3e8ff;color:#6b21a8;border:0.5px solid #e9d5ff}
.adgsp-tipo-confetteria{background:#fce7f3;color:#9d174d;border:0.5px solid #fbcfe8}
.adgsp-tipo-caffetteria{background:#f5f5f4;color:#57534e;border:0.5px solid #e7e5e4}
.adgsp-tipo-bar{background:#e0e7ff;color:#3730a3;border:0.5px solid #c7d2fe}
.adgsp-tipo-gastronomia{background:#ecfccb;color:#3f6212;border:0.5px solid #d9f99d}
.adgsp-tipo-other{background:#f0f0f0;color:#555;border:0.5px solid #e5e5e5}

.adgsp-dist{
  font-size:10px;
  color:#888;
  padding:2px 0;
  display:inline-flex;
  align-items:center;
  gap:3px;
}
.adgsp-dist::before{
  content:"\1F4CD";
  font-size:9px;
  opacity:.6;
}

.adgsp-rc-score{
  font-size:10px;
  color:#b8960c;
  font-weight:600;
  margin-left:auto;
}
