/* ============================================================
   RAHLA DISCOVERY — Hotel Detail Page Redesign
   Modern OTA-grade UX: Conversion-optimized, premium, mobile-first
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --rd-navy:      #1a2b4e;
  --rd-blue:      #1255CC;
  --rd-blue-light:#5191fa;
  --rd-blue-pale: #e8f0fe;
  --rd-gold:      #D4A843;
  --rd-green:     #00875A;
  --rd-red:       #C0392B;
  --rd-red-soft:  #fff0ee;
  --rd-surface:   #f8f9fc;
  --rd-border:    #e4e8ef;
  --rd-text:      #1a2b4e;
  --rd-muted:     #6b7a8f;
  --rd-white:     #ffffff;
  --rd-shadow-sm: 0 1px 4px rgba(26,43,78,.06);
  --rd-shadow-md: 0 4px 20px rgba(26,43,78,.10);
  --rd-shadow-lg: 0 8px 40px rgba(26,43,78,.14);
  --rd-radius-sm: 8px;
  --rd-radius-md: 14px;
  --rd-radius-lg: 20px;
  --rd-transition: 0.22s cubic-bezier(.4,0,.2,1);
  --rd-font-display: 'Syne', sans-serif;
  --rd-font-body:    'DM Sans', sans-serif;
}

/* ── Base Typography Override ── */
.bravo_hotel_detail {
  font-family: var(--rd-font-body);
  color: var(--rd-text);
}

/* ============================================================
   SECTION 1 — HERO GALLERY
   ============================================================ */

.rd-hero {
  position: relative;
  background: var(--rd-navy);
  overflow: hidden;
}

/* ── Hero Gallery Grid ── */
.rd-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 220px;
  gap: 4px;
  position: relative;
  max-height: 508px;
  overflow: hidden;
}

.rd-gallery-grid__main {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.rd-gallery-grid__main img,
.rd-gallery-grid__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  display: block;
}

.rd-gallery-grid__main:hover img,
.rd-gallery-grid__thumb:hover img {
  transform: scale(1.04);
}

.rd-gallery-grid__right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}

.rd-gallery-grid__thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.rd-gallery-grid__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,43,78,.0);
  transition: background var(--rd-transition);
}

.rd-gallery-grid__thumb:hover::after {
  background: rgba(26,43,78,.15);
}

.rd-gallery-overlay {
  position: absolute;
  bottom: 18px;
  right: 20px;
  z-index: 10;
}

.rd-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.95);
  color: var(--rd-navy);
  border: none;
  border-radius: var(--rd-radius-sm);
  font-family: var(--rd-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--rd-shadow-md);
  transition: all var(--rd-transition);
  backdrop-filter: blur(10px);
}

.rd-gallery-btn:hover {
  background: var(--rd-white);
  transform: translateY(-2px);
  box-shadow: var(--rd-shadow-lg);
}

.rd-gallery-btn i {
  font-size: 16px;
  color: var(--rd-blue);
}

/* ── Hotel Header ── */
.rd-hotel-header {
  padding: 28px 0 20px;
}

.rd-hotel-header__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.rd-hotel-header__left {
  flex: 1;
  min-width: 0;
}

.rd-hotel-title {
  font-family: var(--rd-font-display);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--rd-navy);
  margin: 0 0 8px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.rd-stars {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  margin-bottom: 10px;
}

.rd-stars i {
  font-size: 12px;
  color: var(--rd-gold);
}

.rd-hotel-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.rd-hotel-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--rd-muted);
  font-size: 14px;
  font-weight: 400;
}

.rd-hotel-location i {
  color: var(--rd-blue);
  font-size: 15px;
}

.rd-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.rd-score-badge__number {
  background: var(--rd-blue);
  color: white;
  font-family: var(--rd-font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 8px 8px 8px 2px;
  line-height: 1;
}

.rd-score-badge__label {
  font-size: 13px;
  color: var(--rd-muted);
  line-height: 1.3;
}

.rd-score-badge__label strong {
  display: block;
  color: var(--rd-text);
  font-size: 14px;
  font-weight: 600;
}

/* ── Property Badges ── */
.rd-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.rd-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.rd-badge--bestseller {
  background: linear-gradient(135deg, #D4A843, #F0C96A);
  color: #fff;
}

.rd-badge--popular {
  background: var(--rd-blue-pale);
  color: var(--rd-blue);
}

.rd-badge--family {
  background: #e8f5e9;
  color: #2e7d32;
}

/* ── Quick Price Header ── */
.rd-hotel-header__price {
  text-align: right;
  flex-shrink: 0;
}

.rd-price-from-label {
  font-size: 12px;
  color: var(--rd-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}

.rd-price-main {
  font-family: var(--rd-font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--rd-navy);
  line-height: 1;
  display: block;
}

.rd-price-sale {
  font-size: 16px;
  color: var(--rd-muted);
  text-decoration: line-through;
  display: block;
}

.rd-price-night {
  font-size: 13px;
  color: var(--rd-muted);
}

.rd-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 24px;
  background: var(--rd-blue);
  color: white;
  border: none;
  border-radius: var(--rd-radius-sm);
  font-family: var(--rd-font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--rd-transition);
  white-space: nowrap;
}

.rd-header-cta:hover {
  background: var(--rd-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18,85,204,.3);
  color: white;
}

.rd-header-cta i {
  font-size: 14px;
  transition: transform var(--rd-transition);
}

.rd-header-cta:hover i {
  transform: translateX(3px);
}

/* ============================================================
   PAGE LAYOUT — Two Column (Content + Sticky Sidebar)
   ============================================================ */

.rd-page-body {
  display: block;
  width: 100%;
  padding: 0 0 60px;
}

.rd-main-content {
  min-width: 0;
}


/* ── Navigation Anchors ── */
.rd-page-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--rd-border);
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: 70px;
  background: white;
  z-index: 100;
  padding: 0 0 0;
}

.rd-page-nav::-webkit-scrollbar { display: none; }

.rd-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--rd-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--rd-transition);
}

.rd-nav-link:hover {
  color: var(--rd-blue);
  text-decoration: none;
}

.rd-nav-link.active {
  color: var(--rd-blue);
  border-bottom-color: var(--rd-blue);
  font-weight: 600;
}

/* ============================================================
   SECTION 2 — BOOKING SUMMARY STRIP
   ============================================================ */

.rd-booking-strip {
  background: linear-gradient(135deg, var(--rd-navy) 0%, #1e3a6e 100%);
  border-radius: var(--rd-radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  box-shadow: var(--rd-shadow-md);
  position: relative;
  overflow: hidden;
}

.rd-booking-strip::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.rd-booking-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 120px;
}

.rd-booking-strip__item-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  font-size: 15px;
  flex-shrink: 0;
}

.rd-booking-strip__item-label {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 2px;
}

.rd-booking-strip__item-value {
  font-size: 14px;
  color: white;
  font-weight: 500;
  display: block;
}

.rd-booking-strip__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

.rd-booking-strip__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--rd-gold);
  color: white;
  border: none;
  border-radius: var(--rd-radius-sm);
  font-family: var(--rd-font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--rd-transition);
  letter-spacing: 0.2px;
}

.rd-booking-strip__cta:hover {
  background: #c49636;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,168,67,.4);
  color: white;
}

.rd-availability-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}

.rd-availability-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ed573;
  display: block;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ============================================================
   SECTION 3 — HOTEL HIGHLIGHTS (Compact Amenities)
   ============================================================ */

.rd-highlights {
  margin-bottom: 36px;
}

.rd-section-heading {
  font-family: var(--rd-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--rd-navy);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rd-section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rd-border);
  margin-left: 4px;
}

.rd-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}

.rd-highlight-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--rd-surface);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: var(--rd-text);
  transition: all var(--rd-transition);
  cursor: default;
}

.rd-highlight-chip:hover {
  background: var(--rd-blue-pale);
  border-color: var(--rd-blue-light);
  color: var(--rd-blue);
  transform: translateY(-1px);
  box-shadow: var(--rd-shadow-sm);
}

.rd-highlight-chip i {
  font-size: 16px;
  color: var(--rd-blue);
  flex-shrink: 0;
}

.rd-highlight-chip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── See All Amenities Button ── */
.rd-amenities-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 20px;
  background: transparent;
  color: var(--rd-blue);
  border: 1.5px solid var(--rd-blue);
  border-radius: var(--rd-radius-sm);
  font-family: var(--rd-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--rd-transition);
}

.rd-amenities-more-btn:hover {
  background: var(--rd-blue);
  color: white;
}

/* ============================================================
   SECTION 4 — ROOM SELECTION (Primary Conversion Section)
   ============================================================ */

.rd-rooms-section {
  margin-bottom: 40px;
}

.rd-rooms-section .rd-section-heading {
  font-size: 22px;
}



/* ── Room Cards ── */
.rd-room-card {
  background: white;
  border: 1.5px solid var(--rd-border);
  border-radius: var(--rd-radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 0;
  transition: box-shadow var(--rd-transition), border-color var(--rd-transition), transform var(--rd-transition);
  margin-bottom: 16px;
  position: relative;
}

.rd-room-card:hover {
  box-shadow: var(--rd-shadow-md);
  border-color: var(--rd-blue-light);
  transform: translateY(-2px);
}

.rd-room-card--featured {
  border-color: var(--rd-blue);
  box-shadow: 0 0 0 1px var(--rd-blue), var(--rd-shadow-md);
}

/* Best Value Badge */
.rd-room-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rd-room-badge--value {
  background: var(--rd-green);
  color: white;
}

.rd-room-badge--popular {
  background: var(--rd-gold);
  color: white;
}

/* Room Image */
.rd-room-card__image {
  position: relative;
  overflow: hidden;
  background: var(--rd-navy);
  cursor: pointer;
}

.rd-room-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.rd-room-card:hover .rd-room-card__image img {
  transform: scale(1.06);
}

.rd-room-card__photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,.55);
  color: white;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Room Info */
.rd-room-card__info {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rd-room-card__name {
  font-family: var(--rd-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--rd-navy);
  margin: 0 0 12px;
  line-height: 1.3;
}

.rd-room-meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.rd-room-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--rd-surface);
  border: 1px solid var(--rd-border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--rd-muted);
}

.rd-room-meta-chip i {
  font-size: 13px;
  color: var(--rd-blue-light);
}

.rd-room-features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
}

.rd-room-feature {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--rd-text);
}

.rd-room-feature i {
  font-size: 14px;
  color: var(--rd-green);
  flex-shrink: 0;
}

.rd-room-feature.rd-room-feature--warn i {
  color: var(--rd-red);
}

.rd-room-feature.rd-room-feature--info i {
  color: var(--rd-blue-light);
}

/* Board Basis Tag */
.rd-board-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #865d00;
  margin-top: 8px;
  align-self: flex-start;
}

.rd-board-tag i {
  font-size: 13px;
  color: var(--rd-gold);
}

/* Taxes & Fees */
.rd-tax-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 3px 0;
}

.rd-tax-item--display {
  color: var(--rd-blue);
}

.rd-tax-item--included {
  color: var(--rd-muted);
}

/* Room Price Column */
.rd-room-card__price-col {
  padding: 20px 20px 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 200px;
  border-left: 1px solid var(--rd-border);
  background: var(--rd-surface);
}

.rd-room-price-area {
  text-align: right;
}

.rd-room-price-label {
  font-size: 11px;
  color: var(--rd-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.rd-room-price-main {
  font-family: var(--rd-font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--rd-navy);
  display: block;
  line-height: 1;
}

.rd-room-price-sub {
  font-size: 12px;
  color: var(--rd-muted);
  display: block;
  margin-top: 2px;
}

.rd-room-price-original {
  font-size: 14px;
  color: var(--rd-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}

.rd-room-qty-select {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--rd-border);
  border-radius: 8px;
  font-family: var(--rd-font-body);
  font-size: 14px;
  color: var(--rd-text);
  background: white;
  cursor: pointer;
  transition: border-color var(--rd-transition);
  margin-bottom: 10px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a8f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.rd-room-qty-select:focus {
  outline: none;
  border-color: var(--rd-blue);
  box-shadow: 0 0 0 3px rgba(18,85,204,.12);
}

.rd-room-cta {
  width: 100%;
  padding: 12px 16px;
  background: var(--rd-blue);
  color: white;
  border: none;
  border-radius: var(--rd-radius-sm);
  font-family: var(--rd-font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--rd-transition);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.rd-room-cta:hover {
  background: var(--rd-navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(18,85,204,.3);
}

.rd-room-card__show-info {
  color: var(--rd-blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-top: 10px;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--rd-transition);
  font-family: var(--rd-font-body);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rd-room-card__show-info:hover {
  color: var(--rd-navy);
}

/* ── Room Book Status ── */
.rd-book-status {
  background: white;
  border: 1.5px solid var(--rd-border);
  border-radius: var(--rd-radius-md);
  padding: 20px 24px;
  margin-top: 20px;
  box-shadow: var(--rd-shadow-sm);
}

.rd-book-status.sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  border-radius: 0;
  border-bottom: none;
  margin: 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
}

.rd-book-status.sticky.active {
  transform: translateY(0);
}

.rd-book-status__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.rd-book-status__total {
  font-family: var(--rd-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--rd-navy);
}

.rd-book-status__total span {
  font-size: 15px;
  font-weight: 500;
  color: var(--rd-muted);
}

.rd-book-btn {
  padding: 14px 32px;
  background: var(--rd-blue);
  color: white;
  border: none;
  border-radius: var(--rd-radius-sm);
  font-family: var(--rd-font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--rd-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rd-book-btn:hover {
  background: var(--rd-navy);
  box-shadow: 0 6px 20px rgba(18,85,204,.3);
  transform: translateY(-2px);
}

.rd-book-btn:disabled,
.rd-book-btn.disabled {
  background: var(--rd-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* No rooms alert */
.rd-no-rooms {
  text-align: center;
  padding: 48px 24px;
  background: var(--rd-surface);
  border: 1.5px dashed var(--rd-border);
  border-radius: var(--rd-radius-md);
}

.rd-no-rooms i {
  font-size: 40px;
  color: var(--rd-muted);
  margin-bottom: 12px;
  display: block;
}

.rd-no-rooms p {
  color: var(--rd-muted);
  font-size: 15px;
}

/* ============================================================
   SECTION 5 — AMENITIES MODAL
   ============================================================ */

.rd-amenities-section {
  margin-bottom: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--rd-border);
}

/* Full Amenities Modal */
.rd-amenities-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  overflow-y: auto;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  padding: 40px 20px;
  animation: fadeInOverlay 0.22s ease;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.rd-amenities-modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.rd-amenities-modal__inner {
  background: white;
  border-radius: var(--rd-radius-lg);
  max-width: 700px;
  width: 100%;
  overflow: hidden;
  animation: slideUpModal 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--rd-shadow-lg);
}

@keyframes slideUpModal {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.rd-amenities-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--rd-border);
}

.rd-amenities-modal__title {
  font-family: var(--rd-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--rd-navy);
  margin: 0;
}

.rd-amenities-modal__close {
  width: 36px;
  height: 36px;
  background: var(--rd-surface);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--rd-muted);
  transition: all var(--rd-transition);
}

.rd-amenities-modal__close:hover {
  background: var(--rd-border);
  color: var(--rd-text);
}

.rd-amenities-modal__body {
  padding: 28px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Amenity Category Accordion */
.rd-amenity-group {
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.rd-amenity-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--rd-surface);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--rd-navy);
  transition: background var(--rd-transition);
  user-select: none;
}

.rd-amenity-group__header:hover {
  background: var(--rd-blue-pale);
}

.rd-amenity-group__header i.toggle-icon {
  transition: transform var(--rd-transition);
  color: var(--rd-muted);
  font-size: 14px;
}

.rd-amenity-group.open .rd-amenity-group__header i.toggle-icon {
  transform: rotate(180deg);
}

.rd-amenity-group__header i.group-icon {
  color: var(--rd-blue);
  font-size: 16px;
  margin-right: 8px;
}

.rd-amenity-group__content {
  display: none;
  padding: 16px 18px;
  background: white;
}

.rd-amenity-group.open .rd-amenity-group__content {
  display: block;
}

.rd-amenity-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

.rd-amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--rd-text);
  padding: 4px 0;
}

.rd-amenity-item i {
  font-size: 16px;
  color: var(--rd-blue);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.rd-amenity-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ============================================================
   SECTION 6 — DESCRIPTION
   ============================================================ */

.rd-description-section {
  margin-bottom: 36px;
}

.rd-description-content {
  font-size: 15px;
  line-height: 1.75;
  color: #445;
  overflow: hidden;
  position: relative;
}

.rd-description-content.collapsed {
  max-height: 120px;
}

.rd-description-content.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, white);
  pointer-events: none;
}

.rd-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 18px;
  background: none;
  border: 1.5px solid var(--rd-border);
  border-radius: var(--rd-radius-sm);
  color: var(--rd-blue);
  font-family: var(--rd-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--rd-transition);
}

.rd-read-more-btn:hover {
  border-color: var(--rd-blue);
  background: var(--rd-blue-pale);
}

/* ============================================================
   SECTION 7 — REVIEWS
   ============================================================ */

.rd-reviews-section {
  margin-bottom: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--rd-border);
}

/* ============================================================
   SECTION 8 — POLICIES
   ============================================================ */

.rd-policies-section {
  padding: 40px 0;
  border-top: 1px solid var(--rd-border);
  border-bottom: 1px solid var(--rd-border);
  margin-bottom: 40px;
}

.rd-policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.rd-policy-card {
  background: var(--rd-surface);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-sm);
  padding: 16px 18px;
}

.rd-policy-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--rd-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.rd-policy-card__label i {
  font-size: 14px;
  color: var(--rd-blue);
}

.rd-policy-card__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--rd-navy);
}

.rd-policy-item {
  margin-bottom: 12px;
}

.rd-policy-item__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--rd-text);
  margin-bottom: 4px;
}

/* ============================================================
   STICKY SIDEBAR — Desktop Booking Card
   ============================================================ */

.rd-sidebar {
  position: sticky;
  top: 90px;
}

.rd-booking-card {
  background: white;
  border: 1.5px solid var(--rd-border);
  border-radius: var(--rd-radius-md);
  overflow: hidden;
  box-shadow: var(--rd-shadow-md);
}

.rd-booking-card__header {
  background: linear-gradient(135deg, var(--rd-navy), #1e3a6e);
  padding: 20px 22px;
  color: white;
}

.rd-booking-card__price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: rgba(255,255,255,.65);
  display: block;
  margin-bottom: 4px;
}

.rd-booking-card__price {
  font-family: var(--rd-font-display);
  font-size: 28px;
  font-weight: 800;
  color: white;
  display: block;
  line-height: 1;
}

.rd-booking-card__price-sub {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  display: block;
  margin-top: 3px;
}

.rd-booking-card__body {
  padding: 22px;
}

.rd-booking-field {
  border: 1.5px solid var(--rd-border);
  border-radius: var(--rd-radius-sm);
  padding: 12px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all var(--rd-transition);
  position: relative;
}

.rd-booking-field:hover {
  border-color: var(--rd-blue);
  background: var(--rd-blue-pale);
}

.rd-booking-field__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--rd-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
}

.rd-booking-field__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--rd-text);
  display: block;
}

.rd-booking-field .rd-avail-bar__arrow {
  top: 50%;
  right: 12px;
}

.rd-booking-card__cta {
  width: 100%;
  padding: 15px;
  background: var(--rd-blue);
  color: white;
  border: none;
  border-radius: var(--rd-radius-sm);
  font-family: var(--rd-font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--rd-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  letter-spacing: 0.2px;
  margin-top: 6px;
}

.rd-booking-card__cta:hover {
  background: var(--rd-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18,85,204,.3);
  color: white;
}

.rd-booking-card__footer {
  padding: 14px 22px;
  background: var(--rd-surface);
  border-top: 1px solid var(--rd-border);
  font-size: 12px;
  color: var(--rd-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rd-booking-card__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.rd-booking-card__trust-item i {
  font-size: 14px;
  color: var(--rd-green);
}

/* ============================================================
   MOBILE STICKY BOTTOM BAR
   ============================================================ */

.rd-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: white;
  border-top: 1.5px solid var(--rd-border);
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rd-mobile-sticky-bar__price {
  display: flex;
  flex-direction: column;
}

.rd-mobile-sticky-bar__amount {
  font-family: var(--rd-font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--rd-navy);
  line-height: 1;
}

.rd-mobile-sticky-bar__label {
  font-size: 12px;
  color: var(--rd-muted);
}

.rd-mobile-sticky-bar__btn {
  flex: 1;
  max-width: 200px;
  padding: 13px 20px;
  background: var(--rd-blue);
  color: white;
  border: none;
  border-radius: var(--rd-radius-sm);
  font-family: var(--rd-font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--rd-transition);
}

.rd-mobile-sticky-bar__btn:hover {
  background: var(--rd-navy);
  color: white;
}

/* ============================================================
   BOOKING STATUS SUMMARY BAR (after room selection)
   ============================================================ */

.rd-selection-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--rd-blue-pale);
  border: 1.5px solid var(--rd-blue-light);
  border-radius: var(--rd-radius-sm);
  margin-bottom: 16px;
}

.rd-selection-info {
  font-size: 14px;
  color: var(--rd-navy);
}

.rd-selection-info strong {
  font-size: 18px;
  color: var(--rd-navy);
  font-family: var(--rd-font-display);
}

.rd-fee-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
  color: var(--rd-text);
}

.rd-fee-line.rd-fee-line--total {
  font-weight: 700;
  font-size: 16px;
  border-top: 1px solid var(--rd-border);
  margin-top: 8px;
  padding-top: 10px;
}

/* ============================================================
   LOADING STATES
   ============================================================ */

.rd-rooms-loading {
  position: relative;
}

.rd-rooms-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.7);
  z-index: 10;
  border-radius: var(--rd-radius-md);
}

.rd-rooms-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border: 3px solid var(--rd-border);
  border-top-color: var(--rd-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 11;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.rd-section-divider {
  height: 1px;
  background: var(--rd-border);
  margin: 36px 0;
}

.rd-tag-free-cancel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #1b5e20;
}

.rd-tag-free-cancel i {
  font-size: 13px;
  color: var(--rd-green);
}

.rd-tag-non-refund {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--rd-red-soft);
  border: 1px solid #ffcdd2;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--rd-red);
}

.rd-tag-non-refund i {
  font-size: 13px;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1100px)
   ============================================================ */

@media (max-width: 1100px) {
  .rd-page-body {
    grid-template-columns: 1fr;
  }

  .rd-sidebar {
    display: none;
  }

  .rd-mobile-sticky-bar {
    display: flex;
  }

  .bravo_hotel_detail {
    padding-bottom: 80px;
  }
}

@media (max-width: 1024px) {
  .rd-gallery-grid {
    grid-template-rows: 220px 180px;
    max-height: 404px;
  }

  .rd-room-card {
    grid-template-columns: 180px 1fr auto;
  }

  .rd-room-card__price-col {
    min-width: 170px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 767px)
   ============================================================ */

@media (max-width: 767px) {
  .rd-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px;
    max-height: 260px;
  }

  .rd-gallery-grid__right {
    display: none;
  }

  .rd-gallery-grid__main {
    grid-row: auto;
  }

  .rd-hotel-header__top {
    flex-direction: column;
    gap: 16px;
  }

  .rd-hotel-header__price {
    text-align: left;
  }

  .rd-header-cta {
    display: none;
  }

  .rd-page-nav {
    top: 56px;
  }

  .rd-booking-strip {
    padding: 14px 16px;
    gap: 12px;
  }

  .rd-booking-strip__divider {
    display: none;
  }

  .rd-booking-strip__item {
    min-width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-bottom: 10px;
  }

  .rd-booking-strip__item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }

  .rd-booking-strip__cta {
    width: 100%;
    justify-content: center;
  }

  .rd-avail-bar {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 50px;
  }

  .rd-avail-bar__field {
    border-right: none;
    border-bottom: 1px solid var(--rd-border);
  }

  .rd-room-card {
    grid-template-columns: 1fr;
    grid-template-rows: 180px auto auto;
  }

  .rd-room-card__image {
    height: 180px;
  }

  .rd-room-card__price-col {
    min-width: unset;
    border-left: none;
    border-top: 1px solid var(--rd-border);
    background: var(--rd-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 16px;
  }

  .rd-room-price-area {
    text-align: left;
    width: 100%;
  }

  .rd-room-price-main {
    font-size: 20px;
    word-break: keep-all;
    white-space: nowrap;
  }

  .rd-room-qty-select {
    width: 100%;
  }

  .rd-room-cta {
    width: 100%;
    margin-top: 8px;
    white-space: nowrap;
    justify-content: center;
  }

  .rd-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rd-policies-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rd-amenity-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rd-amenities-modal__inner {
    border-radius: var(--rd-radius-md) var(--rd-radius-md) 0 0;
    margin-top: auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  .rd-amenities-modal {
    padding: 0;
    align-items: flex-end;
  }
}

/* ============================================================
   LARGE SCREENS (min 1600px)
   ============================================================ */

@media (min-width: 1600px) {
  .rd-gallery-grid {
    grid-template-rows: 340px 260px;
    max-height: 608px;
  }

  .rd-page-body {
    grid-template-columns: 1fr 380px;
  }
}

/* ============================================================
   ANIMATIONS & TRANSITIONS
   ============================================================ */

.rd-room-card {
  animation: fadeSlideUp 0.35s ease both;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.rd-room-card:nth-child(1) { animation-delay: 0ms; }
.rd-room-card:nth-child(2) { animation-delay: 60ms; }
.rd-room-card:nth-child(3) { animation-delay: 120ms; }
.rd-room-card:nth-child(4) { animation-delay: 180ms; }
.rd-room-card:nth-child(5) { animation-delay: 240ms; }

/* Gallery hover effects */
.rd-gallery-grid__main::before,
.rd-gallery-grid__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.0);
  z-index: 1;
  transition: background var(--rd-transition);
}

.rd-gallery-grid__main:hover::before {
  background: rgba(0,0,0,.08);
}

/* Scroll indicator for nav */
.rd-page-nav::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--rd-blue);
  transition: width var(--rd-transition);
}

/* Extra service items */
.rd-extra-price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--rd-border);
}

.rd-extra-price-item:last-child {
  border-bottom: none;
}

.rd-extra-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--rd-text);
  flex: 1;
}

/* Fotorama modal overrides */
.bravo_hotel_detail .modal-content {
  border-radius: var(--rd-radius-md);
}

/* ============================================================
   GUEST SELECTOR DROPDOWN
   ============================================================ */

.rd-guest-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1.5px solid var(--rd-border);
  border-radius: var(--rd-radius-md);
  box-shadow: var(--rd-shadow-lg);
  z-index: 200;
  padding: 20px;
  display: none;
  min-width: 280px;
}

.rd-guest-dropdown.open {
  display: block;
  animation: fadeSlideUp 0.2s ease;
}

.rd-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--rd-border);
}

.rd-guest-row:last-child {
  border-bottom: none;
}

.rd-guest-row__info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--rd-text);
}

.rd-guest-row__info span {
  font-size: 12px;
  color: var(--rd-muted);
}

.rd-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rd-counter-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--rd-border);
  border-radius: 50%;
  background: white;
  color: var(--rd-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--rd-transition);
}

.rd-counter-btn:hover {
  border-color: var(--rd-blue);
  color: var(--rd-blue);
  background: var(--rd-blue-pale);
}

.rd-counter-val {
  font-size: 15px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

/* Children age inputs */
.rd-child-ages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.rd-child-age-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rd-child-age-field label {
  font-size: 11px;
  color: var(--rd-muted);
  font-weight: 600;
}

.rd-child-age-field input {
  padding: 7px 10px;
  border: 1.5px solid var(--rd-border);
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--rd-font-body);
}

/* ============================================================
   FAQs Section  
   ============================================================ */

.rd-faq-section {
  padding-top: 36px;
  border-top: 1px solid var(--rd-border);
  margin-bottom: 36px;
}

/* ============================================================
   Override existing bravo hotel styles conflicts
   ============================================================ */

/* rd-room-card handles UI for room items */

/* Ensure the Vue app div doesn't flash */
.rd-room-list-wrapper[v-cloak] {
  display: none;
}

/* ============================================================
   CONFLICT OVERRIDES
   Neutralize GoTrip hotel.css legacy rules that conflict with
   the new rd-* design system. These must be at the END of the
   file so they win the specificity battle.
   ============================================================ */

/* ── Reset old hotel_list_rooms styles inside our wrapper ── */
.rd-room-list-wrapper .hotel_list_rooms {
  border: none !important;
}

/* ── Reset old room-item box styles ── */
.rd-room-list-wrapper .hotel_list_rooms .room-item,
.rd-room-list-wrapper .hotel_list_rooms .room-item:last-child {
  border: none !important;
  border-bottom: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Reset old roomGrid layout (grid-template-columns override) ── */
.bravo_hotel_detail .hotel_list_rooms .room-item .roomGrid .roomGrid__grid,
.bravo_hotel_detail .hotel_list_rooms .room-item .roomGrid .roomGrid__header {
  grid-template-columns: none !important;
  display: block !important;
}

/* ── Ensure rd-room-card grid is not overridden ── */
.rd-room-card {
  display: grid !important;
  grid-template-columns: 220px 1fr auto !important;
}

@media (max-width: 767px) {
  .rd-room-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: 180px auto auto !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .rd-room-card {
    grid-template-columns: 180px 1fr auto !important;
  }
}

/* ── Reset old hotel-info padding inside our cards ── */
.rd-room-card .hotel-info {
  padding: 0 !important;
}

/* ── Reset old col-price padding inside our cards ── */
.rd-room-card .col-price {
  padding: 0 !important;
}

/* ── Prevent old .loading overlay on hotel_list_rooms from breaking our spinner ── */
.rd-room-list-wrapper .hotel_list_rooms.loading::before {
  display: none !important;
}

/* ── Reset old hotel_room_book_status styles inside our wrapper ── */
.rd-room-list-wrapper .hotel_room_book_status {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: static !important;
}

/* ── Prevent old sticky styles from conflicting with our rd-book-status ── */
.rd-room-list-wrapper .hotel_room_book_status.sticky {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 200 !important;
  transform: translateY(100%) !important;
  background: white !important;
}

.rd-room-list-wrapper .hotel_room_book_status.sticky.active {
  transform: translateY(0) !important;
  transition: transform 0.3s ease !important;
}

/* ── Hotel rooms form search bar — kill old form-search-rooms styles ── */
.hotel_rooms_form .rd-avail-bar {
  border: none;
  border-bottom: 3px solid var(--rd-blue);
}

/* ── Prevent old form-search-row flex styles from overriding rd-avail-bar grid ── */
.hotel_rooms_form .rd-avail-bar.form-search-row > div {
  border-right: none;
  border-bottom: none;
}

/* ── Fix breadcrumb section spacing ── */
.bravo_hotel_detail .g-header {
  padding-top: 0 !important;
}

/* ── Ensure page nav doesn't get pushed down by theme styles ── */
.rd-page-nav {
  background: white;
  position: sticky;
  top: 70px;
  z-index: 100;
}

/* ── Make sure container within rd-page-body doesn't add extra padding ── */
.rd-page-body .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ── Override GoTrip .bravo_content padding if it adds space ── */
.bravo_hotel_detail .bravo_content {
  padding-top: 0;
}

/* ── Fix potential breadcrumb overlap ── */
.bravo_hotel_detail .g-header ~ .rd-hero {
  margin-top: 0;
}

/* ── Availability bar: fix old form-date-field absolute positioning ── */
.rd-avail-bar .form-date-field .start_date {
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
}

/* ── Fix the arrow position within rd-avail-bar fields ── */
.rd-avail-bar .rd-avail-bar__field .rd-avail-bar__arrow {
  z-index: 1;
  pointer-events: none;
}

/* ── Guest dropdown position fix ── */
.rd-avail-bar .searchMenu-guests__field {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 500;
  background: white;
  border: 1.5px solid var(--rd-border);
  border-radius: var(--rd-radius-md);
  box-shadow: var(--rd-shadow-lg);
  padding: 20px;
  min-width: 280px;
}

/* ── rd-guest-row layout fix for GoTrip form styles ── */
.rd-avail-bar .rd-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Fix old count-gallery z-index on rd-room-card images ── */
.rd-room-card__image .count-gallery,
.rd-room-card__image .rd-room-card__photo-count {
  z-index: 5;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

/* ── Ensure room card image takes full height ── */
.rd-room-card__image {
  min-height: 180px;
  height: 100%;
}

/* ── Fix section heading after-border alignment ── */
.rd-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Fix GoTrip pt-30 utility class that theme adds to hotel-rooms section ── */
.rd-rooms-section {
  padding-top: 0 !important;
}

/* ── Correct price HTML injected by Vue ── */
.rd-room-price-main .price,
.rd-room-card__price-col .price {
  font-family: var(--rd-font-display) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--rd-navy) !important;
  display: block !important;
}

.rd-room-price-main .price span,
.rd-room-card__price-col .price span {
  font-size: 13px !important;
  color: var(--rd-muted) !important;
  font-weight: 400 !important;
}

/* ── Fix old start_room_sticky / end_room_sticky floats ── */
.start_room_sticky,
.end_room_sticky {
  display: none !important;
  height: 0 !important;
}

/* ── Amenities accordion: ensure open state works ── */
.rd-amenity-group.open > .rd-amenity-group__content {
  display: block !important;
}

/* ── Ensure the booking strip doesn't inherit body font conflicts ── */
.rd-booking-strip,
.rd-booking-card,
.rd-mobile-sticky-bar {
  font-family: var(--rd-font-body);
}

/* ── Fix rd-avail-bar grid on desktop ── */
.rd-avail-bar {
  display: grid !important;
  grid-template-columns: 1fr 1fr 160px !important;
  overflow: visible !important;
}

@media (max-width: 767px) {
  .rd-avail-bar {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto 50px !important;
    overflow: hidden !important;
  }
}

/* ── Remove inherited border-light from GoTrip on pt-40 ── */
.rd-rooms-section h2 {
  border-top: none !important;
  padding-top: 0 !important;
}

/* ── Fix GoTrip .bravo_hotel_detail .hotel_list_rooms .room-item .roomGrid override ── */
.rd-room-list-wrapper .rd-room-card .roomGrid,
.rd-room-list-wrapper .rd-room-card .roomGrid__grid,
.rd-room-list-wrapper .rd-room-card .roomGrid__header {
  all: unset !important;
}
