.sdp-smart-home,.sdp-section{font-family:inherit}.sdp-smart-home{width:100%;max-width:1180px;margin:auto}.sdp-smart-hero{padding:clamp(30px,6vw,76px);border-radius:28px;background:linear-gradient(135deg,#fff8ee,#f4ece9);margin:18px 0 34px}.sdp-kicker,.sdp-title small,.sdp-advice small,.sdp-loyalty-card small{font-weight:800;letter-spacing:.14em;font-size:11px}.sdp-smart-hero h2{font-size:clamp(36px,6vw,64px);line-height:1;margin:.2em 0}.sdp-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.sdp-smart-btn{display:inline-block;padding:11px 18px;border-radius:999px;border:1px solid #8b1828;text-decoration:none!important;color:#8b1828;background:#fff;cursor:pointer;font-weight:600}.sdp-smart-btn.primary{background:#8b1828;color:#fff}.sdp-section{margin:44px 0}.sdp-title{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:18px}.sdp-title h2{margin:2px 0 0}.sdp-live-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#27964d;margin-right:7px}.sdp-category{margin:24px 0}.sdp-category>h3{font-size:17px;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid #eadfd8}.sdp-smart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.sdp-smart-card{position:relative;padding:18px;border:1px solid #eadfd8;border-radius:20px;background:#fff;box-shadow:0 8px 30px rgba(60,30,20,.05);overflow:hidden}.sdp-card-visual{height:86px;margin:-18px -18px 16px;padding:14px 18px;background:linear-gradient(135deg,#f8eee9,#fff9f2);display:flex;align-items:center;justify-content:space-between}.sdp-card-visual span{font-size:38px}.sdp-card-visual small{font-weight:700}.sdp-smart-card h3{margin:10px 38px 8px 0}.sdp-smart-card p{line-height:1.55}.sdp-heart{position:absolute;right:14px;top:100px;border:0;background:transparent;font-size:27px;color:#8b1828;cursor:pointer}.sdp-available-badge{display:inline-block;font-size:11px;font-weight:800;color:#247d42;background:#edf8f0;border-radius:999px;padding:5px 9px}.sdp-smart-card details{margin:12px 0}.sdp-smart-card summary{cursor:pointer;font-weight:700;color:#8b1828}.sdp-pastaio{padding:28px;border-radius:24px;background:#f6f1ed}.sdp-pastaio form,.sdp-loyalty-public form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.sdp-pastaio label,.sdp-loyalty-public label{display:grid;gap:5px;font-weight:600}.sdp-pastaio input,.sdp-pastaio select,.sdp-loyalty-public input{min-height:44px;border:1px solid #d8cbc4;border-radius:10px;padding:7px 10px;background:#fff}.sdp-advice,.sdp-loyalty-card{margin-top:18px;padding:20px;border-radius:16px;background:#fff;display:grid;gap:10px;border:1px solid #eadfd8}.sdp-advice strong{font-size:24px}.sdp-stamps{display:flex;gap:7px;flex-wrap:wrap}.sdp-stamp{display:grid;place-items:center;width:36px;height:36px;border:1px solid #cdbbb3;border-radius:50%;font-size:12px}.sdp-stamp.on{background:#8b1828;color:#fff;border-color:#8b1828}.sdp-fav-card{min-height:160px}@media(max-width:700px){.sdp-smart-home{padding:0 14px}.sdp-smart-hero{border-radius:18px;padding:28px 20px}.sdp-smart-hero h2{font-size:38px}.sdp-title{align-items:flex-start}.sdp-smart-grid{grid-template-columns:1fr}.sdp-pastaio form,.sdp-loyalty-public form{display:grid}.sdp-pastaio form>* ,.sdp-loyalty-public form>*{width:100%}.sdp-smart-btn{text-align:center}.sdp-section{margin:34px 0}.sdp-card-visual{height:74px}}
.sdp-smart-hero.has-photo{position:relative;overflow:hidden;min-height:430px;display:flex;align-items:center;background-image:linear-gradient(90deg,rgba(255,248,238,.98) 0%,rgba(255,248,238,.9) 46%,rgba(255,248,238,.12) 72%),var(--sdp-hero);background-size:cover;background-position:center}.sdp-hero-copy{max-width:680px;position:relative;z-index:1}.sdp-card-photo{height:170px;margin:-18px -18px 16px;background-size:cover;background-position:center;position:relative}.sdp-card-photo:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.55))}.sdp-card-photo small{position:absolute;z-index:1;left:16px;bottom:12px;color:#fff;font-weight:800;text-shadow:0 1px 3px rgba(0,0,0,.4)}.sdp-smart-card:has(.sdp-card-photo) .sdp-heart{top:184px}.sdp-smart-card{transition:transform .18s ease,box-shadow .18s ease}.sdp-smart-card:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(60,30,20,.1)}
@media(max-width:700px){.sdp-smart-hero.has-photo{min-height:480px;align-items:flex-end;background-image:linear-gradient(0deg,rgba(255,248,238,.98) 0%,rgba(255,248,238,.92) 46%,rgba(255,248,238,.08) 76%),var(--sdp-hero);background-position:center}.sdp-card-photo{height:190px}}

/* 1.2.2 - card alignment and photo cleanup */
.sdp-smart-grid{align-items:stretch}
.sdp-smart-card{display:flex;flex-direction:column;padding:0;min-height:100%;overflow:hidden}
.sdp-card-body{position:relative;display:flex;flex-direction:column;flex:1;padding:18px}
.sdp-card-photo{height:180px;margin:0;background-size:cover;background-position:center;flex:0 0 180px}
.sdp-card-photo:after,.sdp-card-photo small{display:none!important}
.sdp-card-category{display:block;margin:0 34px 10px 0;font-size:11px;font-weight:800;letter-spacing:.04em;color:#6d5d56;text-transform:none}
.sdp-smart-card h3{margin:10px 38px 8px 0}
.sdp-smart-card p{margin-bottom:14px}
.sdp-smart-card .sdp-heart{top:15px;right:14px}
.sdp-smart-card.has-photo .sdp-heart{top:195px}
.sdp-smart-card .sdp-smart-btn{align-self:flex-start;margin-top:auto}
.sdp-smart-card details{margin:0 0 14px}
.sdp-smart-card.no-photo .sdp-card-body{padding-top:18px}
@media(max-width:700px){.sdp-card-photo{height:190px;flex-basis:190px}.sdp-smart-card.has-photo .sdp-heart{top:205px}}

/* 1.2.3 - uniform photo area and compact cards */
.sdp-smart-card{min-height:520px}
.sdp-card-photo{height:170px;flex:0 0 170px}
.sdp-card-photo-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8f3ef,#eee5df);color:#8b756b}
.sdp-card-photo-placeholder span{font-size:13px;font-weight:700;letter-spacing:.04em}
.sdp-card-body{padding:16px 18px}
.sdp-card-category{margin-bottom:7px}
.sdp-smart-card h3{margin-top:8px;margin-bottom:7px}
.sdp-smart-card p{margin-top:10px;margin-bottom:10px;line-height:1.45}
.sdp-smart-card .sdp-heart,.sdp-smart-card.has-photo .sdp-heart,.sdp-smart-card.no-photo .sdp-heart{top:185px}
.sdp-smart-card.no-photo .sdp-card-body{padding-top:16px}
@media(max-width:700px){.sdp-smart-card{min-height:0}.sdp-card-photo{height:180px;flex-basis:180px}.sdp-smart-card .sdp-heart,.sdp-smart-card.has-photo .sdp-heart,.sdp-smart-card.no-photo .sdp-heart{top:195px}}

/* 1.2.5 - weekly specialties grouped by day */
.sdp-week-day{margin:28px 0 36px}.sdp-week-day-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid #eadfd8;margin-bottom:14px;padding-bottom:8px}.sdp-week-day-head h3{margin:0;font-size:20px}.sdp-week-day-head span{font-size:12px;color:#76645c}.sdp-week-grid{grid-template-columns:repeat(auto-fit,minmax(205px,1fr))}.sdp-week-grid .sdp-smart-card{min-height:455px}.sdp-week-grid .sdp-card-photo{height:145px;flex-basis:145px}.sdp-week-grid .sdp-card-body{padding:14px 16px}.sdp-week-grid .sdp-smart-card .sdp-heart,.sdp-week-grid .sdp-smart-card.has-photo .sdp-heart,.sdp-week-grid .sdp-smart-card.no-photo .sdp-heart{top:158px}.sdp-week-grid .sdp-smart-card h3{font-size:18px}.sdp-week-grid .sdp-smart-card p{font-size:14px}.sdp-week-grid .sdp-smart-btn{padding:9px 15px;font-size:14px}@media(max-width:700px){.sdp-week-day-head{align-items:flex-start}.sdp-week-grid{grid-template-columns:1fr}.sdp-week-grid .sdp-smart-card{min-height:0}.sdp-week-grid .sdp-card-photo{height:180px;flex-basis:180px}.sdp-week-grid .sdp-smart-card .sdp-heart,.sdp-week-grid .sdp-smart-card.has-photo .sdp-heart,.sdp-week-grid .sdp-smart-card.no-photo .sdp-heart{top:193px}}

/* 1.2.6 - branded fallback and smarter Pastaio Digitale */
.sdp-card-photo-placeholder{background:radial-gradient(circle at 50% 42%,#fffaf6 0 18%,transparent 19%),linear-gradient(135deg,#f7efe9,#eaded7);position:relative}
.sdp-card-photo-placeholder:before{content:"";position:absolute;width:76px;height:76px;border:1px solid rgba(139,24,40,.24);border-radius:50%;background:rgba(255,255,255,.38)}
.sdp-placeholder-mark{position:relative;z-index:1;text-align:center!important;color:#8b1828!important;font-family:Georgia,serif;font-size:15px!important;line-height:1.05;font-style:italic;font-weight:700!important;letter-spacing:0!important}
.sdp-advice{border-left:4px solid #8b1828}.sdp-advice strong{color:#231b18}.sdp-advice .sdp-smart-btn{justify-self:start;margin-top:4px}
.sdp-not-today{color:#6d625d;background:#f4f1ef}.sdp-loyalty-progress,.sdp-loyalty-reward{margin:4px 0 0}.sdp-loyalty-reward{padding:10px 12px;border-radius:10px;background:#edf8f0;color:#247d42}.sdp-fav-card .sdp-card-photo{margin:-18px -18px 16px}

/* 1.3.5 - lasagne raggruppate per tipologia e formato */
.sdp-lasagna-group .sdp-heart{display:none}
.sdp-lasagna-group h3{margin-right:0}
.sdp-week-category>h4{font-size:14px;margin:14px 0 10px;color:#6d5d56}
.sdp-lasagna-modal[hidden]{display:none!important}
.sdp-lasagna-modal{position:fixed;inset:0;z-index:99999;background:rgba(24,15,12,.55);display:grid;place-items:center;padding:20px}
.sdp-lasagna-dialog{position:relative;width:min(620px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:22px;padding:28px;border:1px solid #eadfd8;box-shadow:0 24px 80px rgba(0,0,0,.25)}
.sdp-lasagna-dialog>small{font-weight:800;letter-spacing:.14em;font-size:11px;color:#8b1828}
.sdp-lasagna-dialog h2{margin:5px 44px 6px 0}
.sdp-lasagna-intro{margin:0 0 18px;color:#6d5d56}
.sdp-lasagna-close{position:absolute;right:16px;top:14px;width:40px;height:40px;border-radius:50%;border:1px solid #d8cbc4;background:#fff;color:#8b1828;font-size:26px;line-height:1;cursor:pointer}
.sdp-lasagna-options{display:grid;gap:10px}
.sdp-lasagna-option{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px;border:1px solid #eadfd8;border-radius:14px;background:#fffaf7}
.sdp-lasagna-option>div{display:grid;gap:4px;min-width:0}
.sdp-lasagna-option strong{font-size:16px}
.sdp-lasagna-option small{color:#76645c;overflow-wrap:anywhere}
body.sdp-modal-open{overflow:hidden}
@media(max-width:700px){.sdp-lasagna-modal{padding:12px}.sdp-lasagna-dialog{padding:22px 16px}.sdp-lasagna-option{align-items:flex-start;flex-direction:column}.sdp-lasagna-option .sdp-smart-btn{width:100%}}

/* 1.3.6 - porzioni lasagne ordinate numericamente in modo crescente */

/* 1.3.7 - pagina Chi siamo */
.sdp-about-page{max-width:1120px;margin:0 auto;padding:20px 24px 70px;color:#231b18}
.sdp-about-hero{padding:64px 52px;margin:12px 0 30px;border-radius:28px;background:linear-gradient(135deg,#f8eee9,#fffaf6);border:1px solid #f0e4de}
.sdp-about-copy{max-width:760px}.sdp-about-hero h1{font-size:clamp(42px,6vw,72px);line-height:1;margin:10px 0 20px}.sdp-about-lead{font-size:20px;line-height:1.55;max-width:720px}
.sdp-about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sdp-about-card{padding:30px;border:1px solid #eadfd8;border-radius:22px;background:#fff;box-shadow:0 8px 30px rgba(60,30,20,.04)}
.sdp-about-card small,.sdp-about-cta small{font-size:10px;font-weight:800;letter-spacing:.14em;color:#8b1828}.sdp-about-card h2{font-size:25px;margin:8px 0 12px}.sdp-about-card p{line-height:1.7;margin:0;color:#554943}
.sdp-about-cta{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-top:24px;padding:34px;border-radius:22px;background:#f6f1ed}.sdp-about-cta h2{margin:6px 0 8px}.sdp-about-cta p{margin:0}.sdp-about-cta .sdp-actions{flex:0 0 auto}
@media(max-width:700px){.sdp-about-page{padding:10px 14px 50px}.sdp-about-hero{padding:38px 24px}.sdp-about-grid{grid-template-columns:1fr}.sdp-about-cta{display:grid;padding:26px 20px}.sdp-about-cta .sdp-actions{display:grid;width:100%}}

/* 1.3.9 - raggruppamento porzioni anche per cannelloni e crepes */

/* 1.3.11 - un solo riquadro Cannelloni con tutti i tipi nella finestra */

.sdp-pastaio-detail{display:flex;flex-direction:column;gap:4px;margin-top:10px;padding:12px 14px;border:1px solid rgba(0,0,0,.10);border-radius:10px;background:rgba(255,255,255,.55)}
.sdp-pastaio-detail>b{font-size:15px}.sdp-pastaio-detail>span{display:block}
.sdp-pastaio-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}.sdp-pastaio-actions .sdp-smart-btn{margin-top:0}
