/* Visite Maroc single tours — draft v2 */
body.single-tour .row:has(>.section-tour-content){display:block!important;width:min(1440px,96%)!important;max-width:none!important;margin:0 auto!important;padding:0!important}
body.single-tour .section-tour-content{display:block!important;float:none!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
body.single-tour #secondary.right-sidebar{display:none!important}
body.single-tour .vm-tour-redesign-head{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:22px 0 20px}
body.single-tour .vm-tour-redesign-meta{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:24px!important;width:100%!important;flex-wrap:nowrap!important}
body.single-tour .vm-tour-title-group{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important;min-width:0!important;flex:1 1 auto!important}
body.single-tour .vm-tour-title-group h1{line-height:1.1!important;letter-spacing:0em!important;max-width:740px!important;margin:0!important;color:#252525!important;font-family:'TidioInter',sans-serif!important;font-size:20px!important;font-weight:500!important}
body.single-tour .vm-tour-title-group .address{display:block!important;margin:0!important;padding:0!important;line-height:1.25!important;font-family:'TidioInter',sans-serif!important;font-size:14px!important}
body.single-tour .vm-tour-price-group{flex:0 0 auto!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:0!important;text-align:right!important;white-space:nowrap!important}
body.single-tour .vm-tour-price-group .item_price{display:block!important;margin:0!important;padding:0!important;line-height:1.1!important;font-size:24px!important}
body.single-tour .vm-tour-price-note{display:block!important;margin:0!important;padding:0!important;font-family:'TidioInter',sans-serif!important;font-size:13px!important;line-height:1.25!important;color:#666!important}

body.single-tour .vm-tour-redesign-meta h1{font-weight:500!important;font-family:'TidioInter',sans-serif!important;font-size:20px!important;line-height:1.1!important;letter-spacing:0em!important;max-width:740px!important;margin:0!important;color:#252525!important}
body.single-tour .vm-tour-redesign-meta .address{font-size:14px!important;color:#726459!important;max-width:260px}
body.single-tour .vm-tour-redesign-meta .item_price{font-size:25px!important;color:#252525!important;margin:0!important;white-space:nowrap}
body.single-tour .vm-tour-pre-gallery{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:14px!important;margin:10px 0 16px!important}
body.single-tour .vm-gallery-desktop,body.single-tour .vm-gallery-mosaic,body.single-tour .vm-mobile-gallery{width:100%!important;max-width:none!important;float:none!important}
body.single-tour .vm-tour-body-layout{display:grid!important;grid-template-columns:minmax(195px,225px) minmax(0,1fr)!important;gap:38px!important;align-items:start!important;clear:both!important;width:100%!important;max-width:none!important;margin:28px 0 0!important;position:relative!important}
body.single-tour .vm-tour-nav-column{min-width:0!important;width:100%!important;position:sticky!important;top:98px!important;align-self:start!important;z-index:25!important}
body.single-tour .vm-tour-nav-column nav.inner-nav{display:block!important;position:static!important;transform:none!important;float:none!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;background:transparent!important;box-shadow:none!important;border:0!important}
body.single-tour .vm-tour-nav-column nav.inner-nav ul{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;list-style:none!important;float:none!important;background:transparent!important;overflow:auto!important;max-height:calc(100svh - 115px)!important}
body.single-tour .vm-tour-nav-column nav.inner-nav li{display:block!important;float:none!important;position:static!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.single-tour .vm-tour-nav-column nav.inner-nav li a{display:block!important;width:100%!important;box-sizing:border-box!important;text-align:left!important;border:1px solid transparent!important;border-radius:7px!important;padding:11px 15px!important;margin:0!important;color:#41444a!important;font:500 14px/1.4 Arial,sans-serif!important;white-space:normal!important;background:transparent!important;text-transform:none!important;box-shadow:none!important}
body.single-tour .vm-tour-nav-column nav.inner-nav li.active a,body.single-tour .vm-tour-nav-column nav.inner-nav li a.vm-nav-active,body.single-tour .vm-tour-nav-column nav.inner-nav li a:hover{background:#e6f2ff!important;color:#2376c0!important;font-weight:600!important}
body.single-tour .vm-tour-nav-column nav.inner-nav li:after,body.single-tour .vm-tour-nav-column nav.inner-nav a:after{display:none!important}
body.single-tour .vm-tour-body-content{display:block!important;float:none!important;min-width:0!important;width:100%!important;max-width:none!important;overflow:visible!important}
body.single-tour .vm-tour-body-content>section.tab-content{display:block!important;clear:both!important;float:none!important;position:relative!important;inset:auto!important;opacity:1!important;visibility:visible!important;transform:none!important;min-width:0!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0 0 36px!important;padding:0 0 34px!important;border-bottom:1px solid #eee!important;scroll-margin-top:115px!important;box-sizing:border-box!important}
body.single-tour .vm-tour-body-content>section.tab-content>article,body.single-tour .vm-tour-body-content>section.tab-content .description,body.single-tour .vm-tour-body-content>section.tab-content .text-wrap{width:100%!important;max-width:none!important;float:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
body.single-tour .vm-tour-body-content .vm-map-itinerary{width:100%!important;max-width:none!important;min-width:0!important}
body.single-tour .vm-tour-body-content .vm-map-itinerary-list{min-width:0!important;overflow-wrap:normal!important;word-break:normal!important}
body.single-tour .vm-tour-body-content .vm-map-itinerary-list *{word-break:normal!important}
body.single-tour .vm-tour-body-content>section.tab-content h2{font-size:26px!important;font-weight:600!important}
body.single-tour .vm-tour-sticky-cta{display:none!important}
body.single-tour .header,body.single-tour #header{position:sticky!important;top:0!important;z-index:999!important}
@media(max-width:900px){body.single-tour .vm-tour-body-layout{grid-template-columns:180px minmax(0,1fr)!important;gap:20px!important}body.single-tour .vm-tour-redesign-meta{gap:12px}}
@media(max-width:700px){body.single-tour .row:has(>.section-tour-content){width:100%!important;padding:0 15px!important;box-sizing:border-box!important}body.single-tour .vm-tour-body-layout{display:block!important}body.single-tour .vm-tour-nav-column{position:sticky!important;top:64px!important;margin-bottom:22px!important;background:#fff!important}body.single-tour .vm-tour-nav-column nav.inner-nav ul{flex-direction:row!important;max-height:none!important;white-space:nowrap!important;overflow-x:auto!important}body.single-tour .vm-tour-nav-column nav.inner-nav li{width:auto!important;flex:0 0 auto!important}body.single-tour .vm-tour-nav-column nav.inner-nav li a{white-space:nowrap!important}body.single-tour .vm-tour-redesign-meta{display:block!important}body.single-tour .vm-tour-redesign-meta>*{display:block!important;margin-bottom:8px!important}}


/* v3: compact vertical nav matching selected blue tabs reference */
@media(min-width:701px){
body.single-tour .vm-tour-body-layout{grid-template-columns:250px minmax(0,1fr)!important;gap:38px!important}
body.single-tour .vm-tour-nav-column{height:auto!important;max-height:none!important;overflow:visible!important;align-self:start!important}
body.single-tour .vm-tour-nav-column nav.inner-nav{height:auto!important;max-height:none!important;overflow:visible!important;display:block!important;min-height:unset!important}
body.single-tour .vm-tour-nav-column nav.inner-nav ul{height:auto!important;max-height:calc(100svh - 125px)!important;overflow-y:auto!important;overflow-x:hidden!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;white-space:normal!important}
}
body.single-tour .vm-tour-nav-column nav.inner-nav ul li{height:auto!important;min-height:42px!important;line-height:normal!important;overflow:visible!important;flex:0 0 auto!important;position:relative!important;}
body.single-tour .vm-tour-nav-column nav.inner-nav ul li a{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;min-height:42px!important;height:auto!important;line-height:1.35!important;white-space:normal!important;overflow:visible!important;padding:10px 12px!important;border:1px solid transparent!important;border-radius:7px!important;box-sizing:border-box!important;text-indent:0!important;letter-spacing:normal!important;font-size:15px!important;text-decoration:none!important;background:transparent!important;color:#4b4b4b!important;}
body.single-tour .vm-tour-nav-column nav.inner-nav ul li a .material-icons,body.single-tour .vm-tour-nav-column nav.inner-nav ul li a i,body.single-tour .vm-tour-nav-column nav.inner-nav ul li a svg{position:static!important;display:inline-flex!important;flex:0 0 21px!important;width:21px!important;height:21px!important;min-width:21px!important;line-height:21px!important;vertical-align:middle!important;color:#8abde1!important;font-size:19px!important;margin:0!important;transform:none!important}
body.single-tour .vm-tour-nav-column nav.inner-nav li.active>a,body.single-tour .vm-tour-nav-column nav.inner-nav li a.vm-nav-active{background:#e3f0ff!important;color:#2479c7!important;font-weight:600!important;border-color:transparent!important;box-shadow:none!important}
body.single-tour .vm-tour-nav-column nav.inner-nav li.active>a .material-icons,body.single-tour .vm-tour-nav-column nav.inner-nav li a.vm-nav-active .material-icons{color:#2479c7!important}
body.single-tour .vm-tour-nav-column nav.inner-nav ul li a:before,body.single-tour .vm-tour-nav-column nav.inner-nav ul li:before{display:none!important}


/* Dedicated sidebar navigation — isolated from BookYourTravel top tab bar */
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs{position:static!important;float:none!important;display:block!important;background:#fff!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;transform:none!important}
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs ul{display:flex!important;flex-direction:column!important;align-items:stretch!important;list-style:none!important;width:100%!important;height:auto!important;max-height:calc(100svh - 115px)!important;overflow-y:auto!important;overflow-x:hidden!important;margin:0!important;padding:0!important;gap:4px!important;background:transparent!important}
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs li{position:static!important;display:block!important;float:none!important;flex:none!important;width:100%!important;height:auto!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important}
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs a{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-direction:row!important;gap:12px!important;box-sizing:border-box!important;width:100%!important;min-height:44px!important;height:auto!important;padding:11px 13px!important;border:0!important;border-radius:7px!important;color:#50535a!important;background:transparent!important;text-decoration:none!important;text-align:left!important;font:500 15px/1.35 Arial,sans-serif!important;white-space:normal!important;opacity:1!important;visibility:visible!important}
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs svg{display:block!important;flex:0 0 21px!important;width:21px!important;height:21px!important;color:#8fbadc!important;position:static!important;transform:none!important}
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs span{display:block!important;flex:1 1 auto!important;min-width:0!important;position:static!important;line-height:1.35!important}
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs li.active a,body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs a.vm-nav-active{background:#e4f1ff!important;color:#247cbd!important;font-weight:600!important}
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs li.active svg,body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs a.vm-nav-active svg{color:#247cbd!important}
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs li a:hover{background:#f0f7ff!important}
@media(max-width:700px){body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs ul{flex-direction:row!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important}body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs li{width:auto!important;flex:0 0 auto!important}body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs a{white-space:nowrap!important}}


/* Compact tour layout and seven-photo mosaic — requested adjustments */
body.single-tour .vm-tour-pre-gallery{padding:0!important;margin:-2px 0!important}
body.single-tour .vm-tour-redesign-head .item_price{position:relative!important}
body.single-tour .vm-tour-redesign-head .item_price::before{content:"À Partir de"!important;float:left!important;font-size:10px!important;position:absolute!important;top:-10px!important;left:10px!important;margin-top:0!important;padding-left:0!important;line-height:1!important;font-weight:400!important}
body.single-tour .vm-tour-body-layout{grid-template-columns:170px minmax(0,1fr)!important;gap:5px!important}
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs li{position:static!important;display:block!important;float:none!important;flex:none!important;width:100%!important;height:auto!important;min-height:35px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important}
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs a{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-direction:row!important;gap:10px!important;box-sizing:border-box!important;width:100%!important;min-height:30px!important;height:auto!important;padding:5px!important;border:0!important;border-radius:7px!important;color:#50535a!important;background:transparent!important;text-decoration:none!important;text-align:left!important;font:500 14px/1.35 Arial,sans-serif!important;white-space:normal!important;opacity:1!important;visibility:visible!important}
body.single-tour .vm-gallery-desktop .vm-gallery-mosaic.vm-gallery-mosaic-three{display:grid!important;grid-template-columns: minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto!important;gap:8px!important;width:100%!important;aspect-ratio: 3 / 1!important;height:auto!important;max-height:none!important;align-items:stretch!important}
body.single-tour .vm-gallery-desktop .vm-gallery-mosaic .vm-gallery-main{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;float:none!important;grid-column:1;grid-row:1}
body.single-tour .vm-gallery-desktop .vm-gallery-mosaic .vm-gallery-right.vm-gallery-right-six{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;float:none!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:8px!important;grid-column:2;grid-row:1}
body.single-tour .vm-gallery-desktop .vm-gallery-mosaic .vm-gallery-right-six .vm-gallery-right-item{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;float:none!important;margin:0!important;padding:0!important;aspect-ratio:1!important;position:relative!important}
body.single-tour .vm-gallery-desktop .vm-gallery-mosaic .vm-gallery-right-six .vm-gallery-right-item a,body.single-tour .vm-gallery-desktop .vm-gallery-mosaic .vm-gallery-main a{width:100%!important;height:100%!important;display:block!important;overflow:hidden!important}
body.single-tour .vm-gallery-desktop .vm-gallery-mosaic .vm-gallery-right-six img,body.single-tour .vm-gallery-desktop .vm-gallery-mosaic .vm-gallery-main img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
@media(max-width:900px) and (min-width:701px){body.single-tour .vm-tour-body-layout{grid-template-columns:170px minmax(0,1fr)!important;gap:5px!important}}
@media(max-width:700px){body.single-tour .vm-tour-body-layout{display:block!important}body.single-tour .vm-gallery-desktop{display:none!important}}
/* Section navigation & spacing: single separator, accurate anchor offsets */
body.single-tour .vm-tour-body-content > section.tab-content{
 border:0!important;
 border-top:1px solid #e9e9e9!important;
 margin:0!important;
 padding:22px 0 30px!important;
 scroll-margin-top:95px!important;
 background-image:none!important;
 box-shadow:none!important;
 min-height:0!important;
}
body.single-tour .vm-tour-body-content > section.tab-content:first-child{
 border-top:0!important;
 padding-top:0!important;
}
body.single-tour .vm-tour-body-content > section.tab-content::before,
body.single-tour .vm-tour-body-content > section.tab-content::after{
 content:none!important;
 display:none!important;
}
body.single-tour .vm-tour-body-content > section.tab-content > article,
body.single-tour .vm-tour-body-content > section.tab-content > div{
 margin-top:0!important;
 padding-top:0!important;
 border-top:0!important;
 box-shadow:none!important;
}
body.single-tour .vm-tour-body-content > section.tab-content h2:first-child,
body.single-tour .vm-tour-body-content > section.tab-content article > h2:first-child,
body.single-tour .vm-tour-body-content > section.tab-content .text-wrap > h2:first-child{
 margin-top:0!important;
 padding-top:0!important;
}
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs li.active a,
body.single-tour .vm-tour-nav-column .vm-tour-sidebar-tabs a.vm-nav-active{
 background:#e4f1ff!important;
 color:#247cbd!important;
}
/* Stable map width: override legacy scroll-driven fixed/absolute positioning */
@media(min-width:701px){
 body.single-tour .vm-tour-body-content .vm-map-itinerary .vm-map-column{
  position:sticky!important;
  top:85px!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  transform:none!important;
  grid-column:2!important;
  align-self:start!important;
  box-sizing:border-box!important;
 }
 body.single-tour .vm-tour-body-content .vm-map-itinerary{
  overflow:visible!important;
  align-items:start!important;
 }
}
/* Itinerary: allocate 62% to written stages, 38% to interactive map */
@media(min-width:901px){
 body.single-tour .vm-tour-body-content .vm-map-itinerary{
   display:grid!important;grid-template-columns:minmax(0,62fr) minmax(0,38fr)!important;
   gap:20px!important;align-items:start!important;width:100%!important;
 }
 body.single-tour .vm-tour-body-content .vm-map-itinerary-list{
   width:100%!important;max-width:none!important;min-width:0!important;
   flex:none!important;grid-column:1!important;
 }
 body.single-tour .vm-tour-body-content .vm-map-column{
   width:100%!important;max-width:none!important;min-width:0!important;
   flex:none!important;grid-column:2!important;
 }
 body.single-tour .vm-tour-body-content .vm-map-canvas{
   width:100%!important;max-width:100%!important;
 }
}
@media(min-width:701px) and (max-width:900px){
 body.single-tour .vm-tour-body-content .vm-map-itinerary{
   display:grid!important;grid-template-columns:minmax(0,60fr) minmax(0,40fr)!important;
   gap:12px!important;width:100%!important;
 }
 body.single-tour .vm-tour-body-content .vm-map-itinerary-list,
 body.single-tour .vm-tour-body-content .vm-map-column{
   width:100%!important;min-width:0!important;max-width:none!important;
 }
}

