/* CI Trip - Next-Gen Modern OTA Stylesheet (Chandra Innovate Theme) */
:root {
  --ci-green: #218141;
  --ci-green-dark: #123c28;
  --ci-green-light: #edf6f0;
  --ci-orange: #f18a19;
  --ci-orange-hover: #d9780e;
  --ci-orange-light: #fff5ea;
  --ci-blue: #2869aa;
  --ci-blue-light: #ebf3fb;
  --ci-bg: #f8f7f3;
  --ci-surface: #ffffff;
  --ci-text-main: #14281e;
  --ci-text-muted: #5e6f64;
  --ci-text-light: #89988e;
  --ci-border: #e2e8df;
  --ci-border-light: #edf1ea;
  --ci-shadow-sm: 0 4px 12px rgba(18, 60, 40, 0.05);
  --ci-shadow-md: 0 10px 28px rgba(18, 60, 40, 0.08);
  --ci-shadow-lg: 0 20px 48px rgba(18, 60, 40, 0.12);
  --ci-radius-sm: 8px;
  --ci-radius-md: 14px;
  --ci-radius-lg: 22px;
  --ci-radius-full: 9999px;
  --ci-font-sans: 'DM Sans', 'Manrope', -apple-system, sans-serif;
  --ci-font-serif: 'Playfair Display', Georgia, serif;
}

/* Page Base */
.stay-page {
  max-width: 1260px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  color: var(--ci-text-main);
  font-family: var(--ci-font-sans);
}

/* Hero Section & Category Selector */
.stay-hero {
  border-radius: var(--ci-radius-lg);
  padding: 44px 40px;
  background: linear-gradient(135deg, rgba(18, 60, 40, 0.95), rgba(33, 129, 65, 0.85)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1800&q=85') center/cover;
  color: #fff;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--ci-shadow-md);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.stay-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at top right, rgba(241, 138, 25, 0.25), transparent 60%);
  pointer-events: none;
}
.stay-hero .eyebrow {
  color: var(--ci-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stay-hero h1 {
  font-family: var(--ci-font-serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 10px;
  max-width: 720px;
}
.stay-hero p {
  color: #e4ece7;
  font-size: 15px;
  margin: 0 0 24px;
}

/* Category Tabs (Like Modern OTAs) */
.ci-category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.ci-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: var(--ci-radius-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.ci-cat-tab:hover, .ci-cat-tab.active {
  background: #fff;
  color: var(--ci-green-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* Floating Search Widget */
.stay-search {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr auto;
  gap: 10px;
  background: #fff;
  padding: 14px 16px;
  border-radius: var(--ci-radius-md);
  box-shadow: var(--ci-shadow-lg);
  border: 1px solid rgba(255,255,255,0.8);
  position: relative;
  z-index: 10;
}
.stay-search > div {
  padding: 4px 10px;
  border-right: 1px solid var(--ci-border);
}
.stay-search > div:nth-last-child(2) {
  border-right: none;
}
.stay-search label {
  display: block;
  color: var(--ci-text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.stay-search input, .stay-search select {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--ci-text-main);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--ci-font-sans);
  outline: none;
  padding: 2px 0;
}
.stay-search button, .stay-btn {
  border: none;
  border-radius: var(--ci-radius-sm);
  padding: 14px 28px;
  background: var(--ci-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.stay-search button:hover, .stay-btn:hover {
  background: var(--ci-orange-hover);
  transform: translateY(-1px);
}
.stay-btn-outline {
  background: transparent;
  color: var(--ci-green);
  border: 1.5px solid var(--ci-green);
}
.stay-btn-outline:hover {
  background: var(--ci-green-light);
  color: var(--ci-green-dark);
}
.stay-btn-sm {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: var(--ci-radius-sm);
}

/* 2-Column Listing Layout */
.stay-listing-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  margin-top: 24px;
  align-items: start;
}

/* Filter Sidebar */
.stay-filter-sidebar {
  background: #fff;
  border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius-md);
  padding: 20px;
  box-shadow: var(--ci-shadow-sm);
  position: sticky;
  top: 20px;
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ci-border-light);
  margin-bottom: 16px;
}
.filter-header h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}
.filter-header a {
  color: var(--ci-green);
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
}
.filter-group {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ci-border-light);
}
.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.filter-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ci-text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ci-text-muted);
  cursor: pointer;
}
.filter-checkbox input[type="checkbox"], .filter-checkbox input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--ci-green);
  cursor: pointer;
}
.star-btn-group {
  display: flex;
  gap: 6px;
}
.star-btn {
  flex: 1;
  padding: 6px 0;
  border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius-sm);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: var(--ci-text-muted);
  cursor: pointer;
  text-align: center;
}
.star-btn.active, .star-btn:hover {
  background: var(--ci-green-light);
  border-color: var(--ci-green);
  color: var(--ci-green-dark);
}

/* Listing Results Header */
.listing-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.listing-results-header h2 {
  font-family: var(--ci-font-serif);
  font-size: 26px;
  font-weight: 600;
  margin: 0;
}
.listing-results-header p {
  color: var(--ci-text-muted);
  font-size: 13px;
  margin: 4px 0 0;
}
.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ci-text-muted);
}
.sort-dropdown select {
  padding: 8px 12px;
  border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius-sm);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ci-text-main);
  outline: none;
}

/* Horizontal Hotel Cards (Modern OTA Design) */
.stay-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hotel-card {
  display: grid;
  grid-template-columns: 290px 1fr 220px;
  background: #fff;
  border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius-md);
  overflow: hidden;
  box-shadow: var(--ci-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hotel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ci-shadow-md);
  border-color: #c9d8c7;
}

/* Card Media / Image */
.hotel-card-media {
  position: relative;
  height: 100%;
  min-height: 220px;
}
.hotel-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hotel-media-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(18, 60, 40, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hotel-star-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  color: var(--ci-orange);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Card Center Details */
.hotel-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--ci-border-light);
}
.hotel-card-title-group h3 {
  font-family: var(--ci-font-serif);
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 6px;
}
.hotel-card-title-group h3 a {
  color: var(--ci-text-main);
  text-decoration: none;
  transition: color 0.15s;
}
.hotel-card-title-group h3 a:hover {
  color: var(--ci-green);
}
.hotel-location-text {
  font-size: 12px;
  color: var(--ci-text-muted);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hotel-pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.hotel-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--ci-green-light);
  color: var(--ci-green-dark);
}
.hotel-pill.pill-orange {
  background: var(--ci-orange-light);
  color: var(--ci-orange-hover);
}
.hotel-pill.pill-blue {
  background: var(--ci-blue-light);
  color: var(--ci-blue);
}
.hotel-amenities-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--ci-text-muted);
}
.hotel-amenity-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Card Right Price Column */
.hotel-card-pricing {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fdfdfc;
  text-align: right;
}
.hotel-rating-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.rating-score {
  background: var(--ci-green);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
}
.rating-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ci-green-dark);
  text-align: right;
}
.rating-count {
  font-size: 10px;
  color: var(--ci-text-light);
  display: block;
}
.price-box {
  margin-top: auto;
}
.price-strike {
  font-size: 12px;
  color: var(--ci-text-light);
  text-decoration: line-through;
}
.price-current {
  font-size: 26px;
  font-weight: 800;
  color: #16a34a !important;
  line-height: 1;
  margin: 3px 0;
}
.price-unit {
  font-size: 11px;
  color: var(--ci-text-muted);
  font-weight: 400;
}
.price-tax {
  font-size: 11px;
  color: var(--ci-text-muted);
  margin-top: 4px;
}
.hotel-card-pricing .stay-btn {
  margin-top: 14px;
  width: 100%;
}

/* ============================================================
   DEDICATED HOTEL DETAILS PAGE (hotel.php)
============================================================ */
.stay-detail-container {
  margin-top: 16px;
}
.hotel-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.hotel-header-left h1 {
  font-family: var(--ci-font-serif);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  margin: 6px 0 8px;
}
.hotel-stars {
  color: var(--ci-orange);
  font-size: 14px;
  margin-right: 6px;
}
.hotel-detail-address {
  color: var(--ci-text-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hotel-header-actions {
  display: flex;
  gap: 10px;
}

/* MakeMyTrip-Grade Photo Gallery Grid */
.hotel-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  height: 440px;
  border-radius: var(--ci-radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}
.gallery-hero-photo {
  height: 100%;
  position: relative;
  cursor: pointer;
}
.gallery-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-hero-photo:hover img {
  transform: scale(1.02);
}
.gallery-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 100%;
}
.gallery-sub-photo {
  position: relative;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}
.gallery-sub-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-sub-photo:hover img {
  transform: scale(1.03);
}
.gallery-more-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(18, 60, 40, 0.7);
  backdrop-filter: blur(3px);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s;
}
.gallery-more-overlay:hover {
  background: rgba(18, 60, 40, 0.85);
}

/* Sticky Sub-Navbar */
.hotel-subnav {
  display: flex;
  gap: 24px;
  border-bottom: 2px solid var(--ci-border);
  margin-bottom: 30px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0 0;
}
.hotel-subnav a {
  padding-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ci-text-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s;
}
.hotel-subnav a:hover, .hotel-subnav a.active {
  color: var(--ci-green);
  border-color: var(--ci-green);
}

/* Layout for Hotel Content & Sticky Booking Box */
.hotel-body-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

/* Section Containers */
.hotel-section {
  background: #fff;
  border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius-md);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--ci-shadow-sm);
}
.hotel-section h2 {
  font-family: var(--ci-font-serif);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ci-border-light);
}

/* Amenities Grid */
.amenities-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.amenity-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ci-text-main);
  padding: 10px 14px;
  background: var(--ci-bg);
  border-radius: var(--ci-radius-sm);
}
.amenity-chip svg {
  color: var(--ci-green);
  flex-shrink: 0;
}

/* ============================================================
   DEDICATED ROOM CARDS (Like Modern Premium OTAs)
============================================================ */
.hotel-rooms-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.room-card-premium {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  border: 1.5px solid var(--ci-border);
  border-radius: var(--ci-radius-md);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
}
.room-card-premium:hover {
  border-color: #a7cca4;
}
.room-media-box {
  position: relative;
  height: 100%;
  min-height: 200px;
}
.room-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.room-view-photos-btn {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(18, 60, 40, 0.9);
  color: #fff;
  border: none;
  padding: 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.room-info-box {
  padding: 20px;
  border-right: 1px solid var(--ci-border-light);
}
.room-info-box h3 {
  font-family: var(--ci-font-serif);
  font-size: 20px;
  margin: 0 0 10px;
}
.room-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ci-text-muted);
  margin-bottom: 14px;
}
.room-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.room-inclusions-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.room-inclusions-list li {
  font-size: 13px;
  color: #274b33;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.room-inclusions-list li::before {
  content: '✓';
  color: var(--ci-green);
  font-weight: 800;
}
.room-actions-box {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fbfcf9;
  text-align: right;
}
.room-rate-highlight {
  font-size: 24px;
  font-weight: 800;
  color: var(--ci-green-dark);
}
.room-free-cancel {
  color: var(--ci-green);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Room Details Modal / Drawer */
.ci-modal-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(14, 38, 25, 0.6);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ci-modal-overlay.is-active {
  display: flex;
}
.ci-modal-dialog {
  background: #fff;
  border-radius: var(--ci-radius-md);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  position: relative;
}
.ci-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ci-border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}
.ci-modal-header h3 {
  font-family: var(--ci-font-serif);
  font-size: 22px;
  margin: 0;
}
.ci-modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ci-text-muted);
}
.ci-modal-body {
  padding: 24px;
}
.room-modal-gallery {
  height: 320px;
  border-radius: var(--ci-radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.room-modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sticky Booking Summary Sidebar Box */
.stay-booking-sticky-card {
  background: #fff;
  border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius-md);
  padding: 24px;
  box-shadow: var(--ci-shadow-sm);
  position: sticky;
  top: 80px;
}
.sticky-card-price-header {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ci-border-light);
}
.sticky-card-price-header small {
  font-size: 12px;
  color: var(--ci-text-muted);
}
.sticky-card-price-header h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--ci-green-dark);
  margin: 4px 0 0;
}

/* ============================================================
   BOOKING & CHECKOUT (hotel-book.php)
============================================================ */
.checkout-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  margin-top: 24px;
  align-items: start;
}
.checkout-main-panel {
  background: #fff;
  border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius-md);
  padding: 30px;
  box-shadow: var(--ci-shadow-sm);
}
.checkout-steps {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.checkout-step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ci-text-muted);
}
.checkout-step-indicator.active {
  color: var(--ci-green);
}
.checkout-step-indicator span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ci-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.checkout-step-indicator.active span {
  background: var(--ci-green);
  color: #fff;
}
.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field-full {
  grid-column: 1 / -1;
}
.checkout-form-grid label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ci-text-main);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.checkout-form-grid input, .checkout-form-grid textarea, .checkout-form-grid select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ci-border);
  border-radius: var(--ci-radius-sm);
  font-size: 14px;
  font-family: var(--ci-font-sans);
  color: var(--ci-text-main);
  outline: none;
  background: #fafbfa;
}
.checkout-form-grid input:focus, .checkout-form-grid textarea:focus {
  border-color: var(--ci-green);
  background: #fff;
}
.payment-selector-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}
.payment-option-card {
  border: 2px solid var(--ci-border);
  border-radius: var(--ci-radius-sm);
  padding: 16px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all 0.2s;
}
.payment-option-card.active, .payment-option-card:hover {
  border-color: var(--ci-green);
  background: var(--ci-green-light);
}
.payment-option-card input {
  margin-top: 3px;
  accent-color: var(--ci-green);
}

/* Booking Summary Card */
.checkout-summary-card {
  background: #fff;
  border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius-md);
  padding: 24px;
  box-shadow: var(--ci-shadow-sm);
  position: sticky;
  top: 24px;
}
.summary-hotel-header {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ci-border-light);
  margin-bottom: 16px;
}
.summary-hotel-header img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}
.summary-hotel-header h4 {
  font-family: var(--ci-font-serif);
  font-size: 17px;
  margin: 0 0 4px;
}
.summary-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ci-text-muted);
  margin-bottom: 10px;
}
.summary-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  color: var(--ci-green-dark);
  padding-top: 14px;
  border-top: 2px dashed var(--ci-border);
  margin-top: 14px;
}
.coupon-input-group {
  display: flex;
  gap: 6px;
  margin: 16px 0;
}
.coupon-input-group input {
  flex: 1;
  padding: 10px 12px;
  border: 1px dashed var(--ci-border);
  border-radius: var(--ci-radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .stay-listing-container {
    grid-template-columns: 1fr;
  }
  .stay-filter-sidebar {
    position: static;
    margin-bottom: 20px;
  }
  .hotel-card {
    grid-template-columns: 240px 1fr;
  }
  .hotel-card-pricing {
    grid-column: 1 / -1;
    border-top: 1px solid var(--ci-border-light);
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .hotel-body-layout {
    grid-template-columns: 1fr;
  }
  .checkout-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .stay-search {
    grid-template-columns: 1fr 1fr;
  }
  .stay-search > div:first-child {
    grid-column: 1 / -1;
  }
  .stay-search button {
    grid-column: 1 / -1;
  }
  .hotel-card {
    grid-template-columns: 1fr;
  }
  .hotel-card-media {
    height: 200px;
  }
  .hotel-card-content {
    border-right: none;
    border-bottom: 1px solid var(--ci-border-light);
  }
  .hotel-gallery-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .gallery-hero-photo {
    height: 260px;
  }
  .gallery-sub-grid {
    grid-template-columns: 1fr 1fr;
    height: 140px;
  }
  .room-card-premium {
    grid-template-columns: 1fr;
  }
  .amenities-full-grid {
    grid-template-columns: 1fr 1fr;
  }
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   EXPLORE PAGE & HERO SLIDER ENHANCEMENTS
   ============================================================ */
.ci-banner-slider {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(13, 41, 27, 0.15);
  background: #091e14;
}
.ci-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  background-size: cover;
  background-position: center;
}
.ci-banner-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.ci-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 30, 20, 0.95) 0%, rgba(9, 30, 20, 0.45) 50%, rgba(0,0,0,0.15) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 48px;
  color: #fff;
  box-sizing: border-box;
}
.ci-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 119, 6, 0.25);
  border: 1px solid #d97706;
  color: #fbbf24;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  width: fit-content;
}
.ci-banner-overlay h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
  margin: 0 0 10px;
  color: #ffffff;
  max-width: 780px;
  line-height: 1.25;
}
.ci-banner-overlay p {
  font-size: 15px;
  color: #d1fae5;
  margin: 0 0 20px;
  max-width: 680px;
  line-height: 1.5;
}
.ci-banner-arrows {
  position: absolute;
  right: 32px;
  bottom: 40px;
  z-index: 10;
  display: flex;
  gap: 10px;
}
.ci-banner-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
}
.ci-banner-arrow:hover {
  background: #218141;
  border-color: #218141;
  transform: scale(1.08);
}
.ci-banner-dots {
  position: absolute;
  bottom: 18px;
  left: 48px;
  z-index: 10;
  display: flex;
  gap: 8px;
}
.ci-banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s;
}
.ci-banner-dot.active {
  width: 28px;
  border-radius: 6px;
  background: #fbbf24;
}

/* Curated Stays Grid & Cards - Strict Overflow & Image Containment */
.stay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.stay-card {
  background: #ffffff;
  border: 1px solid var(--ci-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.stay-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(13, 41, 27, 0.1);
  border-color: var(--ci-green);
}
.stay-card a {
  display: block;
  overflow: hidden;
}
.stay-card img {
  width: 100% !important;
  height: 220px !important;
  max-height: 220px !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.35s ease;
}
.stay-card:hover img {
  transform: scale(1.04);
}
.stay-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.stay-card-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.stay-card-body h3 a {
  color: var(--ci-text-main);
  text-decoration: none;
}
.stay-card-body h3 a:hover {
  color: var(--ci-green);
}
.stay-meta {
  font-size: 13px;
  color: var(--ci-text-muted);
  margin-bottom: 14px;
}
.stay-price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ci-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stay-price strong {
  font-size: 19px;
  color: var(--ci-green-dark);
}
.stay-price strong small {
  font-size: 12px;
  color: var(--ci-text-muted);
  font-weight: normal;
}

/* Offers & Coupons Visual Grid */
.ci-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.ci-offer-card {
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}
.ci-offer-card:hover {
  border-color: #d97706;
  background: #fffdfa;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.1);
}
.ci-offer-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 12px;
}
.ci-offer-card h2 {
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--ci-text-main);
  font-family: inherit;
}
.ci-offer-card p {
  font-size: 13px;
  color: var(--ci-text-muted);
  line-height: 1.5;
  margin: 0 0 16px;
}
.ci-offer-code {
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ci-offer-code small {
  font-size: 10px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
}
.ci-offer-code b {
  font-family: 'Consolas', monospace;
  font-size: 14px;
  color: #d97706;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .ci-banner-slider { height: 360px; }
  .ci-banner-overlay { padding: 24px; }
  .ci-banner-overlay h2 { font-size: 24px; }
  .ci-banner-arrows { display: none; }
}

/* Destination & Stay Visual Cards with Emerald Accents */
.ci-dest-card {
  display: block !important;
  position: relative !important;
  height: 320px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
  border: 1.5px solid rgba(13, 41, 27, 0.12) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease !important;
}
.ci-dest-card:hover {
  transform: translateY(-6px) !important;
  border-color: #218141 !important;
  box-shadow: 0 16px 36px rgba(13, 41, 27, 0.22) !important;
}
.ci-dest-card img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.ci-dest-card:hover img {
  transform: scale(1.08) !important;
}
.ci-dest-overlay {
  position: absolute !important;
  inset: 0 !important;
  padding: 22px 20px !important;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 35%, rgba(6,21,14,0.65) 65%, rgba(6,21,14,0.95) 100%) !important;
  color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  box-sizing: border-box !important;
}
.ci-dest-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(13, 41, 27, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
}
.ci-dest-overlay b {
  font-family: 'DM Sans', -apple-system, sans-serif !important;
  font-size: 26px !important;
  display: block !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 3px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.3px !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
}
.ci-dest-overlay p {
  font-size: 13px !important;
  color: #e2e8f0 !important;
  font-weight: 500 !important;
  margin: 0 0 12px !important;
  line-height: 1.35 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
}
