/* BHROMI responsive/adaptive layer. Loaded LAST. Every rule below is gated by
   min-width, so phone layouts (<768px) are untouched. */

/* ---- Fixes for utilities missing/overridden in the compiled CSS ---- */
.w2g-arr{display:none}
.hguide-d{display:none}
.sf-trip,.sf-trend{display:none}   /* Home stays form extras: desktop only */  /* Where2Go desktop arrows (created by w2g-auto.js) */
@media (min-width:768px){
  .relative.hidden.md\:block{display:block}   /* header account menu was never shown on desktop */
  .bh-dock{display:none}                      /* phone bottom dock: .bh-dock{display:grid} beat .md:hidden */
  .bh-hl-fab{bottom:24px}
  .sr-fab{left:auto;right:24px;bottom:84px;transform:none}  /* stop overlapping result cards */
}

/* ---- Homepage: hero + search ---- */
@media (min-width:768px){
  .is-home .home-top>div{max-width:1200px;margin-left:auto;margin-right:auto}
  .is-home .home-top>div.homepage-hero{margin:0 auto!important;padding:84px 24px 16px!important}
  .is-home .homepage-hero-sub{max-width:34rem}
}
@media (min-width:1024px){
  .is-home .home-top>div.homepage-hero{padding-left:32px!important;padding-right:32px!important}
  .is-home .home-top>div:not(.homepage-hero){max-width:860px}      /* service shortcuts */
  .is-home .search-form-card{
    display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1.35fr) minmax(0,1.5fr) auto;
    gap:8px;align-items:stretch;padding:12px}
  .is-home .search-form-card>*{min-width:0}
  .is-home .search-form-card .sf-search{padding-left:24px;padding-right:48px;white-space:nowrap;position:relative}
}


/* ---- Service request/search pages: don't leave a phone-width card in a desktop canvas ---- */
@media (min-width:1024px){
  .rf-card{max-width:900px!important;margin-left:0;margin-right:auto}
  main .mt-5.max-w-2xl.mx-auto{max-width:56rem}
  main form.container-page>.rf-card .sf-field,main form.container-page>.rf-card .sf-search{min-width:0}
}

/* ---- Wider containers on big monitors ---- */
@media (min-width:1600px){
  .container-page,.sm\:container-page{max-width:1440px}
  .is-home .home-top>div.homepage-hero{max-width:1440px}
}
@media (min-width:2200px){
  .container-page,.sm\:container-page{max-width:1760px}
  .is-home .home-top>div.homepage-hero{max-width:1760px}
}

/* ---- Very large screens / TV browsers: scale rem-based type & spacing ---- */
@media (min-width:2200px){ html{font-size:112.5%} }
@media (min-width:3000px){ html{font-size:150%} .container-page,.sm\:container-page{max-width:2400px} }

/* ---- Keyboard / remote-control focus visibility ---- */
a:focus-visible,button:focus-visible,[role=button]:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{
  outline:3px solid #2563eb;outline-offset:2px}
@media (hover:none){ .hover-only{opacity:1!important;visibility:visible!important} }
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ---- Hotel detail: phone column -> desktop layout (>=1024px) ---- */
@media (min-width:768px){
  .bhd{max-width:720px}
  .bhd-bar-in{max-width:720px}
  .bhd-sheet{max-width:560px;border-radius:16px}
}
@media (min-width:1024px){
  body:has(.bhd){background:var(--hd-page,#eef2f7)}
  .bhd{max-width:1180px;background:transparent}
  .bhd-top{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);column-gap:28px;align-items:start;padding-top:16px;background:transparent}
  .bhd-hero{grid-column:1;grid-row:1 / span 4;height:auto;aspect-ratio:16/10;border-radius:16px;overflow:hidden}
  .bhd-thumbs{grid-column:1;grid-row:5;padding:12px 0 0;background:transparent;display:flex;gap:10px;overflow-x:auto}
  .bhd-th{flex:0 0 112px;width:112px;height:78px;min-width:0}
  .bhd-quick{overflow-x:auto;flex-wrap:nowrap}
  .bhd-sum{right:max(24px,calc((100vw - 1180px)/2));left:auto;bottom:100px}
  .bhd-title,.bhd-quick,.bhd-rate,.bhd-hl{grid-column:2;min-width:0;margin-left:0;margin-right:0}
  .bhd-sent,.bhd-dtabs{max-width:100%}
  .bhd-body{padding:4px 0 8px}
  .bhd-main>.bhd-body{padding:0 0 8px}
  .bhd-bar-in,.bhd-bar-in.rv{max-width:760px;margin:0 auto 12px;border-radius:16px;min-height:72px}
}
@media (min-width:1600px){ .bhd{max-width:1360px} .bhd-bar-in,.bhd-bar-in.rv{max-width:880px} }

/* ---- Hotel detail: room cards as side-by-side cards on desktop ---- */
@media (min-width:1024px){
  .bhd-zm{margin-left:0;margin-right:0;width:100%}
  .bhd-rooms{display:grid;gap:20px;margin:0;padding:0}
  .bhd-rc{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);column-gap:24px;align-items:start;padding:16px;border-radius:16px}
  .bhd-rc>*{min-width:0;grid-column:2}
  .bhd-rc>.bhd-rc-hero{grid-column:1;grid-row:1 / span 3;width:100%;height:auto;min-height:230px;align-self:stretch;border-radius:12px;overflow:hidden}
  .bhd-rc>.bhd-rc-th{grid-column:1;grid-row:4;align-self:start;display:flex;gap:8px;overflow-x:auto}
  .bhd-rc>.bhd-rc-th>*{flex:0 0 72px;width:72px;height:52px}
  .bhd-rc>.bhd-v-card,.bhd-rc>.bhd-yr,.bhd-rc>.bhd-rc-act{margin-left:0;margin-right:0;width:auto}
  .bhd-rc>.bhd-rc-act{justify-self:end;min-width:260px}
}

/* ---- Account: sidebar + content on desktop ---- */
@media (min-width:1024px){
  .acc-page{max-width:1120px!important;display:grid;grid-template-columns:260px minmax(0,1fr);column-gap:24px;align-items:start}
  .acc-page>.acc-hero{grid-column:1 / -1;border-radius:0 0 16px 16px}
  .acc-page>.acc-nav{grid-column:1;position:sticky;top:72px;margin:16px 0 0}
  .acc-page>.acc-nav .acc-row4,.acc-page>.acc-nav .acc-row3{display:flex;flex-direction:column;gap:4px}
  .acc-page>.acc-nav .acc-item{flex-direction:row;justify-content:flex-start;gap:12px;width:100%;min-height:48px;padding:8px 12px}
  .acc-page>.acc-main{grid-column:2;margin-top:8px;min-width:0}
  .acc-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ---- Tailwind arbitrary-value classes used in the JS but absent from the compiled CSS ----
   (gated to >=768px so the phone layout stays exactly as it was) */
@media (min-width:768px){
  .h-\[18px\]{height:18px}.w-\[18px\]{width:18px}
  .h-\[79px\]{height:79px}.h-\[120px\]{height:120px}
  .min-h-\[20px\]{min-height:20px}.min-w-\[3ch\]{min-width:3ch}
  .max-w-\[200px\]{max-width:200px}.max-w-\[55\%\]{max-width:55%}.max-w-\[60\%\]{max-width:60%}
  .aspect-\[16\/10\]{aspect-ratio:16/10}
  .attr-chips{align-items:flex-start}
}
@media (min-width:1024px){.sm\:aspect-\[16\/9\]{aspect-ratio:16/9}}

/* ---- Tours: widen the phone-width column on desktop ---- */
@media (min-width:1024px){
  .tr-hero-in,.tr-wrap{max-width:1120px!important}
  .tr-card{max-width:860px!important;margin-left:max(24px,calc((100% - 1120px)/2 + 16px))!important;margin-right:auto!important}
  .tr-sub{max-width:36rem!important}
}
/* ---- Packages / Experiences / Events request cards ---- */
@media (min-width:1024px){
  main .max-w-2xl.mx-auto{max-width:56rem}
}

/* ---- Filters dialog: wider on tablet/desktop, still a centred dialog ---- */
@media (min-width:768px){ .fp-sheet{max-width:560px!important;width:min(560px,calc(100vw - 48px))!important;max-height:min(88vh,860px)} }
@media (min-width:1280px){ .fp-sheet{max-width:640px!important;width:640px!important} }

/* ---- Desktop: no mobile bottom tab bar (the header account menu has Home / Saved / Bookings / Account) ---- */
@media (min-width:1024px){
  .bh-dock{display:none!important}   /* bhromi-shell.css .bh-dock{display:flex} loads before this and beat the 768px rule */
  .is-home footer.bg-ink{padding-bottom:24px}   /* was reserved for the dock */
  body:has(.bh-dock) .bhx-ftr{padding-bottom:18px}
}

/* ---- Desktop header: solid + sticky on every page (home included), minimal on the booking flow ---- */
@media (min-width:1024px){
  .bhx-hdr,.is-home .bhx-hdr{position:sticky!important;top:0;left:auto;right:auto;
    background:#fff!important;box-shadow:0 1px 0 rgba(150,165,205,.35),0 6px 16px -8px rgba(10,40,100,.14)}
  .bhx-hdr .bhx-bar{border-radius:0;box-shadow:none}
  /* the hero used to slide under a fixed header; it now sits below it */
  body.is-home .home-top:not(.home-top-rentals)>div.homepage-hero,body.is-home .home-top>div.homepage-hero{padding-top:36px!important;padding-bottom:24px!important;height:auto!important}   /* was a fixed 165px: the 2-line title ran under the service tiles */

  /* booking / review / payment (body.brv-on): back arrow beside the logo (see desktop-header.js) */
  body.brv-on .brv-top .brv-back{visibility:hidden}   /* header back arrow replaces it (same action) */
  .bhx-hdr-back{display:none}
  body.brv-on .bhx-hdr-back{display:inline-flex;align-items:center;justify-content:center;
    width:40px;height:40px;margin:0 4px 0 -8px;border:0;border-radius:50%;background:transparent;color:var(--bhx-ink,#0b1437);cursor:pointer}
  body.brv-on .bhx-hdr-back:hover{background:var(--bhx-soft,#eef3fb)}
  body.brv-on .bhx-hdr-back svg{width:22px;height:22px}
  body:is(.brv-on,.bcf-on) .bhx-bar>.bhx-logo{margin-right:auto}
  body:is(.brv-on,.bcf-on) .bhx-nav{margin-left:0}
}
@media (max-width:1023px){.bhx-hdr-back{display:none!important}}

/* ---- Desktop home: service tiles dock into the header once the tiles block has scrolled away (assets/header-tiles.js) ---- */
.bhx-tilerow{display:none}
@media (min-width:1024px){
  .bhx-tilerow{display:flex;flex:0 0 0;width:0;overflow:hidden;min-width:0;align-items:center;justify-content:center;gap:0;margin:0;
    opacity:0;visibility:hidden;transform:translateY(-6px);pointer-events:none;
    transition:opacity .28s ease,transform .28s ease,visibility 0s linear .28s}
  .bhx-hdr.bhx-tiles-on .bhx-tilerow{flex:1 1 0;width:auto;margin:0 6px;opacity:1;visibility:visible;transform:none;pointer-events:auto;
    transition:opacity .28s ease .06s,transform .28s ease .06s,visibility 0s}
  /* the text links give way to the tile row while it is shown */
  .bhx-hdr .bhx-nav{transition:opacity .2s ease}
  .bhx-hdr.bhx-tiles-on .bhx-nav{opacity:0;visibility:hidden;position:absolute;pointer-events:none}
  .bhx-tr{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;flex:0 1 auto;min-width:0;
    height:52px;padding:8px 9px 0;border:0;border-radius:12px;background:transparent;color:#25304f;cursor:pointer;font:inherit}
  .bhx-tr:hover{background:var(--bhx-soft,#eef3fb)}
  .bhx-tr[aria-pressed="true"]{background:var(--bhx-soft,#eef3fb);color:var(--bhx-blue-d,#10163f)}
  .bhx-tr:focus-visible{outline:2px solid var(--bhx-blue,#2572f0);outline-offset:1px}
  .bhx-tr__ic{display:block;flex:none;width:var(--iw);height:var(--ih);max-height:20px;margin:calc((20px - var(--ih))/2) 0 calc((20px - var(--ih))/2 + 2px);background:currentColor;
    -webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
  .bhx-tr__tx{font-size:10.5px;line-height:12px;font-weight:500;white-space:nowrap;letter-spacing:-.005em}
}
@media (min-width:1024px) and (max-width:1279px){
  .bhx-tr__tx{display:none}.bhx-tr{height:44px;padding:0 10px}   /* narrow desktops: icons only (name in tooltip / aria-label) */
}
@media (prefers-reduced-motion:reduce){.bhx-tilerow,.bhx-hdr .bhx-nav{transition:none!important}}

/* ---- Desktop home: use the screen width. Sections below the hero share one 1280px container ---- */
@media (min-width:1024px){
  body.is-home .bg-sand>section{max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;
    padding-left:24px!important;padding-right:24px!important;box-sizing:border-box}
  body.is-home .hbn-sec .hbn-wrap{max-width:none!important;padding:0}
  body.is-home .hbn-sec{padding-left:24px!important;padding-right:24px!important}
  /* how-to cards: 3 across under the heading banner instead of 3 stacked full-width images */
  /* v1.2.36 how-to: smaller heading, 3 real HTML cards (image kept for mobile only) */
  body.is-home .hguide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:20px;row-gap:12px;align-items:stretch}
  body.is-home .hguide>.hguide-headwrap{grid-column:1/-1;max-width:460px;margin:0 auto 0 0}
  body.is-home .hguide-card{display:flex;box-sizing:border-box;background:#fff;border:1px solid #DCE6F5;border-radius:20px;padding:12px;
    box-shadow:0 6px 20px rgba(14,47,107,.08);cursor:pointer;line-height:1.3;text-decoration:none;color:#0b1b45;
    transition:transform .18s ease,box-shadow .18s ease}
  body.is-home .hguide-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(14,47,107,.16)}
  body.is-home .hguide-card:active{transform:translateY(-1px);filter:none}
  body.is-home .hguide-card:focus-visible{outline:3px solid #045ff4;outline-offset:2px;border-radius:20px}
  body.is-home .hguide-card .hguide-img-m{display:none}
  .hguide-d{display:flex;align-items:stretch;gap:10px;width:100%;min-width:0}
  .hguide-dtx{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:6px 0 6px 6px}
  .hguide-num{display:inline-grid;place-items:center;min-width:38px;height:28px;padding:0 10px;border-radius:999px;box-sizing:border-box;
    font:800 14px/1 Inter,system-ui,sans-serif;color:#fff;background:var(--hg,#2a6df4);margin-bottom:10px}
  .hguide-dt{margin:0 0 6px;font-size:20px;line-height:1.3;font-weight:800;color:#0b1b45;letter-spacing:-.01em}
  .hguide-dd{margin:0 0 14px;font-size:14.5px;line-height:1.5;font-weight:400;color:#51607f;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .hguide-dbtn{margin-top:auto;display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 16px 0 12px;border-radius:999px;background:var(--hg,#2a6df4);
    color:#fff;font:700 14px/1 Inter,"Noto Sans Bengali",system-ui,sans-serif;white-space:nowrap}
  .hguide-dbtn svg{width:16px;height:16px;padding:3px;box-sizing:content-box;border-radius:50%;background:#fff;color:var(--hg,#2a6df4)}
  .hguide-art{flex:0 0 42%;width:42%;min-width:0;height:auto;align-self:stretch;object-fit:cover;object-position:32% center;border-radius:14px;display:block}
  .hguide-c1{--hg:#2a6df4}.hguide-c2{--hg:#e9a40c}.hguide-c3{--hg:#7a2fe0}
  .hguide-c2 .hguide-dbtn{color:#201500}.hguide-c2 .hguide-dbtn svg{color:#e9a40c}
  /* Home promo banner: compact height, text clear of the arrows */
  body.is-home .hbn-slide{height:200px;aspect-ratio:auto}
  body.is-home .hbn-card{padding:0 72px}
  body.is-home .hbn .hbn-arr{width:40px;height:40px}
  body.is-home .hbn .hbn-arr svg{width:20px;height:20px}
  body.is-home .hbn .ex-arr-l{left:16px}body.is-home .hbn .ex-arr-r{right:16px}
  body.is-home .hbn-txt{gap:4px}
  body.is-home .hbn-txt strong{font-size:26px;line-height:30px}
  body.is-home .hbn-txt small{font-size:15px;line-height:19px}
  body.is-home .hbn-cta{margin-top:4px;padding:4px 14px;font-size:14px;line-height:18px}
  body.is-home .hbn-dots{bottom:8px}
  /* align with the other Home sections (same 24px side padding) */
  body.is-home .bg-sand>section.hbn-sec{padding-left:24px!important;padding-right:24px!important}
  /* picture slide has its text baked in (4.3:1): show it whole, centred, on a soft blurred copy of itself */
  body.is-home .hbn-slide:has(>img){position:relative;overflow:hidden;background:#d8dadb}
  body.is-home .hbn-slide:has(>img)::before,body.is-home .hbn-slide:has(>img)::after{content:"";position:absolute;top:0;bottom:0;width:50%}
  body.is-home .hbn-slide:has(>img)::before{left:0;background:linear-gradient(180deg,#bfdcf0 0%,#bed5e5 14%,#d8dadb 28%,#ecd5c5 42%,#e0c2b3 57%,#ada8ab 71%,#669bb9 85%,#a5c1d1 100%)}
  body.is-home .hbn-slide:has(>img)::after{right:0;background:linear-gradient(180deg,#78776e 0%,#ab754f 14%,#714025 28%,#381a08 42%,#7b3c13 57%,#583015 71%,#5a392c 85%,#a08b7c 100%)}
  body.is-home .hbn-slide:has(>img)>img{position:relative;z-index:1;width:auto;height:100%;margin:0 auto;object-fit:contain;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%)}
  /* offer cards: roomier text, bigger crisper photo on the right (shorter fade), breathing space above the banner */
  body.is-home .hbn-sec{margin-top:24px!important;padding-bottom:12px!important}
  body.is-home .hbn-has-img .hbn-photo{width:58%;-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.7) 14%,#000 34%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.7) 14%,#000 34%)}
  body.is-home .hbn-has-img .hbn-txt{max-width:48%;gap:6px}
  body.is-home .hbn-badge{font-size:13px;line-height:18px;padding:3px 12px}
  body.is-home .hbn-txt strong{font-size:30px;line-height:34px}
  body.is-home .hbn-txt small{font-size:16px;line-height:21px}
  body.is-home .hbn-cta{margin-top:8px;padding:7px 18px;font-size:15px;line-height:20px}
  /* Where2Go: cards scaled up and spread over the container */
  /* v1.2.35 Where2Go: real slider again (auto-slides via w2g-auto.js); 3 cards in view, the story card is reached by sliding.
     --w2gz = zoom so that 3 cards + 2 gaps (40px) fill the row; w2g-auto.js refines it from the real row width. */
  .w2g{position:relative}
  .w2g-row{overflow-x:auto;overflow-y:hidden;justify-content:space-between;gap:16px;margin-left:-14px;padding:32px 0 56px 14px;
    scroll-snap-type:x mandatory;scroll-padding-left:14px;scroll-behavior:smooth;scrollbar-width:none}
  .w2g-row::-webkit-scrollbar{display:none}
  .w2g-card,.w2g-story{zoom:var(--w2gz,1.4);scroll-snap-align:start}
  .w2g-arr{display:grid}
  .w2g-arr.ex-arr-l{left:-8px}.w2g-arr.ex-arr-r{right:-8px}
  .w2g[data-pos="start"] .ex-arr-l,.w2g[data-pos="end"] .ex-arr-r,.w2g[data-pos="none"] .w2g-arr{opacity:0;visibility:hidden;pointer-events:none}
}
@media (min-width:1280px){
  body.is-home .bg-sand>section{padding-left:32px!important;padding-right:32px!important}
  body.is-home .hbn-sec{padding-left:32px!important;padding-right:32px!important}
  body.is-home .hguide>.hguide-headwrap{max-width:560px}
  body.is-home .hbn-slide{height:230px}
  body.is-home .bg-sand>section.hbn-sec{padding-left:32px!important;padding-right:32px!important}
  .w2g-card,.w2g-story{zoom:var(--w2gz,1.286)}
}

/* v1.2.34 — Explore Cox's Bazar + Stay at these properties: single-row sliders on desktop.
   Same card size in both (--exn cards in view: 4 at 1024-1279, 5 at >=1280; gap 16px; --xu from the row width). */
@media (min-width:1024px){
  .ex .ex-rw{container-type:inline-size;--exn:4}
  .ex .ex-row,.ex .ex-arr{--xu:calc((100cqw - (var(--exn) - 1) * 16px) / (571 * var(--exn)))}
  .ex .ex-row{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:16px;margin:0;padding:4px 0 24px;
    overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}
  .ex .ex-row::-webkit-scrollbar{display:none}
  .ex .ex-row .ex-card,.ex .ex-row .ex-card.is-first,.ex .ex-row .ex-card.ex-c1,.stp .ex-row .ex-card.stp-card{
    flex:0 0 calc((100% - (var(--exn) - 1) * 16px) / var(--exn));width:auto;height:auto;aspect-ratio:571/711;margin:0;scroll-snap-align:start}
  /* arrows: 46px, vertically centred on the card image (row has 4px top padding) */
  .ex .ex-arr{display:grid;top:calc(355 * var(--xu) + 4px);width:46px;height:46px}
  .ex .ex-arr-l{left:6px}.ex .ex-arr-r{right:6px}
}
@media (min-width:1280px){
  .ex .ex-rw{--exn:5}
}

/* ---- Desktop: search results + hotel page share the same 1280px container ---- */
@media (min-width:1024px){
  .sr-wrap{max-width:1280px!important;padding-left:24px!important;padding-right:24px!important;box-sizing:border-box}
  .bhd.bhd-main{max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;padding-left:24px;padding-right:24px;box-sizing:border-box}
}
@media (min-width:1024px){body:has(.bhd.bhd-main){background:#FBFCFE}}
@media (min-width:1280px){
  .sr-wrap,.bhd.bhd-main{padding-left:32px!important;padding-right:32px!important}
}

/* ---- Desktop header cleanup (all pages): logo left; search, bell, profile right. No text nav, no BDT pill, no EN switch ---- */
@media (min-width:1024px){
  .bhx-hdr .bhx-nav,
  .bhx-hdr .bhx-tools>.bhx-cur,
  .bhx-hdr .bhx-tools>.bhx-lang{display:none!important}
  .bhx-hdr .bhx-nav + .bhx-tools{margin-left:auto}
  .bhx-hdr .bhx-bar>.bhx-logo{margin-right:auto}
  .bhx-hdr.bhx-tiles-on .bhx-bar>.bhx-logo{margin-right:0}
  .bhx-hdr .bhx-menu-about{display:flex!important}   /* About lives in the profile menu on desktop (hidden on phone/tablet) */
}

/* ---- Desktop hotel page top: big 16/10 photo, one row of equal thumbs right under it, left column as tall as the info column ----
   Left: photo (rows 1-5, stretches to the info column) + thumbs (row 6). Right: info cards (rows 1-5) + trip/date card (row 6, same height as the thumbs row). */
@media (min-width:1024px){
  .bhd.bhd-main .bhd-top{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);grid-template-rows:auto auto auto auto 1fr auto;align-content:start;row-gap:0}
  .bhd.bhd-main .bhd-top .bhd-title{grid-column:2;grid-row:1}
  .bhd.bhd-main .bhd-top .bhd-tags{grid-column:2;grid-row:2}
  .bhd.bhd-main .bhd-top .bhd-rate{grid-column:2;grid-row:3}
  .bhd.bhd-main .bhd-top .bhd-hl{grid-column:2;grid-row:4}
  .bhd.bhd-main .bhd-top .bhd-about.bhd-desc{grid-column:2;grid-row:5;align-self:stretch}
  .bhd.bhd-main .bhd-top .bhd-hero{grid-column:1;grid-row:1 / 6;align-self:stretch;height:auto;aspect-ratio:auto;width:100%;margin:0!important;border-radius:16px;overflow:hidden}
  .bhd.bhd-main .bhd-top .bhd-hero::before{content:"";display:block;padding-top:62.5%}   /* never shorter than 16/10 */
  .bhd.bhd-main .bhd-top .bhd-hero .bhd-hero-img{width:100%;height:100%;object-fit:cover}
  .bhd.bhd-main .bhd-top .bhd-thumbs{grid-column:1;grid-row:6;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:12px;padding:12px 0 0;overflow:visible}
  .bhd.bhd-main .bhd-top .bhd-thumbs.bhd-th4{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;padding:12px 0 0;gap:12px}
  .bhd.bhd-main .bhd-top .bhd-thumbs .bhd-th,
  .bhd.bhd-main .bhd-top .bhd-thumbs.bhd-th4 .bhd-th{flex:none;width:auto;min-width:0;height:100px;min-height:100px;aspect-ratio:auto;border-radius:12px;overflow:hidden}
  .bhd.bhd-main .bhd-top .bhd-thumbs .bhd-th img{width:100%;height:100%;object-fit:cover}
  .bhd.bhd-main .bhd-top .bhd-thumbs .bhd-th.on::after{border-radius:12px}
  .bhd.bhd-main .bhd-top .bhd-trip{grid-column:2;grid-row:6;align-self:stretch;margin:12px 13.4px 0}
}

/* ---- Desktop hotel page, Rooms: 2-column room card (photo block ~42% | details), rate plans side by side underneath ----
   Left: photo (4/3) + 4 equal thumbs. Right: title, facts, View Room Details, rooms left, amenities (2 cols). Row 8: Refundable | Non-Refundable. */
@media (min-width:1024px){
  .bhd.bhd-main .bhd-rooms .bhd-rc{grid-template-columns:minmax(0,42fr) minmax(0,58fr);grid-template-rows:repeat(5,auto) 1fr auto auto;column-gap:24px;row-gap:0;align-items:start;padding:16px;margin:0;background:#fff;border:1px solid #E1E8F4;border-radius:16px;box-shadow:0 1px 6px rgba(14,40,90,.06)}
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-rc-hero{grid-column:1;grid-row:1 / 7;align-self:start;width:100%;height:auto;min-height:0;aspect-ratio:4/3;border-radius:14px;overflow:hidden}
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-rc-hero img{width:100%;height:100%;object-fit:cover;display:block}
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-rc-th{grid-column:1;grid-row:7;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0 0;overflow:visible}
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-rc-th>*{flex:none;width:auto;min-width:0;height:80px;min-height:80px;border-radius:10px;overflow:hidden}
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-rc-th>* img{width:100%;height:100%;object-fit:cover;display:block}
  /* details column: even 12px rhythm, no big gaps */
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-rc-t{grid-column:2;grid-row:1;margin:0}
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-rc-meta{grid-column:2;grid-row:2;margin:16px 0 0;gap:8px 24px;flex-wrap:wrap;justify-content:flex-start}
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-rc-lnk{grid-column:2;grid-row:3;margin:16px 0 0}
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-rc-few{grid-column:2;grid-row:4;margin:12px 0 0}
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-v-card{grid-column:2;grid-row:5;margin:16px 0 0;width:auto}
  /* rate plans: RIGHT column under the View Room Details card, options stacked (works for 1 or 2) */
  .bhd.bhd-main .bhd-rooms .bhd-rc{container-type:inline-size}
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-ops{grid-column:2;grid-row:6 / span 2;align-self:start;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:16px 0 0;border:0;border-radius:0;background:none;overflow:visible}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-ops>.bhd-op{display:flex;flex-direction:column;padding:12px 14px;border:1.5px solid #CFDCF7;border-radius:14px;background:#fff;overflow:visible}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-ops>.bhd-op:first-child{border-top:1.5px solid #CFDCF7}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-ops>.bhd-op.sel{background:#F5F8FF;border-color:#1B4FF1}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-ops>.bhd-op:has(.bhd-ci.open){z-index:6}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-op .bhd-op-h{margin-bottom:6px}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-op .bhd-op-m{flex:1 1 auto;gap:12px;overflow:visible}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-op .bhd-op-l{overflow:visible}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-op .bhd-op-t{font-size:15px;margin-bottom:4px;overflow:visible}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-op .bhd-op-d,.bhd.bhd-main .bhd-rooms .bhd-rc .bhd-op .bhd-op-c{overflow-wrap:anywhere}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-op .bhd-op-r{max-width:44%}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-op .bhd-op-r b{font-size:20px;line-height:26px}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-op .bhd-op-bk{margin-bottom:6px}
  .bhd.bhd-main .bhd-rooms .bhd-rc .bhd-op .bhd-op-a{margin-top:auto;padding-top:10px;flex-wrap:wrap}
  /* left photo column stretches to the right column's height (4/3 stays the minimum); thumbs stay directly under it */
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-rc-hero{align-self:stretch;height:100%;aspect-ratio:auto;min-height:calc((100cqw - 24px) * .42 * .75);position:relative}
  .bhd.bhd-main .bhd-rooms .bhd-rc>.bhd-rc-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
}

/* ---- Desktop hotel page: the floating "Select Room" pill no longer sits in the middle over the content ---- */
@media (min-width:1024px){
  .bhd-pick{left:auto;right:8px;bottom:24px;transform:none;animation:bhd-pick-in-d .25s ease-out;width:44px;height:44px;min-height:0;padding:0;gap:0;justify-content:center;border-radius:50%}
  .bhd-pick:active{transform:scale(.94)}
  .bhd-pick span{display:none}   /* icon-only (aria-label stays) so it fits the side gutter without covering cards */
  .bhd-pick svg{width:18px;height:18px}
}
@media (min-width:1600px){
  /* wide screens: full label, parked in the free gutter right of the 1280px page */
  .bhd-pick{right:16px;width:auto;height:auto;min-height:34px;padding:0 15px;gap:6px;border-radius:17px}
  .bhd-pick span{display:inline}
  .bhd-pick svg{width:14px;height:14px}
}
@keyframes bhd-pick-in-d{from{opacity:0;transform:translateY(12px)}}

/* ---- Desktop hotel page, What's Nearby: map is a normal bordered card (clamp 360-460px tall) with the places list in a column beside it ---- */
@media (min-width:1024px){
  .bhd.bhd-main .bhd-nsec{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-rows:auto repeat(4,auto) 1fr;column-gap:24px;row-gap:0;align-items:start;margin:0}
  .bhd.bhd-main .bhd-nsec:not(:has(.bhd-np)){grid-template-columns:minmax(0,1fr)}
  .bhd.bhd-main .bhd-nsec>.bhd-h2{grid-column:1 / -1;grid-row:1;margin:10px 0 12px}
  .bhd.bhd-main .bhd-nsec>.bhd-map{grid-column:1;grid-row:2 / 7;align-self:start;position:sticky;top:164px;width:100%;height:clamp(360px,31vw,460px);aspect-ratio:auto;margin:0;border:1px solid #D5DFEE;border-radius:16px;box-shadow:0 1px 6px rgba(14,40,90,.06)}
  .bhd.bhd-main .bhd-nsec>.bhd-np-h{grid-column:2;margin:0 0 8px}
  .bhd.bhd-main .bhd-nsec>.bhd-np + .bhd-np-h{margin-top:16px}
  .bhd.bhd-main .bhd-nsec>.bhd-np{grid-column:2;margin:0;padding:0 12px;background:#fff;border:1px solid #E1E8F4;border-radius:14px;box-shadow:none}
  .bhd.bhd-main .bhd-nsec>.bhd-empty{grid-column:1 / -1}
  .bhd.bhd-main .bhd-nsec .bhd-npr{padding:10px 0}
  .bhd.bhd-main .bhd-nsec .bhd-npr-b h3{flex-wrap:wrap}
  .bhd.bhd-main .bhd-nsec .bhd-npr-b p{max-width:none}
  /* pin labels: a bit wider so names don't wrap into 3-4 lines; same 12-13px readable text */
  .bhd.bhd-main .bhd-nsec .bhd-map .bhd-mp-l{max-width:120px;font-size:13px}
  .bhd.bhd-main .bhd-nsec .bhd-map .bhd-mp-l i{font-size:12px}
  .bhd.bhd-main .bhd-nsec .bhd-map .bhd-mp.b .bhd-mp-l,.bhd.bhd-main .bhd-nsec .bhd-map .bhd-mp.bl .bhd-mp-l{max-width:none}
}
@media (min-width:1024px) and (max-width:1279px){
  .bhd.bhd-main .bhd-nsec .bhd-map .bhd-mp.r .bhd-mp-l{max-width:92px}   /* narrow desktops: labels wrap so the right-hand ones stay inside the map */
}

/* ---- Desktop: hotel detail sticky bottom bar — background stays full width, inner content aligns to the page container (>=1024px) ---- */
@media (min-width:1024px){
  .bhq{container-type:inline-size}
  .bhq .bhq-in{padding-left:max(32px,calc((100cqw - 1280px)/2 + 32px));padding-right:max(32px,calc((100cqw - 1280px)/2 + 32px))}
}

/* ---- Desktop: hotel Facilities tab - photo rows in Swimming Pool / Restaurant & Dining / Fitness Center (>=1024px) ----
   Row height is set inline by fgroup() for a 390px phone (75-79px); override it here. Column ratios (inline grid-template-columns) and gap are kept. */
@media (min-width:1024px){
  .bhd-fg-p{height:clamp(200px,20vw,280px) !important}
  .bhd-fg-ph{border-radius:12px}
  .bhd-fg-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:12px;display:block}
  .bhd-fg-ph b{font-size:clamp(22px,1.8vw,30px);text-shadow:0 1px 6px rgba(0,0,0,.45);background:rgba(8,20,48,.38)}
}

/* ---- Desktop: universal search page /find (>=1024px) - wider container, larger search box/chips/tiles, 2-column results ----
   find-page.css loads after this file, so selectors are prefixed with "html body" to win. Mobile/tablet untouched. */
@media (min-width:1024px){
  html body .fd{max-width:1120px;margin:0 auto;padding:40px 32px 64px;min-height:70vh}
  html body .fd-title{font-size:36px;line-height:1.15;margin:4px 0 12px}
  html body .fd-bar{width:44px;margin:0 0 28px max(2px,calc((100% - 860px) / 2))}
  html body .fd-title,html body .fd-box,html body .fd-rec,html body .fd:not(:has(.fd-row)) .fd-h:not(:has(+ .fd-grid)),html body .fd-chips:not(.fd-chips-c){max-width:860px;margin-left:auto;margin-right:auto;width:100%}
  html body .fd-title{width:auto}
  html body .fd-box{height:64px;border-radius:20px;padding:0 10px 0 22px;gap:14px}
  html body .fd-ic{width:24px;height:24px}
  html body .fd-in{font-size:18px}
  html body .fd-clear{width:44px;height:44px}
  html body .fd-clear .fd-ic{width:20px;height:20px}
  html body .fd-h{margin:32px 2px 14px;font-size:17px}
  html body .fd-h small{font-size:13.5px}
  html body .fd-link{font-size:14px}
  html body .fd-chips{gap:10px}
  html body .fd-chip{height:40px;padding:0 18px;border-radius:20px;font-size:14.5px;transition:background .15s,border-color .15s}
  html body .fd-chip:hover{background:#eef4ff;border-color:#0b5aea}
  html body .fd-recbtn{height:52px;font-size:15.5px}
  html body .fd-recx{height:52px}
  /* Browse BHROMI tiles */
  html body .fd-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  html body .fd-tile{padding:20px;border-radius:18px;gap:6px;min-height:104px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
  html body .fd-tile b{font-size:16.5px}
  html body .fd-tile small{font-size:13.5px;line-height:1.4}
  html body .fd-tile:hover{transform:translateY(-2px);border-color:#0b5aea;box-shadow:0 8px 22px rgba(14,47,107,.10)}
  /* results: tabs wrap instead of scrolling sideways; rows in a 2-column grid */
  html body .fd-tabs{flex-wrap:wrap;overflow:visible;margin:24px 0 0;padding:0;gap:10px}
  html body .fd-tab{height:38px;padding:0 18px;border-radius:19px;font-size:14.5px}
  html body .fd:has(.fd-row){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:12px;align-content:start}
  html body .fd:has(.fd-row)>*{grid-column:1 / -1}
  html body .fd:has(.fd-row)>.fd-row{grid-column:auto;margin-bottom:0}
  html body .fd:has(.fd-row)>.fd-h{margin:20px 2px 2px}
  html body .fd-row{gap:14px;padding:12px 16px 12px 12px;border-radius:16px;transition:box-shadow .15s,border-color .15s}
  html body .fd-row:hover{border-color:#0b5aea;box-shadow:0 6px 18px rgba(14,47,107,.08)}
  html body .fd-th,html body .fd-th-s{width:96px;height:96px;border-radius:12px}
  html body .fd-nm{font-size:16px}
  html body .fd-meta{font-size:13.5px}
  html body .fd-pr{font-size:13.5px}
  html body .fd-pr b{font-size:15.5px}
  html body .fd-pr small{font-size:13px}
  html body .fd-svic{width:48px;height:48px}
  html body .fd-more{height:48px;font-size:15px}
  html body .fd-empty{padding-top:64px}
  html body .fd-empty h3{font-size:20px}
  html body .fd-empty p{font-size:14.5px;max-width:380px}
}
@media (min-width:1200px){
  html body .fd-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}


/* ================= v1.2.37 Home first screen (desktop >=1024px only) =================
   60px header; hero container 1200px (1280 >=1600); headline top-left; ONE white card = service tiles (10 in a row >=1280px)
   joined to the stays search form (single row). Photo stays full-bleed behind. */
@media (min-width:1024px){
  :root{--header-h:60px}
  .bhx-hdr .bhx-bar{height:60px;padding-top:0;padding-bottom:0;align-items:center}
  .bhx-hdr .bhx-logo__img{height:30px}
  .bhx-hdr .bhx-icon-btn{width:38px;height:38px}
  .bhx-hdr .bhx-user{height:38px}
  .bhx-hdr .bhx-tr{height:48px;padding-top:6px}

  body.is-home{--hp:90px}   /* = height of the stays form block, so the hero photo no longer paints over the "Recent searches" heading */
  body.is-home .home-top{min-height:0!important;padding-bottom:var(--hp)!important}
  body.is-home .home-top+section.bg-white{margin-top:calc(-1 * var(--hp))!important}

  body.is-home .home-top:not(.home-top-rentals)>div.homepage-hero,body.is-home .home-top>div.homepage-hero{
    max-width:1200px;padding:28px 32px 20px!important;box-sizing:border-box}
  body.is-home .homepage-hero-title{font-size:44px;line-height:1.06}
  body.is-home .homepage-hero-eyebrow{text-shadow:0 1px 2px rgba(4,20,48,.6),0 2px 12px rgba(4,20,48,.45)}
  body.is-home .home-top>div:not(.homepage-hero){max-width:1200px;margin-left:auto;margin-right:auto;padding-left:32px!important;padding-right:32px!important;box-sizing:border-box}
  body.is-home .home-top+section.bg-white{background:transparent}
  body.is-home .search-form-wrap{max-width:1200px;margin-left:auto;margin-right:auto;padding-top:0!important;padding-left:32px!important;padding-right:32px!important;box-sizing:border-box}

  /* the one white card: tiles (top) + form (bottom) */
  body.is-home .shortcut-card{max-width:1120px;margin:0;box-sizing:border-box;background:#fff;border-radius:20px 20px 0 0;padding:10px 12px 4px}
  body.is-home .search-form-wrap .search-form-card,body.is-home .search-form-wrap .rf-card{
    max-width:1120px!important;width:100%;margin:0!important;box-sizing:border-box;background:#fff;border-radius:0 0 20px 20px!important;
    border-top:1px solid #E6EDF8!important;padding:14px 14px 16px!important;box-shadow:0 20px 40px -16px rgba(14,47,107,.30)!important}
}
@media (min-width:1280px){
  body.is-home .homepage-hero-title{font-size:50px;line-height:1.05}
  body.is-home .shortcut-grid{grid-template-columns:repeat(10,minmax(0,1fr))}
  body.is-home .shortcut-label{line-height:1.15;font-size:11.5px}
}
@media (min-width:1600px){
  body.is-home .home-top:not(.home-top-rentals)>div.homepage-hero,body.is-home .home-top>div.homepage-hero,
  body.is-home .home-top>div:not(.homepage-hero),body.is-home .search-form-wrap{max-width:1280px}
}
@media (min-width:1100px){body.is-home{--hp:210px}}   /* photo now runs down behind the taller form block (235px) */
/* Hero photo, desktop only: the 1025px phone-size hero.jpg was being stretched to the full screen width (soft/blurry).
   hero-pc.jpg is the same picture (rows 330-900 only) upscaled 2x with a gentle sharpen, so it stays crisp on laptop / full-HD screens. */
@media (min-width:1024px){
  .is-home .home-top{background:url("/hero-pc.jpg?v=1") 50% -4.405vw/100% auto no-repeat #8fe2e6!important}
}
/* Help button online dot (desktop only): always bright green with a white ring + soft pulse, so it reads as "online" on any screen */
@media (min-width:1024px){
  .bh-hl-fab .bh-hl-live{width:14px;height:14px;right:-2px;top:-2px;background:#22c55e!important;border:2.5px solid #fff!important;opacity:1!important;filter:none!important;mix-blend-mode:normal!important;
    box-shadow:0 0 0 0 rgba(34,197,94,.55);animation:bhLiveDot 2s ease-out infinite}
}
@keyframes bhLiveDot{0%{box-shadow:0 0 0 0 rgba(34,197,94,.55)}70%{box-shadow:0 0 0 7px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
@media (prefers-reduced-motion:reduce){.bh-hl-fab .bh-hl-live{animation:none!important}}
/* Hero headline on ONE line on desktop ("Your next journey starts here") */
@media (min-width:1024px){
  body.is-home .homepage-hero-title{white-space:nowrap}
  body.is-home .homepage-hero-title br.hbr{display:none}
}
/* Stays search (v1.2.38): fields row  ->  "Search for" chips  ->  big centred Search button  ->  3 trending searches */
@media (min-width:1024px){
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-trip{display:flex;grid-column:1/-1;align-items:center;flex-wrap:wrap;gap:8px;padding:2px 4px 0}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-trend{display:flex;grid-column:1/-1;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:0;margin-top:12px!important}
  .sf-trip-l{font-size:12.5px;font-weight:700;color:#10163f;margin-right:2px}
  .sf-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px 0 8px;border:1px solid #D5DEEE;border-radius:999px;background:#fff;color:#33415f;
    font:600 12.5px/1 Inter,"Noto Sans Bengali",system-ui,sans-serif;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
  .sf-chip:hover{border-color:#9DB8E8;background:#F5F9FF}
  .sf-chip-box{display:grid;place-items:center;width:15px;height:15px;border:1.5px solid #B9C6DD;border-radius:4px;background:#fff;color:transparent;flex:none}
  .sf-chip-box svg{width:10px;height:10px}
  .sf-chip.is-on{border-color:#027ffd;background:#EAF3FF;color:#0a54c4}
  .sf-chip.is-on .sf-chip-box{background:#027ffd;border-color:#027ffd;color:#fff}
  .sf-trend-l{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#5d6a8a;margin-right:2px}
  .sf-trend-l svg{width:14px;height:14px;color:#e8590c}
  .sf-trend-a{display:inline-flex;align-items:center;height:26px;padding:0 11px;border-radius:999px;background:#EEF4FF;color:#0a54c4;font:600 12px/1 Inter,system-ui,sans-serif;text-decoration:none;transition:background .15s,transform .15s}
  .sf-trend-a:hover{background:#DCE9FF;transform:translateY(-1px)}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-search{
    grid-column:1/-1;justify-self:center;align-self:center;width:auto;min-width:230px;height:46px!important;margin:6px 0 0!important;padding:0 28px!important;font-size:15px!important;gap:8px}
}
@media (min-width:1100px){
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card){
    display:grid!important;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1.05fr)) repeat(3,minmax(0,.8fr));gap:12px;align-items:stretch}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card)>*{margin:0!important;min-width:0}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-row{display:contents}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-field{min-height:64px!important;height:64px}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-txt em{font-size:12px!important;line-height:15px}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-txt b{font-size:15px!important;line-height:19px}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-guest .sf-txt b{font-size:19px!important;line-height:22px}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-dest{height:64px;padding-left:10px!important;background:#f8f9fd;border:1px solid #e6ebf4}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-dest .sf-txt b{font-size:17px!important;line-height:21px}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-dest .sf-txt em{font-size:12.5px!important}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-ic{width:24px!important;height:24px!important}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-ic-end{width:20px!important;height:20px!important}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-search .sf-ic{width:19px!important;height:19px!important}
  body.is-home .search-form-wrap .search-form-card:not(.ff-card):not(.pk-card) .sf-chev{width:16px!important;height:16px!important}
}

/* ---- Home header row fix (owner's order 2026-11-07): the docked service row is a
   centred pill like the tickets one — it no longer stretches between the logo and the
   tools, which squeezed the ten buttons and piled their labels together off-centre.
   Icons take the tiles' own near-black; the selected service takes the home tiles'
   pressed-in shadow pill (tile-active.css); labels return only on very wide screens. ---- */
@media (min-width:1024px){
  .bhx-hdr .bhx-tilerow:not(.tk-tilerow){position:absolute;left:50%;top:50%;width:auto;flex:none;z-index:5;gap:2px;
    transform:translate(-50%,-46%);background:rgba(255,255,255,.98);border:1px solid #e2ebf7;border-radius:999px;padding:5px;
    box-shadow:0 14px 30px -14px rgba(23,54,120,.28)}
  .bhx-hdr.bhx-tiles-on .bhx-tilerow:not(.tk-tilerow){transform:translate(-50%,-50%);margin:0}
  .bhx-tilerow:not(.tk-tilerow) .bhx-tr{flex-direction:column;justify-content:center;height:40px;padding:6px 12px;border-radius:999px;color:#10163f;
    transition:background-color .22s ease,box-shadow .22s ease,transform .16s cubic-bezier(.3,.8,.3,1)}
  .bhx-tilerow:not(.tk-tilerow) .bhx-tr__ic{margin:0}
  .bhx-tilerow:not(.tk-tilerow) .bhx-tr__tx{display:none}
  .bhx-tilerow:not(.tk-tilerow) .bhx-tr:hover{background:transparent}
  .bhx-tilerow:not(.tk-tilerow) .bhx-tr[aria-pressed="true"]{background:linear-gradient(180deg,#d6dbe6 0%,#e3e7ef 100%);color:#0b1233;
    box-shadow:inset 0 3px 7px rgba(16,22,63,.24),inset 0 1px 2px rgba(16,22,63,.14),inset 0 -1px 0 rgba(255,255,255,.95),0 1px 0 rgba(255,255,255,.95)}
  .bhx-tilerow:not(.tk-tilerow) .bhx-tr[aria-pressed="true"] .bhx-tr__ic{color:#050a24;filter:drop-shadow(0 1px 0 rgba(255,255,255,.85))}
  .bhx-tilerow:not(.tk-tilerow) .bhx-tr:active{background:linear-gradient(180deg,#d0d6e2 0%,#dfe4ed 100%);
    box-shadow:inset 0 3px 8px rgba(16,22,63,.29),inset 0 1px 2px rgba(16,22,63,.18),inset 0 -1px 0 rgba(255,255,255,.95);transform:scale(.93)}
}

/* Home header row: no card around the docked icons either (owner's order 2026-11-07). */
@media (min-width:1024px){
  .bhx-hdr .bhx-tilerow:not(.tk-tilerow){background:transparent;border-color:transparent;box-shadow:none}
}

/* The tickets header row never shows on the home page (twin rule in tickets.css v4.65). */
body.is-home .bhx-tilerow.tk-tilerow{display:none!important}

/* Home header row: small name under each icon (owner's order 2026-11-07) —
   the site's own 10px label size, icon on top, name below; narrow widths
   (1024-1279px) stay icons-only so the centred row never crowds the header. */
@media (min-width:1280px){
  .bhx-hdr .bhx-tilerow:not(.tk-tilerow) .bhx-tr{flex-direction:column;gap:1px;height:52px;padding:5px 6px 3px}
  .bhx-hdr .bhx-tilerow:not(.tk-tilerow) .bhx-tr__tx{display:block;font-size:10px;line-height:11px}
}

/* Home service tiles fill (2026-11-11): with tiles hidden in Admin > Services, the
   survivors spread across the whole card row (data-vis set by bh-visibility). */
@media (min-width:768px){
  body.is-home .shortcut-grid[data-vis="1"]{grid-template-columns:repeat(1,minmax(0,1fr))}
  body.is-home .shortcut-grid[data-vis="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.is-home .shortcut-grid[data-vis="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.is-home .shortcut-grid[data-vis="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.is-home .shortcut-grid[data-vis="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}
  body.is-home .shortcut-grid[data-vis="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}
  body.is-home .shortcut-grid[data-vis="7"]{grid-template-columns:repeat(7,minmax(0,1fr))}
  body.is-home .shortcut-grid[data-vis="8"]{grid-template-columns:repeat(8,minmax(0,1fr))}
  body.is-home .shortcut-grid[data-vis="9"]{grid-template-columns:repeat(9,minmax(0,1fr))}
  body.is-home .shortcut-card:has(.shortcut-grid[data-vis="0"]){display:none}
}
