/* BeeRenter Design Tokens & Stylesheet */
:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #f0fdfa;
  --accent: #f43f5e;
  --accent-hover: #e11d48;
  --accent-light: #fff1f2;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f8fafc;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
  --shadow-search: 0 16px 32px rgba(15, 23, 42, 0.14), 0 3px 8px rgba(15, 23, 42, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-page);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* ==========================================================================
   Top Header & Navigation
   ========================================================================== */
.header-container {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-top {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Center Search Capsule */
.search-pill {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  padding: 6px 10px 6px 20px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.search-pill:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-pill-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 6px 12px;
  cursor: pointer;
}

.search-pill-btn.muted {
  font-weight: 400;
  color: var(--text-muted);
}

.search-pill-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

.search-icon-circle {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-left: 6px;
  transition: var(--transition);
}

.search-icon-circle svg {
  width: 15px;
  height: 15px;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.search-pill:hover .search-icon-circle {
  background: var(--primary-hover);
  transform: scale(1.05);
}

/* User & Utility Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.host-space-btn {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 14px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.host-space-btn:hover {
  background: var(--bg-subtle);
}

.icon-action-btn {
  background: none;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: var(--transition);
}

.icon-action-btn:hover {
  background: var(--bg-subtle);
}

.currency-icon-img {
  width: 20px;
  height: 20px;
}

.user-profile-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-dark);
  padding: 5px 6px 5px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.user-profile-menu-btn:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.profile-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* User Dropdown Menu */
.user-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 40px;
  width: 240px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px 0;
  z-index: 200;
  display: none;
  animation: fadeInDown 0.15s ease-out forwards;
}

.user-dropdown-panel.active {
  display: block;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 12px 18px;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--bg-subtle);
}

.dropdown-item.bold {
  font-weight: 600;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* ==========================================================================
   Expanded Search Experience
   ========================================================================== */
.search-expander-wrapper {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 16px 40px 24px;
  display: none;
  animation: fadeInDown 0.2s ease-out forwards;
}

.search-expander-wrapper.active {
  display: block;
}

.search-expander-box {
  max-width: 860px;
  margin: 0 auto;
  background: #f7f7f7;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.search-field-item {
  flex: 1;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.search-field-item:hover, .search-field-item.active {
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.search-field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-field-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  padding-top: 2px;
}

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

.search-execute-btn {
  background: var(--primary);
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  margin-right: 8px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.35);
}

.search-execute-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
}

/* Destination dropdown popup */
.destinations-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 380px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-search);
  border: 1px solid var(--border);
  padding: 20px;
  z-index: 300;
  display: none;
}

.destinations-dropdown-menu.active {
  display: block;
}

.dest-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

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

.dest-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: #fff;
  transition: var(--transition);
  font-size: 13px;
  font-weight: 600;
}

.dest-chip:hover, .dest-chip.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.dest-chip-icon {
  font-size: 16px;
}

/* Guests counter popup */
.guests-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 320px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-search);
  border: 1px solid var(--border);
  padding: 20px;
  z-index: 300;
  display: none;
}

.guests-dropdown-menu.active {
  display: block;
}

.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.guest-row:last-child {
  border-bottom: none;
}

.guest-type-title {
  font-size: 14px;
  font-weight: 600;
}

.guest-type-desc {
  font-size: 12px;
  color: var(--text-muted);
}

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

.counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: #ffffff;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.counter-btn:hover {
  border-color: var(--text-dark);
}

.counter-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.counter-val {
  font-size: 15px;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}

/* ==========================================================================
   Category Carousel & Filter Trigger
   ========================================================================== */
.categories-bar-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
}

.categories-scroll {
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  padding-bottom: 4px;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.category-pill-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-muted);
  transition: var(--transition);
}

.category-pill-item:hover {
  color: var(--text-dark);
}

.category-pill-item:hover svg {
  stroke: var(--text-dark);
}

.category-pill-item.active {
  color: var(--text-dark);
  border-bottom-color: var(--primary);
}

.category-pill-item.active svg {
  stroke: var(--primary-hover);
  fill: rgba(255, 183, 0, 0.15);
}

.filters-btn-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.filters-btn-trigger:hover {
  border-color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.active-filter-badge {
  background: var(--primary);
  color: var(--text-dark);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ==========================================================================
   Region Navigation Pills & Highlights
   ========================================================================== */
.region-chips-container {
  max-width: 1440px;
  margin: 0 auto 12px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.region-chips-container::-webkit-scrollbar {
  display: none;
}

.region-chip-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.region-chip-btn:hover {
  background: #ebebeb;
  color: var(--text-dark);
}

.region-chip-btn.active {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

/* ==========================================================================
   Listings Grid & Room Cards
   ========================================================================== */
.main-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 40px 60px;
}

.results-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.results-count-text {
  font-weight: 600;
  color: var(--text-dark);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

/* Individual Card */
.listing-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}

.listing-card:hover {
  transform: translateY(-2px);
}

.card-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 20 / 19;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.card-img-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.card-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.card-slide-img.active {
  opacity: 1;
}

/* Card Wishlist Heart */
.card-wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.card-wishlist-btn:hover {
  transform: scale(1.15);
}

.card-wishlist-btn svg {
  width: 24px;
  height: 24px;
  fill: rgba(0, 0, 0, 0.4);
  stroke: #ffffff;
  stroke-width: 2;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.card-wishlist-btn.saved svg {
  fill: #ff385c;
  stroke: #ff385c;
}

/* Instant book badge */
.instant-book-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.instant-book-badge svg {
  fill: var(--primary-hover);
  width: 13px;
  height: 13px;
}

/* Slider Controls */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.slider-nav-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.listing-card:hover .slider-nav-btn {
  opacity: 1;
}

.slider-nav-btn.prev {
  left: 10px;
}

.slider-nav-btn.next {
  right: 10px;
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.slider-dot.active {
  background: #ffffff;
  width: 8px;
  height: 8px;
}

/* Card Text Content */
.card-details {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.card-location-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-rating-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.card-rating-badge svg {
  fill: #ffb700;
  width: 14px;
  height: 14px;
}

.card-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-dates {
  font-size: 14px;
  color: var(--text-muted);
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 4px;
  font-size: 15px;
}

.card-price-amount {
  font-weight: 700;
  color: var(--text-dark);
}

.card-price-unit {
  font-weight: 400;
  color: var(--text-dark);
  font-size: 14px;
}

.card-beepuntos-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

.card-beepuntos-row img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* Empty State */
.empty-state-view {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
}

.empty-state-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-state-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.empty-reset-btn {
  background: var(--primary);
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

/* ==========================================================================
   Modals (Property Detail, Filters, Currency/Language, Auth)
   ========================================================================== */
.modal-backdrop-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.modal-backdrop-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-window {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: zoomIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-header-bar {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.modal-header-title {
  font-size: 16px;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--bg-subtle);
}

.modal-body-content {
  padding: 24px;
}

/* Quick View / Property Detail Modal Specifics */
.property-modal-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
}

.gallery-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-sub-grid {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.gallery-sub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-details-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
}

.property-info-col h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.property-location-tag {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.property-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.spec-pill {
  background: var(--bg-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
}

.property-host-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.host-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.host-name {
  font-size: 15px;
  font-weight: 700;
}

.host-status {
  font-size: 13px;
  color: var(--text-muted);
}

.property-amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

/* Booking Card (Right Side) */
.booking-checkout-box {
  background: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.booking-price-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.booking-rate-bold {
  font-size: 22px;
  font-weight: 800;
}

.booking-inputs-grid {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.booking-date-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border-dark);
}

.booking-input-block {
  padding: 10px 14px;
}

.booking-input-block:first-child {
  border-right: 1px solid var(--border-dark);
}

.booking-input-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-dark);
}

.booking-input-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

.booking-guests-block {
  padding: 10px 14px;
}

.btn-book-action {
  width: 100%;
  background: var(--accent);
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.4);
}

.btn-book-action:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.booking-fee-table {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.fee-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.fee-row.highlight {
  color: #108a00;
  font-weight: 600;
}

.fee-row.total {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Article Viewer Modal Styles
   ========================================================================== */
.article-category-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-main-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.25;
}

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.article-body-content {
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

.article-body-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 10px;
}

.article-body-content p {
  margin-bottom: 14px;
}

.article-body-content ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.article-body-content li {
  margin-bottom: 8px;
}

.article-callout-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: #0f766e;
}

.article-callout-box strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  color: #0f766e;
}

.article-faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

.article-faq-question {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-size: 15px;
}

.article-faq-answer {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   Filter Modal UI
   ========================================================================== */
.filter-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.filter-section:last-child {
  border-bottom: none;
}

.filter-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.price-box {
  flex: 1;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
}

.price-box-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-box-input {
  width: 100%;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
}

.range-slider-control {
  width: 100%;
  accent-color: var(--primary);
  margin-top: 10px;
}

.options-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-pill-btn {
  padding: 8px 18px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.option-pill-btn:hover {
  border-color: var(--text-dark);
}

.option-pill-btn.active {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

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

.modal-footer-bar {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-clear-filters {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  color: var(--text-dark);
}

.btn-apply-filters {
  background: var(--text-dark);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-apply-filters:hover {
  background: #000000;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 40px 24px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links-list a:hover {
  text-decoration: underline;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.footer-copyright {
  color: var(--text-muted);
}

.footer-utility-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-util-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
}

/* Notification Toast */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #121214;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .header-top {
    padding: 12px 20px;
  }
  .main-content {
    padding: 10px 20px 40px;
  }
  .categories-bar-wrapper {
    padding: 12px 20px;
  }
  .region-chips-container {
    padding: 0 20px;
  }
  .footer-inner {
    padding: 32px 20px 20px;
  }
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .property-details-layout {
    grid-template-columns: 1fr;
  }
  .host-space-btn {
    display: none;
  }
}

@media (max-width: 580px) {
  .listings-grid {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .search-pill-btn.muted {
    display: none;
  }
  .search-pill-divider {
    display: none;
  }
  .property-modal-gallery {
    grid-template-columns: 1fr;
    height: 240px;
  }
  .gallery-sub-grid {
    display: none;
  }
}


/* ==========================================================================
   Booking Confirmation & Payment Gateway Modals
   ========================================================================== */
.booking-summary-banner {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.payment-email-alert {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.payment-booking-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.payment-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.payment-code-display {
  font-family: monospace;
  font-size: 20px;
  font-weight: 800;
  color: #0f766e;
  background: #ccfbf1;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.copy-code-btn, .btn-copy-mini {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-code-btn:hover, .btn-copy-mini:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.payment-link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 12px;
}

.payment-methods-wrapper {
  margin-top: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.payment-tabs-header {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.pay-tab-btn {
  flex: 1;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.pay-tab-btn.active {
  color: #0d9488;
  background: #ffffff;
  border-bottom-color: #0d9488;
}

.pay-tab-panel {
  padding: 16px;
}


/* ==========================================================================
   Real Date Inputs, Guests Selector (1-4) & Availability Alert
   ========================================================================== */
.booking-real-input, .booking-real-select {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  padding: 4px 0 0 0;
  outline: none;
  font-family: inherit;
  cursor: pointer;
}

.booking-real-select {
  padding-right: 14px;
}

.booking-real-input:focus, .booking-real-select:focus {
  color: #0d9488;
}

.availability-alert-banner {
  background: #ecfdf5;
  border: 1.5px solid #10b981;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.12);
}

.availability-icon {
  font-size: 26px;
  line-height: 1;
}

.availability-title {
  font-size: 16px;
  font-weight: 800;
  color: #065f46;
  margin: 0 0 3px 0;
}

.availability-details {
  font-size: 13px;
  font-weight: 500;
  color: #047857;
  margin: 0;
}


/* ==========================================================================
   Bolivianos Currency Badge
   ========================================================================== */
.currency-badge-bob {
  font-size: 13px;
  font-weight: 700;
  color: #0f766e;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.3px;
}
