/* Vista Zanzibar V42 — photo-first hotel rooms. Scoped to the public V40 hotel page. */
body.v40-hotel-journey .v40-frame{width:min(1260px,calc(100% - 36px))}
body.v40-hotel-journey .v40-flow{grid-template-columns:minmax(0,1fr) minmax(315px,360px);gap:24px}
.v40-hotel .v42-section{min-width:0;border:1px solid rgba(189,143,62,.27);border-radius:22px;padding:clamp(19px,2.5vw,30px);background:linear-gradient(145deg,rgba(253,248,237,.8),rgba(231,219,197,.40));box-shadow:0 18px 48px rgba(8,31,57,.065)}
.v40-hotel .v42-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:0 0 20px}
.v40-hotel .v42-kicker{display:block;color:#a8742b;font-weight:850;font-size:11px;letter-spacing:.20em;text-transform:uppercase}
.v40-hotel .v42-head h2{font:600 clamp(29px,3vw,41px)/1.1 Georgia,serif!important;color:#0b2945!important;letter-spacing:-.03em;margin:8px 0 0!important}
.v40-hotel .v42-head>p{margin:0!important;max-width:220px;color:#51657a;font-size:13px!important;line-height:1.55!important}
.v40-hotel .v42-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.v40-hotel .v42-card{min-width:0;overflow:hidden;border:1px solid rgba(222,179,98,.52);border-radius:20px;background:linear-gradient(150deg,rgba(9,39,67,.97),rgba(25,65,93,.97));box-shadow:0 14px 35px rgba(7,32,56,.13);color:#fff;transition:transform .22s,box-shadow .22s,border-color .22s;backdrop-filter:blur(12px)}
.v40-hotel .v42-card:hover{transform:translateY(-3px);box-shadow:0 19px 38px rgba(7,32,56,.20);border-color:rgba(240,197,113,.80)}
.v40-hotel .v42-card.is-selected{border:2px solid #e7be6f;box-shadow:0 0 0 3px rgba(231,190,111,.19),0 16px 32px rgba(8,29,50,.23)}
.v40-hotel .v42-card-media{height:clamp(200px,21vw,266px);position:relative;isolation:isolate;background:linear-gradient(145deg,#234666,#082440);overflow:hidden}
.v40-hotel .v42-card-media:after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(0deg,rgba(3,21,37,.68),transparent);pointer-events:none}
.v40-hotel .v42-card-media>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s}
.v40-hotel .v42-card:hover .v42-card-media>img{transform:scale(1.045)}
.v40-hotel .v42-no-photo{display:grid;place-items:center;height:100%;padding:16px;text-align:center;color:#fff1d9;font-size:14px;background:radial-gradient(circle at 75% 20%,#365f7d,#102e4b 70%)}
.v40-hotel .v42-image-count{position:absolute;top:15px;left:15px;z-index:2;border:1px solid rgba(255,255,255,.32);border-radius:100px;background:rgba(7,32,54,.75);padding:7px 11px;font-size:12px;font-weight:700;color:#fff;backdrop-filter:blur(12px)}
.v40-hotel .v42-preview-btn{position:absolute;z-index:2;right:15px;bottom:15px;border:1px solid rgba(255,244,211,.78);background:rgba(9,35,60,.78);color:#fff;border-radius:12px;padding:11px 17px;font-size:13px;font-weight:800;cursor:pointer;min-height:44px;backdrop-filter:blur(12px)}
.v40-hotel .v42-preview-btn:hover{background:#d7a94f;color:#082541}
.v40-hotel .v42-card-content{padding:19px 19px 20px;min-width:0}
.v40-hotel .v42-title-line{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
.v40-hotel .v42-title-line h3{color:#fff!important;font:600 23px/1.13 Georgia,serif!important;margin:0!important;letter-spacing:-.02em;overflow-wrap:anywhere}
.v40-hotel .v42-rate{display:flex;flex-direction:column;align-items:flex-end;text-align:right;gap:2px;flex-shrink:0;color:#e9c77f}
.v40-hotel .v42-rate small{font-size:11px;color:#f0d9b0}.v40-hotel .v42-rate strong{font-size:16px;white-space:nowrap;font-weight:800}
.v40-hotel .v42-specs{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:14px 0;color:#e8e6de;font-size:12px}
.v40-hotel .v42-specs span{border:1px solid rgba(238,211,160,.35);background:rgba(255,255,255,.07);border-radius:30px;padding:5px 9px}
.v40-hotel .v42-description{font-size:13px!important;line-height:1.56!important;color:#dce6ec!important;margin:0 0 17px!important;min-height:40px}
.v40-hotel .v42-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;border-top:1px solid rgba(238,211,160,.19);padding-top:14px}
.v40-hotel .v42-variant-control{min-width:0;display:block}.v40-hotel .v42-variant-control span{display:block;color:#fff0d0;font-size:11px;font-weight:800;margin-bottom:7px}
.v40-hotel .v42-variant-control select{width:100%;min-width:0;min-height:46px;padding:10px 28px 10px 11px;background:#fffaf0;color:#0e3150;border-radius:10px;border:1px solid #d8c397;font-size:13px;font-weight:700}
.v40-hotel .v42-select-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #efcd85;border-radius:11px;background:linear-gradient(120deg,#f0d28c,#d4a449);color:#092741;font-size:13px;font-weight:850;padding:11px 18px;cursor:pointer;text-decoration:none;white-space:nowrap}
.v40-hotel .v42-select-btn:hover{filter:brightness(1.06)}
.v40-hotel .v42-card.is-selected .v42-select-btn{background:#fff5dc;border-color:#fff5dc}
.v40-hotel .v42-gallery-dialog{position:fixed;inset:0;width:min(1060px,calc(100vw - 28px));max-width:1060px;max-height:min(92dvh,950px);margin:auto;border:1px solid rgba(219,184,119,.44);border-radius:22px;background:linear-gradient(135deg,#0b2946,#183d5c);color:#fff;box-shadow:0 30px 100px rgba(3,15,28,.5);padding:0;overflow:auto}
.v40-hotel .v42-gallery-dialog::backdrop{background:rgba(4,17,30,.79);backdrop-filter:blur(10px)}
.v40-hotel .v42-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 25px;border-bottom:1px solid rgba(226,191,127,.26)}
.v40-hotel .v42-dialog-head h2{color:#fff!important;font:600 clamp(25px,3.5vw,35px)/1.12 Georgia,serif!important;margin:6px 0 0!important}
.v40-hotel .v42-dialog-close{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.4);border-radius:50%;color:#fff;cursor:pointer;font-size:25px;width:44px;height:44px;flex-shrink:0}
.v40-hotel .v42-dialog-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,1fr);gap:24px;padding:24px;align-items:start}
.v40-hotel .v42-dialog-main-image{display:block;width:100%;height:clamp(255px,40vw,485px);object-fit:cover;border-radius:15px;background:#0e314f}
.v40-hotel .v42-dialog-no-photo{display:grid;place-items:center;min-height:310px;border:1px solid rgba(235,200,137,.3);border-radius:15px;color:#fff3d4;text-align:center;padding:25px;background:#244760}
.v40-hotel .v42-thumbnails{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:10px}
.v40-hotel .v42-thumbnails button{border:2px solid transparent;border-radius:8px;overflow:hidden;padding:0;cursor:pointer;background:#36516a;aspect-ratio:4/3}
.v40-hotel .v42-thumbnails button[aria-pressed=true]{border-color:#e5bc69}.v40-hotel .v42-thumbnails img{display:block;width:100%;height:100%;object-fit:cover}
.v40-hotel .v42-dialog-details p{color:#f0f5f7!important;line-height:1.75!important;font-size:15px!important;margin:0 0 18px!important}
.v40-hotel .v42-dialog-details h3{color:#f3d089!important;font-size:16px!important;margin:20px 0 9px!important}
.v40-hotel .v42-dialog-details ul{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.v40-hotel .v42-dialog-details li{color:#f1f2ef;font-size:13px}.v40-hotel .v42-dialog-details li:before{content:'✓';color:#ebc477;margin-right:7px}
.v40-hotel .v42-dialog-select{width:100%;margin-top:12px}.v40-hotel .v42-dialog-details>small{display:block;color:#e7dfd1;font-size:12px;margin-top:12px;text-align:center}
.v40-hotel .v42-current-choice{border:1px solid rgba(228,192,130,.45);border-radius:12px;background:rgba(255,255,255,.09);margin:0 0 16px;padding:12px 14px;color:#fff}
.v40-hotel .v42-current-choice>span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#f2d090;font-weight:800;margin-bottom:6px}.v40-hotel .v42-current-choice strong{font-size:14px}
.v40-hotel.v42-js-ready .v42-original-select{display:none}
.v40-hotel .v42-card button:focus-visible,.v40-hotel .v42-card select:focus-visible,.v40-hotel .v42-gallery-dialog button:focus-visible{outline:3px solid #edc578;outline-offset:3px}
@media(max-width:1150px){body.v40-hotel-journey .v40-flow{grid-template-columns:minmax(0,1fr) minmax(295px,318px);gap:16px}.v40-hotel .v42-grid{gap:12px}.v40-hotel .v42-card-actions{grid-template-columns:1fr}.v40-hotel .v42-select-btn{width:100%}.v40-hotel .v42-title-line{flex-direction:column;gap:5px}.v40-hotel .v42-rate{align-items:flex-start;text-align:left;flex-direction:row;gap:5px}}
@media(max-width:900px){body.v40-hotel-journey .v40-flow{display:flex;flex-direction:column}.v40-hotel .v40-sidebar{position:static;order:-1;width:100%}.v40-hotel .v40-primary{width:100%}.v40-hotel .v42-card-actions{grid-template-columns:minmax(0,1fr) auto}.v40-hotel .v42-select-btn{width:auto}}
@media(max-width:650px){.v40-hotel .v42-grid{grid-template-columns:1fr}.v40-hotel .v42-head{align-items:start;flex-direction:column;gap:7px}.v40-hotel .v42-card-media{height:245px}.v40-hotel .v42-title-line{flex-direction:row}.v40-hotel .v42-rate{flex-direction:column;align-items:flex-end;text-align:right}.v40-hotel .v42-dialog-layout{grid-template-columns:1fr;padding:16px;gap:17px}.v40-hotel .v42-dialog-head{padding:18px}.v40-hotel .v42-gallery-dialog{max-height:92dvh}.v40-hotel .v42-dialog-main-image{height:45dvh;min-height:230px;max-height:400px}.v40-hotel .v42-dialog-details{padding-bottom:16px}}
@media(max-width:390px){body.v40-hotel-journey .v40-frame{width:calc(100% - 24px)}.v40-hotel .v42-section{padding:13px}.v40-hotel .v42-card-media{height:210px}.v40-hotel .v42-card-content{padding:15px}.v40-hotel .v42-title-line{flex-direction:column}.v40-hotel .v42-rate{flex-direction:row;align-items:baseline;text-align:left}.v40-hotel .v42-card-actions{grid-template-columns:1fr}.v40-hotel .v42-select-btn{width:100%}.v40-hotel .v42-dialog-main-image{height:33dvh}.v40-hotel .v42-dialog-details ul{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.v40-hotel .v42-card,.v40-hotel .v42-card-media img{transition:none}}

/* V43 full-width room gallery: booking card no longer leaves an empty column beside rooms. */
.v40-frame > .v42-section{width:100%;margin:24px 0 12px}
.v40-frame > .v42-section .v42-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:720px){.v40-frame > .v42-section .v42-grid{grid-template-columns:1fr}}
