/* ============================================================
   /viaggi/<slug> — scheda pacchetto in layout hotel detail
   (spec 2026-08-01-viaggi-detail-stile-hotel-design.md).
   Palette hotel detail: fondo chiaro, card bianche arrotondate,
   blu --primary per i totali, CTA verde, accento --accent sulle
   selezioni. Standalone: NON richiede viaggi-landing.css.
   Prefisso: .vd-.
   ============================================================ */

.vd-page { background: var(--light-bg, #f8f9fa); padding: 1.25rem 0 4rem; }
/* Parita' con la scheda hotel: su HoEscape --light-bg e' il verdino brand
   #f6faef e la skin forza il body hotel a bianco (hoescape.css:497) —
   stessa cosa qui. */
[data-skin="hoe"] .vd-page { background: #fff; }
.vd-container { max-width: 1400px; }
.vd-page .vd-text { color: #444; line-height: 1.65; margin: 0; }

/* ---------- header ---------- */
.vd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.vd-stars { color: var(--accent, #f5a623); font-size: .9rem; display: inline-flex; gap: 2px; margin-right: .15rem; }
.vd-name { font-size: 1.9rem; font-weight: 800; color: #1a1a1a; margin: 0 0 .25rem; }
.vd-place { color: #555; font-size: .95rem; display: flex; align-items: center; gap: .4rem; }
.vd-place .bi { color: var(--primary, #1e3c72); }
.vd-ptype { flex: 0 0 auto; background: var(--primary, #1e3c72); color: #fff; font-size: .75rem;
    font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .45rem .8rem;
    border-radius: 999px; white-space: nowrap; }
@media (max-width: 575px) { .vd-name { font-size: 1.4rem; } .vd-ptype { font-size: .65rem; } }

/* ---------- mosaico foto ----------
   Parità con la scheda hotel nativa (.hd-hero-mosaic__grid): su desktop il
   mosaico vive DENTRO lo stesso .vd-container dell'header (stessi margini
   del titolo, angoli arrotondati, altezza fissa 440px come la nativa),
   invece del full-bleed edge-to-edge di prima. Su mobile resta full-bleed
   (comportamento invariato, ora ottenuto con un breakout dal container
   invece che con un modifier applicato anche al desktop). */
.vd-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 218px 218px;
    gap: 4px; border-radius: 14px; overflow: hidden; margin-bottom: 1.25rem; position: relative; }
.vd-mosaic-cell { position: relative; border: 0; padding: 0; cursor: pointer; background: #e9ecef; overflow: hidden; }
.vd-mosaic-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.vd-mosaic-cell:hover img { transform: scale(1.04); }
.vd-mosaic-cell--1 { grid-row: span 2; }
.vd-mosaic--count-1 { grid-template-columns: 1fr; grid-template-rows: 440px; }
.vd-mosaic--count-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 440px; }
.vd-mosaic--count-3 { grid-template-columns: 2fr 1fr; }
.vd-mosaic--count-4 { grid-template-columns: 2fr 1fr; grid-template-rows: 144px 144px 144px; }
.vd-mosaic--count-4 .vd-mosaic-cell--1 { grid-row: span 3; }
.vd-mosaic-more { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center;
    gap: .4rem; background: rgba(255, 255, 255, .95); color: #1a1a1a; border-radius: 8px;
    padding: .45rem .75rem; font-weight: 600; font-size: .85rem; box-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
@media (max-width: 767px) {
    /* breakout full-bleed dal .vd-container (indipendente dal gutter del
       container, non serve azzerare il padding del contenitore condiviso
       con l'header). */
    .vd-mosaic { grid-template-columns: 1fr !important; grid-template-rows: 320px !important;
        border-radius: 0 !important; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
    .vd-mosaic-cell:not(.vd-mosaic-cell--1) { display: none; }
}
.vd-mosaic-count { display: none; }
@media (max-width: 767px) {
    .vd-mosaic-count { display: inline-flex; align-items: center; gap: .35rem; position: absolute;
        top: 12px; right: 12px; z-index: 2; border: 0; background: rgba(15, 23, 42, .72); color: #fff;
        border-radius: 999px; padding: .35rem .7rem; font-size: .8rem; font-weight: 700; }
    .vd-mosaic { position: relative; }
    .vd-mosaic-more { display: none; }
}

/* ---------- gallery condivisa ---------- */
/* La gallery condivisa ha «Salva» (wishlist hotel): sui viaggi è inerte
   → nascosto. */
.vd-page .gallery-lb__save, .vd-page .gallery-lb__heart { display: none !important; }

/* Blocco pagamento/info sotto il totale (stile «Alla conferma versi» nativo) */
/* Blocco pagamento = chip «--at-hotel» nativa: separatore sopra, toni ink */
.vd-paybox { display: flex; flex-direction: column; gap: .35rem;
    border-top: 1px solid #ececf2; padding-top: 10px; }
.vd-paybox[hidden] { display: none; }
.vd-paybox-row { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem;
    background: #fbf4e4; border-radius: 8px; padding: .5rem .7rem;
    font-weight: 600; color: var(--ink2, #4a4a4a); font-size: 13px; }
.vd-paybox-row strong { color: var(--price-amber, #e08b1a); font-size: 1rem; font-weight: 700; }
.vd-paybox-pct { color: #8a7a55; font-weight: 600; font-size: 11.5px; }
.vd-paybox-note { color: var(--ink3, #8a8a8a); font-size: 11.5px; line-height: 1.35; }

/* «Torna ai risultati» — pill glass sull'hero (= .back-to-results hotel) */
.vd-back-results { position: absolute; left: 14px; bottom: 14px; z-index: 3;
    display: inline-flex; align-items: center; gap: .4rem; color: #fff;
    font-size: .9rem; font-weight: 600; background: rgba(0, 0, 0, .65);
    padding: 8px 16px; border-radius: 20px; text-decoration: none;
    transition: background .2s; }
.vd-back-results:hover { color: #fff; background: rgba(0, 0, 0, .75); }
.vd-back-results[hidden] { display: none; }

/* ---------- popup selezione («Modifica selezione») ---------- */
.vd-panel-dialog { max-width: 640px; }
.vd-panel-title { font-size: 1.05rem; font-weight: 800; color: #1a1a1a; }
#vdPanel .vd-panel-card { box-shadow: none; padding: 0; }
.vd-panel-footer { border-top: 1px solid #edf0f5; }
.vd-panel-footer .vd-cta { width: 100%; }

/* ---------- card base ---------- */
.vd-card, .vd-side-card, .vd-bar, .vd-panel-card, .vd-form-card, .vd-flightinfo {
    background: #fff; border-radius: 16px; box-shadow: 0 1px 4px rgba(30, 60, 114, .08); }

/* ---------- barra selezione ---------- */
.vd-bar { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; margin-bottom: .75rem; }
.vd-bar-icon { color: var(--primary, #1e3c72); font-size: 1.1rem; display: flex; }
.vd-bar-summary { flex: 1; display: flex; flex-wrap: wrap; align-items: center; font-size: .95rem; color: #1a1a1a; }
.vd-bar-seg { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; padding: 0 .9rem; }
.vd-bar-seg:first-child { padding-left: 0; }
.vd-bar-seg + .vd-bar-seg { border-left: 1px solid #e3e8f0; }
.vd-bar-sub { color: #667; font-weight: 600; font-size: .85rem; }
.vd-bar-seg--seats { color: #c62828; font-weight: 700; }
.vd-bar-edit { border: 1.5px solid var(--primary, #1e3c72); color: var(--primary, #1e3c72);
    background: #fff; border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .85rem;
    white-space: nowrap; transition: background .2s, color .2s; }
.vd-bar-edit:hover { background: var(--primary, #1e3c72); color: #fff; }
@media (max-width: 575px) { .vd-bar { flex-wrap: wrap; } .vd-bar-edit { width: 100%; } }


/* ---------- pannello selezione ---------- */
#vdPanel { margin-bottom: 1rem; }
.vd-panel-card { padding: 1.1rem 1.1rem 1.25rem; }
.vd-step-head { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 .6rem; }
.vd-step-head:first-child { margin-top: 0; }
.vd-step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--primary, #1e3c72);
    color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.vd-step-label { font-weight: 700; color: #1a1a1a; }
.vd-step-head .bi { color: var(--primary, #1e3c72); font-size: 1.05rem; }
.vd-rooms-head { justify-content: flex-start; }
.vd-rooms-count { margin-left: auto; color: #667; font-size: .85rem; font-weight: 600; }
.vd-room-pill { display: inline-block; margin-left: .5rem; background: #e6f6e6; color: #2e7d32;
    font-size: .7rem; font-weight: 700; border-radius: 999px; padding: .15rem .5rem; vertical-align: 1px; }
/* Trattamento: stesso pill, tinta ambra per distinguerlo dal volo. */
.vd-room-pill--board { background: #fdf1dc; color: #9a5b00; }
.vd-room-ages { margin: .55rem 0 0; color: #667; font-size: .78rem; line-height: 1.35; }
.vd-board-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }
.vd-board-title { font-weight: 700; color: #1a1a1a; font-size: .95rem; }
.vd-airport { border: 1.5px solid #dbe2ee; border-radius: 10px; padding: .45rem .7rem; font-weight: 600;
    color: #1a1a1a; background: #fff; max-width: 60%; }
.vd-dates[hidden] { display: none; }
.vd-date-row { display: flex; align-items: center; gap: .7rem; padding: .65rem .75rem; border: 1.5px solid #e3e8f0;
    border-radius: 12px; margin-bottom: .5rem; cursor: pointer; transition: border-color .15s, background .15s; }
.vd-date-row:hover { border-color: var(--primary, #1e3c72); }
.vd-date-row.is-picked { border-color: var(--price-amber, #e08b1a); background: #fdf8f0; }
.vd-date-radio { position: absolute; opacity: 0; pointer-events: none; }
.vd-date-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c6cfdd; flex: 0 0 auto;
    transition: border-color .15s, box-shadow .15s; }
.vd-date-row.is-picked .vd-date-dot { border-color: var(--price-amber, #e08b1a);
    box-shadow: inset 0 0 0 4px var(--price-amber, #e08b1a); }
.vd-date-main { flex: 1; display: flex; flex-direction: column; }
.vd-date-when { font-weight: 700; color: #1a1a1a; font-size: .92rem; }
.vd-date-sub { color: #667; font-size: .8rem; }
.vd-date-right { display: flex; flex-direction: column; align-items: flex-end; }
.vd-date-price { font-weight: 800; color: var(--price-amber, #e08b1a); }
.vd-date-seats { color: #c62828; font-size: .75rem; font-weight: 700; }
.vd-board-note { color: #778; font-size: .8rem; margin-top: .25rem; }

/* pax + età */
.vd-pax { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.vd-pax-col { display: flex; flex-direction: column; gap: .4rem; }
.vd-pax-label { color: #556; font-size: .85rem; font-weight: 600; }
.vd-stepper { display: flex; align-items: center; gap: .6rem; }
.vd-step-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #dbe2ee; background: #fff;
    font-size: 1.15rem; font-weight: 700; color: var(--primary, #1e3c72); line-height: 1;
    display: flex; align-items: center; justify-content: center; transition: border-color .15s, background .15s; }
.vd-step-btn:hover { border-color: var(--primary, #1e3c72); background: #f4f7fc; }
.vd-step-val { min-width: 24px; text-align: center; font-weight: 800; font-size: 1.05rem; }
.vd-ages { margin-top: .8rem; display: flex; flex-direction: column; gap: .4rem; }
.vd-ages-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.vd-ages-grid label { display: flex; flex-direction: column; gap: .2rem; }
.vd-age-caption { font-size: .75rem; color: #667; font-weight: 600; }
.vd-age-select { border: 1.5px solid #dbe2ee; border-radius: 8px; padding: .35rem .5rem; background: #fff; }
.vd-ages-note { color: #778; font-size: .78rem; }

/* ---------- due colonne ---------- */
/* 400px = larghezza della colonna prenotazione nativa (col-lg-4) */
.vd-cols { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 1.25rem; align-items: start; }
.vd-main { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.vd-main--solo { max-width: 760px; }
.vd-side { position: sticky; top: 1rem; }
@media (max-width: 991px) {
    .vd-cols { grid-template-columns: 1fr; }
    .vd-side { display: none; }
}

/* ---------- camere ---------- */
.vd-rooms-card { padding: 1.1rem; }
.vd-rooms { display: flex; flex-direction: column; gap: .5rem; }
.vd-room { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.15rem; border: 2px solid #e9ecef;
    border-radius: 12px; cursor: pointer; transition: all .2s; }
.vd-room:hover { border-color: var(--primary, #1e3c72); background: #f8f9fa; }
.vd-room.is-picked { border-color: var(--price-amber, #e08b1a); background: #fdf8f0;
    box-shadow: 0 0 0 1px var(--price-amber, #e08b1a); }
.vd-room--empty { cursor: default; border-style: dashed; color: #556; }
.vd-room-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c6cfdd; flex: 0 0 auto;
    transition: border-color .15s, box-shadow .15s; }
.vd-room.is-picked .vd-room-dot { border-color: var(--price-amber, #e08b1a);
    box-shadow: inset 0 0 0 4px var(--price-amber, #e08b1a); }
.vd-room-main { flex: 1; display: flex; flex-direction: column; }
.vd-room-name { font-weight: 700; color: #1a1a1a; font-size: .95rem; }
.vd-room-sub { color: #667; font-size: .8rem; }
.vd-room-price { font-weight: 800; font-size: 1.5rem; color: var(--price-amber, #e08b1a); line-height: 1.1; white-space: nowrap; }

/* ---------- operativo voli ---------- */
.vd-flight-pill { display: inline-block; font-size: .72rem; font-weight: 700;
    border-radius: 999px; padding: .12rem .55rem; vertical-align: 1px; white-space: nowrap; }
.vd-flight-pill--direct { background: #e6f6e6; color: #2e7d32; }
.vd-flight-pill--stops { background: #fdf3e0; color: #9a6a10; }
.vd-flightinfo { padding: 1rem 1.1rem; }
.vd-flight-legs { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1.25rem; }
@media (max-width: 767px) { .vd-flight-legs { grid-template-columns: 1fr; } }
.vd-flightinfo-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    font-weight: 700; color: #1a1a1a; margin-bottom: .5rem; }
.vd-flightinfo-tag { background: #fff3e0; color: #b26a00; font-size: .72rem; font-weight: 700;
    border-radius: 999px; padding: .25rem .6rem; text-transform: uppercase; letter-spacing: .04em; }
.vd-flightinfo-row { display: flex; gap: .5rem; color: #444; font-size: .9rem; padding: .25rem 0; }
.vd-flight-leg-body { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.vd-flight-leg-head { color: #556; font-size: .84rem; font-weight: 600; }
.vd-flight-leg-head strong { color: #1a1a1a; }
.vd-flight-leg-head .vd-flight-pill { margin-left: .25rem; }
.vd-flight-route { font-size: .98rem; color: #1a1a1a; letter-spacing: .01em; }
.vd-flight-route sup { color: var(--price-amber, #e08b1a); font-weight: 700; margin-left: 1px; }
.vd-flight-carrier { color: #667; font-size: .82rem; }

/* ---------- quota include / non include (due liste affiancate) ---------- */
.vd-quota { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 767px) { .vd-quota { grid-template-columns: 1fr; } }
.vd-quota-box { background: #fff; border-radius: 16px; padding: 1rem 1.1rem; box-shadow: 0 1px 4px rgba(30, 60, 114, .08); }
.vd-quota-box--in { border-top: 3px solid #4caf50; }
.vd-quota-box--out { border-top: 3px solid #ef5350; }
.vd-quota-title { font-weight: 700; margin-bottom: .5rem; display: flex; align-items: center; gap: .45rem; }
.vd-quota-box--in .vd-quota-title { color: #2e7d32; }
.vd-quota-box--out .vd-quota-title { color: #c62828; }
.vd-quota-list { margin: 0; padding-left: 1.2rem; color: #555; font-size: .9rem; }
.vd-quota-list li { margin-bottom: .25rem; }

/* ---------- sezioni contenuto ---------- */
.vd-section-card { padding: 1.1rem 1.25rem; }
.vd-h2 { font-size: 1.15rem; font-weight: 800; color: #1a1a1a; margin: 0 0 .75rem;
    display: flex; align-items: center; gap: .5rem; }
.vd-h2 .bi { color: var(--primary, #1e3c72); }
.vd-clamp[data-clamp].is-clamped { max-height: 7.5em; overflow: hidden; position: relative; }
.vd-clamp[data-clamp].is-clamped::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 2.4em; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); }
.vd-clamp-btn { border: 0; background: none; color: var(--primary, #1e3c72); font-weight: 700;
    padding: .4rem 0 0; cursor: pointer; }
.vd-alldeps { border: 1px solid #e3e8f0; border-radius: 12px; padding: .6rem .9rem; margin-bottom: .6rem; }
.vd-alldeps summary { font-weight: 700; color: #1a1a1a; cursor: pointer; }
.vd-alldeps[open] summary { margin-bottom: .5rem; }
.vd-deps-table { margin: 0; font-size: .88rem; }
/* td.: serve battere .table>:not(caption)>*>* di Bootstrap (0,1,1) */
td.vd-deps-price { font-weight: 700; color: var(--price-amber, #e08b1a); white-space: nowrap; }
.vd-deps-go { border: 1.5px solid var(--primary, #1e3c72); color: var(--primary, #1e3c72);
    background: #fff; border-radius: 999px; padding: .25rem .7rem; font-weight: 700; font-size: .8rem;
    white-space: nowrap; transition: background .2s, color .2s; }
.vd-deps-go:hover { background: var(--primary, #1e3c72); color: #fff; }
@media (max-width: 767.98px) {
    .vd-deps-table thead { display: none; }
    .vd-deps-table tbody tr { display: flex; flex-wrap: wrap; align-items: baseline;
        column-gap: .35rem; row-gap: .2rem; padding: .65rem .1rem;
        border-bottom: 1px solid #eef1f5; }
    .vd-deps-table tbody tr:last-child { border-bottom: 0; }
    .vd-deps-table td { display: block; padding: 0; border: 0; background: none; }
    /* riga 1: date + prezzo a destra */
    .vd-deps-table td:nth-child(1), .vd-deps-table td:nth-child(2) {
        order: 1; font-weight: 700; color: #1a1a1a; font-size: .92rem; }
    .vd-deps-table td:nth-child(1)::after { content: " →"; color: #99a; }
    .vd-deps-table td.vd-deps-price { order: 2; margin-left: auto; font-size: .95rem; }
    /* riga 2: notti + camera */
    .vd-deps-table td:nth-child(3) { order: 3; color: #445; font-size: .85rem; }
    .vd-deps-table td:nth-child(3)::after { content: " notti ·"; }
    .vd-deps-table td:nth-child(4) { order: 4; flex: 1 1 60%; color: #445; font-size: .85rem; }
    /* riga 3: trattamento + Vai a destra */
    .vd-deps-table td:nth-child(5) { order: 5; color: #667; font-size: .8rem; }
    .vd-deps-table td:last-child { order: 6; margin-left: auto; }
    .vd-alldeps { padding: .6rem .75rem; }
}

/* ---------- sidebar (clone 1:1 della hd-price-summary-card nativa) ---------- */
.vd-side-card { padding: 18px; display: flex; flex-direction: column; gap: 12px;
    border: 1px solid var(--hair, #e5e1d8); box-shadow: 0 8px 30px rgba(30, 60, 114, .10); }
/* Testata = .hd-bestprice-box dell'hotel: full-bleed, icona in cerchio,
   navy di default, verde brand lime→scuro sulla skin HoEscape. */
.vd-side-head { display: flex; align-items: center; gap: 11px; color: #fff;
    background: linear-gradient(135deg, var(--primary, #1e3c72), var(--secondary, #2a5298));
    margin: -18px -18px 2px; padding: 13px 16px; border-radius: 16px 16px 0 0; }
[data-skin="hoe"] .vd-side-head { background: linear-gradient(135deg, #8cb93a 0%, #557d1c 100%); }
.vd-side-head-icon { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255, 255, 255, .18); display: inline-flex; align-items: center;
    justify-content: center; font-size: 1.05rem; }
.vd-side-head-title { font-size: .9rem; font-weight: 800; letter-spacing: .3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .22); }
/* Righe = __chips native: riquadro grigio caldo, chip a griglia icona+testo */
.vd-side-rows { background: #f8f6f1; border-radius: 10px; padding: 12px;
    display: flex; flex-direction: column; gap: 10px; }
.vd-side-row { display: grid; grid-template-columns: 16px 1fr; column-gap: 8px;
    align-items: center; color: var(--ink, #1a1a1a); font-size: 13px; font-weight: 700;
    line-height: 1.25; }
.vd-side-row .bi { grid-column: 1; color: var(--secondary, #2a5298); font-size: 14px;
    line-height: 1.2; }
/* gerarchia nativa: solo data e camera in grassetto, il resto normale */
.vd-side-row--soft { font-weight: 500; color: var(--ink2, #4a4a4a); }
.vd-side-duo { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.vd-side-duo-btn { display: flex; align-items: center; justify-content: center; gap: .45rem;
    border-radius: 12px; padding: .6rem .5rem; font-weight: 700; font-size: .9rem;
    text-decoration: none; color: #fff; transition: filter .2s; }
.vd-side-duo-btn:hover { color: #fff; filter: brightness(.92); }
.vd-side-duo-btn--call { background: var(--primary, #1e3c72); }
.vd-side-duo-btn--wa { background: #25d366; }
/* Totale = __price-row nativa: caption 13px a sinistra, prezzo ambra 36px a destra */
.vd-side-total { display: flex; flex-direction: column; }
.vd-total-row { display: flex; align-items: center; justify-content: flex-end;
    column-gap: 10px; }
.vd-total-val { font-size: 36px; font-weight: 800; color: var(--price-amber, #e08b1a); line-height: 1; letter-spacing: -1px; }
.vd-total-sub { font-size: 13px; color: var(--ink2, #4a4a4a); margin-top: 4px; text-align: right; }
/* CTA = .btn-book-now nativo: ombra ambra + lift all'hover */
.vd-cta { display: block; text-align: center; background: linear-gradient(135deg, var(--accent, #f5a623), var(--accent-hover, #e09000));
    color: #fff; font-weight: 800; border: 0; border-radius: 12px; padding: 12px 24px;
    text-decoration: none; font-size: 1rem; box-shadow: 0 4px 14px rgba(245, 166, 35, .45);
    transition: all .2s ease; }
.vd-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245, 166, 35, .55); }
.vd-cta--inline { display: inline-block; }
.vd-cta--submit { width: 100%; max-width: 420px; }
.vd-side-btn { display: flex; align-items: center; justify-content: center; gap: .5rem;
    border: 1.5px solid var(--primary, #1e3c72); color: var(--primary, #1e3c72); background: #fff;
    border-radius: 12px; padding: .6rem 1rem; font-weight: 700; font-size: .9rem; text-decoration: none;
    transition: background .2s, color .2s; }
.vd-side-btn:hover { background: var(--primary, #1e3c72); color: #fff; }
.vd-side-btn--wa { border-color: #25d366; color: #128c7e; }
.vd-side-btn--wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.vd-side-note { text-align: center; color: #778; font-size: .8rem; display: flex; align-items: center;
    justify-content: center; gap: .35rem; }

/* ---------- banda «Ti interessa?» ---------- */
.vd-interest { background: #eef1f6; border-radius: 16px; text-align: center;
    padding: 2rem 1.25rem; margin: 1.5rem 0; }
.vd-interest-title { font-size: 1.35rem; font-weight: 800; margin: 0 0 .3rem; color: var(--primary, #1e3c72); }
.vd-interest-sub { color: #556; margin: 0 0 1rem; }
.vd-interest-ctas { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.vd-interest .vd-side-btn { background: #fff; }
.vd-interest .vd-side-btn--tel { border-color: var(--cta-orange, #f5a623); color: var(--price-amber, #e08b1a); }
.vd-interest .vd-side-btn--tel:hover { background: var(--cta-orange, #f5a623); border-color: var(--cta-orange, #f5a623); color: #fff; }
.vd-interest .vd-side-btn--wa { border-color: #25d366; background: #25d366; color: #fff; }
.vd-interest .vd-side-btn--wa:hover { filter: brightness(.92); }

/* ---------- correlati ---------- */
.vd-relwrap { margin-bottom: 1.5rem; }
.vd-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 767px) { .vd-rel-grid { grid-template-columns: 1fr; } }
.vd-rel-card { background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none;
    box-shadow: 0 1px 4px rgba(30, 60, 114, .08); transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column; }
.vd-rel-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(30, 60, 114, .16); }
.vd-rel-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.vd-rel-body { padding: .8rem .95rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.vd-rel-name { font-weight: 700; color: #1a1a1a; font-size: .95rem; }
.vd-rel-meta { color: #667; font-size: .82rem; }
.vd-rel-price { color: var(--price-amber, #e08b1a); font-weight: 800; font-size: .92rem; margin-top: .25rem; }

/* ---------- form richiesta ---------- */
.vd-form-card { padding: 1.1rem; box-shadow: none; border: 1px solid #e3e8f0; }
.vd-form-summary { background: #f2f7ff; border: 1px solid #d6e4ff; color: #234; border-radius: 10px;
    padding: .6rem .8rem; font-size: .88rem; font-weight: 600; margin-bottom: .9rem; }
.vd-alt-link { color: #667; font-size: .88rem; margin: .9rem 0 0; }
.vd-cta-footer { text-align: center; }

/* ---------- esito inline «salva preventivo» (parità #quoteModal hotel) ---------- */
.vd-quote-success { text-align: center; padding: 1.5rem .5rem; }
.vd-quote-success[hidden] { display: none; }
.vd-quote-success .bi-check-circle-fill { font-size: 3.5rem; color: #1e8a4c; }
.vd-quote-success h3 { font-size: 1.3rem; font-weight: 800; color: #1a1a1a; margin: .75rem 0 1rem; }
.vd-quote-success-code { background: #f2f7ff; border-radius: 10px; padding: .75rem 1rem; margin: 0 0 .75rem;
    font-size: .95rem; color: #234; }
.vd-quote-success-code strong { color: var(--primary, #1e3c72); letter-spacing: .5px; }
.vd-quote-success-note { color: #667; font-size: .88rem; margin: 0; }


/* ---------- dock prenotazione mobile NAVY ----------
   Stessi colori/comportamento del dock della scheda nativa
   (hotel-detail.css "MOBILE booking dock NAVY", owner 2026-06-05):
   pannello navy gradient col prezzo bianco, Riepilogo ghost, Prenota
   lime, sheet bianco animato (max-height), notch che sparisce da
   aperto. Su mobile il box riepilogo inline e' nascosto: il dock e'
   l'unica UI prenota. */
/* Il popup "La tua partenza" (#vdPanelModal, Bootstrap z-index 1055) deve
   stare SOPRA questo dock quando è aperto, altrimenti il dock intercetta
   i tap sul suo bottone "Conferma selezione" in fondo al popup (owner
   03/08 sera: il bottone c'era ma era irraggiungibile su mobile, i tap
   arrivavano al "Riepilogo" del dock sotto). Bootstrap appende il
   backdrop a <body> (non come sibling diretto del modale, quindi niente
   selettore "+"): questo file è caricato solo sulla scheda viaggi, dove
   #vdPanelModal è l'unico modale — alzare .modal-backdrop qui non tocca
   altre pagine. */
#vdPanelModal { z-index: 1080; }
.modal-backdrop { z-index: 1075; }
.vd-dock { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1070;
    background: linear-gradient(135deg, #1e3c72 0%, #2a66c2 100%);
    border-radius: 18px 18px 0 0; overflow: hidden; max-height: 92vh;
    box-shadow: 0 -8px 32px rgba(26, 58, 92, .20);
    /* iOS Safari: compositor layer forzato, fixed stabile durante lo scroll */
    transform: translateZ(0); will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
@media (min-width: 992px) { .vd-dock, .vd-dock-backdrop { display: none !important; } }
@media (max-width: 991.98px) { body.vd-has-dock { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } }
.vd-dock-notch { display: block; width: 44px; height: 5px; border-radius: 3px;
    background: rgba(255, 255, 255, .45); margin: 9px auto 0; cursor: grab; }
.vd-dock.is-open .vd-dock-notch { display: none; }
.vd-dock-header { display: flex; align-items: center; gap: 10px;
    padding: 8px 20px calc(10px + env(safe-area-inset-bottom, 0px)) 14px; }
.vd-dock.is-open .vd-dock-header { display: none; }
.vd-dock-price { border: 0; background: none; text-align: left; padding: 0 0 0 6px; display: flex;
    flex-direction: column; line-height: 1.02; min-width: 0; margin-right: auto; cursor: pointer; }
.vd-dock-label { font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, .60);
    text-transform: uppercase; letter-spacing: .6px; }
.vd-dock-total { font-size: 25px; font-weight: 800; color: #fff; letter-spacing: -.5px; white-space: nowrap; }
.vd-dock-rie { display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    min-height: 41px; background: rgba(255, 255, 255, .12); color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 11px;
    padding: 0 12px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.vd-dock-cta { display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    min-height: 41px; background: linear-gradient(135deg, #a4c639 0%, #8fb02e 100%);
    color: #fff; border-radius: 11px; padding: 0 14px; font-size: 13px; font-weight: 800;
    text-decoration: none; white-space: nowrap;
    box-shadow: 0 6px 16px rgba(164, 198, 57, .45); }
.vd-dock-cta:hover { color: #fff; filter: brightness(1.04); }
.vd-dock-body { max-height: 0; overflow: hidden; background: #fff;
    transition: max-height .28s cubic-bezier(.4, 0, .2, 1); }
.vd-dock.is-open .vd-dock-body { max-height: 72vh; overflow-y: auto;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    padding: 0 14px calc(14px + env(safe-area-inset-bottom, 0px)); }
.vd-dock-body .vd-side-card { box-shadow: none; padding: 0; }
/* Banda del foglio = testata NAVY col «Chiudi» (mockup nativo, Image #2):
   vince anche sull'override lime [data-skin=hoe] della sidebar. */
.vd-dock-body .vd-side-head,
[data-skin="hoe"] .vd-dock-body .vd-side-head {
    background: linear-gradient(135deg, #1e3c72 0%, #2a66c2 100%);
    margin: 0 -14px .35rem; border-radius: 0; padding: .85rem 1rem;
    justify-content: flex-start; }
.vd-ms-close { margin-left: auto; border: 1.5px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .12); color: #fff; border-radius: 999px;
    padding: .25rem .7rem; font-size: .78rem; font-weight: 700;
    display: inline-flex; align-items: center; gap: .3rem; }
.vd-ms-name { color: var(--primary, #1e3c72); font-weight: 800; font-size: 1.15rem;
    margin: .5rem 0 .1rem; }
/* nel foglio: righe piane senza riquadro grigio (il JS toglie le icone,
   quindi via anche la colonna della griglia) */
.vd-dock-body .vd-side-rows { background: transparent; padding: 0; gap: .3rem; }
.vd-dock-body .vd-side-row { display: block; color: #1a1a1a; font-weight: 400; font-size: .95rem; }
.vd-dock-body .vd-side-total { border-top: 1px solid #ececf1;
    padding-top: .7rem; margin-top: .35rem; }
.vd-dock-body .vd-total-row { align-items: baseline; }
.vd-dock-body .vd-total-val { font-size: 1.7rem; }
.vd-ms-actions { display: flex; gap: .6rem; align-items: stretch; }
.vd-ms-actions .vd-side-btn { flex: 1; margin: 0; }
.vd-ms-iconbtn { flex: 0 0 48px; width: 48px; min-height: 44px; display: inline-flex;
    align-items: center; justify-content: center; border-radius: 12px; font-size: 1.15rem;
    padding: 0; }
.vd-ms-iconbtn.vd-side-duo-btn--call { background: var(--primary, #1e3c72); color: #fff; }
.vd-ms-iconbtn.vd-side-duo-btn--wa { background: #25d366; color: #fff; }
.vd-dock-backdrop { position: fixed; inset: 0; background: rgba(15, 38, 64, .45); z-index: 1060;
    opacity: 0; pointer-events: none; transition: opacity .28s; }
.vd-dock-backdrop.is-open { opacity: 1; pointer-events: auto; }
body.vd-dock-open { overflow: hidden; }
