@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* =============================================
   GHOTELSTAYS — MAIN STYLESHEET
   Dark navy theme matching original design
   ============================================= */

:root {
  --navy: #0d1b2e;
  --navy-mid: #112240;
  --navy-card: #162a45;
  --navy-light: #1d3557;
  --gold: #c9a84c;
  --gold-bright: #e8c55a;
  --white: #ffffff;
  --text-light: #a8b8cc;
  --text-muted: #6b8099;
  --green: #22c55e;
  --border: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--white); }

/* Currency */
.currency-wrapper { position: relative; }

.currency-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s;
}

.currency-btn:hover { border-color: rgba(255,255,255,0.4); }

.currency-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-mid);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  min-width: 120px;
  z-index: 2000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.currency-dropdown.open { display: block; }

.currency-option {
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--text-light);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.currency-option:hover { background: var(--navy-light); color: var(--white); }
.currency-option.active { color: var(--white); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1600&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,46,0.3) 0%, rgba(13,27,46,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  width: 100%;
}

.hero-content h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Search Box */
.search-box {
  background: rgba(13, 27, 46, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px 24px 16px;
  text-align: left;
}

.search-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.search-icon { font-size: 1rem; color: var(--text-muted); }

.search-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 1rem;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.search-input-row input::placeholder { color: var(--text-muted); }

.search-filters {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 140px;
}

.filter-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.filter-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.875rem;
  padding: 8px 12px;
  outline: none;
  cursor: pointer;
  flex: 1;
}

.filter-group select option { background: var(--navy-mid); }

.search-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.search-btn:hover { background: var(--gold-bright); transform: translateY(-1px); }

.search-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ===== HOTELS SECTION ===== */
.hotels-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-header h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 700;
}

#hotelCount {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* ===== HOTEL CARD ===== */
.hotel-card {
  background: var(--navy-card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.hotel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.hotel-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.hotel-card-body {
  padding: 18px 20px 20px;
}

.hotel-card-name {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.hotel-card-city {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hotel-card-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.badge-pay {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.25);
}

.badge-cancel {
  background: rgba(34,197,94,0.12);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.25);
}

.hotel-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.hotel-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

.price-night {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hotel-card-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}

.hotel-card-btn:hover { background: var(--gold-bright); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 120px 24px 60px;
  background: linear-gradient(to bottom, var(--navy-mid), var(--navy));
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero-content h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.page-search {
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  color: var(--white);
  font-size: 1rem;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  outline: none;
}

.page-search::placeholder { color: var(--text-muted); }

/* ===== HOTEL DETAIL PAGE ===== */
.hotel-hero {
  position: relative;
  height: 55vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  margin-top: 64px;
}

.hotel-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.hotel-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,46,0.95) 0%, transparent 60%);
}

.hotel-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 36px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 8px;
  color: var(--white);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.875rem;
  padding: 8px 14px;
  cursor: pointer;
  margin-bottom: 24px;
  text-decoration: none;
  transition: background 0.2s;
  position: absolute;
  top: 24px;
  left: 24px;
}

.back-btn:hover { background: rgba(255,255,255,0.2); }

.hotel-hero h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.hotel-hero-city {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.hotel-hero-address {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 14px;
  padding-left: 18px;
}

.hotel-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== DETAIL LAYOUT ===== */
.detail-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}

/* About */
.about-card {
  background: var(--navy-card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 28px;
}

.about-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Amenities */
.amenities-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.amenity-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Rooms */
.rooms-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-card {
  background: var(--navy-card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.room-card:hover { border-color: rgba(201,168,76,0.3); }

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.room-name {
  font-weight: 600;
  font-size: 1rem;
  flex: 1;
  margin-right: 12px;
}

.room-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.room-price-night {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.room-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.room-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.room-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.room-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.room-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== BOOKING PANEL ===== */
.booking-panel {
  background: var(--navy-card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
  position: sticky;
  top: 80px;
}

.booking-price {
  margin-bottom: 20px;
}

.booking-price .amount {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}

.booking-price .night {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.booking-price .subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.booking-field {
  margin-bottom: 14px;
}

.booking-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.booking-field select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.875rem;
  padding: 10px 14px;
  outline: none;
  cursor: pointer;
}

.booking-field select option { background: var(--navy-mid); }

.price-breakdown {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.price-row.total {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-top: 4px;
}

.refund-notice {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--green);
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.select-notice {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 12px;
}

.book-btn {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.book-btn:hover { background: var(--gold-bright); transform: translateY(-1px); }

/* ===== ABOUT PAGE ===== */
.about-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.about-content h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  margin-top: 40px;
}

.about-content h2:first-child { margin-top: 0; }

.about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.promise-card {
  background: var(--navy-card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 22px;
}

.promise-icon { font-size: 1.8rem; margin-bottom: 12px; }

.promise-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.promise-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== FAQ ===== */
.faq-list { margin-bottom: 40px; }

.faq-item {
  background: var(--navy-card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.support-contact {
  background: var(--navy-card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.support-contact h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== NO RESULTS ===== */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

.no-results h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .search-filters { flex-direction: column; }
  .filter-group { width: 100%; }
  .hotels-grid { grid-template-columns: 1fr; }
}

/* ===== SEARCH FILTER BOXES ===== */
.search-filter-box {
  flex: 1;
  min-width: 130px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 14px;
}

.sfb-label {
  font-size: 0.72rem;
  color: #6b8099;
  margin-bottom: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sfb-select {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  width: 100%;
  cursor: pointer;
}

.sfb-select option { background: #112240; }

/* ===== SEARCH DROPDOWN ===== */
.search-dropdown-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #112240;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  z-index: 500;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.search-dropdown-item {
  padding: 12px 18px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.search-dropdown-item:last-child { border-bottom: none; }
.search-dropdown-item:hover { background: rgba(255,255,255,0.06); }

.sdi-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.sdi-city {
  font-size: 0.78rem;
  color: #6b8099;
}

/* ===== ROOM SELECTION ===== */
.room-card {
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.room-card:hover { transform: translateX(3px); }

.room-selected {
  border-color: #c9a84c !important;
  background: rgba(201,168,76,0.08) !important;
}

.room-select-hint {
  font-size: 0.72rem;
  color: #6b8099;
  margin-top: 10px;
  text-align: right;
}

.room-selected .room-select-hint {
  color: #c9a84c;
}

.room-selected .room-select-hint::before {
  content: '✅ ';
}

/* Fix pound sign font in booking panel */
.amount-plain {
  font-size: 2.2rem;
  font-weight: 700;
  color: #c9a84c;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.room-price-plain {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c9a84c;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* ===== CALENDAR ===== */
.date-picker-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.date-picker-btn:hover { border-color: rgba(201,168,76,0.4); }

.calendar-overlay {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #112240;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 16px;
  z-index: 600;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.booking-field { position: relative; }

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

.cal-header button {
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 6px;
  color: #fff;
  width: 28px;
  height: 28px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-header button:hover { background: rgba(255,255,255,0.15); }

.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}

.cal-days-header span {
  text-align: center;
  font-size: 0.7rem;
  color: #6b8099;
  padding: 4px 0;
  font-weight: 600;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cal-day, .cal-empty {
  text-align: center;
  padding: 7px 2px;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cal-day:hover { background: rgba(201,168,76,0.2); color: #c9a84c; }
.cal-past { color: #3a4a5c; cursor: not-allowed; }
.cal-past:hover { background: transparent; color: #3a4a5c; }
.cal-checkin, .cal-checkout { background: #c9a84c; color: #0d1b2e; font-weight: 700; }
.cal-range { background: rgba(201,168,76,0.15); color: #e8c55a; }
.cal-empty { cursor: default; }

.cal-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #a8b8cc;
}

/* ===== CHECKOUT PAGE ===== */
.booking-page {
  margin-top: 64px;
  min-height: calc(100vh - 64px);
  padding: 40px 24px 80px;
  background: #0d1b2e;
}

.checkout-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.back-btn-inline {
  display: inline-flex;
  align-items: center;
  color: #a8b8cc;
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.back-btn-inline:hover { color: #fff; }

.checkout-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  margin-bottom: 32px;
}

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

.checkout-card {
  background: #162a45;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 20px;
}

.checkout-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: #a8b8cc;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.9rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus { border-color: rgba(201,168,76,0.5); }
.form-group input::placeholder { color: #3a4a5c; }

.checkout-note {
  font-size: 0.85rem;
  color: #a8b8cc;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.cancellation-card { }

.cancel-free, .cancel-after, .cancel-info {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 10px;
}

.cancel-free { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); }
.cancel-after { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); }
.cancel-info { background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.2); }

.cancel-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }

.cancel-free strong, .cancel-after strong, .cancel-info strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.cancel-free p, .cancel-after p, .cancel-info p {
  font-size: 0.82rem;
  color: #a8b8cc;
  line-height: 1.5;
  margin: 0;
}

.confirm-btn {
  width: 100%;
  background: #c9a84c;
  color: #0d1b2e;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 4px;
}

.confirm-btn:hover { background: #e8c55a; transform: translateY(-1px); }

/* Summary card */
.summary-card { position: sticky; top: 80px; }

.summary-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}

.summary-card h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.summary-city { font-size: 0.82rem; color: #6b8099; margin-bottom: 14px; }

.summary-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 14px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #a8b8cc;
  margin-bottom: 8px;
}

.summary-row span:last-child { font-weight: 500; color: #fff; text-align: right; max-width: 60%; }

.total-row {
  font-weight: 700;
  color: #fff !important;
  font-size: 1rem !important;
}

.total-row span { color: #c9a84c !important; }

.summary-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #22c55e;
  text-align: center;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 8px;
  padding: 8px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: #112240;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
}

.modal-icon { font-size: 3rem; margin-bottom: 16px; }

.modal-box h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.modal-box p { color: #a8b8cc; font-size: 0.9rem; line-height: 1.6; }

.modal-btn {
  display: inline-block;
  margin-top: 24px;
  background: #c9a84c;
  color: #0d1b2e;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-btn:hover { background: #e8c55a; }

@media (max-width: 860px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; order: -1; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== BIG CALENDAR ===== */
.big-cal-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.big-cal-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.cal-nav-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 8px;
  color: #fff;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cal-nav-btn:hover { background: rgba(201,168,76,0.2); color: #c9a84c; }

.big-cal-month {
  flex: 1;
  min-width: 200px;
}

.big-cal-month-title {
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: #c9a84c;
  margin-bottom: 10px;
}

.cal-confirm-btn {
  background: #c9a84c;
  color: #0d1b2e;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.cal-confirm-btn:hover { background: #e8c55a; }

/* Hero calendar */
.sfb-date-display {
  color: #a8b8cc;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 2px 0;
  transition: color 0.2s;
}

.sfb-date-display:hover { color: #c9a84c; }

.hero-calendar-wrap {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #112240;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  z-index: 700;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  min-width: 500px;
}

.search-filter-box { position: relative; }

/* ===== PHOTO SEARCH DROPDOWN ===== */
.search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}

.search-dropdown-item:last-child { border-bottom: none; }
.search-dropdown-item:hover { background: rgba(255,255,255,0.06); }

.sdi-img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.sdi-info { flex: 1; }

.sdi-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.sdi-city {
  font-size: 0.75rem;
  color: #6b8099;
}

@media (max-width: 600px) {
  .hero-calendar-wrap { min-width: 300px; }
  .big-cal-wrap { flex-direction: column; }
}

/* ===== CALENDAR OVERFLOW FIX ===== */
.search-box { overflow: visible !important; }
.hero-content { overflow: visible !important; }
.hero { overflow: visible !important; }

.hero-calendar-wrap {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #0d1b2e;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 16px;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 24px 60px rgba(0,0,0,0.8);
  min-width: 560px;
  max-height: 80vh;
  overflow-y: auto;
}

.calendar-overlay {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #0d1b2e;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 14px;
  padding: 16px;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
  min-width: 480px;
}

/* Single tap — show instruction */
.cal-day-label {
  font-size: 0.72rem;
  color: #c9a84c;
  text-align: center;
  margin-bottom: 8px;
}

/* Make cal-grid days bigger and easier to tap */
.cal-day {
  padding: 9px 2px;
  font-size: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}

.cal-day:hover:not(.cal-past) {
  background: rgba(201,168,76,0.25);
  color: #c9a84c;
}

/* Calendar instruction bar */
.cal-instruction {
  text-align: center;
  font-size: 0.85rem;
  color: #a8b8cc;
  padding: 8px 0 12px;
  font-weight: 500;
}

/* Ensure hotels always show even without images */
.hotel-card-img {
  background: #162a45;
  min-height: 200px;
}
