/* =============================================================
   FINAL RESPONSIVE MASTER — loaded last on every V1/V2/V3 page
   Purpose: alignment, mobile-first safety, blog consistency,
   image-rich home + tour detail layout, no overflow/overlap.
   ============================================================= */

html,body{max-width:100%;overflow-x:clip}
*{min-width:0}
img{max-width:100%;height:auto}
.wrap{width:min(var(--max,1220px),calc(100% - 32px));margin-inline:auto}
main,section,article,aside,header,footer,nav{min-width:0}

/* Stable header / menu */
.site-header{overflow:visible!important}
.navrow{grid-template-columns:minmax(210px,300px) minmax(0,1fr) auto!important}
.brand{min-width:0!important}
.brand-textual{min-width:0}
.desktop-nav{min-width:0;flex-wrap:nowrap}
.mega{z-index:250!important;max-width:min(760px,calc(100vw - 32px))!important}
.header-cta{white-space:nowrap}

/* Section titles always align cleanly */
.section-title{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(280px,520px);gap:28px;align-items:end}
.section-title>div,.section-title>p{min-width:0}
.section-title p{max-width:none!important}

/* HOME — robust hero */
body[data-page="home"] .hero-rich{min-height:780px!important;height:auto!important;overflow:hidden!important}
body[data-page="home"] .hero-shell{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(340px,430px)!important;gap:36px!important;align-items:end!important;min-height:780px!important;padding:120px 0 72px!important}
body[data-page="home"] .hero-copy{width:100%;max-width:760px!important}
body[data-page="home"] .hero-copy h1{max-width:12ch!important;text-wrap:balance}
body[data-page="home"] .hero-side{width:100%!important;max-width:430px!important;justify-self:end!important}
body[data-page="home"] .hero-finder{width:100%!important;max-width:none!important;margin:0!important}
body[data-page="home"] .hero-thumbs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;width:100%!important;overflow:visible!important}
body[data-page="home"] .hero-thumb{width:100%!important;min-width:0!important;max-width:none!important;overflow:hidden!important}
body[data-page="home"] .hero-thumb img{flex:0 0 48px!important;width:48px!important;height:40px!important;object-fit:cover!important}
body[data-page="home"] .hero-thumb span{min-width:0!important;overflow:hidden!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}

/* Home carousels and image sections */
.carousel-shell,.carousel-viewport,.featured-carousel-track,.story-rail,.story-track{min-width:0}
.carousel-viewport{overflow:hidden!important}
.featured-carousel-track{max-width:100%;overscroll-behavior-x:contain}
.story-rail{max-width:100%;overflow:hidden!important}
.editorial-grid{align-items:stretch}
.editorial-panel{height:100%;min-width:0}
.editorial-panel img{display:block;width:100%;height:100%;object-fit:cover}

/* TOUR / BLOG CARDS — equal, aligned and predictable */
.tour-grid,.blog-grid{align-items:stretch}
.tour-card,.blog-card{height:100%;min-width:0}
.tour-card{display:flex;flex-direction:column}
.tour-card .media{flex:0 0 auto}
.tour-card .tour-body{display:flex!important;flex:1 1 auto;flex-direction:column!important}
.tour-card .card-actions{margin-top:auto!important}

.blog-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
.blog-card{display:flex!important;flex-direction:column!important;overflow:hidden!important}
.blog-card>img{width:100%!important;aspect-ratio:16/10!important;object-fit:cover!important;flex:0 0 auto!important}
.blog-card>div{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;padding:20px!important}
.blog-card h3{min-height:2.45em;margin:8px 0 10px!important}
.blog-card p{margin:0 0 16px!important;line-height:1.55}
.blog-card a{margin-top:auto!important;display:inline-flex!important;align-items:center!important}

/* TOUR DETAIL — image-rich portal layout */
body[data-page="tour"] main.section{padding-top:64px}
.detail-grid-rich{display:grid!important;grid-template-columns:minmax(0,1.36fr) minmax(320px,.64fr)!important;gap:34px!important;align-items:start!important}
.detail-image{border-radius:28px!important;overflow:hidden!important;box-shadow:var(--shadow)}
.detail-image img{display:block!important;width:100%!important;height:clamp(420px,46vw,610px)!important;object-fit:cover!important}
.tour-gallery-section{margin:26px 0 28px}
.tour-gallery-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,360px);gap:20px;align-items:end;margin-bottom:16px}
.tour-gallery-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,3.6vw,46px);line-height:1.02;margin:6px 0 0}
.tour-gallery-heading p{margin:0;color:var(--muted);line-height:1.55}
.tour-gallery{display:grid;grid-template-columns:1.35fr .85fr .85fr;grid-template-rows:210px 210px;gap:12px}
.tour-gallery-item{position:relative;margin:0;border-radius:20px;overflow:hidden;box-shadow:0 16px 34px rgba(0,0,0,.10);background:var(--panel)}
.tour-gallery-item.primary{grid-row:1/3}
.tour-gallery-item:last-child{grid-column:3;grid-row:1/3}
.tour-gallery-item img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .45s ease}
.tour-gallery-item:hover img{transform:scale(1.04)}
.tour-gallery-item:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(0deg,rgba(0,0,0,.72),transparent)}
.tour-gallery-item figcaption{position:absolute;z-index:2;left:14px;right:14px;bottom:13px;color:#fff;display:grid;gap:2px}
.tour-gallery-item figcaption span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;opacity:.84}
.tour-gallery-item figcaption b{font-size:14px;line-height:1.2}
.detail-booking-card{position:sticky!important;top:116px!important}
.detail-panels{align-items:start}
.detail-panel{height:100%}

/* Generic inner page stability */
.form-grid,.detail-booking-grid,.finder-grid{min-width:0}
input,select,textarea,button{max-width:100%}
.site-footer{overflow:hidden}
.footer-grid>*{min-width:0}

/* TABLET */
@media(max-width:1100px){
  .navrow{grid-template-columns:minmax(190px,250px) minmax(0,1fr) auto!important;gap:18px!important}
  .desktop-nav{gap:16px!important}
  .desktop-nav a,.desktop-nav button{font-size:13px!important}
  body[data-page="home"] .hero-shell{grid-template-columns:minmax(0,1fr) 360px!important;gap:24px!important}
  .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .detail-grid-rich{grid-template-columns:minmax(0,1fr) 330px!important;gap:24px!important}
  .tour-gallery{grid-template-columns:1.2fr 1fr;grid-template-rows:210px 210px}
  .tour-gallery-item.primary{grid-row:1/3}
  .tour-gallery-item:last-child{grid-column:2;grid-row:auto}
}

@media(max-width:980px){
  .navrow{grid-template-columns:minmax(0,1fr) auto auto!important;gap:10px!important}
  .desktop-nav{display:none!important}
  .mobile-menu-btn{display:grid!important;place-items:center!important}
  .drawer{z-index:260!important}
  .section-title{grid-template-columns:1fr!important;gap:12px!important;align-items:start!important}
  body[data-page="home"] .hero-rich{min-height:auto!important}
  body[data-page="home"] .hero-shell{grid-template-columns:1fr!important;min-height:0!important;padding:104px 0 44px!important;gap:22px!important}
  body[data-page="home"] .hero-copy{max-width:none!important}
  body[data-page="home"] .hero-side{max-width:none!important;justify-self:stretch!important}
  body[data-page="home"] .hero-finder{max-width:100%!important}
  .detail-grid-rich{grid-template-columns:1fr!important}
  .detail-booking-card{position:static!important;top:auto!important}
  .tour-gallery{grid-template-columns:1.2fr 1fr 1fr;grid-template-rows:190px 190px}
}

/* MOBILE-FIRST FINAL PASS */
@media(max-width:620px){
  html,body{overflow-x:hidden!important}
  body{padding-bottom:96px!important}
  .wrap{width:calc(100% - 20px)!important;max-width:none!important}
  .section{padding:52px 0!important}.section.tight{padding:38px 0!important}
  .section-title{margin-bottom:20px!important}
  .section-title h2{font-size:clamp(30px,9vw,38px)!important;line-height:1.04!important}
  .section-title p{font-size:14px!important;line-height:1.55!important;margin:0!important}

  .topbar{display:none!important}
  .navrow{height:74px!important;min-height:74px!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:7px!important}
  .brand{gap:8px!important;overflow:hidden!important}
  .brand-icon-img{width:40px!important;height:40px!important;flex:0 0 40px!important}
  .brand-textual strong{font-size:19px!important;line-height:.95!important}
  .brand-textual small{font-size:8px!important;letter-spacing:.08em!important;line-height:1.2!important;white-space:normal!important;max-width:112px!important}
  .mobile-menu-btn{width:40px!important;height:40px!important;min-width:40px!important}
  .header-cta{min-width:0!important;min-height:40px!important;padding:0 11px!important;font-size:10px!important;white-space:nowrap!important}
  .drawer{top:80px!important;left:8px!important;right:8px!important;border-radius:20px!important;max-height:calc(100dvh - 100px)!important}

  /* hero becomes clean vertical app-style layout */
  body[data-page="home"] .hero-rich{min-height:auto!important;height:auto!important;display:block!important;border-radius:0 0 26px 26px!important}
  body[data-page="home"] .hero-rich .hero-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:100%!important;object-fit:cover!important;object-position:center!important}
  body[data-page="home"] .hero-rich:after{background:linear-gradient(180deg,rgba(6,6,8,.26),rgba(6,6,8,.46) 28%,rgba(6,6,8,.86) 69%,rgba(6,6,8,.96))!important}
  body[data-page="home"] .hero-shell{grid-template-columns:1fr!important;gap:16px!important;min-height:0!important;padding:92px 0 22px!important;align-items:start!important}
  body[data-page="home"] .hero-copy{width:100%!important;max-width:100%!important}
  body[data-page="home"] .hero-copy h1{font-size:clamp(36px,11.5vw,48px)!important;line-height:.98!important;max-width:11ch!important;margin:10px 0 13px!important}
  body[data-page="home"] .hero-copy p{font-size:14px!important;line-height:1.55!important;max-width:100%!important;margin:0!important}
  body[data-page="home"] .hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important;margin-top:17px!important}
  body[data-page="home"] .hero-actions .btn{width:100%!important;min-width:0!important;min-height:44px!important}
  body[data-page="home"] .hero-badge-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:12px!important}
  body[data-page="home"] .hero-badge-row span{justify-content:center!important;text-align:center!important;min-height:42px!important;padding:8px 8px!important;font-size:10px!important;line-height:1.2!important}
  body[data-page="home"] .hero-badge-row span:last-child{grid-column:1/-1!important}
  body[data-page="home"] .hero-thumbs{grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:12px!important}
  body[data-page="home"] .hero-thumb{height:52px!important;padding:6px!important;border-radius:13px!important;gap:6px!important}
  body[data-page="home"] .hero-thumb img{width:40px!important;height:38px!important;flex-basis:40px!important;border-radius:8px!important}
  body[data-page="home"] .hero-thumb span{font-size:9px!important;line-height:1.12!important}
  body[data-page="home"] .hero-side{margin:0 0 72px!important;width:100%!important}
  body[data-page="home"] .hero-finder{width:100%!important;padding:14px!important;border-radius:20px!important}
  body[data-page="home"] .finder-grid{grid-template-columns:1fr!important;gap:9px!important}
  body[data-page="home"] .finder-foot{grid-template-columns:1fr!important;gap:6px!important}

  /* featured carousel fully inside viewport */
  .carousel-shell{display:block!important}
  .carousel-nav{display:none!important}
  .featured-carousel-track{gap:12px!important;padding-right:10px!important}
  .featured-carousel-track .tour-card{min-width:calc(100vw - 40px)!important;max-width:calc(100vw - 40px)!important}
  .featured-carousel-track .tour-card .media{aspect-ratio:16/10!important}
  .story-card{width:min(78vw,280px)!important}
  .story-card img{height:180px!important}

  /* blog alignment: one clean card per row */
  .blog-grid{grid-template-columns:1fr!important;gap:14px!important}
  .blog-card{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;min-height:150px!important;border-radius:20px!important}
  .blog-card>img{width:118px!important;height:100%!important;min-height:150px!important;aspect-ratio:auto!important;object-fit:cover!important}
  .blog-card>div{padding:13px!important;min-width:0!important}
  .blog-card h3{font-size:16px!important;line-height:1.18!important;min-height:0!important;margin:5px 0 7px!important}
  .blog-card p{font-size:12px!important;line-height:1.42!important;margin:0 0 10px!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .blog-card a{font-size:12px!important}

  /* editorial home sections stack with reliable images */
  .editorial-grid,.editorial-v1,.editorial-v3{grid-template-columns:1fr!important;gap:14px!important}
  .editorial-panel,.editorial-panel.wide{grid-template-columns:1fr!important;grid-column:auto!important;height:auto!important}
  .editorial-panel img{height:230px!important;min-height:230px!important;order:-1;object-fit:cover!important}
  .editorial-panel:nth-child(even) img{order:-1!important}
  .editorial-copy{padding:20px!important}
  .editorial-copy h3{font-size:27px!important;line-height:1.06!important}

  /* tour detail mobile image-rich layout */
  body[data-page="tour"] .page-hero{padding:70px 0 34px!important}
  body[data-page="tour"] .page-hero h1{font-size:clamp(35px,10vw,46px)!important;line-height:1!important}
  body[data-page="tour"] main.section{padding:34px 0 54px!important}
  .detail-grid-rich{grid-template-columns:1fr!important;gap:20px!important}
  .detail-image{border-radius:20px!important}
  .detail-image img{height:280px!important;object-fit:cover!important}
  .tour-gallery-section{margin:20px 0 22px!important}
  .tour-gallery-heading{grid-template-columns:1fr!important;gap:8px!important;margin-bottom:12px!important}
  .tour-gallery-heading h2{font-size:30px!important}
  .tour-gallery-heading p{font-size:13px!important}
  .tour-gallery{display:flex!important;gap:10px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;padding:0 0 6px!important;margin-right:-10px!important;scrollbar-width:none!important}
  .tour-gallery::-webkit-scrollbar{display:none!important}
  .tour-gallery-item,.tour-gallery-item.primary,.tour-gallery-item:last-child{flex:0 0 82vw!important;width:82vw!important;height:230px!important;grid-column:auto!important;grid-row:auto!important;scroll-snap-align:start!important;border-radius:18px!important}
  .detail-trust-strip{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  .detail-panels{grid-template-columns:1fr!important;gap:12px!important}
  .detail-panel{padding:16px!important;border-radius:19px!important}
  .include-list{grid-template-columns:1fr!important}
  .detail-booking-card{position:static!important;padding:17px!important;border-radius:20px!important}
  .detail-booking-grid{grid-template-columns:1fr!important}

  .tour-grid{grid-template-columns:1fr!important;gap:14px!important}
  .tour-card{border-radius:20px!important}
  .tour-card .media{aspect-ratio:16/10!important}
  .card-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}

  .contact-band{grid-template-columns:1fr!important;padding:24px 18px!important;border-radius:24px!important}
  .contact-band h2{font-size:34px!important;line-height:1!important}
  .footer-grid{grid-template-columns:1fr!important;gap:18px!important}
  .footer-grid>div:first-child{grid-column:auto!important}

  .mobile-bottom-nav{left:8px!important;right:8px!important;bottom:8px!important;z-index:300!important}
  .whatsapp-float{bottom:84px!important;right:10px!important;z-index:295!important}
}

@media(max-width:390px){
  .brand-textual strong{font-size:17px!important}
  .brand-textual small{max-width:90px!important;font-size:7.5px!important}
  .header-cta{font-size:9px!important;padding:0 9px!important}
  body[data-page="home"] .hero-copy h1{font-size:35px!important;max-width:12ch!important}
  body[data-page="home"] .hero-badge-row{grid-template-columns:1fr!important}
  body[data-page="home"] .hero-badge-row span:last-child{grid-column:auto!important}
  .blog-card{grid-template-columns:104px minmax(0,1fr)!important;min-height:142px!important}
  .blog-card>img{width:104px!important;min-height:142px!important}
  .tour-gallery-item,.tour-gallery-item.primary,.tour-gallery-item:last-child{flex-basis:86vw!important;width:86vw!important}
}

@media(min-width:1440px){
  :root{--max:1320px}
  .section{padding:104px 0}
  body[data-page="home"] .hero-shell{min-height:830px!important;grid-template-columns:minmax(0,1fr) 440px!important}
  .detail-grid-rich{grid-template-columns:minmax(0,1.42fr) 390px!important}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}
}

/* ================= FINAL HEADER + TOUR DETAIL REFINEMENT PASS ================= */
/* Transparent over-hero header across versions */
.topbar{display:none!important}
.site-header{
  position:absolute!important;
  top:0!important;left:0!important;right:0!important;
  z-index:220!important;
  background:transparent!important;
  border-bottom:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.navrow{
  padding-block:18px!important;
  height:auto!important;
  min-height:92px!important;
}
.brand-textual strong,
.brand-textual small,
.desktop-nav a,
.desktop-nav button,
.mobile-menu-btn,
.tours-trigger{
  color:#fff!important;
  text-shadow:0 2px 14px rgba(0,0,0,.45);
}
.brand-icon-img{filter:drop-shadow(0 8px 20px rgba(0,0,0,.28))!important}
.desktop-nav a,.desktop-nav button{font-weight:800!important}
.desktop-nav a:after,.desktop-nav button:after{background:#fff!important}
.desktop-nav a:hover,.desktop-nav button:hover{opacity:1}
.mobile-menu-btn{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.24)!important;
  backdrop-filter:blur(10px)!important;
}
.header-cta{
  color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:0 14px 28px rgba(0,0,0,.16)!important;
}
body[data-version="v1"] .header-cta{background:linear-gradient(135deg,rgba(194,134,31,.95),rgba(224,175,68,.95))!important}
body[data-version="v2"] .header-cta{background:linear-gradient(135deg,rgba(15,116,183,.95),rgba(24,161,219,.95))!important}
body[data-version="v3"] .header-cta{background:linear-gradient(135deg,rgba(211,166,71,.95),rgba(240,194,91,.95))!important;color:#12161d!important}
.drawer{
  background:rgba(14,18,28,.92)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  backdrop-filter:blur(18px)!important;
}
.drawer a,.drawer button{color:#fff!important;border-bottom-color:rgba(255,255,255,.08)!important}
.mega{
  background:rgba(12,16,24,.96)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  backdrop-filter:blur(16px)!important;
}
.mega a{color:#fff!important;background:rgba(255,255,255,.04)!important}
.page-hero,
body[data-page="home"] .hero-rich{margin-top:0!important}
.page-hero{padding-top:150px!important;padding-bottom:60px!important;position:relative;overflow:hidden}
.page-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,7,10,.52),rgba(5,7,10,.18) 32%,transparent);pointer-events:none}
.page-hero>.wrap{position:relative;z-index:1}
body[data-page="home"] .hero-shell{padding-top:150px!important}

/* Tour detail: card aligned with top media row, no empty right-column canyon */
body[data-page="tour"] main.section{padding-top:54px!important}
.detail-top-grid{align-items:start!important}
.detail-top-media{display:block!important}
.detail-booking-card{align-self:start!important;top:96px!important;margin-top:0!important}
.detail-lower-content{padding-top:26px!important}
.related-tours-block{padding-top:34px!important}
.detail-trust-strip{margin-top:16px!important}

/* desktop/tablet tour improvements */
@media(min-width:981px){
  .detail-top-grid{grid-template-columns:minmax(0,1.38fr) minmax(340px,.62fr)!important;gap:34px!important}
  .detail-booking-card{min-width:0!important}
}

@media(max-width:980px){
  .site-header{position:absolute!important}
  .navrow{min-height:84px!important;padding-block:14px!important}
  .page-hero{padding-top:124px!important}
  body[data-page="home"] .hero-shell{padding-top:118px!important}
  .detail-lower-content{padding-top:16px!important}
}

@media(max-width:620px){
  .navrow{min-height:74px!important;padding-block:10px!important}
  .brand-textual strong,.brand-textual small,.desktop-nav a,.desktop-nav button,.mobile-menu-btn,.tours-trigger{text-shadow:0 2px 12px rgba(0,0,0,.55)!important}
  body[data-page="home"] .hero-shell{padding-top:88px!important}
  body[data-page="tour"] .page-hero{padding-top:92px!important;padding-bottom:30px!important}
  body[data-page="tour"] main.section{padding-top:28px!important}
  .detail-top-grid{gap:18px!important}
  .detail-booking-card{order:2!important;position:static!important;top:auto!important}
  .detail-lower-content{padding-top:10px!important}
}


/* ===== FINAL LOGO-ONLY HEADER/FOOTER PASS ===== */
.brand{display:flex!important;align-items:center!important;min-width:0!important;overflow:visible!important}
.brand-full-logo{display:block!important;width:auto!important;height:74px!important;max-width:min(32vw,300px)!important;object-fit:contain!important;filter:drop-shadow(0 8px 18px rgba(0,0,0,.28))!important}
.footer-brand{display:inline-flex!important;align-items:center!important}
.footer-full-logo{display:block!important;height:92px!important;width:auto!important;max-width:min(100%,360px)!important;object-fit:contain!important}
.brand-textual,.brand-logo-shell{display:none!important}
@media(max-width:1100px){.brand-full-logo{height:66px!important;max-width:250px!important}.footer-full-logo{height:82px!important;max-width:320px!important}}
@media(max-width:980px){.navrow{grid-template-columns:minmax(0,1fr) auto auto!important}.brand-full-logo{height:58px!important;max-width:220px!important}}
@media(max-width:620px){.brand-full-logo{height:46px!important;max-width:160px!important}.footer-full-logo{height:64px!important;max-width:240px!important}.brand{overflow:hidden!important}}
@media(max-width:390px){.brand-full-logo{height:42px!important;max-width:140px!important}}


/* ===== FINAL TRANSPARENT HEADER + V3 FULL-WIDTH EDITORIAL FIX ===== */
.topbar{display:none !important;height:0 !important;min-height:0 !important;padding:0 !important;margin:0 !important;overflow:hidden !important;background:transparent !important;border:0 !important}
body[data-version] .site-header,
.site-header{
  position:absolute !important;
  top:0 !important; left:0 !important; right:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  border-bottom:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.site-header::before,.site-header::after{display:none !important}
.navrow{background:transparent !important}
.desktop-nav a,.desktop-nav button,.tours-trigger,.mobile-menu-btn{color:#fff !important;text-shadow:0 2px 14px rgba(0,0,0,.55) !important}
.desktop-nav a:after,.desktop-nav button:after{background:#fff !important}
.mobile-menu-btn{background:rgba(255,255,255,.08) !important;border-color:rgba(255,255,255,.26) !important}
body[data-version="v3"] .editorial-v3{grid-template-columns:1fr 1fr !important}
body[data-version="v3"] .editorial-v3 .editorial-panel{min-width:0 !important}
body[data-version="v3"] .editorial-v3 .editorial-panel.wide{grid-column:1 / -1 !important}
body[data-version="v3"] .editorial-v3 .editorial-panel:not(.wide){grid-column:auto !important}
@media (min-width: 981px){
  body[data-version="v3"] .editorial-v3 .editorial-panel img{min-height:340px !important}
}
@media (max-width: 620px){
  .site-header{top:0 !important}
  .navrow{background:transparent !important}
}

/* ===== FINAL ALL-VERSION DROPDOWN VISIBILITY FIX ===== */
.navdrop{position:relative!important;z-index:500!important}
.navdrop.open{z-index:560!important}
.navdrop>.tours-trigger{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.55)!important}
.mega{
  z-index:580!important;
  top:calc(100% + 14px)!important;
  width:min(760px,calc(100vw - 32px))!important;
  background:rgba(10,14,22,.97)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 28px 70px rgba(0,0,0,.38)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  padding:16px!important;
  gap:10px!important;
  border-radius:22px!important;
}
.mega a{
  color:#fff!important;
  background:rgba(255,255,255,.07)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:14px!important;
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  padding:12px 14px!important;
  font-weight:800!important;
  opacity:1!important;
  text-shadow:none!important;
}
.mega a:hover,.mega a:focus{
  color:#fff!important;
  background:rgba(255,255,255,.16)!important;
  border-color:rgba(255,255,255,.18)!important;
}
body[data-version="v1"] .mega{background:rgba(40,24,12,.98)!important}
body[data-version="v1"] .mega a{color:#fff7e8!important;background:rgba(231,174,75,.09)!important}
body[data-version="v1"] .mega a:hover,body[data-version="v1"] .mega a:focus{background:rgba(231,174,75,.18)!important}
body[data-version="v2"] .mega{background:rgba(5,37,61,.98)!important}
body[data-version="v2"] .mega a{color:#f5fbff!important;background:rgba(79,184,240,.10)!important}
body[data-version="v2"] .mega a:hover,body[data-version="v2"] .mega a:focus{background:rgba(79,184,240,.20)!important}
body[data-version="v3"] .mega{background:rgba(7,12,22,.98)!important}
body[data-version="v3"] .mega a{color:#fff7e8!important;background:rgba(215,164,71,.10)!important}
body[data-version="v3"] .mega a:hover,body[data-version="v3"] .mega a:focus{background:rgba(215,164,71,.20)!important}

/* mobile accordion contrast */
.drawer .sub{
  background:rgba(7,12,20,.96)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:14px!important;
  margin:7px 0 10px!important;
  padding:7px!important;
}
.drawer .sub a{
  color:#fff!important;
  background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.07)!important;
  border-radius:11px!important;
  margin:6px 0!important;
  padding:12px!important;
}
.drawer .sub a:hover,.drawer .sub a:focus{background:rgba(255,255,255,.14)!important}
@media(max-width:980px){.mega{display:none!important}}


/* ===== V3 LOGO REPAIR PASS ===== */
body[data-version="v3"] .brand-full-logo{max-width:min(40vw,380px)!important;height:78px!important;object-position:left center!important}
body[data-version="v3"] .footer-full-logo{max-width:min(100%,420px)!important;height:102px!important}
@media(max-width:1100px){body[data-version="v3"] .brand-full-logo{max-width:320px!important;height:68px!important}}
@media(max-width:980px){body[data-version="v3"] .brand-full-logo{max-width:260px!important;height:58px!important}}
@media(max-width:620px){body[data-version="v3"] .brand-full-logo{max-width:180px!important;height:44px!important}body[data-version="v3"] .footer-full-logo{max-width:260px!important;height:66px!important}}

/* ===== BOOKING TOTAL CALCULATOR + FUTURE GROUP DISCOUNT UI ===== */
.booking-calc{
  display:grid;
  gap:0;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:color-mix(in srgb,var(--panel) 92%, var(--brand) 8%);
}
.calc-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:11px 14px;
  border-bottom:1px solid var(--line);
  font-size:13px;
}
.calc-row:last-child{border-bottom:0}
.calc-row span{color:var(--muted);font-weight:800}
.calc-row strong{font-size:14px;text-align:right}
.calc-row.discount{background:color-mix(in srgb,#20ba5a 8%,transparent)}
.calc-row.discount span,.calc-row.discount strong{color:#159448}
.calc-row.total{
  padding:14px;
  background:color-mix(in srgb,var(--brand) 12%,transparent);
}
.calc-row.total span{color:var(--ink);font-weight:900}
.calc-row.total strong{font-size:22px;color:var(--brand)}
#bookingCalculation,#detailBookingCalculation{display:block}
#detailBookingCalculation{margin:2px 0 4px}
.booking-price-box{margin-bottom:0}
body[data-version="v3"] .booking-calc{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.11)}
body[data-version="v3"] .calc-row{border-bottom-color:rgba(255,255,255,.08)}
body[data-version="v3"] .calc-row.total span{color:#f5ecdf}
body[data-version="v3"] .calc-row.total strong{color:#e4b24d}
@media(max-width:620px){
  .calc-row{padding:10px 12px;font-size:12px}
  .calc-row strong{font-size:13px}
  .calc-row.total strong{font-size:19px}
}
