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

:root {
  --primary: hsl(41, 52%, 52%);
  --primary-hover: hsl(41, 55%, 45%);
  --primary-light: hsla(41, 52%, 52%, 0.08);
  --primary-glow: hsla(41, 52%, 52%, 0.15);
  --dark: hsl(220, 16%, 14%);
  --dark-muted: hsl(220, 9%, 40%);
  --bg-body: hsl(40, 25%, 98%);
  --bg-card: #ffffff;
  --border-color: hsl(40, 18%, 91%);
  --border-hover: hsl(40, 18%, 80%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.08);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: var(--bg-body);
  color: var(--dark);
}

.hidden {
  display: none !important;
}

/* NAVBAR */
nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.25s ease;
}
.nav-logo:hover {
  transform: scale(1.06);
}

.brand-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1;
}

.brand-apon {
  color: var(--primary);
}

.brand-ghar {
  color: var(--dark);
}

/* PROFILE */
.profile-container {
  position: relative;
}

#profileBtn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 16px var(--primary-glow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 240px;
}

#profileBtn .profile-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

#profileBtn .profile-name-text {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#profileBtn .profile-chevron {
  flex-shrink: 0;
}

#profileBtn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px hsla(41, 52%, 52%, 0.25);
}

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: 55px;
  right: 0;
  width: 230px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 1000;
  padding: 8px;
}

.dropdown.active {
  display: flex;
  animation: dropdownAnim 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.dropdown a,
.dropdown button {
  padding: 12px 16px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
}

.dropdown a:hover,
.dropdown button:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* BREADCRUMB */
.breadcrumb {
  padding: 18px 60px;
  background: white;
  color: var(--dark-muted);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* MAIN */
main {
  padding: 40px 60px;
  max-width: 1240px;
  margin: 0 auto;
}

/* PROPERTY DETAIL HEADER & SHOWCASE */
.property-detail-header {
  margin-bottom: 40px;
}

.property-title-section {
  margin-bottom: 24px;
}

.property-title-section h1 {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1.5px;
  margin-bottom: 10px;
  line-height: 1.15;
}

.property-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-muted);
}

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

.meta-separator {
  color: var(--border-hover);
  font-size: 12px;
}

.property-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

/* Airbnb-style Gallery Grid */
.property-gallery-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 12px;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  background: hsl(220, 20%, 95%);
}

.property-gallery-grid.single-image {
  grid-template-columns: 1fr;
}

.property-gallery-grid.double-image {
  grid-template-columns: 1fr 1fr;
}

.gallery-main-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 100%;
}

.gallery-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.3s ease;
  background: hsl(220, 20%, 96%);
}

.gallery-item:hover {
  transform: scale(1.025);
  filter: brightness(0.95);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, hsl(220, 20%, 94%), hsl(220, 20%, 97%));
  color: var(--dark-muted);
  font-weight: 600;
  font-size: 15px;
}

/* Two-column Split Layout */
.property-info-split {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.info-left,
.info-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.info-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.info-card h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  border-bottom: 1.5px solid hsl(220, 20%, 96%);
  padding-bottom: 12px;
}

.description-card p {
  color: var(--dark-muted);
  font-size: 15px;
  line-height: 1.7;
}

.description-card.full-width-description {
  margin-bottom: 30px;
}

/* Property Amenities Grid */
.property-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.property-amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: hsl(220, 20%, 98%);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}

.property-amenity-item:hover {
  border-color: var(--primary-glow);
  background: white;
}

.property-amenity-icon {
  font-size: 18px;
}

/* Sticky Float Info Card */
.sticky-info-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 110px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  height: 100%;
}

.sticky-info-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

/* Trust Badge */
.trust-badge-container {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, hsla(41, 52%, 52%, 0.08) 0%, hsla(41, 52%, 52%, 0.02) 100%);
  border: 1px solid hsla(41, 52%, 52%, 0.15);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px hsla(41, 52%, 52%, 0.04);
}

.trust-icon {
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge-container strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.trust-badge-container small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-muted);
  margin-top: 1px;
}

/* Time Block info */
.time-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1.5px solid hsl(220, 20%, 96%);
  border-bottom: 1.5px solid hsl(220, 20%, 96%);
  padding: 16px 0;
}

.time-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.time-block-separator {
  width: 1.5px;
  height: 30px;
  background-color: var(--border-color);
  margin: 0 16px;
  align-self: center;
}

.time-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: var(--transition);
}

.sticky-info-card:hover .time-icon {
  background: var(--primary-glow);
  transform: scale(1.05);
}

.time-block strong {
  display: block;
  font-size: 9px;
  font-weight: 800;
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.time-block span {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2px;
}

/* House Rules */
.house-rules-section h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.rules-list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
}

.rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-muted);
  line-height: 1.5;
}

.rules-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--primary-glow);
}

/* REVIEWS */
.property-reviews-section {
  margin-top: 40px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading-row h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.reviews-summary {
  color: var(--dark-muted);
  font-size: 14px;
  font-weight: 600;
}

.write-review-btn {
  border: none;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 18px;
  box-shadow: 0 8px 16px var(--primary-glow);
  transition: var(--transition);
  white-space: nowrap;
}

.write-review-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.property-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.property-review-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.reviewer-name {
  display: block;
  color: var(--dark);
  font-size: 15px;
  font-weight: 800;
}

.review-room-name {
  display: block;
  color: var(--dark-muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.review-stars {
  color: hsl(42, 95%, 45%);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.review-text {
  color: var(--dark-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.review-photo-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  margin-bottom: 12px;
}

.review-photo-strip img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  flex: 0 0 auto;
}

.owner-response {
  border-left: 3px solid var(--primary);
  background: var(--primary-light);
  border-radius: 8px;
  padding: 12px;
  color: var(--dark-muted);
  font-size: 13px;
  line-height: 1.5;
}

.owner-response strong {
  display: block;
  color: var(--primary);
  margin-bottom: 4px;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.review-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

.review-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--dark-muted);
  cursor: pointer;
  font-weight: 800;
}

.review-eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.review-modal-card h2 {
  color: var(--dark);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.review-modal-subtitle {
  color: var(--dark-muted);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.review-form {
  display: grid;
  gap: 14px;
}

.review-rating-stars {
  display: flex;
  gap: 6px;
}

.review-rating-stars button {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: hsl(220, 20%, 98%);
  color: hsl(220, 12%, 65%);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.review-rating-stars button.active {
  background: hsl(45, 100%, 94%);
  color: hsl(38, 92%, 45%);
  border-color: hsl(38, 92%, 78%);
}

.review-form textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--dark);
  outline: none;
}

.review-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.review-photo-input {
  display: grid;
  gap: 8px;
  color: var(--dark-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.review-photo-input input {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.review-form-message {
  min-height: 20px;
  color: hsl(348, 83%, 47%);
  font-size: 13px;
  font-weight: 700;
}

.review-submit-btn {
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 18px;
  transition: var(--transition);
}

.review-submit-btn:hover {
  background: var(--primary-hover);
}

/* ROOMS SECTION */
.rooms-section {
  margin-top: 40px;
}

.rooms-section h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.rooms-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

.filters-sidebar {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  position: sticky;
  top: 100px;
}

/* MAP SIDEBAR CARD WIDGET */
.map-sidebar-group {
  margin-bottom: 24px;
  border-bottom: 1.5px solid hsl(220, 20%, 96%);
  padding-bottom: 20px;
}

.map-sidebar-card {
  background: linear-gradient(135deg, hsl(214, 90%, 97%), hsl(214, 80%, 93%));
  border: 1.5px solid hsl(214, 70%, 88%);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.06);
}

.map-sidebar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.12);
  border-color: hsl(214, 80%, 75%);
  background: linear-gradient(135deg, hsl(214, 95%, 96%), hsl(214, 85%, 92%));
}

.map-sidebar-card:active {
  transform: translateY(-1px);
}

.map-sidebar-preview {
  background: #ffffff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 3px 8px rgba(26, 115, 232, 0.1);
  flex-shrink: 0;
}

.map-pin-pulse {
  display: inline-block;
  animation: mapPinPulse 1.8s infinite ease-in-out;
}

@keyframes mapPinPulse {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.15) translateY(-3px);
  }
}

.map-sidebar-info {
  text-align: left;
}

.map-sidebar-info h4 {
  font-size: 14px;
  font-weight: 800;
  color: hsl(214, 90%, 25%);
  margin-bottom: 2px;
  letter-spacing: -0.2px;
}

.map-sidebar-info p {
  font-size: 11px;
  font-weight: 600;
  color: hsl(214, 20%, 45%);
  line-height: 1.3;
}

.filters-sidebar h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.filter-group {
  margin-bottom: 24px;
  border-bottom: 1.5px solid hsl(220, 20%, 96%);
  padding-bottom: 20px;
}

.filter-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.checkbox-list {
  display: grid;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-muted);
  cursor: pointer;
}

.checkbox-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  flex: 0 0 auto;
}

.empty-filter {
  font-size: 13px;
  color: var(--dark-muted);
}

.reset-filters-btn {
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.reset-filters-btn:hover {
  background: hsla(224, 92%, 56%, 0.12);
  transform: translateY(-1px);
}

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

.rooms-summary {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-muted);
}

.rooms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.empty-message {
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 2.5px dashed var(--border-color);
  color: var(--dark-muted);
  text-align: center;
  font-weight: 500;
}

/* ROOM CARD */
.room-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  padding: 24px;
  position: relative;
  transition: var(--transition);
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.room-main {
  min-width: 0;
  position: relative;
}

.room-gallery {
  width: 100%;
  height: clamp(220px, 24vw, 300px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: hsl(220, 20%, 95%);
  margin-bottom: 18px;
  position: relative;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  transition: transform 0.5s ease;
}

.room-card:hover .gallery-image {
  transform: scale(1.03);
}

.gallery-image.active {
  display: block;
}

.room-gallery-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--dark-muted);
  font-weight: 600;
  background: linear-gradient(135deg, hsl(220, 20%, 95%), hsl(220, 20%, 98%));
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: var(--transition);
  z-index: 10;
}

.gallery-btn:hover {
  background: rgba(15, 23, 42, 0.85);
  scale: 1.05;
}

.gallery-btn.prev {
  left: 12px;
}

.gallery-btn.next {
  right: 12px;
}

.gallery-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
}

.room-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.room-card-content {
  padding-right: 0;
}

.room-card-content h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.room-subtitle {
  color: var(--dark-muted);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
}

.room-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.room-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  background: hsl(220, 20%, 98%);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  flex: 0 0 auto;
}

.room-feature strong,
.room-feature small {
  display: block;
}

.room-feature strong {
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.room-feature small {
  color: var(--dark-muted);
  font-size: 12px;
  margin-top: 1px;
}

.amenities {
  border-top: 1.5px solid hsl(220, 20%, 96%);
  margin-top: 14px;
  padding-top: 14px;
}

.amenities .label {
  font-weight: 700;
  color: var(--dark);
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.amenities p {
  color: hsl(170, 80%, 25%);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.room-description {
  font-size: 13px;
  color: var(--dark-muted);
  line-height: 1.6;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1.5px solid hsl(220, 20%, 96%);
}

/* BOOKING PANEL */
.room-booking-panel {
  border: 1px solid var(--border-color);
  background: hsl(220, 20%, 99%);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
}

.room-booking-panel h4 {
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
}

.panel-guests {
  color: var(--dark-muted);
  font-size: 14px;
  font-weight: 500;
}

.booking-benefits {
  display: grid;
  gap: 8px;
  list-style: none;
  color: hsl(170, 80%, 25%);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.booking-benefits li::before {
  content: "\2713";
  margin-right: 8px;
  font-weight: 800;
  color: hsl(170, 80%, 35%);
}

.room-price {
  border-top: 1.5px solid hsl(220, 20%, 96%);
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.price-old {
  color: var(--dark-muted);
  font-size: 14px;
  text-decoration: line-through;
}

.price-amount {
  color: var(--dark);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.price-period-label,
.price-period {
  color: var(--dark-muted);
  font-size: 13px;
  font-weight: 500;
}

.pricing-selection {
  background: var(--primary-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.pricing-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.pricing-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.price-option-card {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.price-option-card:hover {
  border-color: var(--border-hover);
  background: hsl(220, 20%, 98%);
}

.price-option-card input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.price-option-card input:checked {
  border-color: var(--primary);
}

/* Javascript handles state, we match styling */
.price-option-card input:checked + .price-option-title {
  color: var(--primary);
}

.price-option-card input:checked ~ .price-option-value {
  color: var(--primary);
}

.price-option-title {
  font-size: 13px;
  color: var(--dark);
  font-weight: 700;
}

.price-option-value {
  font-size: 13px;
  color: var(--dark-muted);
  font-weight: 700;
}

/* BOOK BUTTON */
.book-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, hsl(45, 90%, 45%) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 16px var(--primary-glow);
  transition: var(--transition);
}

.book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px hsla(41, 52%, 52%, 0.25);
}

/* BOOKING MODAL */
.booking-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.booking-modal.active {
  display: flex;
}

.booking-modal-content {
  width: min(720px, 100%);
  max-height: min(92vh, 880px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  border: none;
  background: transparent;
  color: var(--dark-muted);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--dark);
}

.booking-modal-content h2 {
  color: var(--dark);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.booking-room-name {
  color: var(--dark-muted);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.booking-pricing-summary {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Modal form section titles */
.booking-section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 18px;
  margin-bottom: 4px;
  border-bottom: 1.5px solid hsl(220, 20%, 96%);
  padding-bottom: 8px;
  grid-column: span 2;
}

/* Additional Guests dynamic container */
.additional-guests-container {
  display: grid;
  gap: 12px;
  grid-column: span 2;
}

.additional-guest-row {
  display: grid;
  grid-template-columns: 1fr 100px auto;
  gap: 12px;
  align-items: flex-end;
  background: hsl(220, 20%, 98%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  animation: guestRowFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes guestRowFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.additional-guest-row .input-group {
  display: grid;
  gap: 6px;
}

.additional-guest-row label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark-muted);
  letter-spacing: 0.5px;
}

.additional-guest-row input {
  width: 100%;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: white;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
  transition: var(--transition);
}

.additional-guest-row input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.remove-guest-btn {
  border: none;
  background: transparent;
  color: hsl(348, 83%, 47%);
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: var(--transition);
  align-self: flex-end;
}

.remove-guest-btn:hover {
  background: hsla(348, 83%, 47%, 0.08);
  color: hsl(348, 83%, 40%);
}

.add-guest-btn {
  grid-column: span 2;
  width: fit-content;
  border: 1.5px dashed var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
  margin-bottom: 12px;
}

.add-guest-btn:hover {
  background: var(--primary-glow);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px var(--primary-glow);
}

.booking-form-grid label,
.special-request-field,
.coupon-field {
  display: grid;
  gap: 8px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-form-grid input,
.booking-form-grid select,
.special-request-field textarea,
.coupon-field input {
  width: 100%;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  background: hsl(220, 20%, 98%);
  padding: 12px 14px;
  outline: none;
  transition: var(--transition);
}

.booking-form-grid input:focus,
.booking-form-grid select:focus,
.special-request-field textarea:focus,
.coupon-field input:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.coupon-field {
  margin-top: 16px;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0;
}

.wallet-option input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.payment-choice {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: hsl(220, 20%, 99%);
}

.payment-choice > span {
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-choice label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.payment-choice input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.payment-choice small {
  color: var(--dark-muted);
  line-height: 1.5;
  font-weight: 500;
  margin-left: 28px;
  display: block;
}

.special-request-field textarea {
  min-height: 100px;
  resize: vertical;
}

.booking-modal-message {
  color: hsl(348, 83%, 47%);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 20px;
  margin: 16px 0;
}

.confirm-booking-btn {
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  transition: var(--transition);
  box-shadow: 0 8px 16px var(--primary-glow);
}

.confirm-booking-btn:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(13, 110, 253, 0.25);
}

.confirm-booking-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* COUPON & WALLET & PRICE SUMMARY */
.coupon-section {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.coupon-label {
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.coupon-input-group {
  display: flex;
  gap: 10px;
}

.coupon-input-group input {
  flex: 1;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  background: hsl(220, 20%, 98%);
  padding: 12px 14px;
  outline: none;
  transition: var(--transition);
}

.coupon-input-group input:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.coupon-input-group input:disabled {
  background: hsl(220, 20%, 95%);
  cursor: not-allowed;
  color: var(--dark-muted);
}

.coupon-btn {
  padding: 12px 20px;
  border: none;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.coupon-btn:hover {
  background: var(--primary-hover);
}

.coupon-btn.btn-remove {
  background: hsl(348, 83%, 47%);
}

.coupon-btn.btn-remove:hover {
  background: hsl(348, 83%, 40%);
}

.coupon-status {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
  min-height: 18px;
}

.coupon-status.success {
  color: hsl(142, 72%, 29%);
}

.coupon-status.error {
  color: hsl(348, 83%, 47%);
}

.wallet-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  padding: 12px 16px;
  background: hsl(220, 20%, 98%);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  cursor: pointer;
}

.wallet-option input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.wallet-label-text {
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

.wallet-balance-info {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-muted);
}

.price-summary-card {
  background: hsl(210, 40%, 99%);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.price-summary-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1.5px solid var(--border-color);
  padding-bottom: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-muted);
  margin-bottom: 12px;
}

.summary-row:last-of-type {
  margin-bottom: 0;
}

.summary-row.discount-row {
  color: hsl(142, 72%, 29%);
}

.summary-row.wallet-row {
  color: hsl(142, 72%, 29%);
}

.text-green {
  color: hsl(142, 72%, 29%);
  font-weight: 700;
}

.summary-divider {
  border-bottom: 1px solid var(--border-color);
  margin: 14px 0;
}

.summary-row.total-row {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}

#summaryTotal {
  color: var(--primary);
  font-size: 20px;
}

/* FOOTER */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 30px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  font-weight: 500;
}

/* Map Card Styling */
.info-card.map-card {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#propertyMap {
  flex: 1;
  min-height: 240px;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.map-link-container {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

#propertyMapExternalLink {
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  border: 1.5px solid transparent;
  transition: var(--transition);
}

#propertyMapExternalLink svg {
  flex-shrink: 0;
}

#propertyMapExternalLink:hover {
  background: var(--primary-glow);
  border-color: hsla(41, 52%, 52%, 0.15);
  color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* QUICK SECTION NAV STRIP */
.property-quick-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 16px;
  margin-top: 14px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--border-color);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.property-quick-nav::-webkit-scrollbar {
  display: none;
}

.quick-nav-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 20px;
  background: white;
  border: 1.5px solid var(--border-color);
  color: var(--dark-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.quick-nav-pill:hover,
.quick-nav-pill.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.rooms-section-header {
  margin-bottom: 18px;
}

.rooms-section-subtitle {
  font-size: 14px;
  color: var(--dark-muted);
  margin-top: 4px;
}

.mobile-booking-bar {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav {
    padding: 14px 28px;
  }

  main {
    padding: 20px 28px;
  }

  .breadcrumb {
    padding: 15px 28px;
  }

  .property-info-split {
    grid-template-columns: 1fr;
  }

  .sticky-info-card {
    position: static;
  }

  .property-gallery-grid {
    grid-template-columns: 1fr;
    height: 320px;
  }

  .gallery-side-grid {
    display: none;
  }

  .rooms-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .filters-sidebar {
    position: static;
    padding: 16px 20px;
  }

  .filters-sidebar h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .filter-group {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .checkbox-item {
    background: hsl(220, 20%, 96%);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
  }

  .room-card {
    grid-template-columns: 1fr;
  }

  .property-reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 12px 18px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-logo {
    height: 36px;
    width: 36px;
  }

  .brand-title {
    font-size: 19px;
  }

  #profileBtn {
    padding: 8px 12px;
    font-size: 13px;
    max-width: 150px;
    gap: 6px;
  }

  #profileBtn .profile-avatar {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  #profileBtn .profile-name-text {
    max-width: 80px;
  }

  .dropdown {
    right: 0;
    top: 48px;
    width: 200px;
  }

  main {
    padding: 16px 16px 85px;
  }

  .breadcrumb {
    padding: 12px 16px;
    font-size: 12.5px;
  }

  .property-title-section h1 {
    font-size: 24px;
    line-height: 1.25;
  }

  .property-meta {
    font-size: 13px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .property-gallery-grid {
    height: 240px;
  }

  .rooms-section h2 {
    font-size: 20px;
  }

  .rooms-section-subtitle {
    font-size: 13px;
  }

  .room-card {
    padding: 16px;
    border-radius: var(--radius-md);
  }

  .room-gallery {
    height: 220px;
  }

  /* Sticky Mobile Booking Bar */
  .mobile-booking-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    padding: 12px 18px;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }

  .mobile-booking-price-col {
    display: flex;
    flex-direction: column;
  }

  .mobile-booking-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .mobile-booking-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
  }

  .mobile-booking-btn {
    background: var(--primary);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px var(--primary-glow);
    transition: var(--transition);
  }

  .mobile-booking-btn:hover {
    background: var(--primary-hover);
  }

  .section-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .write-review-btn {
    width: 100%;
  }

  .room-card-content {
    padding-top: 16px;
  }

  .room-type-badge {
    left: 12px;
    right: auto;
  }

  .room-feature-grid {
    grid-template-columns: 1fr;
  }

  .room-booking-panel {
    padding: 18px;
  }

  .price-amount {
    font-size: 24px;
  }

  .booking-form-grid {
    grid-template-columns: 1fr;
  }
}

/* BOOKING STATUS OVERLAY */
.booking-status-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 3000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.booking-status-overlay.hidden {
  display: none !important;
  opacity: 0;
}

.booking-status-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  width: min(500px, 100%);
  text-align: center;
  box-shadow: var(--shadow-lg), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: modalScaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalScaleIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.status-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90px;
  margin-bottom: 24px;
}

/* Spinner Animation */
.status-spinner {
  width: 64px;
  height: 64px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Animated Success/Error SVGs */
.status-success-icon svg,
.status-error-icon svg {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke-miterlimit: 10;
}

.status-success-icon svg {
  stroke: hsl(142, 72%, 29%);
  fill: hsla(142, 72%, 29%, 0.1);
  box-shadow: inset 0px 0px 0px hsl(142, 72%, 29%);
  animation: successFill 0.4s ease-in-out 0.4s forwards, successScale 0.3s ease-in-out 0.9s both;
}

.success-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
  animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
  animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

.status-error-icon svg {
  stroke: hsl(348, 83%, 47%);
  fill: hsla(348, 83%, 47%, 0.1);
  box-shadow: inset 0px 0px 0px hsl(348, 83%, 47%);
  animation: errorFill 0.4s ease-in-out 0.4s forwards, successScale 0.3s ease-in-out 0.9s both;
}

.error-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
  animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.error-cross-line1,
.error-cross-line2 {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
}

.error-cross-line1 {
  animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

.error-cross-line2 {
  animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.7s forwards;
}

@keyframes strokeCircle {
  100% { stroke-dashoffset: 0; }
}

@keyframes strokeCheck {
  100% { stroke-dashoffset: 0; }
}

@keyframes successFill {
  100% { box-shadow: inset 0px 0px 0px 40px hsla(142, 72%, 29%, 0.05); }
}

@keyframes errorFill {
  100% { box-shadow: inset 0px 0px 0px 40px hsla(348, 83%, 47%, 0.05); }
}

@keyframes successScale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

/* Typography & Content */
.booking-status-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.booking-status-card p {
  color: var(--dark-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Details Section */
.status-details {
  background: hsl(220, 20%, 98%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: detailsFadeIn 0.4s ease 0.6s both;
}

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

.status-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.status-detail-row span {
  color: var(--dark-muted);
  font-weight: 500;
}

.status-detail-row strong {
  color: var(--dark);
  font-weight: 700;
}

#detailBookingCode {
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* Countdown & Actions */
.status-countdown {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-muted);
  margin-top: 16px;
  font-style: italic;
}

.status-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

.status-btn {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}

.status-btn.primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.status-btn.primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.status-btn.secondary {
  background: hsl(220, 20%, 90%);
  color: var(--dark-muted);
}

.status-btn.secondary:hover {
  background: hsl(220, 20%, 85%);
  color: var(--dark);
}

/* AVAILABLE COUPONS SCROLL BOX */
.available-coupons-section {
  margin-top: 18px;
  margin-bottom: 12px;
  grid-column: span 2;
  display: grid;
  gap: 8px;
}

.available-coupons-label {
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.available-coupons-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px 2px;
  scroll-behavior: smooth;
}

.available-coupons-list::-webkit-scrollbar {
  height: 6px;
}

.available-coupons-list::-webkit-scrollbar-track {
  background: hsl(220, 20%, 96%);
  border-radius: 3px;
}

.available-coupons-list::-webkit-scrollbar-thumb {
  background: hsl(220, 10%, 80%);
  border-radius: 3px;
}

.available-coupons-list::-webkit-scrollbar-thumb:hover {
  background: hsl(220, 10%, 70%);
}

.coupon-card {
  flex: 0 0 auto;
  width: 210px;
  background: #ffffff;
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.coupon-card:hover {
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.coupon-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 6px;
}

.coupon-card-code {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.coupon-card-badge {
  font-size: 8.5px;
  font-weight: 800;
  color: #fff;
  padding: 2.5px 6.5px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.coupon-card-badge.admin-badge {
  background: #3182ce;
}

.coupon-card-badge.owner-badge {
  background: var(--primary);
}

.coupon-card-discount {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.coupon-card-info {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--dark-muted);
  margin-bottom: 10px;
  line-height: 1.4;
  white-space: pre-line;
}

.coupon-card-apply-btn {
  width: 100%;
  padding: 7px 12px;
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.coupon-card-apply-btn:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 8px var(--primary-glow);
}

/* Image Lightbox Modal */
.lightbox-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-wrapper {
  position: relative;
  width: 90vw;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal:not(.hidden) .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: 300;
  transition: all 0.2s ease;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--primary);
  transform: scale(1.1);
  text-decoration: none;
}

/* Make images zoom-cursor when hoverable */
.gallery-item,
.gallery-image,
.review-photo-strip img {
  cursor: zoom-in !important;
}
