/* ============================================================================
   Lodging Suite V2 — Property Search & Detail Styles
   ============================================================================ */

:root {
  --ls-accent-color: #1a3a5c;
  --ls-button-text-color: #fff;
  --ls-v2-radius: 8px;
  --ls-v2-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --ls-v2-border: #e0e0e0;
  --ls-v2-bg: #fff;
  --ls-v2-text: #333;
  --ls-v2-text-light: #666;
  --ls-v2-text-muted: #999;
}

/* ============================================================================
   SEARCH BAR
   ============================================================================ */

.ls-v2-search-bar {
  position: relative;
  margin-bottom: 24px;
  text-align: center;
}

.ls-v2-search-bar__form {
  display: inline-flex;
  align-items: stretch;
  gap: 10px;
  background: transparent;
}

.ls-v2-search-bar__dates {
  display: flex;
  gap: 10px;
  position: relative;
}

.ls-v2-search-bar__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 15px;
  color: var(--ls-v2-text);
  border: 1px solid #d1d5db;
  background: #fff;
  white-space: nowrap;
  user-select: none;
  transition: background 0.15s;
  min-width: 170px;
}

.ls-v2-search-bar__field:hover {
  background: #f9fafb;
}

.ls-v2-search-bar__field svg {
  flex-shrink: 0;
  color: #6b7280;
  width: 20px;
  height: 20px;
}

.ls-v2-search-bar__field .ls-v2-chevron {
  margin-left: auto;
  width: 14px;
  height: 14px;
  color: #9ca3af;
}

.ls-v2-search-bar__guest-wrap {
  position: relative;
}

.ls-v2-search-bar__guest-field {
  cursor: pointer;
  min-width: 170px;
}

.ls-v2-search-bar__search-btn {
  background: var(--ls-accent-color, #1a3a5c) !important;
  color: var(--ls-button-text-color, #fff) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.ls-v2-search-bar__search-btn:hover {
  opacity: 0.9;
}

.ls-v2-search-bar__search-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ls-v2-search-bar__calendar-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  background: #fff;
  border: 1px solid #d1d5db;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  margin-top: 2px;
  padding: 16px 20px;
  min-width: 560px;
}

.ls-v2-search-bar__guest-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  background: #fff;
  border: 1px solid #d1d5db;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 16px;
  margin-top: 2px;
  min-width: 240px;
}

.ls-v2-search-bar__guest-title {
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.ls-v2-search-bar__guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
  color: #374151;
}

.ls-v2-search-bar__counter {
  display: flex;
  align-items: center;
}

.ls-v2-search-bar__counter button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d1d5db;
  font-size: 16px;
  cursor: pointer;
  color: #374151;
  transition: background 0.15s;
}

.ls-v2-search-bar__counter button:first-child {
  border-radius: 4px 0 0 4px;
}

.ls-v2-search-bar__counter button:last-child {
  border-radius: 0 4px 4px 0;
}

.ls-v2-search-bar__counter button:hover:not(:disabled) {
  background: #f3f4f6;
}

.ls-v2-search-bar__counter button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ls-v2-search-bar__counter span {
  width: 32px;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
  line-height: 26px;
}

.ls-v2-search-bar__guest-apply {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 8px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #1f2937;
  cursor: pointer;
  transition: background 0.15s;
}

.ls-v2-search-bar__guest-apply:hover {
  background: #f3f4f6;
}

.ls-v2-search-bar__alts {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.ls-v2-search-bar__alts-label {
  font-size: 13px;
  color: #6b7280;
}

.ls-v2-search-bar__alt-btn {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
}

.ls-v2-search-bar__alt-btn:hover {
  border-color: var(--ls-accent-color, #1a3a5c);
  color: var(--ls-accent-color, #1a3a5c);
}

/* ============================================================================
   PROPERTY GRID
   ============================================================================ */

.ls-v2-grid-count {
  font-size: 14px;
  color: var(--ls-v2-text-light);
  margin-bottom: 16px;
  text-align: right;
}

.ls-v2-property-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ls-v2-grid-loading,
.ls-v2-grid-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ls-v2-text-light);
}

.ls-v2-grid-loading .ls-spinner {
  margin: 0 auto 12px;
}

/* ============================================================================
   PROPERTY CARD
   ============================================================================ */

.ls-v2-property-card {
  width: calc(25% - 18px);
  background: var(--ls-v2-bg);
  overflow: hidden;
}

.ls-v2-property-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.ls-v2-property-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0f0;
}

.ls-v2-property-card__image::after,
.ls-v2-property-card__image::before,
.ls-v2-property-card__link::after,
.ls-v2-property-card__link::before {
  display: none !important;
}

.ls-v2-property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ls-v2-property-card__no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ls-v2-text-muted);
  font-size: 14px;
}

.ls-v2-property-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Photo carousel arrows */
.ls-v2-property-card__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  padding: 0;
  opacity: 1;
  z-index: 2;
}

.ls-v2-property-card__arrow:hover {
  background: #fff;
}

.ls-v2-property-card__arrow svg {
  width: 16px;
  height: 16px;
}

.ls-v2-property-card__arrow--left {
  left: 8px;
}

.ls-v2-property-card__arrow--right {
  right: 8px;
}

/* Photo carousel dots */
.ls-v2-property-card__dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.ls-v2-property-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s;
}

.ls-v2-property-card__dot--active {
  background: #fff;
}

.ls-v2-property-card__body {
  padding: 10px 2px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ls-v2-property-card__name-link {
  text-decoration: none !important;
  color: inherit;
}

.ls-v2-property-card__name-link:hover {
  text-decoration: none !important;
}

.ls-v2-property-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ls-accent-color, #1a3a5c);
  margin: 0 0 4px;
  line-height: 1.3;
}

.ls-v2-property-card__specs {
  font-size: 13px;
  color: var(--ls-v2-text-light);
  margin-bottom: 6px;
}

.ls-v2-property-card__price-wrap {
  position: relative;
  margin-bottom: 8px;
  cursor: default;
}

.ls-v2-property-card__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--ls-v2-text);
  margin-bottom: 8px;
}

.ls-v2-property-card__price-wrap .ls-v2-property-card__price {
  margin-bottom: 0;
}

.ls-v2-property-card__price-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ls-v2-text-light);
  margin-bottom: 2px;
}

.ls-v2-property-card__price-tooltip {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 8px;
  background: #1f2937;
  color: #fff;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  white-space: nowrap;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ls-v2-property-card__price-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 20px;
  border: 6px solid transparent;
  border-top-color: #1f2937;
}

.ls-v2-property-card__price-wrap:hover .ls-v2-property-card__price-tooltip {
  display: block;
}

.ls-v2-property-card__price-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 3px 0;
  font-weight: 400;
}

.ls-v2-property-card__price-tooltip-total {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 4px;
  padding-top: 6px;
  font-weight: 700;
}

.ls-v2-property-card__dates {
  display: inline-block;
  font-size: 16px;
  color: var(--ls-v2-text);
  margin-bottom: 12px;
  border: 1px solid var(--ls-v2-border);
  border-radius: 9999px;
  padding: 8px 16px;
}

/* Date range chips on cards (flex/alternate dates) */
.ls-v2-date-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.ls-v2-date-chip {
  display: inline-block;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--ls-v2-border);
  border-radius: 4px;
  color: var(--ls-v2-text);
  background: #f8f9fa;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.ls-v2-date-chip:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  text-decoration: none;
  color: var(--ls-v2-text);
}

.ls-v2-date-chip--active {
  background: var(--ls-accent-color, #1a3a5c);
  color: var(--ls-button-text-color, #fff);
  border-color: var(--ls-accent-color, #1a3a5c);
}

.ls-v2-date-chip--active:hover {
  opacity: 0.9;
  color: var(--ls-button-text-color, #fff);
}

.ls-v2-property-card__book-btn {
  display: inline-block;
  width: fit-content;
  background: var(--ls-accent-color, #1a3a5c) !important;
  color: var(--ls-button-text-color, #fff) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 10px 24px !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity 0.2s;
  text-transform: uppercase;
  text-decoration: none !important;
}

.ls-v2-property-card__book-btn:hover {
  text-decoration: none !important;
  opacity: 0.85;
}

/* ============================================================================
   FAVORITE BUTTON
   ============================================================================ */

.ls-v2-favorite-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--ls-v2-text-light);
  transition: color 0.2s, background 0.2s;
  padding: 0;
}

.ls-v2-favorite-btn:hover {
  color: #e74c3c;
  background: rgba(255, 255, 255, 0.95);
}

.ls-v2-favorite-btn--active {
  color: #e74c3c;
}

/* ============================================================================
   PHOTO GALLERY
   ============================================================================ */

.ls-v2-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
  overflow: hidden;
  margin-bottom: 24px;
  height: 420px;
}

.ls-v2-gallery--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  background: #f5f5f5;
  color: var(--ls-v2-text-muted);
}

.ls-v2-gallery__main {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.ls-v2-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ls-v2-gallery__badges {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
}

.ls-v2-gallery__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.ls-v2-gallery__badge--tour {
  cursor: pointer;
  transition: background 0.2s;
}

.ls-v2-gallery__badge--tour:hover {
  background: rgba(0, 0, 0, 0.8);
}

.ls-v2-gallery__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
}

.ls-v2-gallery__thumb {
  cursor: pointer;
  overflow: hidden;
}

.ls-v2-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.2s;
}

.ls-v2-gallery__thumb:hover img {
  transform: scale(1.05);
}

/* ============================================================================
   LIGHTBOX
   ============================================================================ */

.ls-v2-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.ls-v2-lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
}

.ls-v2-lightbox__image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.ls-v2-lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

.ls-v2-lightbox__counter {
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-top: 12px;
}

.ls-v2-lightbox__prev,
.ls-v2-lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  transition: background 0.2s;
}

.ls-v2-lightbox__prev:hover,
.ls-v2-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.ls-v2-lightbox__prev {
  left: 20px;
}

.ls-v2-lightbox__next {
  right: 20px;
}

/* ============================================================================
   VIRTUAL TOUR LIGHTBOX
   ============================================================================ */

.ls-v2-tour-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-v2-tour-lightbox__content {
  position: relative;
  width: 90vw;
  height: 85vh;
}

.ls-v2-tour-lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  z-index: 1;
}

.ls-v2-tour-lightbox__close:hover {
  opacity: 0.7;
}

.ls-v2-tour-lightbox__iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 4px;
}

/* ============================================================================
   DETAIL VIEW
   ============================================================================ */

.ls-v2-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.ls-v2-detail-loading {
  text-align: center;
  padding: 80px 20px;
  color: var(--ls-v2-text-light);
}

.ls-v2-detail-loading .ls-spinner {
  margin: 0 auto 16px;
}

.ls-v2-detail__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.ls-v2-detail__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ls-accent-color, #1a3a5c);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ls-v2-detail__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ls-v2-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ls-v2-bg);
  border: 1px solid var(--ls-v2-border);
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--ls-v2-text);
  transition: border-color 0.2s;
}

.ls-v2-action-btn:hover {
  border-color: var(--ls-accent-color, #1a3a5c);
}

.ls-v2-detail__specs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ls-v2-detail__specs .ls-v2-spec {
  font-size: 14px;
}

.ls-v2-detail__body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.ls-v2-detail__content {
  min-width: 0;
}

.ls-v2-detail__description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ls-v2-text);
  margin-bottom: 24px;
}

.ls-v2-detail__description p {
  margin: 0 0 12px;
}

.ls-v2-detail__policies {
  margin-bottom: 24px;
}

.ls-v2-policy {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ls-v2-text);
  margin-bottom: 12px;
}

.ls-v2-policy strong {
  color: var(--ls-accent-color, #1a3a5c);
}

.ls-v2-detail__sidebar {
  position: sticky;
  top: calc(var(--ls-sticky-offset, 0px) + 24px);
}

.ls-v2-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--ls-accent-color, #1a3a5c);
  cursor: pointer;
  font-size: 14px;
  padding: 8px 0;
  margin-bottom: 16px;
}

.ls-v2-back-btn:hover {
  text-decoration: underline;
}

/* ============================================================================
   SECTION TITLES
   ============================================================================ */

.ls-v2-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ls-accent-color, #1a3a5c);
  letter-spacing: 1px;
  margin: 0 0 16px;
  text-transform: uppercase;
}

/* ============================================================================
   BOOKING SIDEBAR
   ============================================================================ */

.ls-v2-sidebar {
  position: relative;
  background: var(--ls-v2-bg);
  border: 1px solid var(--ls-v2-border);
  border-radius: var(--ls-v2-radius);
  padding: 20px;
  box-shadow: var(--ls-v2-shadow);
}

.ls-v2-sidebar__dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
  cursor: pointer;
}

.ls-v2-sidebar__date-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--ls-v2-border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--ls-v2-text);
}

.ls-v2-sidebar__date-field svg {
  flex-shrink: 0;
  color: var(--ls-v2-text-muted);
}

.ls-v2-sidebar__calendar {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid var(--ls-v2-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  padding: 16px;
  min-width: 520px;
}

.ls-v2-sidebar__guest-wrap {
  position: relative;
  margin-bottom: 16px;
}

.ls-v2-sidebar__guest-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--ls-v2-border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--ls-v2-text);
  cursor: pointer;
}

.ls-v2-sidebar__guest-trigger svg:first-child {
  color: var(--ls-v2-text-muted);
  flex-shrink: 0;
}

.ls-v2-sidebar__guest-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid var(--ls-v2-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  padding: 16px;
  margin-top: 4px;
}

.ls-v2-sidebar__guest-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ls-v2-text);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.ls-v2-sidebar__guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--ls-v2-text);
}

.ls-v2-sidebar__guest-counter {
  display: flex;
  align-items: center;
  gap: 0;
}

.ls-v2-sidebar__guest-counter button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--ls-v2-border);
  font-size: 16px;
  cursor: pointer;
  color: var(--ls-v2-text);
  transition: background 0.15s;
}

.ls-v2-sidebar__guest-counter button:first-child {
  border-radius: 4px 0 0 4px;
}

.ls-v2-sidebar__guest-counter button:last-child {
  border-radius: 0 4px 4px 0;
}

.ls-v2-sidebar__guest-counter button:hover:not(:disabled) {
  background: #f3f4f6;
}

.ls-v2-sidebar__guest-counter button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ls-v2-sidebar__guest-counter span {
  width: 32px;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid var(--ls-v2-border);
  border-bottom: 1px solid var(--ls-v2-border);
  line-height: 26px;
}

.ls-v2-sidebar__guest-apply {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--ls-v2-border);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ls-v2-text);
  cursor: pointer;
  transition: background 0.15s;
}

.ls-v2-sidebar__guest-apply:hover {
  background: #f3f4f6;
}

.ls-v2-sidebar__loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--ls-v2-text-light);
}

.ls-v2-sidebar__error {
  color: #e74c3c;
  font-size: 13px;
  padding: 8px 0;
}

.ls-v2-sidebar__unavailable {
  text-align: center;
  padding: 24px 12px;
  color: var(--ls-v2-text);
}

.ls-v2-sidebar__unavailable svg {
  color: #e74c3c;
  margin-bottom: 8px;
}

.ls-v2-sidebar__unavailable p {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.ls-v2-sidebar__unavailable-hint {
  font-size: 13px;
  color: var(--ls-v2-text-light);
  font-weight: 400 !important;
}

.ls-v2-sidebar__pricing {
  border-top: 1px solid var(--ls-v2-border);
  padding-top: 12px;
  margin-bottom: 12px;
}

.ls-v2-sidebar__line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ls-v2-text);
  padding: 4px 0;
}

.ls-v2-sidebar__line--discount {
  color: #27ae60;
}

.ls-v2-sidebar__line--tax {
  color: var(--ls-v2-text-light);
  font-size: 13px;
}

.ls-v2-sidebar__total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  color: var(--ls-v2-text);
  padding: 12px 0 0;
  border-top: 1px solid var(--ls-v2-border);
  margin-top: 8px;
}

.ls-v2-sidebar__book-btn {
  display: block;
  width: 100%;
  background: var(--ls-accent-color, #1a3a5c);
  color: var(--ls-button-text-color, #fff);
  border: none;
  border-radius: 4px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 16px;
}

.ls-v2-sidebar__book-btn:hover {
  opacity: 0.9;
}

.ls-v2-sidebar__book-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ls-v2-sidebar__split-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: none;
  color: var(--ls-accent-color, #1a3a5c);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 12px;
  text-transform: uppercase;
}

.ls-v2-sidebar__split-btn:hover {
  text-decoration: underline;
}

.ls-v2-sidebar__split {
  padding: 16px;
  border-top: 1px solid var(--ls-v2-border);
}

.ls-v2-sidebar__split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ls-v2-text);
}

.ls-v2-sidebar__split-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ls-v2-sidebar__split-counter button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--ls-v2-border);
  border-radius: 50%;
  background: var(--ls-v2-bg);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ls-v2-text);
}

.ls-v2-sidebar__split-counter button:hover {
  background: #f5f5f5;
}

.ls-v2-sidebar__split-counter span {
  min-width: 20px;
  text-align: center;
}

.ls-v2-sidebar__split-result {
  font-size: 14px;
  color: var(--ls-v2-text-light);
  margin-bottom: 12px;
  padding-left: 4px;
}

.ls-v2-sidebar__alts {
  padding: 12px 0;
  border-top: 1px solid var(--ls-v2-border);
}

.ls-v2-sidebar__alts-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ls-v2-text);
  margin-bottom: 8px;
}

.ls-v2-sidebar__alt-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 4px;
  background: #f9fafb;
  border: 1px solid var(--ls-v2-border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 13px;
}

.ls-v2-sidebar__alt-option:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.ls-v2-sidebar__alt-dates {
  color: var(--ls-v2-text);
}

.ls-v2-sidebar__alt-total {
  font-weight: 600;
  color: var(--ls-v2-text);
}

/* ============================================================================
   SLEEPING ARRANGEMENTS
   ============================================================================ */

.ls-v2-sleeping {
  margin-bottom: 32px;
}

.ls-v2-sleeping__cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ls-v2-sleeping__card {
  border: 1px solid var(--ls-v2-border);
  border-radius: var(--ls-v2-radius);
  padding: 20px 24px;
  text-align: center;
  min-width: 150px;
  flex: 1;
  max-width: 200px;
}

.ls-v2-sleeping__icons {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
  min-height: 40px;
}

.ls-v2-bed-icon {
  color: var(--ls-v2-text-muted);
}

.ls-v2-sleeping__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ls-v2-text);
  margin-bottom: 4px;
}

.ls-v2-sleeping__bed {
  font-size: 12px;
  color: var(--ls-v2-text-light);
}

/* ============================================================================
   AMENITIES
   ============================================================================ */

.ls-v2-detail__amenities {
  margin-bottom: 32px;
}

.ls-v2-amenity-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ls-v2-amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ls-v2-text);
}

.ls-v2-amenity-item svg {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .ls-v2-amenity-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   COUPON CODE
   ============================================================================ */

.ls-v2-coupon {
  margin: 12px 0;
}

.ls-v2-coupon__input-row {
  display: flex;
  gap: 8px;
}

.ls-v2-coupon__input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--ls-v2-border);
  border-radius: 4px;
  font-size: 13px;
  outline: none;
}

.ls-v2-coupon__input:focus {
  border-color: var(--ls-accent-color, #1a3a5c);
}

.ls-v2-coupon__apply-btn {
  background: var(--ls-v2-bg);
  border: 1px solid var(--ls-accent-color, #1a3a5c);
  color: var(--ls-accent-color, #1a3a5c);
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.ls-v2-coupon__apply-btn:hover {
  background: var(--ls-accent-color, #1a3a5c);
  color: var(--ls-button-text-color, #fff);
}

.ls-v2-coupon__apply-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ls-v2-coupon--applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
}

.ls-v2-coupon__applied {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #166534;
  font-weight: 500;
}

.ls-v2-coupon__remove {
  background: none;
  border: none;
  color: #e74c3c;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.ls-v2-coupon__error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
}

/* ============================================================================
   AVAILABILITY CALENDAR
   ============================================================================ */

.ls-v2-availability {
  margin-bottom: 32px;
}

.ls-v2-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.ls-v2-cal-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ls-v2-text-light);
}

.ls-v2-cal-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}

.ls-v2-cal-legend__dot.ls-v2-cal-day--available {
  background: #fff;
  border: 1px solid #ccc;
}

.ls-v2-cal-legend__dot.ls-v2-cal-day--restricted {
  background: #e5e7eb;
  border: 1px solid #ccc;
}

.ls-v2-cal-legend__dot.ls-v2-cal-day--unavailable {
  background: #d1d5db;
  border: 1px solid #bbb;
}

.ls-v2-cal-legend__dot.ls-v2-cal-day--arrive {
  background: linear-gradient(to bottom right, #d1d5db 50%, #fff 50%);
  border: 1px solid #ccc;
}

.ls-v2-cal-legend__dot.ls-v2-cal-day--depart {
  background: linear-gradient(to bottom right, #fff 50%, #d1d5db 50%);
  border: 1px solid #ccc;
}

.ls-v2-cal-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ls-v2-cal-nav__btn {
  background: none;
  border: 1px solid var(--ls-v2-border);
  border-radius: 4px;
  padding: 6px;
  cursor: pointer;
  color: var(--ls-v2-text);
}

.ls-v2-cal-nav__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ls-v2-cal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ls-v2-cal-month__title {
  text-align: center;
  font-weight: 600;
  font-size: 17px;
  color: var(--ls-v2-text);
  margin-bottom: 8px;
}

.ls-v2-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #e5e7eb;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
}

.ls-v2-cal-weekday {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ls-v2-text-muted);
  padding: 4px 0;
  background: #f9fafb;
}

.ls-v2-cal-day {
  text-align: center;
  font-size: 15px;
  padding: 6px 2px;
  color: var(--ls-v2-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-height: 42px;
  justify-content: center;
  position: relative;
}

.ls-v2-cal-day__num {
  line-height: 1;
}

.ls-v2-cal-day__rate {
  font-size: 11px;
  line-height: 1;
  opacity: 0.8;
}

.ls-v2-cal-day--outside {
  color: transparent;
  background: #f9fafb;
}

.ls-v2-cal-day--past {
  color: var(--ls-v2-text-muted);
  background: #f9fafb;
  opacity: 0.5;
}

.ls-v2-cal-day--available {
  background: #fff;
  color: var(--ls-v2-text);
}

.ls-v2-cal-day--restricted {
  background: #e5e7eb;
  color: var(--ls-v2-text);
}

.ls-v2-cal-day--unavailable {
  background: #d1d5db;
  color: #6b7280;
}

.ls-v2-cal-day--arrive {
  background: #dbeafe;
  color: #1e40af;
}

.ls-v2-cal-day--depart {
  background: #ede9fe;
  color: #5b21b6;
}

.ls-v2-cal-day--checkout-only {
  background: linear-gradient(to bottom right, #fff 50%, #d1d5db 50%);
  color: var(--ls-v2-text);
}

.ls-v2-cal-day--checkin-only {
  background: linear-gradient(to bottom right, #d1d5db 50%, #fff 50%);
  color: var(--ls-v2-text);
}

.ls-v2-cal-day--today {
  font-weight: 700;
  box-shadow: inset 0 0 0 2px var(--ls-accent-color, #1a3a5c);
}

.ls-v2-cal-day--clickable {
  cursor: pointer;
}

.ls-v2-cal-day--clickable:hover {
  filter: brightness(0.92);
}

.ls-v2-cal-day--in-range {
  background: #1a3a5c !important;
  color: #fff !important;
  opacity: 0.75;
}

.ls-v2-cal-day--range-start {
  background: #1a3a5c !important;
  color: #fff !important;
  opacity: 1;
  font-weight: 700;
  border-radius: 50% 0 0 50%;
}

.ls-v2-cal-day--range-end {
  background: #1a3a5c !important;
  color: #fff !important;
  opacity: 1;
  font-weight: 700;
  border-radius: 0 50% 50% 0;
}

.ls-v2-cal-day--range-start.ls-v2-cal-day--range-end {
  border-radius: 50%;
}

.ls-v2-cal-day--in-range .ls-v2-cal-day__rate,
.ls-v2-cal-day--range-start .ls-v2-cal-day__rate,
.ls-v2-cal-day--range-end .ls-v2-cal-day__rate {
  color: rgba(255, 255, 255, 0.85);
}

.ls-v2-cal-prompt {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ls-accent-color, #1a3a5c);
  padding: 8px 0 4px;
}

.ls-v2-cal-tooltip {
  background: #333;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.ls-v2-cal-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
}

.ls-v2-cal-loading {
  text-align: center;
  padding: 40px;
}

/* ============================================================================
   LOCATION MAP
   ============================================================================ */

.ls-v2-location {
  margin-bottom: 32px;
}

.ls-v2-location__map {
  border-radius: var(--ls-v2-radius);
  overflow: hidden;
}

.ls-v2-location__map iframe {
  display: block;
}

/* ============================================================================
   FILTER PANEL
   ============================================================================ */

.ls-v2-filter-panel {
  background: var(--ls-v2-bg);
  border: 1px solid var(--ls-v2-border);
  border-radius: var(--ls-v2-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin-bottom: 24px;
  overflow: hidden;
}

.ls-v2-filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ls-v2-border);
}

.ls-v2-filter-panel__header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.ls-v2-filter-panel__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ls-v2-text-light);
  padding: 4px;
}

.ls-v2-filter-panel__body {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.ls-v2-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ls-v2-filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ls-v2-text);
}

.ls-v2-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ls-v2-filter-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--ls-v2-border);
  border-radius: 4px;
  font-size: 13px;
  outline: none;
}

.ls-v2-filter-input:focus {
  border-color: var(--ls-accent-color, #1a3a5c);
}

.ls-v2-filter-sep {
  color: var(--ls-v2-text-muted);
}

.ls-v2-filter-pills {
  display: flex;
  gap: 6px;
}

.ls-v2-filter-pill {
  padding: 6px 14px;
  border: 1px solid var(--ls-v2-border);
  border-radius: 20px;
  background: var(--ls-v2-bg);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.ls-v2-filter-pill--active {
  background: var(--ls-accent-color, #1a3a5c);
  color: var(--ls-button-text-color, #fff);
  border-color: var(--ls-accent-color, #1a3a5c);
}

.ls-v2-filter-checks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ls-v2-filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ls-v2-text);
  cursor: pointer;
}

.ls-v2-filter-check input[type="checkbox"] {
  accent-color: var(--ls-accent-color, #1a3a5c);
}

.ls-v2-filter-panel__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--ls-v2-border);
}

.ls-v2-filter-btn-clear {
  background: none;
  border: 1px solid var(--ls-v2-border);
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 13px;
  cursor: pointer;
  color: var(--ls-v2-text-light);
}

.ls-v2-filter-btn-apply {
  background: var(--ls-accent-color, #1a3a5c);
  color: var(--ls-button-text-color, #fff);
  border: none;
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ============================================================================
   COMMON / UTILITY
   ============================================================================ */

.ls-v2-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: var(--ls-v2-radius);
  font-size: 14px;
  margin-bottom: 16px;
}

.ls-v2-search-view {
  max-width: 1400px;
  margin: 0 auto;
}

/* Spinner (small variant) */
.ls-spinner--sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================ */

@media (max-width: 1280px) {
  .ls-v2-property-card {
    width: calc(33.333% - 16px);
  }
}

@media (max-width: 1024px) {
  .ls-v2-property-card {
    width: calc(33.333% - 16px);
  }

  .ls-v2-detail__body {
    grid-template-columns: 1fr 320px;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .ls-v2-property-grid {
    gap: 16px;
  }

  .ls-v2-property-card {
    width: 100%;
  }

  .ls-v2-detail__body {
    grid-template-columns: 1fr;
  }

  .ls-v2-detail__sidebar {
    position: static;
    order: -1;
    margin-bottom: 24px;
  }

  .ls-v2-gallery {
    grid-template-columns: 1fr;
    height: auto;
  }

  .ls-v2-gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
  }

  .ls-v2-cal-months {
    grid-template-columns: 1fr;
  }

  .ls-v2-search-bar__form {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .ls-v2-search-bar__dates {
    flex-direction: column;
  }

  .ls-v2-search-bar__field {
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid #d1d5db;
  }

  .ls-v2-search-bar__calendar-dropdown {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    min-width: unset;
    z-index: 9999;
    max-height: 85vh;
    overflow-y: auto;
    margin-top: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px 16px;
  }

  .ls-v2-sidebar__calendar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    min-width: unset;
    z-index: 9999;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px 16px;
  }

  .ls-v2-search-bar__search-btn {
    text-align: center;
  }

  .ls-v2-filter-panel__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ls-v2-property-card {
    width: 100%;
  }

  .ls-v2-detail__header {
    flex-direction: column;
  }

  .ls-v2-detail__title {
    font-size: 20px;
  }

  .ls-v2-sleeping__cards {
    flex-direction: column;
  }

  .ls-v2-sleeping__card {
    max-width: none;
  }

  .ls-v2-gallery__thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
}
