/* SVBooking 1.8.0 – motore a 4 schede, pagine destinazione, risultati Charter / Low Cost.
   Usa le variabili del template Sharm Voyager quando ci sono (stesso stile del sito), con valori di riserva. */
.svp-sf { --p-ink: var(--svt-ink, #1B2433); --p-or: var(--svt-orange, #FD7A00); --p-sea: var(--svt-sea, #0B8DB5); --p-line: var(--svt-line, #D5E0E7); --p-muted: var(--svt-muted, #5C6B7A); }
.svp-sf.svt-sf { position: relative; margin: 0 0 1.5rem; border: 1px solid rgba(213, 224, 231, .9); border-radius: 24px; background: linear-gradient(180deg, #fff 0%, #F8FBFC 100%);
  box-shadow: 0 1px 2px rgba(10, 40, 60, .06), 0 10px 22px rgba(10, 40, 60, .10), 0 34px 70px -10px rgba(10, 40, 60, .22); }
.svp-sf .svp-tabs.svt-sf__tabs { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: .3rem; padding: .55rem .55rem 0; border-radius: 23px 23px 0 0;
  background: linear-gradient(115deg, #0A5F7E 0%, #0B8DB5 55%, #1AA6C9 100%); }
.svp-tab.svt-sf__tab { display: flex !important; align-items: center; justify-content: center; min-height: 48px; padding: .6rem .5rem .75rem !important; border-radius: 16px 16px 0 0;
  color: rgba(255, 255, 255, .95) !important; font: 700 .95rem/1.15 var(--svt-font-h, inherit) !important; text-align: center; text-decoration: none; background: transparent !important; border: 0 !important; }
.svp-tab.svt-sf__tab:hover, .svp-tab.svt-sf__tab:focus-visible { background: rgba(255, 255, 255, .14) !important; outline: none; }
.svp-tab.svt-sf__tab.is-on { position: relative; background: #fff !important; color: var(--p-ink) !important; box-shadow: 0 -4px 14px rgba(0, 30, 50, .16); }
.svp-tab.svt-sf__tab.is-on::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .4rem; height: 3px; border-radius: 3px; background: var(--p-or); }
.svp-tab.is-off:not(.is-on) { opacity: .62; }
.svp-form { padding: 1.2rem 1.4rem 1.1rem; }
.svp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; align-items: end; }
.svp-grid .svs-field { min-width: 0; position: relative; }
.svp-grid .svs-field[hidden] { display: none !important; }
.svp-grid label, .svp-grid .svs-label { display: block; margin-bottom: .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #4A5B6B; }
.svp-grid :is(select, input[type=date], .svp-pax-btn, .svp-fixed) { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 100%; min-height: 54px; padding: .6rem .85rem; border: 1.5px solid var(--p-line); border-radius: 14px; background: #F7FAFC; color: var(--p-ink); font: 600 .97rem/1.2 var(--svt-font, inherit); }
.svp-grid .svs-submit-field { grid-column: auto !important; padding-top: 0 !important; margin: 0 !important; }
.svp-sf .svp-grid select { padding-right: 2.2rem; background: #F7FAFC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%231B2433' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .8rem center / 14px 14px; }
.svp-grid input[type=date] { -webkit-appearance: auto; appearance: auto; }
.svp-fixed { display: flex; align-items: center; background: #EEF6F9 !important; }
.svp-pax-btn { text-align: left; cursor: pointer; }
.svp-grid :is(select, input, .svp-pax-btn):focus-visible { outline: none; border-color: var(--p-or); background: #fff; box-shadow: 0 0 0 4px rgba(253, 122, 0, .16); }
.svp-paxbox { position: absolute; z-index: 70; left: 0; top: 100%; min-width: 290px; margin-top: .4rem; padding: .9rem; border: 1px solid var(--p-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 44px rgba(10, 40, 60, .22); }
.svp-room { margin: 0 0 .7rem; padding: .6rem .7rem; border: 1px solid var(--p-line); border-radius: 12px; background: #F7FAFC; }
.svp-room legend { float: none; width: auto; margin: 0; padding: 0 .3rem; font-size: .8rem; font-weight: 700; }
.svp-room label { display: inline-flex; flex-direction: column; gap: .2rem; margin: 0 .6rem .4rem 0; font-size: .78rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
.svp-room select { min-height: 40px; padding: .3rem .5rem; border: 1px solid var(--p-line); border-radius: 10px; background: #fff; }
.svp-roombtns { display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; }
.svp-roombtns button { min-height: 40px; padding: .4rem .9rem; border: 1px solid var(--p-line); border-radius: 10px; background: #fff; font-weight: 700; cursor: pointer; }
.svp-roombtns .svp-ok { background: var(--p-ink); border-color: var(--p-ink); color: #fff; }
.svp-go.svs-submit { width: 100%; min-height: 54px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #FF9B3D 0%, #FD7A00 52%, #F06E00 100%); color: var(--p-ink); font: 800 1.02rem/1.1 var(--svt-font-h, inherit);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 0 #CF5F00, 0 10px 22px rgba(253, 122, 0, .3); cursor: pointer; }
.svp-sf .svp-go.svs-submit { padding: .5rem .7rem !important; white-space: normal !important; line-height: 1.15 !important; font-size: .98rem !important; text-align: center; }
.svp-go.svs-submit:disabled { filter: grayscale(.9); opacity: .55; cursor: not-allowed; box-shadow: none; }
.svp-note { min-height: 1.2em; margin: .7rem 0 0; font-size: .85rem; color: #08698A; }
.svp-note.is-err { color: #B42318; font-weight: 600; }
@media (min-width: 992px) {
  .svp-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.15fr); }
  .svp-sf[data-mode="hotel"] .svp-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); }
  .svp-sf[data-mode="exc"] .svp-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .svp-sf .svp-tabs.svt-sf__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; padding: .45rem .45rem 0 !important; }
  .svp-sf .svp-tab.svt-sf__tab { min-height: 46px; font-size: .86rem !important; border-radius: 12px !important; margin-bottom: .3rem; white-space: normal !important; }
  .svp-tab.svt-sf__tab.is-on::after { bottom: .25rem; }
  .svp-form { padding: 1rem .9rem; }
  .svp-grid { grid-template-columns: minmax(0, 1fr); }
  .svp-paxbox { position: fixed; left: .6rem; right: .6rem; top: auto; bottom: .6rem; min-width: 0; max-height: 75vh; overflow: auto; }
}

/* ------------------------------------------------ destination page */
.svp-wrap { width: min(100% - 2rem, var(--svt-wrap, 1240px)); margin-inline: auto; }
.svp-dest .svp-wrap, .svp-vac .svp-wrap { margin-bottom: 2.4rem; }
.svp-previewbar { margin: 0 0 1rem; padding: .7rem 1rem; border: 1px dashed #B54708; border-radius: 12px; background: #FFF6ED; color: #7A2E0E; font-size: .9rem; }
.svp-hero { display: flex; align-items: flex-end; min-height: clamp(300px, 46vh, 460px); margin-bottom: -3rem; padding: 4rem 0 5rem; background: #0A5F7E center / cover no-repeat; color: #fff; }
.svp-hero .svp-wrap { margin-bottom: 0; }
.svp-kicker { margin: 0 0 .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.svp-dest .svp-hero h1.svp-hero__title { margin: 0 0 .7rem; color: #fff !important; font: 800 clamp(2rem, 5vw, 3.3rem)/1.05 var(--svt-font-h, inherit); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.svp-hero__intro { max-width: 760px; margin: 0; font-size: 1.07rem; line-height: 1.55; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.svp-search { position: relative; z-index: 3; }
.svp-h { margin: 0 0 1rem; font: 800 clamp(1.3rem, 2.4vw, 1.75rem)/1.2 var(--svt-font-h, inherit); color: var(--svt-ink, #1B2433); }
.svp-h1 { margin: 1.2rem 0 1rem; font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.15 var(--svt-font-h, inherit); }
.svp-facts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; margin: 0; }
.svp-facts__grid div { padding: .85rem 1rem; border: 1px solid #E4E6EA; border-radius: 14px; background: #fff; }
.svp-facts__grid dt { margin-bottom: .2rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0B8DB5; }
.svp-facts__grid dd { margin: 0; font-size: .95rem; line-height: 1.4; }
.svp-flag { margin-top: .6rem; color: #B54708; font-size: .85rem; font-weight: 600; }
.svp-sim { display: inline-block; margin-left: .4rem; padding: .15rem .55rem; border-radius: 999px; background: #FEF0C7; color: #93370D; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.svp-small { font-size: .85rem; color: #5C6B7A; }
.svp-hgrid, .svp-showgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.svp-hcard, .svp-showcard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #E4E6EA; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(38, 42, 48, .05), 0 10px 30px rgba(38, 42, 48, .07); color: inherit; text-decoration: none; }
.svp-hcard__img, .svp-showcard__img { display: block; aspect-ratio: 16 / 10; background: #E5F4F9 center / cover no-repeat; }
.svp-hcard__body, .svp-showcard__body { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem 1.05rem; }
.svp-hcard h3 { margin: 0; font: 700 1.05rem/1.3 var(--svt-font-h, inherit); }
.svp-hcard h3 a { color: inherit; text-decoration: none; }
.svp-hcard p { margin: 0; }
.svp-stars { color: #FD7A00; letter-spacing: .08em; }
.svp-price { margin-top: auto; }
.svp-price strong { font-size: 1.15rem; color: var(--svt-ink, #1B2433); }
.svp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.1rem; border: 0; border-radius: 12px; background: var(--svt-orange, #FD7A00); color: #1B2433; font-weight: 800; text-decoration: none; cursor: pointer; }
.svp-btn--ghost { background: #fff; border: 1.5px solid #1B2433; }
.svp-btn:disabled { opacity: .6; cursor: wait; }
.svp-info > * { max-width: 900px; }

/* ------------------------------------------------ results */
.svp-res.is-loading .svp-status::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: .5rem; border: 2px solid #0B8DB5; border-right-color: transparent; border-radius: 50%; animation: svp-spin .8s linear infinite; vertical-align: -2px; }
@keyframes svp-spin { to { transform: rotate(360deg); } }
.svp-status { font-weight: 600; }
.svp-flight { margin: 0 0 1.2rem; padding: 1rem 1.1rem; border: 1px solid #CDE7F0; border-radius: 16px; background: #F2FAFD; }
.svp-flight .svp-h { font-size: 1.1rem; margin-bottom: .5rem; }
.svp-warn { margin: 0; color: #93370D; font-weight: 600; }
.svp-results { display: grid; gap: 1rem; }
.svp-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); overflow: hidden; border: 1px solid #E4E6EA; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(38, 42, 48, .07); }
.svp-card__img { min-height: 180px; background: #E5F4F9 center / cover no-repeat; }
.svp-card__body { padding: 1rem 1.1rem; }
.svp-card h3 { margin: 0 0 .2rem; font: 700 1.12rem/1.3 var(--svt-font-h, inherit); }
.svp-card h3 a { color: inherit; text-decoration: none; }
.svp-offer { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-top: 1px solid #EEF0F3; }
.svp-offer .svp-price { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; min-width: 190px; text-align: right; }
.svp-av { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.svp-av--ok { background: #DCFAE6; color: #085D3A; }
.svp-av--rq { background: #FEF0C7; color: #93370D; }
.svp-av--tbc { background: #EEF0F3; color: #344054; }
.svp-check { font-size: .82rem; color: #08698A; max-width: 260px; }
.svp-disc { margin-top: 1.2rem; }
@media (max-width: 767.98px) {
  .svp-card { grid-template-columns: minmax(0, 1fr); }
  .svp-card__img { min-height: 160px; }
  .svp-offer { flex-direction: column; }
  .svp-offer .svp-price { align-items: stretch; text-align: left; min-width: 0; }
  .svp-hero { margin-bottom: -2rem; padding: 3rem 0 4rem; }
}

/* ------------------------------------------------ 1.8.1 offer page */
.svp-offer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-top: 1rem; }
.svp-tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.svp-tbl th, .svp-tbl td { padding: .55rem .5rem; border-bottom: 1px solid #E4E6EA; text-align: left; vertical-align: top; }
.svp-tbl th { width: 30%; font-weight: 600; color: #4A5B6B; }
.svp-tbl td.r { text-align: right; white-space: nowrap; }
.svp-total td { font-weight: 800; font-size: 1.12rem; border-bottom: 0; }
.svp-h3 { margin: 1.2rem 0 .4rem; font: 700 1.02rem/1.3 var(--svt-font-h, inherit); }
.svp-list { margin: 0; padding-left: 1.2rem; }
.svp-list--no li::marker { content: "✕  "; color: #B42318; }
.svp-pricebox { position: sticky; top: 90px; padding: 1.1rem; border: 1px solid #E4E6EA; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(38, 42, 48, .08); }
.svp-pricebox .svp-btn { display: flex; width: 100%; margin-top: .6rem; }
.svp-notes { padding-left: 1rem; }
.svp-accept { margin: 1rem 0; padding: 1rem 1.1rem; border: 2px solid #F79009; border-radius: 16px; background: #FFFAEB; }
.svp-check-row { display: flex; gap: .5rem; align-items: center; margin: .4rem 0 .8rem; font-weight: 600; }
.svp-check-row input { width: 22px; height: 22px; }
@media (max-width: 860px) { .svp-offer-grid { grid-template-columns: minmax(0, 1fr); } .svp-pricebox { position: static; } .svp-tbl th { width: 38%; } }

/* 1.8.2 – optional services on the offer page */
.svp-opts{display:flex;flex-direction:column;gap:.45rem;margin:.4rem 0 1rem}
.svp-opt{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:.6rem;padding:.55rem .7rem;border:1px solid #d9e6ec;border-radius:10px;background:#fff;line-height:1.35}
.svp-opt input{width:1.1rem;height:1.1rem;flex:0 0 auto;margin-top:.15rem}
.svp-opt>span{flex:1 1 auto;min-width:0}
div.svp-opt{flex-wrap:wrap;align-items:center}
.svp-opt select{padding:.2rem .4rem;border:1px solid #c9d6dc;border-radius:6px}
.svp-opt.is-off{opacity:.55}
.svp-opts .svp-btn{align-self:flex-start}
@media (max-width:640px){.svp-opt{font-size:.95rem}.svp-opts .svp-btn{width:100%}}
.svp-opt strong{white-space:nowrap}

/* 1.8.5 – «Altre soluzioni di viaggio» e riga del bagaglio */
.svp-alts{margin-top:.6rem;border-top:1px solid #e6e1d6;padding-top:.5rem}
.svp-alts>summary{cursor:pointer;font-weight:600;color:#384C6A;padding:.3rem 0}
.svp-alts>summary:focus-visible{outline:2px solid #FD7A00;outline-offset:2px}
.svp-bag{color:#384C6A}

/* 1.8.5 – calendario delle partenze (solo esiti verificati) */
.svp-cal{margin:.6rem 0;padding:.6rem;border:1px solid #e6e1d6;border-radius:10px;background:#fff;max-width:520px}
.svp-cal__head{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:.4rem}
.svp-cal__head strong{flex:1;text-align:center;text-transform:capitalize;color:#384C6A}
.svp-cal__nav{border:1px solid #d8d2c4;background:#fff;border-radius:6px;min-width:2.2rem;min-height:2.2rem;font-size:1.1rem;cursor:pointer}
.svp-cal__nav:disabled{opacity:.35;cursor:default}
.svp-cal__nights{font-size:.85rem}
.svp-cal__grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.svp-cal__wd{font-size:.75rem;text-align:center;color:#6b6b6b}
.svp-cal__d{display:flex;align-items:center;justify-content:center;min-height:2.4rem;border-radius:6px;font-size:.9rem;border:1px solid transparent}
button.svp-cal__d{cursor:pointer;background:#fff}
button.svp-cal__d:focus-visible{outline:2px solid #FD7A00;outline-offset:1px}
.svp-cal__d--ok{background:#e5f4e4!important;border-color:#7cc47a;color:#1d5e1b;font-weight:600}
.svp-cal__d--rq{background:#f9eeda!important;border-color:#e2b45a;color:#7a5410}
.svp-cal__d--tbc{background:#fff!important;border:1px dashed #b9b2a3;color:#384C6A}
.svp-cal__d--err{background:#fff7f5!important;border:1px dashed #c0563f;color:#8a3a28}
.svp-cal__d--dep{background:#eef4fb!important;border:1px solid #8fb2d9;color:#1d2b44}
.svp-cal__d--sim{background:repeating-linear-gradient(135deg,#fff,#fff 4px,#f0efec 4px,#f0efec 8px)!important;border:1px dashed #9a9384;color:#5c5649}
.svp-cal__d--no{background:#f3f1ed;color:#b0a99b;text-decoration:line-through}
.svp-cal__d--off{color:#cfc9bd}
.svp-cal__d.is-on{outline:3px solid #FD7A00;outline-offset:-1px}
.svp-cal__legend{display:flex;flex-wrap:wrap;gap:.3rem .7rem;align-items:center;margin-top:.5rem}
.svp-cal__k{display:inline-block;width:1rem;height:1rem;min-height:0;border-radius:3px;vertical-align:middle}
@media (max-width:480px){.svp-cal{padding:.4rem}.svp-cal__d{min-height:2.6rem}}

/* ------------------------------------------------ 1.8.6 logo BaoBab sulle strutture in esclusiva (sovrapposto, foto originale intatta) */
.svp-card__img { position: relative; }
.svp-excl { position: absolute; left: .6rem; top: .6rem; display: inline-flex; align-items: center; padding: .35rem .55rem; background: rgba(255,255,255,.94);
  border-radius: 10px; box-shadow: 0 2px 8px rgba(16,24,40,.18); }
.svp-excl img { display: block; height: 30px; width: auto; max-width: 130px; }
.svp-excl--title { position: static; margin-left: .5rem; vertical-align: middle; box-shadow: none; border: 1px solid #E4E7EC; }
.svp-excl--title img { height: 26px; }
@media (max-width: 640px) { .svp-excl img { height: 26px; } }

/* ------------------------------------------------ 1.8.9-h2 strutture senza foto: niente riquadro vuoto (logo esclusiva in linea) */
.svp-card:has(> .svp-card__img:not([style])) { grid-template-columns: minmax(0, 1fr); }
.svp-card__img:not([style]) { min-height: 0; background: none; }
.svp-card__img:not([style]):empty { display: none; }
.svp-card__img:not([style]) .svp-excl { position: static; margin: .9rem 0 0 1.1rem; box-shadow: none; border: 1px solid #E4E7EC; }
