.loading-img {
  width: 290px;
}

/* 客人选择模态框样式 */
.guests-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20020;
  padding: 20px;
}

.guests-modal {
  background: white;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
}

.guests-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e1e5e9;
}

.guests-modal-header h3 {
  margin: 0;
  color: #0f294d;
  font-size: 18px;
}

.guests-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guests-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.guest-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-label {
  flex: 1;
  line-height: 15px;
}

.label-main {
  display: block;
  font-weight: 500;
  color: #333;
}

.label-sub {
  font-size: 10px;
  color: #666;
}

.counter {
  display: flex;
  align-items: center;
  gap: 15px;
}

.counter-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d1d1d1;
  background: #fff;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  color: #717171;
  font-weight: 700;
  font-size: 20px;
  -webkit-user-select: none;
  user-select: none;
}

.counter-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.counter-value {
  font-weight: 400;
  min-width: 20px;
  text-align: center;
  color: #333;
}

.guests-modal-actions {
  text-align: center;
}

.guests-modal-confirm {
  background: #2563eb;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.guests-modal-confirm:hover {
  background: #0f8ae0;
}


/* 酒店详情页面样式 */
.hotel-detail-container {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

/* 酒店基本信息区域 */
.hotel-basic-info {
  margin-top: 30px;
}

/* 酒店标题区域 - 重新设计 */
.hotel-header {
  margin-bottom: 0px;
}

.hotel-title-section {
  gap: 40px;
  margin-bottom: 20px;
  align-items: center;
}

.hotel-main-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hotel-name-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  flex-wrap: nowrap;
}

.hotel-name-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.hotel-name {
  min-width: 0;
  flex: 0 1 auto;
  font-size: 26px;
  font-weight: bold;
  color: #0f294d;
  margin: 0;
  line-height: 1.2;
}

.hotel-header-rating {
  flex: 0 0 auto;
  /* margin-left: auto; 移除此属性使其自然跟在星星后面 */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: none;
  padding: 4px 0;
  transition: opacity 0.2s ease;
}

.hotel-header-rating:hover {
  opacity: 0.8;
}

.hotel-header-rating[hidden] {
  display: none;
}

.hotel-header-rating-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 6px;
  color: #FFFFFF;
  background-color: #2C61FE;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  border-radius: 6px 6px 6px 0;
}

.hotel-header-rating-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  background: transparent;
  padding: 0;
  min-width: 0;
}

.hotel-header-rating-grade {
  color: #03205A;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.hotel-header-rating-reviews {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

.hotel-header-rating:hover .hotel-header-rating-reviews {
  color: #2C61FE;
  text-decoration: underline;
}

.stars {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
}

.stars i {
  color: #ffc11c;
  font-size: 20px;
}

.hotel-location {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.location-first-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-icon {
  color: #2563eb;
  font-size: 16px;
}

.location-text {
  font-size: 16px;
  color: #666;
}

.location-map-btn {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  color: #2563eb;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-map-btn:hover {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.hotel-google-rating {
  display: inline-flex;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 2px 10px;
  gap: 8px;
  height: 30px;
  box-sizing: border-box;
}

.hotel-google-rating-source {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #4285F4;
  line-height: 1;
}

.hotel-google-rating-source::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%23EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"/><path fill="%234285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"/><path fill="%23FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"/><path fill="%2334A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"/><path fill="none" d="M0 0h48v48H0z"/></svg>') no-repeat center;
  background-size: contain;
}

.hotel-google-rating-score {
  font-size: 15px;
  font-weight: 700;
  color: #3c4043;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.hotel-google-rating-score::after {
  content: "/5.0";
  font-size: 12px;
  color: #70757a;
  font-weight: 400;
}

.hotel-google-rating--detail {
  margin: 0;
  align-self: center;
}

/* 自有接口住客评分 - 现代高端卡片风 */
.hotel-guest-rating {
  margin: 0 0 24px;
}

.guest-rating--detail {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: none;
}

.guest-rating-detail-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 分数蓝徽章 (保持主蓝焦点) */
.guest-rating-score-badge {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  padding: 10px 16px;
  background: linear-gradient(135deg, #2C61FE 0%, #1A4BD6 100%);
  color: #ffffff;
  border-radius: 8px;
  box-shadow: none;
}

.guest-rating-score-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}

.guest-rating-score-denom {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
  margin-left: 3px;
}

.guest-rating-detail-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guest-rating-detail-title {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.guest-rating-detail-grade-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.guest-rating-detail-grade {
  display: inline-flex;
  align-items: center;
  color: #03205A;
  font-size: 18px;
  font-weight: 800;
}

.guest-rating-detail-grade i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(44, 97, 254, 0.12);
  color: #2C61FE;
  font-size: 14px;
  margin-right: 8px;
  flex-shrink: 0;
}

.guest-rating-detail-info .guest-rating-review-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2C61FE;
  font-size: 12px;
  font-weight: 600;
  background: rgba(44, 97, 254, 0.08);
  border: 1px solid rgba(44, 97, 254, 0.2);
  padding: 3px 10px;
  border-radius: 999px;
}

.hotel-reviews-total:focus-visible {
  outline: 3px solid rgba(44, 97, 254, 0.25);
  outline-offset: 2px;
}

/* 分割竖线 */
.guest-rating-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.2) 0%, #cbd5e1 50%, rgba(226, 232, 240, 0.2) 100%);
  flex-shrink: 0;
}

/* 4项细节细分评分网格 */
.guest-rating-breakdown {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 20px;
}

.guest-rating-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guest-rating-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.guest-rating-item-label {
  min-width: 0;
  color: #1F2937;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-rating-item-score {
  flex: 0 0 auto;
  color: #2C61FE;
  font-size: 13px;
  font-weight: 700;
}

.guest-rating-item-track {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.guest-rating-item-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2C61FE 0%, #4D7EFF 100%);
  transition: width 0.6s ease;
}

.guest-rating-item--unavailable .guest-rating-item-label,
.guest-rating-item--unavailable .guest-rating-item-score {
  color: #94a3b8;
}

.guest-rating-item--unavailable .guest-rating-item-track {
  background: #edf1f5;
}

/* 住客评分模块 移动端/小屏响应式适配 */
@media screen and (max-width: 768px) {
  .guest-rating--detail {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 16px;
  }

  .guest-rating-detail-header {
    width: 100%;
    justify-content: flex-start;
  }

  .guest-rating-divider {
    display: none !important;
  }

  .guest-rating-breakdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .guest-rating--detail {
    padding: 12px 14px;
    gap: 10px;
  }

  .guest-rating-breakdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }
}

/* ==========================================
   独立住客评论区
   ========================================== */
.hotel-reviews-section[hidden],
.hotel-reviews-nav[hidden],
.hotel-reviews-status[hidden],
.hotel-reviews-content[hidden],
.hotel-reviews-total[hidden],
.hotel-guest-rating[hidden] {
  /* 这些元素有自己的 display 样式，必须显式覆盖 hidden 属性 */
  display: none !important;
}

.hotel-reviews-section {
  background: #ffffff;
  padding: 36px 40px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: none;
  scroll-margin-top: 76px;
}

.hotel-reviews-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.hotel-reviews-section-header .section-title {
  margin: 0;
  padding: 0;
  color: #03205A;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.hotel-reviews-total {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 14px;
  color: #2C61FE;
  background: rgba(44, 97, 254, 0.08);
  border: 1px solid rgba(44, 97, 254, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hotel-reviews-total:hover {
  color: #103dab;
  background: rgba(44, 97, 254, 0.14);
  border-color: rgba(44, 97, 254, 0.38);
  transform: translateY(-1px);
}

.hotel-reviews-section .hotel-guest-rating {
  margin-bottom: 26px;
}

.hotel-reviews-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 86px;
  color: #64748b;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  font-size: 14px;
}

.hotel-reviews-loading-dot {
  width: 18px;
  height: 18px;
  border: 2px solid #d8e4ff;
  border-top-color: #2C61FE;
  border-radius: 50%;
  animation: hotelReviewsSpin 0.8s linear infinite;
}

@keyframes hotelReviewsSpin {
  to { transform: rotate(360deg); }
}

/* AI 评价摘要板块 - 极简对称边框风 */
.hotel-review-summary-block {
  margin-top: 32px;
}

.hotel-review-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.hotel-review-summary-header h3 {
  margin: 0;
  color: #03205A;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.hotel-review-ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(44, 97, 254, 0.08);
  color: #2C61FE;
  border: 1px solid rgba(44, 97, 254, 0.2);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.hotel-review-ai-tag i {
  color: #2C61FE;
  font-size: 11px;
}

.hotel-review-list-block {
  margin-top: 32px;
}

.hotel-review-list-block > h3 {
  margin: 0 0 18px;
  color: #03205A;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.hotel-review-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hotel-review-summary-card {
  min-width: 0;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.hotel-review-summary-card:hover {
  border-color: #2C61FE;
  box-shadow: none;
}

.hotel-review-summary-card--advice {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.hotel-review-summary-card--advice:hover {
  border-color: #F06703;
  box-shadow: none;
}

.hotel-review-summary-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hotel-review-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: #2C61FE;
  background: rgba(44, 97, 254, 0.1);
  border-radius: 50%;
  font-size: 12px;
}

/* 评价摘要 - 仅在此处根据主题动态渲染个性化丰富色彩与悬停边框变色 */
.summary-type--location .hotel-review-summary-icon {
  color: #2563eb;
  background: #eff6ff;
}
.summary-type--location:hover {
  border-color: #2563eb;
}

.summary-type--food .hotel-review-summary-icon {
  color: #d97706;
  background: #fffbeb;
}
.summary-type--food:hover {
  border-color: #d97706;
}

.summary-type--service .hotel-review-summary-icon {
  color: #059669;
  background: #ecfdf5;
}
.summary-type--service:hover {
  border-color: #059669;
}

.summary-type--atmosphere .hotel-review-summary-icon {
  color: #7c3aed;
  background: #f5f3ff;
}
.summary-type--atmosphere:hover {
  border-color: #7c3aed;
}

.summary-type--hygiene .hotel-review-summary-icon {
  color: #0d9488;
  background: #f0fdfa;
}
.summary-type--hygiene:hover {
  border-color: #0d9488;
}

.summary-type--sleep .hotel-review-summary-icon {
  color: #4f46e5;
  background: #eef2ff;
}
.summary-type--sleep:hover {
  border-color: #4f46e5;
}

.summary-type--view .hotel-review-summary-icon {
  color: #0284c7;
  background: #f0f9ff;
}
.summary-type--view:hover {
  border-color: #0284c7;
}

.summary-type--facility .hotel-review-summary-icon {
  color: #6b21a8;
  background: #faf5ff;
}
.summary-type--facility:hover {
  border-color: #6b21a8;
}

.summary-type--value .hotel-review-summary-icon {
  color: #e11d48;
  background: #fff1f2;
}
.summary-type--value:hover {
  border-color: #e11d48;
}

.summary-type--advice .hotel-review-summary-icon {
  color: #f06703;
  background: #fff7ed;
}
.summary-type--advice:hover {
  border-color: #f06703;
}

.hotel-review-summary-card h4 {
  min-width: 0;
  margin: 0;
  color: #03205A;
  font-size: 15px;
  font-weight: 700;
}

.hotel-review-summary-count {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 3px 10px;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

.hotel-review-summary-card--advice .hotel-review-summary-count {
  color: #64748b;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.hotel-review-summary-card p {
  margin: 0;
  color: #334155;
  font-size: 13.5px;
  line-height: 1.75;
}

.hotel-review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hotel-review-card {
  min-width: 0;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.hotel-review-card:hover {
  border-color: #2C61FE;
  box-shadow: none;
  transform: translateY(-2px);
}

.hotel-review-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.hotel-review-user {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hotel-review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: linear-gradient(145deg, #2c61fe, #648cff);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
}

.hotel-review-user h4 {
  margin: 0 0 3px;
  color: #03205A;
  font-size: 15px;
  font-weight: 700;
}

.hotel-review-user > div > span {
  display: block;
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hotel-review-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 50px;
  height: 38px;
  padding: 0 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #2C61FE 0%, #1A4BD6 100%);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: none;
}

.hotel-review-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.hotel-review-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
}

.hotel-review-meta i {
  color: #2C61FE;
  font-size: 11.5px;
}

.hotel-review-text {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #1F2937;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-line;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.hotel-review-card.is-expanded .hotel-review-text {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.hotel-review-expand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 0;
  color: #2C61FE;
  background: transparent;
  border: 0;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.hotel-review-expand[hidden] {
  display: none !important;
}

.hotel-review-expand:hover {
  color: #1A4BD6;
}

.hotel-review-reply {
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.hotel-review-reply-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #03205A;
  font-size: 12.5px;
  font-weight: 700;
}

.hotel-review-reply-title i {
  flex: 0 0 auto;
  color: #2C61FE;
}

.hotel-review-reply-content {
  padding: 12px 15px;
  margin-top: 8px;
  color: #334155;
  background: #f8fafc;
  border-left: 3px solid #2C61FE;
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-line;
}

.hotel-reviews-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.hotel-reviews-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  min-height: 46px;
  padding: 12px 26px;
  color: #2C61FE;
  background: #ffffff;
  border: 1.5px solid #2C61FE;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hotel-reviews-more:hover {
  color: #ffffff;
  background: #2C61FE;
  border-color: #2C61FE;
  box-shadow: none;
  transform: translateY(-1px);
}

@media screen and (max-width: 768px) {
  .hotel-reviews-section {
    padding: 22px 18px;
    margin-bottom: 18px;
    border-radius: 10px;
  }

  .hotel-reviews-section-header {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .hotel-reviews-section-header .section-title {
    font-size: 20px;
  }

  .hotel-review-summary-grid,
  .hotel-review-list {
    grid-template-columns: 1fr;
  }

  .hotel-review-summary-block,
  .hotel-review-list-block {
    margin-top: 22px;
  }

  .hotel-review-card:hover {
    transform: none;
  }
}

@media screen and (max-width: 480px) {
  .hotel-reviews-section {
    padding: 18px 14px;
    margin-left: 0;
    margin-right: 0;
  }

  .hotel-reviews-total {
    min-height: 28px;
    padding: 4px 9px;
    font-size: 11px;
  }

  .hotel-review-summary-card,
  .hotel-review-card {
    padding: 15px;
  }

  .hotel-review-meta {
    gap: 6px 10px;
  }

  .hotel-reviews-more {
    width: 100%;
  }
}

/* 响应式设计 - 头部紧凑布局 */
@media screen and (max-width: 768px) {
  .hotel-basic-info {
    margin-top: 15px;
  }

  .hotel-title-section {
    margin-bottom: 10px;
  }

  .hotel-main-info {
    gap: 6px;
  }

  .hotel-name-section {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .hotel-name-title-row {
    width: 100%;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hotel-name {
    flex: 0 1 auto;
    font-size: 20px;
    line-height: 1.3;
  }

  .hotel-header-rating {
    /* margin-left: auto; */
  }

  .hotel-header-rating-score {
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-size: 16px;
    border-radius: 5px 5px 5px 0;
  }

  .hotel-header-rating-grade {
    font-size: 13px;
  }

  .hotel-header-rating-reviews {
    font-size: 11px;
    max-width: none;
  }

  .stars {
    gap: 2px;
  }

  .stars i {
    font-size: 14px;
  }

  .hotel-google-rating--detail {
    padding: 2px 6px;
    height: 24px;
    gap: 4px;
  }

  .hotel-google-rating-source {
    font-size: 0;
  }

  .hotel-google-rating-source::before {
    width: 14px;
    height: 14px;
  }

  .hotel-google-rating-score {
    font-size: 12px;
  }

  .hotel-google-rating-score::after {
    font-size: 10px;
  }

  .hotel-guest-rating {
    margin-bottom: 14px;
  }

  .guest-rating--detail {
    display: block;
    padding: 14px 16px 16px;
    border-radius: 10px;
  }

  .guest-rating-detail-header {
    flex: none;
    align-items: flex-start;
    gap: 10px;
  }

  .guest-rating-detail-title {
    font-size: 14px;
  }

  .guest-rating-detail-score {
    font-size: 32px;
  }

  .guest-rating-detail-grade {
    font-size: 14px;
  }

  .guest-rating-detail-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 14px;
  }

  .guest-rating-breakdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    margin-top: 14px;
  }

  .hotel-location {
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
  }

  .location-map-btn {
    display: none;
  }

  .location-first-line {
    flex: 1;
    min-width: 0;
    gap: 4px;
    cursor: pointer;
  }

  .location-icon {
    font-size: 13px;
    flex-shrink: 0;
    color: #2563eb;
  }

  .location-text {
    font-size: 13px;
    margin-bottom: 5px;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media screen and (max-width: 480px) {
  .hotel-name {
    font-size: 18px;
  }

  .hotel-header-rating {
    max-width: 100%;
  }

  .hotel-header-rating-copy {
    max-width: none;
  }

  .location-text {
    font-size: 12px;
  }
}

/* 酒店图片区域 */
.hotel-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  overflow: hidden;
}

.gallery-main {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 470px;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.main-image:hover {
  transform: scale(1.02);
}

.gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.thumbnail-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  height: 150px;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
  transform: scale(1.05);
}

.more-photos {
  position: relative;
}

.more-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background-color 0.3s ease;
}

.more-photos:hover .more-overlay {
  background: rgba(0, 0, 0, 0.65);
}

.more-text {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.more-count {
  font-size: 14px;
  opacity: 0.9;
}

/* 手机端横向滑动图片 */
.hotel-gallery-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .hotel-gallery {
    display: none;
  }

  .hotel-gallery-mobile {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
  }

  .gallery-mobile-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
  }

  .gallery-mobile-track::-webkit-scrollbar {
    display: none;
  }

  .gallery-mobile-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
    height: 220px;
  }

  .gallery-mobile-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .gallery-mobile-slide.more-photos-slide {
    cursor: pointer;
  }

  .gallery-mobile-slide .more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
  }

  .gallery-mobile-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    pointer-events: none;
  }
}

@media screen and (max-width: 480px) {
  .gallery-mobile-slide {
    height: 200px;
  }
}

/* 图片查看器模态框 */
.image-viewer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-viewer-modal.show {
  opacity: 1;
  visibility: visible;
}

.image-viewer-content {
  position: relative;
  width: 80vw;
  height: 80vh;
  background: white;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.image-viewer-modal.show .image-viewer-content {
  transform: scale(1);
  opacity: 1;
}

.viewer-header {
  background: white;
  padding: 20px 30px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.close-viewer {
  color: #222;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.close-viewer:hover {
  color: #fff;
  background: #2563eb;
  transform: scale(1.1);
}

/* 分类筛选按钮 */
.image-category-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category-filter {
  background: white;
  border: 2px solid #e0e0e0;
  color: #666;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-filter:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.category-filter.active {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
}

.category-count {
  font-size: 11px;
  opacity: 0.8;
}

/* 瀑布流容器 */
.image-waterfall-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 30px;
}

/* 瀑布流布局 */
.image-waterfall {
  columns: 3;
  column-gap: 10px;
}

.waterfall-item {
  break-inside: avoid;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.waterfall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.waterfall-image {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.waterfall-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 20px 15px 15px;
  font-size: 14px;
  opacity: 1;
}

/* 滚动条样式 */
.image-waterfall-container::-webkit-scrollbar {
  width: 6px;
}

.image-waterfall-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.image-waterfall-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.image-waterfall-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
  .image-waterfall {
    columns: 2;
  }
}

@media screen and (max-width: 968px) {
  .hotel-title-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .hotel-detail-container {
    padding: 0 15px;
    margin-bottom: 10px;
  }

  .hotel-location {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .image-viewer-content {
    width: 95vw;
    height: 90vh;
  }

  .viewer-header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .image-waterfall-container {
    padding: 15px 20px;
  }

  .image-waterfall {
    columns: 2;
    column-gap: 15px;
  }

  .image-category-filters {
    width: 100%;
    justify-content: center;
    order: 3;
  }

  .close-viewer {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
    margin-left: auto;
  }
}

@media screen and (max-width: 480px) {
  .hotel-name {
    font-size: 18px;
  }

  .stars i {
    font-size: 13px;
  }

  .hotel-google-rating--detail {
    padding: 2px 6px;
  }

  .location-text {
    font-size: 12px;
  }

  .more-text {
    font-size: 14px;
  }

  .more-count {
    font-size: 12px;
  }

  .image-viewer-content {
    width: 98vw;
    height: 95vh;
    border-radius: 12px;
  }

  .image-waterfall {
    columns: 1;
  }

  .category-filter {
    padding: 6px 12px;
    font-size: 12px;
  }

  .viewer-header {
    padding: 12px 15px;
  }

  .image-waterfall-container {
    padding: 12px 15px;
  }
}

/* 图片放大模态框 */
.image-zoom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10001;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-zoom-modal.show {
  display: block;
  opacity: 1;
}

.zoom-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 关闭按钮 */
.zoom-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.zoom-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* 导航按钮 */
.zoom-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.zoom-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.zoom-prev-btn {
  left: 30px;
}

.zoom-next-btn {
  right: 30px;
}

/* 图片容器 */
.zoom-image-container {
  width: 90%;
  height: 80%;
  max-width: 1200px;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: grab;
  touch-action: none;
  /* 防止浏览器默认触摸行为 */
}

.zoom-image-container.grabbing {
  cursor: grabbing;
}

.zoom-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  will-change: transform;
  /* 优化动画性能 */
  user-select: none;
  /* 防止文本选择 */
  -webkit-user-drag: none;
  /* 防止拖拽 */
}

/* 添加缩放控制按钮 */
.zoom-controls {
  position: absolute;
  bottom: 100px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1002;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 25px;
  padding: 10px;
  backdrop-filter: blur(10px);
}

.zoom-control-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.zoom-control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.zoom-reset-btn {
  background: rgba(255, 255, 255, 0.3);
}

.zoom-image.zoomed {
  cursor: zoom-out;
  transform: scale(1.5);
}

/* 图片信息 */
.zoom-image-info {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  font-size: 16px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  margin: 0 auto;
  width: fit-content;
  max-width: 80%;
}

.zoom-image-title {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.zoom-image-index {
  font-size: 14px;
  opacity: 0.8;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .zoom-controls {
    bottom: 80px;
    right: 10px;
  }

  .zoom-control-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .zoom-image-container {
    width: 95%;
    height: 70%;
  }

  .zoom-close-btn {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .zoom-nav-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .zoom-prev-btn {
    left: 15px;
  }

  .zoom-next-btn {
    right: 15px;
  }

  .zoom-image-info {
    bottom: 20px;
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* 详情页面导航 */
/* 经典菜单样式 */
.detail-navigation {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.detail-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.detail-nav {
  display: flex;
  gap: 0;
  justify-content: center;
  max-width: fit-content;
  margin: 0 auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  color: #666;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item:hover {
  color: #2563eb;
  background: #f8f9fa;
}

.nav-item.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
  background: #f0f7ff;
  font-weight: 600;
}

/* 菜单项之间的分隔线 */
.nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 1px;
  background: #e0e0e0;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .detail-nav-container {
    padding: 0;
  }

  .detail-nav {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
    justify-content: flex-start;
  }

  .detail-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-item {
    padding: 10px 14px;
    font-size: 13px;
    flex-shrink: 0;
    flex-direction: row;
    gap: 0;
  }

  .nav-item i {
    display: none;
  }

  /* 房型列表移动端适配 */
  .room-types {
    padding: 0 10px;
  }

  .room-type-header {
    padding: 15px;
  }

  .room-type-main-info {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
  }

  .room-type-image {
    width: 100px;
    height: 75px;
  }

  .room-type-name {
    font-size: 16px;
  }

  .room-type-toggle {
    display: flex; /* 手机端显示展开按钮，默认收缩 */
    align-self: flex-end;
    margin-top: -8px;
  }

  .plans-container {
    padding: 0 10px;
  }

  .plan-card {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }

  .plan-booking {
    border-left: none;
    border-top: 1px solid #f0f4f8;
    padding-left: 0;
    padding-top: 15px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .plan-price-info {
    text-align: left;
  }

  .plan-price-value {
    font-size: 22px;
  }

  .book-btn {
    width: 100px;
    padding: 8px 0;
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .nav-item {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* 详情内容区域 */
.hotel-detail-content {
  background: rgb(244, 244, 244);
  padding: 20px 0;
}

.detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 当屏幕滚动时，可以添加一些视觉效果 */
.sticky-search-box.stuck {
  position: fixed;
  top: 70px;
  width: 360px;
  opacity: 0.95;
  transform: translateY(10px);

}

.detail-main {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: start;
}

/* 左侧内容区域 */
.detail-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  overflow: hidden;
}

/* 右侧悬浮搜索框 */
.detail-sidebar {
  width: 360px;
  flex-shrink: 0;
  position: relative;
  align-self: stretch;
  padding-bottom: 30px;
  box-sizing: border-box;
}

.sticky-search-box {
  position: sticky;
  top: 80px;
  z-index: 99;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 迷你搜索框样式 */
/* 迷你搜索框样式 */
.mini-hotel-search {
  background: white;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.mini-search-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f294d;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2563eb;
}

.mini-search-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mini-search-field {
  position: relative;
}

.mini-field-label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 500;
}

.mini-input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.mini-input-with-clear .mini-search-input {
  padding-right: 42px;
}

.mini-input-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 999px;
  background: #eef4fb;
  color: #6b7b8c;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.mini-input-clear-btn i {
  font-size: 11px;
}

.mini-input-clear-btn:hover {
  background: #dbe9f6;
  color: #0f294d;
}

.mini-input-clear-btn.is-visible {
  display: inline-flex;
}

.mini-search-input {
  width: 100%;
  height: 40px;
  padding: 0 35px 0 35px;
  border: 1.5px solid #e1e5e9;
  border-radius: 6px;
  font-size: 13px;
  transition: all 0.3s ease;
  background: white;
  cursor: pointer;
  color: #333;
}

.mini-search-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(27, 161, 255, 0.1);
}

.mini-field-icon {
  width: 15px;
  position: absolute;
  left: 12px;
  color: #2563eb;
  font-size: 14px;
  z-index: 2;
}

.mini-nights-display {
  position: absolute;
  right: 12px;
  background: #2563eb;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.mini-search-button {
  width: 100%;
  background: rgb(255, 193, 28);
  color: #222;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.mini-search-button:hover {
  /* transform: translateY(-1px); */
  box-shadow: 0 4px 12px rgba(255, 193, 28, 0.4);
}

@media screen and (min-width: 768px) {
  .mini-input-clear-btn {
    display: none;
  }

  .mini-input-clear-btn.is-visible {
    display: inline-flex;
  }

  .mini-search-header-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f294d;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2563eb;
  }

  .mini-search-header-toggle {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .mini-input-clear-btn,
  .mini-input-clear-btn.is-visible {
    display: none !important;
  }
}

/* 手机端可折叠搜索框 */
@media screen and (max-width: 768px) {
  .detail-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10002;
    /* 提高层级，确保在其他元素之上 */
    padding: 0;
    background: white;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    /* 加深阴影 */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .detail-sidebar.collapsed {
    transform: translateY(calc(100% - 54px));
    /* 精确高度：54px */
  }

  .sticky-search-box {
    position: static;
  }

  .mini-hotel-search {
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    background: white;
  }

  .mini-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: #2563eb;
    color: white;
    cursor: pointer;
    height: 40px;
    box-sizing: border-box;
  }

  .mini-search-header-title {
    font-size: 14px;
    font-weight: 600;
  }

  .mini-search-header-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }

  .mini-search-header-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  .mini-search-content {
    padding: 15px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .detail-sidebar:not(.collapsed) .mini-search-content {
    max-height: 400px;
    /* 根据内容调整 */
    padding: 15px;
  }

  .mini-search-form {
    gap: 12px;
  }

  .mini-search-field {
    margin-bottom: 0;
  }

  .mini-field-label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .mini-search-input {
    height: 40px;
    font-size: 14px;
  }

  .mini-search-button {
    margin-top: 8px;
  }
  .hotel-overview{
    padding: 15px !important;
  }
  /* 为主内容添加底部内边距 */
  .detail-left {
    gap: 0;
    padding-bottom: 80px;
    /* 增加底部间距，避免被固定栏遮挡 */
  }

  /* Litepicker 移动端全屏居中优化 */
  .litepicker {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 16px !important;
    --litepicker-day-width: 42px !important;
    /* 稍微缩小单日宽度以适应屏幕 */
    --litepicker-month-width: calc(var(--litepicker-day-width) * 7 + 20px) !important;
    z-index: 20000 !important;
    box-shadow: 0 0 0 100vh rgba(0, 0, 0, 0.5), 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    border-radius: 12px !important;
    width: var(--litepicker-month-width) !important;
    /* 显式设置总宽度 */
  }

  .litepicker .container__months {
    width: 100% !important;
    flex-direction: column !important;
    background: #fff !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
  }

  .litepicker .month-item {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    min-width: unset !important;
  }

  .litepicker .container__days {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .litepicker .container__days .day-item {
    height: 42px !important;
    font-size: 13px !important;
    line-height: 42px !important;
    width: 14.28% !important;
    /* 强制分配 1/7 宽度，确保 7 列完整 */
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .litepicker .container__main {
    padding: 0 !important;
    width: 100% !important;
  }

  .detail-sidebar:not(.collapsed) .mini-search-content {
    max-height: 80vh;
    /* 允许展开更高 */
    overflow-y: auto;
    /* 内容过多时可滚动 */
    padding: 20px 15px;
  }
}

/* 孩子年龄选择区域样式 */
.children-ages-section {
  padding-top: 15px;
  margin-top: 20px;
  border-top: 1px solid #e8e8e8;
}

.age-select-notice {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 15px;
  padding: 10px;
  background: white;
  border-left: 3px solid #2563eb;
}

.age-select-content {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  background: white;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
}

.age-select-desc {
  flex: 1;
  font-size: 14px;
  color: #0f294d;
}

.age-select-descName {
  font-weight: 600;
  margin-right: 5px;
}

.age-select-must {
  color: #ff4757;
  margin-left: 2px;
}

.age-select-text {
  flex: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.age-select-agedesc {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}

.age-select-wrap-v8 {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.age-select-wrap-v8:focus {
  outline: none;
  border-color: #2563eb;
}

/* 超小屏幕优化 */
@media screen and (max-width: 480px) {
  .mini-search-content {
    padding: 12px;
  }

  .detail-sidebar:not(.collapsed) .mini-search-content {
    padding: 12px;
    max-height: 450px;
  }

  .detail-left {
    padding-bottom: 60px;
  }
}

/* 通用区块样式 */
.hotel-overview,
.room-types {
  background: white;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #0f294d;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.hotel-description {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 25px;
  padding: 20px;
  background: #fafafa;
  border-left: 4px solid #2563eb;
}

.hotel-description p {
  margin-bottom: 16px;
}

.hotel-description p:last-child {
  margin-bottom: 0;
}

.description-toggle-btn {
  display: none;
}

@media screen and (max-width: 768px) {
  .hotel-description {
    font-size: 14px;
    line-height: 1.6;
    padding: 10px 12px;
    margin-bottom: 0;
    background: #fafafa;
    border-left: 3px solid #2563eb;
    border-radius: 0;
    box-shadow: none;
    position: static;
  }

  .hotel-description.is-clamped p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
  }
.overview-grid-layout>div{
  width: 100%;
}
  .hotel-description.is-clamped::after {
    display: none;
  }

  .description-toggle-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    margin-top: 16px !important;
    padding: 10px 18px !important;
    background: transparent !important;
    border: 1px solid #2563eb !important;
    color: #2563eb !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center !important;
    box-shadow: none !important;
  }

  .description-toggle-btn::after {
    display: none !important;
  }

  .description-toggle-btn:hover {
    background: #eff6ff !important;
    border-color: #1d4ed8 !important;
    color: #1d4ed8 !important;
    transform: none !important;
  }
}

/* 基本信息卡片样式 */
.hotel-essential-info {
  margin: 25px 0;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e8f4ff;
}

.hotel-essential-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0f294d;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2563eb;
}

.essential-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.essential-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.essential-info-item i {
  width: 20px;
  color: #2563eb;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.essential-info-content {
  flex: 1;
}

.essential-info-label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.essential-info-value {
  font-size: 14px;
  font-weight: 500;
  color: #0f294d;
}

/* 安全徽章样式 */
.fire-safety-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #d4edda;
  color: #155724;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.fire-safety-badge i {
  font-size: 14px;
  margin: 0;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .hotel-essential-info {
    padding: 14px;
    margin: 14px 0;
    border-radius: 8px;
  }

  .hotel-essential-info h4 {
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .essential-info-grid {
    gap: 10px;
  }

  .essential-info-item {
    gap: 8px;
  }

  .essential-info-item i {
    width: 16px;
    font-size: 13px;
    margin-top: 1px;
  }

  .essential-info-label {
    font-size: 11px;
    margin-bottom: 2px;
  }

  .essential-info-value {
    font-size: 13px;
  }
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
  .detail-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-sidebar {
    order: -1;
    width: 100%;
  }

  .sticky-search-box, .sticky-search-box.stuck {
    position: static !important;
    width: 100% !important;
    transform: none !important;
  }
}

@media screen and (max-width: 768px) {
  .hotel-detail-content {
    padding: 15px 0;
  }

  .detail-container {
    padding: 0 0;
  }

  .hotel-overview,
  .room-types {
    padding: 18px;
  }

  .section-title {
    font-size: 20px;
  }
}

.section-header.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title-h2 {
  font-size: 24px;
}

.search-info-card {
  background: #f8f9fa;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.search-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.search-info-item i {
  color: #2563eb;
  font-size: 14px;
  width: 16px;
}

@media screen and (max-width: 768px) {
  .section-header.section-title {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0 12px;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }

  .section-header.section-title .section-title-h2 {
    font-size: 18px;
    margin: 0;
  }

  .search-info-card {
    flex-direction: row;
    gap: 10px;
    line-height: 2;
    align-items: center;
    padding: 0;
    border: none;
    background: none;
    width: auto;
    margin-left: auto;
  }

}

/* ==========================================
   酒店概要区块 - 全新设计
   ========================================== */
.hotel-overview {
  background: white;
  padding: 36px 40px;
  box-shadow: 0 2px 12px rgba(15, 41, 77, 0.07);
  margin-bottom: 24px;
}

.hotel-overview .section-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f294d;
}

/* 推荐亮点 - 胶囊标签风格 */
.hotel-highlights-section {
  margin-bottom: 28px;
}

.highlights-title {
font-size: 18px;
    font-weight: 600;
    color: #0f294d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.highlights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.highlight-card {
display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 24px;
    background: #ffff;
    border: 1px solid #bfdbfe;
    border-radius: 99px;
    transition: all 0.25s ease;
    cursor: default;
}

.highlight-card:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.highlight-card i {
  color: #2563eb;
  font-size: 16px;
  flex-shrink: 0;
}

.highlight-card span {
     font-size: 14px;
    font-weight: 500;
    color: #475569;
    white-space: nowrap;
}

/* 酒店描述文字 */
.hotel-description {
  font-size: 14px;
  line-height: 1.85;
  color: #475569;
  margin-bottom: 28px;
  padding: 0;
  background: transparent;
  border-left: none;
}

.hotel-description p {
  margin-bottom: 12px;
}

.hotel-description p:last-child {
  margin-bottom: 0;
}

.overview-grid-layout {
  display: flex;
  gap: 20px;
  align-items: start;
}

.overview-grid-layout .hotel-essential-info,
.overview-grid-layout .location-access {
  flex: 1;
  min-width: 0;
}

.overview-grid-layout .hotel-essential-info,
.overview-grid-layout .location-access {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 20px;
  margin: 0 !important;
}

.overview-grid-layout h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0f294d;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;

}

.overview-grid-layout h4 i {
  color: #3b82f6;
  font-size: 14px;
}

/* 有交通信息时，默认呈现为 1 列 */
.essential-info-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 没有交通信息时，占据 100% 宽度，平铺展示为 1 排 */
.overview-grid-layout.no-location .essential-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 20px;
}

.essential-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.essential-info-item i {
    color: #3b82f6;
    font-size: 18px;
    flex-shrink: 0;
    height: 50px;
    width: 50px;
    text-align: center;
    padding: 17px 15px;
    background: #E5EDFE;
    border-radius: 50%;
}

.essential-info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.essential-info-label {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
}

.essential-info-value {
  font-size: 14px;
  font-weight: 600;
  color: #0f294d;
}

/* 响应式 */
@media screen and (max-width: 900px) {
  .hotel-overview {
    padding: 28px;
  }
  .overview-grid-layout {
    flex-direction: column;
    gap: 16px;
  }
}

@media screen and (max-width: 768px) {
  .hotel-overview {
    padding: 20px 16px;
  }
  .highlights-grid {
    gap: 8px;
  }
  .highlight-card {
    padding: 6px 12px;
  }
  .highlight-card span {
    font-size: 12px;
  }
  .hotel-description {
    font-size: 14px;
    line-height: 1.7;
  }
}

@media screen and (max-width: 480px) {

}

/* 酒店设施区块 */
.hotel-amenities {
  background: white;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

/* 设施垂直布局 */
.amenities-vertical {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.amenities-section {
  background: white;
  padding: 25px;
  /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); */
  border: 1px solid #f0f0f0;
}

.amenities-section h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0f294d;
  margin-bottom: 20px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.amenities-section h4 i {
  color: #2563eb;
  font-size: 18px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid #f0f0f0;
}

.amenity-item:hover {
  background: #f0f7ff;
  transform: translateX(4px);
  border-color: #2563eb;
}

.amenity-item i {
  width: 20px;
  color: #2563eb;
  font-size: 14px;
  text-align: center;
  flex-shrink: 0;
}

.amenity-item span {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .hotel-amenities {
    padding: 20px;
  }

  .amenities-vertical {
    gap: 20px;
  }

  .amenities-section {
    padding: 0px;
    border: 0;
  }
  .amenities-section h4{
    margin-bottom: 0;
  }
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .amenity-item {
    padding: 8px 10px;
  }

  .amenity-item--hidden {
    display: none;
  }

  .amenities-toggle-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    margin-top: 16px !important;
    padding: 10px 18px !important;
    background: transparent !important;
    border: 1px solid #2563eb !important;
    color: #2563eb !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center !important;
    box-shadow: none !important;
  }

  .amenities-toggle-btn:hover {
    background: #eff6ff !important;
    border-color: #1d4ed8 !important;
    color: #1d4ed8 !important;
  }
}

/* 位置アクセス */
/* 交通信息样式优化 */
.location-access {
  margin-top: 25px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e8f4ff;
}

.location-access h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0f294d;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2563eb;
  display: flex;
  align-items: center;
  gap: 10px;
}



/* 交通分类网格布局 */
/* 交通信息样式 - 简洁稳妥版 */
.location-access {
  margin-top: 25px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.location-access h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0f294d;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

/* 交通分类 - 垂直排列 */
.access-section {
  margin-bottom: 25px;
}

.access-section:last-child {
  margin-bottom: 0;
}

.access-section h5 {
  font-size: 14px;
  font-weight: 600;
  color: #0f294d;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.access-section h5 i {
  color: #2563eb;
  /* 统一蓝色 */
  width: 16px;
  text-align: center;
}

.access-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
  /* 固定高度防止错位 */
}

.access-info:last-child {
  border-bottom: none;
}

.access-info > i {
  width: 20px;
  font-size: 16px;
  color: #2563eb;
  /* 统一蓝色 */
  flex-shrink: 0;
  text-align: center;
}

.access-info-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
  /* 防止换行 */
  min-width: 0;
  /* 允许文本截断 */
}

.access-name {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  flex-shrink: 0;
  min-width: 120px;
  /* 固定名称宽度 */
}

.access-details {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
}

.distance-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
}

.distance-item i {
  font-size: 12px;
  color: #999;
  width: 12px;
}

.transport-badge {
  background: #f0f7ff;
  color: #2563eb;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid #e1f0ff;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .location-access {
    padding: 14px;
    margin-top: 16px;
  }

  .location-access h4 {
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .access-info {
    align-items: flex-start;
    min-height: auto;
    padding: 6px 0;
  }

  .access-info > i {
    padding-top: 2px;
    font-size: 14px;
  }

  .access-info-content {
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
  }

  .access-name {
    min-width: auto;
    font-size: 13px;
  }

  .access-details {
    flex-wrap: wrap;
    gap: 6px;
  }

  .distance-item {
    font-size: 12px;
  }

  .transport-badge {
    font-size: 11px;
    padding: 2px 6px;
  }
}

/* 周边信息样式 */
.hotel-surroundings {
  background: white;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.surroundings-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 20px;
}

.surroundings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.surroundings-category {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.surroundings-category:nth-child(1) .surroundings-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 30px;
}

/* 交通部分保持单列 */
.surroundings-category:nth-child(2) .surroundings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.surroundings-category h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0f294d;
  margin-bottom: 15px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.surroundings-category h4 i {
  color: #2563eb;
  font-size: 16px;
}

.surroundings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.surrounding-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f8f9fa;
}

.surrounding-item:last-child {
  border-bottom: none;
}

/* 默认隐藏超出数量的条目，展开后通过 js 设 display:block */
.surrounding-item--hidden {
  display: none;
}


.surrounding-name {
  font-size: 14px;
  color: #333;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.surrounding-name i {
  color: #2563eb;
  width: 16px;
  font-size: 14px;
}

.surrounding-distance {
  font-size: 13px;
  color: #666;
  background: #f8f9fa;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* 无周边信息提示 */
.no-surroundings {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.no-surroundings i {
  font-size: 36px;
  color: #ccc;
  margin-bottom: 15px;
  display: block;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .hotel-surroundings {
    padding: 16px;
  }

  .surroundings-content {
    gap: 14px;
    margin-top: 12px;
  }

  .surroundings-category {
    padding: 12px;
  }

  .surroundings-category h4 {
    font-size: 14px;
    margin-bottom: 10px;
    padding-bottom: 6px;
  }

  .surrounding-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
  }

  .surrounding-name {
    font-size: 13px;
    min-width: 0;
  }

  .surrounding-name i {
    font-size: 12px;
    width: 14px;
  }

  .surrounding-distance {
    align-self: center;
    font-size: 12px;
    padding: 2px 6px;
    flex-shrink: 0;
  }

  .surroundings-category:nth-child(1) .surroundings-list {
    grid-template-columns: 1fr;
  }
}

/* 客室タイプ区块样式 - 携程/Trip 风格高密度布局 */
.room-types {
  margin-bottom: 30px;
}

/* ===== 新版高品质房型卡片布局（参考设计图） ===== */
.room-type-group {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.room-type-group:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
}

.room-type-card {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 24px;
  align-items: flex-start;
}

/* 左列：图片 + 4张缩略图 + 标签 + 描述 + 底部按钮 */
.room-type-left {
  display: flex;
  flex-direction: column;
  background: transparent;
  flex-shrink: 0;
  width: 100%;
}

.room-type-main-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
}

.room-type-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.room-type-group:hover .room-type-main-image img {
  transform: scale(1.02);
}

.room-type-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
  background: transparent;
  padding: 0;
}

.room-type-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: #f3f4f6;
}

.room-type-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-type-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.room-type-specs-grid .spec-item {
  background: #f3f4f6;
  border-radius: 6px;
  padding: 6px 4px;
  font-size: 12px;
  color: #374151;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.room-type-secondary-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
  color: #4b5563;
  margin-top: 12px;
}

.room-type-secondary-info i {
  color: #6b7280;
  margin-right: 2px;
}

.room-type-left-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 0;
  border-top: none;
}

.room-detail-link {
  font-size: 13px;
  font-weight: 600;
  color: #2C61FE;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.room-detail-link:hover {
  text-decoration: underline;
}

.room-all-photos-btn {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.room-all-photos-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

/* 右列：房型头部 + 独立的套餐卡片列表 */
.room-type-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.room-type-right-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: none;
  padding: 0;
}

.room-type-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.room-type-right-header .room-type-name {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.room-type-sub-specs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #4b5563;
}

.room-plans-toggle-btn {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.room-type-right .plans-container {
  flex: 1;
  display: block;
  max-height: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  padding: 0;
  overflow: visible;
}

.plans-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.room-types-loading,
.no-rooms-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 220px;
  padding: 32px 20px;
  border: 1px dashed #d9e4ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
  text-align: center;
}

.room-types-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid #dfe9f4;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: roomTypesSpin 0.8s linear infinite;
}

.room-types-loading-text,
.no-rooms-message p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5b6e86;
}

.no-rooms-message i {
  font-size: 32px;
  color: #9fb0c2;
}

@keyframes roomTypesSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.room-type-group {
  border: 1px solid #e1e7ed;
  border-radius: 4px;
  overflow: hidden;
  background: white;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.room-type-group:hover {
  box-shadow: 0 10px 26px rgba(15, 41, 77, 0.08);
}

/* ===== 新版两列布局：左图右套餐 ===== */
.room-type-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: stretch;
  min-height: 260px;
}

/* 左列：图片 + 缩略图 + 设施 */
.room-type-left {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eef3f8;
  background: #fafbfc;
  flex-shrink: 0;
}

.room-type-main-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}

.room-type-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.room-type-group:hover .room-type-main-image img {
  transform: scale(1.02);
}

.room-type-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px 6px;
  background: #f1f3f6;
}

.room-type-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: #e4e8ed;
}

.room-type-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-type-left .room-type-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  padding: 10px 12px 6px;
  font-size: 12px;
  color: #455873;
  flex: 1;
}

.room-type-left .room-stay-time {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: #455873;
  width: 100%;
  margin-top: 2px;
}

.room-type-left-footer {
  padding: 8px 0 12px;
  border-top: 1px solid #eef3f8;
}

.room-type-left-footer .room-detail-btn {
  font-size: 12px;
  color: #2C61FE;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.room-type-left-footer .room-detail-btn:hover {
}

/* 右列：房型名 + 套餐列表 */
.room-type-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.room-type-right-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 20px 10px;
  border-bottom: 1px solid #f0f4f8;
  flex-wrap: wrap;
}

.room-type-right-header .room-type-name {
  font-size: 18px;
  font-weight: 700;
  color: #0f294d;
  margin: 0;
  line-height: 1.35;
  flex-shrink: 0;
}

.room-type-specs-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 13px;
  color: #455873;
}

.room-type-right .plans-container {
  flex: 1;
  display: block;
  max-height: none;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  padding: 0 20px 12px;
  overflow: visible;
}

/* 保留旧版 room-type-header 供其他引用 */
/* 房型头部 - 更加紧凑 */
.room-type-header {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  padding: 20px 20px 18px;
  background: #fff;
  cursor: pointer;
  border-bottom: 1px solid #eef3f8;
}

.room-type-main-info {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.room-type-image {
  position: relative;
  width: 240px;
  height: 160px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f5f7;
}

.room-type-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.room-type-group:hover .room-type-image img {
  transform: scale(1.02);
}

.room-type-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.room-type-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f294d;
  margin: 0;
  line-height: 1.35;
}

.room-type-specs {
  display: flex;
  gap: 8px 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #455873;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.spec-icon {
  color: #455873; /* 携程风格使用偏灰色的图标保持简洁 */
  font-size: 13px;
}

.room-type-features {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.feature {
  background: #f5f7fa;
  color: #516171;
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 11px;
  line-height: 1.3;
}

.room-detail-btn {
  background: none;
  border: none;
  color: #0086ff;
  padding: 0;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  margin-top: auto;
  align-self: flex-start;
}

.room-detail-btn:hover {
  text-decoration: underline;
}

.room-type-toggle {
  background: #f7f9fc;
  border: 1px solid #dce6f2;
  padding: 0 12px;
  border-radius: 2px;
  font-size: 13px;
  color: #0f294d;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 34px;
  flex-shrink: 0;
}

.room-type-toggle i {
  transition: transform 0.3s ease;
}

.room-type-group.expanded .room-type-toggle i {
  transform: rotate(180deg);
}

/* 套餐方案列表 */
.plans-container {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  padding: 0 20px;
  background: #fff;
  transition: max-height 0.32s ease, opacity 0.24s ease, transform 0.24s ease, padding-bottom 0.24s ease;
  will-change: max-height, opacity, transform;
}

.room-type-group.expanded .plans-container {
  max-height: 6000px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  padding-bottom: 12px;
}

.plans-list-border {
  border-top: 0;
}

.plan-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  margin-bottom: 12px;
}

.plan-card:last-child {
  border-bottom: none;
}

.plan-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f294d;
  line-height: 1.35;
}

.plan-meal-type {
  font-size: 12px;
  color: #ff7700;
  font-weight: 500;
}

.plan-meta-icon {
  width: 12px;
  font-size: 11px;
  color: currentColor;
}

.plan-note-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}

.plan-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.plan-feature {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(91, 110, 134, 0.08);
  color: #5b6e86;
  font-size: 11px;
  line-height: 1.3;
}

.plan-note-label, .plan-note-link {
  font-size: 12px;
  color: #8592a6;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.45;
}

.plan-note-label--refund-deadline {
  color: #ff7a00;
  font-weight: 600;
}

.plan-note-link {
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  color: #0086ff;
}

/* 预订与价格区域 */
.plan-booking {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
  padding-left: 22px;
  border-left: 1px solid #edf2f7;
}

.plan-price-info {
  text-align: right;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.plan-price-row {
  color: #F06703;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
}

.plan-price-promotion {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 2px;
}

.plan-price-original {
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-color: #F06703;
  text-decoration-thickness: 1.5px;
}

.plan-price-discount {
  padding: 3px 6px;
  border-radius: 4px;
  background: #FFF3EC;
  color: #F06703;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid #FFD1B3;
  box-shadow: none;
}

.plan-price-currency {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  margin-right: 2px;
}

.plan-price-value {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #F06703;
}

.plan-price-suffix {
  display: none;
  font-size: 12px;
  color: #5c697e;
  font-weight: 600;
  margin-left: 2px;
}

.plan-price-total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 3px;
  font-size: 13px;
  color: #667085;
  line-height: 1.3;
  margin-top: 2px;
}

.plan-price-total-label {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.plan-price-total-value {
  color: #1F2937;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.plan-price-note {
  display: inline-block;
  padding: 3px 6px;
  background: #f4f6f8;
  border-radius: 4px;
  font-size: 11px;
  color: #5c697e;
  line-height: 1.2;
}

.book-btn {
  background: #ffb400;
  color: #fff;
  border: none;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  min-width: 104px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

.book-btn:hover {
  background: #ffa000;
}

.stock-info {
  font-size: 11px;
  color: #ff4d4f;
}

.plan-note-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
  padding-top: 0;
}

.plan-note-link {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #5b6e86;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.plan-note-link span {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
}

.plan-note-link i {
  width: 11px;
  font-size: 11px;
  color: #2563eb;
}

.plan-note-link--refund i {
  color: #f0a13b;
}

.plan-note-link:hover {
  color: #0f294d;
  transform: translateY(-1px);
}

.plan-note-link:focus-visible {
  outline: 2px solid rgba(27, 161, 255, 0.25);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 套餐价格区域 */
.plan-price-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0px;
  min-width: 220px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid #edf2f7;
}

.stock-info {
  text-align: right;
  display: none;
}

.stock-limited {
  color: #ff1d1c;
  font-size: 14px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 3px;
}

.price-info {
  text-align: right;
}

.price-original-discount {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  justify-content: flex-end;
}

.price-original {
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: #F06703;
  text-decoration-thickness: 1.5px;
}

.price-discount {
  padding: 3px 6px;
  border-radius: 4px;
  background: #FFF3EC;
  color: #F06703;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid #FFD1B3;
  box-shadow: none;
}

.price-current {
  font-size: 26px;
  font-weight: 800;
  color: #F06703;
  line-height: 1;
  margin: 4px 0;
  letter-spacing: -0.5px;
}

.price-unit {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

/* 套餐操作按钮 */
.plan-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.book-btn {
  background: linear-gradient(135deg, #ffd24d 0%, #f3b81b 100%);
  color: #1f1f1f;
  border: none;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 104px;
  height: 45px;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(255, 193, 28, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

.book-btn:hover {
  background: linear-gradient(135deg, #ffcb3d 0%, #e1ab10 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(255, 193, 28, 0.26);
}

/* プラン詳細模态框 */
.plan-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-detail-modal.show {
  opacity: 1;
  visibility: visible;
}

.plan-detail-content {
  position: relative;
  width: 90vw;
  max-width: 600px;
  max-height: 80vh;
  background: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.plan-detail-modal.show .plan-detail-content {
  transform: scale(1);
  opacity: 1;
}

.close-plan-detail {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #0f294d;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  font-size: 16px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.close-plan-detail:hover {
  background: #2563eb;
  color: white;
  transform: scale(1.1);
}

.plan-detail-main {
  padding: 30px;
  overflow-y: auto;
  max-height: calc(80vh - 60px);
}

.plan-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.plan-detail-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f294d;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-detail-title i {
  color: #2563eb;
  font-size: 16px;
}

.plan-detail-title--refund i {
  color: #f0a13b;
}

.plan-detail-badge {
  background: #ffc11c;
  color: #222;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 15px;
  min-width: 70px;
  margin-left: 20px;
  text-align: center;
}


/* 取消政策样式 */
.cancellation-policy {
  background: rgba(240, 161, 59, 0.06);
  padding: 14px;
  margin: 0;
}

.cancellation-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #8a5a12;
}

.cancellation-header i {
  font-size: 18px;
  margin-right: 8px;
  color: #f0a13b;
}

.cancellation-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.cancellation-timeline {
  position: relative;
  padding-left: 24px;
}

.cancellation-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(240, 161, 59, 0.45);
}

.cancellation-item {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(240, 161, 59, 0.24);
}

.cancellation-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cancellation-marker {
  position: absolute;
  left: -24px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f0a13b;
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(240, 161, 59, 0.16);
}

.cancellation-marker.current {
  background: #ffb84d;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 161, 59, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(240, 161, 59, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(240, 161, 59, 0);
  }
}

.cancellation-date {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  font-size: 14px;
}

.cancellation-date-details {
  color: #666;
  font-size: 12px;
  margin-bottom: 8px;
}

.cancellation-charge {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(240, 161, 59, 0.6);
  border-radius: 4px;
  padding: 4px 8px;
  margin-top: 4px;
}

.cancellation-charge i {
  color: #b7791f;
  margin-right: 4px;
  font-size: 12px;
}

.cancellation-charge span {
  color: #b7791f;
  font-weight: 600;
  font-size: 12px;
}

.cancellation-free {
  background: #e8f5e9;
  border-color: #4caf50;
}

.cancellation-free i,
.cancellation-free span {
  color: #4caf50;
}

.cancellation-no-show {
  background: #fce4ec;
  border-color: #e91e63;
}

.cancellation-no-show i,
.cancellation-no-show span {
  color: #e91e63;
}

.cancellation-policy-summary {
  margin-top: 12px;
  padding: 12px;
  background: rgba(240, 161, 59, 0.1);
  border-left: 4px solid #f0a13b;
}

.cancellation-policy-summary h5 {
  margin: 0 0 6px 0;
  color: #8a5a12;
  font-size: 13px;
}

.cancellation-policy-summary p {
  margin: 0;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.cancellation-policy--non-refundable {
  background: rgba(255, 29, 28, 0.06);
}

.cancellation-policy--non-refundable .cancellation-header {
  color: #b42318;
}

.cancellation-policy--non-refundable .cancellation-header i {
  color: #ff1d1c;
}

.cancellation-non-refundable-notice {
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border-left: 4px solid #ff1d1c;
}

.cancellation-non-refundable-title {
  margin: 0 0 8px 0;
  color: #b42318;
  font-size: 14px;
  font-weight: 700;
}

.cancellation-non-refundable-description {
  margin: 0;
  color: #51566a;
  font-size: 13px;
  line-height: 1.6;
}

.cancellation-note {
  margin-top: 12px;
  padding: 10px;
  background: #fafafa;
  border-radius: 4px;
  font-size: 11px;
  color: #999;
  line-height: 1.3;
}

.cancellation-note i {
  margin-right: 4px;
  font-size: 10px;
}

.cancellation-disclaimer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 15px;
  background: rgba(240, 161, 59, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(240, 161, 59, 0.18);
}

.cancellation-disclaimer i {
  color: #f0a13b;
  font-size: 16px;
  margin-top: 2px;
}

.disclaimer-text {
  flex: 1;
}

.disclaimer-text p {
  margin: 0 0 5px 0;
  font-size: 12px;
  color: #856404;
  line-height: 1.4;
}

.disclaimer-text p:last-child {
  margin-bottom: 0;
}

/* プラン詳細模态框内容布局 - 简化版 */
.plan-detail-content-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-detail-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border-radius: 4px;
    overflow: hidden;
}

.plan-detail-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f294d;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-detail-section-title i {
  color: #2563eb;
  font-size: 14px;
}

.plan-detail-section--notice {
  border-left-color: #2563eb;
}

#planDetailRefundSection .plan-detail-section {
  border-left-color: #f0a13b;
}

#planDetailRefundSection .plan-detail-section-title i {
  color: #f0a13b;
}

/* 模态框内容区域高度控制 */
.plan-detail-main {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-detail-content-scroll {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

/* 取消政策样式 */
.plan-detail-cancellation {
  background: transparent;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

/* プラン備考样式 */

.plan-detail-notes {
  color: #334155;
  line-height: 1.75;
  font-size: 14px;
  display: grid;
  gap: 8px;
}

.plan-detail-notes p {
  margin-bottom: 0;
}

.plan-detail-notes p:last-child {
  margin-bottom: 0;
}

/* 响应式设计已调优 */

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .close-plan-detail {
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
  }

  .plan-detail-content-scroll {
    padding: 20px;
  }
}

.price-stock-row {
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .price-stock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
  }

  .stock-info {
    order: 2;
    margin: 0;
    flex-shrink: 0;
  }

  .room-types {
    padding: 18px;
  }

  .room-type-header {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }

  .room-type-main-info {
    align-items: flex-start;
    gap: 12px;
  }

  .room-type-image {
    width: 120px;
    height: 92px;
  }

  .room-type-toggle {
    align-self: flex-end;
    min-width: auto;
    margin-top: -8px;
  }

  .plan-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .plan-booking {
    min-width: auto;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #edf2f7;
    padding-top: 12px;
  }

  .plan-price-info {
    text-align: left;
    align-items: flex-start;
  }

  .plan-price-row {
    justify-content: flex-start;
  }

  .plan-price-total {
    justify-content: flex-start;
  }

  .plan-note-links {
    gap: 8px 12px;
  }

  .book-btn {
    min-width: 96px;
    height: 46px;
  }
}

@media screen and (max-width: 480px) {
  .room-type-main-info {
    flex-direction: column;
  }

  .room-type-image {
    width: 100%;
    max-width: none;
    height: 180px;
  }

  .room-type-specs {
    flex-direction: column;
    gap: 8px;
  }

  .room-type-features {
    gap: 6px;
  }

  .feature {
    font-size: 11px;
    padding: 3px 6px;
  }

  .plan-features {
    gap: 6px;
  }

  .plan-feature {
    font-size: 10px;
    padding: 2px 6px;
  }

  .plan-note-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .plan-booking {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .book-btn {
    width: 100%;
    justify-content: center;
  }

  .plan-note-link {
    font-size: 11px;
  }

  .plan-price-info {
    text-align: left;
    align-items: flex-start;
  }

  .plan-price-row {
    justify-content: flex-start;
  }

  .plan-price-total {
    justify-content: flex-start;
  }
}

/* 动画效果 */
@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    max-height: 1000px;
    transform: translateY(0);
  }
}


/* 滚动条样式 */
.plan-detail-main::-webkit-scrollbar {
  width: 6px;
}

.plan-detail-main::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.plan-detail-main::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.plan-detail-main::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 高亮效果 */
.room-type-group.highlighted {
  border-color: #ffc11c;
  box-shadow: 0 0 0 2px rgba(255, 193, 28, 0.2);
}

.plan-card.highlighted {
  background: #fffdf4;
  border-color: #ffc11c;
  box-shadow: 0 0 0 1px rgba(255, 193, 28, 0.22), 0 14px 28px rgba(255, 193, 28, 0.12);
}

/* 客室詳細模态框 */
.room-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 20, 31, 0.48);
  backdrop-filter: blur(2px);
  z-index: 10000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.room-detail-modal.show {
  opacity: 1;
  visibility: visible;
}

.room-detail-content {
  position: relative;
  width: min(560px, calc(100vw - 28px));
  height: 100vh;
  background: white;
  border-radius: 0;
  box-shadow: -24px 0 48px rgba(15, 41, 77, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.32s ease;
}

.room-detail-modal.show .room-detail-content {
  transform: translateX(0);
}

.close-room-detail {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f294d;
  border: 1px solid rgba(15, 41, 77, 0.12);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  font-size: 16px;
}

.close-room-detail:hover {
  box-shadow: 0 4px 8px rgba(15, 41, 77, 0.06);
}

.room-detail-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

/* 左侧图片区域 */
.room-images-section {
  padding: 24px 24px 18px;
  background: linear-gradient(180deg, rgba(242, 248, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-bottom: 1px solid #e7eef6;
}


.room-images-waterfall {
  display: none;
}

.room-image-item {
  break-inside: avoid;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
}

.room-image-item img {
  width: 100%;
  height: auto;
  display: block;
}

.room-detail-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.room-detail-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}

.room-detail-slider {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.room-detail-stage {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #edf3f8;
  aspect-ratio: 16 / 10;
  box-shadow: 0 18px 40px rgba(15, 41, 77, 0.1);
}

.room-detail-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.room-detail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 41, 77, 0.52);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.room-detail-nav:hover:not(:disabled) {
  background: rgba(15, 41, 77, 0.72);
  transform: translateY(-50%) scale(1.03);
}

.room-detail-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.room-detail-nav-prev {
  left: 14px;
}

.room-detail-nav-next {
  right: 14px;
}

.room-detail-image-count {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 41, 77, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  z-index: 2;
}

.room-detail-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  cursor: grab;
  scrollbar-width: thin;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
}

.room-detail-thumbs.is-dragging {
  cursor: grabbing;
}

.room-detail-thumb {
  flex: 0 0 78px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #eaf1f8;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.room-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.room-detail-thumb:hover {
  transform: translateY(-1px);
}

.room-detail-thumb.is-active {
  border-color: #2563eb;
  box-shadow: 0 10px 20px rgba(27, 111, 168, 0.18);
}

/* 右侧设施内容 */
.room-facilities-section {
  padding: 22px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.room-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f294d;
  line-height: 1.2;
  margin: 0;
}

.facilities-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.facility-category {
  background: #f8fbff;
  border: 1px solid #e4edf6;
  border-radius: 4px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 24px rgba(15, 41, 77, 0.04);
}

.facility-category:last-child {
  margin-bottom: 0;
}

.facility-category h4 {
  font-size: 15px;
  font-weight: 600;
  color: #0f294d;
  margin: 0 0 12px 0;
}

.facility-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.facility-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #314863;
  line-height: 1.55;
}

.facility-item i {
  color: #2563eb;
  width: 16px;
  margin-top: 3px;
}

.room-booking {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  margin-top: auto;
}

.booking-price {
  text-align: center;
  margin-bottom: 15px;
}

.booking-original {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: #F06703;
  text-decoration-thickness: 1.5px;
}

.booking-discount {
  padding: 3px 6px;
  border-radius: 4px;
  background: #FFF3EC;
  color: #F06703;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid #FFD1B3;
  box-shadow: none;
  display: inline-block;
  margin: 4px 0;
}

.booking-current {
  font-size: 28px;
  font-weight: 800;
  color: #F06703;
  line-height: 1;
  margin: 8px 0;
  letter-spacing: -0.5px;
}

.booking-unit {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 15px;
}

.booking-btn {
  background: #ffc11c;
  color: #222;
  border: none;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.booking-btn:hover {
  background: #d6a10f;
}

/* 响应式设计 */
@media screen and (max-width: 968px) {
  .room-card {
    grid-template-columns: 1fr;
  }

  .room-image {
    height: 250px;
  }

  .room-detail-content {
    width: min(520px, 100vw);
  }
}

@media screen and (max-width: 768px) {

  .close-room-detail,
  .close-plan-detail {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
  }

  .room-types {
    padding: 15px;
    margin-bottom: 0 !important;
  }
  .mini-hotel-search{
    padding: 0 !important;
  }
  .room-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .room-detail-content {
    width: 100vw;
  }

  .room-images-section {
    padding: 20px 18px 16px;
  }

  .room-detail-title {
    font-size: 22px;
  }

  .room-detail-stage {
    border-radius: 16px;
    aspect-ratio: 4 / 3;
  }

  .room-detail-thumb {
    flex-basis: 70px;
    height: 52px;
  }

  .room-facilities-section {
    padding: 18px 18px 26px;
  }
}

@media screen and (max-width: 480px) {

  .room-detail-nav {
    width: 38px;
    height: 38px;
  }

  .room-detail-image-count {
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .facility-category {
    padding: 14px;
  }
}



/* 图片瀑布流容器内的蒙层 */
.waterfall-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 1);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.overlay-content {
  text-align: center;
  color: #666;
}

.overlay-content i {
  font-size: 20px;
  margin-bottom: 8px;
  display: block;
}

.overlay-content span {
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 确保瀑布流容器有相对定位 */
.image-waterfall-container {
  position: relative;
  min-height: 400px;
}

/* 图片加载动画 */
.waterfall-item {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.3s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 预约相关样式 */
/* 保留这些样式 */
.booking-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.booking-loading-overlay .loading-content {
  text-align: center;
}

.booking-loading-overlay .loading-gif {
  width: 290px;
}

/* 错误模态框样式 */
.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9998;
}

.booking-error-modal {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-icon {
  font-size: 60px;
  text-align: center;
  margin-bottom: 20px;
  color: #dc3545;
}

.booking-error-modal h3 {
  text-align: center;
  margin-bottom: 15px;
  color: #333;
}

.error-message {
  text-align: center;
  margin-bottom: 25px;
  color: #666;
  line-height: 1.5;
}

.error-btn {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  margin-top: 10px;
}

.error-btn:hover {
  background: #c82333;
}

/* 移动端适配 */
@media (max-width: 576px) {
  .booking-error-modal {
    padding: 20px;
    width: 95%;
  }

  .error-icon {
    font-size: 50px;
  }
}

.room-limit-tip {
  font-size: 12px;
  color: red;
  margin: 10px 0;
}

/* 周辺情報 展開/閉じるボタン */
.surroundings-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px auto 0;
  padding: 8px 22px;
  background: #f0f7ff;
  border: 1px solid #2563eb;
  color: #2563eb;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.surroundings-toggle-btn:hover {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 2px 8px rgba(27, 161, 255, 0.25);
}

.surroundings-hidden {
  animation: surroundingsFadeIn 0.28s ease;
}

@keyframes surroundingsFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Plan card palette cleanup */
.plan-card .plan-meal-type {
  color: #2f6fed;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.08);
}

.plan-card .plan-note-label--refund-deadline {
  color: #5b6e86;
}

.plan-card .plan-note-label--refund-deadline.plan-note-label--free i{
  color: #2f855a;
}

.plan-card .plan-note-label--refund-deadline.plan-note-label--partial-refundable i {
  color: #d9822b;
}

.plan-card .plan-note-label--refund-deadline.plan-note-label--non-refundable i  {
  color: #d64545;
}

.plan-card .plan-note-link {
  color: #5b6e86;
}


.plan-card .plan-note-link--refund i {
  color: #8a98ad;
}

.plan-card .plan-note-link:hover {
  color: #2f6fed;
}

.plan-card .plan-note-link:focus-visible {
  outline-color: rgba(47, 111, 237, 0.24);
}

.plan-card .plan-price-row {
  color: #0f294d;
}

.plan-card .book-btn {
  background: #2563eb;
  color: #fff;
}

.plan-card .book-btn:hover {
  background: linear-gradient(135deg, #2f6fed 0%, #245bd0 100%);
}

/* 会员房型：强调“会员限定”，但不把普通价当作同一方案的删除价。 */
.plan-card--member {
  border-color: #f2c66d;
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 42%);
}

.plan-member-notice {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  padding: 4px 9px;
  border: 1px solid #f3d68e;
  border-radius: 999px;
  background: #fff4d6;
  color: #9a6200;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.plan-member-notice--locked {
  border-color: #f3c18b;
  background: #fff0e2;
  color: #c05b00;
}

.plan-member-notice-title,
.plan-member-notice-message {
  min-width: 0;
}

.plan-member-notice-separator {
  opacity: 0.55;
}

.plan-price-member-label {
  color: #c87500;
  font-size: 12px;
  font-weight: 700;
  margin-right: 2px;
}

.plan-card--member .plan-price-value {
  color: #d66b00;
}

.plan-card--member .book-btn {
  background: linear-gradient(135deg, #e6a400 0%, #d78300 100%);
}

.plan-card--member .book-btn:hover {
  background: linear-gradient(135deg, #d99400 0%, #c77500 100%);
}

.plan-card .book-btn--member-locked {
  background: #d78300;
}

.plan-card .book-btn--unavailable,
.plan-card .book-btn--unavailable:hover {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
}

.price-change-warning i {
  font-size: 18px;
}

.plan-note-label.plan-note-link--integrated i {
  color: inherit;
  width: 14px;
  font-size: 14px;
}

.plan-note-label.plan-note-link--integrated .plan-note-link-arrow {
  font-size: 10px;
  opacity: 0.6;
  margin-left: 2px;
}

/* Color the entire integrated button (icon, text, and arrow) uniformly */
.plan-card .plan-note-label--refund-deadline.plan-note-label--free.plan-note-link--integrated {
  color: #2f855a;
}
.plan-card .plan-note-label--refund-deadline.plan-note-label--partial-refundable.plan-note-link--integrated {
  color: #d9822b;
}
.plan-card .plan-note-label--refund-deadline.plan-note-label--non-refundable.plan-note-link--integrated {
  color: #d64545;
}

.plan-note-label.plan-note-link--integrated span {
  text-decoration: none !important;
  text-align: left;
}

.plan-note-label.plan-note-link--integrated .plan-note-link-arrow {
  color: inherit;
  opacity: 0.5;
}

/* 房型列表：搜索条件置顶，减少详情页首屏留白 */
.detail-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-sidebar {
  order: -1;
  width: 100%;
  padding-bottom: 0;
  align-self: auto;
}

.sticky-search-box,
.sticky-search-box.stuck {
  position: static;
  width: 100%;
  transform: none;
}

.mini-hotel-search {
  padding: 14px 16px 16px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(15, 41, 77, 0.04);
}

.mini-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mini-search-header-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 15px;
  line-height: 1.3;
}

.mini-search-content {
  max-height: none;
  overflow: visible;
  padding: 0;
}

.mini-search-form {
  display: grid;
  grid-template-columns: minmax(210px, 1.75fr) repeat(3, minmax(132px, 0.9fr)) minmax(130px, 0.8fr);
  align-items: end;
  gap: 10px 12px;
}

.mini-search-field {
  min-width: 0;
}

.mini-field-label {
  margin-bottom: 4px;
}

.mini-search-input {
  height: 38px;
}

.mini-search-button {
  width: 100%;
  height: 38px;
  margin: 0;
  padding: 0 12px;
  border-radius: 5px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
}

.mini-search-button:hover {
  background: #1d4ed8;
  box-shadow: 0 3px 9px rgba(37, 99, 235, 0.22);
}

/* search_list.css 也使用了 mini-* 通用类；详情页以专用类固定为横向条件栏 */
.detail-sidebar .detail-search-panel-content {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.detail-sidebar .detail-search-panel-form {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(210px, 1.75fr) repeat(3, minmax(132px, 0.9fr)) minmax(130px, 0.8fr);
  align-items: end;
  gap: 10px 12px;
  box-sizing: border-box;
}

.detail-sidebar .detail-search-panel-form > * {
  min-width: 0;
}

.detail-left {
  width: 100%;
  gap: 16px;
}

.room-types {
  margin-bottom: 16px;
}

.room-type-header {
  gap: 16px;
  padding: 14px 16px;
}

.room-type-main-info {
  gap: 14px;
}

.room-type-image {
  width: 190px;
  height: 126px;
}

.room-type-details {
  gap: 6px;
}

.room-type-name {
  font-size: 16px;
}

.room-stay-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  color: #43556d;
  font-size: 12px;
  line-height: 1.45;
}

.room-stay-time span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.room-stay-time i {
  color: #2563eb;
  font-size: 11px;
}

.room-stay-time strong {
  color: #0f294d;
  font-weight: 700;
}

.room-type-toggle {
  min-width: 92px;
  height: 32px;
  padding: 0 10px;
}

.plans-container {
  padding: 0 16px;
}

.plan-card {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: 16px;
  padding: 12px 0;
}

.plan-name {
  font-size: 15px;
}

.plan-booking {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-left: 16px;
}

.plan-price-info {
  gap: 2px;
}

.plan-price-value {
  font-size: 22px;
}

.plan-booking > div:last-child {
  flex-shrink: 0;
}

@media screen and (min-width: 769px) and (max-width: 1100px) {
  .detail-sidebar .detail-search-panel-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .detail-sidebar {
    position: static;
    order: -1;
    width: 100%;
  }

  .mini-hotel-search {
    padding: 14px;
    border-radius: 0;
    border-right: 0;
    border-left: 0;
  }

  .mini-search-header-toggle {
    display: none;
  }

  .detail-sidebar .detail-search-panel-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mini-search-field:first-child,
  .mini-search-button {
    grid-column: 1 / -1;
  }

  .room-type-image {
    width: 132px;
    height: 96px;
  }

  .room-stay-time {
    gap: 3px 9px;
    font-size: 11px;
  }

  .plans-container {
    padding: 0 14px;
  }

  .plan-booking {
    flex-direction: row;
    align-items: center;
  }
}

@media screen and (max-width: 480px) {
  .detail-sidebar .detail-search-panel-form {
    grid-template-columns: 1fr;
  }

  .mini-search-field:first-child,
  .mini-search-button {
    grid-column: auto;
  }

  .room-type-header {
    padding: 14px;
  }

  .room-type-image {
    width: 100%;
    height: 170px;
  }

  .room-stay-time {
    width: 100%;
  }

  .plan-booking {
    align-items: flex-start;
  }
}

/* ==========================================
   Leaflet 自定义地图标记 (脉冲红点与气泡图钉)
   ========================================== */
.mini-map-pulse-marker { position: relative; display: flex; align-items: center; justify-content: center; }
.pulse-marker-core { width: 10px; height: 10px; background-color: #ef4444; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 4px rgba(0,0,0,0.3); z-index: 2; }
.pulse-marker-ring { position: absolute; width: 24px; height: 24px; border-radius: 50%; background-color: rgba(239, 68, 68, 0.4); animation: pulse-ring-animation 1.8s infinite cubic-bezier(0.215, 0.61, 0.355, 1); z-index: 1; }
@keyframes pulse-ring-animation { 0% { transform: scale(0.5); opacity: 1; } 80%, 100% { transform: scale(1.8); opacity: 0; } }

.detail-map-hotel-marker { position: relative; display: flex; align-items: center; justify-content: center; }
.hotel-marker-pin { width: 36px; height: 36px; border-radius: 50% 50% 50% 0; background-color: #ef4444; position: absolute; transform: rotate(-45deg); left: 50%; top: 50%; margin: -36px 0 0 -18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35); border: 2px solid white; z-index: 999; }
.hotel-marker-pin i { transform: rotate(45deg); color: white; font-size: 15px; }

.detail-map-custom-marker { position: relative; display: flex; align-items: center; justify-content: center; }
.map-marker-pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; position: absolute; transform: rotate(-45deg); left: 50%; top: 50%; margin: -30px 0 0 -15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16); border: 2px solid white; }
.map-marker-pin i { transform: rotate(45deg); color: white; font-size: 12px; }
.transport-pin { background-color: #2563eb; box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3); }
.poi-pin { background-color: #10b981; box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3); }

/* ==========================================
   侧边周边抽屉
   ========================================== */
.surroundings-drawer { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(12, 20, 31, 0.48); backdrop-filter: blur(2px); z-index: 10000; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; display: flex; align-items: stretch; justify-content: flex-end; }
.surroundings-drawer.show { opacity: 1; visibility: visible; }
.surroundings-drawer .drawer-body { position: relative; width: min(600px, calc(100vw - 28px)); height: 100vh; background: white; border-radius: 0; box-shadow: -24px 0 48px rgba(15, 41, 77, 0.18); display: flex; flex-direction: column; overflow-y: auto; transform: translateX(100%); transition: transform 0.32s ease; padding: 80px 24px 24px 24px; }
.surroundings-drawer.show .drawer-body { transform: translateX(0); }
.surroundings-drawer .drawer-header { position: fixed; top: 0; right: 0; width: min(600px, calc(100vw - 28px)); height: 60px; background: white; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid #f1f5f9; transform: translateX(100%); transition: transform 0.32s ease; }
.surroundings-drawer.show .drawer-header { transform: translateX(0); }
.surroundings-drawer .drawer-title { font-size: 18px; font-weight: 700; color: #0f294d; margin: 0; }
.surroundings-drawer .drawer-title-wrap { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.surroundings-drawer .drawer-subtitle { display: block; overflow: hidden; max-width: 100%; color: #94a3b8; font-size: 11px; font-weight: 400; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.surroundings-drawer .drawer-subtitle[hidden] { display: none !important; }
.surroundings-drawer .drawer-title i{ color: #3b82f6; font-size: 14px; margin-right: 6px;  }
.close-drawer-btn { background: transparent; color: #0f294d; border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; transition: background 0.2s ease; }
.close-drawer-btn:hover { background: #f1f5f9; }
.surroundings-drawer .full-list .surrounding-summary-item { padding: 16px 0; border-bottom: 1px solid #f1f5f9; }
.surroundings-drawer .full-list .item-name span { white-space: normal; word-break: break-all; }

/* Modal List Items */
.modal-list-item .item-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.modal-list-item .item-title { font-size: 13.5px; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.modal-list-item .item-subtitle { font-size: 11px; color: #94a3b8; }
.modal-list-item .item-right { text-align: right; flex-shrink: 0; margin-left: 12px; }
.modal-list-item .item-dist-text { font-size: 13px; font-weight: 700; color: #1e293b; }
.modal-list-item .item-walk-text { font-size: 11px; color: #64748b; margin-top: 1px; }

@media screen and (max-width: 968px) {
  .surroundings-grid-layout { grid-template-columns: 1fr 1fr; }
  .surroundings-map-col { grid-column: 1 / -1; }
}

@media screen and (max-width: 768px) {
  .surroundings-grid-layout { grid-template-columns: 1fr; gap: 20px; }
  .access-modal-content { width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; }
  .access-modal-body { flex-direction: column; }
  .access-map-section { flex: none; height: 40vh; }
  .access-info-section { flex: 1; border-left: none; border-top: 1px solid #e2e8f0; padding: 16px; }
  .close-access-modal { top: 12px; right: 12px; width: 32px; height: 32px; background: white; }
}

/* ==========================================
   CURRENT FIXES
   ========================================== */
.surroundings-category-col, .surroundings-summary-list, .surrounding-summary-item { min-width: 0; }
.surrounding-summary-item .item-name i { flex-shrink: 0; }
.surrounding-summary-item .item-distance { flex-shrink: 0; margin-left: 8px; }

@media screen and (max-width: 768px) {
  .surroundings-drawer .drawer-body,
  .surroundings-drawer .drawer-header { width: 100vw !important; }
  .surroundings-drawer .drawer-body { padding-bottom: 64px; }
}

/* 评论详情复用周边信息的右侧抽屉 */
.surroundings-drawer.reviews-drawer .drawer-body,
.surroundings-drawer.reviews-drawer .drawer-header {
  width: min(760px, calc(100vw - 28px));
}

.surroundings-drawer.reviews-drawer .drawer-body {
  padding: 80px 28px 28px;
}

.hotel-review-drawer-content {
  width: 100%;
}

.hotel-review-drawer-meta {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  color: #31527d;
  background: #f7faff;
  border: 1px solid #dbe7f5;
  border-radius: 9px;
  font-size: 13px;
}

.hotel-review-drawer-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hotel-review-drawer-count i {
  color: #2c61fe;
}

.hotel-review-drawer-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 16px 0;
}

.hotel-review-sort-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4b6482;
  font-size: 13px;
  font-weight: 600;
}

.hotel-review-sort-select {
  min-width: 168px;
  height: 38px;
  padding: 0 32px 0 11px;
  color: #17365f;
  background: #ffffff;
  border: 1px solid #cddbeb;
  border-radius: 7px;
  font-size: 13px;
  cursor: pointer;
}

.hotel-review-sort-select:focus {
  outline: 2px solid rgba(44, 97, 254, 0.2);
  outline-offset: 1px;
  border-color: #2c61fe;
}

.hotel-review-list--drawer {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 0;
}

.hotel-review-list--drawer .hotel-review-card {
  padding: 17px 18px;
}

@media screen and (max-width: 768px) {
  .surroundings-drawer.reviews-drawer .drawer-body {
    padding: 74px 16px 64px;
  }

  .hotel-review-drawer-toolbar {
    justify-content: stretch;
  }

  .hotel-review-sort-control {
    width: 100%;
    justify-content: space-between;
  }

  .hotel-review-sort-select {
    flex: 1;
    min-width: 0;
    max-width: 220px;
  }
}

/* ==========================================
   周边信息区块 - surroundings-grid-layout
   ========================================== */
.hotel-surroundings {
  background: white;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.hotel-surroundings .section-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f294d;
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.surroundings-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* 列标题 */
.surroundings-category-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.surroundings-category-col .col-title {
  display: flex;
  align-items: center;
  gap: 8px;
font-size: 18px;
    font-weight: 600;
    color: #0f294d;
  margin-bottom: 12px;
}

.surroundings-category-col .col-title i {
  color: #3b82f6;
  font-size: 14px;
}

/* 列表 */
.surroundings-summary-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* 每行条目 */
.surrounding-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #e9edf2;
  transition: background 0.15s ease;
  min-width: 0;
}

.surrounding-summary-item:last-child {
  border-bottom: none;
}

.surrounding-summary-item .item-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #1e293b;
  font-weight: 400;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.surrounding-summary-item .item-name i {
  color: #2563eb;
  font-size: 14px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.surrounding-summary-item .item-name span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.surrounding-summary-item .item-distance {
  font-size: 13px;
  color: #2563eb;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 12px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-weight: 400;
}

/* 查看更多按钮 - 全宽 */
.surroundings-view-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid #2563eb;
  color: #2563eb;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.surroundings-view-more-btn:hover {
  background: #eff6ff;
  border-color: #1d4ed8;
  color: #1d4ed8;
}

/* 响应式 */
@media screen and (max-width: 968px) {
  .surroundings-grid-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media screen and (max-width: 768px) {
  .hotel-surroundings {
    padding: 20px;
  }
  .surroundings-grid-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =====================================================
   详情首屏：顶部搜索条件 + 全宽房型列表
   此区块必须位于文件末尾，避免被旧版列表样式覆盖。
   ===================================================== */
.hotel-detail-content .detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "search"
    "rooms";
  gap: 16px;
  align-items: start;
}

.hotel-detail-content .detail-sidebar {
  grid-area: search;
  width: 100%;
  min-width: 0;
  padding: 0;
  position: static;
  align-self: auto;
}

.hotel-detail-content .sticky-search-box,
.hotel-detail-content .sticky-search-box.stuck {
  position: static;
  width: 100%;
  transform: none;
}

.hotel-detail-content .detail-left {
  grid-area: rooms;
  width: 100%;
  min-width: 0;
  gap: 0;
  overflow: visible;
}

.hotel-detail-content .detail-search-panel {
  padding: 25px;
  background: #fff;
  border: 1px solid #d9e3ef;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(15, 41, 77, 0.04);
}

.hotel-detail-content .detail-search-panel .mini-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 9px;
}

.hotel-detail-content .detail-search-panel .mini-search-header-title {
  margin: 0;
  padding: 0;
  border: 0;
  color: #173b67;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.hotel-detail-content .detail-search-panel .mini-search-header-toggle {
  display: none;
}

.hotel-detail-content .detail-search-panel-content {
  display: block;
  width: 100%;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.hotel-detail-content .detail-search-panel-form {
  display: grid;
  grid-template-columns: minmax(210px, 1.7fr) repeat(3, minmax(140px, 1fr)) minmax(132px, 0.82fr);
  align-items: end;
  gap: 10px 12px;
  width: 100%;
  min-width: 0;
}

.hotel-detail-content .detail-search-panel-form > * {
  min-width: 0;
}

.hotel-detail-content .detail-search-panel .mini-search-field {
  margin: 0;
}

.hotel-detail-content .detail-search-panel .mini-field-label {
  margin-bottom: 4px;
  color: #52647a;
  font-size: 12px;
}

.hotel-detail-content .detail-search-panel .mini-search-input {
  height: 38px;
  font-size: 13px;
}

.hotel-detail-content .detail-search-panel .mini-search-button {
  width: 100%;
  height: 38px;
  margin: 0;
  padding: 0 12px;
  border-radius: 5px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
}

.hotel-detail-content .detail-search-panel .mini-search-button:hover {
  background: #1d4ed8;
  box-shadow: 0 3px 9px rgba(37, 99, 235, 0.22);
}

.hotel-detail-content .room-types {
  margin: 0;
}

.hotel-detail-content .room-types .section-title {
  margin-bottom: 12px;
}

.hotel-detail-content .room-types-container {
  gap: 12px;
}

.hotel-detail-content .room-type-group {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  box-shadow: none;
}

.hotel-detail-content .room-type-header {
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f7;
}

.hotel-detail-content .room-type-main-info {
  gap: 14px;
}

.hotel-detail-content .room-type-image {
  width: 190px;
  height: 126px;
}

.hotel-detail-content .room-type-details {
  gap: 6px;
}

.hotel-detail-content .room-type-name {
  font-size: 16px;
}

.hotel-detail-content .room-stay-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  color: #43556d;
  font-size: 12px;
  line-height: 1.45;
}

.hotel-detail-content .room-stay-time span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hotel-detail-content .room-stay-time i {
  color: #2563eb;
  font-size: 11px;
}

.hotel-detail-content .room-stay-time strong {
  color: #0f294d;
  font-weight: 700;
}

.hotel-detail-content .room-type-toggle {
  min-width: 88px;
  height: 32px;
  padding: 0 10px;
}

.hotel-detail-content .plans-container,
.hotel-detail-content .room-type-group.expanded .plans-container {
  display: block;
  max-height: none;
  padding: 0 16px 6px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  transform: none;
}

.hotel-detail-content .plan-card {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 16px;
  margin: 0;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  border-radius: 0;
  box-shadow: none;
}

.hotel-detail-content .plan-card:last-child {
  border-bottom: 0;
}

.hotel-detail-content .plan-name {
  font-size: 15px;
}

.hotel-detail-content .plan-booking {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid #edf2f7;
}

.hotel-detail-content .plan-price-info {
  gap: 5px;
}

.hotel-detail-content .plan-price-value {
  font-size: 22px;
}

.hotel-detail-content .plan-booking > div:last-child {
  flex-shrink: 0;
}

@media screen and (min-width: 769px) and (max-width: 1100px) {
  .hotel-detail-content .detail-search-panel-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .hotel-detail-content .detail-sidebar {
    position: static;
    z-index: auto;
    box-shadow: none;
  }

  .hotel-detail-content .detail-left {
    padding-bottom: 0;
  }

  .hotel-detail-content .detail-search-panel {
    padding: 14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .hotel-detail-content .detail-search-panel-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hotel-detail-content .detail-search-panel-form .mini-search-field:first-child,
  .hotel-detail-content .detail-search-panel-form .mini-search-button {
    grid-column: 1 / -1;
  }

  .hotel-detail-content .room-type-image {
    width: 132px;
    height: 96px;
  }

  .hotel-detail-content .plans-container,
  .hotel-detail-content .room-type-group.expanded .plans-container {
    padding: 0 14px 6px;
  }

  .hotel-detail-content .plan-booking {
    flex-direction: row;
    align-items: center;
  }
}

@media screen and (max-width: 480px) {
  .hotel-detail-content .detail-search-panel-form {
    grid-template-columns: 1fr;
  }

  .hotel-detail-content .detail-search-panel-form .mini-search-field:first-child,
  .hotel-detail-content .detail-search-panel-form .mini-search-button {
    grid-column: auto;
  }

  .hotel-detail-content .room-type-header {
    padding: 14px;
  }

  .hotel-detail-content .room-type-image {
    width: 100%;
    height: 170px;
  }

  .hotel-detail-content .room-stay-time {
    width: 100%;
  }

  .hotel-detail-content .plan-booking {
    align-items: flex-start;
  }
}

/* =====================================================
   房型卡片：按详情参考图重排，只展示接口已有信息
   ===================================================== */
.hotel-detail-content .room-types {
  padding: 24px 28px 28px;
  background: #fff;
  border: 1px solid #e3eaf3;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(15, 41, 77, 0.05);
}

.hotel-detail-content .room-types .section-title {
  align-items: center;
  margin-bottom: 18px;
}

.hotel-detail-content .room-types .section-title-h2 {
  color: #102a5c;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hotel-detail-content .room-types .search-info-card {
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  background: #f6f8fb;
}

.hotel-detail-content .room-type-group {
  border-color: #d8e2ef;
  border-radius: 10px;
}

.hotel-detail-content .room-type-card {
  display: grid;
  grid-template-columns: minmax(276px, 34%) minmax(0, 1fr);
  min-height: 0;
  background: #fff;
}

.hotel-detail-content .room-type-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: #fbfcfe;
  border-right: 1px solid #e7edf5;
}

.hotel-detail-content .room-type-main-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: #edf2f7;
}

.hotel-detail-content .room-type-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hotel-detail-content .room-type-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 0;
  background: transparent;
}

.hotel-detail-content .room-type-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  background: #edf2f7;
}

.hotel-detail-content .room-type-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hotel-detail-content .room-type-left .room-type-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 10px;
}

.hotel-detail-content .room-type-left .feature {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.hotel-detail-content .room-type-left .feature i {
  color: #2C61FE;
  font-size: 11px;
}

.hotel-detail-content .room-type-left .feature:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1f2937;
}

.hotel-detail-content .room-type-left .room-stay-time {
  gap: 7px 14px;
  margin-top: 8px;
  color: #475569;
  font-size: 12px;
}

.hotel-detail-content .room-type-left .room-stay-time i {
  color: #2C61FE;
}

.hotel-detail-content .room-type-left-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.hotel-detail-content .room-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #f0f5ff;
  border: 1px solid #d6e4ff;
  border-radius: 6px;
  color: #2C61FE;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.hotel-detail-content .room-detail-link:hover {
  background: #2C61FE;
  color: #ffffff;
  border-color: #2C61FE;
}

.hotel-detail-content .room-type-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
}

.hotel-detail-content .room-type-right-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 16px;
  border-bottom: 0;
}

.hotel-detail-content .room-type-title-group {
  min-width: 0;
}

.hotel-detail-content .room-type-right-header .room-type-name {
  margin: 0 0 10px;
  color: #102a5c;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.hotel-detail-content .room-type-specs-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  color: #425875;
  font-size: 14px;
}

.hotel-detail-content .room-type-specs-inline .spec-item {
  gap: 6px;
}

.hotel-detail-content .room-type-specs-inline .spec-icon {
  color: #4d6485;
  font-size: 14px;
}

.hotel-detail-content .room-plan-count {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #cbd9ed;
  border-radius: 6px;
  background: #f8fbff;
  color: #183a6b;
  font-size: 14px;
  font-weight: 700;
}

.hotel-detail-content .room-type-right .plans-container,
.hotel-detail-content .room-type-group.expanded .room-type-right .plans-container {
  display: block;
  flex: 1;
  max-height: none;
  padding: 0;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  transform: none;
}

.hotel-detail-content .plans-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hotel-detail-content .plan-card {
  grid-template-columns: minmax(0, 1fr) minmax(282px, 330px);
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 17px 18px;
  background: #fff;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  box-shadow: none;
}

.hotel-detail-content .plan-info {
  gap: 8px;
}

.hotel-detail-content .plan-name {
  color: #173b70;
  font-size: 18px;
  font-weight: 800;
}

.hotel-detail-content .plan-meal-type {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 5px;
  background: #eef4ff;
  color: #225fe4;
  font-size: 13px;
}

.hotel-detail-content .plan-features {
  gap: 6px;
}

.hotel-detail-content .plan-feature {
  padding: 4px 8px;
  border: 1px solid #e0e8f3;
  border-radius: 5px;
  background: #f6f8fc;
  color: #52647a;
  font-size: 12px;
}

.hotel-detail-content .plan-note-links {
  margin-top: 2px;
}

.hotel-detail-content .plan-booking {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid #e3eaf3;
}

.hotel-detail-content .plan-price-info {
  align-items: flex-end;
  text-align: right;
}

.hotel-detail-content .plan-price-value {
  color: #f05a16;
  font-size: 28px;
}

.hotel-detail-content .plan-price-currency {
  color: #52647a;
}

.hotel-detail-content .plan-price-note {
  background: transparent;
  color: #667992;
}

.hotel-detail-content .book-btn {
  min-width: 126px;
  height: 50px;
  border-radius: 6px;
  background: #1760ea;
  font-size: 16px;
}

.hotel-detail-content .book-btn:hover {
  background: #104fc9;
}

.hotel-detail-content .stock-info {
  color: #108247;
  font-size: 12px;
  font-weight: 700;
}

@media screen and (max-width: 1024px) {
  .hotel-detail-content .room-type-card {
    grid-template-columns: minmax(250px, 32%) minmax(0, 1fr);
  }

  .hotel-detail-content .room-type-left,
  .hotel-detail-content .room-type-right {
    padding: 16px;
  }

  .hotel-detail-content .plan-card {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 290px);
  }
}

@media screen and (max-width: 768px) {
  .hotel-detail-content .room-types {
    padding: 18px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .hotel-detail-content .room-types .section-title-h2 {
    font-size: 23px;
  }

  .hotel-detail-content .room-type-card {
    grid-template-columns: 1fr;
  }

  .hotel-detail-content .room-type-left {
    border-right: 0;
    border-bottom: 1px solid #e7edf5;
  }

  .hotel-detail-content .room-type-main-image {
    aspect-ratio: 16 / 9;
  }

  .hotel-detail-content .room-type-right-header .room-type-name {
    font-size: 21px;
  }

  .hotel-detail-content .plan-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hotel-detail-content .plan-booking {
    justify-content: space-between;
    padding: 14px 0 0;
    border-top: 1px solid #e3eaf3;
    border-left: 0;
  }
}

@media screen and (max-width: 480px) {
  .hotel-detail-content .room-types {
    padding: 15px;
  }

  .hotel-detail-content .room-type-left,
  .hotel-detail-content .room-type-right {
    padding: 14px;
  }

  .hotel-detail-content .room-type-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hotel-detail-content .room-type-right-header {
    flex-direction: column;
  }

  .hotel-detail-content .plan-booking {
    align-items: flex-start;
    flex-direction: column;
  }

  .hotel-detail-content .plan-price-info {
    align-items: flex-start;
    text-align: left;
  }

  .hotel-detail-content .plan-price-row,
  .hotel-detail-content .plan-price-total {
    justify-content: flex-start;
  }

  .hotel-detail-content .book-btn {
    width: 100%;
  }
}

/* 房型卡片比例与价格区微调：避免窄价栏、缩略图留白和单计划空白 */
.hotel-detail-content .room-type-card {
  gap: 0;
  grid-template-columns: minmax(360px, 30%) minmax(0, 1fr);
}

.hotel-detail-content .room-type-left {
  gap: 10px;
  padding: 16px;
}

.hotel-detail-content .room-type-main-image {
  aspect-ratio: 16 / 9;
}

.hotel-detail-content .room-type-thumbs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.hotel-detail-content .room-type-left .room-type-features {
  gap: 5px;
}

.hotel-detail-content .room-type-left .feature {
  padding: 4px 7px;
  font-size: 11px;
}

.hotel-detail-content .room-type-left .room-stay-time {
  gap: 5px 11px;
  font-size: 12px;
}

.hotel-detail-content .room-type-right {
  padding: 19px 20px;
}

.hotel-detail-content .room-type-right-header {
  padding-bottom: 13px;
}

.hotel-detail-content .room-type-right-header .room-type-name {
  margin-bottom: 7px;
  font-size: 22px;
}

.hotel-detail-content .room-type-specs-inline {
  gap: 5px 14px;
  font-size: 13px;
}

.hotel-detail-content .plans-list-wrapper {
  flex: 1;
}

.hotel-detail-content .plans-list-wrapper:has(.plan-card:only-child) {
  display: grid;
  grid-template-rows: minmax(148px, 1fr);
}

.hotel-detail-content .plans-list-wrapper:has(.plan-card:only-child) .plan-card {
  height: 100%;
  align-content: center;
}

.hotel-detail-content .plan-card {
  grid-template-columns: minmax(0, 1fr) 346px;
  gap: 16px;
  padding: 15px 16px;
}

.hotel-detail-content .plan-name {
  font-size: 16px;
}

.hotel-detail-content .plan-booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  align-items: center;
  gap: 14px;
  padding-left: 16px;
}

.hotel-detail-content .plan-price-info {
  min-width: 0;
}

.hotel-detail-content .plan-price-row,
.hotel-detail-content .plan-price-total {
  white-space: nowrap;
}

.hotel-detail-content .plan-price-note {
  max-width: 100%;
  padding: 0;
  font-size: 11px;
  line-height: 1.35;
}

.hotel-detail-content .book-btn {
  min-width: 116px;
  height: 46px;
  padding: 0 12px;
}

@media screen and (max-width: 1100px) {
  .hotel-detail-content .room-type-card {
    grid-template-columns: minmax(248px, 29%) minmax(0, 1fr);
  }

  .hotel-detail-content .plan-card {
    grid-template-columns: minmax(0, 1fr) 318px;
  }

  .hotel-detail-content .plan-booking {
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 10px;
  }

  .hotel-detail-content .book-btn {
    min-width: 108px;
  }
}

@media screen and (max-width: 860px) {
  .hotel-detail-content .room-type-card {
    grid-template-columns: 1fr;
  }

  .hotel-detail-content .room-type-left {
    border-right: 0;
    border-bottom: 1px solid #e7edf5;
    padding: 16px;
  }

  .hotel-detail-content .room-type-right {
    padding: 0 16px;
  }

  .hotel-detail-content .plans-list-wrapper {
    gap: 0;
  }

  /* 移动端取消双层卡片嵌套，改为高质感无边框列表行 */
  .hotel-detail-content .plan-card,
  .hotel-detail-content .plan-card:last-child {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 14px 0;
    gap: 0;
    border: none !important;
    border-bottom: 1px solid #edf2f7 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .hotel-detail-content .plan-card:last-child {
    border-bottom: none !important;
  }

  .hotel-detail-content .plan-name {
    font-size: 15px;
    font-weight: 700;
  }

  .hotel-detail-content .plan-booking {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    grid-template-columns: none !important;
    width: 100%;
    margin-top: 10px;
    padding: 8px 0 0 0;
    border-top: none !important;
    border-left: 0 !important;
    min-height: auto !important;
    box-sizing: border-box;
  }

  .hotel-detail-content .plan-price-info {
    flex: 1;
    min-width: 0;
    padding-right: 8px;
  }

  .hotel-detail-content .plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 3px;
    flex-wrap: wrap;
  }

  .hotel-detail-content .plan-price-value {
    font-size: 20px !important;
    font-weight: 800;
  }

  .hotel-detail-content .plan-price-currency {
    font-size: 12px !important;
  }

  .hotel-detail-content .plan-price-total {
    white-space: nowrap;
    font-size: 11px;
  }

  .hotel-detail-content .plan-booking > div:last-child {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .hotel-detail-content .book-btn {
    min-width: 84px !important;
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
  }
}

/* =====================================================
   房型终版收口：卡片间距、完整边框与语义图标
   ===================================================== */
.hotel-detail-content .room-types-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hotel-detail-content .room-type-group {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cfdbea;
  border-radius: 10px;
  background: #fff;
}

.hotel-detail-content .room-type-group:hover {
  border-color: #b9cbe2;
}

.hotel-detail-content .room-type-card {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.hotel-detail-content .room-type-left {
  border-right: 1px solid #dce5f0;
}

.hotel-detail-content .room-type-left .room-type-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 10px;
}

.hotel-detail-content .room-type-left .feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hotel-detail-content .room-type-left .feature i {
  color: #2C61FE;
  font-size: 12px;
  flex-shrink: 0;
}

.hotel-detail-content .room-type-left .feature span {
  white-space: nowrap;
  overflow-wrap: normal;
}

.hotel-detail-content .room-type-left .room-stay-time {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.hotel-detail-content .room-type-left .room-stay-time span {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 32px;
  padding: 6px 8px;
  box-sizing: border-box;
  border: 1px solid #dce6f1;
  border-radius: 6px;
  background: #fff;
  white-space: nowrap;
}

.hotel-detail-content .room-type-left-footer {
  margin-top: 2px;
  padding-top: 11px;
  border-top: 1px solid #e4ebf3;
}

.hotel-detail-content .room-plan-count {
  gap: 8px;
}

.hotel-detail-content .room-plan-count i {
  font-size: 11px;
}

.hotel-detail-content .plans-list-wrapper {
  gap: 14px;
}

.hotel-detail-content .plan-card,
.hotel-detail-content .plan-card:last-child {
  width: 100%;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.hotel-detail-content .plan-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.hotel-detail-content .plan-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hotel-detail-content .plan-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 6px;
}

.hotel-detail-content .plan-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  font-size: 14px;
  background: transparent;
  border-radius: 0;
  width: auto;
  height: auto;
  box-shadow: none;
  flex: 0 0 auto;
}

.hotel-detail-content .plan-name {
  min-width: 0;
  margin: 0;
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.hotel-detail-content .plan-features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-left: 0;
  margin-top: 4px;
}

.hotel-detail-content .plan-feature {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.hotel-detail-content .plan-feature i {
  color: #94a3b8;
  font-size: 11px;
}

.hotel-detail-content .plan-meal-type {
  margin-left: 0;
  margin-top: 4px;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
}

.hotel-detail-content .plan-note-links {
  margin-left: 0;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hotel-detail-content .plan-note-label--refund-deadline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.hotel-detail-content .plan-note-label--refund-deadline.plan-note-label--free {
  color: #059669;
}

.hotel-detail-content .plan-note-label--refund-deadline.plan-note-label--free i {
  color: #059669;
}

.hotel-detail-content .plan-note-label--refund-deadline.plan-note-label--partial-refundable {
  color: #d97706;
}

.hotel-detail-content .plan-note-label--refund-deadline.plan-note-label--partial-refundable i {
  color: #d97706;
}

.hotel-detail-content .plan-note-label--refund-deadline.plan-note-label--non-refundable {
  color: #dc2626;
}

.hotel-detail-content .plan-note-label--refund-deadline.plan-note-label--non-refundable i {
  color: #dc2626;
}

.hotel-detail-content .plan-note-label.plan-note-link--integrated {
  cursor: pointer;
}

.hotel-detail-content .plan-note-label.plan-note-link--integrated:hover span {
  text-decoration: underline;
}

.hotel-detail-content .plan-note-label.plan-note-link--integrated .plan-note-link-arrow {
  font-size: 11px;
  margin-left: 3px;
  transition: transform 0.2s ease;
}

.hotel-detail-content .plan-note-label.plan-note-link--integrated:hover .plan-note-link-arrow {
  transform: translateX(2px);
}

.hotel-detail-content .plan-booking {
  align-self: stretch;
  min-height: 104px;
  padding-top: 4px;
  padding-bottom: 4px;
  border-left: 1px solid #f1f5f9;
}

.hotel-detail-content .stock-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  color: #059669;
  font-weight: 600;
}

.hotel-detail-content .stock-info i {
  color: #10b981;
}

@media screen and (max-width: 860px) {
  .hotel-detail-content .room-types-container {
    gap: 16px;
  }

  .hotel-detail-content .room-type-left {
    border-right: 0;
    border-bottom: 1px solid #dce5f0;
  }

  .hotel-detail-content .plan-booking {
    min-height: 0;
  }
}

@media screen and (max-width: 520px) {
  .hotel-detail-content .room-type-left .room-type-features,
  .hotel-detail-content .room-type-left .room-stay-time {
    grid-template-columns: 1fr;
  }

  .hotel-detail-content .plan-features,
  .hotel-detail-content .plan-meal-type,
  .hotel-detail-content .plan-note-links {
    margin-left: 0;
  }
}

/* 入住/退房时间作为一个整体组合，超长时整体换行 */
.hotel-detail-content .room-type-specs-inline .room-stay-time-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: 14px;
  border-left: 1px solid #d9e2ee;
}

.hotel-detail-content .room-type-specs-inline .room-stay-time-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #425875;
  white-space: nowrap;
}

.hotel-detail-content .room-type-specs-inline .room-stay-time-inline .spec-icon {
  color: #2C61FE;
}

.hotel-detail-content .room-type-specs-inline .room-stay-time-inline strong {
  color: #1f2937;
  font-weight: 700;
}

@media screen and (max-width: 640px) {
  .hotel-detail-content .room-type-specs-inline .room-stay-time-group {
    padding-left: 0;
    border-left: 0;
    flex-wrap: wrap;
    white-space: normal;
    gap: 4px 10px;
    width: 100%;
  }

  .hotel-detail-content .room-type-specs-inline .room-stay-time-inline {
    white-space: nowrap;
  }
}

/* 方案数量固定在标题右上角，参数行使用完整宽度 */
.hotel-detail-content .room-type-right-header {
  position: relative;
  display: block;
}

.hotel-detail-content .room-type-right-header .room-type-name {
  padding-right: 116px;
}

.hotel-detail-content .room-type-right-header .room-plan-count {
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 767px) {
  .hotel-detail-content .room-type-right-header {
    display: flex;
    flex-direction: column;
  }

  .hotel-detail-content .room-type-right-header .room-type-name {
    padding-right: 0;
    margin-top: 20px;
  }

  .hotel-detail-content .room-type-right-header .room-plan-count {
    position: static;
  }
}

/* 库存回传暂不可靠，前台先不展示剩余房量提示 */
.hotel-detail-content .plan-booking .stock-info {
  display: none;
}

/* 客房图片与详情入口一致，点击即可打开右侧详情抽屉 */
.hotel-detail-content .room-detail-image-trigger {
  cursor: pointer;
}

.hotel-detail-content .room-detail-image-trigger img {
  transition: transform 0.22s ease, filter 0.22s ease;
}

.hotel-detail-content .room-detail-image-trigger:hover img {
  filter: brightness(0.92);
  transform: scale(1.025);
}

.hotel-detail-content .room-detail-image-trigger:focus-visible {
  outline: 3px solid rgba(38, 100, 234, 0.5);
  outline-offset: 3px;
}

.mobile-search-summary {
  display: none;
}

/* =====================================================
   手机端搜索条件：覆盖旧版底部蓝色折叠栏，保持为顶部卡片布局
   ===================================================== */
@media screen and (max-width: 768px) {
  .hotel-detail-content .detail-container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hotel-detail-content .detail-main {
    gap: 12px;
  }

  .hotel-detail-content .detail-sidebar {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    transform: none;
    scroll-margin-top: 58px;
  }

  .hotel-detail-content .detail-sidebar.collapsed {
    position: sticky;
    top: 48px;
    z-index: 998;
    transform: none;
  }

  .hotel-detail-content .detail-sidebar:not(.collapsed) {
    position: relative;
  }

  .hotel-detail-content .detail-search-panel {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dce6f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(15, 41, 77, 0.05);
  }

  .hotel-detail-content .detail-search-panel .mini-search-header {
    height: auto;
    min-height: 64px;
    margin: 0;
    padding: 9px 12px;
    background: transparent;
    color: #102a5c;
    cursor: pointer;
    box-sizing: border-box;
  }

  .hotel-detail-content .detail-search-panel .mini-search-header-copy {
    flex: 1;
    min-width: 0;
  }

  .hotel-detail-content .detail-search-panel .mini-search-header-title {
    color: #102a5c;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
  }

  .hotel-detail-content .detail-search-panel .mini-search-header-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef4ff;
    color: #2563eb;
    font-size: 13px;
  }

  .hotel-detail-content .mobile-search-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 12px;
    margin-top: 4px;
    color: #52647a;
    font-size: 11px;
    line-height: 1.35;
  }

  .hotel-detail-content .mobile-search-summary-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    white-space: nowrap;
  }

  .hotel-detail-content .mobile-search-summary-item i {
    color: #2563eb;
    font-size: 11px;
  }

  .hotel-detail-content .detail-search-panel-content {
    max-height: none;
    overflow: visible;
    padding: 14px;
  }

  .hotel-detail-content .detail-sidebar:not(.collapsed) .detail-search-panel-content {
    max-height: none;
    overflow: visible;
    padding: 14px;
  }

  .hotel-detail-content .detail-sidebar.collapsed .detail-search-panel-content {
    display: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .hotel-detail-content .detail-sidebar:not(.collapsed) .mini-search-header {
    border-bottom: 1px solid #e5edf6;
  }

  .hotel-detail-content .detail-sidebar:not(.collapsed) .mobile-search-summary {
    display: none;
  }

  .hotel-detail-content .detail-sidebar.collapsed .detail-search-panel {
    box-shadow: 0 5px 18px rgba(15, 41, 77, 0.11);
  }

  .hotel-detail-content .detail-search-panel-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 12px 10px;
  }

  .hotel-detail-content .detail-search-panel-form > .mini-search-field:first-of-type,
  .hotel-detail-content .detail-search-panel-form > .mini-search-field:nth-of-type(4),
  .hotel-detail-content .detail-search-panel-form > .mini-search-button {
    grid-column: 1 / -1;
  }

  .hotel-detail-content .detail-search-panel .mini-field-label {
    margin-bottom: 6px;
    color: #405572;
    font-size: 12px;
    font-weight: 600;
  }

  .hotel-detail-content .detail-search-panel .mini-search-input {
    height: 44px;
    border-color: #d8e2ee;
    border-radius: 8px;
    font-size: 14px;
  }

  .hotel-detail-content .detail-search-panel .mini-field-icon {
    left: 14px;
  }

  .hotel-detail-content .detail-search-panel .mini-search-button {
    height: 46px;
    margin: 2px 0 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.18);
  }
}

@media screen and (max-width: 480px) {
  .hotel-detail-content .detail-container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hotel-detail-content .detail-search-panel {
    padding: 0;
    border-radius: 10px;
  }

  .hotel-detail-content .detail-search-panel-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .hotel-detail-content .detail-search-panel-form > .mini-search-field:first-of-type,
  .hotel-detail-content .detail-search-panel-form > .mini-search-field:nth-of-type(4),
  .hotel-detail-content .detail-search-panel-form > .mini-search-button {
    grid-column: auto;
  }

  .hotel-detail-content .detail-search-panel .mini-search-header {
    min-height: 62px;
    margin-bottom: 0;
  }

  .hotel-detail-content .detail-search-panel .mini-search-header-title {
    font-size: 14px;
  }
}

/* 价格变化提示：放在文件末尾，避免被房型区域后续规则覆盖 */
.hotel-detail-content .price-change-warning {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #ffb74d;
  border-radius: 8px;
  background: #fff3e0;
  color: #e65100;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
}

.hotel-detail-content .price-change-warning i {
  flex: 0 0 auto;
  color: #f57c00;
  font-size: 18px;
}

.hotel-detail-content .price-change-warning span {
  min-width: 0;
}

@media screen and (max-width: 480px) {
  .hotel-detail-content .price-change-warning {
    align-items: flex-start;
    gap: 9px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .hotel-detail-content .price-change-warning i {
    margin-top: 1px;
    font-size: 16px;
  }
}

/* =====================================================
   手机端房型卡片终版：紧凑标题、独立方案卡与价格操作区
   ===================================================== */
@media screen and (max-width: 767px) {
  .hotel-detail-content .room-types {
    padding: 16px 8px;
  }

  .hotel-detail-content .room-types-container {
    gap: 14px;
  }

  .hotel-detail-content .room-type-group {
    border-radius: 10px;
  }

  .hotel-detail-content .room-type-left {
    padding: 12px;
  }

  .hotel-detail-content .room-type-right {
    padding: 14px 12px 16px;
  }

  .hotel-detail-content .room-type-right-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 9px 10px;
    padding: 0 0 12px;
  }

  .hotel-detail-content .room-type-right-header .room-type-title-group {
    display: contents;
  }

  .hotel-detail-content .room-type-right-header .room-type-name {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 19px;
    line-height: 1.35;
  }

  .hotel-detail-content .room-type-right-header .room-plan-count {
    position: static;
    grid-column: 2;
    grid-row: 1;
    min-height: 32px;
    padding: 0 10px;
    border-color: #d5e1f1;
    border-radius: 7px;
    background: #f7faff;
    font-size: 12px;
    line-height: 1;
  }

  .hotel-detail-content .room-type-right-header .room-type-specs-inline {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 6px 12px;
    font-size: 12px;
  }

  .hotel-detail-content .room-type-specs-inline .room-stay-time-group {
    width: auto;
    flex: 0 1 auto;
    gap: 5px 11px;
  }

  .hotel-detail-content .plans-list-wrapper,
  .hotel-detail-content .plans-list-wrapper:has(.plan-card:only-child) {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hotel-detail-content .plans-list-wrapper:has(.plan-card:only-child) .plan-card {
    height: auto;
  }

  .hotel-detail-content .plan-card,
  .hotel-detail-content .plan-card:last-child {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dce6f2 !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(30, 64, 117, 0.05) !important;
  }

  .hotel-detail-content .plan-info {
    gap: 7px;
  }

  .hotel-detail-content .plan-heading {
    gap: 8px;
    margin-bottom: 1px;
  }

  .hotel-detail-content .plan-heading-icon {
    width: 22px;
    color: #1760ea;
    font-size: 15px;
  }

  .hotel-detail-content .plan-name {
    font-size: 16px;
    line-height: 1.35;
  }

  .hotel-detail-content .plan-features {
    gap: 4px 10px;
    margin-top: 2px;
  }

  .hotel-detail-content .plan-note-links {
    margin-top: 3px;
  }

  .hotel-detail-content .plan-note-label--refund-deadline {
    font-size: 12px;
  }

  .hotel-detail-content .plan-booking {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 92px !important;
    align-items: end !important;
    justify-content: stretch !important;
    gap: 10px;
    width: 100%;
    min-height: 0 !important;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid #edf2f7 !important;
    border-left: 0 !important;
  }

  .hotel-detail-content .plan-price-info {
    align-items: flex-start;
    min-width: 0;
    padding: 0;
    text-align: left;
  }

  .hotel-detail-content .plan-price-promotion,
  .hotel-detail-content .plan-price-row,
  .hotel-detail-content .plan-price-total {
    justify-content: flex-start;
  }

  .hotel-detail-content .plan-price-promotion {
    gap: 5px;
    margin-bottom: 3px;
  }

  .hotel-detail-content .plan-price-original {
    font-size: 12px;
  }

  .hotel-detail-content .plan-price-discount {
    padding: 2px 5px;
    font-size: 11px;
  }

  .hotel-detail-content .plan-price-row {
    flex-wrap: nowrap;
  }

  .hotel-detail-content .plan-price-value {
    font-size: 23px !important;
    line-height: 1.05;
  }

  .hotel-detail-content .plan-price-total,
  .hotel-detail-content .plan-price-note {
    max-width: 100%;
    white-space: normal;
    font-size: 11px;
    line-height: 1.35;
  }

  .hotel-detail-content .plan-booking > div:last-child {
    width: 92px;
    margin: 0;
    align-items: stretch !important;
  }

  .hotel-detail-content .book-btn {
    width: 100%;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 9px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
  }
}

@media screen and (max-width: 360px) {
  .hotel-detail-content .room-type-right {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hotel-detail-content .plan-card,
  .hotel-detail-content .plan-card:last-child {
    padding: 12px;
  }

  .hotel-detail-content .plan-booking {
    grid-template-columns: minmax(0, 1fr) 84px !important;
    gap: 8px;
  }

  .hotel-detail-content .plan-booking > div:last-child {
    width: 84px;
  }
}

/* 酒店未返回入住/退房时间时的安全提示状态 */
.hotel-detail-content .room-stay-time-inline .room-stay-time-label {
  flex: 0 0 auto;
}

.hotel-detail-content .room-type-specs-inline .room-stay-time-inline--pending {
  color: #6f5b35;
}

.hotel-detail-content .room-type-specs-inline .room-stay-time-inline--pending .spec-icon {
  color: #d68a05;
}

.hotel-detail-content .room-stay-time-value--pending,
.hotel-detail-content .essential-info-value--pending {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 2px 7px;
  border: 1px solid #f0cf91;
  border-radius: 999px;
  background: #fff8e8;
  color: #8a5b08;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.hotel-detail-content .essential-info-item--pending > i {
  border: 1px solid #f4dfb7;
  background: #fff8e8;
  color: #d68a05;
}

@media screen and (max-width: 767px) {
  .hotel-detail-content .room-type-specs-inline .room-stay-time-inline--pending {
    flex: 1 1 205px;
    min-width: 0;
  }

  .hotel-detail-content .room-stay-time-value--pending {
    white-space: normal;
  }
}

/* =====================================================
   详情页内容容器终版：搜索条件、房型及各 Tab 统一卡片样式
   ===================================================== */
.hotel-detail-content .detail-search-panel,
.hotel-detail-content .room-types,
.hotel-detail-content .hotel-overview,
.hotel-detail-content .hotel-amenities,
.hotel-detail-content .hotel-surroundings {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e3eaf3;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(15, 41, 77, 0.05);
}

.hotel-detail-content .detail-search-panel {
  padding: 24px 28px;
}

.hotel-detail-content .detail-search-panel .mini-search-header,
.hotel-detail-content .room-types > .section-header.section-title,
.hotel-detail-content .hotel-overview > .section-title,
.hotel-detail-content .hotel-amenities > .section-title,
.hotel-detail-content .hotel-surroundings > .section-title {
  margin-top: 0;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5edf6;
}

.hotel-detail-content .detail-search-panel .mini-search-header-title,
.hotel-detail-content .room-types .section-title-h2,
.hotel-detail-content .hotel-overview > .section-title,
.hotel-detail-content .hotel-amenities > .section-title,
.hotel-detail-content .hotel-surroundings > .section-title {
  color: #102a5c;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.hotel-detail-content .detail-search-panel .mini-search-header-title {
  padding: 0;
}

.hotel-detail-content .room-types {
  margin: 0;
  padding: 24px 28px 28px;
}

.hotel-detail-content .hotel-overview,
.hotel-detail-content .hotel-amenities,
.hotel-detail-content .hotel-surroundings {
  padding: 30px;
}

@media screen and (max-width: 768px) {
  .hotel-detail-content .detail-search-panel,
  .hotel-detail-content .room-types,
  .hotel-detail-content .hotel-overview,
  .hotel-detail-content .hotel-amenities,
  .hotel-detail-content .hotel-surroundings {
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(15, 41, 77, 0.05);
  }

  .hotel-detail-content .detail-search-panel {
    padding: 0;
  }

  .hotel-detail-content .detail-search-panel .mini-search-header {
    min-height: 60px;
    margin-bottom: 0;
    padding: 12px 14px;
  }

  .hotel-detail-content .detail-search-panel .mini-search-header-title {
    font-size: 18px;
  }

  .hotel-detail-content .room-types {
    padding: 18px 14px 20px;
  }

  .hotel-detail-content .hotel-overview,
  .hotel-detail-content .hotel-amenities,
  .hotel-detail-content .hotel-surroundings {
    padding: 20px 16px;
  }

  .hotel-detail-content .room-types > .section-header.section-title,
  .hotel-detail-content .hotel-overview > .section-title,
  .hotel-detail-content .hotel-amenities > .section-title,
  .hotel-detail-content .hotel-surroundings > .section-title {
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .hotel-detail-content .room-types .section-title-h2,
  .hotel-detail-content .hotel-overview > .section-title,
  .hotel-detail-content .hotel-amenities > .section-title,
  .hotel-detail-content .hotel-surroundings > .section-title {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .hotel-detail-content .detail-search-panel,
  .hotel-detail-content .room-types,
  .hotel-detail-content .hotel-overview,
  .hotel-detail-content .hotel-amenities,
  .hotel-detail-content .hotel-surroundings {
    border-radius: 10px;
  }

  .hotel-detail-content .room-types {
    padding: 16px 12px 18px;
  }
}

/* 套餐价格操作区最终约束：避免长状态文案挤压或覆盖价格。 */
.hotel-detail-content .plan-card.plan-card--member {
  border-color: #f0d49b;
  background: #fffdf8;
}

.hotel-detail-content .plan-card.plan-card--member-locked {
  border-color: #f3c878;
}

.hotel-detail-content .plan-member-notice {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid #f3d68e;
  background: #fff6dc;
  color: #996100;
  font-size: 12px;
}

.hotel-detail-content .plan-member-notice--locked {
  border-color: #f3c18b;
  background: #fff0e2;
  color: #b45c0a;
}

.hotel-detail-content .plan-member-notice-message {
  color: inherit;
  font-size: inherit;
}

.hotel-detail-content .plan-booking {
  min-width: 0;
}

.hotel-detail-content .plan-price-info {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.hotel-detail-content .plan-price-row {
  flex-wrap: wrap;
  row-gap: 2px;
}

.hotel-detail-content .plan-price-member-label {
  color: #bd710b;
  white-space: nowrap;
}

.hotel-detail-content .plan-booking > div:last-child {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex: 0 1 auto;
}

.hotel-detail-content .plan-unavailable-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 50px;
  padding: 0 10px;
  border: 1px solid #d7e0eb;
  border-radius: 7px;
  background: #f5f7fa;
  color: #7a8798;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.hotel-detail-content .plan-unavailable-status i {
  color: #9aa8b8;
  font-size: 13px;
}

.hotel-detail-content .plan-card--member .book-btn--member-locked {
  background: linear-gradient(135deg, #e6a400 0%, #d78300 100%);
}

@media screen and (max-width: 640px) {
  .hotel-detail-content .plan-booking > div:last-child {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hotel-detail-content .plan-unavailable-status {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 6px;
    font-size: 11px;
  }
}

@media screen and (max-width: 360px) {
  .hotel-detail-content .plan-booking > div:last-child {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* 普通方案详情中的会员最低价提示；会员房型仍通过独立 CUG 视图展示。 */
.hotel-detail-content .detail-member-price-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 14px;
  padding: 13px 16px;
  border: 1px solid #f1d28c;
  border-radius: 10px;
  background: linear-gradient(135deg, #fffaf0 0%, #fffdf8 100%);
}

.hotel-detail-content .detail-member-price-summary__copy {
  min-width: 0;
}

.hotel-detail-content .detail-member-price-summary__title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9a6200;
  font-size: 14px;
  line-height: 1.3;
}

.hotel-detail-content .detail-member-price-summary__title i {
  color: #d28a00;
}

.hotel-detail-content .detail-member-price-summary__message {
  margin-top: 4px;
  color: #8b6a34;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.hotel-detail-content .detail-member-price-summary__price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
  column-gap: 4px;
  min-width: 145px;
  color: #d86513;
  text-align: right;
  white-space: nowrap;
}

.hotel-detail-content .detail-member-price-summary__nightly {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
}

.hotel-detail-content .detail-member-price-summary__nightly-label {
  color: #a66c25;
  font-size: 11px;
}

.hotel-detail-content .detail-member-price-summary__price small {
  flex-basis: 100%;
  margin-top: 3px;
  color: #77869a;
  font-size: 11px;
  line-height: 1.3;
}

.hotel-detail-content .detail-member-price-summary__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #d88b10;
  border-radius: 6px;
  background: #fff;
  color: #a86300;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.hotel-detail-content .detail-member-price-summary__action:hover {
  background: #d88b10;
  color: #fff;
}

@media screen and (max-width: 640px) {
  .hotel-detail-content .detail-member-price-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .hotel-detail-content .detail-member-price-summary__price {
    min-width: 0;
  }

  .hotel-detail-content .detail-member-price-summary__nightly {
    font-size: 20px;
  }

  .hotel-detail-content .detail-member-price-summary__action {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
  }
}

/* 普通方案与会员方案分组展示，避免两套账户的房型/套餐看起来像同一方案。 */
.hotel-detail-content .room-account-section {
  margin: 0 0 18px;
}

.hotel-detail-content .room-account-section:last-child {
  margin-bottom: 0;
}

.hotel-detail-content .room-account-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  margin: 0 0 10px;
  padding: 0 4px;
}

.hotel-detail-content .room-account-section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f294d;
  font-size: 18px;
  line-height: 1.3;
}

.hotel-detail-content .room-account-section-title i {
  color: #2563eb;
  font-size: 16px;
}

.hotel-detail-content .room-account-section--member .room-account-section-title i {
  color: #c17b00;
}

.hotel-detail-content .room-account-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid #f0cd7c;
  border-radius: 999px;
  background: #fff7df;
  color: #986000;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.hotel-detail-content .room-account-section--member .room-type-group {
  border-color: #efcf8a;
}

@media screen and (max-width: 640px) {
  .hotel-detail-content .room-account-section {
    margin-bottom: 14px;
  }

  .hotel-detail-content .room-account-section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    min-height: 0;
    padding: 0 2px;
  }

  .hotel-detail-content .room-account-section-title {
    font-size: 17px;
  }
}

/* 方案区域紧凑化：减少同一房型内普通/会员套餐之间的纵向占用。 */
.hotel-detail-content .plans-list-wrapper:has(.plan-card:only-child) {
  display: flex;
  grid-template-rows: none;
  gap: 0;
}

.hotel-detail-content .plans-list-wrapper:has(.plan-card:only-child) .plan-card {
  height: auto;
}

.hotel-detail-content .plan-card,
.hotel-detail-content .plan-card:last-child {
  gap: 10px;
  padding: 12px 14px;
}

/* hotel-typography.css 在本文件之后加载，提高局部选择器优先级，确保详情页紧凑值生效。 */
.hotel-detail-content .room-type-right .plan-card {
  gap: 10px;
  padding: 12px 14px;
}

.hotel-detail-content .plan-info {
  gap: 4px;
}

.hotel-detail-content .plan-heading {
  margin-bottom: 3px;
}

.hotel-detail-content .plan-note-links {
  gap: 2px;
  margin-top: 5px;
}

.hotel-detail-content .plan-booking {
  min-height: 82px;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 12px;
  gap: 8px;
}

@media screen and (max-width: 767px) {
  .hotel-detail-content .plans-list-wrapper,
  .hotel-detail-content .plans-list-wrapper:has(.plan-card:only-child) {
    gap: 8px;
  }

  .hotel-detail-content .plan-card,
  .hotel-detail-content .plan-card:last-child {
    gap: 8px;
    padding: 11px 12px;
  }

  .hotel-detail-content .room-type-right .plan-card {
    gap: 8px;
    padding: 11px 12px;
  }

  .hotel-detail-content .plan-booking {
    min-height: 0 !important;
    padding-top: 9px;
    padding-bottom: 0;
    padding-left: 0;
    gap: 8px;
  }

}

/* Clean 方案区收口：右侧价格/操作列保持紧凑，但保留清晰层级和 44px 触控高度。 */
@media screen and (min-width: 768px) {

  .hotel-detail-content .room-type-right .plan-card,
  .hotel-detail-content .room-type-right .plan-card:last-child {
    grid-template-columns: minmax(0, 1fr) minmax(246px, 286px);
    gap: 8px;
    padding: 10px 12px;
  }

  .hotel-detail-content .room-type-right .plan-info {
    gap: 3px;
  }

  .hotel-detail-content .room-type-right .plan-heading {
    margin-bottom: 2px;
  }

  .hotel-detail-content .room-type-right .plan-booking {
    min-height: 70px;
    gap: 8px;
    padding-left: 10px;
  }

  .hotel-detail-content .room-type-right .plan-price-info {
    gap: 2px;
  }

  .hotel-detail-content .room-type-right .plan-price-value {
    font-size: 24px;
  }

  .hotel-detail-content .room-type-right .plan-price-total {
    margin-top: 1px;
    font-size: 12px;
  }

  .hotel-detail-content .room-type-right .plan-price-total-value {
    font-size: 13px;
  }

  .hotel-detail-content .room-type-right .plan-price-note {
    padding: 2px 4px;
    font-size: 10px;
  }

  .hotel-detail-content .room-type-right .book-btn {
    min-width: 112px;
    height: 44px;
    padding: 0 10px;
    font-size: 15px;
  }
}

@media screen and (max-width: 767px) {
  .hotel-detail-content .room-type-right .plans-list-wrapper {
    gap: 8px;
  }

  .hotel-detail-content .room-type-right .plan-card,
  .hotel-detail-content .room-type-right .plan-card:last-child {
    gap: 10px;
    padding: 12px;
  }

  .hotel-detail-content .room-type-right .plan-booking {
    gap: 8px;
    padding-top: 8px;
  }

  .hotel-detail-content .room-type-right .book-btn {
    height: 44px !important;
  }
}

/* Clean 视觉减负：保留房型主边界，方案卡改为轻量信息行，避免重复边框叠加。 */
.hotel-detail-content .room-type-group {
  border-color: #dfe7f0;
  box-shadow: none;
}

.hotel-detail-content .room-type-group:hover {
  border-color: #cbd5e1;
  box-shadow: none;
}

.hotel-detail-content .room-type-left {
  border-right-color: #edf2f7;
}

.hotel-detail-content .room-type-right .plan-card,
.hotel-detail-content .room-type-right .plan-card:last-child {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: none;
}

.hotel-detail-content .room-type-right .plan-card:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
  box-shadow: none;
}

.hotel-detail-content .room-type-right .plan-card.plan-card--member,
.hotel-detail-content .room-type-right .plan-card.plan-card--member:last-child {
  border: 1px solid #efd39a;
  background: #fffaf0;
}

.hotel-detail-content .room-type-right .plan-card.plan-card--member:hover,
.hotel-detail-content .room-type-right .plan-card.plan-card--member:last-child:hover {
  border-color: #e3b965;
  background: #fff7e6;
  box-shadow: none;
}

/* Clean 按钮适配：按最长的会员登录文案分配操作列，避免按钮贴边或撑破卡片。 */
@media screen and (min-width: 768px) {
  .hotel-detail-content .room-type-right .plan-card,
  .hotel-detail-content .room-type-right .plan-card:last-child {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 316px);
  }

  .hotel-detail-content .room-type-right .plan-booking {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 8px;
    padding-left: 10px;
  }

  .hotel-detail-content .room-type-right .plan-booking > div:last-child {
    width: max-content;
    min-width: 112px;
    max-width: 100%;
  }

  .hotel-detail-content .room-type-right .book-btn {
    width: max-content;
    min-width: 112px;
    max-width: 100%;
    height: 44px;
    padding: 0 10px;
    white-space: nowrap;
  }
}

@media screen and (max-width: 767px) {
  .hotel-detail-content .room-type-right .plan-booking {
    grid-template-columns: minmax(0, 1fr) max-content !important;
    gap: 8px;
  }

  .hotel-detail-content .room-type-right .plan-booking > div:last-child {
    width: max-content;
    min-width: 112px;
    max-width: 100%;
  }

  .hotel-detail-content .room-type-right .book-btn {
    width: max-content;
    min-width: 112px !important;
    max-width: 100%;
    height: 44px !important;
    padding: 0 10px !important;
    white-space: nowrap;
  }
}

@media screen and (max-width: 360px) {
  .hotel-detail-content .room-type-right .plan-booking {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  .hotel-detail-content .room-type-right .plan-booking > div:last-child,
  .hotel-detail-content .room-type-right .book-btn {
    width: 100%;
    min-width: 0 !important;
  }
}

/* Clean 会员配色：用低饱和香槟金表达会员身份，保留品牌蓝作为主要操作色。 */
.hotel-detail-content {
  --member-surface: #fcfaf5;
  --member-surface-hover: #f8f3e8;
  --member-border: #e6d5ad;
  --member-border-hover: #d5ba7e;
  --member-ink: #8a6424;
  --member-accent: #b48636;
  --member-price: #c66b32;
  --member-soft: #fff7e4;
  --member-line: #eadfc7;
}

.hotel-detail-content .room-account-section--member .room-account-section-title {
  color: var(--member-ink);
}

.hotel-detail-content .room-account-section--member .room-account-section-title i {
  color: var(--member-accent);
}

.hotel-detail-content .room-account-section--member .room-account-section-badge {
  border-color: var(--member-border);
  background: var(--member-soft);
  color: var(--member-ink);
}

.hotel-detail-content .room-account-section--member .room-type-group {
  border-color: var(--member-border);
}

.hotel-detail-content .room-type-right .plan-card.plan-card--member,
.hotel-detail-content .room-type-right .plan-card.plan-card--member:last-child {
  padding-top: 15px;
  border-color: var(--member-border);
  background: var(--member-surface);
}

.hotel-detail-content .room-type-right .plan-card.plan-card--member:hover,
.hotel-detail-content .room-type-right .plan-card.plan-card--member:last-child:hover {
  border-color: var(--member-border-hover);
  background: var(--member-surface-hover);
}

.hotel-detail-content .plan-member-notice {
  border-color: var(--member-border);
  background: var(--member-soft);
  color: var(--member-ink);
}

.hotel-detail-content .plan-member-notice--locked {
  border-color: var(--member-border);
  background: var(--member-soft);
  color: var(--member-ink);
}

.hotel-detail-content .plan-price-member-label {
  color: var(--member-ink);
}

.hotel-detail-content .plan-card--member .plan-price-value {
  color: var(--member-price);
}

.hotel-detail-content .room-type-right .plan-card.plan-card--member .book-btn,
.hotel-detail-content .room-type-right .plan-card.plan-card--member .book-btn--member-locked {
  background: #2563eb;
}

.hotel-detail-content .room-type-right .plan-card.plan-card--member .book-btn:hover,
.hotel-detail-content .room-type-right .plan-card.plan-card--member .book-btn--member-locked:hover {
  background: #1d4ed8;
}

.hotel-detail-content .detail-member-price-summary {
  border-color: var(--member-border);
  background: var(--member-surface);
}

.hotel-detail-content .detail-member-price-summary__title,
.hotel-detail-content .detail-member-price-summary__message,
.hotel-detail-content .detail-member-price-summary__nightly-label {
  color: var(--member-ink);
}

.hotel-detail-content .detail-member-price-summary__title i {
  color: var(--member-accent);
}

.hotel-detail-content .detail-member-price-summary__price {
  color: var(--member-price);
}

.hotel-detail-content .detail-member-price-summary__action {
  border-color: var(--member-border-hover);
  color: var(--member-ink);
}

.hotel-detail-content .detail-member-price-summary__action:hover {
  background: var(--member-accent);
  color: #fff;
}

@media screen and (max-width: 860px) {
  /* 移动端保留无重边框结构，只给会员行一层极浅的暖白底色。 */
  .hotel-detail-content .room-type-right .plan-card.plan-card--member,
  .hotel-detail-content .room-type-right .plan-card.plan-card--member:last-child {
    border: 0 !important;
    border-bottom: 1px solid var(--member-line) !important;
    background: var(--member-surface) !important;
  }

  .hotel-detail-content .room-type-right .plan-card.plan-card--member:last-child {
    border-bottom: 0 !important;
  }
}

/* Clean 会员标签：贴在方案卡上沿，替代独立的会员分隔线。 */
.hotel-detail-content .plan-card.plan-card--member {
  position: relative;
  overflow: visible;
  margin-top: 10px;
  padding-top: 14px;
}

.hotel-detail-content .plan-card.plan-card--member .plan-member-notice {
  position: absolute;
  top: -10px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  max-width: calc(100% - 28px);
  padding: 3px 10px;
  border: 1px solid var(--member-border);
  border-radius: 5px;
  background: var(--member-soft);
  color: var(--member-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hotel-detail-content .plan-card.plan-card--member .plan-member-notice--locked {
  border-color: var(--member-border);
  background: var(--member-soft);
  color: var(--member-ink);
}

.hotel-detail-content .plan-card.plan-card--member .plan-member-notice-title,
.hotel-detail-content .plan-card.plan-card--member .plan-member-notice-message {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hotel-detail-content .plan-card.plan-card--member .plan-member-notice-separator {
  flex: 0 0 auto;
}

/* 会员方案按钮统一使用金棕色，包含未登录时的“登录后预订”。 */
.hotel-detail-content .room-type-right .plan-card.plan-card--member .book-btn {
  min-width: 114px;
  height: 44px;
  border-radius: 8px;
  background: #a87325;
  box-shadow: 0 5px 12px rgba(168, 115, 37, 0.16);
  color: #fff;
}

.hotel-detail-content .room-type-right .plan-card.plan-card--member .book-btn:hover {
  background: #95651d;
  box-shadow: 0 7px 15px rgba(149, 101, 29, 0.22);
}

/* 后端费率备注与到店费用：作为方案内的辅助信息，保持紧凑，不改变主价格。 */
.hotel-detail-content .plan-rate-type-notes,
.hotel-detail-content .plan-price-fee-summary,
.hotel-detail-content .plan-price-on-site {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 5px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
}

.hotel-detail-content .plan-rate-type-notes i,
.hotel-detail-content .plan-price-fee-summary i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #94a3b8;
}

.hotel-detail-content .plan-price-on-site {
  color: #047857;
  font-weight: 600;
}

.hotel-detail-content .plan-price-on-site i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #059669;
}

/* 房价可下单状态：保留不可订价格供用户比较，但降低视觉权重并明确说明原因。 */
.hotel-detail-content .plan-card.plan-card--unbookable {
  border-color: #d7e0eb;
  background: #f8fafc;
}

.hotel-detail-content .plan-card.plan-card--unbookable .plan-price-value,
.hotel-detail-content .plan-card.plan-card--unbookable .plan-name {
  color: #64748b;
}

.hotel-detail-content .plan-unavailable-status--bookability {
  border-color: #d7e0eb;
  background: #f1f5f9;
  color: #64748b;
}

/* 房型下所有价格均不可订时，整张房型卡置灰；具体原因仍保留在各房价行内。 */
.hotel-detail-content .room-type-group.room-type-group--unbookable {
  border-color: #d7e0eb;
  background: #f8fafc;
}

.hotel-detail-content .room-type-group.room-type-group--unbookable .room-type-left {
  opacity: 0.72;
  filter: grayscale(0.18);
}

.hotel-detail-content .room-type-group.room-type-group--unbookable .room-type-right {
  background: #f8fafc;
}

/* 不可预订费率的价格列：提示放到价格下方，避免被误当成按钮列挤压价格。 */
@media screen and (min-width: 768px) {
  .hotel-detail-content .room-type-right .plan-card.plan-card--unbookable .plan-booking {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding-left: 10px;
  }

  .hotel-detail-content .room-type-right .plan-card.plan-card--unbookable .plan-price-info {
    grid-column: 1;
    width: 100%;
    min-width: 0;
    align-items: flex-end;
  }

  .hotel-detail-content .room-type-right .plan-card.plan-card--unbookable .plan-booking > div:last-child {
    grid-column: 1;
    width: 100% !important;
    min-width: 0;
    max-width: none;
    margin: 0;
    align-items: stretch !important;
  }

  .hotel-detail-content .room-type-right .plan-card.plan-card--unbookable .plan-unavailable-status--bookability {
    width: 100%;
    min-height: 36px;
    padding: 6px 10px;
    justify-content: flex-start;
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .hotel-detail-content .room-type-right .plan-card.plan-card--unbookable .plan-booking {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
  }

  .hotel-detail-content .room-type-right .plan-card.plan-card--unbookable .plan-price-info,
  .hotel-detail-content .room-type-right .plan-card.plan-card--unbookable .plan-booking > div:last-child {
    width: 100% !important;
    min-width: 0;
    max-width: none;
  }

  .hotel-detail-content .room-type-right .plan-card.plan-card--unbookable .plan-price-info {
    align-items: flex-start;
    text-align: left;
  }

  .hotel-detail-content .room-type-right .plan-card.plan-card--unbookable .plan-unavailable-status--bookability {
    min-height: 40px;
    padding: 6px 10px;
    justify-content: flex-start;
    text-align: left;
  }
}
