/* VPSRE - CHI TIẾT PHÒNG PRO */
.room-detail-page{
  --rd-orange:#ff4f2b;
  --rd-red:#ff3038;
  --rd-green:#08b96e;
  --rd-blue:#0868ff;
  --rd-text:#20242a;
  --rd-muted:#667085;
  --rd-line:#e4e7eb;
  --rd-bg:#fff8f2;
  background:var(--rd-bg);
  min-height:100vh;
  padding:18px 0 55px;
}
.room-detail-shell{
  width:min(1400px,calc(100% - 24px));
  margin:0 auto;
  display:grid;
  grid-template-columns:120px minmax(0,1000px) 120px;
  justify-content:center;
  gap:18px;
}
.room-detail-center{min-width:0}
.room-breadcrumb{
  display:flex;align-items:center;gap:8px;min-height:28px;margin-bottom:10px;
  font-size:13px;color:#0062c9;white-space:nowrap;overflow:hidden
}
.room-breadcrumb a{color:#0062c9}
.room-breadcrumb strong{
  min-width:0;overflow:hidden;text-overflow:ellipsis;color:#333;font-weight:500
}
.room-detail-layout{
  display:grid;
  grid-template-columns:minmax(0,660px) 320px;
  gap:18px;
  align-items:start;
}
.room-detail-main{min-width:0}
.room-detail-sidebar{display:grid;gap:13px;position:sticky;top:90px}
.room-detail-ad{padding-top:18px}
.room-detail-ad-box{
  position:sticky;top:100px;width:120px;height:300px;border-radius:3px;overflow:hidden;
  background:linear-gradient(180deg,#0e74c5 0 45%,#e52328 45% 100%);
  color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  box-shadow:0 1px 3px rgba(0,0,0,.08)
}
.room-detail-ad-box b{font-size:22px;line-height:1.2}
.room-detail-ad-box span{margin-top:12px;font-size:12px;opacity:.9}

/* Gallery */
.room-media-card{
  position:relative;background:#fff;border:1px solid #e5e7eb;border-radius:6px;
  box-shadow:0 2px 5px rgba(0,0,0,.06);overflow:hidden;margin-bottom:12px
}
.room-media-stage{
  height:360px;background:#050505;display:flex;align-items:center;justify-content:center;overflow:hidden
}
.room-media-stage img,.room-media-stage video{
  width:100%;height:100%;object-fit:contain;background:#050505
}
.room-media-stage iframe{width:100%;height:100%;border:0;background:#000}
.room-media-nav{
  position:absolute;top:160px;z-index:5;width:40px;height:42px;border:0;background:rgba(44,50,56,.82);
  color:#fff;font-size:38px;font-weight:200;line-height:1;cursor:pointer
}
.room-media-nav--prev{left:0}
.room-media-nav--next{right:0}
.room-media-nav:hover{background:#222}
.room-media-thumbs{
  display:flex;gap:5px;padding:9px 165px 9px 165px;overflow-x:auto;background:#fff;scrollbar-width:thin
}
.room-media-thumb{
  flex:0 0 64px;height:58px;padding:0;border:2px solid transparent;border-radius:6px;overflow:hidden;
  background:#f4f4f4;cursor:pointer;position:relative
}
.room-media-thumb.active{border-color:#ff5a33}
.room-media-thumb img{width:100%;height:100%;object-fit:cover}
.room-thumb-video{display:grid;place-items:center;width:100%;height:100%;background:#333;color:#fff;font-size:21px}
.room-external-video{padding:0 10px 10px}
.room-external-video a{display:inline-flex;color:#0868ff;font-size:13px;font-weight:700}

/* Main information */
.room-info-card,.room-section-card{
  background:#fff;border:1px solid #e4e7eb;border-radius:6px;
  box-shadow:0 2px 5px rgba(0,0,0,.05);padding:20px;margin-bottom:12px
}
.room-feature-badge{
  display:inline-flex;background:#ff3341;color:#fff;border-radius:6px;padding:4px 8px;margin-bottom:8px;
  font-size:11px;font-weight:900
}
.room-info-card h1{
  margin:0 0 10px;color:#ff3038;font-size:21px;line-height:1.35;font-weight:500
}
.room-price-row{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:17px
}
.room-price-row strong{color:#00a95f;font-size:17px}
.room-price-row span{font-size:13px;color:#111}
.room-price-row em{margin-left:auto;color:#4b5563;font-size:12px;font-style:normal}
.room-facts{margin:0;display:grid;gap:7px}
.room-facts>div{display:grid;grid-template-columns:132px 1fr;gap:10px;font-size:13px}
.room-facts dt{color:#667085}
.room-facts dd{margin:0;color:#111}
.room-facts a{color:#0068d7;text-decoration:underline;text-underline-offset:2px}

.room-section-card h2{
  margin:0 0 15px;font-size:19px;color:#111;font-weight:750
}
.room-description{
  color:#111;font-size:14px;line-height:2;white-space:normal;overflow-wrap:anywhere
}

/* Amenities */
.room-amenity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 22px}
.room-amenity{display:flex;align-items:center;gap:7px;font-size:12px}
.room-amenity span{
  width:16px;height:16px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:900
}
.room-amenity b{font-weight:500}
.room-amenity.is-on span{background:#38ad4d}
.room-amenity.is-on b{color:#111}
.room-amenity.is-off span{background:#eff1f2;color:#fff}
.room-amenity.is-off b{color:#d6d8da}

/* Map */
.room-location-line{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;margin-bottom:11px
}
.room-location-line a{margin-left:auto;color:#0868ff}
.room-map{width:100%;height:300px;border:0;border-radius:3px;background:#e5e7eb}

/* Owner sidebar */
.room-owner-card{
  background:#fff;border:1px solid #e4e7eb;border-radius:6px;padding:16px 14px;text-align:center;
  box-shadow:0 2px 5px rgba(0,0,0,.05)
}
.room-owner-card__avatar{
  width:96px;height:96px;margin:0 auto 10px;border-radius:50%;border:1px solid #d8dde3;
  background:#f3f5f7;display:grid;place-items:center;color:#c1c8cf;font-size:38px;font-weight:800
}
.room-owner-card h3{margin:0;font-size:18px}
.room-owner-status{display:block;color:#4b5563;font-size:11px;margin-top:3px}
.room-owner-status::first-letter{color:#32ad55}
.room-owner-card p{margin:8px 0;color:#4b5563;font-size:11px}
.room-owner-label{color:#1265d6;font-size:12px;font-weight:800;margin:8px 0 13px}
.room-contact-button{
  display:flex;align-items:center;justify-content:center;height:43px;border-radius:13px;margin-top:7px;
  color:#fff;font-size:16px;font-weight:750
}
.room-contact-button--phone{background:#12b981}
.room-contact-button--zalo{background:#176df5}
.room-owner-tools{
  display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-top:15px;padding-top:12px;border-top:1px solid #e5e7eb
}
.room-owner-tools button{
  border:0;background:transparent;padding:6px 2px;color:#111;font-size:12px;cursor:pointer
}
.room-owner-tools button span{margin-left:4px}
.room-owner-tools button:hover{color:#0868ff}

/* Featured sidebar */
.room-featured-sidebar{
  background:#c9f4ff;border:1px solid #00a9df;border-radius:5px;padding:12px
}
.room-featured-sidebar h3{font-size:18px;margin:0 0 10px}
.room-side-listing{
  display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px;padding:10px 0;border-top:1px solid rgba(0,154,200,.18)
}
.room-side-listing:first-of-type{border-top:0;padding-top:0}
.room-side-listing__image{height:100px;position:relative;border-radius:5px;overflow:hidden;background:#fff}
.room-side-listing__image img{width:100%;height:100%;object-fit:cover}
.room-side-listing__image>span{
  position:absolute;left:-20px;top:9px;transform:rotate(-45deg);width:80px;text-align:center;
  background:#ff3155;color:#fff;font-size:8px;font-weight:800;padding:3px
}
.room-side-listing__image>i{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.82);color:#666;font-style:normal
}
.room-side-listing__body{min-width:0;display:grid;align-content:space-between}
.room-side-listing__body>b{
  color:#ff3155;font-size:12px;line-height:1.45;font-weight:500;display:-webkit-box;
  -webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden
}
.room-side-listing__body>div{display:flex;align-items:center;justify-content:space-between;gap:5px}
.room-side-listing__body strong{color:#03a96a;font-size:11px}
.room-side-listing__body small{color:#667085;font-size:9px;white-space:nowrap}

/* Bottom contact */
.room-contact-bottom{padding-bottom:22px}
.room-contact-inline{display:flex;align-items:center;gap:12px}
.room-owner-avatar{
  width:72px;height:72px;border-radius:50%;background:#f2f4f5;border:1px solid #dce1e5;
  display:grid;place-items:center;color:#c2c9ce;font-size:28px;font-weight:800;flex:none
}
.room-contact-inline__info{display:grid;gap:4px}
.room-contact-inline__info>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.room-contact-inline__info strong{font-size:17px}
.room-contact-inline__info small{color:#667085}
.room-active-dot{font-size:10px;color:#667085}
.room-active-dot::first-letter{color:#2dad51}
.room-contact-inline__actions{display:flex;gap:8px;margin:12px 0 16px 84px}
.room-call-small,.room-zalo-small{
  border-radius:16px;padding:7px 12px;color:#fff;font-size:12px;font-weight:750
}
.room-call-small{background:#12b981}
.room-zalo-small{background:#176df5}
.room-safety-note{
  border:1px solid #ffd56b;background:#fff9e8;border-radius:6px;padding:11px 13px;
  display:grid;gap:3px;font-size:11px;color:#744b00
}

/* Mobile contact */
.room-mobile-contact{display:none}
.room-toast{
  position:fixed;right:22px;bottom:22px;z-index:3000;max-width:320px;
  background:#111827;color:#fff;border-radius:9px;padding:10px 14px;font-size:12px;
  opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s
}
.room-toast.show{opacity:1;transform:translateY(0)}

/* responsive */
@media(max-width:1320px){
  .room-detail-shell{grid-template-columns:minmax(0,1000px)}
  .room-detail-ad{display:none}
}
@media(max-width:1020px){
  .room-detail-layout{grid-template-columns:minmax(0,1fr) 285px}
  .room-media-thumbs{padding-left:90px;padding-right:90px}
}
@media(max-width:820px){
  .room-detail-page{padding-top:8px;padding-bottom:76px}
  .room-detail-shell{width:min(100% - 16px,1000px)}
  .room-detail-layout{grid-template-columns:1fr}
  .room-detail-sidebar{position:static;grid-row:auto}
  .room-owner-card{order:1}
  .room-featured-sidebar{order:2}
  .room-media-stage{height:min(58vw,420px)}
  .room-media-nav{top:calc(29vw - 20px)}
  .room-media-thumbs{padding:8px}
  .room-amenity-grid{grid-template-columns:repeat(3,1fr)}
  .room-mobile-contact{
    position:fixed;left:0;right:0;bottom:0;z-index:2000;height:62px;background:#fff;border-top:1px solid #ddd;
    display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px
  }
  .room-mobile-contact a{
    display:flex;align-items:center;justify-content:center;border-radius:10px;color:#fff;font-weight:800
  }
  .room-mobile-contact a:first-child{background:#12b981}
  .room-mobile-contact a:last-child{background:#176df5}
}
@media(max-width:560px){
  .room-breadcrumb{font-size:11px}
  .room-media-stage{height:62vw}
  .room-media-nav{width:34px;height:38px;top:calc(31vw - 18px)}
  .room-media-thumb{flex-basis:58px;height:52px}
  .room-info-card,.room-section-card{padding:15px}
  .room-info-card h1{font-size:18px}
  .room-price-row{gap:8px}
  .room-price-row em{width:100%;margin-left:0}
  .room-facts>div{grid-template-columns:98px 1fr}
  .room-amenity-grid{grid-template-columns:repeat(2,1fr);gap:9px}
  .room-map{height:240px}
  .room-contact-inline__actions{margin-left:0}
}
