/* Shared gallery/carousel and market-research table styles */
.rooms-table {
  display: grid;
  gap: 6px;
}
.rooms-table-head,
.room-row {
  display: grid;
  grid-template-columns: 2.1fr 1fr 0.8fr 1.4fr 1fr 1fr;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(220, 181, 110, 0.35);
  background: rgba(15, 7, 10, 0.92);
  align-items: center;
}
.rooms-table-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(242, 240, 234, 0.6);
  background: rgba(18, 10, 14, 0.9);
  border-color: rgba(200, 169, 107, 0.35);
}
.room-row:nth-child(odd) {
  background: radial-gradient(circle at top right, rgba(218, 189, 141, 0.12), transparent 55%), rgba(15, 7, 10, 0.94);
}
.room-row h3 {
  margin: 0;
  font-size: 18px;
  color: #fff;
}
.room-row p {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(242, 240, 234, 0.65);
  line-height: 1.4;
}
.room-meta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.room-category,
.room-score,
.room-status {
  font-size: 13px;
  color: rgba(242, 240, 234, 0.8);
}
.room-score strong {
  display: block;
  font-size: 20px;
}
.room-score span {
  font-size: 12px;
  color: rgba(242, 240, 234, 0.6);
}
.room-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rating-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 107, 0.45);
  font-size: 11px;
  color: #fff;
  background: rgba(200, 169, 107, 0.08);
}
.rating-pill--ghost {
  border-style: dashed;
  background: transparent;
  color: rgba(242, 240, 234, 0.6);
}
.room-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.room-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid rgba(200, 169, 107, 0.4);
  color: var(--accent-gold);
  background: rgba(200, 169, 107, 0.08);
  justify-self: flex-start;
}
.room-actions a:hover {
  border-color: rgba(200, 169, 107, 0.8);
  background: rgba(200, 169, 107, 0.15);
}
.room-actions a .ti {
  margin-right: 4px;
}
.room-gallery {
  background: linear-gradient(155deg, rgba(28, 16, 20, 0.96) 0%, rgba(12, 6, 10, 0.98) 100%);
  border-radius: 16px;
  border: 1px solid rgba(200, 169, 107, 0.25);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.room-gallery-header h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 24px);
}
.room-gallery-header p {
  margin: 0;
  color: rgba(242, 240, 234, 0.72);
  font-size: 13px;
}
.gallery-carousel {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(200, 169, 107, 0.4);
  overflow: hidden;
  background: #0e0709;
}
.gallery-track {
  display: flex;
  transition: transform 0.45s ease;
}
.gallery-slide {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100%;
  position: relative;
}
.gallery-link {
  width: 100%;
  display: block;
}
.gallery-slide img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}
.gallery-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(4, 7, 10, 0.7);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
}
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px 6px;
  gap: 8px;
}
.gallery-btn {
  border: none;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  font-size: 16px;
  color: white;
  background: rgba(200, 169, 107, 0.15);
  cursor: pointer;
  transition: background 0.2s ease;
}
.gallery-btn:hover {
  background: rgba(200, 169, 107, 0.35);
}
.gallery-btn i {
  pointer-events: none;
}
.gallery-status {
  font-size: 12px;
  color: rgba(242, 240, 234, 0.8);
}
.gallery-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding-bottom: 10px;
}
.gallery-dot {
  border: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(242, 240, 234, 0.4);
  cursor: pointer;
}
.gallery-dot.is-active {
  background: rgba(200, 169, 107, 0.95);
  }
.gallery-empty {
  padding: 48px 28px;
  text-align: center;
  color: rgba(242, 240, 234, 0.7);
  font-size: 14px;
  display: none;
}
.gallery-dots--hidden {
  display: none;
}
.gallery-note {
  margin: 0;
  font-size: 12px;
  color: rgba(242, 240, 234, 0.68);
}
.room-gallery {
  width: min(960px, 100%);
  margin: 0 auto;
}
@media (max-width: 1100px) {
  .rooms-table-head,
  .room-row {
    grid-template-columns: 1.9fr 1fr 0.7fr 1.3fr 1fr 0.9fr;
  }
}
@media (max-width: 880px) {
  .rooms-table-head,
  .room-row {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .rooms-table-head {
    display: none;
  }
  .room-row {
    grid-template-columns: 1fr;
  }
  .room-category,
  .room-score,
  .room-status,
  .room-quick,
  .room-actions {
    justify-self: flex-start;
  }
  .room-row > div + div {
    margin-top: 6px;
  }
}
