/* Temporary preview layer for the visual audit. No application source or live site is changed. */

/* Listing cards: one white surface, directly on the page, with no glass overlay. */
body.market-glass :is(.lc-card, .offer-card, .listing-card, .immo-listing-card),
body.explorer-page .ex-card {
  color: #18382d !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, .30) !important;
  box-shadow: 0 2px 10px rgba(13, 35, 27, .10) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.market-glass :is(.lc-card, .offer-card, .listing-card, .immo-listing-card)::before,
body.market-glass :is(.lc-card, .offer-card, .listing-card, .immo-listing-card)::after,
body.explorer-page .ex-card::before {
  content: none !important;
  display: none !important;
}

body.market-glass .lc-shade { display: none !important; }
body.market-glass .lc-fav {
  color: #111 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.market-glass .preview-listing-note {
  max-width: 1180px;
  margin: 18px auto 10px;
  padding-inline: 8px;
  color: #111 !important;
  font: 13px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  text-shadow: none !important;
}
body.market-glass .lc-card { color: #111 !important; }

body.market-glass :is(.lc-head, .lc-body, .card-details, .immo-card-details, .immo-card-body) {
  color: #18382d !important;
  background: #fff !important;
}

body.market-glass :is(.lc-title, .lc-category, .lc-business, .lc-price, .lc-price strong,
  .immo-card-details h3, .immo-card-price, .immo-card-price strong) {
  color: #111 !important;
  text-shadow: none !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
}

body.market-glass :is(.lc-place, .lc-desc, .lc-meta, .lc-rating, .lc-price small,
  .immo-card-location, .immo-card-description, .immo-filter-label, .immo-select-field > span) {
  color: #222 !important;
  text-shadow: none !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 400 !important;
}

body.market-glass :is(.lc-chip, .lc-amenities li, .lc-badge, .immo-card-meta span) {
  color: #111 !important;
  background: transparent !important;
  border: 0 !important;
  text-shadow: none !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
}

body.market-glass .lc-amenities li,
body.market-glass .lc-chip,
body.market-glass .lc-badge:not(.lc-badge-verified),
body.market-glass .immo-card-meta span {
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.market-glass .lc-badges .lc-badge-verified {
  color: #fff !important;
  background: #2563a8 !important;
  border: 1px solid #2563a8 !important;
  border-radius: 999px !important;
  padding: 4px 9px !important;
}

body.market-glass :is(.lc-btn-ghost, .immo-card-link) {
  color: #111 !important;
  text-shadow: none !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

/* Plain, high-contrast card typography requested by the owner: no word-art. */
body.market-glass .lc-card,
body.market-glass .lc-card :is(h3, p, span, li, strong, small, del),
body.market-glass .immo-listing-card,
body.market-glass .immo-listing-card :is(h2, h3, p, span, li, strong, small, del),
body.explorer-page .ex-card :is(h2, h3, p, span, li, strong, small, del) {
  text-shadow: none !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
body.market-glass .lc-card :is(.lc-title, .lc-category, .lc-business, .lc-price, .lc-price strong),
body.market-glass .immo-listing-card :is(h2, h3, .immo-card-price, .immo-card-price strong),
body.explorer-page .ex-card :is(h2, h3) { color: #111 !important; }
body.market-glass .lc-card :is(.lc-place, .lc-desc, .lc-meta, .lc-rating, .lc-price small),
body.market-glass .immo-listing-card :is(.immo-card-location, .immo-card-description),
body.explorer-page .ex-card :is(p, span) { color: #222 !important; }

body.market-glass :is(.lc-btn-ghost, .lc-btn-primary) {
  box-shadow: none !important;
}
body.market-glass .lc-actions :is(.lc-btn-ghost, .lc-btn-primary) {
  color: #fff !important;
  background: #17664f !important;
  border: 1px solid #17664f !important;
  border-radius: 8px !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}
body.market-glass .lc-actions :is(.lc-btn-ghost, .lc-btn-primary):disabled { opacity: 1 !important; }

/* Tighten the card without removing booking, price, location, or amenity details. */
body.market-glass .lc-head { padding: 10px 12px 8px !important; gap: 3px !important; }
body.market-glass .lc-body { padding: 12px !important; gap: 7px !important; }
body.market-glass .lc-title { margin: 0 !important; font-size: 19px !important; line-height: 1.3 !important; }
body.market-glass .lc-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
body.market-glass .lc-media { max-height: 220px; aspect-ratio: 16 / 10 !important; }
body.market-glass .lc-media-hit img,
body.market-glass .lc-media .lc-slide { width: 100%; height: 100%; object-fit: cover; }
body.market-glass .immo-card-image { height: 164px !important; }
body.market-glass .immo-card-details { padding: 12px !important; }
body.market-glass .immo-card-description { min-height: 0 !important; margin: 8px 0 !important; font-size: 12px !important; line-height: 1.5 !important; }
body.market-glass .immo-card-details h3 { margin: 8px 0 5px !important; font-size: 16px !important; }

/* Empty states remain readable without recreating a dark panel. */
body.market-glass :is(.empty-state, .immo-empty-state) {
  color: #40564b !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(0, 0, 0, .22) !important;
  box-shadow: 0 2px 10px rgba(13, 35, 27, .08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.market-glass :is(.empty-state, .immo-empty-state) :is(h2, h3, p) { color: #40564b !important; text-shadow: none !important; }

/* Result headings are not extra cards behind the listing cards. */
body.market-stays #results,
body.market-stays .listing-grid,
body.market-stays .lc-grid,
body.market-property .immo-results-section,
body.market-property .immo-listing-grid {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.market-stays .ha-results-intro,
body.market-property .immo-results-section > .section-heading {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #111 !important;
  text-shadow: none !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

/* The homepage rail has no dark frame; mobile navigation stays touch-scrollable. */
.home-page .ha-home-room-rail {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding-inline: 0 !important;
}
.home-page .ha-home-room-rail-track { align-items: stretch; }
.home-page .ha-home-room-rail-item { display: flex; }
.home-page .ha-home-room-rail-item .lc-card { width: 100%; height: 100%; background: #fff !important; }

@media (max-width: 640px) {
  body.market-glass .lc-media { max-height: 190px; }
  body.market-glass .lc-head-line { align-items: flex-start; }
  body.market-glass .lc-badges { flex-wrap: wrap; justify-content: flex-end; }
  body.market-glass .lc-actions { gap: 8px; }
  body.market-glass .lc-actions :is(a, button) { min-height: 42px; }
  .home-page .ha-home-room-rail { width: calc(100% - 24px) !important; margin-bottom: 20px !important; }
  .home-page .ha-home-room-rail-controls { display: none !important; }
  .home-page .ha-home-room-rail-item { flex: 0 0 min(78vw, 300px) !important; }
}

@media (min-width: 641px) {
  body.market-stays .listing-grid,
  body.market-stays .lc-grid,
  body.market-property .immo-listing-grid { gap: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.market-glass :is(.lc-card, .listing-card, .immo-listing-card) { transition: none !important; }
}

/* Let guests jump from a real listing card directly to its public reviews. */
body.market-glass .lc-rating-link { color: inherit !important; text-decoration: none; cursor: pointer; }
body.market-glass .lc-rating-link:hover { text-decoration: underline; text-underline-offset: 2px; }
body.market-glass .lc-rating-link:focus-visible { outline: 2px solid #17664f; outline-offset: 3px; border-radius: 2px; }
