:root {
  --rp-base: #faf8f3;
  --rp-white: #ffffff;
  --rp-ink: #1f1f1f;
  --rp-gold: #c8a24a;
  --rp-muted: rgba(31, 31, 31, 0.65);
  --rp-border: rgba(31, 31, 31, 0.08);
  --rp-radius: 1.25rem;
  --rp-max: min(92vw, 1180px);
}

.room-price-page {
  font-family: "Inter", Arial, sans-serif;
  color: var(--rp-ink);
  background: var(--rp-base);
}

.rp-wrapper {
  max-width: var(--rp-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.rp-hero {
  text-align: center;
  padding: 4rem 0 2.5rem;
}

.rp-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.rp-hero p {
  font-size: 1.05rem;
  color: var(--rp-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.rp-cards {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0 3rem;
  scroll-snap-type: x mandatory;
}

.rp-card {
  flex: 1 0 320px;
  max-width: 360px;
  background: var(--rp-white);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.06);
}

.rp-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--rp-radius) var(--rp-radius) 0 0;
}

.rp-body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.rp-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rp-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--rp-muted);
}

.rp-facilities {
  font-size: 0.85rem;
  line-height: 1.6;
  padding-left: 1.2rem;
  list-style: disc;
  color: var(--rp-muted);
}

.rp-price {
  margin-top: auto;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--rp-gold);
}

.rp-badge {
  display: inline-block;
  background: var(--rp-gold);
  color: var(--rp-white);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.rp-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--rp-muted);
  padding: 2.5rem 0 4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .rp-cards {
    gap: 1.2rem;
  }
}

/* wrapper jadi “scroll-snap” horizontal di hp */
@media (max-width:767px){
  .rp-cards{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch; /* iOS momentum */
    gap:1rem;
    padding-bottom:1.2rem; /* ruang scroll-bar + hint */
  }
  .rp-card{
    flex:0 0 84vw;          /* 1 kartu hampir full-screen */
    scroll-snap-align:center;
  }

  /* hint bar */
  .rp-swipe-hint{
    text-align:center;
    margin-top:.6rem;
  }
  .rp-hint-text{
    font-size:.75rem;
    color:var(--rp-muted, #6b7280);
  }
  /* dot indicator */
  .rp-dots{
    display:flex;
    justify-content:center;
    gap:.35rem;
    margin-top:.4rem;
  }
  .rp-dots::before,
  .rp-dots::after{
    content:'';
    width:6px;
    height:6px;
    border-radius:50%;
    background:#d1d5db;
  }
  /* tambahkan lebih banyak titik jika kamar > 2 */
  .rp-dots{
    counter-reset:dot calc(var(--rooms, 3) - 2); /* fallback 3 */
  }
  .rp-dots::after{
    box-shadow:repeat(counter(dot), 10px 0 0 #d1d5db);
  }
}