/* Single room page — layout does not rely on Tailwind lg: breakpoints */

.room-single-page {
  background: #fff;
  color: #1a1a1a;
  /* Match site gutters: px-6 / md:px-14 / lg:px-24 */
  --page-x: 1.5rem;
  --page-max: 68rem;
}

@media (min-width: 768px) {
  .room-single-page {
    --page-x: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .room-single-page {
    --page-x: 4rem;
  }
}

.room-single-hero {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

@media (min-width: 768px) {
  .room-single-hero {
    min-height: 48vh;
  }
}

.room-single-hero img.room-single-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-single-hero .room-single-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.room-single-hero .room-single-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 5.5rem var(--page-x) 2.5rem;
  color: #fff;
  box-sizing: border-box;
}

.room-single-hero .room-single-label {
  color: #c5a059;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.room-single-hero h1 {
  font-family: 'Kaisei Tokumin', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.room-single-breadcrumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.room-single-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.room-single-breadcrumb a:hover {
  color: #fff;
}

.room-single-specs {
  background: #f9f7f4;
  border-bottom: 1px solid #ececec;
}

.room-single-specs-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 1rem var(--page-x);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.room-single-specs .room-single-price {
  margin-left: auto;
  font-size: 1.35rem;
  font-weight: 700;
}

.room-single-specs .room-single-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: #888;
}

.room-single-body {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 2rem var(--page-x) 3rem;
  box-sizing: border-box;
}

.room-single-layout {
  display: block;
}

@media (min-width: 992px) {
  .room-single-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
  }
}

.room-single-main {
  min-width: 0;
}

.room-single-gallery-main {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 0.75rem;
}

.room-single-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-single-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 1.75rem;
  scrollbar-width: none;
}

.room-single-thumbs::-webkit-scrollbar {
  display: none;
}

.room-single-thumbs button {
  flex: 0 0 80px;
  width: 80px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: none;
}

.room-single-thumbs button.is-active {
  border-color: #c5a059;
}

.room-single-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-single-desc {
  color: #555;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.room-single-section-title {
  font-family: 'Kaisei Tokumin', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.room-single-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 600px) {
  .room-single-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

.room-single-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #444;
}

.room-single-highlights li::before {
  content: '✓';
  color: #c5a059;
  font-weight: 700;
  flex-shrink: 0;
}

.room-single-amenities {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.5rem;
}

@media (min-width: 600px) {
  .room-single-amenities {
    grid-template-columns: 1fr 1fr;
  }
}

.room-single-amenities li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
}

.room-single-amenities li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #c5a059;
  font-weight: 700;
}

/* Sidebar — one booking card only */
.room-single-sidebar {
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .room-single-sidebar {
    position: sticky;
    top: 5.5rem;
    margin-bottom: 0;
    align-self: start;
    z-index: 2;
  }

  /* Sticky ends with the two-column block — “Other rooms” sits below */
  .room-single-layout {
    margin-bottom: 0;
  }
}

.room-single-booking-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.room-single-booking-card .price-lg {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.room-single-booking-card .price-lg span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #888;
}

.room-single-booking-card .price-note {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.25rem;
}

.room-single-btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  background: #c5a059;
  color: #1a1a1a;
  font-weight: 700;
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  margin-bottom: 0.75rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.room-single-btn-primary:hover {
  background: #d4b56e;
}

.room-single-btn-secondary {
  display: block;
  width: 100%;
  text-align: center;
  background: #fff;
  color: #1a1a1a;
  font-weight: 700;
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  transition: border-color 0.2s, background 0.2s;
}

.room-single-btn-secondary:hover {
  border-color: #c5a059;
  background: #fffbf4;
}

.room-single-booking-perks {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #ececec;
  font-size: 0.75rem;
  color: #888;
}

.room-single-booking-perks p {
  margin: 0 0 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.room-single-booking-perks p::before {
  content: '✓';
  color: #c5a059;
  font-weight: 700;
}

/* Other rooms — full width below main + sidebar grid */
.room-single-other {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #ececec;
  clear: both;
  position: relative;
  z-index: 1;
  background: #fff;
}

.room-single-other h2 {
  font-family: 'Kaisei Tokumin', serif;
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.room-single-other-sub {
  font-size: 0.875rem;
  color: #888;
  margin: 0 0 0;
}

.room-single-other-tag {
  font-size: 0.7rem;
  color: #c5a059;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.25rem;
}

.room-single-other-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .room-single-other-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .room-single-other-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.room-single-other-card {
  text-decoration: none;
  color: inherit;
}

.room-single-other-card .img-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.75rem;
}

.room-single-other-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.room-single-other-card:hover img {
  transform: scale(1.05);
}

.room-single-other-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.room-single-other-card:hover h3 {
  color: #8b6b38;
}

.room-single-other-card .meta {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  justify-content: space-between;
}
