/* ===== Gallery ===== */
.detail-gallery {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #000;
}

.gallery-slider {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}

.gallery-slide {
  min-width: 100%;
  height: 100%;
}

.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.dot.active {
  width: 18px;
  border-radius: 3px;
  background: #fff;
}

.gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 16px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}

.gallery-back {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}

.gallery-share {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

/* ===== Detail Info ===== */
.detail-info {
  background: #fff;
  padding: 16px;
  margin-bottom: 10px;
}

.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.detail-name {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

.detail-stars {
  font-size: 13px;
  color: #999;
}

.collect-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* Score */
.detail-score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #f5f5f5;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 12px;
}

.score-big {
  font-size: 42px;
  font-weight: 800;
  color: #e84b3a;
  line-height: 1;
}

.score-label {
  font-size: 11px;
  color: #999;
  margin-bottom: 8px;
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.score-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #666;
}

.bar-track {
  flex: 1;
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  min-width: 80px;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #e84b3a, #ff7961);
  border-radius: 2px;
}

/* Address */
.detail-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  cursor: pointer;
}

.nav-link {
  color: #2979ff;
  font-size: 13px;
}

/* Tags */
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tag {
  background: #f5f5f5;
  color: #555;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

/* ===== Room Section ===== */
.room-section {
  background: #fff;
  margin-bottom: 10px;
}

.room-date-bar {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: #fff8f7;
  border-top: 1px solid #f5e8e6;
  border-bottom: 1px solid #f5e8e6;
  gap: 0;
}

.rdb-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.rdb-label {
  font-size: 10px;
  color: #999;
  margin-bottom: 2px;
}

.rdb-val {
  font-size: 13px;
  font-weight: 600;
  color: #e84b3a;
}

.rdb-nights {
  padding: 0 12px;
  font-size: 11px;
  color: #bbb;
  border-left: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
}

.rdb-room {
  display: flex;
  gap: 8px;
  padding-left: 12px;
  font-size: 12px;
  color: #666;
}

/* Room List */
.room-list {
  padding: 0 16px 16px;
}

.room-card {
  border: 1.5px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
}

.room-img {
  height: 150px;
}

.room-info {
  padding: 12px;
}

.room-name {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
}

.room-desc {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.room-amenities {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: #666;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.room-policy {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.policy-free {
  font-size: 11px;
  color: #07c160;
  background: #f0faf5;
  padding: 2px 7px;
  border-radius: 3px;
}

.policy-noref {
  font-size: 11px;
  color: #ff9900;
  background: #fff8ee;
  padding: 2px 7px;
  border-radius: 3px;
}

.policy-date {
  font-size: 11px;
  color: #999;
  padding: 2px 7px;
  background: #f5f5f5;
  border-radius: 3px;
}

.room-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.room-old-price {
  font-size: 11px;
  color: #bbb;
  text-decoration: line-through;
  margin-right: 4px;
}

.room-price {
  font-size: 22px;
  font-weight: 700;
  color: #e84b3a;
}

.room-unit {
  font-size: 12px;
  color: #999;
}

.room-book-btn {
  background: linear-gradient(135deg, #e84b3a, #ff7961);
  color: #fff;
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

/* ===== Facility ===== */
.facility-section {
  background: #fff;
  margin-bottom: 10px;
  padding-bottom: 16px;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 16px;
}

.fac-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #666;
}

.fac-icon {
  font-size: 22px;
}

/* ===== Reviews ===== */
.review-section {
  background: #fff;
  margin-bottom: 10px;
}

.review-count {
  font-size: 12px;
  color: #999;
  font-weight: 400;
  margin-left: 6px;
}

.review-list {
  padding: 0 16px 16px;
}

.review-item {
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
}

.review-item:last-child {
  border-bottom: none;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e84b3a, #ff9961);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}

.reviewer-name {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.review-date {
  font-size: 11px;
  color: #bbb;
}

.review-stars {
  margin-left: auto;
  font-size: 11px;
}

.review-text {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.review-img-list {
  display: flex;
  gap: 8px;
}

.review-img-list img {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
}

/* ===== Nearby ===== */
.nearby-section {
  background: #fff;
  margin-bottom: 80px;
}

.nearby-list {
  padding: 0 16px 16px;
}

.nearby-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}

.nearby-item:last-child {
  border-bottom: none;
}

.nearby-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.nearby-name {
  font-size: 13px;
  color: #333;
  margin-bottom: 3px;
}

.nearby-dist {
  font-size: 11px;
  color: #999;
}

/* ===== Detail Footer ===== */
.detail-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  z-index: 100;
}

.footer-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.footer-price-label {
  font-size: 11px;
  color: #999;
}

.footer-price-val {
  font-size: 26px;
  font-weight: 800;
  color: #e84b3a;
}

.footer-price-unit {
  font-size: 12px;
  color: #999;
}

.footer-book-btn {
  background: linear-gradient(135deg, #e84b3a, #ff7961);
  color: #fff;
  padding: 13px 36px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(232,75,58,0.35);
}
