/* Himalayan Gold final sitewide fixes — locked palette / Marcellus + Onest / locked type scale */
:root{
  --fx-midnight:#082A36;--fx-blue:#123B4A;--fx-saffron:#E8752E;--fx-saffron-dark:#C95E20;--fx-pine:#123B4A;
  --fx-mist:#F4F7F5;--fx-sand:#F7F3EC;--fx-white:#FFFFFF;--fx-charcoal:#202B31;--fx-slate:#66757C;--fx-border:#DDE5E3;
}

/* Final typography lock. This file loads last so inner-page polish cannot shrink the approved scale. */
body{font-family:"Onest",Arial,sans-serif!important;font-size:16px!important;line-height:1.7!important;color:var(--fx-charcoal)}
h1,h2,h3,h4{font-family:"Marcellus",Georgia,serif!important;font-weight:400!important}
.ref-hero h1,.hg-hero h1,.hero h1,.hero-editorial h1{font-size:72px!important;line-height:1.06!important}
.page-head h1,.ref-package-hero h1,.hg-package-hero h1,.package-hero h1{font-size:58px!important;line-height:1.08!important}
.ref-section-head h2,.ref-center h2,.ref-learn-copy h2,.ref-about-copy h2,.ref-faq-grid h2,.ref-ready-section h2,.section-heading h2,.package-section h2,.prose h2,.ref-package-main section>h2,.questions-layout h2,.inquiry-section h2,.planning-editorial h2,.story-title h2,.hg-inner-title,.hg-blog-featured-copy h2,.hg-article-main .prose h2,.hg-faq-intro h2,body[data-page="contact"] h2{font-size:46px!important;line-height:1.15!important}
h3,.ref-site h3,.hg-dynamic-site h3,.ref-package-main h3,.hg-blog-list-grid .blog-copy h3,.hg-related-articles h2{font-size:30px!important;line-height:1.25!important}
h4,.ref-site h4,.hg-dynamic-site h4{font-size:24px!important;line-height:1.3!important}
.ref-hero p,.hg-hero p,.hero>p,.hero-content>p,.hero-editorial>p,.body-large,.hg-inner-lead{font-size:18px!important;line-height:1.7!important}
.ref-section-head p,.ref-center p,.ref-learn-copy p,.ref-about-copy p,.page-head p,.ref-package-main .prose p,.prose p,.prose li,.article p,.contact-grid>div>p,.story-detail>p,.hg-article-main .prose p,.hg-article-main .prose li,.hg-blog-featured-copy p{font-size:16px!important;line-height:1.75!important}
.small-text,.ref-blog-section .blog-copy p,.site-footer p,.ref-footer-brand p{font-size:14px!important;line-height:1.65!important}
.ref-faq-list summary,.hg-faq-card .faq-list summary,.ref-package-main #package-faq .faq-list summary{font-family:"Onest",Arial,sans-serif!important;font-size:18px!important;font-weight:600!important;line-height:1.5!important}
.ref-faq-list p,.hg-faq-card .faq-list p,.ref-package-main #package-faq .faq-list p{font-family:"Onest",Arial,sans-serif!important;font-size:16px!important;line-height:1.8!important}
.package-card h3,.ref-package-card h3,.dynamic-card h3,.card-body h3{font-size:21px!important;line-height:1.35!important}
.price strong,.ref-package-price strong,.dynamic-card .price strong,.ref-booking-panel .price strong{font-size:25px!important}
.card-meta,.ref-package-meta,.package-meta,.hg-card-specs span,.hg-card-specs small,.hg-next-departure small,.hg-next-departure strong,.hg-departure-package small,.hg-departure-meta small,.hg-departure-meta strong{font-size:14px!important}
.btn,.ref-btn,.ref-quote-btn,.hg-finder-submit,.hg-enquire-link,.hg-row-action,button[data-inquiry-trigger]{font-size:15px!important}

/* Richer package filters: search + 7 selectors without cramped controls. */
.hg-dynamic-filter{grid-template-columns:1.35fr repeat(3,minmax(135px,1fr))!important;gap:10px!important}
.hg-dynamic-filter .btn{grid-column:auto!important;min-height:50px}
.hg-dynamic-filter input,.hg-dynamic-filter select{min-height:50px!important}
body[data-page="listing"] .hg-dynamic-filter,body[data-page="category"] .hg-dynamic-filter{padding:14px!important}

/* Home finder includes Travel Month. */
.hg-premium-finder .hg-yatra-finder{grid-template-columns:1.05fr repeat(5,minmax(115px,1fr)) 116px!important}
.hg-premium-finder .hg-yatra-finder>div{padding-left:15px!important;padding-right:15px!important}

/* FAQ readability – homepage + FAQ page + package FAQ */
.hg-premium-faq .ref-faq-list summary{font-size:18px!important;line-height:1.5!important}
.hg-premium-faq .ref-faq-list p{font-size:16px!important;line-height:1.8!important;padding-right:8px!important}
.hg-premium-faq .ref-faq-list details{padding:0 26px!important}

/* Gallery becomes a real interactive lightbox trigger while keeping premium visual treatment. */
.hg-gallery-card{border:0;text-align:left;font:inherit;color:inherit;cursor:zoom-in;padding:0}
.hg-gallery-card>div span{display:inline-flex;margin-top:10px;font:600 12px/1.3 "Onest",sans-serif;color:var(--fx-sand);opacity:.9}
.hg-gallery-modal,.hg-video-modal{position:fixed;inset:0;z-index:500;display:grid;place-items:center;padding:28px}
.hg-gallery-modal[hidden],.hg-video-modal[hidden]{display:none!important}
.hg-gallery-modal-backdrop,.hg-video-modal-backdrop{position:absolute;inset:0;background:rgba(8,42,54,.88);backdrop-filter:blur(9px)}
.hg-gallery-modal-dialog{position:relative;z-index:1;width:min(1120px,96vw);max-height:92vh;display:grid;grid-template-columns:58px minmax(0,1fr) 58px;align-items:center;gap:14px}
.hg-gallery-modal-dialog figure{margin:0;background:var(--fx-white);border-radius:18px;overflow:hidden;box-shadow:0 28px 80px rgba(8,42,54,.28)}
.hg-gallery-modal-dialog img{display:block;width:100%;height:min(72vh,720px);object-fit:contain;background:var(--fx-midnight)}
.hg-gallery-modal-dialog figcaption{padding:18px 22px;display:grid;gap:4px}.hg-gallery-modal-dialog figcaption strong{font:400 24px/1.25 "Marcellus",serif;color:var(--fx-midnight)}.hg-gallery-modal-dialog figcaption span{font-size:14px;color:var(--fx-slate)}
.hg-gallery-modal-close,.hg-video-modal-close{position:absolute;right:-8px;top:-48px;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:var(--fx-white);font-size:28px;cursor:pointer}
.hg-gallery-modal-nav{width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:var(--fx-white);font-size:22px;cursor:pointer}.hg-gallery-modal-nav:hover{background:var(--fx-saffron)}

/* Journey film section + modal. The official URL remains admin-controlled. */
.hg-home-video-section{background:var(--fx-mist)!important;padding:108px 0!important}
.hg-home-video-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:72px;align-items:center}
.hg-home-video-copy h2{font-size:46px!important;margin:10px 0 18px;color:var(--fx-midnight)}.hg-home-video-copy p{font-size:16px!important;color:var(--fx-slate);max-width:560px;margin-bottom:28px}
.hg-home-video-poster{position:relative;min-height:510px;border-radius:20px;overflow:hidden;box-shadow:0 24px 65px rgba(8,42,54,.14)}
.hg-home-video-poster:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,42,54,.78),rgba(8,42,54,.08) 65%);pointer-events:none}
.hg-home-video-poster>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hg-home-video-poster>div{position:absolute;z-index:2;left:30px;bottom:28px;color:var(--fx-white);display:grid}.hg-home-video-poster>div small{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--fx-border)}.hg-home-video-poster>div strong{font:400 30px/1.2 "Marcellus",serif}
.hg-video-play{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:78px;height:78px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(255,255,255,.92);color:var(--fx-saffron);font-size:25px;box-shadow:0 16px 40px rgba(8,42,54,.18);cursor:pointer}.hg-video-play:hover{background:var(--fx-saffron);color:var(--fx-white)}
.hg-video-modal-dialog{position:relative;z-index:1;width:min(1100px,95vw)}.hg-video-frame{aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:var(--fx-midnight);box-shadow:0 30px 80px rgba(8,42,54,.35)}.hg-video-frame iframe{width:100%;height:100%;border:0;display:block}

/* Admin-entered verified feedback rail. Hidden automatically when no real reviews exist. */
.hg-reviews-section{background:var(--fx-sand)!important;padding:108px 0!important}.hg-reviews-section .ref-section-head{align-items:flex-end}.hg-review-controls{display:flex;gap:8px}.hg-review-controls button{width:46px;height:46px;border-radius:50%;border:1px solid var(--fx-border);background:var(--fx-white);color:var(--fx-midnight);font-size:20px;cursor:pointer}.hg-review-controls button:hover{background:var(--fx-midnight);color:var(--fx-white)}
.hg-review-track{display:flex;gap:20px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 14px}.hg-review-track::-webkit-scrollbar{display:none}.hg-review-card{min-width:min(390px,82vw);scroll-snap-align:start;background:var(--fx-white);border:1px solid var(--fx-border);border-radius:17px;padding:28px;box-shadow:0 14px 38px rgba(8,42,54,.055)}.hg-review-stars{color:var(--fx-saffron);font-size:18px;letter-spacing:.08em}.hg-review-card>p{font-family:"Marcellus",serif!important;font-size:23px!important;line-height:1.55!important;color:var(--fx-midnight);margin:18px 0 24px}.hg-review-card>div:last-child{display:grid;gap:3px}.hg-review-card strong{font-size:15px;color:var(--fx-charcoal)}.hg-review-card small{font-size:13px;color:var(--fx-slate)}

@media(max-width:1180px){
  .hg-premium-finder .hg-yatra-finder{grid-template-columns:1fr 1fr 1fr!important}.hg-premium-finder .hg-finder-heading{grid-column:1/-1!important}.hg-premium-finder .hg-finder-submit{grid-column:3!important;grid-row:auto!important}
  .hg-dynamic-filter{grid-template-columns:repeat(3,1fr)!important}.hg-dynamic-filter input[name="q"]{grid-column:1/-1}
}
@media(max-width:980px){
  .ref-hero h1,.hg-hero h1,.hero h1,.hero-editorial h1{font-size:58px!important}.page-head h1,.ref-package-hero h1,.hg-package-hero h1,.package-hero h1{font-size:48px!important}
  .ref-section-head h2,.ref-center h2,.ref-learn-copy h2,.ref-about-copy h2,.ref-faq-grid h2,.ref-ready-section h2,.section-heading h2,.package-section h2,.prose h2,.ref-package-main section>h2,.hg-inner-title,.hg-blog-featured-copy h2,.hg-article-main .prose h2,.hg-faq-intro h2,body[data-page="contact"] h2,.hg-home-video-copy h2{font-size:40px!important}
  h3,.ref-site h3,.hg-dynamic-site h3,.ref-package-main h3,.hg-blog-list-grid .blog-copy h3{font-size:27px!important}.package-card h3,.ref-package-card h3,.dynamic-card h3{font-size:20px!important}.ref-hero p,.hg-hero p,.body-large,.hg-inner-lead{font-size:17px!important}.price strong,.ref-package-price strong,.ref-booking-panel .price strong{font-size:23px!important}.card-meta,.ref-package-meta,.package-meta,.hg-card-specs span,.hg-next-departure small,.hg-next-departure strong{font-size:13px!important}
  .hg-home-video-grid{grid-template-columns:1fr;gap:34px}.hg-home-video-poster{min-height:430px}.hg-gallery-modal-dialog{grid-template-columns:48px minmax(0,1fr) 48px}
}
@media(max-width:700px){
  body{font-size:15px!important}.ref-hero h1,.hg-hero h1,.hero h1,.hero-editorial h1{font-size:42px!important}.page-head h1,.ref-package-hero h1,.hg-package-hero h1,.package-hero h1{font-size:36px!important}
  .ref-section-head h2,.ref-center h2,.ref-learn-copy h2,.ref-about-copy h2,.ref-faq-grid h2,.ref-ready-section h2,.section-heading h2,.package-section h2,.prose h2,.ref-package-main section>h2,.hg-inner-title,.hg-blog-featured-copy h2,.hg-article-main .prose h2,.hg-faq-intro h2,body[data-page="contact"] h2,.hg-home-video-copy h2{font-size:32px!important}
  h3,.ref-site h3,.hg-dynamic-site h3,.ref-package-main h3,.hg-blog-list-grid .blog-copy h3{font-size:24px!important}h4{font-size:20px!important}.package-card h3,.ref-package-card h3,.dynamic-card h3{font-size:19px!important}.ref-hero p,.hg-hero p,.body-large,.hg-inner-lead{font-size:16px!important}.ref-section-head p,.ref-center p,.ref-learn-copy p,.ref-about-copy p,.page-head p,.ref-package-main .prose p,.prose p,.prose li,.hg-article-main .prose p,.hg-article-main .prose li{font-size:15px!important}.small-text,.ref-blog-section .blog-copy p,.site-footer p,.ref-footer-brand p{font-size:13px!important}
  .ref-faq-list summary,.hg-faq-card .faq-list summary,.ref-package-main #package-faq .faq-list summary{font-size:17px!important}.ref-faq-list p,.hg-faq-card .faq-list p,.ref-package-main #package-faq .faq-list p{font-size:15px!important}.price strong,.ref-package-price strong,.ref-booking-panel .price strong{font-size:21px!important}.btn,.ref-btn,.hg-finder-submit,.hg-enquire-link,.hg-row-action{font-size:14px!important}
  .hg-premium-finder .hg-yatra-finder{grid-template-columns:1fr!important}.hg-premium-finder .hg-finder-heading,.hg-premium-finder .hg-finder-submit{grid-column:auto!important}.hg-dynamic-filter{grid-template-columns:1fr!important}.hg-dynamic-filter input[name="q"]{grid-column:auto}
  .hg-home-video-section,.hg-reviews-section{padding:76px 0!important}.hg-home-video-poster{min-height:360px;border-radius:14px}.hg-video-play{width:64px;height:64px}.hg-home-video-poster>div{left:20px;bottom:18px}.hg-home-video-poster>div strong{font-size:24px}.hg-review-card{min-width:88vw;padding:23px}.hg-review-card>p{font-size:20px!important}
  .hg-gallery-modal{padding:16px}.hg-gallery-modal-dialog{width:100%;grid-template-columns:1fr}.hg-gallery-modal-nav{position:absolute;z-index:3;top:50%;width:44px;height:44px}.hg-gallery-modal-nav.prev{left:8px}.hg-gallery-modal-nav.next{right:8px}.hg-gallery-modal-dialog img{height:min(68vh,580px)}.hg-gallery-modal-close{right:0;top:-50px}
}
.hg-mobile-socials{display:flex;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--fx-border)}.hg-mobile-socials a{width:40px;height:40px;border-radius:50%;display:grid!important;place-items:center!important;background:var(--fx-mist);color:var(--fx-blue)!important;border:1px solid var(--fx-border)!important;margin:0!important;padding:0!important}.hg-mobile-socials svg{width:18px;height:18px}.hg-review-head-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}


/* 2026-10-19 gallery, menu, month-only and understated price refinements */
.hg-premium-mega{max-height:min(72vh,680px);overflow:auto;overscroll-behavior:contain}.hg-premium-mega .hg-mega-links{align-content:start}.hg-premium-mega .hg-mega-links>a:not(.hg-mega-feature){min-height:62px}.hg-premium-mobile details{max-height:52vh;overflow:auto}
.hg-home-gallery-section{background:linear-gradient(180deg,#f7f3ec 0,#fff 100%)}.hg-home-gallery-section .hg-editorial-heading>div:last-child{max-width:480px}.hg-gallery-mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:185px;gap:12px}.hg-gallery-mosaic-card{position:relative;overflow:hidden;border-radius:12px!important;min-height:0;background:#082a36}.hg-gallery-mosaic-card:nth-child(1),.hg-gallery-mosaic-card:nth-child(7){grid-column:span 2;grid-row:span 2}.hg-gallery-mosaic-card:nth-child(4),.hg-gallery-mosaic-card:nth-child(9){grid-row:span 2}.hg-gallery-mosaic-card img,.hg-gallery-page-card img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease,filter .35s ease}.hg-gallery-mosaic-card:after,.hg-gallery-page-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(8,42,54,.9));pointer-events:none}.hg-gallery-mosaic-card>div,.hg-gallery-page-card>div{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:18px;color:#fff;transform:translateY(4px);transition:.3s ease}.hg-gallery-mosaic-card small,.hg-gallery-page-card small{font-size:10px;letter-spacing:.16em;opacity:.78}.hg-gallery-mosaic-card h3,.hg-gallery-page-card h3{margin:4px 0 2px!important;color:#fff!important;font-size:21px!important}.hg-gallery-mosaic-card p{display:none}.hg-gallery-mosaic-card span,.hg-gallery-page-card span{font-size:11px!important;color:#f7f3ec!important;opacity:.88}.hg-gallery-mosaic-card:hover img,.hg-gallery-page-card:hover img{transform:scale(1.045);filter:saturate(1.06)}.hg-gallery-mosaic-card:hover>div,.hg-gallery-page-card:hover>div{transform:none}
.hg-gallery-page-section{padding-top:72px}.hg-gallery-page-intro{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:48px;align-items:end;margin-bottom:38px}.hg-gallery-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:300px;gap:16px}.hg-gallery-page-card{position:relative;overflow:hidden;border:0;border-radius:14px;padding:0;text-align:left;cursor:zoom-in;background:#082a36}.hg-gallery-page-card:nth-child(5n+1){grid-row:span 2}.hg-gallery-page-card:nth-child(7n+3){grid-column:span 2}.hg-gallery-page-card p{font-size:13px;line-height:1.45;margin:5px 0 6px;color:#dde5e3;max-width:520px}
/* Prices should inform, not dominate. */
.ref-package-price strong,.dynamic-card .ref-package-price strong{font-family:Onest,sans-serif!important;font-size:14px!important;font-weight:600!important;color:#3e6655!important}.ref-package-price small{font-size:10px!important}.ref-booking-panel .price strong,.hg-cost-card strong{font-family:Onest,sans-serif!important;font-size:20px!important;font-weight:650!important;color:#123b4a!important}.hg-departure-price{font-size:14px!important;font-weight:600!important;color:#3e6655!important}.hg-mobile-booking>span{font-size:13px!important;font-weight:500!important}.hg-panel-next strong,.hg-next-departure strong{font-size:14px!important;font-weight:650!important}
@media(max-width:980px){.hg-gallery-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:200px}.hg-gallery-page-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:260px}.hg-gallery-page-card:nth-child(7n+3){grid-column:span 1}.hg-gallery-page-intro{grid-template-columns:1fr;gap:16px}.hg-premium-mobile details{max-height:none}}
@media(max-width:620px){.hg-gallery-mosaic{grid-template-columns:1fr;grid-auto-rows:250px}.hg-gallery-mosaic-card:nth-child(n){grid-column:span 1;grid-row:span 1}.hg-gallery-mosaic-card:nth-child(1){grid-row:span 2}.hg-gallery-page-grid{grid-template-columns:1fr;grid-auto-rows:290px}.hg-gallery-page-card:nth-child(n){grid-column:span 1;grid-row:span 1}.hg-gallery-page-card:nth-child(4n+1){grid-row:span 2}.hg-gallery-mosaic-card h3,.hg-gallery-page-card h3{font-size:20px!important}}

/* 2026-10-19 layout regression fix: header fit + compact tour mega menu + gap-free gallery */
@media (min-width:981px){
  .hg-premium-header .ref-header-inner{gap:12px!important}
  .hg-premium-header .ref-brand{min-width:260px!important;flex:0 0 260px!important;gap:11px!important}
  .hg-premium-header .ref-brand>span:last-child{min-width:184px!important}
  .hg-premium-header .ref-brand strong{font-size:25px!important}
  .hg-premium-nav{gap:0!important;min-width:0!important;flex:1 1 auto!important;justify-content:flex-end}
  .hg-premium-nav>.hg-nav-link,.hg-premium-nav>.hg-premium-dropdown>.hg-nav-link{padding-left:7px!important;padding-right:7px!important;gap:5px!important}
  .hg-premium-header .ref-header-action{margin-left:2px!important;flex:0 0 auto!important}
  .hg-premium-enquire{padding-left:13px!important;padding-right:13px!important;gap:6px!important}

  .ref-drop-menu.hg-premium-mega{width:min(650px,calc(100vw - 36px))!important;max-height:min(70vh,650px)!important}
  .hg-premium-mega .hg-mega-links{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row dense!important;gap:5px!important;padding:10px!important}
  .ref-drop-menu.hg-premium-mega .hg-mega-links>a{min-height:56px!important;padding:8px 9px!important;grid-template-columns:30px minmax(0,1fr)!important;gap:8px!important}
  .ref-drop-menu.hg-premium-mega .hg-mega-links>a.hg-mega-feature{grid-column:1/-1!important;grid-template-columns:36px minmax(0,1fr) 18px!important;min-height:62px!important}
  .hg-mega-link-icon{width:30px!important;height:30px!important;border-radius:8px!important}
  .hg-mega-feature .hg-mega-link-icon{width:36px!important;height:36px!important}
  .ref-drop-menu.hg-premium-mega .hg-mega-links b{font-size:12px!important;line-height:1.2!important}
  .ref-drop-menu.hg-premium-mega .hg-mega-links small{font-size:9.5px!important;line-height:1.25!important}
  .hg-mega-intro{padding:16px 18px 14px!important}
  .hg-mega-foot{min-height:46px!important;padding:9px 14px!important}
}

@media (min-width:981px) and (max-width:1580px){
  .hg-premium-header .ref-brand{min-width:224px!important;flex-basis:224px!important}
  .hg-premium-header .ref-brand>span:last-child{min-width:150px!important}
  .hg-premium-header .ref-brand strong{font-size:22px!important}
  .hg-premium-header .ref-brand small{font-size:6.5px!important;letter-spacing:.08em!important}
  .hg-premium-nav>.hg-nav-link .hg-nav-svg:not(.hg-icon-chevron),.hg-premium-dropdown>.hg-nav-link .hg-nav-svg:not(.hg-icon-chevron){display:none!important}
  .hg-premium-nav>.hg-nav-link,.hg-premium-nav>.hg-premium-dropdown>.hg-nav-link{padding-left:6px!important;padding-right:6px!important;font-size:13px!important}
  .hg-premium-enquire{padding-left:11px!important;padding-right:11px!important;font-size:13px!important}
  .hg-premium-enquire .hg-icon-arrow{display:none!important}
}

/* Home gallery: keep editorial variation but fill the matrix without large white holes. */
.hg-gallery-mosaic{grid-auto-flow:dense!important}
.hg-gallery-mosaic-card:nth-child(1){grid-column:span 2!important;grid-row:span 2!important}
.hg-gallery-mosaic-card:nth-child(4){grid-column:span 1!important;grid-row:span 2!important}
.hg-gallery-mosaic-card:nth-child(7){grid-column:span 2!important;grid-row:span 1!important}
.hg-gallery-mosaic-card:nth-child(9){grid-column:span 1!important;grid-row:span 2!important}
.hg-gallery-page-grid{grid-auto-flow:dense!important}

@media(max-width:980px){
  .hg-gallery-mosaic-card:nth-child(1),.hg-gallery-mosaic-card:nth-child(7){grid-column:span 2!important}
  .hg-gallery-mosaic-card:nth-child(1){grid-row:span 2!important}
  .hg-gallery-mosaic-card:nth-child(4),.hg-gallery-mosaic-card:nth-child(9){grid-row:span 1!important}
}
@media(max-width:620px){
  .hg-gallery-mosaic-card:nth-child(n){grid-column:span 1!important;grid-row:span 1!important}
  .hg-gallery-mosaic-card:nth-child(1){grid-row:span 1!important}
}

/* 2026-10-19 mega-menu spacing refinement */
@media (min-width:981px){
  .ref-drop-menu.hg-premium-mega{
    width:min(790px,calc(100vw - 42px))!important;
    max-height:min(72vh,690px)!important;
  }
  .hg-premium-mega .hg-mega-links{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    column-gap:10px!important;
    row-gap:9px!important;
    padding:14px 14px 16px!important;
  }
  .ref-drop-menu.hg-premium-mega .hg-mega-links>a:not(.hg-mega-feature){
    min-height:68px!important;
    padding:11px 12px!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:10px!important;
    border-radius:12px!important;
    align-items:center!important;
  }
  .ref-drop-menu.hg-premium-mega .hg-mega-links>a.hg-mega-feature{
    min-height:72px!important;
    padding:12px 14px!important;
    grid-template-columns:40px minmax(0,1fr) 20px!important;
    gap:11px!important;
    margin-bottom:2px!important;
  }
  .hg-mega-link-icon{
    width:34px!important;
    height:34px!important;
    border-radius:9px!important;
  }
  .hg-mega-feature .hg-mega-link-icon{
    width:40px!important;
    height:40px!important;
  }
  .ref-drop-menu.hg-premium-mega .hg-mega-links b{
    font-size:13.5px!important;
    line-height:1.28!important;
    letter-spacing:-.01em!important;
  }
  .ref-drop-menu.hg-premium-mega .hg-mega-links small{
    display:block!important;
    margin-top:3px!important;
    font-size:10.5px!important;
    line-height:1.35!important;
  }
  .hg-mega-intro{
    padding:18px 22px 17px!important;
  }
  .hg-mega-foot{
    min-height:50px!important;
    padding:11px 16px!important;
  }
}

@media (min-width:981px) and (max-width:1240px){
  .ref-drop-menu.hg-premium-mega{
    width:min(720px,calc(100vw - 28px))!important;
  }
  .hg-premium-mega .hg-mega-links{
    column-gap:8px!important;
    row-gap:8px!important;
    padding:12px!important;
  }
  .ref-drop-menu.hg-premium-mega .hg-mega-links>a:not(.hg-mega-feature){
    min-height:64px!important;
    padding:10px!important;
  }
  .ref-drop-menu.hg-premium-mega .hg-mega-links b{font-size:13px!important}
  .ref-drop-menu.hg-premium-mega .hg-mega-links small{font-size:10px!important}
}


/* 2026-10-19 compact mega-menu labels: no day metadata + clear bottom breathing room */
@media (min-width:981px){
  .hg-premium-mega .hg-mega-links{
    padding-bottom:28px!important;
    row-gap:11px!important;
  }
  .ref-drop-menu.hg-premium-mega .hg-mega-links>a:not(.hg-mega-feature){
    min-height:58px!important;
    padding:12px 13px!important;
  }
  .ref-drop-menu.hg-premium-mega .hg-mega-links>a:not(.hg-mega-feature) b{
    font-size:13.5px!important;
    line-height:1.3!important;
  }
  .ref-drop-menu.hg-premium-mega .hg-mega-links>a:not(.hg-mega-feature) small{
    display:none!important;
  }
}

/* 2026-10-19 mega-menu visibility fix: reduce rows on wide screens and keep the full menu inside the viewport. */
@media (min-width:1360px){
  .ref-drop-menu.hg-premium-mega{
    width:min(1010px,calc(100vw - 64px))!important;
    max-height:calc(100vh - 168px)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    scrollbar-gutter:stable;
  }
  .hg-premium-mega .hg-mega-links{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    column-gap:12px!important;
    row-gap:10px!important;
    padding:14px 16px 24px!important;
  }
  .ref-drop-menu.hg-premium-mega .hg-mega-links>a:not(.hg-mega-feature){
    min-height:58px!important;
    padding:11px 12px!important;
  }
  .hg-mega-foot{
    position:relative!important;
    margin-top:0!important;
  }
}

@media (min-width:981px) and (max-width:1359px){
  .ref-drop-menu.hg-premium-mega{
    max-height:calc(100vh - 160px)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    scrollbar-gutter:stable;
  }
  .hg-premium-mega .hg-mega-links{
    padding-bottom:30px!important;
  }
}

/* ===== Tour detail layout + price visibility correction (2026-10-19) ===== */
/* Keep the facts block close to the detail content and prevent oversized empty gaps. */
body[data-page="package"] .ref-package-facts,
body.has-mobile-booking .ref-package-facts{
  margin-bottom:30px!important;
}
body[data-page="package"] .ref-package-detail-layout,
body.has-mobile-booking .ref-package-detail-layout{
  gap:38px!important;
  align-items:start!important;
}
body[data-page="package"] .ref-package-detail-layout>aside,
body.has-mobile-booking .ref-package-detail-layout>aside{
  align-self:start!important;
  min-width:0!important;
  height:auto!important;
}
body[data-page="package"] .hg-booking-panel,
body.has-mobile-booking .hg-booking-panel{
  height:auto!important;
  min-height:0!important;
  margin:0!important;
}
body[data-page="package"] .hg-booking-panel>a:last-child,
body.has-mobile-booking .hg-booking-panel>a:last-child{
  margin-bottom:22px!important;
}

/* Prices stay visible but deliberately understated across every tour surface. */
.ref-package-price strong,
.dynamic-card .ref-package-price strong,
.package-card .price strong,
.dynamic-card .price strong{
  font-family:Onest,Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:600!important;
  color:#3E6655!important;
  opacity:1!important;
}
.hg-booking-panel>.price strong,
.ref-booking-panel .price strong{
  font-family:Onest,Arial,sans-serif!important;
  font-size:18px!important;
  line-height:1.3!important;
  font-weight:650!important;
  color:#FFFFFF!important;
  opacity:1!important;
  display:block!important;
  margin-top:5px!important;
}
.hg-cost-card strong{
  font-family:Onest,Arial,sans-serif!important;
  font-size:18px!important;
  line-height:1.3!important;
  font-weight:650!important;
  color:#FFFFFF!important;
  opacity:1!important;
}
.hg-departure-price{
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:600!important;
  color:#3E6655!important;
  opacity:1!important;
}
.hg-mobile-booking>span{
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:550!important;
  color:#123B4A!important;
}

@media(max-width:980px){
  body[data-page="package"] .ref-package-facts,
  body.has-mobile-booking .ref-package-facts{margin-bottom:22px!important}
  body[data-page="package"] .ref-package-detail-layout,
  body.has-mobile-booking .ref-package-detail-layout{gap:24px!important}
}
@media(max-width:700px){
  .hg-booking-panel>.price strong,.ref-booking-panel .price strong,.hg-cost-card strong{font-size:17px!important}
}

/* ===== Final tour-page layout correction: facts + booking CTA alignment (2026-10-19) ===== */
/* The premium theme pulled the facts card upward by -38px. That placed the labels
   behind the sticky package navigation. Keep the card fully below the navigation. */
body[data-page="package"] .hg-package-facts,
body.has-mobile-booking .hg-package-facts{
  margin-top:24px!important;
  margin-bottom:36px!important;
  position:relative!important;
  z-index:3!important;
}

/* Keep anchor targets visible below the sticky header + package sub-navigation. */
body[data-page="package"] .ref-package-main section[id],
body.has-mobile-booking .ref-package-main section[id]{
  scroll-margin-top:165px!important;
}

/* .btn.full is width:100%; combining that with the panel's 28px left/right margins
   made the Register / WhatsApp buttons overrun the card. Let the margins define the
   usable width instead. */
body[data-page="package"] .hg-booking-panel>a.btn.full,
body.has-mobile-booking .hg-booking-panel>a.btn.full{
  width:calc(100% - 56px)!important;
  max-width:calc(100% - 56px)!important;
  box-sizing:border-box!important;
  margin-left:28px!important;
  margin-right:28px!important;
}

/* Keep the compact inquiry form and CTA stack on the same visual grid. */
body[data-page="package"] .hg-booking-panel>.inquiry-form,
body.has-mobile-booking .hg-booking-panel>.inquiry-form{
  width:calc(100% - 56px)!important;
  max-width:calc(100% - 56px)!important;
  box-sizing:border-box!important;
}
body[data-page="package"] .hg-booking-panel>.inquiry-form .btn.full,
body.has-mobile-booking .hg-booking-panel>.inquiry-form .btn.full{
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
body[data-page="package"] .hg-booking-panel>.inquiry-form .consent,
body.has-mobile-booking .hg-booking-panel>.inquiry-form .consent{
  width:100%!important;
  box-sizing:border-box!important;
  margin-left:0!important;
  margin-right:0!important;
}

@media(max-width:980px){
  body[data-page="package"] .hg-package-facts,
  body.has-mobile-booking .hg-package-facts{
    margin-top:18px!important;
    margin-bottom:26px!important;
  }
  body[data-page="package"] .ref-package-main section[id],
  body.has-mobile-booking .ref-package-main section[id]{
    scroll-margin-top:145px!important;
  }
}

@media(max-width:700px){
  body[data-page="package"] .hg-booking-panel>a.btn.full,
  body.has-mobile-booking .hg-booking-panel>a.btn.full{
    width:calc(100% - 40px)!important;
    max-width:calc(100% - 40px)!important;
    margin-left:20px!important;
    margin-right:20px!important;
  }
  body[data-page="package"] .hg-booking-panel>.inquiry-form,
  body.has-mobile-booking .hg-booking-panel>.inquiry-form{
    width:calc(100% - 40px)!important;
    max-width:calc(100% - 40px)!important;
    margin-left:20px!important;
    margin-right:20px!important;
  }
}
