/* AM SAFARI universal dynamic resort experience — premium layer. */
:root{--r-pine:#08261e;--r-forest:#0f6849;--r-leaf:#dfeee4;--r-gold:#c59b52;--r-cream:#f7f3e9;--r-paper:#fffdf9;--r-ink:#18332a;--r-muted:#68786f;--r-line:#dfe7df;--r-radius:18px;--r-shell:min(1240px,calc(100% - 48px))}
.resorts-page{background:var(--r-cream);color:var(--r-ink)}
.resort-shell{width:var(--r-shell)}
.detail-hero-v2{min-height:660px}
.detail-hero-v2__media img{object-position:center center;filter:saturate(.98)}
.detail-hero-v2__overlay{background:linear-gradient(90deg,rgba(3,25,18,.96) 0%,rgba(4,34,24,.78) 35%,rgba(3,25,18,.28) 72%,rgba(3,25,18,.45) 100%),linear-gradient(0deg,rgba(2,23,16,.62),transparent 58%)}
.detail-hero-v2__content{min-height:660px;align-items:flex-end;padding:96px 0 115px}
.hero-v2__copy{position:relative;z-index:3;max-width:720px}
.hero-v2__badges span{border-color:rgba(255,255,255,.3);background:rgba(8,35,28,.32)}
.hero-v2__badges span:first-child{border-color:rgba(245,212,139,.7);background:rgba(197,155,82,.18)}
.hero-v2__copy h1{font-size:clamp(3rem,6.2vw,5.8rem);text-wrap:balance}
.hero-v2__description{max-width:590px;font-size:17px}
.hero-v2__actions{gap:12px}
.hero-v2__actions a{min-height:46px}
.hero-whatsapp{display:none}
.hero-gallery-mosaic{position:absolute;z-index:2;right:0;top:50%;width:min(45%,560px);height:410px;transform:translateY(-44%);display:grid;grid-template-columns:1.35fr .65fr;grid-template-rows:1fr 1fr;gap:10px;padding:10px;border:1px solid rgba(255,255,255,.22);border-radius:24px;background:rgba(0,0,0,.16);backdrop-filter:blur(8px);box-shadow:0 28px 80px rgba(0,0,0,.24)}
.hero-gallery-mosaic__item{position:relative;overflow:hidden;padding:0;border:0;border-radius:15px;background:#173c30;cursor:pointer}
.hero-gallery-mosaic__item--0{grid-row:1/3}
.hero-gallery-mosaic__item img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.hero-gallery-mosaic__item:hover img{transform:scale(1.045)}
.hero-gallery-mosaic__item:after{position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.46));content:""}
.hero-gallery-mosaic__item span{position:absolute;z-index:2;right:12px;bottom:12px;padding:7px 10px;border:1px solid rgba(255,255,255,.3);border-radius:999px;color:#fff;background:rgba(0,0,0,.42);font-size:11px;font-weight:800}
.hero-gallery-strip{position:relative;z-index:5;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-top:-48px}
.hero-gallery-thumb{position:relative;overflow:hidden;height:82px;padding:0;border:3px solid rgba(255,255,255,.94);border-radius:14px;background:#dfe8df;box-shadow:0 10px 28px rgba(14,43,31,.12);cursor:pointer}
.hero-gallery-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.hero-gallery-thumb:hover img{transform:scale(1.05)}
.hero-gallery-thumb span{position:absolute;inset:auto 7px 7px auto;padding:5px 8px;border-radius:999px;color:#fff;background:rgba(5,31,23,.75);font-size:10px;font-weight:800}
.quick-info-grid--v2{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin-top:22px}
.quick-info-grid--v2>div{min-height:68px;border-radius:15px;background:rgba(255,255,255,.96)}
.detail-v2-grid{grid-template-columns:minmax(0,1fr) 300px;gap:44px;padding-top:52px}
.detail-section-v2{padding:42px 0}
.intro-card{padding:0;border:0;background:transparent;box-shadow:none}
.about-split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:32px;align-items:center;padding:0 0 42px;border-bottom:1px solid var(--r-line)}
.about-split__media{height:360px;margin:0;overflow:hidden;border-radius:22px;box-shadow:0 20px 50px rgba(15,54,39,.12)}
.about-split__media img{width:100%;height:100%;object-fit:cover}
.detail-copy--large{font-size:16px;line-height:1.82}
.section-heading-v2 h2{font-size:clamp(27px,3vw,36px);letter-spacing:-.02em}
.experience-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.experience-card{min-height:150px;border:1px solid var(--r-line);border-radius:18px;background:linear-gradient(145deg,#fffdf9,#f1f7f2);box-shadow:0 10px 30px rgba(17,65,44,.045)}
.experience-card span{width:42px;height:42px}
.room-cards-v2{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}
.room-card-v2{border-radius:20px;box-shadow:0 12px 34px rgba(17,55,40,.07)}
.room-card-v2__media{height:235px;display:block;width:100%;border:0;padding:0;text-align:left;cursor:pointer}
.room-card-v2__media img{transition:transform .45s ease}
.room-card-v2__media:hover img{transform:scale(1.035)}
.room-card-v2__media>b{position:absolute;right:12px;bottom:12px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;color:#fff;background:rgba(3,30,22,.68);font-size:10px}
.room-card-v2__body{padding:20px}
.room-card-v2 h3{font-size:23px}
.room-card-v2__description{font-size:13px;line-height:1.65;-webkit-line-clamp:4}
.room-features-v2{grid-template-columns:1fr 1fr;column-gap:14px}
.room-card-v2__footer{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}
.room-card-v2__footer>*{min-height:42px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.meal-plan-cards--v2{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.meal-plan-cards--v2 article{min-height:145px;padding:18px;border:1px solid var(--r-line);border-radius:17px;background:var(--r-paper);box-shadow:0 8px 26px rgba(17,55,40,.045)}
.meal-plan-cards--v2 article:hover{border-color:#9db9a5;transform:translateY(-2px)}
.calculator-section--v2{padding:30px;border-radius:22px}
.stay-calculator--v2{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:start}
.stay-calculator--v2>fieldset:nth-of-type(-n+4){grid-column:1}
.stay-calculator--v2>.estimate-panel{grid-column:2;grid-row:1/5;position:sticky;top:92px}
.stay-calculator--v2>.enquiry-panel{grid-column:1/-1}
.stay-calculator--v2 .estimate-panel .price-breakdown{margin-top:14px}
.estimate-panel .button-dark{width:100%}
.amenity-grid-v2{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.amenity-grid-v2>div{min-height:92px;border-radius:16px;background:var(--r-paper)}
.gallery-masonry-v2{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:165px;gap:10px}
.gallery-tile-v2{border-radius:15px}
.location-grid-v2{grid-template-columns:1.1fr .9fr;gap:32px}
.gate-list-v2{border-radius:18px;background:linear-gradient(145deg,#eef6ef,#f8fbf7)}
.policy-list--premium{margin-top:20px}
.policy-list--premium details{border:1px solid var(--r-line);border-radius:12px;background:var(--r-paper)}
.policy-list--premium summary{min-height:52px;padding:15px 17px;font-size:14px}
.policy-list--premium summary span{float:right;color:var(--r-forest);font-size:20px;font-weight:400;transition:transform .2s}
.policy-list--premium details[open] summary span{transform:rotate(45deg)}
.stay-cta-v2{margin-top:10px;background:linear-gradient(110deg,#06291f,#0e5e42 62%,#174a35)}
.stay-cta-v2__inner{min-height:190px}
.stay-cta-v2__inner h2{font-size:clamp(30px,4vw,48px)}
.mobile-stay-bar--v2{box-shadow:0 -8px 25px rgba(5,35,26,.12)}
.room-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:22px;background:rgba(3,20,15,.78);backdrop-filter:blur(8px)}
.room-modal[hidden]{display:none}
.room-modal>button{position:absolute;top:20px;right:22px;width:44px;height:44px;border:1px solid rgba(255,255,255,.25);border-radius:50%;color:#fff;background:rgba(0,0,0,.35);font-size:28px;cursor:pointer}
.room-modal__inner{width:min(1040px,94vw);max-height:88vh;overflow:auto;border-radius:22px;background:var(--r-paper);box-shadow:0 30px 100px rgba(0,0,0,.4)}
.room-modal-content{display:grid;grid-template-columns:1.05fr .95fr}
.room-modal-content__media{min-height:430px;background:#e6eee8}
.room-modal-content__media>img{width:100%;height:100%;object-fit:cover}
.room-modal-gallery{display:grid;grid-template-columns:repeat(2,1fr);height:100%;gap:5px}
.room-modal-gallery img{width:100%;height:100%;min-height:210px;object-fit:cover}
.room-modal-content__body{padding:36px}
.room-modal-content__body h2{margin:0;font:700 clamp(30px,4vw,48px)/1.05 Georgia,serif;color:var(--r-pine)}
.room-modal-content__body>p:not(.section-eyebrow){color:#55675e;line-height:1.75}
.room-detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:22px 0}
.room-detail-facts span{display:grid;gap:4px;padding:12px;border-radius:12px;background:#eef5ef;color:#50645a;font-size:12px}
.room-detail-facts b{color:var(--r-pine);font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.room-modal-features{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0;list-style:none;color:#426053;font-size:12px}
.room-modal-actions{display:flex;gap:10px;margin-top:24px}
.room-modal-actions>*{flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
@media(max-width:1100px){
 .hero-gallery-mosaic{right:24px;width:44%;height:340px}.hero-v2__copy{max-width:58%}.detail-v2-grid{grid-template-columns:1fr}.detail-aside--v2{display:none}
}
@media(max-width:800px){
 :root{--r-shell:calc(100% - 28px)}
 .detail-hero-v2{min-height:650px}.detail-hero-v2__content{min-height:650px;padding:105px 0 78px}.hero-gallery-mosaic{position:absolute;right:0;top:88px;width:100%;height:210px;transform:none;padding:7px;border-radius:18px;opacity:.92}.hero-gallery-mosaic__item{border-radius:11px}.hero-v2__copy{max-width:100%;margin-top:225px}.hero-v2__copy h1{font-size:clamp(2.45rem,11vw,4rem)}.hero-v2__description{font-size:14px}.hero-whatsapp{display:inline-flex}.hero-gallery-strip{grid-template-columns:repeat(4,1fr);margin-top:-32px;gap:6px}.hero-gallery-thumb{height:70px}.hero-gallery-thumb:nth-child(n+5){display:none}.quick-info-grid--v2{grid-template-columns:repeat(2,minmax(0,1fr))}.about-split{grid-template-columns:1fr}.about-split__media{height:270px}.room-cards-v2{grid-template-columns:1fr}.stay-calculator--v2{grid-template-columns:1fr}.stay-calculator--v2>fieldset:nth-of-type(-n+4),.stay-calculator--v2>.estimate-panel,.stay-calculator--v2>.enquiry-panel{grid-column:1;grid-row:auto}.stay-calculator--v2>.estimate-panel{position:static}.gallery-masonry-v2{grid-template-columns:repeat(2,1fr);grid-auto-rows:130px}.gallery-tile-v2:nth-child(5n+1){grid-row:span 1}.gallery-tile-v2:nth-child(3n+1){grid-row:span 2}.location-grid-v2{grid-template-columns:1fr}.room-modal-content{grid-template-columns:1fr}.room-modal-content__media{min-height:260px}.room-modal-gallery{height:260px}.room-modal-gallery img{min-height:0}.room-modal-content__body{padding:25px}.room-modal-features{grid-template-columns:1fr}.mobile-stay-bar--v2{display:flex}
}
@media(max-width:480px){
 .hero-v2__actions{grid-template-columns:1fr 1fr}.hero-v2__actions a:last-child{grid-column:1/-1}.hero-gallery-strip{grid-template-columns:repeat(4,1fr)}.quick-info-grid--v2>div{min-width:0;padding:10px}.quick-info-grid--v2 strong{font-size:11px}.room-card-v2__footer{grid-template-columns:1fr}.room-features-v2{grid-template-columns:1fr}.calculator-section--v2{padding:17px}.guest-controls{grid-template-columns:1fr}.calc-grid{grid-template-columns:1fr}.wide{grid-column:1}.meal-options{grid-template-columns:1fr}.room-selection{grid-template-columns:1fr 92px}.room-selection .remove-room{grid-column:1/-1;text-align:left}.room-modal{padding:12px}.room-modal>button{top:10px;right:10px}.room-detail-facts{grid-template-columns:1fr}.room-modal-actions{flex-direction:column}.stay-cta-v2__inner{padding:28px 0 95px}.mobile-stay-bar--v2{left:0;right:0}
}
.room-card-v2__footer{display:block}
.room-card-v2__price{display:flex;align-items:baseline;gap:7px;margin-bottom:12px;color:var(--r-pine)}
.room-card-v2__price strong{font:800 25px/1.1 Georgia,serif}
.room-card-v2__price small{color:var(--r-muted);font-size:10px;font-weight:750}
.room-card-v2__actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.room-card-v2__actions>*{min-height:42px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
@media(max-width:480px){.room-card-v2__actions{grid-template-columns:1fr}.room-card-v2__price{margin-bottom:10px}}


/* Gallery V5 — premium property-gallery experience */
.detail-hero-v2__media img[data-hero-gallery-image]{transition:opacity .18s ease,transform .5s ease;will-change:opacity}
.hero-gallery-controls{gap:6px;padding:5px;background:rgba(2,18,12,.52);border-color:rgba(255,255,255,.22);box-shadow:0 16px 38px rgba(0,0,0,.24)}
.hero-gallery-controls button,.hero-gallery-controls span{min-width:42px;height:42px}
.hero-gallery-counter{padding:0 8px;font-variant-numeric:tabular-nums}
.hero-gallery-controls .hero-gallery-open{min-width:auto;padding:0 16px}
.hero-gallery-rail{padding:3px 5px 10px}
.hero-gallery-thumb{position:relative;height:78px;border:1px solid rgba(255,255,255,.18);border-radius:12px;overflow:hidden;background:#163426;padding:0;opacity:.84;cursor:pointer}
.hero-gallery-thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.18));pointer-events:none}
.hero-gallery-thumb:hover{opacity:1;transform:translateY(-1px)}
.hero-gallery-thumb.is-active{opacity:1;border-color:#e7c86c;box-shadow:0 0 0 2px rgba(231,200,108,.22),0 10px 28px rgba(11,42,29,.18)}
.hero-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.hero-gallery-more{display:grid;place-items:center;gap:1px;min-width:115px;height:78px;border:1px solid var(--r-line);border-radius:12px;color:#173a2b;background:linear-gradient(145deg,#f4f7f2,#eaf2eb);font-weight:800;cursor:pointer;box-shadow:0 8px 22px rgba(20,45,34,.08)}
.hero-gallery-more span{font-size:20px;line-height:1;color:var(--r-pine)}
.hero-gallery-more small{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--r-muted)}
.photo-gallery-heading{align-items:flex-end}
.photo-gallery-subtitle{margin:5px 0 0;color:var(--r-muted);font-size:12px;line-height:1.55}
.gallery-filters{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;margin:18px 0 0;scrollbar-width:none}
.gallery-filters::-webkit-scrollbar{display:none}
.gallery-filters button{flex:0 0 auto;min-height:36px;padding:0 13px;border:1px solid var(--r-line);border-radius:999px;color:#3e5b4e;background:#fff;font:750 11px/1 inherit;cursor:pointer}
.gallery-filters button:hover{border-color:#adc6b3;background:#f3f8f3}
.gallery-filters button.is-active{border-color:var(--r-forest);color:#fff;background:var(--r-forest);box-shadow:0 6px 16px rgba(23,96,68,.16)}
.gallery-carousel-v2{margin-top:10px}
.gallery-carousel-track{scroll-padding-inline:4px}
.gallery-tile-v2{flex-basis:clamp(280px,32vw,380px);height:270px;border-radius:18px;box-shadow:0 12px 32px rgba(20,45,34,.07)}
.gallery-tile-v2::after{height:52%;background:linear-gradient(0deg,rgba(3,25,18,.68),transparent 72%)}
.gallery-tile-v2:hover{box-shadow:0 18px 42px rgba(20,45,34,.13);transform:translateY(-2px)}
.gallery-tile-v2 span{left:14px;bottom:13px}
.gallery-modal--v2{display:block;padding:0;background:rgba(1,11,8,.96);backdrop-filter:blur(10px)}
.gallery-modal--v2 .gallery-modal__backdrop{position:absolute;inset:0}
.gallery-modal__dialog{position:relative;z-index:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;width:min(1280px,calc(100% - 32px));height:min(94vh,980px);margin:3vh auto;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:rgba(8,27,20,.86);box-shadow:0 35px 120px rgba(0,0,0,.5);overflow:hidden}
.gallery-modal__topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.09);color:#fff}
.gallery-modal__title{font-size:13px;font-weight:800;letter-spacing:.02em}
.gallery-modal__counter{font-size:11px;font-weight:800;color:#e6ca73;font-variant-numeric:tabular-nums}
.gallery-modal__actions{display:flex;justify-content:flex-end;gap:7px}
.gallery-modal__actions button{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.19);border-radius:50%;color:#fff;background:rgba(255,255,255,.07);font:800 18px/1 inherit;cursor:pointer}
.gallery-modal__actions button:hover{background:rgba(255,255,255,.16)}
.gallery-modal__stage{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:center;gap:12px;min-height:0;padding:14px 18px 6px}
.gallery-modal__media{display:grid;place-items:center;min-width:0;min-height:0;height:100%;overflow:hidden;border-radius:16px;background:rgba(0,0,0,.18)}
.gallery-modal--v2 img[data-gallery-image]{width:auto;max-width:100%;height:auto;max-height:100%;border-radius:14px;object-fit:contain;box-shadow:none;cursor:zoom-in;transition:transform .25s ease}
.gallery-modal--v2 img[data-gallery-image].is-zoomed{max-width:none;max-height:none;transform:scale(1.65);cursor:zoom-out}
.gallery-modal__nav{position:relative;display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(255,255,255,.2);border-radius:50%;color:#fff;background:rgba(255,255,255,.08);font-size:30px;cursor:pointer}
.gallery-modal__nav:hover{background:rgba(255,255,255,.17)}
.gallery-modal__meta{padding:8px 18px 0;color:#fff}
.gallery-modal__meta p{margin:0;min-height:18px;color:#d9e8de;font-size:11px;line-height:1.5}
.gallery-modal__thumbs{display:flex;gap:8px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;padding:12px 18px 8px}
.gallery-modal__thumbs::-webkit-scrollbar{display:none}
.gallery-modal__thumb{flex:0 0 84px;height:58px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:9px;background:#183b2d;opacity:.62;cursor:pointer}
.gallery-modal__thumb:hover{opacity:.9}
.gallery-modal__thumb.is-active{border-color:#e6c76d;opacity:1;box-shadow:0 0 0 2px rgba(230,199,109,.16)}
.gallery-modal__thumb img{display:block;width:100%;height:100%;object-fit:cover}
.gallery-modal__swipe-hint{margin:0;padding:0 18px 12px;color:#aabfb2;font-size:10px;text-align:center}

/* Room gallery inside the room-detail modal */
.room-modal-gallery{display:block;background:#10291f;min-height:100%;height:100%}
.room-modal-gallery__stage{position:relative;height:calc(100% - 74px);min-height:310px;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:7px;padding:10px}
.room-modal-gallery__main{display:grid;place-items:center;min-width:0;height:100%;padding:0;border:0;background:transparent;overflow:hidden;cursor:zoom-in}
.room-modal-gallery__main img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;border-radius:12px}
.room-modal-gallery__nav{display:grid;width:36px;height:36px;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:50%;color:#fff;background:rgba(0,0,0,.35);font-size:23px;cursor:pointer}
.room-modal-gallery__nav:hover{background:rgba(0,0,0,.52)}
.room-modal-gallery__counter{position:absolute;right:16px;top:17px;padding:5px 9px;border-radius:999px;color:#fff;background:rgba(0,0,0,.4);font-size:10px;font-weight:800;font-variant-numeric:tabular-nums}
.room-modal-gallery__open-hint{position:absolute;left:16px;top:17px;padding:5px 9px;border-radius:999px;color:#fff;background:rgba(0,0,0,.34);font-size:10px;font-weight:700}
.room-modal-gallery__thumbs{display:flex;gap:7px;height:64px;overflow-x:auto;padding:6px 10px 8px;scrollbar-width:none}
.room-modal-gallery__thumbs::-webkit-scrollbar{display:none}
.room-modal-gallery__thumb{flex:0 0 70px;height:50px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:8px;background:#173a2c;opacity:.58;cursor:pointer}
.room-modal-gallery__thumb.is-active{border-color:#e6c76d;opacity:1}
.room-modal-gallery__thumb img{width:100%;height:100%;object-fit:cover}
.room-modal-gallery__single{display:block;width:100%;height:100%;padding:0;border:0;background:#10291f;cursor:zoom-in}
.room-modal-gallery__single img{display:block;width:100%;height:100%;object-fit:cover}

@media(max-width:800px){
  .hero-gallery-controls{right:12px;bottom:16px}
  .hero-gallery-controls .hero-gallery-open{padding:0 12px;font-size:10px}
  .hero-gallery-thumb{flex-basis:105px;height:68px}
  .hero-gallery-more{min-width:105px;height:68px}
  .photo-gallery-heading{display:block}
  .photo-gallery-heading>.button-outline{margin-top:14px;width:100%}
  .gallery-tile-v2{flex-basis:84vw;height:250px}
  .gallery-modal__dialog{width:100%;height:100%;margin:0;border-radius:0;border:0}
  .gallery-modal__stage{grid-template-columns:40px minmax(0,1fr) 40px;gap:5px;padding:8px 6px 2px}
  .gallery-modal__nav{width:36px;height:36px;font-size:24px}
  .gallery-modal--v2 img[data-gallery-image]{max-height:100%;border-radius:10px}
  .gallery-modal--v2 img[data-gallery-image].is-zoomed{transform:scale(1.35)}
  .gallery-modal__thumb{flex-basis:66px;height:48px}
  .room-modal-gallery__stage{height:calc(100% - 68px);min-height:225px;grid-template-columns:34px minmax(0,1fr) 34px;padding:7px}
  .room-modal-gallery__thumbs{height:58px;padding:5px 8px 7px}
  .room-modal-gallery__thumb{flex-basis:62px;height:46px}
}
@media(max-width:480px){
  .hero-gallery-controls{padding:4px}
  .hero-gallery-controls button,.hero-gallery-controls span{min-width:34px;height:34px}
  .hero-gallery-controls .hero-gallery-open{padding:0 9px;font-size:9px}
  .hero-gallery-thumb{flex-basis:92px;height:62px}
  .hero-gallery-more{min-width:96px;height:62px}
  .gallery-modal__topbar{grid-template-columns:1fr auto;gap:8px;padding:10px 10px}
  .gallery-modal__title{font-size:11px}
  .gallery-modal__counter{justify-self:end}
  .gallery-modal__actions{grid-column:1/-1;grid-row:2;justify-content:space-between}
  .gallery-modal__topbar .gallery-modal__actions{justify-content:flex-end}
  .gallery-modal__stage{grid-template-columns:34px minmax(0,1fr) 34px}
}

.detail-hero-v2__media img[data-hero-gallery-image]{cursor:zoom-in}
