@font-face {
  font-family:"Explora"; src:url("caratteri/Explora-Regular.ttf") format("truetype");
  font-weight:400; font-style:normal; font-display:swap;
}
:root {
  color-scheme:light;
  --paper:#f9f6ee; --ink:#302b25; --wine:#752d2e; --line:#d9d1c2;
  --serif:"DM Serif Text","Iowan Old Style","Palatino Linotype",Georgia,serif;
  --sans:"DM Sans","Helvetica Neue",Arial,sans-serif;
  color:var(--ink); background:var(--paper); font-family:var(--sans);
}
* {box-sizing:border-box}
body {margin:0; font-size:1rem; line-height:1.5}
a {color:inherit}
button,input {font:inherit}
button,a,input {-webkit-tap-highlight-color:transparent}
button {cursor:pointer}
:focus-visible {outline:3px solid #99652a; outline-offset:4px}
.wrap {width:min(1180px, 88%); margin-inline:auto}
header {border-top:5px solid var(--wine); border-bottom:1px solid var(--line)}
.top,nav,footer .wrap {display:flex; align-items:center; justify-content:space-between}
.top {min-height:76px; gap:1rem}
.brand {width:206px; height:auto; display:block; mix-blend-mode:multiply}
nav {gap:.5rem; flex-wrap:wrap; justify-content:center; font-weight:600; font-size:.91rem}
nav a {text-decoration:none}
nav .order-nav img {width:22px; height:22px; object-fit:contain; flex:none; mix-blend-mode:multiply}
nav a:hover,footer a:hover {color:var(--wine); text-decoration:underline}
.order-nav,.primary {display:inline-flex; align-items:center; justify-content:center; gap:.55rem; border-radius:6px}
nav .order-nav {padding:.58rem .85rem; min-height:44px; text-align:center; line-height:1.2; border:1px solid var(--wine); color:var(--wine)}
nav .order-nav:hover {background:#f0e6d9}
svg:not(.symbols) {width:1.24em; height:1.24em; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0}
.symbols {position:absolute; width:0; height:0; overflow:hidden}
#news {background:#f2eadd; border-bottom:2px solid var(--wine); color:var(--ink)}
.news-inner {display:flex; align-items:center; gap:.85rem; min-height:46px}
.news-inner h2 {
  flex:none; align-self:stretch; display:grid; place-items:center; margin:0;
  padding:.45rem .85rem; background:var(--wine); color:white;
  font:700 .9rem/1 var(--sans); letter-spacing:.09em; text-transform:uppercase;
}
.news-window {flex:1; min-width:0}
.news-track p {margin:0; padding:.55rem 0; line-height:1.45}
.news-track p[aria-hidden="true"],.news-toggle,.play-mark {display:none}
@keyframes scorri-news {to {transform:translateX(-50%)}}
@media (prefers-reduced-motion:no-preference) {
 .news-scrolling .news-window {overflow:hidden}
 .news-scrolling .news-track {display:flex; width:max-content; animation:scorri-news 58s linear infinite}
 .news-scrolling .news-track p {flex:none; white-space:nowrap; padding-right:3rem}
 .news-scrolling .news-track p[aria-hidden="true"] {display:block}
 .news-scrolling .news-toggle {
   display:grid; place-items:center; flex:none; width:44px; height:44px;
   background:transparent; border:0; color:var(--wine);
 }
 .news-toggle:hover {background:#e8ddce}
 .news-toggle svg {stroke-width:2.5}
 .news-paused .news-track {animation-play-state:paused}
 .news-paused .pause-mark {display:none}
 .news-paused .play-mark {display:inline}
}
.hero {
  position:relative; isolation:isolate; width:min(1360px,96%);
  padding:clamp(2.5rem,4vw,4.25rem) 0; text-align:center;
}
/* Le schede aperte prima dei disegni di sfondo includono ancora la vecchia copertina. */
.hero > .disegno-colazione {display:none}
.hero {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);
  align-items:center; column-gap:2%;
}
.hero .intro {grid-column:2; grid-row:2}
.hero .firma {grid-column:1 / -1}
.hero .firma {
  width:fit-content; max-width:90%; margin:0 auto clamp(2.5rem,4vw,3.7rem);
  font:400 clamp(2rem,3.2vw,2.8rem)/1.12 "Explora","Apple Chancery","Palatino Linotype",serif;
  color:#514135; text-wrap:balance;
  -webkit-text-stroke:.44px currentColor;
  text-shadow:.32px -.18px 0 rgb(116 93 71 / 24%);
}
@media (forced-colors:active) {
  .hero .firma {color:CanvasText; text-shadow:none; -webkit-text-stroke:0}
}
.hero .lead {margin-inline:auto}
.hero-art {
  grid-row:2; display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:center; justify-items:center; gap:1rem clamp(.35rem,.85vw,.8rem); padding-inline:4%;
  pointer-events:none;
}
.hero-art img {display:block; width:100%; height:clamp(4.4rem,7.7vw,6.8rem); object-fit:contain}
.hero-art-left {grid-column:1}
.hero-art-right {grid-column:3}
.hero-art .hero-art-main {grid-column:1 / -1; width:83%; height:clamp(6rem,11vw,9.5rem)}
.hero-art-left .hero-art-main {transform:rotate(-7deg)}
.hero-art-right .hero-art-main {transform:rotate(8deg)}
.eyebrow {display:flex; align-items:center; gap:.65rem; margin:0; text-transform:uppercase; font-weight:700; letter-spacing:.14em; font-size:.78rem; color:var(--wine)}
.eyebrow span {width:26px; height:1px; background:currentColor}
h1,h2,.message b {font-family:var(--serif); font-weight:500}
h1 {font-size:clamp(3.4rem,5.5vw,5.2rem); line-height:.96; letter-spacing:-.059em; margin:1.1rem 0}
h1 em {color:var(--wine); font-weight:400}
.lead {max-width:410px; margin:0 0 1.5rem; line-height:1.55; color:#514a40; font-size:1.05rem}
.primary {color:#fffbf2; background:var(--wine); padding:.72rem 1.12rem; text-decoration:none; font-size:.94rem; font-weight:650}
.ask img, #domanda button img {object-fit:contain; filter:brightness(0) invert(97%) sepia(10%) saturate(500%)}
.primary:hover,#domanda button:hover {background:#592120}
.divider {height:10px; border-block:1px solid #bfae94; background:repeating-linear-gradient(108deg,transparent 0 12px,#c6aa96 12px 14px,transparent 14px 20px)}
.desk {display:grid; grid-template-columns:1.65fr 1fr; align-items:start; gap:6%; padding-block:2.6rem 3rem}
.panel {border:1px solid #cec3b0; border-radius:13px; background:#fffdf8; overflow:hidden; box-shadow:0 4px 12px #3a2a1208; scroll-margin:1rem}
.panel-head {display:flex; align-items:center; gap:.85rem; border-bottom:1px solid var(--line); padding:1.05rem 1.3rem; background:#f3eee3}
.cupmark {width:48px; height:48px; flex:none; object-fit:contain; mix-blend-mode:multiply; filter:contrast(1.2)}
h2 {margin:0; font-size:clamp(1.75rem,2.5vw,2.25rem); letter-spacing:-.04em; line-height:1.15}
.panel-head h2 {font-size:1.65rem}
.panel-head p {color:#675e52; font-size:.85rem; margin:.08rem 0 0}
.conversation {min-height:140px; max-height:330px; overflow:auto; padding:1.15rem 1.3rem .7rem; overscroll-behavior:contain}
.message {width:fit-content; max-width:90%; background:#f4efe4; border-radius:0 12px 12px 12px; padding:.78rem 1rem; margin-bottom:.7rem; overflow-wrap:anywhere}
.message b {font-size:.96rem; color:var(--wine); font-weight:700}
.message p {margin:.16rem 0 0; line-height:1.48; white-space:pre-line}
.message ul {margin:.25rem 0; padding-left:1.3rem; line-height:1.48}
.message.guest {background:#eedcda; border-radius:12px 0 12px 12px; margin-left:auto}
#domanda {display:flex; margin:.25rem 1.3rem 1.15rem; padding:5px; border:1px solid #bcb2a2; border-radius:8px; background:white; gap:4px}
#domanda:focus-within {border-color:var(--wine); box-shadow:0 0 0 1px var(--wine)}
#domanda input {min-width:0; flex:1; border:0; border-radius:4px; padding:.47rem .6rem; background:none; color:var(--ink)}
#domanda input:focus {outline:none}
#domanda input::placeholder {color:#70675c}
#domanda button {display:grid; place-items:center; width:42px; min-height:42px; border:0; border-radius:6px; background:var(--wine); color:white}
.quick {
  padding-top:.6rem;
  background:url("disegni/torta.webp") right 5px top / auto 4.1rem no-repeat;
}
.quick .eyebrow,.quick h2 {max-width:calc(100% - 5.4rem)}
.quick h2 {margin:.6rem 0 .8rem}
.quick button {width:100%; display:flex; gap:.8rem; align-items:center; text-align:left; color:var(--ink); background:transparent; border:0; border-bottom:1px solid var(--line); padding:.75rem .2rem; font-weight:550}
.quick svg {color:var(--wine)}
.quick button img {object-fit:contain; flex-shrink:0}
.quick .tratto-marcato {filter:contrast(1.35) brightness(.77) drop-shadow(0 0 .5px #604531) drop-shadow(.25px .15px .25px #604531)}
.quick button:hover {color:var(--wine); background:#f1ebde}
.details {display:grid; grid-template-columns:1fr 1fr; gap:6%; border-top:1px solid var(--line); padding-block:2.3rem 2.8rem}
.details section {scroll-margin:1.5rem; padding-right:clamp(5rem,9vw,8.5rem)}
#visita {background:url("disegni/gelato.webp?v=7f7994aacf") right 7px center / auto 5.8rem no-repeat}
#delivery {
  background:url("disegni/wafer.webp") right top 67% / clamp(4rem,7.4vw,6rem) auto no-repeat,
    url("disegni/pralina.webp") right 5px top 10% / 2.8rem auto no-repeat;
}
.details h2 {font-size:1.85rem; margin:.55rem 0}
.details p:not(.eyebrow) {margin:.35rem 0}
.links {display:flex; flex-wrap:wrap; gap:.45rem 1rem; margin-top:.7rem}
.links a,footer a {color:var(--wine); text-underline-offset:4px; font-weight:600; font-size:.93rem}
.links a[href^="https://glovoapp.com/"] {--logo-delivery:url("contatti/glovo.webp")}
.links a[href^="https://deliveroo.it/"] {--logo-delivery:url("contatti/deliveroo.webp")}
.links a:is([href^="https://glovoapp.com/"],[href^="https://deliveroo.it/"]) {
  display:inline-flex; align-items:center; gap:.45rem; min-height:44px;
}
.links a:is([href^="https://glovoapp.com/"],[href^="https://deliveroo.it/"])::before {
  content:""; flex:0 0 22px; height:22px; background:var(--logo-delivery) center / contain no-repeat;
}
.contact-actions {gap:.4rem 1rem; align-items:center}
.contact-actions a,.telephone a,.footer-contacts a {display:inline-flex; align-items:center; min-height:44px; gap:.35rem}
.contact-actions img,.telephone img,.social-icon img {width:28px; height:28px; object-fit:contain}
.telephone a {color:var(--wine); font-weight:650; text-underline-offset:4px}
.footer-contacts {display:flex; align-items:center; flex-wrap:wrap; gap:.35rem .7rem}
.footer-icons {display:flex; gap:.35rem}
.footer-contacts .social-icon {width:44px; justify-content:center}
.links a:hover {text-decoration-thickness:2px}
footer {border-top:1px solid var(--line); background:#f1ecdf}
footer .wrap {min-height:76px; gap:1rem}
footer .brand {width:155px}
.sr,.skip:not(:focus) {position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
.skip:focus {position:fixed; top:10px; left:10px; background:white; z-index:5; padding:.6rem}
@media(max-width:1050px) {
 .top {flex-wrap:wrap; justify-content:center; padding-block:.75rem}
}
@media(max-width:800px) {
 .wrap {width:90%}
 .desk {grid-template-columns:1.45fr 1fr; gap:4%}
 .top {min-height:66px}
 .brand {width:175px}
}
@media(max-width:650px) {
 .top {flex-wrap:wrap; gap:.5rem; padding:.9rem 0 .75rem}
 nav {width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem; font-size:.875rem}
 nav .order-nav {padding:.35rem .2rem}
 .hero {width:100%; padding:2rem 5% 1.7rem; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 3%}
 .hero .intro {grid-column:1 / -1; grid-row:2}
 .hero .lead {max-width:23rem}
 .hero-art {grid-column:1 / -1; grid-row:3; grid-template-columns:repeat(4,minmax(0,1fr)); width:min(100%,25rem); justify-self:center; gap:5%; padding:0; margin-top:1.5rem}
 .hero-art-right {grid-row:4; margin-top:.65rem}
 .hero-art img,.hero-art .hero-art-main {grid-column:auto; width:100%; height:clamp(2.75rem,11vw,4.25rem)}
 .details section {padding-right:5.2rem}
 #visita {padding-right:0; background-size:auto 4.6rem; background-position:right 5px top 1rem}
 #visita h2,#visita > p:not(.telephone) {padding-right:5.2rem}
 #delivery {background-size:4.5rem auto,2.1rem auto}
 h1 {font-size:clamp(3.3rem,13vw,4.5rem)}
 .lead {margin-bottom:1rem}
 .desk,.details {grid-template-columns:1fr; gap:1.7rem; padding-block:1.7rem 2.1rem}
 .conversation {max-height:285px; padding:.9rem .85rem .4rem}
 .panel-head {padding:.9rem}
 #domanda {margin:.4rem .85rem .85rem}
 .message {max-width:96%}
 footer .wrap {flex-wrap:wrap; padding-block:1rem}
}
@media(max-width:470px) {
 .hero-art img,.hero-art .hero-art-main {height:3.6rem}
 .top {justify-content:center; padding:.9rem 0 .65rem}
 nav {width:100%; justify-content:center}
}
