/* BMY CORE 3.5.1 — Mobile Fleet & Yacht Detail final layer */
@media(max-width:900px){
  /* Fleet hero + toolbar */
  body[data-ui="bm-v080"].listing-page .fleet-v10-hero{padding:82px 0 22px!important}
  body[data-ui="bm-v080"].listing-page .fleet-v10-hero h1{font-size:clamp(44px,12vw,58px)!important;line-height:.9!important}
  body[data-ui="bm-v080"].listing-page .fleet-v10-hero-copy{align-items:flex-start!important;margin-top:12px!important}
  body[data-ui="bm-v080"].listing-page .fleet-v10-hero-copy>p{max-width:64%!important;font-size:12px!important;line-height:1.5!important}
  body[data-ui="bm-v080"] .fleet-v241-mobile-toolbar{top:64px!important;margin-bottom:12px!important;padding:6px!important;border-radius:12px!important}
  body[data-ui="bm-v080"] .fleet-v241-mobile-toolbar>button,
  body[data-ui="bm-v080"] .fleet-v241-mobile-toolbar>label{min-height:42px!important;padding:0 11px!important;border-radius:9px!important}
  body[data-ui="bm-v080"] .fleet-v241-mobile-toolbar select{max-width:118px!important;font-size:16px!important;line-height:1!important}

  /* Fleet filter sheet: keep essentials visible, move the rest into a calm sheet. */
  body[data-ui="bm-v080"] .fleet-v23-refine{left:6px!important;right:6px!important;bottom:calc(6px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 72px - env(safe-area-inset-bottom))!important;border-radius:18px 18px 12px 12px!important}
  body[data-ui="bm-v080"] .fleet-v23-refine-head{min-height:56px!important;padding:0 13px!important}
  body[data-ui="bm-v080"] .fleet-v23-refine-head strong{font-size:20px!important}
  body[data-ui="bm-v080"] .fleet-v23-refine .bmy-charter-controls{grid-template-columns:1fr 1fr!important}
  body[data-ui="bm-v080"] .fleet-v23-refine .premium-search-field{min-height:60px!important;padding:8px 10px!important}
  body[data-ui="bm-v080"] .fleet-v23-refine .premium-search-field small{font-size:9px!important}
  body[data-ui="bm-v080"] .fleet-v23-refine .premium-search-field b,
  body[data-ui="bm-v080"] .fleet-v23-refine input,
  body[data-ui="bm-v080"] .fleet-v23-refine select,
  body[data-ui="bm-v080"] .fleet-v23-keyword input,
  body[data-ui="bm-v080"] .fleet-v23-more input,
  body[data-ui="bm-v080"] .fleet-v23-more select,
  body[data-ui="bm-v080"].listing-page .fleet-v26-capacity input{font-size:16px!important}
  body[data-ui="bm-v080"].listing-page .fleet-v26-capacity{grid-template-columns:1fr 1fr!important}
  body[data-ui="bm-v080"].listing-page .fleet-v26-capacity>label{min-height:58px!important;padding:8px 10px!important}
  body[data-ui="bm-v080"].listing-page .fleet-v26-capacity input{width:70px!important;min-height:36px!important}
  body[data-ui="bm-v080"] .fleet-v23-more>summary{min-height:48px!important}
  body[data-ui="bm-v080"] .fleet-v23-more>div{grid-template-columns:1fr 1fr!important;gap:6px!important;padding:8px!important}
  body[data-ui="bm-v080"] .fleet-v23-more label{padding:8px 9px!important}
  body[data-ui="bm-v080"] .fleet-v23-apply{min-height:50px!important}

  /* Active filters: compact horizontal context, no chip wall. */
  body[data-ui="bm-v080"].listing-page .fleet-v26-active-filters{gap:6px!important;margin:0 0 13px!important;padding:0 0 9px!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none!important}
  body[data-ui="bm-v080"].listing-page .fleet-v26-active-filters::-webkit-scrollbar{display:none!important}
  body[data-ui="bm-v080"].listing-page .fleet-v26-active-filters span,
  body[data-ui="bm-v080"].listing-page .fleet-v26-active-filters a{flex:0 0 auto!important;min-height:26px!important;padding:0 8px!important;font-size:8px!important}

  /* Fleet cards: image-led, restrained metadata. */
  body[data-ui="bm-v080"] .fleet-v10-grid{gap:16px!important}
  body[data-ui="bm-v080"] .fleet-v10-card{border-radius:12px!important;box-shadow:0 8px 24px rgba(7,31,47,.04)!important}
  body[data-ui="bm-v080"] .fleet-v10-media{aspect-ratio:16/10!important}
  body[data-ui="bm-v080"] .fleet-v10-body{padding:12px 13px 11px!important}
  body[data-ui="bm-v080"] .fleet-v10-heading{align-items:center!important}
  body[data-ui="bm-v080"] .fleet-v10-heading h3{font-size:27px!important;line-height:.95!important}
  body[data-ui="bm-v080"] .fleet-v10-heading>span{max-width:132px!important;font-size:9px!important;line-height:1.3!important}
  body[data-ui="bm-v080"] .fleet-v10-meta{min-height:36px!important;margin-top:8px!important;padding-top:8px!important;gap:10px!important}
  body[data-ui="bm-v080"] .fleet-v10-meta>span:nth-of-type(n+4){display:none!important}
  body[data-ui="bm-v080"] .fleet-v10-open{min-height:30px!important;padding-left:7px!important}

  /* Yacht hero: safe title area, 16:10 mobile crop, compact rhythm. */
  body[data-ui="bm-v080"].yacht-detail .yacht-v7{padding-top:72px!important;padding-bottom:78px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-layout{width:calc(100% - 24px)!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-content>.yacht-v7-chapter,
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-content>.yacht-v7-hero{width:100%!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-hero{padding-bottom:26px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-hero-topline{margin-bottom:8px!important;font-size:9px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-hero-media{aspect-ratio:16/10!important;border-radius:10px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-hero-media figcaption{left:13px!important;right:13px!important;bottom:12px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-hero-media h1{max-width:92%!important;font-size:clamp(38px,11vw,52px)!important;line-height:.88!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-signature{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-top:10px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-signature span{min-height:36px!important;font-size:8px!important;padding:0 4px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-summary{margin-top:12px!important;font-size:12px!important;line-height:1.58!important}

  /* Yacht chapters: reduce dead vertical space without flattening the editorial hierarchy. */
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-chapter{padding:36px 0!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-section-head{margin-bottom:15px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-section-head h2{font-size:clamp(32px,9vw,41px)!important;line-height:.94!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-character-grid,
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-stay-grid{gap:10px!important}

  /* Premium gallery: show the next card, keep lightbox controls accessible. */
  body[data-ui="bm-v080"].yacht-detail .premium-gallery-split{gap:8px!important;padding-right:10vw!important}
  body[data-ui="bm-v080"].yacht-detail .premium-gallery-category{flex:0 0 78vw!important}
  body[data-ui="bm-v080"].yacht-detail .premium-gallery-category>header{margin-bottom:8px!important}
  body[data-ui="bm-v080"].yacht-detail .premium-gallery-lead{aspect-ratio:16/10!important}
  body[data-ui="bm-v080"].yacht-detail .premium-gallery-modal{padding:0!important}
  body[data-ui="bm-v080"].yacht-detail .premium-gallery-modal-panel{width:100vw!important;height:100dvh!important}
  body[data-ui="bm-v080"].yacht-detail .premium-gallery-modal-head{padding-top:calc(10px + env(safe-area-inset-top))!important;min-height:70px!important}
  body[data-ui="bm-v080"].yacht-detail .premium-gallery-stage{padding:8px 6px calc(24px + env(safe-area-inset-bottom))!important}
  body[data-ui="bm-v080"].yacht-detail .premium-gallery-stage figure>img{max-height:68dvh!important}
  body[data-ui="bm-v080"].yacht-detail .premium-gallery-hit{width:38px!important;height:44px!important}

  /* Availability / conversion sheet: true mobile sheet, 16px fields, safe-area aware. */
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-sidebar{left:6px!important;right:6px!important;bottom:calc(6px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 70px - env(safe-area-inset-bottom))!important;border-radius:18px 18px 12px 12px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v34-sticky-stack{gap:7px!important;padding:8px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v34-profile-card{border-radius:12px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v34-card-head{padding:14px 14px 10px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v34-card-head strong{font-size:28px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v34-card-facts{padding:0 10px 5px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v34-availability{margin:0 8px 8px!important;padding:13px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v31-availability input,
  body[data-ui="bm-v080"].yacht-detail .yacht-v31-availability select,
  body[data-ui="bm-v080"].yacht-detail .yacht-v31-availability .premium-search-field b{font-size:16px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v31-availability .premium-search-field small{font-size:9px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v31-availability .premium-search-popover{position:fixed!important;z-index:7200!important;left:6px!important;right:6px!important;top:auto!important;bottom:calc(6px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 76px - env(safe-area-inset-bottom))!important;margin:0!important;border-radius:18px 18px 12px 12px!important;overflow:auto!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v31-availability .dates-popover .calendar-months{grid-template-columns:1fr!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v31-availability .dates-popover .calendar-months .calendar-month:nth-child(2){display:none!important}

  /* Fixed conversion dock: one clear primary action and safe spacing. */
  body[data-ui="bm-v080"].yacht-detail .yacht-v241-mobile-action{left:12px!important;right:12px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;grid-template-columns:44px minmax(0,1fr)!important;min-height:54px!important;padding:5px!important;border-radius:13px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v241-mobile-action form button{width:44px!important;height:42px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v241-mobile-primary{min-height:42px!important;padding:0 9px 0 12px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v241-mobile-primary b{font-size:10px!important}

  /* Similar yachts + next yacht: consistent rail width and compact inline continuation. */
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-similar{padding:38px 0 76px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-similar>.shell{width:calc(100% - 24px)!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-similar-head{margin-bottom:15px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-similar-head h2{font-size:36px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-similar-grid{gap:8px!important;padding-right:10vw!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-similar-card{flex:0 0 78vw!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-next-cta{width:calc(100% - 24px)!important;margin-inline:auto!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-next-cta-inner{grid-template-columns:54px minmax(0,1fr) 20px!important;min-height:62px!important;padding:5px 9px 5px 5px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-next-cta img{width:54px!important;height:50px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-next-cta strong{font-size:18px!important}
}

@media(max-width:380px){
  body[data-ui="bm-v080"].listing-page .fleet-v10-hero h1{font-size:44px!important}
  body[data-ui="bm-v080"] .fleet-v241-mobile-toolbar{grid-template-columns:1.05fr .95fr!important}
  body[data-ui="bm-v080"] .fleet-v241-mobile-toolbar>label span{display:none!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-hero-media h1{font-size:38px!important}
  body[data-ui="bm-v080"].yacht-detail .yacht-v7-signature span{font-size:7px!important}
}
