/* Speciale condiviso Home/Menu; contenuti gestiti dal pannello. */
.hm-promo{padding:26px 24px;background:#191713;border-block:1px solid #e4c59033;color:#e4c590}
.hm-promo-inner{max-width:1180px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap}
.hm-promo strong{display:block;color:#fff;font:400 28px/1.2 'Forum',Georgia,serif}
.hm-promo p{margin:4px 0 0;color:#c8bbab;font:14px/1.6 'DM Sans',Arial,sans-serif}
.hm-promo a,.hm-promo button{color:#e4c590;text-decoration:underline;font:700 14px/1.5 'DM Sans',Arial,sans-serif;background:none;border:0;padding:12px;cursor:pointer}
.hm-dialog{--hm-ink:#2b251f;--hm-paper:#f2e9db;--hm-copper:#8a432a;padding:0;border:1px solid #d8c6a9;border-radius:5px;background:var(--hm-paper);color:var(--hm-ink);width:min(980px,calc(100% - 40px));max-width:980px;max-height:calc(100dvh - 40px);margin:auto;overflow:auto;overscroll-behavior:contain;box-shadow:0 30px 100px #0008;scrollbar-width:thin}
.hm-dialog:not([open]){display:none}
.hm-dialog::backdrop{background:rgba(9,8,6,.78);backdrop-filter:blur(5px)}
.hm-dialog *{box-sizing:border-box}
.hm-dialog .hm-layout{display:grid;grid-template-columns:.9fr 1.1fr;min-height:620px}
.hm-dialog .hm-visual{position:relative;background:#211b14;overflow:hidden;min-width:0;min-height:620px}
.hm-dialog .hm-visual>img,.hm-dialog .hm-visual>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.hm-dialog .hm-visual>video{opacity:0;transition:opacity .6s ease}
.hm-dialog .hm-visual.hm-video-ready>video{opacity:1}
.hm-dialog .hm-visual::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0000 35%,#110b06b8);pointer-events:none}
.hm-dialog .hm-film-caption{position:absolute;z-index:1;left:28px;right:28px;bottom:32px;color:#fff}
.hm-dialog .hm-film-caption span{font:700 10px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:.19em;color:#ead6b6}
.hm-dialog .hm-film-caption p{font:400 34px/1.1 'Forum',Georgia,serif;color:#fff;margin:10px 0 18px}
.hm-dialog .hm-content{padding:40px 40px 28px;position:relative;background:var(--hm-paper)}
.hm-dialog .hm-brand{font:700 10px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:.2em;margin:0 45px 5px 0;color:#685b4b}
.hm-dialog .hm-close{z-index:3;position:absolute;right:14px;top:14px;width:44px;height:44px;border:1px solid #2b251f33;border-radius:50%;background:#f2e9db;color:#2b251f;font:27px/1 Arial,sans-serif;cursor:pointer}
.hm-dialog .hm-date{font:700 11px/1.6 'DM Sans',Arial,sans-serif;letter-spacing:.17em;text-transform:uppercase;color:var(--hm-copper);margin:0 0 14px}
.hm-dialog h2{font:400 clamp(32px,3.7vw,48px)/1.04 'Forum',Georgia,serif;color:#2b251f;margin:0 0 20px;letter-spacing:-.02em}
.hm-dialog .hm-intro{font:400 15px/1.65 'DM Sans',Arial,sans-serif;color:#5a4f43;margin:0 0 20px}
.hm-dialog .hm-product{font:400 25px/1.2 'Forum',Georgia,serif;color:#2b251f;margin:0 0 7px}
.hm-dialog .hm-ingredients{background:var(--hm-paper,#f2e9db);font:400 13px/1.7 'DM Sans',Arial,sans-serif;color:#5a4f43;margin:0 0 18px}
.hm-dialog .hm-price{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:20px 0;font:400 30px/1.2 'Forum',Georgia,serif;color:#2b251f}
.hm-dialog .hm-price strong{font-weight:700;color:var(--hm-copper);white-space:nowrap}
.hm-dialog .hm-book{display:block;text-align:center;background:var(--hm-copper);color:#fff;padding:15px 18px;font:700 14px/1.5 'DM Sans',Arial,sans-serif;text-decoration:none;min-height:48px}
.hm-dialog .hm-book:hover{background:#68321e}
.hm-dialog .hm-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.hm-dialog .hm-footer a,.hm-dialog .hm-footer button{font:12px/1.5 'DM Sans',Arial,sans-serif;color:#5a4f43;text-decoration:underline;min-height:44px;padding:8px 0;background:none;border:0;cursor:pointer}
.hm-dialog .hm-note{font:11px/1.5 'DM Sans',Arial,sans-serif;color:#685b4b;margin:8px 0 0}
.hm-dialog :is(a,button,summary):focus-visible,.hm-promo :is(a,button):focus-visible{outline:3px solid #b76f3d;outline-offset:4px}
.hm-dialog [hidden],.hm-promo [hidden]{display:none!important}
.hm-dialog[open]{animation:hm-arrival .35s ease-out}
@keyframes hm-arrival{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.hm-menu-detail{background:#f2e9db;color:#2b251f;max-width:1180px;margin:40px auto;padding:32px;border:1px solid #d8c6a9}
.hm-menu-detail summary{font:400 30px/1.3 'Forum',Georgia,serif;cursor:pointer;color:#2b251f;padding:5px 0;list-style:revert}
.hm-menu-detail p,.hm-menu-detail li{font:15px/1.7 'DM Sans',Arial,sans-serif;color:#5a4f43}
.hm-menu-detail ul{padding-left:20px;margin:18px 0}
.hm-menu-detail li{list-style:disc}
.hm-menu-detail h3{font:400 28px/1.2 'Forum',Georgia,serif;color:#8a432a;margin:25px 0 12px}
.hm-menu-detail a{color:#8a432a;text-decoration:underline}
.hm-menu-detail .hm-static-photos{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px}
.hm-menu-detail img{width:100%;height:320px;object-fit:cover}
@media(max-width:700px){.hm-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.hm-dialog .hm-layout{display:flex;flex-direction:column;min-height:0}.hm-dialog .hm-visual{min-height:220px;height:220px;flex:none}.hm-dialog .hm-visual>img,.hm-dialog .hm-visual>video{object-position:50% 60%}.hm-dialog .hm-content{padding:26px 24px 20px}.hm-dialog .hm-brand{margin-bottom:5px}.hm-dialog .hm-film-caption{left:22px;bottom:18px}.hm-dialog .hm-film-caption p{font-size:26px;margin:7px 0 10px}.hm-dialog h2{font-size:38px}.hm-dialog .hm-close{position:absolute;z-index:3;right:14px;top:14px}.hm-dialog .hm-price{font-size:27px}.hm-menu-detail{margin:24px 16px;padding:22px}.hm-menu-detail .hm-static-photos{grid-template-columns:1fr}.hm-menu-detail img{height:300px}}
@media(prefers-reduced-motion:reduce){.hm-dialog[open]{animation:none}.hm-dialog .hm-visual>video{transition:none}}


/* Menu scelto: piatto sempre visibile, poi pinse a scelta e bibita inclusa. */
.hm-dialog .hm-menu-course{margin:20px 0 0;background:var(--hm-paper,#f2e9db)}
.hm-dialog .hm-plate-items{padding-left:18px;margin:12px 0 20px;color:#5a4f43;font:13px/1.65 'DM Sans',Arial,sans-serif}
.hm-dialog .hm-plate-items li{list-style:disc;margin:5px 0}
.hm-dialog .hm-pinsa-options{border-top:1px solid #bba38466;padding-top:20px}
.hm-dialog .hm-choice-title{font:700 13px/1.5 'DM Sans',Arial,sans-serif;color:#2b251f;margin:14px 0 5px;text-transform:none;letter-spacing:0}
.hm-dialog .hm-pinsa-options .hm-ingredients{margin-bottom:12px}
.hm-dialog .hm-choice-intro{font:400 13px/1.6 'DM Sans',Arial,sans-serif;color:#5a4f43;margin:14px 0 0}
.hm-dialog .hm-free-choice{font:500 13px/1.65 'DM Sans',Arial,sans-serif;color:#000;margin:16px 0 0;padding-top:12px;border-top:1px solid #bba38466}
.hm-dialog .hm-price{margin-bottom:6px}
.hm-dialog .hm-included{font:700 13px/1.6 'DM Sans',Arial,sans-serif;color:#8a432a;margin:0 0 20px}
.hm-menu-detail h4{font:700 16px/1.5 'DM Sans',Arial,sans-serif;color:#2b251f;margin:18px 0 6px;text-transform:none;letter-spacing:0}
@media(min-width:701px){.hm-dialog .hm-visual{position:sticky;top:0;align-self:start;min-height:0;height:min(760px,calc(100dvh - 42px))}}
/* Desktop: video più stretto, più spazio ai contenuti, altezza video invariata. */
@media(min-width:701px){
  .hm-dialog .hm-layout{grid-template-columns:34% 66%}
  .hm-dialog .hm-content{padding:28px 28px 24px 24px}
}
/* Desktop: prezzo e prenotazione sempre nel viewport, scorre solo il racconto. */
@media(min-width:701px){
  .hm-dialog{height:min(760px,calc(100vh - 32px));height:min(760px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden}
  .hm-dialog .hm-layout{height:100%;min-height:0;grid-template-rows:minmax(0,1fr)}
  .hm-dialog .hm-visual{position:relative;top:auto;align-self:stretch;height:100%;min-height:0;max-height:none}
  .hm-dialog .hm-content{display:flex;flex-direction:column;min-height:0;min-width:0;padding:0;overflow:hidden}
  .hm-dialog .hm-scroll-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 24px 8px;scrollbar-width:thin;scrollbar-color:#bba384 transparent}
  .hm-dialog .hm-brand{margin:0 44px 5px 0}
  .hm-dialog .hm-date{margin-bottom:6px}
  .hm-dialog h2{font-size:38px;margin-bottom:8px}
  .hm-dialog .hm-intro{font-size:14px;line-height:1.5;margin-bottom:8px}
  .hm-dialog .hm-menu-course{margin-top:8px}
  .hm-dialog .hm-product{font-size:23px;margin-bottom:6px}
  .hm-dialog .hm-plate-items{line-height:1.4;margin:6px 0}
  .hm-dialog .hm-plate-items li{margin:2px 0}
  .hm-dialog .hm-pinsa-options{padding-top:8px}
  .hm-dialog .hm-choice-title{margin:6px 0 3px}
  .hm-dialog .hm-pinsa-options .hm-ingredients{line-height:1.4;margin-bottom:5px}
  .hm-dialog .hm-choice-intro{margin-top:6px}
  .hm-dialog .hm-free-choice{margin-top:6px;padding-top:6px;line-height:1.4}
  .hm-dialog .hm-purchase{flex:0 0 auto;padding:10px 24px;background:var(--hm-paper);border-top:1px solid #bba38466;box-shadow:0 -8px 20px #2b251f08}
  .hm-dialog .hm-offer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
  .hm-dialog .hm-price{margin:0;gap:14px;font-size:30px}
  .hm-dialog .hm-included{margin:0;font-size:12px}
  .hm-dialog .hm-book{margin-top:10px;padding:12px 18px;min-height:46px}
  .hm-dialog .hm-footer{margin-top:4px;gap:8px}
  .hm-dialog .hm-note{margin:0;font-size:10px;line-height:1.4}
}

/* Ritocchi tipografici approvati e compattazione verticale. */
.hm-dialog #hm-plate-title{font-size:21px}
.hm-dialog .hm-choice-featured{color:#8a432a;font-size:17px;line-height:1.3}
/* Dettaglio nella pagina Menu allineato alla tipografia della modale Home. */
.hm-menu-detail .hm-plate-title{font-size:21px}
.hm-menu-detail h4.hm-choice-featured{color:#8a432a;font-size:17px;line-height:1.3}
.hm-menu-detail .hm-free-choice,.hm-menu-detail .hm-free-choice strong{color:#000}
.hm-menu-detail p{margin:0 0 10px}
.hm-menu-detail h3{margin:18px 0 8px}
.hm-menu-detail h4{margin:12px 0 5px}
.hm-menu-detail ul{margin:10px 0 14px}
.hm-menu-detail li{margin-bottom:4px}

.hm-menu-detail .hm-menu-course,.hm-menu-detail .hm-ingredients{background:#f2e9db}.hm-menu-detail .hm-plate-title{font-size:21px}

.hm-dialog :is(a,button):focus-visible,.hm-promo :is(a,button):focus-visible{outline:3px solid #b76f3d!important;outline-offset:4px}.hm-menu-detail :is(a,summary):focus-visible{outline:3px solid #8a432a!important;outline-offset:4px}
