body { background: var(--cream); }

/* ---------- copertina ---------- */
.hero { position: relative; color: var(--cream); min-height: 420px; display: flex; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; transform: scale(1.02); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,49,41,.55) 0%, rgba(0,49,41,.35) 38%, rgba(0,49,41,.92) 100%); }
.hero-in { position: relative; z-index: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: 22px 20px 92px; display: flex; flex-direction: column; }
.hero-top { display: flex; align-items: center; justify-content: space-between; }
.hero-logo { height: 46px; }
.hero-text { margin-top: auto; padding-top: 90px; }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.hero h1 { font-size: 46px; line-height: 1.02; font-style: italic; }
.hero-text p:last-child { margin: 12px 0 0; font-size: 16px; color: rgba(251,248,240,.86); max-width: 440px; }
.lang { display: flex; border: 1px solid rgba(251,248,240,.4); border-radius: 999px; overflow: hidden; backdrop-filter: blur(6px); }
.lang button { border: 0; background: transparent; color: var(--cream); padding: 6px 13px; font-size: 12px; letter-spacing: .1em; }
.lang button.on { background: var(--cream); color: var(--green); }
body.embed .hero { display: none; }
body.embed .book { margin-top: 0; }
body.embed { background: transparent; }

/* ---------- contenuto ---------- */
.book { position: relative; z-index: 2; max-width: 620px; margin: -64px auto 0; padding: 0 14px 120px; }
.step { background: var(--white); border-radius: 22px; padding: 22px 20px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(0,49,41,.05), 0 14px 34px rgba(0,49,41,.07); border: 1px solid rgba(0,49,41,.04); }
.step h2 { font-size: 23px; margin-bottom: 4px; display: flex; align-items: center; gap: 12px; }
.step h2 .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--gold); font: 13px 'Pangea', sans-serif; display: grid; place-items: center; }
.step .hint { color: var(--muted); font-size: 14px; margin: 0 0 16px 40px; }
.step.done-step { padding: 14px 20px; }

.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tab { border: 1px solid var(--sage-2); background: var(--cream); border-radius: 18px; padding: 16px 8px 14px; text-align: center; transition: .15s; display: grid; justify-items: center; gap: 4px; }
.tab:hover { border-color: var(--green); transform: translateY(-1px); }
.tab svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.4; margin-bottom: 4px; }
.tab .t { font-family: 'Romie', serif; font-size: 21px; line-height: 1; }
.tab .s { font-size: 12px; color: var(--muted); }
.tab.on { background: var(--green); border-color: var(--green); color: var(--cream); box-shadow: 0 10px 24px rgba(0,49,41,.22); }
.tab.on .s { color: var(--sage-2); }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.people .chip { height: 50px; font-size: 18px; font-family: 'Romie', serif; border-radius: 14px; }
.people .chip.more { grid-column: span 4; font-family: 'Pangea', sans-serif; font-size: 15px; height: 44px; }
.chip.on { box-shadow: 0 6px 16px rgba(0,49,41,.2); }
.note { margin-top: 14px; padding: 13px 15px; border-radius: 14px; background: var(--gold-soft); font-size: 14px; display: flex; gap: 10px; }
.note.sage { background: var(--sage); }
.note::before { content: '✦'; color: var(--gold); flex: none; }

/* allergie */
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yesno .chip { height: 50px; border-radius: 14px; font-size: 16px; }
.allergens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.allergens .chip { font-size: 14px; padding: 8px 14px; }
.allergens .chip.on::before { content: '✓ '; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 12px; }
.cal-head b { font-family: 'Romie', serif; font-weight: 400; font-size: 20px; }
.cal-head button { border: 1px solid var(--sage-2); background: var(--white); width: 38px; height: 38px; border-radius: 50%; font-size: 18px; color: var(--green); }
.cal-head button:disabled { opacity: .25; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.cal .dow { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 4px 0 6px; }
.cal .d { aspect-ratio: 1; border: 0; border-radius: 14px; background: transparent; font-size: 16px; position: relative; color: var(--green); transition: .12s; }
.cal .d.ok, .cal .d.few { background: var(--sage); }
.cal .d.ok:hover, .cal .d.few:hover { background: var(--sage-2); }
.cal .d.few::after { content: ''; position: absolute; bottom: 7px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
.cal .d.closed, .cal .d.full { color: #c3ccc7; cursor: default; }
.cal .d.full { text-decoration: line-through; }
.cal .d.on { background: var(--green); color: var(--cream); box-shadow: 0 6px 16px rgba(0,49,41,.25); }
.legend { display: flex; gap: 16px; margin-top: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.times .chip { height: 56px; font-family: 'Romie', serif; font-size: 22px; border-radius: 14px; }
.empty { color: var(--muted); font-size: 15px; margin: 4px 0; }

.recap { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 18px 40px; }
.recap span { background: var(--sage); border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid2 .full { grid-column: 1 / -1; }
.phone { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.btn.big { height: 56px; font-size: 16px; letter-spacing: .04em; }

.events { display: grid; gap: 12px; }
.ev { display: grid; grid-template-columns: 96px 1fr; gap: 14px; text-align: left; border: 1px solid var(--sage-2); background: var(--cream); border-radius: 18px; padding: 10px; align-items: center; transition: .15s; }
.ev:hover { border-color: var(--green); }
.ev.on { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green), 0 10px 24px rgba(0,49,41,.12); }
.ev img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; background: var(--white); }
.ev .t { font-family: 'Romie', serif; font-size: 19px; line-height: 1.15; }
.ev .m { font-size: 13px; color: var(--muted); margin-top: 4px; }
.ev .p { font-size: 14px; margin-top: 6px; }
.ev:disabled { opacity: .5; }

.pay { border: 1px dashed var(--sage-2); border-radius: 14px; padding: 14px; background: var(--cream); }
.pay .card { margin-top: 10px; display: grid; grid-template-columns: 1fr 90px 70px; gap: 8px; }
.sumline { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }

.done { text-align: center; padding: 34px 22px; }
.done .mark { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; font-size: 32px; }
.done h2 { justify-content: center; font-size: 30px; }
.done .actions { display: grid; gap: 10px; margin-top: 22px; }
.err { color: var(--red); font-size: 14px; margin-top: 10px; }

.info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.info div { padding: 16px; border-radius: 18px; background: var(--sage); font-size: 14px; }
.info b { display: block; font-family: 'Romie', serif; font-weight: 400; font-size: 18px; margin-bottom: 4px; }
.foot { text-align: center; font-size: 12px; color: var(--muted); margin-top: 28px; letter-spacing: .08em; }
.foot img { height: 34px; display: block; margin: 0 auto 10px; opacity: .8; }

/* barra riepilogo */
.sumbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20; background: var(--green); color: var(--cream); border-radius: 999px; padding: 10px 10px 10px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 34px rgba(0,49,41,.35); max-width: calc(100% - 28px); width: max-content; font-size: 14px; }
.sumbar .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sumbar button { flex: none; border: 0; background: var(--gold); color: var(--green); border-radius: 999px; padding: 8px 16px; font-size: 14px; }

@media (max-width: 440px) {
  .hero { min-height: 380px; }
  .hero h1 { font-size: 38px; }
  .hero-logo { height: 38px; }
  .grid2 { grid-template-columns: 1fr; }
  .tab .t { font-size: 18px; }
  .step .hint, .recap { margin-left: 0; }
  .info { grid-template-columns: 1fr; }
}

/* prossimi eventi */
.evstrip { padding: 16px 18px; background: var(--green); color: var(--cream); border: 0; }
.evhead { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.evhead svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.evhead b { font-weight: 400; }
.evline { display: grid; gap: 2px; width: 100%; background: none; border: 0; border-top: 1px solid rgba(251,248,240,.14); color: var(--cream); padding: 10px 0; text-align: left; }
.evline:first-of-type { border-top: 0; }
.evline span { font-family: 'Romie', serif; font-size: 18px; }
.evline small { color: var(--sage-2); font-size: 13px; }
.evline span::after { content: ' →'; color: var(--gold); font-family: 'Pangea', sans-serif; font-size: 14px; }

/* giorno evento nel calendario */
.cal .d.evd::before { content: '✦'; position: absolute; top: 3px; right: 6px; font-size: 10px; color: var(--gold); }
.cal .d.on.evd::before { color: var(--gold); }
.legend .star { background: none !important; width: auto !important; height: auto !important; color: var(--gold); font-style: normal; }

/* scelta del servizio nel giorno */
.opts { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; text-align: left; border: 1px solid var(--sage-2); background: var(--cream); border-radius: 18px; padding: 12px 16px 12px 12px; transition: .15s; }
.opt:hover:not(:disabled) { border-color: var(--green); }
.opt .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--white); display: grid; place-items: center; }
.opt .ic svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.opt img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: var(--white); }
.opt .tx { display: grid; gap: 2px; }
.opt .t { font-family: 'Romie', serif; font-size: 20px; line-height: 1.1; }
.opt .m { font-size: 13px; color: var(--muted); }
.opt .st { font-size: 12px; color: var(--muted); text-align: right; }
.opt .badge-ev { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #a07a1c; }
.opt.ev { background: linear-gradient(135deg, var(--gold-soft), var(--cream)); border-color: #ecd59a; }
.opt.on { background: var(--green); border-color: var(--green); color: var(--cream); box-shadow: 0 10px 24px rgba(0,49,41,.22); }
.opt.on .m, .opt.on .st { color: var(--sage-2); }
.opt.on .badge-ev { color: var(--gold); }
.opt:disabled { opacity: .45; cursor: not-allowed; }
.evdesc { margin: 14px 2px 0; font-size: 15px; color: var(--muted); }
@media (max-width: 440px) { .opt { grid-template-columns: 46px 1fr; } .opt .st { grid-column: 2; text-align: left; } .opt .ic, .opt img { width: 46px; height: 46px; } }

/* ---------- prossime serate (in fondo) ---------- */
.evsec { margin: 44px 0 0; text-align: center; }
.evsec .eyebrow { color: #a07a1c; }
.evsec h2 { font-size: 32px; font-style: italic; margin-bottom: 20px; }
.evgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
.evcard { text-align: left; padding: 0; border: 0; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,49,41,.05), 0 14px 34px rgba(0,49,41,.08); display: flex; flex-direction: column; transition: transform .2s; }
.evcard:hover { transform: translateY(-3px); }
.evcard .ph { position: relative; display: block; aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.evcard .dt { position: absolute; top: 12px; left: 12px; background: var(--cream); color: var(--green); border-radius: 14px; padding: 6px 10px; text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; line-height: 1.1; }
.evcard .dt b { display: block; font-family: 'Romie', serif; font-weight: 400; font-size: 24px; letter-spacing: 0; }
.evcard .so { position: absolute; bottom: 12px; right: 12px; background: var(--red); color: #fff; border-radius: 999px; font-size: 12px; padding: 4px 10px; }
.evcard .bd { display: grid; gap: 6px; padding: 16px 18px 18px; }
.evcard .t { font-family: 'Romie', serif; font-size: 21px; line-height: 1.15; }
.evcard .m { font-size: 13px; color: #a07a1c; }
.evcard .ds { font-size: 14px; color: var(--muted); }
.evcard .more { font-size: 14px; margin-top: 4px; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* scheda evento */
.evmodal { position: fixed; inset: 0; z-index: 50; background: rgba(0,49,41,.55); display: grid; place-items: center; padding: 16px; }
.evm { position: relative; background: var(--cream); border-radius: 26px; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; }
.evm .ph { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.evm .in { padding: 22px 24px 26px; }
.evm .eyebrow { color: #a07a1c; margin-bottom: 6px; }
.evm h2 { font-size: 30px; line-height: 1.1; }
.evm .m { color: var(--muted); margin: 8px 0 14px; }
.evm .ds { font-size: 16px; margin: 0 0 16px; }
.evm .facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 14px; }
.evm .facts li { padding-left: 22px; position: relative; }
.evm .facts li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }
.evm .x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream); color: var(--green); font-size: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }

/* piè di pagina pulito */
.foot { display: grid; justify-items: center; gap: 8px; margin-top: 48px; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.foot img { height: 36px; opacity: .85; margin: 0; }
.foot .fl { letter-spacing: 0; font-size: 13px; }
@media (max-width: 560px) { .evgrid { grid-template-columns: 1fr; } .evsec h2 { font-size: 28px; } }

/* opzioni facoltative, regole, attesa */
.opt.isfull { opacity: .75; }
.opt.isfull .st { color: #a07a1c; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills .chip { font-size: 14px; padding: 8px 14px; }
.opt-l { color: var(--muted); font-size: 12px; }
.policy { font-size: 13px; color: var(--muted); background: var(--cream); border-left: 3px solid var(--gold); padding: 10px 12px; border-radius: 0 10px 10px 0; }
.alts { display: flex; flex-wrap: wrap; gap: 8px; }
.wait { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--cream); border: 1px dashed var(--sage-2); }
.wait b { font-family: 'Romie', serif; font-weight: 400; font-size: 19px; }
.gtk { margin: 26px 2px 0; padding: 18px 20px; border-radius: 20px; background: var(--sage); }
.gtk b { font-family: 'Romie', serif; font-weight: 400; font-size: 20px; }
.gtk p { margin: 6px 0 0; font-size: 14px; color: var(--green-2); }
.sub { display: grid; gap: 10px; justify-items: center; margin: 0 0 22px; }
.sub span { font-size: 14px; color: var(--muted); }
.sub div { display: flex; gap: 8px; width: 100%; max-width: 420px; }
.sub .btn { flex: none; padding: 10px 18px; }
.subdone { color: var(--green); font-size: 14px; margin: 0 0 22px; }

/* chiuso / al completo ben visibili */
.cal .d.full { background: #f6e1dc; color: var(--red); text-decoration: line-through; cursor: pointer; }
.cal .d.full:hover { background: #efcfc8; }
.cal .d.full.on { background: var(--red); color: #fff; text-decoration: none; }
.times .chip small { display: block; font-family: 'Pangea', sans-serif; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.times .chip.slot-full, .times .chip.slot-closed { opacity: 1; cursor: not-allowed; color: var(--red); border-color: #e6bdb4; font-size: 18px; padding-top: 6px; }
.times .chip.slot-full { background: #f6e1dc; text-decoration: line-through; text-decoration-thickness: 1px; }
.times .chip.slot-full small { text-decoration: none; display: block; }
.times .chip.slot-closed { background: repeating-linear-gradient(-45deg, #f6e1dc, #f6e1dc 6px, #fbf1ee 6px, #fbf1ee 12px); }
.opt.isfull { opacity: 1; background: #fbefec; border-color: #e6bdb4; }
.opt.isfull .st { color: var(--red); font-weight: 600; }
.opt.isfull .t { color: #7a2e23; }
.opt.ev.isfull { background: #fbefec; }
.evcard .so { background: var(--red); font-size: 13px; padding: 5px 12px; letter-spacing: .04em; }

/* scarsità (mai il numero dei posti) */
.scarce { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.scarce.limited { background: rgba(0,49,41,.85); color: var(--gold); }
.scarce.last { background: var(--red); color: #fff; animation: pulse 2.4s ease-in-out infinite; }
.scarce.sold { background: #5b5b5b; color: #fff; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(166,61,47,.45); } 50% { box-shadow: 0 0 0 6px rgba(166,61,47,0); } }
.evcard .ph .scarce { position: absolute; top: 14px; right: 12px; }
.evcard .ph { aspect-ratio: 4 / 5 !important; background-position: center top; }
.opt .st { white-space: nowrap; }

/* scheda evento con locandine intere */
.evm { max-width: 560px; }
.evm .posters { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: #15120f; border-radius: 26px 26px 0 0; scrollbar-width: none; }
.evm .posters::-webkit-scrollbar { display: none; }
.evm .posters img, .evm .posters video { flex: 0 0 100%; width: 100%; max-height: 72vh; object-fit: contain; scroll-snap-align: center; display: block; }
.pdots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
.pdots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-2); }
.pdots i.on { background: var(--green); }
.row-sp { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.row-sp .eyebrow { margin: 0; }
.evmini { margin-top: 14px; display: grid; gap: 10px; justify-items: start; }
.evmini p { margin: 0; color: var(--muted); font-size: 15px; }

/* inserito nel sito volivo.secolario.com */
body.embed .sumbar { display: none !important; }
body.embed .book { padding-bottom: 24px; }
body.embed .foot { display: none; }
body.embed .evm { max-height: none; overflow: visible; }
body.embed .evm .posters img, body.embed .evm .posters video { max-height: none; }
body.embed .evmodal { background: rgba(0,49,41,.35); }

html:has(body.embed), body.embed { overflow: hidden; }

.check.small { font-size: 12.5px; opacity: .85; }
.check.small input { width: 15px; height: 15px; }

/* conferma */
.done { text-align: center; padding: 40px 24px 30px; border-top: 4px solid var(--green); }
.done.req { border-top-color: var(--gold); }
.done .mark { width: 76px; height: 76px; font-size: 34px; box-shadow: 0 0 0 8px var(--sage); }
.done.req .mark { background: var(--gold); color: var(--green); box-shadow: 0 0 0 8px var(--gold-soft); }
.done .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--muted); margin: 6px 0 4px; }
.done h2 { font-size: 32px; }
.done .lead { font-family: 'Romie', Georgia, serif; font-size: 20px; margin: 8px 0 22px; }
.ticket { margin: 0 auto; max-width: 440px; text-align: left; background: var(--cream); border: 1px dashed var(--sage-2); border-radius: var(--radius-s); padding: 6px 18px; }
.ticket div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ticket div:last-child { border-bottom: 0; }
.ticket dt { color: var(--muted); font-size: 14px; }
.ticket dd { margin: 0; text-align: right; font-weight: 500; }
.done .hold { max-width: 440px; margin: 16px auto 0; background: var(--gold-soft); border-radius: var(--radius-s); padding: 10px 14px; font-size: 14px; }
.done .small { font-size: 13px; max-width: 440px; margin: 14px auto 0; }
.done .actions { max-width: 440px; margin: 22px auto 0; }

/* serate speciali: locandina intera e leggibile anche da telefono */
.evcard .pw { position: relative; display: block; background: #15120f; }
.evcard .pw img.poster { display: block; width: 100%; height: auto; }
.evcard .bd { gap: 8px; padding: 18px 20px 20px; }
.evcard .m { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a07a1c; }
.evcard .t { font-size: 26px; }
.evcard .ds { font-size: 15px; line-height: 1.5; }
.evcard .more { display: inline-flex; justify-content: center; margin-top: 8px; background: var(--green); color: var(--cream); text-decoration: none; border-radius: 999px; padding: 13px 20px; font-size: 15px; letter-spacing: .03em; }
.evcard:hover .more { background: var(--green-2); }
.opt.ev { grid-template-columns: 88px 1fr auto; padding: 12px 16px 12px 12px; background: linear-gradient(135deg, #f6e7bd, var(--cream)); }
.opt.ev img { width: 88px; height: 112px; border-radius: 12px; object-fit: cover; object-position: center 35%; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.opt.ev .t { font-size: 23px; }
.opt.ev .m { font-size: 14px; color: var(--green); }
.opt.ev.on .m { color: var(--cream); }
.opt.ev .st { font-weight: 600; color: #a07a1c; }
@media (max-width: 440px) {
  .opt.ev { grid-template-columns: 84px 1fr; }
  .opt.ev img { width: 84px; height: 108px; }
  .opt.ev .st { grid-column: 2; }
}
.evmini { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.evmini p { color: var(--ink); line-height: 1.5; }
.evm .in h2 { font-size: 32px; }
.evm .ds { line-height: 1.55; }
.evcard .pw .scarce { position: absolute; top: 14px; right: 12px; }
.opt.ev.on { background: var(--green); border-color: var(--green); color: var(--cream); }
.opt.ev.on .badge-ev, .opt.ev.on .st { color: var(--gold); }

/* campi da completare */
.input.bad { border-color: var(--red); background: #fdf6f4; }
.check.bad { color: var(--red); }
.check.bad input { outline: 2px solid var(--red); outline-offset: 1px; }
/* la data è già nella locandina e nella riga sotto */
.evcard .pw .dt { display: none; }

/* condizioni e privacy */
.check a, .policy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.evm.doc .in { padding: 30px 24px 26px; }
.evm.doc h2 { font-size: 28px; margin: 0 40px 14px 0; }
.evm.doc h3 { font-family: 'Pangea', sans-serif; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #a07a1c; margin: 20px 0 6px; }
.evm.doc p, .evm.doc li { font-size: 15px; line-height: 1.6; }
.evm.doc ul { padding-left: 18px; margin: 8px 0 18px; display: grid; gap: 8px; }
.evm.doc a { color: var(--green); }
.evm.doc .btn { margin-top: 18px; }

/* lista d'attesa */
.chip.slot-full, .chip.slot-closed { cursor: pointer; }
.chip.slot-full small, .chip.slot-closed small { display: block; font-size: 10px; letter-spacing: .02em; }
.chip.wlon { outline: 2px solid var(--gold); outline-offset: 2px; }
.wait { margin-top: 16px; background: var(--cream); border: 1px solid #ecd59a; border-left: 4px solid var(--gold); border-radius: 16px; padding: 18px 16px; }
.wait .wt { font-family: 'Romie', serif; font-weight: 400; font-size: 22px; }
.wl-l { display: block; font-size: 13px; color: var(--muted); margin: 6px 0 8px; }
.times.wl { margin-bottom: 16px; }
.times.wl .chip.any { grid-column: span 2; }

/* giorni al completo: si vede subito che c'è la lista d'attesa */
.cal .d { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.cal .d.full { background: #fbefec; color: var(--red); text-decoration: none; border: 1.5px dashed #e3a99d; cursor: pointer; }
.cal .d.full .dn { text-decoration: line-through; text-decoration-thickness: 1px; }
.cal .d.full:hover { background: #f6e1dc; border-style: solid; }
.cal .d.full.on { background: var(--red); color: #fff; border-color: var(--red); }
.cal .d.full.on .wlm { color: #fff; }
.cal .d .wlm { font-size: 9px; line-height: 1.05; letter-spacing: .02em; color: var(--red); font-weight: 600; max-width: 100%; padding: 0 2px; }
@media (max-width: 420px) { .cal .d .wlm { font-size: 7.5px; } }
.calwl { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: #fbefec; border-left: 4px solid var(--red); color: #7a2e23; font-size: 14px; }
/* calendario: le 7 colonne restano sempre nello schermo (anche con la scritta "lista d'attesa") */
.cal { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal .d { min-width: 0; padding: 0; overflow: hidden; }
.cal .d .wlm { display: block; width: 100%; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 420px) { .cal { gap: 4px; } .cal .d .wlm { font-size: 7px; letter-spacing: 0; } }
/* orari: le colonne non si allargano oltre lo schermo; "Qualsiasi orario" su tutta la riga */
.times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.times.wl .chip.any { grid-column: 1 / -1; font-size: 18px; min-width: 0; }
