.smartorder-status{padding:12px 0;font-size:14px;color:var(--deep)}.smartorder-results{display:grid;gap:14px;margin-bottom:22px}.smartorder-result{display:grid;grid-template-columns:1fr auto;gap:15px;background:white;border:1px solid #d7e0e5;padding:20px}.smartorder-result h4{margin:0;font-size:18px}.smartorder-result p{margin:4px 0;font-size:13px}.smartorder-result strong{display:block;font-size:21px}.smartorder-result button{border:0;align-self:center}.smartorder-checkout{background:#fff;padding:20px;border:1px solid #d7e0e5}.smartorder-checkout form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.smartorder-checkout label{display:grid;gap:5px;font-size:13px}.smartorder-checkout input{width:100%;padding:12px;border:1px solid #b4c7d3}.smartorder-checkout p,.smartorder-checkout button{grid-column:1/-1}@media(max-width:650px){.smartorder-result{grid-template-columns:1fr}.smartorder-checkout form{grid-template-columns:1fr}}

.api-preview-banner{max-width:1000px;margin:25px auto 0;padding:22px 25px;border:1px solid #b7ccd8;background:#f2f7fa;text-align:left;color:#183e55}.api-preview-banner strong{display:block;font-size:16px;letter-spacing:.03em}.api-preview-banner p{margin:10px 0 17px;line-height:1.8;font-size:13px}.api-preview-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.api-preview-steps span{background:#fff;padding:12px;font-size:12px;border-left:3px solid #245f83}@media(max-width:700px){.api-preview-steps{grid-template-columns:1fr 1fr}}

.booking-catalog{text-align:left;margin:32px auto 25px}.booking-catalog>h3{font-size:23px;margin:0 0 8px}.booking-catalog>h3 small{display:inline-block;font-family:inherit;font-size:12px;color:var(--muted);font-weight:400;margin-left:12px}.booking-catalog-hint{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:22px}.booking-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.booking-catalog-grid article{background:#fff;border:1px solid #dbe4e9;overflow:hidden}.booking-catalog-grid img{width:100%;height:190px;object-fit:cover}.booking-catalog-grid article>div{padding:17px 20px}.booking-catalog-grid span{font-size:10px;color:var(--blue);letter-spacing:.12em;font-weight:700}.booking-catalog-grid h4{font-size:19px;color:var(--deep);margin:5px 0;font-weight:700}.booking-catalog-grid article p{font-size:12px;color:var(--muted);margin:0}.booking-catalog-grid article:last-child{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr}.booking-catalog-grid article:last-child img{height:100%;min-height:160px}@media(max-width:650px){.booking-catalog-grid{grid-template-columns:1fr}.booking-catalog-grid article:last-child{grid-column:auto;display:block}.booking-catalog-grid article:last-child img{height:190px}}

.room-photo-viewer{position:relative}.room-photo-viewer>img{width:100%;height:190px;object-fit:cover;display:block}.room-photo-nav{position:absolute;top:65px;left:8px;right:8px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.room-photo-nav button{pointer-events:auto;border:0;background:rgba(10,40,55,.75);color:white;font-size:26px;width:36px;height:42px;cursor:pointer}.room-photo-nav .photo-count{pointer-events:none;background:rgba(10,40,55,.75);color:white;padding:6px 9px;font-size:12px;border-radius:5px}.room-photo-dots{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;padding:9px;background:#fff}.room-photo-dots button{border:1px solid #aebec9;background:white;border-radius:3px;min-width:28px;min-height:28px;font-size:12px;cursor:pointer}.room-photo-dots button[aria-current=true]{background:#245f83;color:white;border-color:#245f83}.booking-catalog-grid article:last-child .room-photo-viewer>img{height:100%;min-height:160px}@media(max-width:650px){.booking-catalog-grid article:last-child .room-photo-viewer>img{height:190px}}

.room-photo-nav{inset:0 9px 0 9px;top:0;bottom:0;left:9px;right:9px;align-items:center}.room-photo-nav button{border-radius:50%;width:38px;height:38px;line-height:38px;padding:0;text-align:center;font-size:26px;background:rgba(13,34,46,.65)}.room-photo-nav button:hover{background:rgba(13,34,46,.9)}

body[data-page="rooms"] .booking-catalog-grid article p.room-description{font-size:13px;line-height:1.85;color:#526574;margin-top:12px}body[data-page="rooms"] .booking-catalog-grid article>div:last-child{padding-bottom:21px}
/* Rooms page: alternating photo-and-description editorial rows. Booking cards unaffected. */
body[data-page="rooms"] .booking-catalog-grid{display:flex;flex-direction:column;gap:30px}
body[data-page="rooms"] .booking-catalog-grid article,body[data-page="rooms"] .booking-catalog-grid article:last-child{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:stretch;min-width:0;grid-column:auto}
body[data-page="rooms"] .booking-catalog-grid article:nth-child(even) .room-photo-viewer{order:2}
body[data-page="rooms"] .booking-catalog-grid article:nth-child(even)>div:last-child{order:1}
body[data-page="rooms"] .booking-catalog-grid .room-photo-viewer{min-width:0;min-height:245px}
body[data-page="rooms"] .booking-catalog-grid .room-photo-viewer>img,body[data-page="rooms"] .booking-catalog-grid article:last-child .room-photo-viewer>img{width:100%;height:100%;min-height:245px;object-fit:cover}
body[data-page="rooms"] .booking-catalog-grid article>div:last-child{display:flex;flex-direction:column;justify-content:center;padding:28px 32px}
@media(max-width:700px){body[data-page="rooms"] .booking-catalog-grid article,body[data-page="rooms"] .booking-catalog-grid article:last-child{display:flex;flex-direction:column}body[data-page="rooms"] .booking-catalog-grid article:nth-child(even) .room-photo-viewer,body[data-page="rooms"] .booking-catalog-grid article:nth-child(even)>div:last-child{order:initial}body[data-page="rooms"] .booking-catalog-grid .room-photo-viewer,body[data-page="rooms"] .booking-catalog-grid .room-photo-viewer>img,body[data-page="rooms"] .booking-catalog-grid article:last-child .room-photo-viewer>img{min-height:0;height:220px}body[data-page="rooms"] .booking-catalog-grid article>div:last-child{padding:20px}}

body[data-page="rooms"] .room-editorial-list{display:flex;flex-direction:column;gap:45px;margin:28px auto 40px}body[data-page="rooms"] .room-editorial-row{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:center;gap:clamp(26px,4vw,70px);min-width:0}body[data-page="rooms"] .room-editorial-row.reverse .room-photo-viewer{order:2}body[data-page="rooms"] .room-editorial-row.reverse .room-editorial-copy{order:1}body[data-page="rooms"] .room-editorial-row .room-photo-viewer{position:relative;height:clamp(270px,29vw,410px);min-width:0}body[data-page="rooms"] .room-editorial-row .room-photo-viewer>img{height:100%;width:100%;object-fit:cover}body[data-page="rooms"] .room-editorial-copy{padding:10px 0}body[data-page="rooms"] .room-editorial-copy .english{font-size:11px;letter-spacing:.17em;color:var(--blue)}body[data-page="rooms"] .room-editorial-copy h3{font-family:var(--serif);font-size:clamp(23px,2.4vw,32px);font-weight:500;color:var(--deep);line-height:1.45;margin:13px 0 20px}body[data-page="rooms"] .room-editorial-description{line-height:2.05;font-size:15px;margin:0 0 23px}body[data-page="rooms"] .room-editorial-spec{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:15px}@media(max-width:700px){body[data-page="rooms"] .room-editorial-list{gap:32px}body[data-page="rooms"] .room-editorial-row{display:flex;flex-direction:column;align-items:stretch;gap:12px}body[data-page="rooms"] .room-editorial-row.reverse .room-photo-viewer,body[data-page="rooms"] .room-editorial-row.reverse .room-editorial-copy{order:initial}body[data-page="rooms"] .room-editorial-row .room-photo-viewer{height:245px}body[data-page="rooms"] .room-editorial-copy{padding:8px 0 20px}}

/* Verified PMS room photos in live availability results; never guess unmatched IDs. */
.smartorder-result:has(.smartorder-result-photo){grid-template-columns:minmax(140px,210px) minmax(0,1fr) auto;align-items:center}.smartorder-result-photo{width:100%;height:155px;object-fit:cover;border-radius:3px}.smartorder-result-unmatched{grid-template-columns:1fr auto}.smartorder-result-unmatched h4:after{content:' · 房型照片待核对';font-size:11px;font-weight:normal;color:#788992}@media(max-width:760px){.smartorder-result:has(.smartorder-result-photo){grid-template-columns:1fr}.smartorder-result-photo{height:210px}.smartorder-result-unmatched{grid-template-columns:1fr}}

.smartorder-result:has(.smartorder-result-viewer){grid-template-columns:minmax(140px,210px) minmax(0,1fr) auto;align-items:center}.smartorder-result-viewer{position:relative;min-width:0}.smartorder-result-viewer .smartorder-result-photo{width:100%;height:155px;object-fit:cover}.smartorder-result-viewer .room-photo-nav{inset:0 5px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.smartorder-result-viewer .room-photo-nav button{pointer-events:auto;background:#163b53b8;color:#fff;border:0;border-radius:50%;height:34px;width:34px;font-size:22px;line-height:30px}@media(max-width:760px){.smartorder-result:has(.smartorder-result-viewer){grid-template-columns:1fr}.smartorder-result-viewer .smartorder-result-photo{height:210px}}

/* Native scroll-snap carousel: photos follow the finger continuously. */
.smartorder-result-viewer{overflow:hidden}.smartorder-swipe-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y}.smartorder-swipe-track::-webkit-scrollbar{display:none}.smartorder-swipe-track .smartorder-result-photo{display:block;flex:0 0 100%;width:100%;min-width:100%;scroll-snap-align:start;object-fit:cover;user-select:none;-webkit-user-drag:none}@media(prefers-reduced-motion:reduce){.smartorder-swipe-track{scroll-behavior:auto}}

/* Shared continuous native photo carousel in static room galleries. */
.room-photo-viewer{overflow:hidden}.room-swipe-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y}.room-swipe-track::-webkit-scrollbar{display:none}.room-swipe-track img{display:block;flex:0 0 100%;width:100%;min-width:100%;height:190px;object-fit:cover;scroll-snap-align:start;user-select:none;-webkit-user-drag:none}@media(prefers-reduced-motion:reduce){.room-swipe-track{scroll-behavior:auto}}

/* Rooms gallery matches facilities' clean 4:3 framing. Keep arrow controls clickable. */
body[data-page="rooms"] .room-editorial-row .room-photo-viewer{height:auto;aspect-ratio:4/3;background:#e7eff2}
body[data-page="rooms"] .room-editorial-row .room-swipe-track{height:100%}
body[data-page="rooms"] .room-editorial-row .room-swipe-track img{height:100%;object-fit:cover}
body[data-page="rooms"] .room-editorial-row .room-photo-nav{z-index:5;top:0;bottom:0;left:8px;right:8px;align-items:center}
body[data-page="rooms"] .room-editorial-row .room-photo-nav button{position:relative;z-index:6;pointer-events:auto}

/* Booking page room collection only; PMS quote gallery is intentionally untouched. */
body[data-page="booking"] #booking-catalog .room-photo-viewer{aspect-ratio:4/3;height:auto;min-width:0;overflow:hidden;background:#e7eff2}
body[data-page="booking"] #booking-catalog .room-swipe-track{height:100%;width:100%}
body[data-page="booking"] #booking-catalog .room-swipe-track img{display:block;height:100%;width:100%;min-width:100%;object-fit:cover}
body[data-page="booking"] #booking-catalog .room-photo-nav{z-index:5;top:0;bottom:0;left:8px;right:8px;align-items:center}
body[data-page="booking"] #booking-catalog .room-photo-nav button{position:relative;z-index:6;pointer-events:auto}
body[data-page="booking"] #booking-catalog .booking-catalog-grid article:last-child .room-photo-viewer{min-width:0}

/* Compact and evenly sized static room collection. PMS result cards excluded. */
body[data-page="booking"] #booking-catalog .booking-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:940px;margin-inline:auto;gap:18px}
body[data-page="booking"] #booking-catalog .booking-catalog-grid article:last-child{grid-column:auto;display:block}
body[data-page="booking"] #booking-catalog .booking-catalog-grid article{min-width:0}
@media(max-width:650px){body[data-page="booking"] #booking-catalog .booking-catalog-grid{grid-template-columns:1fr;max-width:390px;gap:16px}}
