/* VRS Engine Frontend Styles — Modern Belarusian UX (realty.by / realt.by inspired) */

.wp-block-vrs-search-bar,
.vrs-search-bar-wrap,
.vrs-search--modern-minimalist,
.vrs-single-line-wrap,
.vrs-single-group--rooms,
.vrs-popover-wrap {
  position: relative !important;
  z-index: 999999 !important;
  overflow: visible !important;
}

.vrs-search-bar-wrap {
  background: var(--vrs-search-container-bg, #ffffff) !important;
  padding: 24px;
  border-radius: var(--vrs-search-radius, 16px) !important;
  border: 1px solid var(--vrs-search-border, #e2e8f0) !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  margin-bottom: 30px;
  color: var(--vrs-search-text, #0f172a) !important;
}

.vrs-search-bar-wrap.vrs-shadow--subtle {
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04) !important;
}

.vrs-search-bar-wrap.vrs-shadow--hero {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.22) !important;
}

.vrs-search-bar-wrap.vrs-shadow--flat {
  box-shadow: none !important;
}

.vrs-search-bar-wrap.vrs-shadow--glass {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 12px 32px 0 rgba(15, 23, 42, 0.12) !important;
}

/* ── PRESET 2: Single-Line Modern Minimalist Search (realty.by / realt.by inspired) ── */
.vrs-search--modern-minimalist {
  padding: 16px 20px;
  background: var(--vrs-search-container-bg, #ffffff) !important;
  border-radius: var(--vrs-search-radius, 14px) !important;
  border: 1px solid var(--vrs-search-border, #e2e8f0) !important;
}

.vrs-single-line-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
}

@media (max-width: 850px) {
  .vrs-single-line-wrap {
    flex-wrap: wrap !important;
  }
}

.vrs-single-group {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.vrs-single-group--type {
  flex: 0 0 185px !important;
  width: 185px !important;
  min-width: 185px !important;
  max-width: 185px !important;
  overflow: hidden !important;
}

.vrs-single-group--rooms {
  flex: 0 0 185px !important;
  width: 185px !important;
  min-width: 185px !important;
  max-width: 185px !important;
  overflow: hidden !important;
}

.vrs-single-group--location {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: 100% !important;
}

.vrs-single-group--action {
  flex: 0 0 auto !important;
  margin-left: 0 !important;
}

.vrs-location-picker-wrap {
  position: relative !important;
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: 100% !important;
}

.vrs-location-input-box {
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  min-height: 44px !important;
  padding: 4px 34px 4px 14px !important;
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
  background: #f8fafc !important;
  cursor: text !important;
  position: relative !important;
  transition: all 0.2s ease !important;
}

.vrs-location-input-box:hover, .vrs-location-input-box--active {
  background: #ffffff !important;
  border-color: #096849 !important;
  box-shadow: 0 0 0 3px rgba(9, 104, 73, 0.15) !important;
}

.vrs-location-icon-holder {
  flex: 0 0 auto !important;
  margin-right: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #096849 !important;
}

.vrs-location-content-area {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  min-width: 0 !important;
}

.vrs-selected-tags {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}

.vrs-tag-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #e6f4ea !important;
  color: #096849 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  border: 1px solid #a7f3d0 !important;
  line-height: 1.2 !important;
}

.vrs-tag-chip-remove {
  cursor: pointer !important;
  font-size: 11px !important;
  color: #096849 !important;
  font-weight: 800 !important;
  opacity: 0.7 !important;
  transition: opacity 0.15s !important;
}

.vrs-tag-chip-remove:hover {
  opacity: 1 !important;
  color: #ef4444 !important;
}

.vrs-location-search-input {
  flex: 1 1 auto !important;
  min-width: 120px !important;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
  color: #0f172a;
  padding: 4px 0 !important;
  box-shadow: none !important;
}

.vrs-location-clear-btn {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #cbd5e1;
  color: #475569;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;
  line-height: 1;
}

.vrs-location-clear-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

.vrs-location-arrow {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  transform-origin: center center !important;
  pointer-events: none !important;
  transition: transform 0.25s ease, color 0.2s ease !important;
}

.vrs-location-dropdown-menu,
.vrs-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 99999999 !important;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 16px 36px -5px rgba(15, 23, 42, 0.22), 0 6px 16px rgba(15, 23, 42, 0.12) !important;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px 0;
  animation: vrsPopoverFade 0.2s ease;
}

.vrs-location-item,
.vrs-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.vrs-location-item:hover,
.vrs-dropdown-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.vrs-location-item--selected,
.vrs-dropdown-item--selected {
  background: #e6f4ea !important;
  color: #096849 !important;
  font-weight: 700;
}

.vrs-location-item .vrs-item-check,
.vrs-dropdown-item .vrs-item-check {
  display: none;
  color: #096849;
  font-weight: 800;
}

.vrs-location-item--selected .vrs-item-check,
.vrs-dropdown-item--selected .vrs-item-check {
  display: inline;
}

.vrs-location-item--all {
  border-bottom: 1px solid #e2e8f0;
  font-weight: 700;
  color: #096849;
  margin-bottom: 4px;
}

button.vrs-popover-trigger {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 10px !important;
  outline: none !important;
  margin: 0 !important;
}

button.vrs-popover-trigger:focus,
button.vrs-popover-trigger:focus-visible {
  outline: none !important;
  border-radius: 10px !important;
}

/* UNIFIED CONTAINER & HOVER HIGHLIGHT STYLING FOR ALL 3 FIELDS (Type, Bedrooms, Location) */
.vrs-select-type,
.vrs-popover-trigger,
.vrs-location-input-box {
  box-sizing: border-box !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  font-family: 'Figtree', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.vrs-select-type {
  padding-left: 38px !important;
  appearance: none !important;
}

/* UNIFIED HOVER & ACTIVE HIGHLIGHT STYLING ACROSS ALL THREE FIELDS */
.vrs-select-type:hover,
.vrs-select-type:focus,
.vrs-popover-trigger:hover,
.vrs-popover-trigger:focus,
.vrs-popover-trigger--active,
.vrs-location-input-box:hover,
.vrs-location-input-box--active {
  background: #ffffff !important;
  border-color: #096849 !important;
  border-radius: 10px !important;
  box-shadow: 0 0 0 3px rgba(9, 104, 73, 0.15) !important;
  outline: none !important;
}

.vrs-popover-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

.vrs-trigger-label {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex: 1 1 auto !important;
  text-align: left !important;
  margin-right: 6px !important;
}

.vrs-chevron,
.vrs-location-arrow {
  flex: 0 0 12px !important;
  flex-shrink: 0 !important;
  color: #94a3b8 !important;
  transition: transform 0.25s ease, color 0.2s ease !important;
}

.vrs-popover-trigger--active .vrs-chevron {
  transform: rotate(180deg) !important;
  color: #096849 !important;
}

.vrs-location-input-box--active .vrs-location-arrow {
  transform: translateY(-50%) rotate(180deg) !important;
  color: #096849 !important;
}

.vrs-popover-card {
  display: none;
  position: fixed !important;
  z-index: 99999999 !important;
  min-width: 290px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 16px 36px -5px rgba(15, 23, 42, 0.22), 0 6px 16px rgba(15, 23, 42, 0.12) !important;
  padding: 16px;
  animation: vrsPopoverFade 0.2s ease;
}

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

.vrs-popover-header {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
}

.vrs-rooms-pills--popover {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.vrs-rooms-pills--popover .vrs-room-pill {
  flex: 1;
  min-width: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.vrs-rooms-pills--popover .vrs-room-pill:hover {
  border-color: #096849;
  color: #096849;
  background: #e6f4ea;
}

.vrs-rooms-pills--popover .vrs-room-pill--active {
  background: #096849 !important;
  color: #ffffff !important;
  border-color: #096849 !important;
  box-shadow: 0 2px 8px rgba(9, 104, 73, 0.25);
}

.vrs-btn-search--compact {
  padding: 11px 18px !important;
  border-radius: 10px !important;
  white-space: nowrap;
}

/* ── PRESET 1: Modern Full Search Layout ── */
.vrs-search-type-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  overflow-x: auto;
  scrollbar-width: thin;
}

.vrs-type-tab {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  outline: none;
}

.vrs-type-tab:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.vrs-type-tab--active {
  background: #096849 !important;
  color: #ffffff !important;
  border-color: #096849 !important;
  box-shadow: 0 4px 10px rgba(9, 104, 73, 0.25);
  font-weight: 700;
}

/* Controls Grid Layout */
.vrs-search-controls-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1.2fr 1fr;
  gap: 16px;
  align-items: end;
}

@media (max-width: 992px) {
  .vrs-search-controls-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .vrs-search-controls-grid {
    grid-template-columns: 1fr;
  }
}

.vrs-form-group {
  display: flex;
  flex-direction: column;
}

.vrs-form-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 8px;
}

/* Location Input Icon Wrap */
.vrs-input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.vrs-input-icon-wrap .vrs-icon {
  position: absolute;
  left: 14px;
  color: #096849;
  pointer-events: none;
}

.vrs-select {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vrs-select:focus {
  border-color: #096849;
  box-shadow: 0 0 0 3px rgba(9, 104, 73, 0.15);
  outline: none;
}

/* Rooms / Bedrooms Pills */
.vrs-rooms-pills {
  display: flex;
  gap: 6px;
}

.vrs-room-pill {
  flex: 1;
  padding: 10px 0;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  outline: none;
}

.vrs-room-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.vrs-room-pill--active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

/* Price Range Inputs */
.vrs-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vrs-input-price {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.vrs-input-price:focus {
  border-color: #096849;
}

.vrs-price-dash {
  color: #94a3b8;
  font-weight: 700;
}

/* Search Action Button */
.vrs-btn-search, .vrs-btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--vrs-search-primary, #096849);
  color: var(--vrs-search-btn-text, #ffffff);
  border: none;
  padding: 12px 22px;
  border-radius: var(--vrs-search-field-radius, 10px);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(9, 104, 73, 0.25);
}

.vrs-btn-search:hover, .vrs-btn-book:hover {
  background: var(--vrs-search-btn-hover, #064e37);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(9, 104, 73, 0.35);
}

/* ── Property Grid Layout Presets & Visual Enhancement ── */
.vrs-property-grid-container { position: relative; z-index: 1; font-family: 'Figtree', 'Manrope', -apple-system, sans-serif; }
.vrs-empty-grid-msg { position: relative; z-index: 1; }
.vrs-grid { display: grid; gap: 24px; margin-bottom: 30px; }
.vrs-grid--cols-1 { grid-template-columns: 1fr; }
.vrs-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.vrs-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.vrs-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive Grid Column Scaling */
@media (max-width: 640px) {
  .vrs-grid--cols-2, .vrs-grid--cols-3, .vrs-grid--cols-4 { grid-template-columns: 1fr !important; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .vrs-grid--cols-3, .vrs-grid--cols-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Horizontal List / Row View Preset */
.vrs-grid-layout--list { grid-template-columns: 1fr !important; }
.vrs-grid-layout--list .vrs-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  overflow: hidden !important;
}
.vrs-grid-layout--list .vrs-card__img {
  width: 320px !important;
  min-height: 220px !important;
  height: auto !important;
  flex-shrink: 0 !important;
}
.vrs-grid-layout--list .vrs-card__body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 22px 26px !important;
}
@media (max-width: 768px) {
  .vrs-grid-layout--list .vrs-card { flex-direction: column !important; }
  .vrs-grid-layout--list .vrs-card__img { width: 100% !important; height: 210px !important; }
}

/* Card Themes & Shadow Presets */
.vrs-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}
.vrs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.1) !important;
}

.vrs-card-style--shadow { border: 1px solid #f1f5f9 !important; box-shadow: 0 6px 20px rgba(15,23,42,0.06); }
.vrs-card-style--glass { background: rgba(255, 255, 255, 0.92) !important; backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important; border: 1px solid rgba(255, 255, 255, 0.6) !important; }
.vrs-card-style--minimal { border: none !important; box-shadow: none !important; background: transparent !important; }

.vrs-shadow-subtle .vrs-card { box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04); }
.vrs-shadow-hero .vrs-card { box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.12); }
.vrs-shadow-flat .vrs-card { box-shadow: none !important; }
.vrs-shadow-glass .vrs-card { box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07); }

/* Image Aspect Ratios */
.vrs-card__img { position: relative; height: 210px; background: #f1f5f9; overflow: hidden; }
.vrs-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.vrs-card:hover .vrs-card__img img { transform: scale(1.04); }
.vrs-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: #94a3b8; font-weight: 600; font-size: 14px; background: #f8fafc; }

.vrs-card__img--16-9 { aspect-ratio: 16 / 9; height: auto !important; min-height: 190px; }
.vrs-card__img--4-3 { aspect-ratio: 4 / 3; height: auto !important; min-height: 220px; }
.vrs-card__img--3-2 { aspect-ratio: 3 / 2; height: auto !important; min-height: 210px; }
.vrs-card__img--1-1 { aspect-ratio: 1 / 1; height: auto !important; min-height: 240px; }

/* Image Badges & Overlays */
.vrs-card__badge-purpose {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.vrs-badge-rental { background: rgba(9, 104, 73, 0.92); color: #ffffff; }
.vrs-badge-sale { background: rgba(15, 23, 42, 0.92); color: #ffffff; }

.vrs-card__wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
  padding: 0;
}
.vrs-card__wishlist-btn:hover {
  transform: scale(1.1);
  color: #e11d48;
  background: #ffffff;
}
.vrs-card__wishlist-btn.vrs-is-saved {
  color: #e11d48;
  background: #ffffff;
}
.vrs-card__wishlist-btn.vrs-is-saved svg {
  fill: #e11d48;
}

.vrs-card__price {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  backdrop-filter: blur(4px);
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.vrs-card__price small { font-size: 11.5px; opacity: 0.85; font-weight: 600; }

/* Card Body Content */
.vrs-card__body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; }
.vrs-card__meta-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.vrs-card__area {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: #096849;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vrs-card__location-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vrs-card__rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #0f172a; }
.vrs-card__rating small { color: #64748b; font-weight: 500; }
.vrs-card__title { margin: 0 0 12px 0; font-size: 17.5px; font-weight: 700; line-height: 1.35; }
.vrs-card__title a { color: #0f172a; text-decoration: none; transition: color 0.15s ease; }
.vrs-card__title a:hover { color: #096849; }

.vrs-card__specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 12.5px;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  margin-top: auto;
  font-weight: 500;
}
.vrs-card__spec-item { display: inline-flex; align-items: center; gap: 5px; }
.vrs-card__spec-icon { display: inline-flex; align-items: center; color: #096849; }

/* Card CTA Action Button Alignment & Custom Variables */
.vrs-card__footer {
  margin-top: var(--vrs-btn-mar-top, 14px);
  margin-bottom: var(--vrs-btn-mar-bottom, 0px);
  display: flex;
}

.vrs-btn-align-full .vrs-card__footer { justify-content: stretch; }
.vrs-btn-align-full .vrs-btn-card-cta { width: 100%; }

.vrs-btn-align-left .vrs-card__footer { justify-content: flex-start; }
.vrs-btn-align-left .vrs-btn-card-cta { width: auto; }

.vrs-btn-align-center .vrs-card__footer { justify-content: center; }
.vrs-btn-align-center .vrs-btn-card-cta { width: auto; }

.vrs-btn-align-right .vrs-card__footer { justify-content: flex-end; }
.vrs-btn-align-right .vrs-btn-card-cta { width: auto; }

.vrs-btn-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--vrs-btn-pad-top, 10px) var(--vrs-btn-pad-right, 16px) var(--vrs-btn-pad-bottom, 10px) var(--vrs-btn-pad-left, 16px) !important;
  border-radius: var(--vrs-btn-radius, 8px) !important;
  font-size: var(--vrs-btn-font-size, 13.5px) !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
  gap: 6px;
  border: var(--vrs-btn-border-width, 1px) solid var(--vrs-btn-border-color, #096849) !important;
  color: var(--vrs-btn-color, #ffffff) !important;
  background: var(--vrs-btn-bg, #096849) !important;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.vrs-btn-card-cta:hover {
  color: var(--vrs-btn-hover-color, #ffffff) !important;
  background: var(--vrs-btn-hover-bg, #064e37) !important;
  border-color: var(--vrs-btn-hover-border-color, #064e37) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

/* ── Property Specs Bar (HD Minimalist SVG Icons & Live Layout Presets) ── */
.vrs-specs-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px 24px !important;
  padding: 16px 24px !important;
  margin-bottom: 24px !important;
  font-family: 'Figtree', 'Manrope', -apple-system, sans-serif !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.2s ease !important;
}

.vrs-specs--vertical {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

.vrs-spec-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.vrs-spec-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.vrs-spec-icon svg {
  display: block !important;
  margin: 0 !important;
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
}

.vrs-spec-info {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}

.vrs-spec-val {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

/* ── Property Amenities Block (realt.by / Airbnb Flat Categorized) ── */
.vrs-amenities-section {
  font-family: 'Figtree', 'Manrope', -apple-system, sans-serif !important;
}

.vrs-amenity-item {
  transition: all 0.2s ease !important;
}

.vrs-amenity-item:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

.vrs-amenity-icon svg {
  display: block !important;
  stroke: currentColor !important;
}

/* ── Booking & Availability Widget Block (vrs/booking-widget UI Shell) ── */
.vrs-booking-widget-wrap {
  background: #ffffff !important;
  padding: 24px !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  width: 100% !important;
  max-width: 420px !important;
  box-sizing: border-box !important;
}

.vrs-booking-widget-wrap br,
.vrs-booking-widget-wrap p:empty {
  display: none !important;
}

.vrs-booking-widget-wrap p {
  margin: 0 !important;
  padding: 0 !important;
  display: contents !important;
}

.vrs-bw-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  width: 100% !important;
}

.vrs-bw-price-tag {
  display: flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  color: #0f172a !important;
}

.vrs-bw-currency {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  font-family: 'Figtree', sans-serif !important;
}

.vrs-bw-price-num {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  font-family: 'Figtree', sans-serif !important;
}

.vrs-bw-price-period {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #64748b !important;
}

.vrs-bw-rating-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  border: 1px solid #f1f5f9 !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

.vrs-bw-star-icon {
  flex-shrink: 0 !important;
}

.vrs-bw-review-count {
  color: #64748b !important;
  font-weight: 400 !important;
}

.vrs-bw-rating-link {
  display: inline-flex !important;
  text-decoration: none !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
  transition: transform 0.15s ease, opacity 0.15s ease !important;
}

.vrs-bw-rating-link:hover {
  transform: translateY(-1px) !important;
  opacity: 0.9 !important;
}

.vrs-bw-rating-link:hover .vrs-bw-rating-badge {
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

.vrs-bw-card-form {
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  margin-bottom: 20px !important;
  transition: border-color 0.15s ease !important;
}

.vrs-bw-card-form:hover {
  border-color: #94a3b8 !important;
}

.vrs-bw-field-group {
  position: relative !important;
}

.vrs-bw-dates-group {
  display: flex !important;
  border-bottom: 1px solid #cbd5e1 !important;
}

.vrs-bw-field-col {
  flex: 1 !important;
  padding: 10px 14px !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}

.vrs-bw-field-col:hover {
  background: #f8fafc !important;
}

.vrs-bw-field-divider {
  width: 1px !important;
  background: #cbd5e1 !important;
}

.vrs-bw-field-label {
  display: block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  color: #0f172a !important;
  text-transform: uppercase !important;
  margin-bottom: 2px !important;
}

.vrs-bw-field-value {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  white-space: nowrap !important;
}

.vrs-bw-guests-val {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.vrs-bw-chevron-icon {
  color: #64748b !important;
  flex-shrink: 0 !important;
}

.vrs-bw-breakdown {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
  padding: 4px 2px !important;
}

.vrs-bw-breakdown-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 14px !important;
}

.vrs-bw-breakdown-label {
  color: #475569 !important;
  font-weight: 400 !important;
  text-decoration: underline dotted #cbd5e1 !important;
  text-underline-offset: 3px !important;
}

.vrs-bw-breakdown-val {
  color: #0f172a !important;
  font-weight: 600 !important;
}

.vrs-bw-breakdown-divider {
  height: 1px !important;
  background: #e2e8f0 !important;
  margin: 4px 0 !important;
}

.vrs-bw-breakdown-total {
  font-size: 16px !important;
  padding-top: 2px !important;
}

.vrs-bw-total-label {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.vrs-bw-total-val {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  font-family: 'Figtree', sans-serif !important;
}

.vrs-bw-cta-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}

.vrs-bw-btn-cta {
  width: 100% !important;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  border: none !important;
  background: linear-gradient(135deg, #096849 0%, #064e37 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-align: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(9, 104, 73, 0.25) !important;
  transition: all 0.2s ease !important;
  font-family: 'Manrope', 'Inter', sans-serif !important;
}

.vrs-bw-btn-disabled {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  background: #096849 !important;
}

.vrs-bw-notice {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 12px !important;
  color: #64748b !important;
  text-align: center !important;
}

.vrs-bw-lock-icon {
  flex-shrink: 0 !important;
  color: #64748b !important;
}

.vrs-pricing-matrix-wrap { margin-bottom: 24px; }
.vrs-rates-table { width: 100%; border-collapse: collapse; text-align: center; }
.vrs-rates-table th { background: #1e293b; color: #fff; padding: 8px; font-size: 12px; }
.vrs-rates-table td { padding: 10px 4px; border: 1px solid #e2e8f0; font-size: 13px; font-weight: 600; }
.vrs-closed { color: #ef4444; font-size: 11px; }

/* ── Property Photos Gallery Block (Airbnb / Greenside 1-Piece Outer Rounded Hero Grid) ── */
.vrs-gallery {
  position: relative !important;
  margin-bottom: 32px !important;
  width: 100% !important;
}

.vrs-gallery__grid {
  display: grid !important;
  grid-template-columns: 1.65fr 1fr !important;
  grid-template-rows: 480px !important;
  gap: 8px !important;
  width: 100% !important;
  height: 480px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  isolation: isolate !important;
  clip-path: inset(0 round 16px) !important;
}

.vrs-gallery__hero {
  overflow: hidden !important;
  height: 480px !important;
  border-radius: 0 !important;
  position: relative !important;
}

.vrs-gallery__thumbs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 236px 236px !important;
  gap: 8px !important;
  height: 480px !important;
}

.vrs-gallery__cell {
  overflow: hidden !important;
  cursor: pointer !important;
  position: relative !important;
  border-radius: 0 !important;
  height: 100% !important;
  width: 100% !important;
}

.vrs-gallery__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  transition: transform 0.4s ease !important;
}

.vrs-gallery__cell:hover .vrs-gallery__img,
.vrs-gallery__hero:hover .vrs-gallery__img {
  transform: scale(1.04) !important;
}

.vrs-gallery__cell--last {
  position: relative !important;
}

/* White Pill "View all photos" button with 100% vertically centered text */
.vrs-gallery__all-btn {
  position: absolute !important;
  bottom: 12px !important;
  right: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-family: 'Figtree', 'Manrope', -apple-system, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  padding: 8px 16px !important;
  border-radius: 99px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16) !important;
  transition: all 0.2s ease !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  cursor: pointer !important;
  z-index: 10 !important;
  vertical-align: middle !important;
}

.vrs-gallery__all-btn svg {
  flex-shrink: 0 !important;
  width: 15px !important;
  height: 15px !important;
  display: block !important;
  margin: 0 !important;
  stroke: currentColor !important;
}

.vrs-gallery__all-btn span {
  display: inline-block !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
}

.vrs-gallery__all-btn:hover {
  background: #ffffff !important;
  color: #096849 !important;
  border-color: #096849 !important;
  box-shadow: 0 6px 18px rgba(9, 104, 73, 0.24) !important;
  transform: translateY(-1px) !important;
}

/* ── Lightbox Overlay (Prototype 1:1) ── */
.vrs-lightbox-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  z-index: 99999998 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease !important;
}

.vrs-lightbox-backdrop.vrs-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

.vrs-lightbox {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease !important;
}

.vrs-lightbox.vrs-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

.vrs-lightbox__img-wrap {
  width: min(90vw, 1000px) !important;
  height: min(80vh, 700px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.vrs-lightbox__img {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.vrs-lightbox__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6) !important;
}

.vrs-lightbox__close {
  position: absolute !important;
  top: 24px !important;
  right: 24px !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  z-index: 10 !important;
}

.vrs-lightbox__close svg,
.vrs-lightbox__nav svg {
  pointer-events: none !important;
}

.vrs-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

.vrs-lightbox__nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  z-index: 10 !important;
}

.vrs-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

.vrs-lightbox__nav--prev { left: 24px !important; }
.vrs-lightbox__nav--next { right: 24px !important; }

.vrs-lightbox__counter {
  position: absolute !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  padding: 6px 16px !important;
  border-radius: 99px !important;
  backdrop-filter: blur(4px) !important;
}

@media (max-width: 768px) {
  .vrs-gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: 300px;
  }
  .vrs-gallery__thumbs {
    display: none;
  }
}

/* ════════════════════════════════════════════════════════════ */
/* 📅 DUAL-MONTH CALENDAR & GUEST STEPPER POPOVERS (realt.by / Airbnb) */
/* ════════════════════════════════════════════════════════════ */
.vrs-datepicker-popover {
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18), 0 8px 16px -4px rgba(15, 23, 42, 0.08) !important;
  padding: 24px !important;
  width: 660px !important;
  max-width: 95vw !important;
  box-sizing: border-box !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: #0f172a !important;
  z-index: 99999999 !important;
}

.vrs-dp-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.vrs-dp-title {
  margin: 0 0 6px 0 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  font-family: 'Figtree', sans-serif !important;
}

.vrs-dp-range-display {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: #64748b !important;
}

.vrs-dp-date-badge {
  font-weight: 600 !important;
  color: #0f172a !important;
}

.vrs-dp-clear-btn {
  background: transparent !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.vrs-dp-clear-btn:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}

.vrs-dp-calendar-container {
  position: relative !important;
}

button.vrs-dp-nav-btn,
.vrs-dp-nav-btn {
  position: absolute !important;
  top: 4px !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  z-index: 10 !important;
  line-height: 1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

button.vrs-dp-nav-btn:hover,
.vrs-dp-nav-btn:hover {
  background: #f8fafc !important;
  border-color: #0f172a !important;
  transform: scale(1.05) !important;
}

button.vrs-dp-nav-btn svg,
.vrs-dp-nav-btn svg {
  width: 16px !important;
  height: 16px !important;
  stroke: #0f172a !important;
  fill: none !important;
  display: block !important;
  margin: 0 auto !important;
  pointer-events: none !important;
}

.vrs-dp-nav-prev { left: 4px !important; }
.vrs-dp-nav-next { right: 4px !important; }

.vrs-dp-months-wrap {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px !important;
}

.vrs-dp-month-header {
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 16px !important;
  font-family: 'Manrope', sans-serif !important;
}

.vrs-dp-week-headers {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  text-align: center !important;
  margin-bottom: 8px !important;
}

.vrs-dp-day-head {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  padding: 4px 0 !important;
}

.vrs-dp-days-cells {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 2px 0 !important;
}

.vrs-dp-day-empty {
  height: 38px !important;
}

.vrs-dp-day {
  position: relative !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.12s ease !important;
  user-select: none !important;
  box-sizing: border-box !important;
}

.vrs-dp-day:hover:not(.vrs-dp-day--disabled):not(.vrs-dp-day--start):not(.vrs-dp-day--end):not(.vrs-dp-day--hover-end) {
  background: #f1f5f9 !important;
  border-radius: 8px !important;
}

.vrs-dp-day--disabled {
  color: #cbd5e1 !important;
  cursor: not-allowed !important;
  text-decoration: line-through !important;
  background: transparent !important;
}

/* ── Active Selected Range Pillars & Caps ── */
.vrs-dp-day--start,
.vrs-dp-day--end,
.vrs-dp-day--hover-end,
.vrs-dp-day.vrs-dp-day--start,
.vrs-dp-day.vrs-dp-day--end,
.vrs-dp-day.vrs-dp-day--hover-end {
  background: var(--vrs-bw-accent, #096849) !important;
  background-color: var(--vrs-bw-accent, #096849) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  box-shadow: 0 3px 10px rgba(9, 104, 73, 0.35) !important;
  z-index: 3 !important;
}

.vrs-dp-day--cap-left {
  border-radius: 8px 0 0 8px !important;
}

.vrs-dp-day--cap-right {
  border-radius: 0 8px 8px 0 !important;
}

.vrs-dp-day--in-range {
  background: #e6f4ef !important;
  background-color: #e6f4ef !important;
  color: #064e37 !important;
  font-weight: 700 !important;
  border-radius: 0 !important;
  z-index: 1 !important;
}

.vrs-dp-date-badge--selected {
  color: var(--vrs-bw-accent, #096849) !important;
  font-weight: 800 !important;
}

.vrs-dp-day--start,
.vrs-dp-day--end,
.vrs-dp-day.vrs-dp-day--start,
.vrs-dp-day.vrs-dp-day--end {
  background: var(--vrs-bw-accent, #096849) !important;
  background-color: var(--vrs-bw-accent, #096849) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  box-shadow: 0 3px 10px rgba(9, 104, 73, 0.35) !important;
}

.vrs-dp-date-badge--selected {
  color: var(--vrs-bw-accent, #096849) !important;
  font-weight: 800 !important;
}
  border-radius: 8px !important;
  font-weight: 800 !important;
}

.vrs-dp-day--in-range {
  background: #e6f4ef !important;
  color: #064e37 !important;
  border-radius: 0 !important;
}

/* Floating Night Counter Badge Pill (realt.by screenshot 1 UX) */
.vrs-dp-hover-badge {
  position: absolute !important;
  top: -30px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 8px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
  z-index: 10 !important;
}

.vrs-dp-hover-badge::after {
  content: '' !important;
  position: absolute !important;
  bottom: -4px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border-width: 4px 4px 0 4px !important;
  border-style: solid !important;
  border-color: #0f172a transparent transparent transparent !important;
}

.vrs-dp-footer {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid #f1f5f9 !important;
}

.vrs-dp-close-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  border: none !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

/* 👥 Guest Stepper Popover Styling */
.vrs-guests-popover {
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.16) !important;
  padding: 20px !important;
  width: 320px !important;
  box-sizing: border-box !important;
  z-index: 99999999 !important;
}

.vrs-gp-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.vrs-gp-row:last-of-type {
  border-bottom: none !important;
}

.vrs-gp-label {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.vrs-gp-desc {
  font-size: 12px !important;
  color: #64748b !important;
}

.vrs-gp-stepper {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.vrs-gp-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.vrs-gp-btn:hover:not(:disabled) {
  border-color: #0f172a !important;
  background: #f8fafc !important;
}

.vrs-gp-btn:disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
}

.vrs-gp-val {
  font-size: 15px !important;
  font-weight: 800 !important;
  width: 20px !important;
  text-align: center !important;
}

.vrs-gp-footer {
  margin-top: 14px !important;
  display: flex !important;
  justify-content: flex-end !important;
}

.vrs-gp-done-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  border: none !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.vrs-bw-field-col--merged,
.vrs-bw-field-col--guests {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.vrs-bw-field-icon {
  color: var(--vrs-bw-accent, #096849) !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

@media (max-width: 640px) {
  .vrs-datepicker-popover {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 92vw !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
  }

  .vrs-dp-months-wrap {
    grid-template-columns: 1fr !important;
  }
}

/* ── VRS BLOCK INSPECTOR: HIDE THIRD-PARTY INJECTED ADVANCED & ADDITIONAL CSS PANELS OUTSIDE OUR TABS ── */
.block-editor-block-inspector:has(.vrs-inspector-tabs) .components-panel__body:not(:has(.vrs-tab-panel)):not(.vrs-tab-panel *):has(textarea),
.block-editor-block-inspector:has(.vrs-inspector-tabs) .components-panel__body:not(:has(.vrs-tab-panel)):not(.vrs-tab-panel *):has(.components-textarea-control) {
  display: none !important;
}

.vrs-tab-panel,
.vrs-tab-panel .components-panel__body {
  display: block !important;
}

/* ── Dedicated Vacation Rental Booking Search Bar (vrs/booking-search-bar) ── */
.wp-block-vrs-booking-search-bar,
.vrs-booking-search-bar-wrap {
  position: relative !important;
  z-index: 999999 !important;
  overflow: visible !important;
  background: var(--vrs-search-container-bg, #ffffff) !important;
  border-radius: var(--vrs-search-radius, 16px) !important;
  border-style: solid !important;
  border-width: var(--vrs-search-border-width, 1px) !important;
  border-color: var(--vrs-search-border-color, #e2e8f0) !important;
  padding-top: var(--vrs-padding-top, 24px) !important;
  padding-right: var(--vrs-padding-right, 24px) !important;
  padding-bottom: var(--vrs-padding-bottom, 24px) !important;
  padding-left: var(--vrs-padding-left, 24px) !important;
  margin-top: var(--vrs-margin-top, 0px) !important;
  margin-right: var(--vrs-margin-right, 0px) !important;
  margin-bottom: var(--vrs-margin-bottom, 24px) !important;
  margin-left: var(--vrs-margin-left, 0px) !important;
  color: var(--vrs-search-text, #0f172a) !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
}

.vrs-booking-search-bar-wrap.vrs-shadow--subtle {
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04) !important;
}
.vrs-booking-search-bar-wrap.vrs-shadow--hero {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.22) !important;
}
.vrs-booking-search-bar-wrap.vrs-shadow--flat,
.vrs-booking-search-bar-wrap.vrs-shadow--none {
  box-shadow: none !important;
}
.vrs-booking-search-bar-wrap.vrs-shadow--glass {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 12px 32px 0 rgba(15, 23, 42, 0.12) !important;
}

/* Mobile Responsive Layout for Booking Search Bar */
@media (max-width: 768px) {
  .vrs-booking-search-bar-wrap {
    padding: 16px !important;
  }

  .vrs-bbs-fields-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .vrs-bbs-field-group {
    width: 100% !important;
    flex: 1 1 100% !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
  }

  .vrs-bbs-submit-wrap {
    width: 100% !important;
    margin-top: 4px !important;
  }

  .vrs-bbs-submit-btn {
    width: 100% !important;
    min-height: 50px !important;
    justify-content: center !important;
    font-size: 15px !important;
    border-radius: 10px !important;
  }
}

.vrs-bbs-form {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Single-Line Layout (Compact 1 Row Grid) */
.vrs-bbs-layout--single-line .vrs-bbs-fields-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

.vrs-bbs-layout--single-line .vrs-bbs-field-group {
  flex: 1 1 0% !important;
  min-width: 0 !important;
}

.vrs-bbs-layout--single-line .vrs-bbs-submit-wrap {
  flex: 0 0 auto !important;
}

/* Multi-Row Layout (Stacked 1 Field Per Row) */
.vrs-bbs-layout--multi-row .vrs-bbs-fields-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
}

.vrs-bbs-layout--multi-row .vrs-bbs-field-group {
  width: 100% !important;
  flex: 1 1 100% !important;
  min-height: 52px !important;
  box-sizing: border-box !important;
}

.vrs-bbs-layout--multi-row .vrs-bbs-submit-wrap {
  width: 100% !important;
  margin-top: 4px !important;
}

.vrs-bbs-layout--multi-row .vrs-bbs-submit-btn {
  width: 100% !important;
  min-height: 50px !important;
  justify-content: center !important;
}

/* Field Group Container */
.vrs-bbs-field-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  background: var(--vrs-search-input-bg, #f8fafc) !important;
  border: 1px solid var(--vrs-search-border, #e2e8f0) !important;
  border-radius: var(--vrs-search-field-radius, 10px) !important;
  cursor: pointer !important;
  position: relative !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.vrs-bbs-field-group:hover,
.vrs-bbs-field-group:focus-within,
.vrs-bbs-field-group--active,
.vrs-bbs-location-trigger--active,
.vrs-bbs-type-trigger--active,
.vrs-bbs-dates-trigger--active,
.vrs-bbs-guests-trigger--active {
  background: #ffffff !important;
  border-color: var(--vrs-search-primary, #096849) !important;
  box-shadow: 0 0 0 2px rgba(9, 104, 73, 0.12) !important;
}

.vrs-bbs-field-icon {
  color: var(--vrs-search-primary, #096849) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.vrs-bbs-field-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex-grow: 1 !important;
  min-width: 0 !important;
}

.vrs-bbs-label {
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  margin: 0 0 2px 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

/* Unified Field Group Container & Values for Booking Search Bar */
.vrs-bbs-value,
.vrs-bbs-select {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--vrs-search-text, #0f172a) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.3 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  display: block !important;
  width: 100% !important;
}

/* Ensure inner elements inside .vrs-bbs-field-group have zero inner border or shadow */
.vrs-bbs-field-group .vrs-bbs-value,
.vrs-bbs-field-group .vrs-trigger-label {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--vrs-search-text, #0f172a) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.vrs-bbs-select {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  cursor: pointer !important;
  width: 100% !important;
  font-family: inherit !important;
}

/* Greenside Emerald Checkmarks for Type Checklist Popover */
.vrs-bbs-type-dropdown {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  min-width: 200px !important;
  z-index: 1000000 !important;
}

.vrs-bbs-type-dropdown .vrs-dropdown-item--selected,
.vrs-bbs-type-dropdown .vrs-ms-option--selected {
  background: #e6f4ea !important;
  color: #096849 !important;
  font-weight: 700 !important;
}

.vrs-bbs-type-dropdown .vrs-dropdown-item--selected .vrs-item-check {
  color: #096849 !important;
  font-weight: 800 !important;
  display: inline-block !important;
}

/* Submit Button */
.vrs-bbs-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 44px !important;
  padding: 0 20px !important;
  background: var(--vrs-search-primary, #096849) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: var(--vrs-search-field-radius, 10px) !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.1s ease !important;
  width: 100% !important;
}

.vrs-bbs-submit-btn:hover {
  background: #064e37 !important;
}

@media (max-width: 900px) {
  .vrs-bbs-layout--single-line .vrs-bbs-fields-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .vrs-bbs-layout--single-line .vrs-bbs-submit-wrap {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 580px) {
  .vrs-bbs-layout--single-line .vrs-bbs-fields-grid,
  .vrs-bbs-layout--multi-row .vrs-bbs-fields-grid {
    grid-template-columns: 1fr !important;
  }
}

