﻿/* 设置默认样式 */
.default-title {
  padding: 40px 0 20px;
  font-size: 24px;
  font-weight: bold;
  color: #0f294d;
}

.default-space {
  height: 50px;
}

/* 首页banner替换为酒店 */
.top-searcher {
  background-image: url('../img/hotel/hotel15.jpg');
}

/* 欢迎礼包区域样式 - 网站配色版 */
.welcome-section {
  width: 100%;
  max-width: 1400px;
  margin: 40px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(27, 161, 255, 0.15);
}

.welcome-section-content {
  display: flex;
  height: 250px;
  position: relative;
}

.welcome-section-content-text {
  flex: 1;
  background: linear-gradient(135deg, #2563eb 0%, #1F77E5 25%, #2563eb 100%);
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
}

.welcome-section-content-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(211, 231, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 71, 87, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.welcome-section-content-text-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.welcome-section-content-text-discount {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.welcome-section-content-text-description {
  font-size: 13px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.welcome-section-content-text-button {
  background: #ffc11c;
  color: #222;
  border: none;
  padding: 8px 70px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.welcome-section-content-image {
  flex: 1;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -12%;
  position: relative;
  z-index: 1;
}

.welcome-section-content-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(27, 161, 255, 0.08) 0%, transparent 40%);
  z-index: 1;
}

.welcome-section-content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.05) contrast(1.1);
}

/* 移动端适配 */
@media screen and (max-width: 767px) {
  .welcome-section {
    width: 92%;
    margin: 30px auto;
  }

  .welcome-section-content {
    flex-direction: column;
    height: auto;
  }

  .welcome-section-content-text {
    padding: 40px 25px;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    margin-left: 0;
  }

  .welcome-section-content-text-title {
    font-size: 18px;
  }

  .welcome-section-content-text-discount {
    font-size: 22px;
  }

  .welcome-section-content-text-description {
    font-size: 12px;
  }

  .welcome-section-content-text-button {
    padding: 10px 45px;
    font-size: 16px;
  }

  .welcome-section-content-image {
    height: 250px;
    margin-left: 0;
    margin-top: -8%;
  }

  .welcome-section-content-image::before {
    background: linear-gradient(0deg, rgba(27, 161, 255, 0.08) 0%, transparent 50%);
  }
}

/* 人气目的地样式 */
.popular-destinations {
  width: 100%;
  max-width: 1400px;
  margin: 0px auto 0px;
  padding: 0 20px;
}

.popular-destinations-title {
  padding: 40px 0 20px;
  font-size: 24px;
  font-weight: bold;
  color: #0f294d;
}

.popular-destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.popular-destinations-grid-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  height: 300px;
}

.popular-destinations-grid-card-featured {
  grid-column: span 2;
}

.popular-destinations-grid-card-image {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

/* 为每个目的地设置不同的背景图片 */
.popular-destinations-grid-card.seoul .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/seoul.jpg');
}

.popular-destinations-grid-card.tokyo .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/tokyo.jpg');
}

.popular-destinations-grid-card.bangkok .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/bangkok.jpg');
}

.popular-destinations-grid-card.osaka .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/osaka.jpg');
}

.popular-destinations-grid-card.singapore .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/singapore.jpg');
}

.popular-destinations-grid-card.hongkong .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/hongkong.jpg');
}

.popular-destinations-grid-card.taipei .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/taipei.jpg');
}

.popular-destinations-grid-card.kualalumpur .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/kualalumpur.jpg');
}

.popular-destinations-grid-card.paris .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/paris.jpg');
}

.popular-destinations-grid-card.london .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/london.jpg');
}

.popular-destinations-grid-card.rome .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/rome.jpg');
}

.popular-destinations-grid-card.dubai .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/dubai.jpg');
}

.popular-destinations-grid-card.barcelona .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/barcelona.jpg');
}

.popular-destinations-grid-card.amsterdam .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/amsterdam.jpg');
}

.popular-destinations-grid-card.sydney .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/sydney.jpg');
}

.popular-destinations-grid-card.honolulu .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/honolulu.jpg');
}

.popular-destinations-grid-card.guam .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/guam.jpg');
}

.popular-destinations-grid-card.bali .popular-destinations-grid-card-image {
  background-image: url('../img/destinations/bali.jpg');
}

.popular-destinations-grid-card:hover .popular-destinations-grid-card-image {
  transform: scale(1.05);
}

.popular-destinations-grid-card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #2563eb;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  backdrop-filter: blur(10px);
  z-index: 3;
}

/* 统一的内容容器 */
.popular-destinations-grid-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px;
  transition: all 0.3s ease;
  transform: translateY(0);
  z-index: 2;
}

.popular-destinations-grid-card-content-name {
  font-size: 20px;
  font-weight: bold;
  color: white;
  margin: 0 0 10px 0;
  transition: all 0.3s ease;
}

/* 默认隐藏详细内容 */
.popular-destinations-grid-card-content-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.popular-destinations-grid-card-content-details p {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: white;
}

.popular-destinations-grid-card-content-details-link {
  margin-top: 15px;
  padding: 8px 16px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* 悬停状态 */
.popular-destinations-grid-card:hover .popular-destinations-grid-card-content {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  transform: translateY(0);
}

.popular-destinations-grid-card:hover .popular-destinations-grid-card-content-details {
  max-height: 200px;
  opacity: 1;
}

.popular-destinations-grid-card:hover .popular-destinations-grid-card-content-details-link {
  text-decoration: none !important;
}

/* Popular destinations refreshed layout */
.popular-destinations.popular-destinations-refresh {
  padding: 50px 0 70px;
  background: #fff;
}

.popular-destinations-refresh .popular-destinations-header {
  max-width: 1400px;
  margin: 0 auto 18px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.popular-destinations-refresh .popular-destinations-title {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #12284c;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.popular-destinations-title-icon::before {
  content: "\f06d";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #ff5a00;
  margin-right: 4px;
}

.popular-destinations-refresh .popular-destinations-title-icon {
  font-size: 24px;
  line-height: 1;
}

.popular-destinations-refresh .popular-destinations-grid-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.popular-destinations-refresh .popular-destinations-grid-wrapper {
  overflow: hidden;
  padding: 0;
}

.popular-destinations-refresh .popular-destinations-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.popular-destinations-refresh .popular-destinations-grid::-webkit-scrollbar {
  display: none;
}

.popular-destinations-refresh .popular-destinations-grid-card,
.popular-destinations-refresh .popular-destinations-grid-card-featured {
  flex: 0 0 calc((100% - 5 * 16px) / 6);
  aspect-ratio: 0.72;
  min-width: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #dce8fb;
  box-shadow: 0 4px 12px rgba(17, 38, 75, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.popular-destinations-refresh .popular-destinations-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(17, 38, 75, 0.12);
}

.popular-destinations-refresh .popular-destinations-grid-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.popular-destinations-refresh .popular-destinations-grid-card:hover .popular-destinations-grid-card-image {
  transform: scale(1.04);
}

.popular-destinations-refresh .card-gradient-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 68%;
  background: linear-gradient(180deg, rgba(8, 21, 44, 0) 0%, rgba(8, 21, 44, 0.06) 100%);
  z-index: 1;
  pointer-events: none;
}

.popular-destinations-refresh .popular-destinations-grid-card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 0 4px 10px rgba(20, 42, 84, 0.12);
}

.popular-destinations-refresh .popular-destinations-grid-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  box-sizing: border-box;
  padding: 42px 14px 12px;
  background: linear-gradient(180deg, rgba(8, 21, 44, 0) 0%, rgba(8, 21, 44, 0.84) 62%, rgba(8, 21, 44, 0.96) 100%);
  color: #fff;
  pointer-events: none;
}

.popular-destinations-refresh .popular-destinations-grid-card-content-name {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.popular-destinations-refresh .popular-destinations-grid-card-content-en {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
}

.popular-destinations-refresh .popular-destinations-grid-card-content-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.popular-destinations-refresh .popular-destinations-grid-card-content-details p {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 4px;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.popular-destinations-refresh .popular-destinations-grid-card-content-details-link {
  margin-top: 8px;
  padding: 6px 12px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease;
  text-decoration: none;
  border-radius: 4px;
}

.popular-destinations-refresh .popular-destinations-grid-card-content-details-link:hover {
  background: #0078D7;
}

.popular-destinations-refresh .popular-destinations-grid-card:hover .popular-destinations-grid-card-content-details {
  max-height: 150px;
  opacity: 1;
  margin-top: 6px;
}

.popular-destinations-refresh .popular-destinations-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #2550b8;
  box-shadow: 0 10px 24px rgba(17, 38, 75, 0.18);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  font-size: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.popular-destinations-refresh .popular-destinations-nav::before {
  display: block;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 19px;
  line-height: 1;
  color: #2550b8;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.popular-destinations-refresh .popular-destinations-nav.prev::before {
  content: "\f053";
  transform: translateX(-1px);
}

.popular-destinations-refresh .popular-destinations-nav.next::before {
  content: "\f054";
  transform: translateX(1px);
}

.popular-destinations-refresh .popular-destinations-nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.popular-destinations-refresh .popular-destinations-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.popular-destinations-refresh .popular-destinations-nav.prev {
  left: -4px;
}

.popular-destinations-refresh .popular-destinations-nav.next {
  right: -4px;
}

/* 移动端适配 */
@media screen and (max-width: 767px) {
  .popular-destinations {
    width: 92%;
    margin: 0px auto 0px;
    padding: 0;
  }

  .popular-destinations-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .popular-destinations-grid-card-featured {
    grid-column: span 1;
    height: 250px;
  }

  .popular-destinations-grid-card {
    height: 220px;
  }

  /* 移动端直接显示所有内容 */
  .popular-destinations-grid-card-content-details {
    max-height: 200px;
    opacity: 1;
  }
}

/* 精选酒店区域样式 */
@media (max-width: 1199px) {
  .popular-destinations-refresh .popular-destinations-grid-card,
  .popular-destinations-refresh .popular-destinations-grid-card-featured {
    flex-basis: calc((100% - 3 * 16px) / 4);
  }
}

@media screen and (max-width: 767px) {
  .popular-destinations.popular-destinations-refresh {
    padding: 22px 0 34px;
    background: transparent;
  }

  .popular-destinations-refresh .popular-destinations-header,
  .popular-destinations-refresh .popular-destinations-grid-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .popular-destinations-refresh .popular-destinations-title {
    font-size: 22px;
  }

  .popular-destinations-refresh .popular-destinations-grid {
    gap: 12px;
  }

  .popular-destinations-refresh .popular-destinations-grid-card,
  .popular-destinations-refresh .popular-destinations-grid-card-featured {
    flex-basis: 168px;
    aspect-ratio: 0.72;
  }

  .popular-destinations-refresh .popular-destinations-nav {
    display: none;
  }
}

.featured-hotels {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 64px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title tabs"
    "grid grid";
  gap: 22px 24px;
}

.featured-hotels-title {
  grid-area: title;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  color: #102a4d;
  line-height: 1.15;
}

.featured-hotels-title::before {
  content: "\f521";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #f1b93b;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
  margin-right: 6px;
}

.featured-hotels-grid {
  grid-area: grid;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  transition: opacity 0.35s ease;
}

.featured-hotels-grid.loading {
  opacity: 0.45;
}

.featured-hotels-grid-card.skeleton {
  background: #fff;
  border: 1px solid #e4ebf3;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(17, 38, 75, 0.08);
  pointer-events: none;
}

.featured-hotels-grid-card.skeleton .featured-hotels-grid-card-image {
  background: #f2f4f7;
}

.skeleton-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #e2e6ec 25%, #f1f4f8 50%, #e2e6ec 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s linear infinite;
  border-radius: 8px;
}

.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, #e2e6ec 25%, #f1f4f8 50%, #e2e6ec 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s linear infinite;
  border-radius: 6px;
}

.skeleton-line.short {
  width: 55%;
}

.skeleton-line.long {
  width: 90%;
}

.skeleton-line.price {
  width: 65%;
  height: 20px;
}

.featured-hotels-grid-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.featured-hotels-grid-card-content .skeleton-line + .skeleton-line {
  margin-top: 6px;
}

@keyframes skeletonShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.featured-hotels-grid-card {
  background: white;
  position: relative;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(17, 38, 75, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  border: 1px solid #e6edf5;
}

.featured-hotels-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(17, 38, 75, 0.12);
  border-color: #d8e3f2;
}

.featured-hotels-grid-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.featured-hotels-grid-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-hotels-grid-card:hover .featured-hotels-grid-card-image img {
  transform: scale(1.05);
}

/* 🌟 图片上的评分标签 */
.featured-hotels-grid-card-image-score {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #2563eb;
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

/* 🌟 图片上的状态标签 */
.featured-hotels-grid-card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #2563eb;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  backdrop-filter: blur(5px);
  z-index: 5;
}

.featured-hotels-grid-card-content {
  min-height: 148px;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.featured-hotels-grid-card-content-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f294d;
  line-height: 1.45;
  min-height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

/* 🌟 地址样式 */
.featured-hotels-grid-card-content-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #6c7b90;
  font-size: 12px;
  line-height: 1.45;
  min-width: 0;
}

.featured-hotels-grid-card-content-address span {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-hotels-grid-card-content-location-icon {
  font-size: 14px;
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 🌟 酒店星级 */
.featured-hotels-grid-card-content-stars {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-bottom: -2px;
}

.hotel-search-list-item-stars-star {
  color: #ffc11c;
  font-size: 12px;
}

/* 🌟 设施标签 */
.featured-hotels-grid-card-content-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}

.amenity-tag {
  font-size: 10px;
  color: #666;
  background: #f5f7fa;
  padding: 2px 8px;
  border-radius: 4px;
}

.amenity-tag.accent {
  color: #ff4757;
  background: rgba(255, 71, 87, 0.08);
}

/* 🌟 卡片底部：评价与价格 */
.featured-hotels-grid-card-content-footer {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 10px;
}

.featured-hotels-grid-card-content-footer-price {
  text-align: right;
  min-width: 0;
}

.price-main {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  color: #2563eb;
  font-weight: 800;
  line-height: 1;
}

.price-amount {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.price-from {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  opacity: 0.88;
  margin-bottom: 2px;
}

/* 响应式适配 */
@media screen and (max-width: 1279px) {
  .featured-hotels {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "tabs"
      "grid";
    gap: 18px;
  }

  .featured-hotels-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .featured-hotels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 900px) {
  .featured-hotels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .featured-hotels {
    width: 92%;
    padding: 0;
  }

  .featured-hotels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .featured-hotels-grid-card-image {
    height: 120px;
  }

  .price-amount {
    font-size: 18px;
  }

  .price-from {
    font-size: 10px;
    margin-bottom: 1px;
  }
}

/* 严选酒店 Tab 样式 */
.featured-hotels-tabs {
  grid-area: tabs;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-self: end;
}

.featured-hotels-tabs::-webkit-scrollbar {
  display: none;
}

.featured-hotels-tab {
  padding: 7px 14px;
  border: 1px solid #d9e3ee;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #5f7087;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.featured-hotels-tab:hover {
  color: #2563eb;
  border-color: #b7cceb;
  background: #f7fbff;
}

.featured-hotels-tab.active {
  color: #2563eb;
  background: #eef5ff;
  border-color: #9ec5ff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

@media screen and (max-width: 767px) {
  .featured-hotels {
    width: 92%;
    padding: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "tabs"
      "grid";
    gap: 18px;
  }

  .featured-hotels-title {
    font-size: 24px;
  }

  .featured-hotels-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-right: -4px;
  }

  .featured-hotels-tab {
    padding: 7px 13px;
    font-size: 12px;
  }

  .featured-hotels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .featured-hotels-grid-card-image {
    height: 190px;
  }

  .featured-hotels-grid-card-content {
    min-height: 0;
  }

  .price-amount {
    font-size: 22px;
  }
}

/* ============================================
   酒店搜索框：手机端全屏面板（目的地 / 人数）
   ============================================ */
@media screen and (max-width: 767px) {

  html.hotel-panel-lock,
  body.hotel-panel-lock {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none !important;
  }

  .hotel-mobile-fullscreen-panel {
    position: fixed;
    inset: 0;
    z-index: 30000;
    background: #f5f6f8;
    display: none;
    flex-direction: column;
  }

  .hotel-mobile-fullscreen-panel.show {
    display: flex;
  }

  /* 顶部栏 */
  .hotel-mobile-panel-header {
    flex: 0 0 auto;
    background: #fff;
    padding: 14px 14px 10px;
    border-bottom: 1px solid #edf0f5;
  }

  .hotel-mobile-panel-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .hotel-mobile-panel-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    color: #183153;
    background: none;
    border: none;
    cursor: pointer;
    user-select: none;
    padding: 0;
  }

  .hotel-mobile-panel-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hotel-mobile-panel-spacer {
    width: 32px;
    flex: 0 0 32px;
  }

  /* 搜索框包装 */
  .hotel-mobile-panel-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
  }

  .hotel-mobile-panel-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0.55;
    pointer-events: none;
  }

  .hotel-mobile-panel-input {
    width: 100%;
    height: 42px;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    background: #fff;
    padding: 0 12px 0 40px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    color: #1a1a2e;
  }

  .hotel-mobile-panel-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(27, 161, 255, 0.12);
  }

  /* 内容区 */
  .hotel-mobile-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    padding: 12px 14px 20px;
  }

  /* 加载占位 */
  .hotel-mobile-panel-loading {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: #999;
  }

  /* 底部确认栏（人数面板） */
  .hotel-mobile-panel-footer {
    flex: 0 0 auto;
    background: #fff;
    border-top: 1px solid #edf0f5;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: center;
  }

  .hotel-mobile-panel-confirm {
    width: 100%;
    max-width: 340px;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
  }

  .hotel-mobile-panel-confirm:active {
    background: #1781cc;
  }

  /* 人数面板：隐藏下拉原来的 header 和 confirm 按钮 */
  .hotel-mobile-panel-guests-content .dropdown-header {
    display: none !important;
  }

  .hotel-mobile-panel-guests-content .dropdown-confirm {
    display: none !important;
  }

  .hotel-mobile-panel-guests-content {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
}


/* ============================================
   酒店搜索框：Litepicker 手机端全屏日历
   使用外壳 wrapper 容器布局，topbar/.litepicker/confirmbar 三者并列
   彻底避免 Litepicker 内部重绘删除自定义 UI 元素的问题
   ============================================ */
@media screen and (max-width: 767px) {

  html.hotel-litepicker-lock {
    overflow: hidden !important;
  }

  body.hotel-litepicker-lock {
    overflow: hidden !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: auto !important;
    width: 100% !important;
  }

  /* 全屏外壳容器 */
  #hotel-litepicker-wrapper {
    display: none;
    /* 默认隐藏，JS 控制 display:flex */
    position: fixed;
    inset: 0;
    z-index: 29000;
    background: #fff;
    flex-direction: column;
    overflow: hidden;
  }

  /* 顶部关闭栏 */
  #hotel-litepicker-wrapper .litepicker-mobile-topbar {
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    border-bottom: 1px solid #e9edf3;
    background: #fff;
  }

  #hotel-litepicker-wrapper .litepicker-mobile-title {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #17325c;
  }

  #hotel-litepicker-wrapper .litepicker-mobile-close,
  #hotel-litepicker-wrapper .litepicker-mobile-topbar-right {
    width: 40px;
    flex: 0 0 40px;
  }

  #hotel-litepicker-wrapper .litepicker-mobile-close {
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 40px;
    color: #17325c;
    padding: 0;
    cursor: pointer;
  }

  /* Litepicker 本体：撑满中间区域，内容可滚动 */
  #hotel-litepicker-wrapper .litepicker {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    position: static !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: auto !important;
  }

  /* 主容器撑满 */
  #hotel-litepicker-wrapper .litepicker .container__main {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    margin-left: 0 !important;
  }

  /* 月历区域可滚动 */
  #hotel-litepicker-wrapper .litepicker .container__months {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 0 !important;
  }

  #hotel-litepicker-wrapper .litepicker .month-item {
    width: 100% !important;
    min-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  #hotel-litepicker-wrapper .litepicker .month-item-header {
    height: 50px !important;
    padding: 0 12px !important;
    border-bottom: 1px solid #f1f3f7 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 18px !important;
    color: #0f2b5b !important;
  }

  #hotel-litepicker-wrapper .litepicker .month-item-weekdays-row {
    width: 100% !important;
    padding: 10px 0 6px !important;
    box-sizing: border-box !important;
  }

  #hotel-litepicker-wrapper .litepicker .month-item-weekdays-row>div {
    font-size: 13px !important;
  }

  #hotel-litepicker-wrapper .litepicker .container__days {
    width: 100% !important;
    padding: 0 0 10px !important;
    box-sizing: border-box !important;
  }

  #hotel-litepicker-wrapper .litepicker .container__days>div,
  #hotel-litepicker-wrapper .litepicker .container__days>a {
    width: 14.2857% !important;
    height: 52px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  #hotel-litepicker-wrapper .litepicker .day-item {
    height: 52px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    line-height: 1 !important;
    position: relative !important;
    border-radius: 6px !important;
  }

  /* 隐藏 Litepicker 原有底部按钮 */
  #hotel-litepicker-wrapper .litepicker .container__footer {
    display: none !important;
  }

}

/* ========================================= */
/* WHY CHOOSE US SECTION                     */
/* ========================================= */
.why-choose-us {
  position: relative;
  padding: 60px 0;
  background-color: #fff;
  border-top: 1px solid #eaeaea;
  overflow: hidden;
}

.why-choose-us-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%;
    max-width: 700px;
    background-image: url(../img/hotel/sofa.jpg);
    background-size: cover;
    background-position: bottom -60px right;
    z-index: 1;
}

/* Gradient fade to blend sofa into white background */
.why-choose-us-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 250px;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}

.why-choose-us-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    z-index: 2;
    padding: 0 20px;
}

.why-choose-us-content {
  width: 80%;
  position: relative;
  z-index: 2;
  /* slight gradient to ensure text readability if it overlaps sofa on smaller screens */
  background: linear-gradient(to right, rgba(255,255,255,1) 80%, rgba(255,255,255,0.6) 95%, rgba(255,255,255,0) 100%);
}

.why-choose-us-title {
  font-size: 26px;
  font-weight: bold;
  color: #102a4d;
  margin-top: 0;
  margin-bottom: 40px;
}

.why-choose-us-grid {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.why-feature {
  flex: 1;
  text-align: center;
  position: relative;
}

/* Vertical dividers */
.why-feature:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background-color: #eee;
}

.why-feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.why-feature-icon {
  color: #fff;
  font-size: 26px;
}

.why-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
}

.why-feature-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .why-choose-us-content {
    width: 100%;
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 8px;
  }
  .why-choose-us-bg {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .why-choose-us-grid {
    flex-wrap: wrap;
  }
  .why-feature {
    flex: 0 0 45%;
    margin-bottom: 30px;
  }
  .why-feature:not(:last-child)::after {
    display: none;
  }
  .why-choose-us-content {
    padding: 20px;
  }
}
