/* NAMASH — mobile-only result/detail presentation, 30 October 2026.
   At 761px and above all old layouts, card markup, API and booking handlers stay as-is. */
.nmr-mobile-bar{display:none}
@media screen and (max-width:760px){
  body.flight-listing-page,body.hotel-live-listing-page,body.package-detail-page{
    background:#f3f5f8!important;color:#152742;
  }
  .nmr-mobile-bar{
    display:flex;align-items:center;gap:11px;min-width:0;
    background:#fff;border-bottom:1px solid #e6ebf1;
    padding:11px 14px;position:relative;z-index:20;
  }
  .nmr-back{
    width:34px;height:36px;flex:0 0 34px;border-radius:10px;
    display:grid;place-items:center;background:#f3f6fa;color:#1c3656;
    text-decoration:none;font-size:15px;
  }
  .nmr-bar-copy{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:3px}
  .nmr-bar-copy strong{font-size:15px;line-height:1.2;font-weight:800;color:#162944;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .nmr-bar-copy small{font-size:10px;line-height:1.25;color:#778497;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .nmr-edit{
    display:flex;align-items:center;justify-content:center;gap:5px;
    min-width:48px;min-height:34px;padding:5px 9px;border:1px solid #e8dcc1;
    border-radius:9px;background:#fffaf0;color:#a1761f;
    font-size:11px;font-weight:800;cursor:pointer;text-decoration:none;
  }
  .nmr-back:focus-visible,.nmr-edit:focus-visible{outline:2px solid #b88828;outline-offset:2px}

  /* HOTEL RESULTS: short search summary, horizontal filtering and photo-led listing cards. */
  body.hotel-live-listing-page .hotel-search-summary{box-shadow:none!important;border-bottom:0!important}
  body.hotel-live-listing-page .hotel-summary-grid{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    width:calc(100% - 24px)!important;gap:8px!important;
    min-height:0!important;padding:10px 0!important;
  }
  body.hotel-live-listing-page .hotel-summary-grid>.hotel-summary-icon{display:none!important}
  body.hotel-live-listing-page .hotel-summary-grid>button:not(.modify-search-btn){
    min-width:0!important;min-height:46px!important;padding:8px 10px!important;
    flex:none!important;border-radius:9px!important;
  }
  body.hotel-live-listing-page .hotel-summary-grid>button:first-of-type{grid-column:1/-1}
  body.hotel-live-listing-page .hotel-summary-grid>button:nth-of-type(4){grid-column:1/-1}
  body.hotel-live-listing-page .hotel-summary-grid>button span{font-size:9px!important;margin-bottom:3px!important}
  body.hotel-live-listing-page .hotel-summary-grid>button strong{font-size:12px!important}
  body.hotel-live-listing-page .hotel-summary-grid>.modify-search-btn{
    grid-column:1/-1!important;min-height:37px!important;height:37px!important;
    border-radius:9px!important;background:#fff!important;color:#9e741e!important;
    border:1px solid #dfca9b!important;flex:auto!important;
  }
  body.hotel-live-listing-page .hotel-modify-panel.open{width:calc(100% - 24px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.hotel-live-listing-page .hotel-modify-panel.open>.hotel-live-city-field{grid-column:1/-1!important}
  body.hotel-live-listing-page .hotel-modify-panel.open>.hotel-live-guest-field{grid-column:1/-1!important}
  body.hotel-live-listing-page .hotel-modify-panel.open>.hotel-modify-actions{grid-column:1/-1!important}
  body.hotel-live-listing-page .hotel-listing-area{padding:11px 0 38px!important}
  body.hotel-live-listing-page .hotel-listing-grid{width:calc(100% - 24px)!important}
  body.hotel-live-listing-page .namash-hotel-results-heading{margin:0 1px 12px!important}
  body.hotel-live-listing-page .namash-hotel-results-heading h1{font-size:19px!important;margin:0 0 4px!important}
  body.hotel-live-listing-page .namash-hotel-results-heading p{font-size:11px!important;line-height:1.4!important}
  body.hotel-live-listing-page .hotel-results-toolbar{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    width:100%;gap:9px!important;border:1px solid #e6ebf1!important;
    border-radius:13px!important;background:#fff!important;padding:10px!important;margin-bottom:12px!important;
  }
  body.hotel-live-listing-page .hotel-results-toolbar>div:first-child{display:flex;align-items:center;gap:9px;min-width:0}
  body.hotel-live-listing-page .hotel-results-toolbar strong{font-size:12px!important;white-space:normal}
  body.hotel-live-listing-page .hotel-mobile-filter{border-radius:9px!important;min-height:34px!important}
  body.hotel-live-listing-page .hotel-sort-tabs{
    display:flex!important;gap:6px!important;overflow-x:auto!important;max-width:100%!important;
    width:100%!important;scrollbar-width:none;padding-bottom:2px;
  }
  body.hotel-live-listing-page .hotel-sort-tabs::-webkit-scrollbar{display:none}
  body.hotel-live-listing-page .hotel-sort-tabs .hotel-sort{
    flex:0 0 auto!important;border:1px solid #e7eaf0!important;
    border-radius:9px!important;background:#f8fafc!important;
    font-size:11px!important;min-height:36px!important;padding:6px 10px!important;
  }
  body.hotel-live-listing-page .hotel-sort-tabs .hotel-sort.active{
    color:#a67622!important;background:#fff8e9!important;border-color:#eed5a4!important;
  }
  body.hotel-live-listing-page #hotel-results-list{display:flex!important;flex-direction:column!important;gap:13px!important}
  body.hotel-live-listing-page .hotel-result-card.hotel-live-card{
    display:flex!important;flex-direction:column!important;grid-template-columns:1fr!important;
    gap:0!important;overflow:hidden!important;border:1px solid #e5e9ef!important;
    border-radius:17px!important;background:#fff!important;box-shadow:0 7px 22px rgba(16,35,61,.07)!important;
  }
  body.hotel-live-listing-page .hotel-result-card.hotel-live-card .hotel-result-image{
    display:block!important;width:100%!important;height:204px!important;
    min-height:204px!important;max-height:204px!important;overflow:hidden!important;
    background:#e7ebef!important;
  }
  body.hotel-live-listing-page .hotel-result-card.hotel-live-card .hotel-result-image img{
    display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
  }
  body.hotel-live-listing-page .hotel-result-card.hotel-live-card .hotel-result-content{
    width:100%;padding:13px 14px 9px!important;
  }
  body.hotel-live-listing-page .hotel-title-line{display:flex!important;gap:9px!important;align-items:flex-start!important;justify-content:space-between!important}
  body.hotel-live-listing-page .hotel-title-line>div:first-child{min-width:0;flex:1}
  body.hotel-live-listing-page .hotel-title-line h2{font-size:17px!important;line-height:1.25!important;margin:0 0 5px!important}
  body.hotel-live-listing-page .hotel-title-line p{font-size:11px!important;line-height:1.35!important}
  body.hotel-live-listing-page .hotel-rating-box{min-width:59px!important;text-align:right}
  body.hotel-live-listing-page .hotel-live-property-meta{gap:6px!important;margin-top:8px!important}
  body.hotel-live-listing-page .hotel-live-property-meta span{font-size:10px!important;padding:4px 7px!important}
  body.hotel-live-listing-page .hotel-result-card.hotel-live-card .hotel-result-price{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;gap:3px 10px!important;
    width:100%!important;text-align:left!important;border:0!important;
    border-top:1px solid #edf0f4!important;padding:10px 14px 13px!important;
    margin:0!important;
  }
  body.hotel-live-listing-page .hotel-result-price>small{grid-column:1!important;margin:0!important;font-size:10px!important}
  body.hotel-live-listing-page .hotel-result-price>strong{grid-column:1!important;font-size:22px!important;line-height:1.1!important;color:#172840!important}
  body.hotel-live-listing-page .hotel-result-price .hotel-per-night{grid-column:1!important;font-size:11px!important;color:#8b701f!important}
  body.hotel-live-listing-page .hotel-result-price em{grid-column:1/-1!important;grid-row:4!important;font-size:10px!important;line-height:1.35!important}
  body.hotel-live-listing-page .hotel-result-price a.hotel-choose-room{
    grid-column:2!important;grid-row:1/4!important;min-width:110px!important;
    padding:12px 10px!important;text-align:center!important;justify-self:end!important;align-self:center!important;
    border-radius:10px!important;background:#b88828!important;color:#fff!important;
  }

  /* FLIGHT RESULTS: compact route summary and one clean fare card per result. */
  body.flight-listing-page .flight-search-summary{box-shadow:none!important}
  body.flight-listing-page .flight-summary-inner{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:7px!important;width:calc(100% - 24px)!important;padding:10px 0!important;
    min-height:0!important;
  }
  body.flight-listing-page .flight-summary-inner>.flight-trip-summary{grid-column:1/-1!important;grid-row:auto!important;min-height:38px!important}
  body.flight-listing-page .flight-summary-inner>.flight-swap-summary{display:none!important}
  body.flight-listing-page .flight-summary-inner>.flight-summary-field{
    min-width:0!important;min-height:48px!important;grid-column:auto!important;grid-row:auto!important;
    padding:8px 10px!important;margin:0!important;
    border-radius:9px!important;
  }
  body.flight-listing-page .flight-summary-field[data-flight-focus="#fl-depart"]{grid-column:1!important}
  body.flight-listing-page .flight-summary-field[data-flight-focus="#fl-adult"]{grid-column:2!important}
  body.flight-listing-page .flight-summary-inner>.modify-search-btn{
    grid-column:1/-1!important;grid-row:auto!important;
    width:100%!important;min-height:36px!important;height:36px!important;
    margin:0!important;background:#fff!important;color:#a1761f!important;border:1px solid #dfca9b!important;
    border-radius:9px!important;
  }
  body.flight-listing-page .flight-summary-inner>.flight-summary-field span,
  body.flight-listing-page .flight-summary-inner>.flight-trip-summary span{font-size:9px!important}
  body.flight-listing-page .flight-summary-inner>.flight-summary-field strong{font-size:13px!important}
  body.flight-listing-page .flight-filter-shell{box-shadow:none!important;border-bottom:1px solid #e8ecf1!important}
  body.flight-listing-page .flight-filter-bar{
    display:flex!important;align-items:center!important;gap:8px!important;
    width:calc(100% - 24px)!important;min-height:0!important;
    padding:9px 0!important;overflow-x:auto!important;scrollbar-width:none;
  }
  body.flight-listing-page .flight-filter-bar::-webkit-scrollbar{display:none}
  body.flight-listing-page .flight-filter-bar>.flight-filter-trigger{
    flex:0 0 auto!important;min-height:37px!important;height:37px!important;
    padding:7px 11px!important;border:1px solid #e5e9f0!important;
    border-radius:9px!important;white-space:nowrap!important;
    background:#fff!important;color:#344762!important;font-size:11px!important;
  }
  body.flight-listing-page .flight-filter-bar>.all-flight-filters{flex-direction:row!important;gap:5px!important}
  body.flight-listing-page .flight-filter-bar>.stops-quick{flex:0 0 auto!important;white-space:nowrap!important;font-size:11px!important}
  body.flight-listing-page .flight-results-content{padding:9px 0 35px!important}
  body.flight-listing-page .flight-results-workspace{width:calc(100% - 24px)!important}
  body.flight-listing-page .flight-date-strip{
    display:flex!important;gap:7px!important;background:transparent!important;border:0!important;
    border-radius:0!important;box-shadow:none!important;margin:3px 0 11px!important;
  }
  body.flight-listing-page .flight-date-strip[hidden]{display:none!important}
  body.flight-listing-page .flight-date-item{
    flex:0 0 105px!important;min-height:61px!important;border:1px solid #e6ebf1!important;
    border-radius:10px!important;background:#fff!important;font-size:11px!important;
  }
  body.flight-listing-page .flight-date-item.active{background:#fff7e8!important;border-color:#d9ad54!important;box-shadow:inset 0 3px 0 #bc8b2f!important}
  body.flight-listing-page .airline-lowest-strip{margin:0 0 10px!important;border-radius:11px!important}
  body.flight-listing-page .flight-sort-bar{
    display:flex!important;align-items:center!important;gap:6px!important;
    width:100%;height:auto!important;min-height:45px!important;
    padding:6px!important;margin-bottom:10px!important;
    overflow-x:auto!important;scrollbar-width:none;
    background:#fff!important;border:1px solid #e7eaf0!important;border-radius:12px!important;
  }
  body.flight-listing-page .flight-sort-bar[hidden]{display:none!important}
  body.flight-listing-page .flight-sort-bar strong{display:none!important}
  body.flight-listing-page .flight-sort-bar button{
    flex:0 0 auto!important;min-height:33px!important;padding:7px 11px!important;
    border:1px solid #e7eaf0!important;border-radius:9px!important;
    font-size:11px!important;background:#f8fafc!important;white-space:nowrap!important;
  }
  body.flight-listing-page .flight-sort-bar button.active{background:#fff8ea!important;border-color:#e7ce95!important;color:#9f721d!important}
  body.flight-listing-page .flight-list{gap:11px!important}
  body.flight-listing-page .flight-card.live-flight-card,
  body.flight-listing-page .flight-card.flight-itinerary-card{
    background:#fff!important;border:1px solid #e5e9ef!important;border-radius:16px!important;
    overflow:hidden!important;box-shadow:0 6px 20px rgba(16,35,61,.055)!important;
  }
  body.flight-listing-page .live-flight-card .flight-card-main,
  body.flight-listing-page .flight-roundtrip-layout .compact .live-flight-card .flight-card-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 86px minmax(0,1fr)!important;
    grid-template-areas:"air air air" "dep dur arr" "price price price"!important;
    align-items:center!important;column-gap:6px!important;row-gap:10px!important;
    padding:12px 13px 10px!important;
  }
  body.flight-listing-page .live-flight-card .flight-airline{grid-area:air!important;grid-column:auto!important;margin:0!important;gap:9px!important}
  body.flight-listing-page .live-flight-card .flight-airline strong{font-size:14px!important;color:#172741!important}
  body.flight-listing-page .live-flight-card .flight-airline small{font-size:10px!important}
  body.flight-listing-page .live-flight-card .flight-city-depart{grid-area:dep!important;grid-column:auto!important;text-align:left!important}
  body.flight-listing-page .live-flight-card .flight-city-arrive{grid-area:arr!important;grid-column:auto!important;text-align:right!important}
  body.flight-listing-page .live-flight-card .flight-city b{font-size:10px!important;font-weight:700!important;line-height:1.25!important;color:#7a8597!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.flight-listing-page .live-flight-card .flight-city strong{font-size:21px!important;line-height:1.1!important;color:#142139!important}
  body.flight-listing-page .live-flight-card .flight-city small{font-size:9px!important;line-height:1.3!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;overflow-wrap:anywhere!important}
  body.flight-listing-page .live-flight-card .flight-duration{
    grid-area:dur!important;grid-column:auto!important;grid-row:auto!important;
    order:0!important;margin:0!important;padding:0!important;
    width:100%!important;max-width:none!important;text-align:center!important;
    font-size:10px!important;
  }
  body.flight-listing-page .live-flight-card .flight-duration>span{font-size:11px!important;font-weight:700!important;white-space:nowrap!important}
  body.flight-listing-page .live-flight-card .flight-duration small{font-size:9px!important;white-space:nowrap!important}
  body.flight-listing-page .live-flight-card .flight-price{
    grid-area:price!important;grid-column:auto!important;grid-row:auto!important;
    display:flex!important;justify-content:space-between!important;align-items:center!important;
    width:100%!important;min-width:0!important;margin:0!important;
    padding:10px 0 0!important;border-top:1px solid #ecf0f4!important;text-align:left!important;
  }
  body.flight-listing-page .live-flight-card .flight-price strong{font-size:20px!important;color:#15243d!important}
  body.flight-listing-page .live-flight-card .flight-book-now-btn{
    margin:0!important;min-width:109px!important;height:38px!important;
    background:#b88828!important;border-radius:9px!important;color:#fff!important;
  }
  body.flight-listing-page .live-flight-card .flight-card-meta{
    display:flex!important;gap:8px!important;align-items:center!important;
    padding:9px 13px!important;background:#fafbfd!important;
    border-top:1px solid #eef0f4!important;
  }
  body.flight-listing-page .live-flight-card .flight-card-meta-facts{display:flex!important;flex-wrap:wrap!important;gap:6px 10px!important;font-size:10px!important}
  body.flight-listing-page .live-flight-card .flight-details-link{margin-left:auto!important;color:#a67821!important}
  body.flight-listing-page .flight-roundtrip-layout{grid-template-columns:1fr!important;gap:10px!important}
  body.flight-listing-page .roundtrip-sticky{background:#fff!important;color:#172741!important}
  body.flight-listing-page .roundtrip-sticky-inner{flex-wrap:wrap!important}
  body.flight-listing-page .round-view-fares{background:#b88828!important;color:#fff!important}

  /* PACKAGE DETAIL: gallery-first 2+1 image mosaic, title and real quote CTA. */
  body.package-detail-page main{
    display:flex!important;flex-direction:column!important;min-width:0;
  }
  body.package-detail-page main>.nmr-package-bar{order:1}
  body.package-detail-page main>.detail-crumbs{display:none!important}
  body.package-detail-page main>.package-gallery-section{order:2;padding:12px 0 7px!important;background:#f3f5f8!important}
  body.package-detail-page main>.package-detail-hero{order:3;background:#fff!important;padding:13px 0 15px!important}
  body.package-detail-page main>.package-detail-tabs{order:4}
  body.package-detail-page main>.package-detail-content{order:5;padding:12px 0 100px!important}
  body.package-detail-page main>.package-mobile-cta{order:6}
  body.package-detail-page .package-gallery-section>.page-container{width:calc(100% - 24px)!important}
  body.package-detail-page .package-gallery-mosaic,
  body.package-detail-page .package-gallery-mosaic.no-tall{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.16fr)!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;height:240px!important;min-height:0!important;max-height:none!important;
    padding:0!important;border:0!important;border-radius:15px!important;
    overflow:hidden!important;background:#fff!important;
  }
  body.package-detail-page .package-gallery-mosaic .package-gallery-main{
    grid-column:2!important;grid-row:1/3!important;
    width:100%!important;height:240px!important;max-height:none!important;border-radius:12px!important;
  }
  body.package-detail-page .package-gallery-mosaic .package-gallery-support-grid,
  body.package-detail-page .package-gallery-mosaic.no-tall .package-gallery-support-grid{
    grid-column:1!important;grid-row:1/3!important;
    display:flex!important;flex-direction:column!important;
    gap:7px!important;width:100%!important;height:240px!important;
    max-height:none!important;min-width:0!important;
  }
  body.package-detail-page .package-gallery-support-grid .package-gallery-support{
    flex:1 1 0!important;min-height:0!important;height:auto!important;
    width:100%!important;max-height:calc((240px - 7px) / 2)!important;
    border-radius:10px!important;
  }
  body.package-detail-page .package-gallery-support-grid .package-gallery-support:nth-child(n+3){display:none!important}
  body.package-detail-page .package-gallery-mosaic .package-gallery-tall{display:none!important}
  body.package-detail-page .package-gallery-mosaic:not(:has(.package-gallery-support-grid)){
    display:block!important;height:240px!important;
  }
  body.package-detail-page .package-gallery-mosaic:not(:has(.package-gallery-support-grid)) .package-gallery-main{
    display:block!important;width:100%!important;height:240px!important;
  }
  body.package-detail-page .package-gallery-mosaic img{width:100%!important;height:100%!important;object-fit:cover!important}
  body.package-detail-page .package-gallery-view{font-size:10px!important;left:8px!important;bottom:8px!important;padding:7px 9px!important}
  body.package-detail-page .package-detail-hero>.page-container{width:calc(100% - 28px)!important}
  body.package-detail-page .package-detail-hero-grid{display:block!important}
  body.package-detail-page .package-detail-copy h1{
    font-size:23px!important;line-height:1.2!important;color:#162842!important;margin:5px 0 10px!important;
  }
  body.package-detail-page .detail-subline{gap:8px!important}
  body.package-detail-page .detail-subline span{font-size:11px!important}
  body.package-detail-page .package-detail-priceplain{
    display:flex!important;align-items:center!important;flex-wrap:wrap!important;
    gap:4px 9px!important;margin:10px 0 0!important;padding:10px 0 0!important;
    border:0!important;border-top:1px solid #ebeff4!important;
    box-shadow:none!important;background:transparent!important;
  }
  body.package-detail-page .package-detail-priceplain>small{font-size:11px!important;color:#7a8493!important}
  body.package-detail-page .package-detail-priceplain>strong{font-size:21px!important;color:#a77920!important}
  body.package-detail-page .package-detail-priceplain>span{width:100%!important;font-size:10px!important;color:#7b8796!important}
  body.package-detail-page .package-detail-tabs{top:0!important;position:sticky!important;z-index:15!important}
  body.package-detail-page .package-detail-tabs .page-container{width:calc(100% - 24px)!important;gap:19px!important}
  body.package-detail-page .detail-card{border-radius:13px!important;padding:14px!important}
  body.package-detail-page .query-sidebar{scroll-margin-top:54px!important}
  body.package-detail-page .package-mobile-cta{
    background:#fff!important;border-top:1px solid #e3e8ef!important;
    box-shadow:0 -5px 20px rgba(17,35,61,.11)!important;
  }
  body.package-detail-page .package-mobile-cta .primary-action{
    background:#b88828!important;color:#fff!important;border-radius:11px!important;min-height:45px!important;
  }
}
@media screen and (max-width:355px){
  body.flight-listing-page .live-flight-card .flight-card-main{grid-template-columns:minmax(0,1fr) 69px minmax(0,1fr)!important}
  body.flight-listing-page .live-flight-card .flight-city strong{font-size:19px!important}
  body.hotel-live-listing-page .hotel-result-price a.hotel-choose-room{min-width:98px!important;font-size:11px!important}
  body.package-detail-page .package-gallery-mosaic,
  body.package-detail-page .package-gallery-mosaic.no-tall{height:215px!important}
  body.package-detail-page .package-gallery-mosaic .package-gallery-main,
  body.package-detail-page .package-gallery-mosaic .package-gallery-support-grid{height:215px!important}
  body.package-detail-page .package-gallery-support-grid .package-gallery-support{max-height:104px!important}
}

/* Mobile layout finishing corrections: no duplicate search row and exact flight grid placement. */
@media screen and (max-width:760px){
  body.hotel-live-listing-page .hotel-summary-grid{display:none!important}
  body.flight-listing-page .live-flight-card .flight-airline{
    grid-column:1 / 4!important;grid-row:1 / 2!important;order:0!important;
  }
  body.flight-listing-page .live-flight-card .flight-city-depart{
    grid-column:1 / 2!important;grid-row:2 / 3!important;order:0!important;
  }
  body.flight-listing-page .live-flight-card .flight-duration{
    grid-column:2 / 3!important;grid-row:2 / 3!important;order:0!important;
  }
  body.flight-listing-page .live-flight-card .flight-city-arrive{
    grid-column:3 / 4!important;grid-row:2 / 3!important;order:0!important;
  }
  body.flight-listing-page .live-flight-card .flight-price{
    grid-column:1 / 4!important;grid-row:3 / 4!important;order:0!important;
  }
  body.package-detail-page .package-detail-priceplain{text-align:left!important;align-items:baseline!important;justify-content:flex-start!important}
}

/* Mobile gallery: two available photos use two full-height tiles (no blank lower-left cell). */
@media screen and (max-width:760px) {
  body.package-detail-page .package-gallery-mosaic:has(>.package-gallery-support-grid.count-1),
  body.package-detail-page .package-gallery-mosaic.no-tall:has(>.package-gallery-support-grid.count-1) {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:minmax(0,1fr)!important;
    align-items:stretch!important;
  }
  body.package-detail-page .package-gallery-mosaic:has(>.package-gallery-support-grid.count-1)>.package-gallery-main {
    grid-column:2!important;
    grid-row:1!important;
    height:100%!important;
    min-height:0!important;
  }
  body.package-detail-page .package-gallery-mosaic>.package-gallery-support-grid.count-1 {
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    flex-direction:column!important;
    align-self:stretch!important;
    height:100%!important;
    min-height:0!important;
  }
  body.package-detail-page .package-gallery-support-grid.count-1>.package-gallery-support {
    display:block!important;
    flex:1 1 auto!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    width:100%!important;
    border-radius:12px!important;
  }
}
