/* Indi StayNest — B2C Customer Booking Marketplace Stylesheet */
:root {
  --sn-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sn-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --sn-primary: #059669;
  --sn-primary-hover: #047857;
  --sn-primary-dark: #065f46;
  --sn-primary-light: #ecfdf5;
  --sn-primary-border: #a7f3d0;
  
  --sn-accent: #0284c7;
  --sn-accent-light: #f0f9ff;
  
  --sn-bg: #f8fafc;
  --sn-surface: #ffffff;
  --sn-surface-2: #f1f5f9;
  --sn-surface-card: #ffffff;
  --sn-card-bg: #ffffff;
  
  --sn-text: #0f172a;
  --sn-text-secondary: #334155;
  --sn-muted: #64748b;
  --sn-muted-light: #94a3b8;
  --sn-border: #e2e8f0;
  --sn-border-focus: #10b981;
  
  --sn-danger: #ef4444;
  --sn-danger-light: #fef2f2;
  --sn-warn: #f59e0b;
  --sn-warn-light: #fffbeb;
  
  --sn-radius-sm: 8px;
  --sn-radius-md: 12px;
  --sn-radius-lg: 16px;
  --sn-radius-xl: 24px;
  --sn-radius-full: 9999px;
  
  --sn-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --sn-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --sn-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --sn-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

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

html {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sn-font-sans);
  background-color: var(--sn-bg);
  color: var(--sn-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-tap-highlight-color: transparent;
}

body.sn-filters-open {
  overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sn-font-heading);
  color: var(--sn-text);
  font-weight: 700;
  line-height: 1.25;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s ease;
}

input, select {
  font-family: inherit;
  outline: none;
}

/* Top Announcement Banner */
.sn-announcement {
  background: linear-gradient(90deg, #065f46 0%, #059669 100%);
  color: #ffffff;
  padding: 8px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sn-announcement b {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: var(--sn-radius-full);
  font-size: 11px;
  letter-spacing: 0.5px;
}
.sn-anno-short {
  display: none;
}
.sn-anno-full {
  display: inline;
}

/* Header & Navigation */
.sn-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sn-border);
}
.sn-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sn-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sn-brand img,
.sn-brand-logo {
  height: 56px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}
.sn-brand:hover .sn-brand-logo,
.sn-brand:hover img {
  transform: scale(1.02);
}
.sn-brand-text {
  display: flex;
  flex-direction: column;
}
.sn-brand-title {
  font-family: var(--sn-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--sn-text);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sn-brand-title span {
  color: var(--sn-primary);
}
.sn-brand-tag {
  font-size: 11px;
  color: var(--sn-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Screen reader utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sn-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.sn-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--sn-text-secondary);
  transition: color 0.15s ease;
}
.sn-nav-link:hover, .sn-nav-link.active {
  color: var(--sn-primary);
}

.sn-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Professional Header Action Pills */
.sn-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 6px;
  border-radius: var(--sn-radius-full);
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: var(--sn-text);
  font-family: var(--sn-font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.sn-header-pill:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: var(--sn-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.sn-pill-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sn-primary-light);
  color: var(--sn-primary-dark);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.sn-header-pill.logged-in .sn-pill-avatar {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
}
.sn-avatar-initial {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sn-pill-label {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}
.sn-header-pill:hover .sn-pill-label {
  color: var(--sn-primary);
}

.sn-pill-bookings {
  padding: 0 14px 0 12px;
}
.sn-pill-bookings svg {
  color: #64748b;
  transition: color 0.15s ease;
}
.sn-pill-bookings:hover svg {
  color: var(--sn-primary);
}

.sn-icon-svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  flex-shrink: 0;
}

.sn-portal-btn {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--sn-radius-full);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
  gap: 6px;
}
.sn-portal-btn:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.4);
  transform: translateY(-1px);
}

/* Button Foundation */
.sn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--sn-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.sn-btn-primary {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.22);
}
.sn-btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.32);
}
.sn-btn-outline {
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.sn-btn-outline:hover {
  border-color: #cbd5e1;
  color: var(--sn-primary);
  background: #f8fafc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}
.sn-btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
  border-radius: var(--sn-radius-md);
}

/* Hero Section */
.sn-hero {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
  padding: 44px 20px 32px;
  border-bottom: 1px solid var(--sn-border);
}
.sn-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.sn-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: #ffffff;
  border: 1px solid var(--sn-primary-border);
  border-radius: var(--sn-radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--sn-primary-dark);
  margin-bottom: 16px;
  box-shadow: var(--sn-shadow-sm);
}
.sn-hero-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: var(--sn-text);
}
.sn-hero-title span {
  color: var(--sn-primary);
}
.sn-hero-subtitle {
  font-size: 16px;
  color: var(--sn-muted);
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Hero Search Card */
.sn-search-card {
  background: var(--sn-surface);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-xl);
  padding: 12px;
  box-shadow: var(--sn-shadow-lg);
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
}
.sn-search-field {
  padding: 8px 14px;
  border-right: 1px solid var(--sn-border);
  display: flex;
  flex-direction: column;
  position: relative;
}
.sn-search-field:last-of-type {
  border-right: none;
}
.sn-search-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sn-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sn-search-input {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--sn-text);
  width: 100%;
}
.sn-search-input::placeholder {
  color: var(--sn-muted-light);
  font-weight: 400;
}
.sn-search-select {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--sn-text);
  width: 100%;
  cursor: pointer;
}

/* ============================================================== */
/* STAYNEST BRANDED CUSTOM SELECT / DROPDOWN SYSTEM               */
/* ============================================================== */
.sn-custom-select {
  position: relative;
  width: 100%;
  user-select: none;
}

.sn-select-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  clip: rect(0, 0, 0, 0) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.sn-custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 2px 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--sn-text);
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: color 0.15s ease;
}

.sn-custom-select-trigger:focus-visible {
  outline: 2px solid var(--sn-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.sn-custom-select-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.sn-custom-select-arrow {
  flex-shrink: 0;
  color: var(--sn-muted);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
}

.sn-custom-select.open .sn-custom-select-arrow {
  transform: rotate(180deg);
  color: var(--sn-primary);
}

/* Floating Dropdown Card */
.sn-custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: 280px;
  max-height: 280px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-md);
  box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.14), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  padding: 6px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 2px;
  animation: snDropdownIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.sn-custom-select.open .sn-custom-select-menu {
  display: flex;
}

@keyframes snDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sn-custom-select-menu::-webkit-scrollbar {
  width: 5px;
}
.sn-custom-select-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Custom Dropdown Option Items */
.sn-custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--sn-text);
  border-radius: var(--sn-radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.sn-custom-select-option:hover {
  background: #f0fdf4;
  color: #065f46;
  font-weight: 600;
}

.sn-custom-select-option.selected {
  background: #ecfdf5;
  color: var(--sn-primary);
  font-weight: 700;
}

.sn-custom-select-checkmark {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--sn-primary);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.15s ease;
}

.sn-custom-select-option.selected .sn-custom-select-checkmark {
  opacity: 1;
  transform: scale(1);
}

/* Group Headers inside Dropdowns */
.sn-custom-select-group-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--sn-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px 3px;
  pointer-events: none;
}

/* Form Variant (for inputs inside modals / checkout) */
.sn-custom-select.sn-custom-select-form .sn-custom-select-trigger {
  height: 42px;
  padding: 0 12px;
  border-radius: var(--sn-radius-md);
  border: 1px solid var(--sn-border);
  background: var(--sn-surface);
  font-size: 13.5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sn-custom-select.sn-custom-select-form.open .sn-custom-select-trigger,
.sn-custom-select.sn-custom-select-form .sn-custom-select-trigger:focus-visible {
  border-color: var(--sn-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

/* Compact Variant (for Sort By in results header) */
.sn-custom-select.sn-custom-select-compact {
  width: auto;
  min-width: 175px;
}
.sn-custom-select.sn-custom-select-compact .sn-custom-select-trigger {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-md);
  background: var(--sn-surface);
  font-size: 13px;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.sn-custom-select.sn-custom-select-compact.open .sn-custom-select-trigger {
  border-color: var(--sn-primary);
}
.sn-custom-select.sn-custom-select-compact .sn-custom-select-menu {
  right: 0;
  left: auto;
  min-width: 190px;
}
.sn-search-btn {
  height: 100%;
  min-height: 48px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
}

/* Quick Filter Chips */
.sn-chips-bar {
  max-width: 1280px;
  margin: 18px auto 0;
  padding: 4px 20px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.sn-chips-bar::-webkit-scrollbar {
  display: none;
}
.sn-chip {
  height: 38px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  outline: none;
}
.sn-chip-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.sn-chip:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}
.sn-chip:hover .sn-chip-icon {
  opacity: 1;
}
.sn-chip:active {
  transform: scale(0.97);
}
.sn-chip.active {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.28);
}
.sn-chip.active .sn-chip-icon {
  opacity: 1;
}
.sn-chip.active:hover {
  background: #047857;
  border-color: #047857;
  color: #ffffff;
}
.sn-chip:focus-visible {
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.25);
}

/* Main Layout: Filters + Results */
.sn-main {
  max-width: 1280px;
  margin: 24px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* Sidebar Filters */
.sn-filters-card {
  background: var(--sn-surface);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
  padding: 20px;
  box-shadow: var(--sn-shadow-sm);
  position: sticky;
  top: 90px;
}
.sn-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sn-border);
  margin-bottom: 18px;
}
.sn-filters-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sn-reset-btn {
  font-size: 12px;
  color: var(--sn-primary);
  font-weight: 600;
}
.sn-reset-btn:hover {
  text-decoration: underline;
}

.sn-filter-group {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sn-border);
}
.sn-filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.sn-filter-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--sn-text);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sn-filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sn-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sn-text-secondary);
  cursor: pointer;
  user-select: none;
}
.sn-filter-label input[type="checkbox"], .sn-filter-label input[type="radio"] {
  accent-color: var(--sn-primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Results Content Area */
.sn-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.sn-results-count {
  font-size: 15px;
  font-weight: 600;
  color: var(--sn-text);
}
.sn-results-count span {
  color: var(--sn-primary);
}
.sn-results-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sn-mobile-filter-btn {
  display: none;
}
.sn-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sn-muted);
  position: relative;
}
.sn-sort-select {
  padding: 6px 12px;
  border-radius: var(--sn-radius-md);
  border: 1px solid var(--sn-border);
  background: var(--sn-surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--sn-text);
  cursor: pointer;
}

/* Sidebar Drawer Helpers (Desktop Defaults) */
.sn-filters-backdrop {
  display: none;
}
.sn-filters-drawer-body {
  display: contents;
}
.sn-filters-close-btn {
  display: none;
}
.sn-filters-apply-wrap {
  display: none;
}

/* Property Grid */
.sn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}

/* Property Card */
.sn-card {
  background: var(--sn-surface-card);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
  overflow: hidden;
  box-shadow: var(--sn-shadow-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.sn-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sn-shadow-hover);
  border-color: var(--sn-primary-border);
}

.sn-card-media {
  position: relative;
  height: 180px;
  background: var(--sn-surface-2);
  overflow: hidden;
}
.sn-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sn-card:hover .sn-card-img {
  transform: scale(1.04);
}

.sn-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--sn-radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--sn-shadow-sm);
  backdrop-filter: blur(4px);
}
.sn-badge-verified {
  background: rgba(5, 150, 105, 0.9);
  color: #ffffff;
}
.sn-badge-gender {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--sn-radius-full);
  font-size: 11px;
  font-weight: 600;
}

.sn-card-avail {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 3px 10px;
  border-radius: var(--sn-radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--sn-primary-dark);
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: var(--sn-shadow-sm);
}
.sn-avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sn-primary);
  display: inline-block;
  animation: snPulse 2s infinite;
}
@keyframes snPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.sn-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sn-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--sn-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sn-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: var(--sn-muted);
  margin-bottom: 12px;
}
.sn-card-location svg {
  width: 14px;
  height: 14px;
  color: var(--sn-muted);
  flex-shrink: 0;
}

.sn-card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  margin-top: auto;
}
.sn-amenity-tag {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--sn-surface-2);
  border-radius: var(--sn-radius-sm);
  color: var(--sn-text-secondary);
  font-weight: 500;
}

.sn-card-footer {
  padding-top: 12px;
  border-top: 1px solid var(--sn-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sn-card-pricing {
  display: flex;
  flex-direction: column;
}
.sn-price-label {
  font-size: 10.5px;
  color: var(--sn-muted);
  text-transform: uppercase;
  font-weight: 600;
}
.sn-price-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--sn-text);
  font-family: var(--sn-font-heading);
}
.sn-price-val span {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--sn-muted);
}

/* Empty State */
.sn-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--sn-surface);
  border: 1px dashed var(--sn-border);
  border-radius: var(--sn-radius-xl);
  grid-column: 1 / -1;
}
.sn-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sn-primary-light);
  color: var(--sn-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12);
}
.sn-empty-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.8;
}
.sn-empty-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.sn-empty-sub {
  font-size: 13.5px;
  color: var(--sn-muted);
  max-width: 400px;
  margin: 0 auto 20px;
}

/* Professional Icon System Utilities */
.sn-icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
}
.sn-icon-sparkle {
  color: #34d399;
}
.sn-icon-shield {
  color: #10b981;
}
.sn-feature-card {
  background: var(--sn-bg);
  padding: 24px;
  border-radius: var(--sn-radius-lg);
  border: 1px solid var(--sn-border);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sn-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.sn-feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--sn-radius-md);
  background: var(--sn-primary-light);
  color: var(--sn-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.08);
}
.sn-feature-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

/* Property Details Modal (Preview / Day-1 Foundation) */
.sn-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.sn-modal {
  background: var(--sn-surface);
  border-radius: var(--sn-radius-xl);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--sn-shadow-hover);
  position: relative;
  display: flex;
  flex-direction: column;
}
.sn-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sn-muted);
  box-shadow: var(--sn-shadow-sm);
  z-index: 10;
  border: 1px solid var(--sn-border);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}
.sn-modal-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
}
.sn-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg);
}
.sn-modal-hero {
  position: relative;
  height: 260px;
  background: var(--sn-surface-2);
}
.sn-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sn-modal-body {
  padding: 24px;
}
.sn-modal-title {
  font-size: 24px;
  margin-bottom: 6px;
}
.sn-modal-room-box {
  background: var(--sn-surface-2);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-md);
  padding: 14px;
  margin-top: 14px;
}

/* Toast Notifications */
.sn-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--sn-radius-md);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--sn-shadow-hover);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: snSlideUp 0.3s ease;
}
@keyframes snSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Footer */
.sn-footer {
  margin-top: auto;
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 20px 24px;
  font-size: 13px;
}
.sn-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sn-footer-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sn-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sn-footer-link {
  color: #94a3b8;
  transition: color 0.15s ease;
}
.sn-footer-link:hover {
  color: #ffffff;
}
.sn-footer-bottom {
  max-width: 1280px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

/* ========================================================
   COMPREHENSIVE MOBILE RESPONSIVE SYSTEM
   ======================================================== */

@keyframes snSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0.8;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Tablet & Mobile (< 960px) */
@media (max-width: 960px) {
  .sn-nav-links {
    display: none;
  }
  
  .sn-main {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px 14px;
  }

  /* Mobile Filter Trigger & Controls */
  .sn-results-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .sn-results-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .sn-mobile-filter-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-height: 44px;
    padding: 10px 16px;
    background: var(--sn-card-bg);
    border: 1.5px solid var(--sn-border);
    border-radius: var(--sn-radius-md);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sn-text);
    cursor: pointer;
    box-shadow: var(--sn-shadow-sm);
    transition: all var(--sn-transition);
  }

  .sn-mobile-filter-btn:active {
    background: var(--sn-bg);
    transform: scale(0.98);
  }

  .sn-sort-select {
    flex: 1;
    min-height: 44px;
    font-size: 13.5px;
  }

  /* Filter Drawer Bottom-Sheet on Mobile */
  .sn-filters-card {
    display: none;
  }

  .sn-filters-card.active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #ffffff !important;
    z-index: 1200;
    border-radius: 0;
    border: none;
    padding: 0;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: snSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .sn-filters-head {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--sn-border);
    background: #ffffff !important;
    flex-shrink: 0;
    z-index: 10;
  }

  .sn-filters-close-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--sn-border);
    background: var(--sn-bg);
    color: var(--sn-text-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--sn-transition);
  }

  .sn-filters-close-btn:active {
    background: var(--sn-border);
    color: var(--sn-text);
  }

  .sn-filters-drawer-body {
    display: block !important;
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px;
    background: #ffffff !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .sn-filters-apply-wrap {
    display: block !important;
    padding: 14px 20px;
    border-top: 1px solid var(--sn-border);
    background: #ffffff !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    z-index: 10;
  }

  .sn-filters-apply-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--sn-radius-md);
  }

  .sn-filters-backdrop.active {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
  }

  /* Search Card Stack */
  .sn-search-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .sn-search-field {
    border-right: none;
    border-bottom: 1px solid var(--sn-border-light);
    padding: 8px 10px;
  }

  .sn-search-field:last-of-type {
    border-bottom: none;
  }

  .sn-btn-primary.sn-search-btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    font-size: 15px;
  }

  /* Property Details Layout Stack */
  .sn-details-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sn-booking-sticky {
    position: static;
  }

  .sn-mobile-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #snDetailsView {
    padding-bottom: 84px;
  }

  .sn-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* Smartphone & Compact Screen (< 640px) */
@media (max-width: 640px) {
  /* Announcement bar */
  .sn-announcement {
    padding: 7px 10px;
    font-size: 11.5px;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    justify-content: center;
  }
  .sn-announcement b {
    font-size: 10px;
    padding: 2px 7px;
    letter-spacing: 0.3px;
  }
  .sn-anno-full {
    display: none !important;
  }
  .sn-anno-short {
    display: inline !important;
  }
  @media (max-width: 360px) {
    .sn-anno-sub {
      display: none !important;
    }
  }

  /* Header Bar */
  .sn-header-inner {
    padding: 8px 12px;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .sn-brand {
    gap: 8px;
    min-width: 0;
  }

  .sn-brand img,
  .sn-brand-logo {
    height: 34px;
    width: auto;
    max-width: 190px;
  }

  .sn-brand-title {
    font-size: 16px;
  }

  .sn-brand-tag {
    font-size: 9.5px;
  }

  .sn-header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .sn-header-pill {
    height: 36px;
    padding: 0 10px 0 6px;
    font-size: 12px;
    gap: 6px;
  }

  .sn-header-pill .sn-pill-avatar {
    width: 24px;
    height: 24px;
  }

  .sn-header-pill .sn-icon-svg {
    width: 15px;
    height: 15px;
  }

  #snMyBookingsBtn span {
    display: none;
  }

  #snMyBookingsBtn {
    padding: 0;
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: 50%;
  }

  /* Hero Section */
  .sn-hero {
    padding: 24px 14px 20px;
  }

  .sn-hero-title {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }

  .sn-hero-subtitle {
    font-size: 13.5px;
    margin-bottom: 16px;
  }

  .sn-hero-stats {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sn-hero-stat-badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  /* Filter Chips Bar (Horizontal Scroll with Touch) */
  .sn-chips-bar {
    padding: 10px 14px;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
  }

  .sn-chips-bar::-webkit-scrollbar {
    display: none;
  }

  .sn-chip {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12.5px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Main & Cards Grid */
  .sn-main {
    padding: 12px;
  }

  .sn-property-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sn-property-card-img {
    height: 195px;
  }

  .sn-property-card-body {
    padding: 14px;
  }

  .sn-property-card-title {
    font-size: 16px;
  }

  .sn-property-card-price {
    font-size: 17px;
  }

  .sn-btn-view {
    min-height: 42px;
    font-size: 13.5px;
    width: 100%;
    justify-content: center;
  }

  /* Details View Gallery & Bed Selectors */
  .sn-gallery-main {
    height: 220px !important;
  }

  .sn-gallery-thumbs {
    height: 56px;
    gap: 6px;
  }

  .sn-amenity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .sn-amenity-item {
    font-size: 12px;
    padding: 6px 10px;
  }

  .sn-beds-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  .sn-bed-btn {
    min-height: 52px;
    padding: 8px 10px;
  }

  /* Modals Optimization for Mobile */
  .sn-modal-backdrop,
  .sn-modal-overlay {
    padding: 12px;
  }

  .sn-modal,
  .sn-modal-container {
    width: 100%;
    max-width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: var(--sn-radius-xl);
    padding: 20px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sn-modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .sn-auth-tabs {
    margin-bottom: 16px;
  }

  .sn-auth-tab {
    padding: 10px 12px;
    font-size: 13.5px;
    min-height: 42px;
  }

  .sn-auth-submit,
  .sn-google-btn {
    min-height: 46px;
    font-size: 14px;
  }

  /* Checkout Wizard on Mobile */
  .sn-wizard-steps {
    margin-bottom: 18px;
  }

  .sn-wizard-step-label {
    font-size: 10.5px;
  }

  .sn-wizard-actions {
    flex-direction: column;
    gap: 10px;
  }

  .sn-wizard-actions button {
    width: 100%;
    min-height: 46px;
  }

  /* Square Grid Footer on Mobile */
  .sn-footer {
    padding: 30px 14px 20px;
  }

  .sn-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: left;
    border-bottom: none;
    padding-bottom: 16px;
  }

  .sn-footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sn-footer-brand p {
    margin: 0 auto 12px;
    font-size: 12.5px;
    color: #94a3b8;
  }

  .sn-footer-card-tile {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .sn-footer-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
  }

  .sn-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .sn-footer-link {
    font-size: 11.5px;
    line-height: 1.35;
    color: #94a3b8;
    text-decoration: none;
  }

  .sn-footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 11px;
  }
}

/* Very Small Mobile (< 380px) */
@media (max-width: 380px) {
  .sn-brand img,
  .sn-brand-logo {
    height: 30px;
    max-width: 165px;
  }

  .sn-brand-tag {
    display: none;
  }

  .sn-brand-title {
    font-size: 14.5px;
  }

  .sn-header-actions {
    gap: 4px;
  }

  .sn-header-pill {
    height: 34px;
    padding: 0 8px 0 4px;
    font-size: 11px;
  }

  #snMyBookingsBtn {
    width: 34px;
    height: 34px;
  }

  .sn-hero-title {
    font-size: 21px;
  }

  .sn-results-controls {
    flex-direction: column;
  }

  .sn-mobile-filter-btn,
  .sn-sort-select {
    width: 100%;
  }

  .sn-amenity-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   DAY 2 — PROPERTY DETAILS, ROOM/BED SELECTOR & HOLD STYLES
   ======================================================== */

.sn-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sn-primary);
  margin-bottom: 20px;
  cursor: pointer;
  padding: 6px 12px;
  background: var(--sn-primary-light);
  border-radius: var(--sn-radius-md);
  border: 1px solid var(--sn-primary-border);
  transition: all 0.2s ease;
}
.sn-breadcrumb:hover {
  background: #d1fae5;
  transform: translateX(-2px);
}

/* Property Details Main Container */
.sn-details-view {
  max-width: 1280px;
  margin: 24px auto 60px;
  padding: 0 20px;
}

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

/* Gallery */
.sn-gallery {
  border-radius: var(--sn-radius-xl);
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--sn-border);
  box-shadow: var(--sn-shadow-md);
}
.sn-gallery-main {
  height: 380px;
  background: var(--sn-surface-2);
  position: relative;
}
.sn-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sn-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--sn-border);
  padding-top: 4px;
}
.sn-gallery-thumb {
  height: 90px;
  background: var(--sn-surface-2);
  cursor: pointer;
  overflow: hidden;
}
.sn-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}
.sn-gallery-thumb:hover img {
  opacity: 0.85;
}

/* Property Details Overview */
.sn-prop-header {
  margin-bottom: 20px;
}
.sn-prop-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.sn-prop-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.sn-prop-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Real-Time Room & Bed Inventory Section */
.sn-inventory-section {
  margin: 36px 0;
  padding-top: 28px;
  border-top: 1px solid var(--sn-border);
}
.sn-section-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sn-section-subtitle {
  font-size: 14px;
  color: var(--sn-muted);
  margin-bottom: 24px;
}

/* Room Card */
.sn-room-box {
  background: var(--sn-surface);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--sn-shadow-sm);
  transition: border-color 0.2s;
}
.sn-room-box:hover {
  border-color: var(--sn-primary-border);
}
.sn-room-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--sn-border);
  margin-bottom: 16px;
}
.sn-room-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.sn-room-number {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--sn-font-heading);
  white-space: nowrap;
  flex-shrink: 0;
}
.sn-room-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--sn-radius-full);
  font-size: 11.5px;
  font-weight: 600;
  background: var(--sn-surface-2);
  color: var(--sn-text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}
.sn-room-pill.ac {
  background: #dbeafe;
  color: #1e40af;
}
.sn-room-price {
  text-align: right;
  flex-shrink: 0;
}
.sn-room-price-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--sn-primary-dark);
  font-family: var(--sn-font-heading);
  white-space: nowrap;
}

/* Bed Grid & Cards */
.sn-beds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}
.sn-bed-card {
  border: 2px solid var(--sn-border);
  border-radius: var(--sn-radius-md);
  padding: 14px 10px;
  text-align: center;
  background: var(--sn-surface);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  user-select: none;
  position: relative;
}

/* Bed State: AVAILABLE */
.sn-bed-card.available {
  cursor: pointer;
  border-color: #a7f3d0;
  background: #ffffff;
}
.sn-bed-card.available:not(.selected):hover {
  border-color: var(--sn-primary);
  background: var(--sn-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

/* Bed State: SELECTED (Guaranteed solid emerald with high-contrast white text) */
.sn-bed-card.selected,
.sn-bed-card.selected:hover,
.sn-bed-card.selected:active,
.sn-bed-card.selected:focus {
  border-color: var(--sn-primary-dark) !important;
  background: var(--sn-primary) !important;
  color: #ffffff !important;
  transform: scale(1.03) !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4) !important;
}

.sn-bed-card.selected .sn-bed-name,
.sn-bed-card.selected:hover .sn-bed-name,
.sn-bed-card.selected:active .sn-bed-name {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.sn-bed-card.selected .sn-bed-icon,
.sn-bed-card.selected:hover .sn-bed-icon,
.sn-bed-card.selected:active .sn-bed-icon {
  color: #ffffff !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.sn-bed-card.selected .sn-bed-status,
.sn-bed-card.selected:hover .sn-bed-status,
.sn-bed-card.selected:active .sn-bed-status {
  background: #ffffff !important;
  color: var(--sn-primary-dark) !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12) !important;
}

/* Bed State: HELD (10-minute temporary reservation) */
.sn-bed-card.held {
  border-color: #fde68a;
  background: #fffbeb;
  cursor: not-allowed;
  opacity: 0.9;
}
.sn-bed-card.held .sn-bed-icon {
  color: #d97706;
}
.sn-bed-card.held .sn-bed-status {
  background: #fef3c7;
  color: #b45309;
}

/* Bed State: OCCUPIED (Resident checked in - NO private resident name exposed) */
.sn-bed-card.occupied {
  border-color: var(--sn-border);
  background: var(--sn-surface-2);
  cursor: not-allowed;
  opacity: 0.65;
}
.sn-bed-card.occupied .sn-bed-icon {
  color: var(--sn-muted-light);
}
.sn-bed-card.occupied .sn-bed-status {
  background: #e2e8f0;
  color: #64748b;
}

.sn-bed-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sn-primary);
  transition: color 0.2s, transform 0.2s ease;
}
.sn-bed-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.2s ease;
}
.sn-bed-card.available:hover .sn-bed-icon svg {
  transform: scale(1.12);
}
.sn-bed-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sn-text);
}
.sn-bed-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: var(--sn-radius-full);
  margin-top: 2px;
}
.sn-bed-status.available {
  background: #ecfdf5;
  color: #065f46;
}

/* Sticky Booking Card on the Right Column */
.sn-booking-sticky {
  position: sticky;
  top: 90px;
  background: var(--sn-surface);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-xl);
  padding: 24px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

/* Card Header */
.sn-sticky-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sn-border);
  margin-bottom: 18px;
}
.sn-sticky-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--sn-muted);
  margin-bottom: 2px;
}
.sn-sticky-price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.sn-sticky-price-amount {
  font-family: var(--sn-font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--sn-text);
  line-height: 1;
}
.sn-sticky-price-period {
  font-size: 13px;
  color: var(--sn-muted);
  font-weight: 500;
}
.sn-booking-sticky-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--sn-text);
  margin-top: 2px;
}

/* Modern Status Pill (Sticky Booking Card Header) */
.sn-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6.5px;
  padding: 5px 12px;
  border-radius: var(--sn-radius-full);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.25px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
  user-select: none;
}
.sn-status-pill.sn-status-live {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.05);
}
.sn-status-pill.sn-status-live:hover {
  background: #d1fae5;
  border-color: rgba(16, 185, 129, 0.45);
}
/* Pulsing Real-Time Beacon Indicator */
.sn-status-beacon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
}
.sn-status-beacon-ping {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.75;
  animation: snStatusPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.sn-status-beacon-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
}
@keyframes snStatusPing {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }
  70% {
    transform: scale(2.4);
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Empty State Widget */
.sn-sticky-empty-box {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--sn-radius-lg);
  padding: 24px 18px;
  text-align: center;
  margin-bottom: 20px;
}
.sn-sticky-empty-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--sn-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.sn-sticky-empty-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--sn-text);
  margin-bottom: 6px;
}
.sn-sticky-empty-desc {
  font-size: 13px;
  color: var(--sn-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}
.sn-highlight-avail {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
  font-size: 12px;
}
.sn-btn-browse-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--sn-radius-full);
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sn-text-secondary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  cursor: pointer;
}
.sn-btn-browse-jump:hover {
  border-color: var(--sn-primary);
  color: var(--sn-primary);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

/* Feature & Trust Guarantees */
.sn-sticky-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--sn-border);
  padding-top: 18px;
}
.sn-sticky-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sn-perk-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.sn-perk-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sn-text);
  line-height: 1.3;
}
.sn-perk-sub {
  font-size: 11.5px;
  color: var(--sn-muted);
  line-height: 1.35;
}

/* Selected Bed State Card */
.sn-selected-bed-card {
  background: #f8fafc;
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  animation: snFadeIn 0.25s ease;
}
@keyframes snFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.sn-selected-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.sn-selected-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sn-primary-dark);
  background: var(--sn-primary-light);
  border: 1px solid var(--sn-primary-border);
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 5px;
}
.sn-selected-bed-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--sn-text);
}
.sn-selected-bed-sub {
  font-size: 12.5px;
  color: var(--sn-muted);
}
.sn-selected-price-box {
  text-align: right;
  flex-shrink: 0;
}
.sn-selected-price {
  font-family: var(--sn-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--sn-primary-dark);
  line-height: 1.1;
}
.sn-selected-freq {
  font-size: 11px;
  color: var(--sn-muted);
}
.sn-price-breakdown {
  border-top: 1px dashed var(--sn-border);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sn-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--sn-text-secondary);
}
.sn-free-tag {
  color: var(--sn-primary);
  font-weight: 700;
}

/* Notice & Cta */
.sn-sticky-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--sn-radius-md);
  padding: 10px 12px;
  font-size: 11.5px;
  color: #166534;
  line-height: 1.4;
  margin-bottom: 16px;
}
.sn-sticky-notice svg {
  flex-shrink: 0;
  margin-top: 1px;
}
.sn-sticky-cta {
  width: 100%;
  height: 48px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--sn-radius-full);
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  cursor: pointer;
}
.sn-sticky-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}
.sn-sticky-cancel-btn {
  width: 100%;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--sn-radius-full);
  padding: 9px;
  cursor: pointer;
}
.sn-guarantee-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--sn-muted);
  margin-top: 10px;
}
.sn-guarantee-line svg {
  color: var(--sn-primary);
}

/* 10-Minute Hold Live Countdown Banner */
.sn-hold-active-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #f59e0b;
  border-radius: var(--sn-radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--sn-shadow-md);
  animation: snPulseBorder 2.5s infinite;
}
@keyframes snPulseBorder {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.sn-hold-banner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.sn-hold-pulse-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
}
.sn-live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d97706;
  box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.6);
  animation: snDotPulse 1.8s infinite;
}
@keyframes snDotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(217, 119, 6, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}
.sn-hold-badge-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sn-hold-timer-val {
  font-family: var(--sn-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 1px;
}
.sn-hold-banner-text {
  font-size: 12.5px;
  color: #92400e;
  line-height: 1.45;
  margin-top: 6px;
}

/* Mobile Sticky Bottom Reservation Bar */
.sn-mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--sn-border);
  padding: 10px 16px max(12px, env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 120;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sn-mob-bar-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.sn-mob-bar-price {
  font-family: var(--sn-font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--sn-text);
  line-height: 1.2;
}
.sn-mob-bar-price span {
  font-size: 11px;
  font-weight: 500;
  color: var(--sn-muted);
}
.sn-mob-bar-title {
  font-size: 12px;
  color: var(--sn-text-secondary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sn-mob-hold-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sn-font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #b45309;
}
.sn-mob-bar-btn {
  flex-shrink: 0;
  min-height: 42px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--sn-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (max-width: 960px) {
  .sn-details-layout {
    grid-template-columns: 1fr;
  }
  .sn-booking-sticky {
    position: static;
  }
  .sn-mobile-bottom-bar {
    display: flex;
  }
  #snDetailsView {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

/* ============================================================== */
/* DAY 3: CUSTOMER ACCOUNT, BOOKING ENGINE & MY STAYNEST STYLES   */
/* ============================================================== */

/* Checkout Multi-Step Header */
.sn-wizard-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-bottom: 24px;
}
.sn-wizard-steps::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--sn-border);
  z-index: 1;
  transform: translateY(-50%);
}
.sn-wizard-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--sn-surface);
  padding: 0 10px;
}

/* Base Checkout Modal Classes */
.sn-checkout-modal {
  max-width: 580px;
  width: 100%;
  padding: 24px;
  margin: auto;
  box-sizing: border-box;
}

.sn-checkout-summary-card {
  background: var(--sn-surface-2);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.sn-checkout-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  font-size: 13px;
}

.sn-checkout-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.sn-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sn-surface-2);
  border: 2px solid var(--sn-border);
  color: var(--sn-muted);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
.sn-wizard-step.active .sn-step-dot {
  background: var(--sn-primary);
  border-color: var(--sn-primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}
.sn-wizard-step.completed .sn-step-dot {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}
.sn-step-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--sn-muted);
}
.sn-wizard-step.active .sn-step-title {
  color: var(--sn-primary-dark);
  font-weight: 700;
}

/* Form Groups & Controls */
.sn-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.sn-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sn-form-group.full-width {
  grid-column: 1 / -1;
}
.sn-form-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sn-text);
  display: flex;
  align-items: center;
  gap: 4px;
}
.sn-form-label span.req {
  color: #ef4444;
}
.sn-form-input, .sn-form-select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--sn-radius-md);
  border: 1px solid var(--sn-border);
  background: var(--sn-surface);
  font-size: 13.5px;
  color: var(--sn-text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sn-form-input:focus, .sn-form-select:focus {
  border-color: var(--sn-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

/* Pricing Breakdown Table */
.sn-pricing-breakdown {
  background: var(--sn-surface-2);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
  padding: 16px;
  margin-bottom: 20px;
}
.sn-pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--sn-border);
  font-size: 13.5px;
}
.sn-pricing-row:last-child {
  border-bottom: none;
  padding-top: 12px;
  margin-top: 4px;
  font-weight: 800;
  font-size: 16px;
  color: var(--sn-primary-dark);
}
.sn-pricing-label {
  color: var(--sn-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sn-pricing-val {
  color: var(--sn-text);
  font-weight: 600;
}
.sn-pricing-val.accent {
  color: var(--sn-primary);
  font-weight: 800;
}

/* Terms & Conditions Acceptance Box */
.sn-terms-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--sn-radius-md);
  padding: 14px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}
.sn-terms-card.accepted {
  background: #f0fdf4;
  border-color: #86efac;
}
.sn-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.sn-terms-checkbox {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--sn-primary);
}
.sn-terms-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--sn-text-secondary);
}

/* Google Sign-In Button & Auth Divider */
.sn-btn-google-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 44px;
  min-height: 44px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1.5px solid #dadce0;
  border-radius: var(--sn-radius-md);
  color: #3c4043;
  font-family: var(--sn-font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.sn-btn-google-auth:hover {
  background: #f8fafc;
  border-color: #c0c4cc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.sn-btn-google-auth:active {
  background: #f1f3f4;
  transform: scale(0.99);
}

.sn-auth-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  text-align: center;
}
.sn-auth-divider::before,
.sn-auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--sn-border);
}
.sn-auth-divider span {
  padding: 0 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sn-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Payment-Pending Screen */
.sn-pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(245, 158, 11, 0.1);
}
.sn-pending-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 rgba(245, 158, 11, 0.4);
  animation: snPulseAmber 1.8s infinite;
}
@keyframes snPulseAmber {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Razorpay Checkout Notice Box & Action Button */
.sn-day4-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--sn-radius-md);
  padding: 12px 14px;
  font-size: 12.5px;
  color: #166534;
  line-height: 1.5;
  margin-bottom: 16px;
}
.sn-day4-box b {
  color: #065f46;
}
.sn-btn-razorpay {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.sn-btn-razorpay:hover:not(:disabled) {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.38);
  transform: translateY(-1px);
}

.sn-dash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--sn-radius-md);
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.sn-dash-btn svg {
  width: 14px;
  height: 14px;
  color: #64748b;
  transition: color 0.15s ease;
}
.sn-dash-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: var(--sn-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
.sn-dash-btn:hover svg {
  color: var(--sn-primary);
}
.sn-dash-btn-primary {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border-color: transparent;
}
.sn-dash-btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  color: #ffffff;
}
.sn-dash-btn-primary svg {
  color: #ffffff;
}
.sn-booking-id-pill {
  font-family: monospace;
  font-size: 17px;
  font-weight: 800;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 4px 12px;
  border-radius: 8px;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sn-day4-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid #93c5fd;
  border-radius: var(--sn-radius-md);
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 13px;
  color: #1e40af;
  line-height: 1.5;
}

/* My StayNest Customer Dashboard */
.sn-dashboard-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 0 60px;
}
.sn-dash-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: #ffffff;
  padding: 28px 32px;
  border-radius: var(--sn-radius-xl);
  margin-bottom: 28px;
  box-shadow: 0 10px 25px rgba(6, 78, 59, 0.2);
}
.sn-dash-hero h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #ffffff;
}
.sn-dash-hero p {
  font-size: 13.5px;
  color: #a7f3d0;
  margin: 0;
}
.sn-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sn-booking-item-card {
  background: var(--sn-surface);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
  padding: 20px;
  box-shadow: var(--sn-shadow-sm);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  transition: all 0.2s ease;
}
.sn-booking-item-card:hover {
  border-color: var(--sn-primary-border);
  box-shadow: var(--sn-shadow-md);
}
@media (max-width: 768px) {
  .sn-booking-item-card {
    grid-template-columns: 1fr;
  }
  .sn-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================== */
/* PROFESSIONAL SKELETON LOADERS & MICRO-ANIMATIONS              */
/* ============================================================== */
@keyframes snShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.sn-shimmer-bg {
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 40%, #f8fafc 60%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: snShimmer 1.8s ease-in-out infinite;
}

/* Skeleton Property Card */
.sn-skeleton-card {
  background: var(--sn-surface);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
  overflow: hidden;
  box-shadow: var(--sn-shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}
.sn-skeleton-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 40%, #f8fafc 60%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: snShimmer 1.8s ease-in-out infinite;
  position: relative;
}
.sn-skeleton-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 64px;
  height: 20px;
  background: #ffffff;
  opacity: 0.85;
  border-radius: var(--sn-radius-full);
}
.sn-skeleton-badge-right {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 78px;
  height: 20px;
  background: #ffffff;
  opacity: 0.85;
  border-radius: var(--sn-radius-full);
}
.sn-skeleton-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.sn-skeleton-line {
  border-radius: 4px;
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 40%, #f8fafc 60%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: snShimmer 1.8s ease-in-out infinite;
}
.sn-skeleton-title {
  height: 18px;
  width: 80%;
}
.sn-skeleton-sub {
  height: 13px;
  width: 48%;
}
.sn-skeleton-chips {
  display: flex;
  gap: 6px;
  margin: 4px 0;
}
.sn-skeleton-chip {
  height: 22px;
  width: 60px;
  border-radius: var(--sn-radius-full);
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 40%, #f8fafc 60%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: snShimmer 1.8s ease-in-out infinite;
}
.sn-skeleton-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--sn-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sn-skeleton-price {
  height: 22px;
  width: 85px;
}
.sn-skeleton-btn {
  height: 34px;
  width: 95px;
  border-radius: var(--sn-radius-full);
}

/* Spinner & Loading Pills */
.sn-loading-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sn-muted);
}
.sn-spinner-ring {
  width: 15px;
  height: 15px;
  border: 2px solid #cbd5e1;
  border-top-color: var(--sn-primary);
  border-radius: 50%;
  animation: snSpin 0.75s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes snSpin {
  to { transform: rotate(360deg); }
}

/* Skeleton Dashboard Booking Card */
.sn-skeleton-booking-card {
  background: var(--sn-surface);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  box-shadow: var(--sn-shadow-sm);
}
.sn-skeleton-dash-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sn-skeleton-grid-row {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .sn-skeleton-booking-card {
    grid-template-columns: 1fr;
  }
}

/* Auth Tabs, Professional Hero Badges & Field Controls */
.sn-auth-hero-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sn-primary-light), #d1fae5);
  border: 1px solid var(--sn-primary-border);
  color: var(--sn-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.14);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sn-auth-hero-badge.signin {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
  border-color: #a7f3d0;
}
.sn-auth-hero-badge.signup {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #10b981;
  border-color: #a7f3d0;
}
.sn-auth-hero-badge.forgot {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
  border-color: #bfdbfe;
}
.sn-forgot-password-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--sn-primary);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration 0.15s ease;
  cursor: pointer;
}
.sn-forgot-password-link:hover {
  text-decoration: underline;
  color: #047857;
}
.sn-forgot-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--sn-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}
.sn-forgot-back-btn:hover {
  color: var(--sn-text);
}
.sn-auth-hero-badge svg {
  display: block;
  transition: transform 0.25s ease;
}
.sn-auth-hero-badge:hover svg {
  transform: scale(1.08);
}
.sn-auth-tabs {
  display: flex;
  background: var(--sn-surface-2);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius-md);
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}
.sn-auth-tab {
  flex: 1;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--sn-radius-sm);
  border: none;
  background: transparent;
  color: var(--sn-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.sn-auth-tab svg {
  display: block;
  flex-shrink: 0;
  stroke: currentColor;
  transition: transform 0.2s ease;
}
.sn-auth-tab:hover {
  color: var(--sn-text);
}
.sn-auth-tab:hover svg {
  transform: translateY(-1px);
}
.sn-auth-tab.active {
  background: #ffffff;
  color: var(--sn-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.sn-field-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: var(--sn-muted);
}
.sn-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.sn-password-wrap input {
  width: 100%;
  padding-right: 42px !important;
}
.sn-password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--sn-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sn-radius-sm);
  transition: all 0.15s ease;
}
.sn-password-toggle:hover {
  color: var(--sn-text);
  background: rgba(0, 0, 0, 0.05);
}
.sn-password-toggle svg {
  display: block;
  stroke: currentColor;
}

/* ============================================================== */
/* CROSS-PLATFORM DISPLAY OPTIMIZATION: MAC, RETINA, PC, MOBILE   */
/* ============================================================== */

/* 1. macOS & iOS Retina Font Rendering & Crisp Assets */
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .sn-brand img,
  .sn-brand-logo,
  .sn-card-img,
  .sn-gallery-main img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* 2. Ultra-Wide, 2K & 4K PC / Mac Displays (>= 1440px & 1920px) */
@media (min-width: 1440px) {
  .sn-header-inner,
  .sn-main,
  .sn-hero-inner,
  .sn-details-view,
  .sn-dashboard-container,
  .sn-footer-inner {
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
  }
  .sn-grid {
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1920px) {
  .sn-header-inner,
  .sn-main,
  .sn-hero-inner,
  .sn-details-view,
  .sn-dashboard-container,
  .sn-footer-inner {
    max-width: 1480px;
  }
  .sn-grid {
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 28px;
  }
}

/* 3. Touch Ergonomics for Mobile & Tablet */
@media (pointer: coarse) {
  button, a, input, select,
  .sn-chip, .sn-header-pill, .sn-bed-card,
  .sn-auth-tab, .sn-modal-close, .sn-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .sn-chip {
    min-height: 38px;
  }
  .sn-header-pill {
    min-height: 38px;
  }
  .sn-btn {
    min-height: 44px;
  }
  .sn-bed-card {
    min-height: 64px;
  }
}

/* 4. iOS Safari Auto-Zoom Prevention on Mobile */
@media (max-width: 768px) {
  input, select, textarea,
  .sn-form-input, .sn-form-select,
  .sn-search-input, .sn-search-select {
    font-size: 16px !important;
  }
  .sn-form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* 5. Cross-Platform Mobile & Android Checkout Modal Alignment (<= 640px) */
@media (max-width: 640px) {
  .sn-modal-backdrop {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 8px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .sn-modal,
  .sn-checkout-modal {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 16px) !important;
    max-height: calc(100vh - 16px) !important;
    border-radius: 20px !important;
    padding: 16px 14px 18px !important;
    margin: auto !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3) !important;
  }

  .sn-modal-close {
    top: 10px !important;
    right: 10px !important;
    width: 32px !important;
    height: 32px !important;
  }

  /* Wizard Steps Header - Compact & Zero-Wrap on Mobile */
  .sn-wizard-steps {
    margin-bottom: 12px !important;
    padding: 0 4px !important;
  }

  .sn-wizard-steps::before {
    top: 13px !important;
    left: 20px !important;
    right: 20px !important;
    transform: translateY(-50%) !important;
  }

  .sn-wizard-step {
    padding: 0 2px !important;
    gap: 4px !important;
    flex: 1 1 0 !important;
  }

  .sn-step-dot {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
  }

  .sn-step-dot svg {
    width: 12px !important;
    height: 12px !important;
  }

  .sn-step-title {
    font-size: 10.5px !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px !important;
    text-align: center !important;
  }

  /* Hold Active Live Timer Banner */
  .sn-hold-active-banner {
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
    border-radius: var(--sn-radius-md) !important;
  }

  .sn-hold-active-banner .sn-hold-banner-head {
    margin-bottom: 2px !important;
  }

  .sn-hold-active-banner .sn-hold-timer-val {
    font-size: 16px !important;
  }

  .sn-hold-banner-text {
    font-size: 11.5px !important;
  }

  /* Booking Summary Card */
  .sn-checkout-summary-card {
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
  }

  .sn-checkout-summary-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 10px !important;
    font-size: 12px !important;
  }

  .sn-checkout-summary-grid span {
    font-size: 10.5px !important;
  }

  .sn-checkout-summary-grid b {
    font-size: 12px !important;
  }

  /* Pricing Breakdown */
  .sn-pricing-breakdown {
    padding: 10px 12px !important;
    margin-bottom: 10px !important;
  }

  .sn-pricing-row {
    font-size: 12px !important;
    margin-bottom: 6px !important;
  }

  .sn-pricing-row small {
    font-size: 10px !important;
  }

  .sn-pricing-val {
    font-size: 12.5px !important;
  }

  .sn-pricing-val.accent {
    font-size: 13.5px !important;
  }

  .sn-pricing-row:last-of-type {
    margin-top: 4px !important;
    padding-top: 8px !important;
  }

  .sn-pricing-row:last-of-type .sn-pricing-val {
    font-size: 16px !important;
  }

  /* Terms Card */
  .sn-terms-card {
    padding: 8px 10px !important;
    margin-bottom: 10px !important;
  }

  .sn-terms-text {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
  }

  .sn-terms-checkbox {
    width: 16px !important;
    height: 16px !important;
    margin-top: 1px !important;
  }

  /* Actions */
  .sn-checkout-actions {
    gap: 8px !important;
    margin-top: 6px !important;
  }

  .sn-checkout-actions .sn-btn {
    min-height: 40px !important;
    padding: 0 12px !important;
  }

  .sn-checkout-actions .sn-btn-primary {
    font-size: 13px !important;
  }

  .sn-header-inner {
    padding-top: max(8px, env(safe-area-inset-top, 0px));
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
  }
  .sn-brand img,
  .sn-brand-logo {
    height: 46px;
    max-width: 170px;
  }

  /* Room Cards Header & Pills Mobile Alignment */
  .sn-room-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    padding-bottom: 12px !important;
    margin-bottom: 14px !important;
  }
  .sn-room-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px 8px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .sn-room-number {
    font-size: 16px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .sn-room-pill {
    padding: 2.5px 7px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .sn-room-price {
    text-align: right !important;
    flex-shrink: 0 !important;
  }
  .sn-room-price-val {
    font-size: 16.5px !important;
    white-space: nowrap !important;
  }
}

/* 6. Ultra-Compact Mobile (< 380px) */
@media (max-width: 380px) {
  .sn-room-number {
    font-size: 15px !important;
  }
  .sn-room-pill {
    padding: 2px 6px !important;
    font-size: 10px !important;
    gap: 3px !important;
  }
  .sn-room-price-val {
    font-size: 15px !important;
  }
  .sn-modal,
  .sn-checkout-modal {
    padding: 12px 10px 14px !important;
    border-radius: 16px !important;
  }

  .sn-step-title {
    font-size: 9.5px !important;
  }

  .sn-step-dot {
    width: 24px !important;
    height: 24px !important;
    font-size: 10px !important;
  }

  .sn-wizard-steps::before {
    top: 12px !important;
  }

  .sn-checkout-summary-grid {
    gap: 6px 8px !important;
  }

  .sn-checkout-summary-grid b {
    font-size: 11.5px !important;
  }

  .sn-brand img,
  .sn-brand-logo {
    height: 40px;
    max-width: 145px;
  }
  .sn-brand-tag {
    display: none;
  }
  .sn-hero-title {
    font-size: 21px;
  }
  .sn-chip {
    font-size: 12px;
    padding: 5px 10px;
  }
}
