/* ==========================================================================
   Tour details page redesign (single to_book) — v2.9.0
   ========================================================================== */
body.single-to_book{--gs-o:#d96a3c;--gs-o2:#e8895a;--gs-navy:#1c2340;--gs-ink:#2b3150;--gs-mute:#6b7280;--gs-line:#ece7e2;--gs-soft:#faf6f2}

/* ---- Hero ---- */
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(1){
  position:relative;background-color:var(--gs-navy)!important;background-size:cover!important;background-position:center!important;
  min-height:380px;display:flex;align-items:flex-end;padding:0 0 90px!important;overflow:hidden}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(1)::before{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,24,48,.35) 0%,rgba(18,24,48,.78) 100%);z-index:0}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(1) > .elementor-container{position:relative;z-index:1;width:100%}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(1) .elementor-heading-title,
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(1) h1{
  color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.35)!important;font-size:clamp(28px,4vw,46px)!important;line-height:1.15!important;max-width:880px}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(1) .elementor-widget-babe-item-slideshow{position:absolute;right:20px;bottom:-60px;z-index:2}
body.single-to_book .booking_tab_gallery_inner .tab-gallery{background:rgba(255,255,255,.95)!important;color:var(--gs-navy)!important;border-radius:999px!important;padding:10px 18px!important;font-weight:700;box-shadow:0 6px 20px rgba(0,0,0,.18)}

/* ---- Quick facts strip: floating card ---- */
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(2){
  background:transparent!important;margin-top:-60px;position:relative;z-index:3;padding:0!important}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(2) > .elementor-container{
  background:#fff;border-radius:22px;box-shadow:0 18px 50px rgba(18,24,48,.14);padding:22px 10px}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(2) .elementor-widget-wrap{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0;align-items:center;padding:0!important}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(2) .elementor-widget-wrap > .elementor-element{
  width:auto!important;max-width:none!important;margin:0!important;padding:6px 18px;position:relative;min-width:0}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(2) .elementor-widget-wrap > .elementor-element:not(:has(.meta-field-inner,.item_info_price)){display:none}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(2) .elementor-widget-wrap > .elementor-element + .elementor-element::before{
  content:"";position:absolute;left:0;top:12%;bottom:12%;width:1px;background:var(--gs-line)}
body.single-to_book .meta-field-inner{display:flex!important;align-items:center;gap:12px}
body.single-to_book .meta-field-inner .item_icon{flex:0 0 auto;font-size:26px;color:var(--gs-o)}
body.single-to_book .meta-field-inner .item_info{display:flex;flex-direction:column;gap:2px}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(2) .babe-section-title{
  margin:0!important;font-size:11px!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase;color:#8a8f98!important}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(2) .item-meta-value,
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(2) .item_info_price_new{
  font-size:17px!important;font-weight:700!important;color:var(--gs-navy)!important}
body.single-to_book .item_info_price label{font-size:12px;color:#8a8f98;margin-right:4px}

/* ---- Main column ---- */
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(3){padding-top:36px}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) .elementor-heading-title.elementor-size-default,
body.single-to_book .elementor-widget-babe-item-steps h2.elementor-heading-title{
  position:relative;color:var(--gs-navy)!important;font-size:28px!important;font-weight:800!important;padding-left:18px;margin:0 0 6px}
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) .elementor-widget-heading .elementor-heading-title::before,
body.single-to_book .elementor-widget-babe-item-steps h2.elementor-heading-title::before{
  content:"";position:absolute;left:0;top:.18em;bottom:.18em;width:5px;border-radius:5px;background:linear-gradient(180deg,var(--gs-o2),var(--gs-o))}
body.single-to_book .triply-single-content{font-size:17px;line-height:1.8;color:var(--gs-ink)}
body.single-to_book .triply-single-content > p:first-child{font-size:15px;color:var(--gs-o);font-weight:700;letter-spacing:.02em;margin-bottom:14px}
body.single-to_book .gs-related,body.single-to_book .gs-readbefore{background:var(--gs-soft);border:1px solid var(--gs-line);border-radius:18px;padding:20px 24px}

/* ---- Included / Excluded ---- */
body.single-to_book .elementor-widget-babe-item-included .elementor-list-items{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:10px 28px}
body.single-to_book .elementor-widget-babe-item-included .list-item{display:flex;gap:10px;align-items:flex-start;font-size:15.5px;line-height:1.5;color:var(--gs-ink)}
body.single-to_book .elementor-widget-babe-item-included .item_icon{color:#2f9e63;font-size:17px;margin-top:2px}
body.single-to_book .elementor-widget-babe-item-included + .elementor-widget-babe-item-included .item_icon{color:#d64545}
@media(max-width:700px){body.single-to_book .elementor-widget-babe-item-included .elementor-list-items{grid-template-columns:1fr}}

/* ---- Itinerary ---- */
body.single-to_book .elementor-widget-babe-item-steps .block_step{
  background:#fff;border:1px solid var(--gs-line);border-radius:16px;margin:0 0 12px;overflow:hidden;transition:box-shadow .2s,border-color .2s}
body.single-to_book .elementor-widget-babe-item-steps .block_step:hover{box-shadow:0 10px 28px rgba(18,24,48,.08);border-color:#f0d9cc}
body.single-to_book .elementor-widget-babe-item-steps .block_step_title{background:transparent!important;padding:18px 22px!important;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer}
body.single-to_book .elementor-widget-babe-item-steps .step_title{margin:0!important;font-size:16.5px!important;font-weight:700!important;color:var(--gs-navy)!important;display:flex;gap:12px;align-items:center}
body.single-to_book .elementor-widget-babe-item-steps .step_title .item_icon{color:var(--gs-o)}
body.single-to_book .elementor-widget-babe-item-steps .step_icon{width:34px;height:34px;border-radius:50%;background:var(--gs-soft);display:grid;place-items:center;color:var(--gs-o);flex:0 0 auto}
body.single-to_book .elementor-widget-babe-item-steps .block_step_content{padding:0 22px!important;font-size:16px;line-height:1.75;color:var(--gs-ink)}
body.single-to_book .elementor-widget-babe-item-steps .block_step_content .content{padding:0 0 20px}
body.single-to_book .elementor-widget-babe-item-steps .block_step_title{min-height:0!important;height:auto!important}

/* ---- Booking card (sidebar) ---- */
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(3) .elementor-column:last-child > .elementor-widget-wrap{align-content:flex-start}
body.single-to_book .elementor-widget-babe-booking-form{position:sticky;top:104px;z-index:5;width:100%!important;max-width:100%!important}
@media(min-width:992px){
  body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(3) > .elementor-container{align-items:flex-start;gap:0}
  body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(3) .elementor-column:first-child{width:calc(100% - 450px)!important;flex:0 0 calc(100% - 450px)}
  body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(3) .elementor-column:last-child{width:450px!important;flex:0 0 450px;padding-left:20px}
}
body.single-to_book .elementor-widget-babe-booking-form > .elementor-widget-container{
  background:#fff;border:1px solid var(--gs-line);border-radius:22px;box-shadow:0 22px 60px rgba(18,24,48,.12);padding:6px;border-top:5px solid var(--gs-o)}
body.single-to_book .elementor-widget-babe-booking-form .btn,
body.single-to_book .elementor-widget-babe-booking-form button[type=submit]{
  width:100%;border-radius:999px!important;background:linear-gradient(135deg,var(--gs-o2),var(--gs-o))!important;border:0!important;font-weight:700;padding:15px 24px!important;box-shadow:0 10px 24px rgba(217,106,60,.35)}
body.single-to_book .elementor-widget-babe-booking-form input,
body.single-to_book .elementor-widget-babe-booking-form select{border-radius:12px!important}

/* ---- Last minute deals ---- */

/* ---- Hide stray duplicate excerpt block (Item Code / price) ---- */
body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) .elementor-widget-theme-post-excerpt{display:none}

/* ---- Mobile ---- */
@media(max-width:900px){
  body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(2) > .elementor-container{flex-wrap:wrap}
  body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(2) .elementor-widget{flex:1 1 45%}
  body.single-to_book .elementor-widget-babe-booking-form{position:static}
  body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(1){min-height:300px;padding-bottom:80px!important}
}

/* ---- Booking form: remove nested boxes, give fields room ---- */
body.single-to_book .triply-booking-form-wrapper{padding:0 6px!important;box-shadow:none!important;border:0!important;background:transparent!important;border-radius:0!important}
body.single-to_book .triply-booking-form{padding:22px 14px!important;box-shadow:none!important;border:0!important;background:transparent!important}
@media(min-width:992px){
  body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(3) .elementor-column:last-child{padding-left:24px!important}
  body.single-to_book :is(.elementor-location-single,.gs-np-single>.elementor) > .elementor-section:nth-child(3) .elementor-column:last-child > .elementor-widget-wrap{padding-left:0!important}
}
/* full-width included / excluded lists */
body.single-to_book .elementor-widget-babe-item-included{width:100%!important;max-width:100%!important}

/* ---- Brand colours for the booking summary, spacing tweaks ---- */
body.single-to_book .triply-booking-form .booking-summary{background:linear-gradient(135deg,#1c2340,#2b3a6b)!important;border-radius:16px!important}
body.single-to_book .elementor-widget-babe-item-steps h2.elementor-heading-title{margin-bottom:18px!important}
body.single-to_book .elementor-widget-babe-item-included .elementor-list-items{padding:0!important;margin:0 0 8px!important}

/* ---- Tighter dividers ---- */
body.single-to_book .elementor-widget-divider--view-line .elementor-divider{padding-top:18px!important;padding-bottom:18px!important}
body.single-to_book .elementor-widget-divider--view-line{margin-bottom:0!important}

/* ---- Last Minute Deals: one clean card, thumbnail + 2-line title + price ---- */
body.single-to_book .elementor-widget-babe-item-other{border:0!important;background:transparent!important;border-radius:0!important;padding:0!important}
body.single-to_book .elementor-widget-babe-item-other .row{display:flex!important;flex-direction:column;gap:0!important}
body.single-to_book .elementor-widget-babe-item-other .column-item{width:100%!important;max-width:100%!important;flex:none!important;padding:14px 0!important;margin:0!important;border-bottom:1px solid #f1ece7;height:auto!important}
body.single-to_book .elementor-widget-babe-item-other .column-item:last-child{border-bottom:0}
body.single-to_book .elementor-widget-babe-item-other .babe_all_items_item_inner{display:flex!important;align-items:center;gap:14px;width:100%!important;height:auto!important}
body.single-to_book .elementor-widget-babe-item-other .item_img{flex:0 0 92px;width:92px!important;height:72px!important;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#fdeee6,#f6e3d6);margin:0!important}
body.single-to_book .elementor-widget-babe-item-other .item_img a,body.single-to_book .elementor-widget-babe-item-other .item_img img{display:block;width:100%!important;height:100%!important;object-fit:cover}
body.single-to_book .elementor-widget-babe-item-other .item_text{flex:1 1 auto;min-width:0;width:auto!important}
body.single-to_book .elementor-widget-babe-item-other .item-meta{width:auto!important;display:flex;flex-direction:column;gap:6px}
body.single-to_book .elementor-widget-babe-item-other .item_title,
body.single-to_book .elementor-widget-babe-item-other .item_title a{display:block!important;width:auto!important;height:auto!important;max-height:2.75em!important;overflow:hidden!important;white-space:normal!important;text-overflow:clip!important;font-size:15px!important;font-weight:600!important;line-height:1.35!important;color:#1c2340!important}
body.single-to_book .elementor-widget-babe-item-other .item_info_price{width:auto!important;height:auto!important;font-size:17px;font-weight:800}
body.single-to_book .elementor-widget-babe-item-other .item_info_price *{color:#d96a3c!important}
