/* CABHIM Batch 2 pilot: tokens sampled from the approved cinematic Home.
   Non-destructive: no scripts, routes, payment/booking or weather are replaced. */
:root{
  --cbh-system-night:#071f1c;
  --cbh-system-pine:#153b30;
  --cbh-system-forest:#183c36;
  --cbh-system-ivory:#fff8e9;
  --cbh-system-warm:#f5efdf;
  --cbh-system-gold:#c3a174;
  --cbh-system-control:#fff7e5;
  --cbh-system-ink:#203226;
  --cbh-system-white:#fffdf6;
  --cbh-system-muted:#e3e9df;
  --cbh-system-radius-sm:8px;
  --cbh-system-radius-control:13px;
  --cbh-system-radius-card:20px;
  --cbh-system-space-1:8px;
  --cbh-system-space-2:16px;
  --cbh-system-space-3:24px;
  --cbh-system-space-4:32px;
  --cbh-system-space-6:48px;
  --cbh-system-shadow:0 4px 0 #a98c67,0 10px 19px #32231923;
  --cbh-system-font:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --cbh-system-display:Georgia,"Times New Roman",serif;
  --cbh-system-text:clamp(15px,1.25vw,17px);
  --cbh-system-heading:clamp(2.25rem,5.5vw,5.5rem);
}
/* Home remains the untouched visual reference; apply refinements to the pilot inner pages. */
body.cbh-shared-shell-v1:not(.cabhim-premium-home){
  background:var(--cbh-system-ivory);
  color:var(--cbh-system-ink);
  font-family:var(--cbh-system-font);
  overflow-x:clip;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .nav{
  background:rgba(8,24,25,.96)!important;
  background-image:none!important;
  color:var(--cbh-system-white)!important;
  border-bottom:1px solid #8c826a80!important;
  box-shadow:0 7px 30px #071f1c45;
  z-index:250;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .nav .navin{
  background:transparent!important;
  color:inherit!important;
  max-width:1480px;
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-inline:auto;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .nav :is(.brand,.links a){
  color:var(--cbh-system-white)!important;
  text-shadow:none!important;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .nav .brand{letter-spacing:.075em}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .nav .brand img{
  width:49px;height:49px;max-width:49px;max-height:49px;object-fit:contain;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .nav .links{
  display:flex;align-items:center;flex-wrap:nowrap;gap:clamp(8px,1vw,18px);
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .nav .links a{
  font-size:clamp(12px,.92vw,14px);line-height:1.25;min-height:44px;
  display:inline-flex;align-items:center;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .nav .links a:is(:hover,:focus-visible){color:#f5d48c!important}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .nav .links .cbh-pay-link{
  color:#f4d9a1!important;
}
@media(max-width:1199px){
  html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .nav .links{display:none!important}
}
@media(max-width:760px){
  html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .nav .navin{padding-inline:16px!important}
}
/* Home-like typography and dark cinematic hero, without replacing route photos. */
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) header.hero.cabhim-cinema-hero{
  background-color:#0b2422!important;
  background-image:linear-gradient(90deg,#071b1ccc,#071b1c68 68%,#071b1c88),var(--cbh-hero-photo)!important;
  background-position:center,center 48%!important;
  background-size:cover,cover!important;
  background-repeat:no-repeat!important;
  color:var(--cbh-system-white)!important;
  border-radius:0!important;
  min-height:clamp(450px,72svh,780px);
  display:flex;align-items:center;
  isolation:isolate;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) header.hero.cabhim-cinema-hero h1{
  font:400 var(--cbh-system-heading)/1.04 var(--cbh-system-display)!important;
  letter-spacing:-.046em;
  text-wrap:balance;
  color:var(--cbh-system-white)!important;
  text-shadow:0 9px 28px #091b1db8;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) header.hero.cabhim-cinema-hero p{
  color:#f1f4ed!important;line-height:1.68;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) header.hero.cabhim-cinema-hero .eyebrow{
  color:#f5d48c!important;letter-spacing:.19em;
}
/* Single CSS-only 3D control system: primary, call, WhatsApp, Pay Now. */
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) :is(header.hero,main) a.btn,
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) :is(header.hero,main) button.btn{
  box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;min-height:48px;max-width:100%;
  padding:12px 18px!important;
  border-radius:var(--cbh-system-radius-control)!important;
  border:1px solid #b99970!important;
  background:linear-gradient(180deg,#fff7e5,#e9d5b1)!important;
  color:#203326!important;
  box-shadow:var(--cbh-system-shadow)!important;
  font:650 var(--cbh-system-text)/1.3 var(--cbh-system-font)!important;
  text-decoration:none!important;text-align:center;
  text-shadow:none!important;
  transform:perspective(900px) translateY(0) rotateX(0);
  transform-style:preserve-3d;
  touch-action:manipulation;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) :is(header.hero,main) :is(a.btn,button.btn):is(:hover,:focus-visible){
  filter:brightness(1.045);transform:perspective(900px) translateY(-2px) rotateX(2deg);
  box-shadow:0 6px 0 #a98c67,0 13px 24px #3223192c!important;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) :is(header.hero,main) :is(a.btn,button.btn):active{
  transform:perspective(900px) translateY(3px) rotateX(-2deg);
  box-shadow:0 1px 0 #a98c67,0 4px 10px #32231928!important;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) :is(header.hero,main) a.btn.whatsapp{
  background:linear-gradient(180deg,#1a9856,#087b43)!important;
  border-color:#126c41!important;color:#fff!important;
  box-shadow:0 4px 0 #07592f,0 10px 19px #063d2440!important;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) :is(header.hero,main) a.btn[href^="tel:"]{
  background:linear-gradient(180deg,#245b4c,#153b30)!important;
  border-color:#264739!important;color:#fff!important;
  box-shadow:0 4px 0 #092d26,0 10px 19px #071f1c48!important;
}
html body.cbh-shared-shell-v1 :is(a,button,summary):focus-visible{
  outline:3px solid #f5d48c!important;outline-offset:4px!important;
}
/* Floating Pay Now stays on LEFT, existing chat button stays on RIGHT. */
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) a.cabhim-payment-entry{
  box-sizing:border-box!important;
  position:fixed!important;
  left:calc(14px + env(safe-area-inset-left))!important;
  right:auto!important;
  bottom:calc(30px + env(safe-area-inset-bottom))!important;
  top:auto!important;
  min-height:48px!important;
  min-width:108px!important;
  max-width:min(43vw,180px)!important;
  padding:10px 15px!important;
  display:inline-flex!important;align-items:center;justify-content:center;
  border:1px solid #aa8a5c!important;border-radius:13px!important;
  background:linear-gradient(180deg,#fff7e5,#e9d5b1)!important;
  color:#23362a!important;
  box-shadow:var(--cbh-system-shadow)!important;
  font:650 14px/1.2 var(--cbh-system-font)!important;
  text-decoration:none!important;
  visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  z-index:2147482990!important;
  transform:none!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) a.cabhim-payment-entry:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 6px 0 #a98c67,0 13px 24px #3223192c!important;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) a.cabhim-payment-entry:active{transform:translateY(3px)!important}
/* Render the existing Quick Chat launcher as the Home-style droid, but preserve its own click handlers. */
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch{
  position:fixed!important;left:auto!important;
  right:calc(19px + env(safe-area-inset-right))!important;
  bottom:calc(34px + env(safe-area-inset-bottom))!important;
  width:70px!important;height:70px!important;
  min-width:70px!important;min-height:70px!important;
  display:grid!important;place-items:center!important;
  box-sizing:border-box!important;
  background:radial-gradient(circle at 35% 16%,#69eafe,#168bd6 54%,#32368a 100%)!important;
  border:2px solid #98efff!important;border-radius:50%!important;
  box-shadow:0 10px 35px #075998af,inset 0 3px 13px #fff8,0 0 0 4px #b2ffff33!important;
  z-index:2147483000!important;
  transform:perspective(180px) translateY(0);
  transition:transform .18s ease!important;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch:hover{transform:perspective(180px) translateY(-3px) rotateY(5deg)!important}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .chb-dot{right:0;top:0;z-index:5}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid{
  position:relative;display:block;width:61px;height:66px;transform:scale(.8) perspective(180px) rotateY(-13deg);
  transform-origin:center;filter:drop-shadow(1px 6px 6px #04325a99);
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid .ant{position:absolute;top:1px;left:29px;width:4px;height:14px;border-radius:3px;background:linear-gradient(90deg,#8bc0fa,#fff,#66b7e6)}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid .ant::before{content:"";position:absolute;top:-4px;left:-4px;width:12px;height:12px;border-radius:50%;background:#ffe379;box-shadow:0 0 11px #ffe06f}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid .ear{position:absolute;top:29px;width:10px;height:19px;background:linear-gradient(110deg,#fff,#5bbdea);border:2px solid #5c7fba;border-radius:7px}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid .ear.left{left:0}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid .ear.right{right:0}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid .head{position:absolute;top:13px;left:5px;width:51px;height:40px;border:3px solid #e3faff;border-radius:18px 18px 16px 16px;background:linear-gradient(145deg,#fff 0%,#d3f8ff 38%,#80c7f2 83%,#6a79cf 100%);box-shadow:inset -5px -4px 7px #3652a46b,inset 4px 5px 7px #fff,0 5px 0 #6085d1}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid .eyes{display:flex;justify-content:center;gap:12px;margin-top:11px}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid .eyes i{display:block;width:10px;height:13px;border-radius:50%;background:#08b9ff;box-shadow:0 0 8px #20d9ff,inset 2px 2px 2px #fff8}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid .mouth{width:17px;height:7px;border-bottom:3px solid #3b7dbf;border-radius:0 0 60% 60%;margin:1px auto}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid .body{position:absolute;left:16px;right:16px;bottom:2px;height:11px;border:2px solid #bbecfc;border-radius:5px 5px 12px 12px;background:linear-gradient(90deg,#569ad7,#cbefff,#628bd3);box-shadow:0 3px 4px #174b85aa}
/* The existing WhatsApp quick-booking widget is a separate functional control.
   Move it ABOVE the robot, never beneath it. Both forms still work. */
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #cabhim-booking-launcher{
  position:fixed!important;left:auto!important;
  right:calc(21px + env(safe-area-inset-right))!important;
  bottom:calc(125px + env(safe-area-inset-bottom))!important;
  width:58px!important;height:58px!important;
  min-width:58px!important;min-height:58px!important;
  z-index:2147482980!important;
  background:#153b30!important;color:#fff!important;
  border:1px solid #b99970!important;
  box-shadow:0 4px 0 #0b2921,0 10px 21px #071f1c55!important;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #cabhim-booking-label{
  position:fixed!important;right:calc(88px + env(safe-area-inset-right))!important;
  bottom:calc(135px + env(safe-area-inset-bottom))!important;
  max-width:150px!important;z-index:2147482975!important;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #cabhim-booking-panel.cabhim-open{
  z-index:2147483010!important;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home):has(#cabhim-booking-panel.cabhim-open) :is(a.cabhim-payment-entry,#chb-launch),
html body.cbh-shared-shell-v1:not(.cabhim-premium-home):has(#chb-panel.chb-open) :is(#cabhim-booking-launcher,#cabhim-booking-label),
html body.cbh-shared-shell-v1:not(.cabhim-premium-home).cbh-menu-open :is(#cabhim-booking-launcher,#cabhim-booking-label){
 visibility:hidden!important;opacity:0!important;pointer-events:none!important;
}
/* Chat panel must cover the launch controls when opened. Hide Pay Now only while panel/menu is open. */
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-panel.chb-open{z-index:2147483010!important}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home):has(#chb-panel.chb-open) a.cabhim-payment-entry,
html body.cbh-shared-shell-v1:not(.cabhim-premium-home).cbh-menu-open a.cabhim-payment-entry,
html body.cbh-shared-shell-v1:not(.cabhim-premium-home).cbh-menu-open #chb-launch{
  visibility:hidden!important;opacity:0!important;pointer-events:none!important;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .footer{
  background:var(--cbh-system-night)!important;color:var(--cbh-system-white)!important;
  padding-bottom:calc(130px + env(safe-area-inset-bottom));
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .footer :is(a,p,h2,h3,span,strong){color:var(--cbh-system-white)!important}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .cabhim-footer-wrap{max-width:1250px;margin-inline:auto}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .cbh-official-footer-contact{
  max-width:100%;margin-block:16px;padding:16px 18px;border:1px solid #a48e6870;
  border-radius:var(--cbh-system-radius-control);background:#14382f;
  line-height:1.7;
}
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .cabhim-footer-social a,
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) .cbh-official-footer-contact a{
  display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px;
}
@media(max-width:370px){
  html body.cbh-shared-shell-v1:not(.cabhim-premium-home) a.cabhim-payment-entry{left:10px!important;min-width:98px!important;padding:10px 11px!important}
  html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch{right:14px!important;width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important}
}
@media(prefers-reduced-motion:reduce){
  html body.cbh-shared-shell-v1 :is(a.btn,button.btn,a.cabhim-payment-entry,#chb-launch){transition:none!important;animation:none!important;transform:none!important}
}

/* CABHIM glass-control v2 — matches Pay Now and both existing robot launchers.
   Decorative only: deliberately does not change positioning, action, aria,
   panel visibility, pointer-events, z-index, size or booking/payment logic. */
:root{
  --cbh-control-glass:rgba(13,43,43,.62);
  --cbh-control-gold:rgba(244,204,132,.87);
  --cbh-control-edge:rgba(224,244,230,.48);
  --cbh-control-deep:rgba(4,28,29,.48);
}
html body.cbh-shared-shell-v1 a.cabhim-payment-entry,
html body.cbh-shared-shell-v1 a.cbh-pay-link{
  background:linear-gradient(157deg,rgba(251,226,166,.24),rgba(18,77,65,.70) 44%,rgba(7,35,39,.82))!important;
  color:#fff9ed!important;
  border:1px solid var(--cbh-control-gold)!important;
  border-radius:19px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.48),
             inset 0 -5px 13px rgba(4,26,29,.36),
             0 7px 0 rgba(6,42,40,.75),
             0 15px 27px var(--cbh-control-deep),
             0 0 17px rgba(222,179,95,.17)!important;
  -webkit-backdrop-filter:blur(15px) saturate(1.38);
  backdrop-filter:blur(15px) saturate(1.38);
  transform-style:preserve-3d;
  transition:transform .26s cubic-bezier(.2,.8,.2,1),box-shadow .26s ease,
             border-color .26s ease!important;
  text-shadow:0 1px 2px rgba(0,0,0,.37);
}
html body.cbh-shared-shell-v1 a.cabhim-payment-entry:hover,
html body.cbh-shared-shell-v1 a.cbh-pay-link:hover{
  transform:perspective(480px) translateY(-3px) rotateX(5deg)!important;
  border-color:#ffe4ad!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 9px 0 rgba(6,42,40,.75),
             0 20px 30px rgba(4,28,29,.45),0 0 24px rgba(238,196,110,.28)!important;
}
html body.cbh-shared-shell-v1 a.cabhim-payment-entry:active,
html body.cbh-shared-shell-v1 a.cbh-pay-link:active{
  transform:translateY(3px) scale(.98)!important;
  box-shadow:inset 0 2px 8px rgba(2,22,24,.48),0 2px 0 rgba(6,42,40,.7),
             0 6px 16px rgba(4,28,29,.36)!important;
}
/* Robot on Home and the existing separate quick-chat launchers elsewhere. */
html body.cbh-shared-shell-v1 #cbh-trip-robot .cbh-robot-fab,
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch{
  background:radial-gradient(ellipse at 30% 8%,rgba(246,254,246,.34),transparent 45%),
             linear-gradient(155deg,rgba(29,116,115,.77),rgba(7,45,58,.65) 58%,rgba(9,36,57,.82))!important;
  border:1.5px solid var(--cbh-control-edge)!important;
  border-radius:50%!important;
  box-shadow:inset 0 2px 1px rgba(255,255,255,.50),
             inset 0 -9px 15px rgba(4,27,41,.4),
             0 7px 0 rgba(6,42,40,.76),
             0 17px 30px var(--cbh-control-deep),
             0 0 0 3px rgba(243,204,129,.17)!important;
  -webkit-backdrop-filter:blur(15px) saturate(1.38);
  backdrop-filter:blur(15px) saturate(1.38);
  transform-style:preserve-3d;
  transition:transform .27s cubic-bezier(.2,.8,.2,1),
             box-shadow .27s ease!important;
  animation:cbh-glass-robot-glow 4.6s ease-in-out infinite!important;
}
html body.cbh-shared-shell-v1 #cbh-trip-robot .cbh-robot-fab:hover,
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch:hover{
  transform:perspective(400px) translateY(-4px) rotateY(-5deg)!important;
  box-shadow:inset 0 2px 1px rgba(255,255,255,.57),
             0 9px 0 rgba(6,42,40,.7),0 22px 34px rgba(4,28,29,.52),
             0 0 0 4px rgba(243,204,129,.25)!important;
}
html body.cbh-shared-shell-v1 #cbh-trip-robot .cbh-robot-fab:active,
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch:active{
  transform:translateY(3px) scale(.96)!important;
}
html body.cbh-shared-shell-v1 #cbh-trip-robot .cbh-droid,
html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch .cbh-droid{
  filter:drop-shadow(0 5px 6px rgba(0,18,33,.44)) saturate(1.07);
}
@keyframes cbh-glass-robot-glow{
  0%,100%{filter:drop-shadow(0 0 0 rgba(137,232,207,0))}
  50%{filter:drop-shadow(0 0 7px rgba(137,232,207,.23))}
}
@media(prefers-reduced-motion:reduce){
  html body.cbh-shared-shell-v1 #cbh-trip-robot .cbh-robot-fab,
  html body.cbh-shared-shell-v1:not(.cabhim-premium-home) #chb-launch{
    animation:none!important;transition:none!important;filter:none!important;
  }
  html body.cbh-shared-shell-v1 a.cabhim-payment-entry,
  html body.cbh-shared-shell-v1 a.cbh-pay-link{
    transition:none!important;transform:none!important;
  }
}
html body.cbh-shared-shell-v1.cbh-voice-only a.cabhim-payment-entry{
  left:calc(12px + env(safe-area-inset-left))!important;right:auto!important;
  bottom:calc(22px + env(safe-area-inset-bottom))!important;max-width:calc(100vw - 125px)!important;
}
html body.cbh-shared-shell-v1.cbh-voice-only :is(#chb-launch,#chb-panel,#cbh-trip-robot){
  display:none!important;visibility:hidden!important;pointer-events:none!important
}
@media(max-width:390px){
  html body.cbh-shared-shell-v1.cbh-voice-only a.cabhim-payment-entry{left:10px!important;font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){
}
