/* ═══════════════════════════════════════════════════
   Hotel Manager — Detail Page CSS v5
   Primary: #111 (black)  |  Gold: #c49a28  |  Blue: #2d3a8c
   ═══════════════════════════════════════════════════ */
:root {
  --hd-black:  #111;
  --hd-blue:   #2d3a8c;
  --hd-gold:   #c49a28;
  --hd-gray:   #6b7280;
  --hd-light:  #f9fafb;
  --hd-line:   #e5e7eb;
  --hd-r:      12px;
  --hd-green:  #16a34a;
  --hd-red:    #dc2626;
  --hd-amber:  #d97706;
}

/* ── Wrapper: natural width, no breakout ── */
.hmp-detail-wrap {
  width: 100%;
  max-width: 1200px;
  position: relative;
  left: auto;
  right: auto;
  margin: 0 auto;
  padding: 0 24px 80px;
  font-family: inherit;
  color: #111;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* ── Inner container for text sections ── */
.hmp-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ════════════════════════════════════════
   GALLERY HERO — full bleed
   ════════════════════════════════════════ */
.hmp-gallery-hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 420px;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0;
  /* Side gaps on desktop */
  margin-left: 0;
  margin-right: 0;
}
.hmp-main-img {
  overflow: hidden; position: relative; cursor: pointer;
}
.hmp-thumb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}
.hmp-gal-thumb { overflow: hidden; position: relative; cursor: pointer; }
.hmp-gallery-hero img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; display:block; }
.hmp-main-img:hover img,
.hmp-gal-thumb:hover img { transform: scale(1.05); }
.hmp-gal-overlay {
  position:absolute; inset:0;
  background:rgba(0,0,0,.38);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .25s;
}
.hmp-main-img:hover .hmp-gal-overlay,
.hmp-gal-thumb:hover .hmp-gal-overlay { opacity:1; }
.hmp-show-all-btn {
  position:absolute; bottom:14px; right:14px;
  background:#fff; color:#111; font-size:12px; font-weight:700;
  padding:7px 14px; border-radius:8px; border:none; cursor:pointer;
  display:flex; align-items:center; gap:6px;
  box-shadow:0 2px 12px rgba(0,0,0,.25);
}

/* Lightbox */
.hmp-lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,.93); z-index:99999; align-items:center; justify-content:center; flex-direction:column; gap:14px; }
.hmp-lightbox.open { display:flex; }
.hmp-lightbox > img { max-width:92vw; max-height:80vh; border-radius:8px; }
.hmp-lb-close { position:fixed; top:20px; right:24px; color:#fff; font-size:36px; cursor:pointer; background:none; border:none; line-height:1; }
.hmp-lb-thumbs { display:flex; gap:8px; overflow-x:auto; max-width:92vw; padding:4px 0; }
.hmp-lb-thumbs img { width:64px; height:48px; object-fit:cover; border-radius:6px; cursor:pointer; opacity:.55; transition:opacity .18s; border:2px solid transparent; flex-shrink:0; }
.hmp-lb-thumbs img.active,
.hmp-lb-thumbs img:hover { opacity:1; border-color:#fff; }

/* ════════════════════════════════════════
   AMENITY TAG STRIP
   ════════════════════════════════════════ */
.hmp-tag-strip {
  display:flex; flex-wrap:wrap; gap:8px;
  padding:16px 0 0;
  max-width:100%; margin:0;
}
.hmp-tag {
  background:#1a9e50; color:#fff;
  font-size:12px; font-weight:700;
  padding:5px 13px; border-radius:20px; white-space:nowrap;
}

/* ════════════════════════════════════════
   MAIN 2-COLUMN LAYOUT
   ════════════════════════════════════════ */
.hmp-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  max-width: 100%;
  margin: 20px 0 0;
  padding: 0;
}

/* Sections */
.hmp-detail-section {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--hd-line);
}
.hmp-detail-section:last-child { border-bottom:none; margin-bottom:0; }
.hmp-detail-h2 {
  font-size: 1.2rem; font-weight: 800; color: #111;
  margin: 0 0 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--hd-line);
}
.hmp-detail-desc { font-size:14.5px; color:#374151; line-height:1.85; margin:0; }

/* ════════════════════════════════════════
   HOTEL IDENTITY
   ════════════════════════════════════════ */
.hmp-hotel-identity { padding-top:6px; }
.hmp-hotel-cat {
  font-size:11px; font-weight:700; color:var(--hd-gold);
  letter-spacing:.12em; text-transform:uppercase; margin-bottom:8px;
}
/* Star badge — separate row above title */
.hmp-star-badge-row { margin-bottom:10px; }
.hmp-star-badge {
  display:inline-flex; align-items:center; gap:4px;
  background:#fef3c7; border:1px solid #fcd34d;
  color:#92400e; font-size:13px; font-weight:800;
  padding:4px 10px; border-radius:6px;
}
/* Hotel title — NO stars inside */
.hmp-hotel-title {
  font-size:1.9rem; font-weight:800; color:#111;
  margin:0 0 12px; line-height:1.22;
}
.hmp-hotel-meta-row { display:flex; flex-wrap:wrap; gap:14px; margin-top:8px; }
.hmp-meta-pill { display:flex; align-items:center; gap:5px; font-size:13px; color:var(--hd-gray); font-weight:500; }
.hmp-meta-haram { color:var(--hd-blue); font-weight:700; }

/* ════════════════════════════════════════
   AMENITIES GRID
   ════════════════════════════════════════ */
.hmp-amenities-grid-detail { display:flex; flex-wrap:wrap; gap:10px; }
.hmp-am-cell {
  display:flex; flex-direction:column; align-items:center; gap:5px;
  min-width:72px; background:var(--hd-light);
  border:1px solid var(--hd-line); border-radius:10px; padding:12px 14px;
  transition:border-color .2s, box-shadow .2s;
}
.hmp-am-cell:hover { border-color:var(--hd-blue); box-shadow:0 2px 8px rgba(45,58,140,.12); }
.hmp-am-cell span { font-size:10px; font-weight:700; color:var(--hd-gray); text-align:center; text-transform:uppercase; letter-spacing:.04em; }

/* ════════════════════════════════════════
   SELECT ROOMS
   ════════════════════════════════════════ */

/* Filter — radio pill style */
.hmp-room-filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px; }
.hmp-filter-btn {
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:1.5px solid var(--hd-line); color:#374151;
  font-size:13px; font-weight:600; padding:9px 18px;
  border-radius:24px; cursor:pointer; transition:all .18s; white-space:nowrap;
  position:relative;
}
/* Radio circle */
.hmp-filter-btn::before {
  content:''; display:block; flex-shrink:0;
  width:15px; height:15px; border-radius:50%;
  border:2px solid #d1d5db;
  transition:all .18s;
}
.hmp-filter-btn:hover { border-color:var(--hd-blue); color:var(--hd-blue); }
.hmp-filter-btn:hover::before { border-color:var(--hd-blue); }
.hmp-filter-btn.active { border-color:var(--hd-blue); color:var(--hd-blue); }
.hmp-filter-btn.active::before {
  border-color:var(--hd-blue);
  background: radial-gradient(circle, var(--hd-blue) 40%, #fff 41%);
  border-width:2px;
}

/* Room cards — bordered list */
.hmp-rooms-list {
  border:1.5px solid var(--hd-line);
  border-radius:14px; overflow:hidden;
}
.hmp-room-card {
  display:flex; align-items:stretch;
  background:#fff; border-bottom:1.5px solid var(--hd-line);
  transition:background .18s;
}
.hmp-room-card:last-child { border-bottom:none; }
.hmp-room-card:hover { background:#fafafa; }

/* Room image */
.hmp-room-card-img { width:210px; flex-shrink:0; overflow:hidden; }
.hmp-room-card-img img { width:100%; height:100%; object-fit:cover; display:block; }
.hmp-room-img-ph {
  width:100%; height:100%;
  background:linear-gradient(135deg,#e5e7eb,#f3f4f6);
  display:flex; align-items:center; justify-content:center;
}

/* Room content split */
.hmp-room-card-content { display:flex; flex:1; align-items:stretch; }
.hmp-room-card-left { flex:1; padding:20px; display:flex; flex-direction:column; gap:9px; }
.hmp-room-card-name { font-size:16px; font-weight:800; color:#111; }
.hmp-room-bed { display:flex; align-items:center; gap:5px; font-size:13px; color:var(--hd-gray); }
.hmp-room-card-desc { font-size:13px; color:#374151; line-height:1.55; }
.hmp-room-includes { display:flex; flex-wrap:wrap; gap:6px; }
.hmp-inc-tag {
  display:inline-flex; align-items:center; gap:4px;
  font-size:11.5px; color:var(--hd-green); font-weight:600;
  background:#f0fdf4; padding:3px 9px; border-radius:12px;
}
.hmp-room-policy-tags { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:auto; padding-top:8px; }
.hmp-policy-tag { font-size:11.5px; font-weight:700; padding:4px 11px; border-radius:6px; }
.hmp-meal-tag  { background:#eff6ff; color:#1d4ed8; }
.hmp-free-cancel { background:#f0fdf4; color:var(--hd-green); }
.hmp-nonref-label { color:var(--hd-red); font-size:12px; font-weight:700; }
.hmp-cancel-rules-btn { background:none; border:none; color:var(--hd-blue); font-size:12px; font-weight:600; cursor:pointer; text-decoration:underline; padding:0; }
.hmp-cancel-info {
  display:flex; align-items:flex-start; gap:7px;
  background:#fef2f2; border:1px solid #fecaca; border-radius:8px;
  padding:10px 13px; margin-top:6px;
  font-size:12.5px; color:var(--hd-red); line-height:1.55;
}

/* Room price + Book Now */
.hmp-room-card-right {
  flex-shrink:0; min-width:170px;
  display:flex; flex-direction:column; align-items:flex-end; justify-content:center;
  gap:14px; padding:20px;
  border-left:1px solid var(--hd-line); text-align:right;
}
.hmp-room-price-wrap {}
.hmp-rp-cur  { font-size:11px; font-weight:700; color:var(--hd-gray); }
.hmp-rp-num  { font-size:1.85rem; font-weight:900; color:#111; line-height:1; }
.hmp-rp-note { font-size:11px; color:var(--hd-gray); margin-top:3px; }

/* Book Now button — black bg, white text */
.hmp-book-room-btn {
  display:inline-block;
  background:#111 !important; color:#fff !important;
  border:none; border-radius:8px;
  padding:11px 24px;
  font-size:13px; font-weight:800;
  cursor:pointer; text-decoration:none;
  transition:background .18s; white-space:nowrap;
  text-align:center;
}
.hmp-book-room-btn:hover { background:#333 !important; color:#fff !important; }

/* ════════════════════════════════════════
   HOTEL POLICIES
   ════════════════════════════════════════ */
.hmp-policies-list {
  border:1.5px solid var(--hd-line); border-radius:12px; overflow:hidden;
}
.hmp-policy-row {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px; border-bottom:1px solid var(--hd-line); gap:12px;
}
.hmp-policy-row:last-child { border-bottom:none; }
.hmp-policy-key { display:flex; align-items:center; gap:7px; font-size:13px; font-weight:700; color:#111; }
.hmp-policy-val { font-size:13px; color:#374151; text-align:right; }

/* ════════════════════════════════════════
   IMPORTANT INFORMATION
   ════════════════════════════════════════ */
.hmp-important-info {
  display:flex; align-items:flex-start; gap:12px;
  background:#fffbeb; border:1.5px solid #fcd34d; border-radius:12px;
  padding:16px; font-size:14px; color:#374151; line-height:1.75;
}

/* ════════════════════════════════════════
   FAQs
   ════════════════════════════════════════ */
.hmp-faq-wrap { display:flex; flex-direction:column; gap:8px; }
.hmp-faq-item { border:1px solid var(--hd-line); border-radius:var(--hd-r); overflow:hidden; }
.hmp-faq-q {
  width:100%; background:var(--hd-light); border:none; text-align:left;
  padding:15px 18px; font-size:14px; font-weight:700; color:#111;
  cursor:pointer; display:flex; justify-content:space-between; align-items:center;
  gap:10px; transition:background .18s;
}
.hmp-faq-q:hover { background:#ebebeb; }
.hmp-faq-arrow { flex-shrink:0; color:#111; transition:transform .25s; }
.hmp-faq-item.open .hmp-faq-arrow { transform:rotate(180deg); }
.hmp-faq-a {
  display:none; padding:14px 18px; font-size:14px; color:#374151;
  line-height:1.75; border-top:1px solid var(--hd-line); background:#fff;
}
.hmp-faq-item.open .hmp-faq-a { display:block; }

/* ════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════ */
.hmp-detail-sidebar { position:sticky; top:20px; }
.hmp-sidebar-card {
  background:#fff; border:1.5px solid var(--hd-line);
  border-radius:16px; overflow:visible;
  box-shadow:0 4px 32px rgba(0,0,0,.08);
}
/* But keep inner elements clipped to rounded corners */
.hmp-sb-dates, .hmp-sb-guests {
  overflow:hidden;
}

/* Dates */
.hmp-sb-dates {
  display:grid; grid-template-columns:1fr 1px 1fr;
  border-bottom:1px solid var(--hd-line);
}
.hmp-sb-date-item { display:flex; flex-direction:column; gap:4px; padding:16px; }
.hmp-sb-date-label {
  display:flex; align-items:center; gap:5px;
  font-size:10px; font-weight:800; color:var(--hd-gray);
  text-transform:uppercase; letter-spacing:.05em;
}
.hmp-sb-date-label svg { color:var(--hd-blue); }
.hmp-sb-date-val { font-size:14px; font-weight:800; color:#111; }
.hmp-sb-date-placeholder { font-size:13px; font-weight:500; color:#9ca3af; }
.hmp-sb-date-divider { background:var(--hd-line); }

/* Guests */
.hmp-sb-guests {
  display:flex; align-items:center; gap:10px;
  padding:14px 16px; border-bottom:1px solid var(--hd-line);
}
.hmp-sb-guests-info { display:flex; flex-direction:column; }
.hmp-sb-guests-info strong {
  font-size:10px; font-weight:800; color:var(--hd-gray);
  text-transform:uppercase; letter-spacing:.05em;
}
.hmp-sb-guests-info span { font-size:14px; font-weight:800; color:#111; }

/* Price */
.hmp-sb-price { padding:18px 16px 0; text-align:center; }
.hmp-sb-price-from { font-size:10px; color:var(--hd-gray); text-transform:uppercase; letter-spacing:.05em; margin-bottom:5px; }
.hmp-sb-price-main { display:flex; align-items:baseline; justify-content:center; gap:4px; }
.hmp-sb-cur  { font-size:13px; font-weight:700; color:var(--hd-gray); }
.hmp-sb-num  { font-size:2.1rem; font-weight:900; color:#111; line-height:1; }
.hmp-sb-note { font-size:11px; color:var(--hd-gray); margin-top:4px; }

/* View Rooms — black bg, white text */
.hmp-sb-view-rooms-btn {
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
  background:#111 !important; color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-align:center !important; font-size:14px !important; font-weight:800 !important;
  padding:13px 16px !important;
  margin:0 !important; border-radius:8px !important;
  text-decoration:none !important; transition:background .18s, transform .2s;
  cursor:pointer !important; border:none !important;
}
.hmp-sb-view-rooms-btn:hover { background:#333 !important; color:#fff !important; }

/* Call / WhatsApp */
.hmp-sb-contact { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:12px 16px 16px; }
.hmp-sb-call, .hmp-sb-wa {
  display:flex; align-items:center; justify-content:center; gap:6px;
  padding:9px; border-radius:8px; font-size:13px; font-weight:700;
  text-decoration:none; transition:background .18s;
}
/* Call — black bg, white text */
.hmp-sb-call { background:#111 !important; color:#fff !important; border:1.5px solid #111 !important; }
.hmp-sb-call:hover { background:#333 !important; color:#fff !important; }
/* WhatsApp — green, white text */
.hmp-sb-wa { background:#25d366 !important; color:#fff !important; }
.hmp-sb-wa:hover { background:#1db954 !important; color:#fff !important; }

/* ════════════════════════════════════════
   RELATED HOTELS
   ════════════════════════════════════════ */
.hmp-detail-related {
  margin-top:60px; border-top:2px solid var(--hd-line);
  padding:40px 0 0; max-width:100%;
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width:1024px) {
  .hmp-detail-layout { grid-template-columns:1fr; padding:0; }
  .hmp-detail-sidebar { position:static; order:-1; margin-bottom:20px; }
  .hmp-sidebar-card { display:grid; grid-template-columns:1fr 1fr; }
  .hmp-sb-dates  { grid-column:1/2; }
  .hmp-sb-guests { grid-column:2/3; border-left:1px solid var(--hd-line); border-bottom:none; }
  .hmp-sb-price  { grid-column:1/2; padding-bottom:16px; }
  .hmp-sb-view-rooms-btn { grid-column:2/3; margin:14px 16px !important; align-self:center; width:auto !important; }
  .hmp-sb-contact { grid-column:1/3; }
  .hmp-gallery-hero { grid-template-rows:320px; }
  .hmp-tag-strip { padding:14px 0; }
  .hmp-room-card-img { width:160px; }
}
@media (max-width:768px) {
  /* Gallery: main image on top, thumb strip below */
  .hmp-gallery-hero {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  .hmp-main-img { height: 240px; }
  .hmp-thumb-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: 70px !important;
    height: 70px !important;
  }
  .hmp-sidebar-card { display:block; }
  .hmp-room-card { flex-direction:column; }
  .hmp-room-card-img { width:100%; height:180px; }
  .hmp-room-card-content { flex-direction:column; }
  .hmp-room-card-right {
    border-left:none; border-top:1px solid var(--hd-line);
    flex-direction:row; justify-content:space-between;
    align-items:center; text-align:left; min-width:unset;
  }
  .hmp-hotel-title { font-size:1.5rem; }
  .hmp-filter-btn { font-size:12px; padding:7px 13px; }
  .hmp-tag-strip { padding:10px 0; }
  .hmp-detail-layout { margin-top:10px; }
}
@media (max-width:480px) {
  .hmp-gallery-hero { grid-template-rows:220px; }
  .hmp-detail-layout { padding:0; }
  .hmp-tag-strip { padding:10px 0; }
}

/* ── Force white text on all plugin buttons (theme override protection) ── */
.hmp-detail-wrap .hmp-book-room-btn,
.hmp-detail-wrap .hmp-book-room-btn:visited,
.hmp-detail-wrap .hmp-book-room-btn:hover,
.hmp-detail-wrap .hmp-sb-view-rooms-btn,
.hmp-detail-wrap .hmp-sb-view-rooms-btn:visited,
.hmp-detail-wrap .hmp-sb-view-rooms-btn:hover,
.hmp-detail-wrap .hmp-sb-call,
.hmp-detail-wrap .hmp-sb-call:visited,
.hmp-detail-wrap .hmp-sb-call:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}
.hmp-detail-wrap .hmp-sb-wa,
.hmp-detail-wrap .hmp-sb-wa:visited,
.hmp-detail-wrap .hmp-sb-wa:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* ── Nuclear white text override for ALL buttons ── */
.hmp-detail-wrap a.hmp-book-room-btn,
.hmp-detail-wrap a.hmp-book-room-btn:link,
.hmp-detail-wrap a.hmp-book-room-btn:visited,
.hmp-detail-wrap a.hmp-book-room-btn:hover,
.hmp-detail-wrap a.hmp-book-room-btn:active,
.hmp-detail-wrap a.hmp-book-room-btn:focus,
.hmp-detail-wrap .hmp-sb-view-rooms-btn,
.hmp-detail-wrap .hmp-sb-view-rooms-btn:link,
.hmp-detail-wrap .hmp-sb-view-rooms-btn:visited,
.hmp-detail-wrap .hmp-sb-view-rooms-btn:hover,
.hmp-detail-wrap .hmp-sb-view-rooms-btn:active,
.hmp-detail-wrap .hmp-sb-view-rooms-btn:focus,
.hmp-detail-wrap .hmp-sb-call,
.hmp-detail-wrap .hmp-sb-call:link,
.hmp-detail-wrap .hmp-sb-call:visited,
.hmp-detail-wrap .hmp-sb-call:hover,
.hmp-detail-wrap .hmp-sb-call:focus,
.hmp-detail-wrap .hmp-sb-wa,
.hmp-detail-wrap .hmp-sb-wa:link,
.hmp-detail-wrap .hmp-sb-wa:visited,
.hmp-detail-wrap .hmp-sb-wa:hover,
.hmp-detail-wrap .hmp-sb-wa:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

/* ── Traveler theme override — keep detail page in flow ── */
.hmp-detail-wrap,
.hmp-gallery-hero,
.hmp-detail-layout,
.hmp-tag-strip {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
  position: static !important;
  transform: none !important;
  float: none !important;
}

/* ════════════════════════════════════════
   DETAIL PAGE ANIMATIONS
   ════════════════════════════════════════ */
@keyframes hmpDetailFadeUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes hmpDetailFadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}
@keyframes hmpDetailSlideRight {
  from { opacity:0; transform:translateX(-20px); }
  to   { opacity:1; transform:translateX(0); }
}

/* Gallery entrance */
.hmp-gallery-hero {
  animation: hmpDetailFadeIn .6s ease both;
}
.hmp-main-img { animation: hmpDetailFadeUp .55s ease both; }
.hmp-gal-thumb:nth-child(1) { animation: hmpDetailFadeUp .6s .05s ease both; }
.hmp-gal-thumb:nth-child(2) { animation: hmpDetailFadeUp .6s .1s ease both; }
.hmp-gal-thumb:nth-child(3) { animation: hmpDetailFadeUp .6s .15s ease both; }
.hmp-gal-thumb:nth-child(4) { animation: hmpDetailFadeUp .6s .2s ease both; }

/* Tag strip */
.hmp-tag-strip { animation: hmpDetailFadeUp .5s .2s ease both; }
.hmp-tag {
  transition: transform .2s ease, background .2s ease;
}
.hmp-tag:hover { transform:scale(1.08); background:#138d42; }

/* Hotel identity */
.hmp-hotel-identity { animation: hmpDetailFadeUp .5s .25s ease both; }
.hmp-hotel-title { transition: color .2s ease; }

/* Sections fade up */
.hmp-detail-section {
  animation: hmpDetailFadeUp .5s ease both;
}
.hmp-detail-section:nth-child(1) { animation-delay:.3s; }
.hmp-detail-section:nth-child(2) { animation-delay:.38s; }
.hmp-detail-section:nth-child(3) { animation-delay:.46s; }
.hmp-detail-section:nth-child(4) { animation-delay:.54s; }
.hmp-detail-section:nth-child(5) { animation-delay:.62s; }

/* Amenity cells hover */
.hmp-am-cell {
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.hmp-am-cell:hover {
  transform: translateY(-3px);
  border-color: var(--hd-blue);
  box-shadow: 0 4px 14px rgba(45,58,140,.12);
}

/* Room cards */
.hmp-room-card {
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
.hmp-room-card:hover {
  background: #f8faff !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.07) !important;
  transform: translateX(4px) !important;
}
.hmp-rooms-list {
  animation: hmpDetailFadeUp .5s .5s ease both;
}

/* Book Now button */
.hmp-book-room-btn {
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease !important;
}
.hmp-book-room-btn:hover {
  background: #333 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.2) !important;
}

/* Filter buttons */
.hmp-filter-btn {
  transition: all .2s ease !important;
}
.hmp-filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(45,58,140,.15);
}

/* Sidebar card entrance */
.hmp-detail-sidebar {
  animation: hmpDetailFadeUp .55s .15s ease both;
}
.hmp-sidebar-card {
  transition: box-shadow .3s ease;
}
.hmp-sidebar-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,.13) !important;
}

/* Sidebar buttons */
.hmp-sb-view-rooms-btn,
.hmp-sb-call,
.hmp-sb-wa {
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease !important;
}
.hmp-sb-view-rooms-btn:hover,
.hmp-sb-call:hover,
.hmp-sb-wa:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.18) !important;
}

/* FAQ items */
.hmp-faq-item {
  transition: box-shadow .2s ease;
}
.hmp-faq-item:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.hmp-faq-q { transition: background .2s ease, color .2s ease; }

/* Policy rows hover */
.hmp-policy-row {
  transition: background .15s ease;
}
.hmp-policy-row:hover { background: #f9fafb; }

/* ── "View Rooms" DROPDOWN from sidebar ── */
.hmp-rooms-dropdown-wrap {
  position: relative;
}
.hmp-rooms-dropdown-wrap {
  position: static;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0 !important;
}
.hmp-rooms-dropdown-wrap > button {
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.hmp-rooms-preview-drop {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #fff;
  border: none;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,.18);
  z-index: 99999;
  max-height: 70vh;
  overflow-y: auto;
  padding: 0;
}
.hmp-rooms-preview-drop.open {
  display: block;
  animation: hmpSlideUp .3s ease both;
}
.hmp-rpd-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--hd-line);
  display: flex; align-items: center; justify-content: space-between;
}
.hmp-rpd-title { font-size: 14px; font-weight: 800; color: #111; }
.hmp-rpd-close {
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--hd-gray); line-height: 1;
  padding: 0; transition: color .15s;
}
.hmp-rpd-close:hover { color: #111; }
.hmp-rpd-room {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--hd-line);
  gap: 12px; transition: background .15s;
}
.hmp-rpd-room:last-child { border-bottom: none; }
.hmp-rpd-room:hover { background: #f8faff; }
.hmp-rpd-room-info { flex: 1; }
.hmp-rpd-room-name { font-size: 13px; font-weight: 700; color: #111; margin-bottom: 3px; }
.hmp-rpd-room-meta { font-size: 11px; color: var(--hd-gray); display: flex; gap: 8px; flex-wrap: wrap; }
.hmp-rpd-meal { background: #eff6ff; color: #1d4ed8; padding: 2px 7px; border-radius: 10px; font-size: 10px; font-weight: 700; }
.hmp-rpd-cancel-free { background: #f0fdf4; color: #16a34a; padding: 2px 7px; border-radius: 10px; font-size: 10px; font-weight: 700; }
.hmp-rpd-cancel-nr { background: #fef2f2; color: #dc2626; padding: 2px 7px; border-radius: 10px; font-size: 10px; font-weight: 700; }
.hmp-rpd-room-price { text-align: right; flex-shrink: 0; }
.hmp-rpd-cur { font-size: 10px; font-weight: 700; color: var(--hd-gray); }
.hmp-rpd-num { font-size: 1.2rem; font-weight: 900; color: #111; line-height: 1; }
.hmp-rpd-book {
  display: inline-block; background: #111; color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 11px; font-weight: 800; padding: 7px 14px;
  border-radius: 7px; text-decoration: none !important;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.hmp-rpd-book:hover { background: #333; transform: translateY(-1px); }
.hmp-rpd-scroll-hint {
  text-align: center; padding: 10px;
  font-size: 11px; color: var(--hd-gray);
  border-top: 1px solid var(--hd-line);
}


@keyframes hmpSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* Mobile detail padding */
@media(max-width:768px) {
  .hmp-detail-wrap {
    padding: 0 14px 60px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Gallery: stays within padding, has side gaps */
  .hmp-gallery-hero {
    margin: 0 !important;
    border-radius: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media(max-width:480px) {
  .hmp-detail-wrap {
    padding: 0 12px 60px !important;
    box-sizing: border-box !important;
  }
  .hmp-gallery-hero {
    margin: 0 !important;
    border-radius: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Reduce motion */
@media(prefers-reduced-motion: reduce) {
  .hmp-gallery-hero, .hmp-main-img, .hmp-gal-thumb,
  .hmp-tag-strip, .hmp-hotel-identity, .hmp-detail-section,
  .hmp-rooms-list, .hmp-detail-sidebar, .hmp-tag,
  .hmp-am-cell, .hmp-room-card, .hmp-book-room-btn,
  .hmp-filter-btn, .hmp-sidebar-card, .hmp-sb-view-rooms-btn,
  .hmp-sb-call, .hmp-sb-wa, .hmp-faq-item, .hmp-policy-row {
    animation: none !important;
    transition: none !important;
  }
}

/* Dropdown overlay */
.hmp-rooms-drop-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 99998;
  animation: hmpDetailFadeIn .25s ease both;
}
.hmp-rooms-drop-overlay.open { display: block; }

/* Drag handle */
.hmp-rpd-handle {
  width: 40px; height: 4px;
  background: #e5e7eb; border-radius: 2px;
  margin: 12px auto 0;
}
