/* =====================================================================
   BookMeriGadi client portal — website layout on top of the app styles.
   Phones: exactly the app. Desktop (1024px+): left menu, wide content,
   centred dialogs, split login screen.
   ===================================================================== */
body.web{user-select:auto}
body.web button,body.web a,body.web [data-pkg],body.web [data-sd]{cursor:pointer}
#wside{display:none}
.hswrap{position:relative}
.hsa{display:none}
body.web .hs{scrollbar-width:thin}
/* tablets: keep the app column readable */
@media (min-width:640px) and (max-width:1023px){
  body.web .view{padding-left:max(0px,calc((100% - 640px)/2));padding-right:max(0px,calc((100% - 640px)/2))}
  body.web .sheet{left:calc(50% - 320px);right:auto;width:640px}
}
@media (min-width:1024px){
  :root{--side:276px;--cw:1120px}
  body.web{background:#E8EDF3}
  body.web #wside{display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;width:var(--side);z-index:30;background:#fff;border-right:1px solid var(--line);overflow-y:auto;box-shadow:6px 0 30px rgba(21,32,58,.05)}
  #wside .dwh{padding:22px 18px 18px}
  #wside .dwb{flex:1;padding:6px 10px 10px}
  #wside .dwb button{padding:8px 8px;border-radius:12px}
  #wside .dwb button:hover{background:var(--bg)}
  #wside .dwb button.on{background:var(--goldt)}
  #wside .dwb button.on .di{background:var(--p);color:#fff}
  #wside .dwf{padding:12px 18px 18px}
  body.web #stage{margin-left:var(--side)}
  body.web #nav{display:none!important}
  body.web #hMenu{display:none}
  body.web .view{padding-left:max(28px,calc((100% - var(--cw))/2));padding-right:max(28px,calc((100% - var(--cw))/2));padding-bottom:130px}
  body.web .view.sub{padding-bottom:150px}
  body.web .topbar{padding-top:16px;background:color-mix(in srgb,#E8EDF3 92%,transparent)}
  body.web .abar{left:var(--side);padding-left:max(28px,calc((100vw - var(--side) - var(--cw))/2));padding-right:max(28px,calc((100vw - var(--side) - var(--cw))/2))}
  body.web .sheet{left:calc(var(--side) + (100vw - var(--side) - 620px)/2);right:auto;width:620px;bottom:28px;border-radius:24px;max-height:88vh}
  body.web #drawer{display:none}
  body.web #toast{left:calc(var(--side) + 20px)}
  /* home */
  body.web .hero3{border-radius:0 0 30px 30px;padding:26px 36px 92px}
  body.web .hero3 h2{font-size:30px}
  body.web .hero3 .hcover{aspect-ratio:3/1;max-height:340px}
  body.web .seg-card{margin-left:36px;margin-right:36px}
  /* lists become grids */
  body.web .plist{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));padding:0 4px;gap:20px}
  body.web .sdlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
  body.web .pad{padding-left:4px;padding-right:4px}
  body.web .pc{flex-basis:300px}
  body.web .prm2{flex-basis:236px}
  body.web .bn.bn2{flex-basis:520px;max-width:520px}
  body.web .hsa{display:flex;position:absolute;top:calc(50% - 26px);z-index:4;width:40px;height:40px;border-radius:50%;border:0;background:#fff;color:var(--ink);align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(21,32,58,.18)}
  body.web .hsa.l{left:-6px}body.web .hsa.r{right:-6px}
  body.web .hsa:hover{background:var(--ink);color:#fff}
  /* package & group pages */
  body.web .dhero{aspect-ratio:auto!important;height:440px;max-height:none;border-radius:0 0 26px 26px}
  body.web .dbody{padding-left:4px;padding-right:4px}
  body.web .dbody .dcap h1{font-size:24px}
  body.web .facts{max-width:none}
  /* welcome / login: brand on the left, form on the right */
  body.web #onboard.ob2{flex-direction:row}
  body.web #onboard .obscene{flex:1;min-height:0}
  body.web #onboard .obsheet{flex:0 0 480px;max-height:none;border-radius:0;display:flex;flex-direction:column;justify-content:center;padding:48px 44px;animation:none;overflow-y:auto}
  body.web #onboard .obsheet .grab{display:none}
  body.web #onboard .obsheet h1{font-size:30px}
  body.web #onboard .obname{font-size:44px}
  body.web #onboard .oblogo{width:96px;height:96px}
  body.web #onboard.done .obsheet{transform:none}
  /* offer popup + gallery */
  body.web #offer .ofc{max-width:460px}
  body.web #lb .lbs figure img{max-height:80vh;object-fit:contain}
}
@media (min-width:1440px){
  :root{--cw:1240px}
  body.web .plist{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1024px){
  body.web .vgrid3{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
  body.web .vcard2{flex-basis:220px;max-width:220px}
  body.web .vcard2.wide{max-width:none}
  body.web .socband{margin:0 4px;flex-direction:row;align-items:center}
  body.web .socband>div:first-child{flex:1}
  body.web #vplay{left:var(--side)}
}
/* v1.7 travel search on desktop */
@media (min-width:900px){
  body.web .trod{display:grid;grid-template-columns:1fr 1fr;column-gap:14px}
  body.web .trod .trbox{padding-right:14px}
  body.web .trod .trswap{left:50%;right:auto;top:31px;margin:0;transform:translate(-50%,-50%)}
  body.web .trod .trswap .fa-rotate-90{transform:none}
  body.web .trcard{padding:20px}
  body.web .trstrip .trgrid button{flex-direction:row;gap:10px}
}
