* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}

/* App Layout */
.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.content-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
  margin-top: 0;
}

.content-left {
  min-width: 0;
}

.content-right {
  position: relative;
  margin-top: 20px;
}

@media (max-width: 1100px) {
  .content-layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 0;
  }
  
  .content-right {
    order: -1;
    margin-bottom: 0;
    position: relative;
  }
}

/* Header — hotel identity bar */
.header {
  background-color: #f7f5f2;
  border-bottom: 1px solid #d8d2c8;
  padding: 24px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.header-hotel {
  min-width: 0;
  flex: 1;
}

.header-hotel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}

.header-hotel-name {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: #1c1917;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.header-hotel-name-link {
  color: inherit;
  text-decoration: none;
}

.header-hotel-name-link:hover {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-stars {
  display: flex;
  gap: 2px;
}

.header-stars .star {
  color: #c9971a;
  font-size: 18px;
  line-height: 1;
}

.header-hotel-address {
  margin: 10px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 15px;
  color: #6b635a;
  line-height: 1.45;
}

.header-pin {
  flex-shrink: 0;
  margin-top: 2px;
  color: #9a9186;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  padding-top: 0;
}

.header-bookings-link {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #d0c9bf;
  border-radius: 6px;
  background: #fff;
  color: #3f3a34;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.header-bookings-link:hover {
  border-color: #b8aea2;
  color: #1c1917;
  background: #fffefb;
}

/* Hotel Hero */
.hotel-hero {
  background-color: #fff;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 24px 24px;
}

.hotel-info {
  margin-bottom: 0;
}

.hotel-name {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: #ffb400;
  font-size: 18px;
  line-height: 1;
}

.rating-text {
  font-size: 15px;
  color: #666;
  font-weight: 500;
}

.address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.address-icon {
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.hero-image-section {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 0;
  margin-bottom: 0;
}

.images-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 8px;
  height: 320px;
}

.main-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.main-image-container a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.main-image-container:hover .main-image {
  transform: scale(1.05);
}

.small-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  align-items: start;
}

.small-image-item {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  cursor: pointer;
}

.small-image-item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.small-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.small-image-item:hover .small-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 1;
  pointer-events: none; /* 让点击事件穿透到下面的链接 */
}

.small-image-item:hover .image-overlay {
  background-color: rgba(0, 0, 0, 0.6);
}

.overlay-text {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* Navigation Tabs */
.navigation-tabs {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.tabs-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
}

.tab {
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  position: relative;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  margin-bottom: -2px;
  text-decoration: none;
  display: inline-block;
}

.tab:hover {
  color: #1a73e8;
}

.tab.active {
  color: #1a73e8;
  font-weight: 600;
  border-bottom-color: #1a73e8;
  border-bottom-width: 2px;
}

/* Rooms Section */
.rooms-section {
  padding: 40px 0;
  background-color: #fff;
}

.section-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.rooms-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.room-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  margin-bottom: 0;
  overflow: hidden;
}

.room-type-title {
  grid-column: 1 / -1;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  padding: 0;
}

/* 左侧容器 - 图片和基本信息 */
.room-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.room-image-container {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.room-image-link {
  display: block;
  position: relative;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.room-image-link:hover .room-image {
  opacity: 0.92;
}

.room-image--empty {
  background: #f0f0f0;
  height: 180px;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.room-amenities .amenity {
  display: inline-block;
  padding: 4px 0;
}

.room-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.photo-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.room-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 400px;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.rooms-empty-banner {
  margin: 0 0 20px;
  padding: 18px 20px;
  background: #faf7f2;
  border: 1px solid #e5ddd0;
  border-radius: 8px;
}

.rooms-empty-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #1c1917;
}

.rooms-empty-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6b635a;
}

.room-card--unavailable {
  opacity: 0.92;
}

.room-unavailable {
  padding: 16px 18px;
  background: #f8f6f3;
  border: 1px dashed #d8d2c8;
  border-radius: 8px;
}

.room-unavailable-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #5c564e;
}

.room-unavailable-text {
  margin: 0;
  font-size: 13px;
  color: #8a8278;
  line-height: 1.4;
}

.availability-empty {
  margin-bottom: 10px;
  padding: 12px 14px 14px;
  border-bottom: 1px solid #e0e0e0;
}

.availability-empty-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #1c1917;
  line-height: 1.25;
}

.availability-empty-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6b635a;
}

.price-checking {
  font-size: 18px;
  font-weight: 600;
  color: #6b635a;
}

.room-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.room-option {
  display: block;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.room-option:hover {
  border-color: #1a73e8;
  background-color: #f8f9fa;
}

.room-option:has(input:checked) {
  border-color: #1a73e8;
  background-color: #e8f0fe;
}

.option-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.option-label {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
}

.option-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}

.option-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.option-info > * {
  min-width: 0;
}

.inclusions {
  font-size: 14px;
  color: #666;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 三列信息展示 */
.rate-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.feature-item:empty {
  display: none;
}

/* 入住人数 */
.occupancy-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.occupancy-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

/* 早餐包含信息 - 绿色文字 */
.breakfast-included {
  color: #0f9d58;
  font-weight: 500;
}

/* 剩余房间数 */
.low-stock {
  color: #d93025;
  font-weight: 500;
}

/* 免费取消通知 */
.free-cancel-notice {
  font-size: 13px;
  color: #0f9d58;
  font-weight: 500;
  margin-top: 4px;
}

/* 隐藏超过 5 个的房价选项 */
.room-option.rate-hidden {
  display: none;
}

/* 显示更多房价按钮 */
.show-more-rates {
  display: block;
  width: 100%;
  padding: 12px 16px;
  margin-top: 16px;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #1a73e8;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.show-more-rates:hover {
  background-color: #e8f0fe;
  border-color: #1a73e8;
}

/* 当所有房价都显示时，隐藏按钮 */
.show-more-rates.all-shown {
  display: none;
}

.occupancy {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #666;
}

.bed-icon {
  font-size: 16px;
}

.price-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.total-price {
  font-size: 12px;
  color: #666;
}

.price-unit-hint {
  font-size: 12px;
  color: #666;
  line-height: 1.2;
}

.more-details {
  color: #1a73e8;
  text-decoration: none;
  font-size: 14px;
}

.more-details:hover {
  text-decoration: underline;
}

/* About Section */
.about-section {
  padding: 40px 0;
  background-color: #fff;
}

.about-content {
  max-width: 800px;
}

.description {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 18px;
}

.description:last-child {
  margin-bottom: 0;
}

/* Facilities Section */
.facilities-section {
  padding: 40px 0;
  background-color: #fff;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.facility-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.facility-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

.facility-name {
  font-size: 16px;
  color: #333;
  text-align: center;
}

/* Policies Section */
.policies-section {
  padding: 40px 0;
  background-color: #fff;
}

.policies-content {
  max-width: 800px;
}

.policy-item {
  margin-bottom: 24px;
}

.policy-label {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.policy-value {
  font-size: 16px;
  color: #666;
}

.important-info {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
}

.info-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.info-text {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

/* Location Section */
.location-section {
  padding: 40px 0;
  background-color: #fff;
}

.location-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #f5f5f5;
}

.google-map-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-unavailable {
  margin: 0;
  color: #888;
  font-size: 14px;
}

.address-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.maps-external-link {
  font-size: 14px;
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
  width: fit-content;
}

.maps-external-link:hover {
  text-decoration: underline;
}

.zoom-btn {
  width: 32px;
  height: 32px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-btn:hover {
  background-color: #f5f5f5;
}

.address-info {
  padding: 16px 0;
}

.address-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Booking Widget */
.booking-widget {
  background-color: rgba(250, 250, 250, 0.95);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 90px;
  width: 100%;
  transition: all 0.3s ease;
}

.booking-widget.is-sticky {
  position: fixed;
  top: 10px;
  z-index: 100;
  max-width: 360px;
}

@media (min-width: 1248px) {
  .booking-widget.is-sticky {
    right: calc((100% - 1200px) / 2 + 24px);
  }
}

@media (max-width: 1247px) and (min-width: 769px) {
  .booking-widget.is-sticky {
    right: 24px;
  }
}

.booking-widget.is-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  padding: 10px;
}

.price-info {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.price-label {
  font-size: 13px;
  color: #666;
  display: block;
  margin-bottom: 6px;
  text-transform: none;
}

.booking-widget .price {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.price-unit {
  font-size: 14px;
  font-weight: 400;
  color: #666;
}

.price-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Price Summary */
.price-summary {
  margin: 0;
  padding: 16px;
  background-color: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.summary-room-name {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.summary-base-price {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.summary-taxes,
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
}

.summary-total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
  font-weight: 600;
}

.summary-label {
  color: #666;
}

.summary-value {
  color: #1a1a1a;
  font-weight: 500;
}

.summary-total .summary-value {
  font-weight: 700;
  font-size: 16px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.date-range-group {
  position: relative;
}

.date-range-container {
  display: flex;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.date-range-container:hover {
  border-color: #1a73e8;
}

.date-field-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  position: relative;
}

.field-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
}

.date-display {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  min-height: 20px;
  line-height: 1.4;
  padding-bottom: 2px;
}

.date-separator {
  width: 1px;
  background-color: #e0e0e0;
  margin: 8px 0;
}

.travelers-group {
  position: relative;
}

.travelers-container {
  display: flex;
  flex-direction: column;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  padding: 8px 12px;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.travelers-container:hover {
  border-color: #1a73e8;
}

.travelers-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.dropdown-icon {
  font-size: 10px;
  color: #666;
  transition: transform 0.2s;
}

.travelers-container.active .dropdown-icon {
  transform: rotate(180deg);
}

/* Travelers Dropdown */
.travelers-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  padding: 16px;
  z-index: 1000;
  display: none;
  min-width: 280px;
}

.travelers-dropdown.show {
  display: block;
  animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.traveler-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.traveler-option:last-of-type {
  border-bottom: none;
  margin-bottom: 8px;
}

.children-ages {
  padding: 4px 0 12px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 8px;
}

.child-age-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 12px;
}

.child-age-row label {
  font-size: 13px;
  color: #555;
}

.child-age-row select {
  min-width: 88px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  background: #fff;
}

.traveler-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.traveler-name {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

.traveler-age {
  font-size: 12px;
  color: #999;
}

.counter-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d0d0d0;
  background-color: #fff;
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}

.counter-btn:hover:not(:disabled) {
  background-color: #e8f0fe;
  border-color: #1a73e8;
  color: #1a73e8;
}

.counter-btn:disabled {
  background-color: #f5f5f5;
  border-color: #e0e0e0;
  color: #ccc;
  cursor: not-allowed;
}

.counter-value {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  min-width: 24px;
  text-align: center;
}

.travelers-done-btn {
  width: 100%;
  padding: 12px;
  background-color: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 8px;
}

.travelers-done-btn:hover {
  background-color: #1557b0;
}

.select-room-btn {
  width: 100%;
  padding: 14px;
  background-color: #e8f0fe;
  color: #333;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 4px;
  transition: background-color 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.select-room-btn:hover:not(:disabled) {
  background-color: #d2e3fc;
}

.select-room-btn.disabled,
.select-room-btn:disabled {
  background-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

.select-room-btn:not(.disabled):not(:disabled) {
  background-color: #1a73e8;
  color: #fff;
}

.select-room-btn:not(.disabled):not(:disabled):hover {
  background-color: #1557b0;
}

.arrow-icon {
  font-size: 16px;
  font-weight: 600;
}

/* Flatpickr Styles */
.flatpickr-calendar {
  z-index: 1000;
}

.flatpickr-months {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  cursor: pointer;
  color: #1a1a1a;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  color: #1a73e8;
}

/* Footer */
.footer {
  background-color: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  padding: 48px 0 24px 0;
  margin-top: 64px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: #1a73e8;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.footer-link:hover {
  color: #1a73e8;
  text-decoration: underline;
}

/* My bookings / find order */
.find-order-main {
  padding: 48px 20px;
  max-width: 520px;
  margin: 0 auto;
  min-height: 50vh;
}

.find-order-card {
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
  padding: 32px 28px;
}

.find-order-title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  color: #1c1917;
  letter-spacing: -0.02em;
}

.find-order-lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
  color: #6b635a;
}

.find-order-error {
  margin: 0 0 20px;
  padding: 12px 14px;
  background: #fdf2f0;
  border: 1px solid #f0c9c2;
  border-radius: 6px;
  color: #8a2e1f;
  font-size: 14px;
  line-height: 1.45;
}

.find-order-form {
  display: flex;
  flex-direction: column;
}

.find-order-label {
  font-size: 13px;
  font-weight: 600;
  color: #3f3a34;
  margin: 0 0 6px;
}

.find-order-label + .find-order-input {
  margin-bottom: 16px;
}

.find-order-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  font-size: 15px;
  border: 1px solid #d0c9bf;
  border-radius: 6px;
  color: #1c1917;
  background: #fff;
}

.find-order-input:focus {
  outline: none;
  border-color: #9a9186;
  box-shadow: 0 0 0 3px rgba(154, 145, 134, 0.18);
}

.find-order-submit {
  margin-top: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #1a73e8;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.find-order-submit:hover {
  background: #1557b0;
}

.find-order-hint {
  margin: 20px 0 0;
  font-size: 13px;
  color: #8a8278;
  line-height: 1.45;
}

.payment-methods {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.payment-icon {
  font-size: 32px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.newsletter-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

.newsletter-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-btn {
  padding: 12px 24px;
  background-color: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.newsletter-btn:hover {
  background-color: #1557b0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.copyright {
  font-size: 14px;
  color: #666;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  font-size: 20px;
  color: #666;
  text-decoration: none;
}

.social-icon:hover {
  color: #1a73e8;
}

/* Responsive styles for travelers dropdown */
@media (max-width: 768px) {
  .travelers-dropdown {
    left: -16px;
    right: -16px;
    min-width: auto;
  }
}

/* Responsive Styles */
@media (max-width: 1100px) {
  .room-card {
    grid-template-columns: 1fr;
  }

  .room-type-title {
    grid-column: 1;
  }

  .room-left {
    margin-bottom: 16px;
  }

  .room-details {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 18px 0;
  }

  .header-container {
    padding: 0 16px;
    align-items: flex-start;
    gap: 12px;
  }

  .header-hotel-name {
    font-size: 22px;
  }

  .header-stars .star {
    font-size: 15px;
  }

  .header-hotel-address {
    margin-top: 8px;
    font-size: 13px;
  }
  
  .header-right {
    gap: 12px;
    padding-top: 2px;
  }

  .header-bookings-link {
    padding: 6px 10px;
    font-size: 13px;
  }
  
  .hero-container {
    padding: 24px 16px 20px 16px;
  }
  
  .hero-image-section {
    padding: 16px 16px 0;
  }
  
  .hotel-name {
    font-size: 26px;
  }
  
  .images-grid {
    height: 240px;
    gap: 6px;
  }
  
  .small-images-grid {
    gap: 6px;
  }
  
  .overlay-text {
    font-size: 14px;
  }
  
  .tabs-container {
    padding: 0;
    gap: 16px;
    overflow-x: auto;
  }
  
  .tab {
    font-size: 14px;
    white-space: nowrap;
  }
  
  .rooms-section {
    padding: 32px 0;
  }
  
  .room-card {
    padding: 16px;
    gap: 16px;
  }
  
  .room-options {
    gap: 12px;
  }

  .room-option {
    padding: 12px;
  }

  /* 移动端响应式 - 三列改为单列 */
  .rate-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-item {
    font-size: 12px;
  }

  .free-cancel-notice {
    font-size: 12px;
  }

  .about-section {
    padding: 32px 0;
  }
  
  .description {
    font-size: 14px;
  }
  
  .facilities-section {
    padding: 32px 0;
  }
  
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .policies-section {
    padding: 32px 0;
  }
  
  .location-section {
    padding: 32px 0;
  }
  
  .map-container {
    height: 300px;
  }
  
  .booking-widget {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  }
  
  .booking-widget.is-sticky {
    position: fixed;
    bottom: 0;
    top: auto;
    right: 0;
    max-width: 100%;
  }
  
  .footer {
    padding: 32px 0 16px 0;
  }
  
  .footer-container {
    padding: 0 16px;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* Checkout Page Styles */
.checkout-main {
  background-color: #f5f5f5;
  min-height: calc(100vh - 200px);
  padding: 40px 0;
}

.checkout-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.checkout-container {
  background-color: #fff;
  border-radius: 8px;
  padding: 32px;
}

.checkout-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 32px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

.checkout-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.checkout-right {
  position: sticky;
  top: 100px;
}

.checkout-section {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

/* Checkout Summary */
.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hotel-info-card {
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.hotel-info-card .hotel-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.hotel-info-card .hotel-address {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.room-info-card {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.room-image-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.room-image-wrapper .room-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-details-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.room-details-wrapper .room-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.room-details-wrapper .room-inclusions {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.room-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #666;
}

.dates-info {
  display: flex;
  gap: 32px;
}

.date-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.date-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
}

.date-value {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

/* Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 5px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-input {
  padding: 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a1a;
  transition: border-color 0.2s;
  background-color: #fff;
}

.form-input:focus {
  outline: none;
  border-color: #1a73e8;
}

.form-input.error {
  border-color: #d32f2f;
}

.form-input.error:focus {
  border-color: #d32f2f;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.1);
}

.form-input::placeholder {
  color: #999;
}

.error-message {
  display: none;
  color: #d32f2f;
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.4;
}

.error-message.show {
  display: block;
}

/* Guest Info Form */
.guest-info-section {
  margin-top: 0;
}

.room-guest-row {
  margin-bottom: 24px;
}

.room-guest-row:last-child {
  margin-bottom: 0;
}

.room-guest-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
}

/* Contact Info Form */
.contact-info-section {
  margin-top: 24px;
}

/* Payment Form */
.payment-section {
  margin-top: 24px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background-color: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 8px;
}

.submit-btn:hover {
  background-color: #1557b0;
}

.submit-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Order Summary */
.order-summary-card {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.summary-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.price-label {
  color: #666;
}

.price-value {
  color: #1a1a1a;
  font-weight: 500;
}

.price-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 2px solid #e0e0e0;
}

.total-label {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.total-value {
  font-size: 24px;
  font-weight: 700;
  color: #1a73e8;
}

.confirm-pay-btn {
  width: 100%;
  padding: 16px;
  background-color: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 24px;
}

.confirm-pay-btn:hover {
  background-color: #1557b0;
}

.confirm-pay-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Responsive Styles for Checkout */
@media (max-width: 1100px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .checkout-left {
    order: -1;
  }
  
  .checkout-right {
    position: relative;
    top: 0;
  }
  
  .order-summary-card {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .checkout-main {
    padding: 24px 0;
  }
  
  .checkout-page {
    padding: 0 16px;
  }
  
  .checkout-container {
    padding: 24px 16px;
  }
  
  .checkout-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  .checkout-section {
    padding: 20px;
  }
  
  .section-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .room-info-card {
    flex-direction: column;
  }
  
  .room-image-wrapper {
    width: 100%;
    height: 200px;
  }
  
  .dates-info {
    flex-direction: column;
    gap: 16px;
  }
}


/* Legal / Help pages */
.legal-page {
  padding: 40px 20px 64px;
  background: #fafafa;
  min-height: 50vh;
}

.legal-container {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 32px 36px 40px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.legal-title {
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.legal-updated {
  font-size: 13px;
  color: #888;
  margin: 0 0 28px;
}

.legal-body h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: #222;
}

.legal-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 8px;
  color: #333;
}

.legal-body p,
.legal-body li {
  font-size: 15px;
  line-height: 1.65;
  color: #444;
  margin: 0 0 12px;
}

.legal-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-body a {
  color: #1a73e8;
}

@media (max-width: 640px) {
  .legal-container {
    padding: 24px 20px;
  }
}
