/* ── Listing View Page  —  lv-* scope ── */

.lv-section {
  padding: clamp(48px, 5vw, 96px) 15px;
  background: #f9f8f6;
}

/* ══ FILTER ══ */
.lv-filter {
  background: #000;
  border-radius: 24px;
  padding: 36px 40px 32px;
  margin-bottom: 36px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28), 0 0 0 1px rgba(212,175,55,0.12);
}

.lv-filter-inner-clip {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.lv-filter-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent 0%, #D4AF37 20%, #f0d060 50%, #D4AF37 80%, transparent 100%);
  animation: lv-bar-shimmer 3s linear infinite;
  background-size: 200% 100%;
}

@keyframes lv-bar-shimmer {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.lv-filter-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.lv-fd {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.lv-fd1 {
  width: 360px; height: 360px;
  top: -160px; right: -80px;
  background: radial-gradient(circle, rgba(212,175,55,0.14) 0%, transparent 65%);
}

.lv-fd2 {
  width: 220px; height: 220px;
  bottom: -100px; left: -60px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 65%);
}

.lv-fd3 {
  width: 150px; height: 150px;
  top: 50%; left: 45%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
}

#filterForm { position: relative; z-index: 2; }

.lv-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.lv-filter-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ul-primary, #D4AF37);
  margin-bottom: 6px;
}

.lv-filter-head-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: -.4px;
  line-height: 1;
}

.lv-filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  transition: all .2s;
  flex-shrink: 0;
}

.lv-filter-clear:hover {
  color: #e74c3c;
  border-color: rgba(231,76,60,0.5);
  background: rgba(231,76,60,0.07);
}

.lv-filter-row {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.lv-filter-field { flex: 1; min-width: 150px; }

.lv-ff-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 14px;
  padding: 13px 16px 11px;
  transition: all .25s;
  cursor: pointer;
  position: relative;
}

.lv-ff-box:hover,
.lv-ff-box:focus-within {
  background: rgba(255,255,255,0.09);
  border-color: rgba(212,175,55,0.55);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.08), inset 0 0 20px rgba(212,175,55,0.04);
}

.lv-ff-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ul-primary, #D4AF37);
  margin-bottom: 6px;
}

.lv-ff-label i { font-size: 12px; }

.lv-ff-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.lv-ff-select-wrap select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 20px;
  font-family: inherit;
}

.lv-ff-select-wrap select option { background: #111; color: #fff; }
.lv-ff-select-wrap select option[value=""] { color: rgba(255,255,255,0.4); }

.lv-ff-arrow {
  position: absolute;
  right: 0;
  font-size: 11px;
  color: rgba(212,175,55,0.6);
  pointer-events: none;
  transition: transform .25s;
}

.lv-ff-box:focus-within .lv-ff-arrow { color: var(--ul-primary, #D4AF37); }

.lv-ff-box-price { padding-bottom: 14px; }

.lv-price-display-bar {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ul-primary, #D4AF37);
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

.lv-price-dash { color: rgba(255,255,255,0.25); font-weight: 400; }

.lv-range-wrap { position: relative; height: 22px; }

.lv-range-track {
  position: absolute; top: 50%; transform: translateY(-50%);
  left: 0; right: 0; height: 3px;
  background: rgba(255,255,255,0.1); border-radius: 4px;
  z-index: 0; pointer-events: none;
}

.lv-range-fill {
  position: absolute; height: 100%;
  background: linear-gradient(90deg, var(--ul-primary, #D4AF37), #f0d060);
  border-radius: 4px;
}

.lv-range-wrap input[type=range] {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; margin: 0; background: transparent;
  appearance: none; -webkit-appearance: none;
  cursor: pointer; pointer-events: none; z-index: 1;
}

.lv-range-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: #000;
  border: 2.5px solid var(--ul-primary, #D4AF37);
  box-shadow: 0 0 8px rgba(212,175,55,0.5);
  cursor: pointer; pointer-events: all; transition: transform .15s, box-shadow .15s;
}

.lv-range-wrap input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 14px rgba(212,175,55,0.7);
}

.lv-range-wrap input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #1c1a14; border: 2.5px solid var(--ul-primary, #D4AF37);
  cursor: pointer; pointer-events: all;
}

.lv-filter-actions {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0;
}

.lv-btn-more {
  display: inline-flex; align-items: center; gap: 7px;
  height: 50px; padding: 0 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 14px;
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.65);
  cursor: pointer; transition: all .25s; white-space: nowrap;
  font-family: inherit;
}

.lv-btn-more:hover,
.lv-btn-more.is-open {
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.5);
  color: var(--ul-primary, #D4AF37);
}

.lv-btn-more-arrow { font-size: 10px; transition: transform .3s; }
.lv-btn-more.is-open .lv-btn-more-arrow { transform: rotate(180deg); }

.lv-btn-search {
  height: 50px; padding: 0 30px;
  background: linear-gradient(135deg, #c8a020, #D4AF37, #f0d060, #D4AF37);
  background-size: 200% 100%;
  color: #1a1a1a;
  font-size: 14px; font-weight: 900;
  border: none; border-radius: 14px; cursor: pointer;
  transition: all .3s; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(212,175,55,0.45);
  animation: lv-search-idle 3s ease-in-out infinite;
  font-family: inherit;
}

.lv-btn-search-inner { display: inline-flex; align-items: center; gap: 8px; }

.lv-btn-search:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.6), 0 0 0 4px rgba(212,175,55,0.15);
}

@keyframes lv-search-idle {
  0%, 100% { box-shadow: 0 4px 20px rgba(212,175,55,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(212,175,55,0.65); }
}

.lv-filter-advanced {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}

.lv-filter-advanced.is-open { max-height: 300px; }

.lv-filter-adv-sep {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0 18px;
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; color: rgba(255,255,255,0.2);
}

.lv-filter-adv-sep::before,
.lv-filter-adv-sep::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.07); }
.lv-filter-adv-sep::before { background: linear-gradient(90deg, rgba(212,175,55,0.3), rgba(255,255,255,0.07)); }

.lv-filter-advanced-inner { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.lv-filter-price-field { flex: 2; min-width: 220px; }

/* ── Search Bar ── */
.lv-searchbar {
  margin-bottom: 20px;
}

.lv-searchbar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1.5px solid #e8e4dc;
  border-radius: 16px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: border-color .25s, box-shadow .25s;
}

.lv-searchbar-inner:focus-within {
  border-color: var(--ul-primary, #D4AF37);
  box-shadow: 0 4px 20px rgba(212,175,55,0.18);
}

.lv-searchbar-icon {
  font-size: 18px;
  color: var(--ul-primary, #D4AF37);
  flex-shrink: 0;
  margin-right: 12px;
}

.lv-searchbar-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  font-family: inherit;
  min-width: 0;
}

.lv-searchbar-input::placeholder { color: #bbb; }

.lv-searchbar-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: #aaa;
  text-decoration: none;
  transition: background .2s, color .2s;
  flex-shrink: 0;
  margin-right: 4px;
}

.lv-searchbar-clear:hover { background: #f5f3ee; color: #e74c3c; }

.lv-searchbar-btn {
  height: 44px;
  padding: 0 24px;
  background: linear-gradient(135deg, #c8a020, #D4AF37, #f0d060, #D4AF37);
  background-size: 200% 100%;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all .25s;
  box-shadow: 0 3px 12px rgba(212,175,55,0.35);
  flex-shrink: 0;
}

.lv-searchbar-btn:hover {
  background-position: right center;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.5);
}

@media (max-width: 480px) {
  .lv-searchbar-inner { padding: 5px 5px 5px 14px; border-radius: 14px; }
  .lv-searchbar-input { font-size: 14px; }
  .lv-searchbar-btn { height: 40px; padding: 0 18px; font-size: 13px; }
}

/* ── Result Bar ── */
/* ── Result Bar ── */
.lv-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 14px;
  color: #888;
}

.lv-result-bar strong { color: #1a1a1a; }
.lv-result-page { font-size: 13px; color: #aaa; }

/* ── Card Grid ── */
.lv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* ── Card ── */
.lv-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.lv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.13);
  color: inherit;
  text-decoration: none;
}

.lv-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8e4dc;
}

.lv-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .5s ease;
}

.lv-card:hover .lv-card-img img { transform: scale(1.06); }

.lv-card-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ul-primary, #D4AF37), #f0d060);
  z-index: 2;
}

.lv-card-badges { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; gap: 6px; }

.lv-badge {
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; letter-spacing: .5px;
}

.lv-badge-featured { background: var(--ul-primary, #D4AF37); color: #1a1a1a; }

.lv-card-tags { position: absolute; bottom: 14px; right: 14px; z-index: 3; display: flex; gap: 5px; }

.lv-tag {
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: .5px; text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.lv-tag-sale { background: rgba(212,175,55,0.9); color: #1a1a1a; }
.lv-tag-rent { background: rgba(255,255,255,0.88); color: #555; border: 1px solid rgba(212,175,55,0.5); }

.lv-card-body {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column;
  gap: 8px; flex: 1;
}

.lv-card-price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lv-card-price-dual { display: flex; flex-direction: column; gap: 4px; }

.lv-card-price {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 800; color: #1a1a1a;
  display: flex; align-items: baseline; gap: 4px;
}

.lv-card-price-sewa { font-size: clamp(13px, 1.1vw, 15px) !important; color: #555 !important; font-weight: 700 !important; }

.lv-ptag {
  font-size: 9px; font-weight: 800;
  padding: 1px 6px; border-radius: 8px;
  letter-spacing: .5px; text-transform: uppercase;
  vertical-align: middle; margin-right: 2px; line-height: 1.6;
}

.lv-ptag-sale { background: rgba(212,175,55,0.15); color: #a07820; border: 1px solid rgba(212,175,55,0.3); }
.lv-ptag-rent { background: rgba(99,102,241,0.1); color: #6366f1; border: 1px solid rgba(99,102,241,0.2); }

.lv-price-unit { font-size: 11px; font-weight: 500; color: #999; }

.lv-badge-nego {
  font-size: 10px; font-weight: 700;
  background: #e8f7ee; color: #27ae60;
  border: 1px solid #b7e5c9;
  padding: 2px 8px; border-radius: 20px; white-space: nowrap;
}

.lv-card-title {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 700; color: #1a1a1a;
  line-height: 1.4; margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lv-card-loc { font-size: 12px; color: #999; margin: 0; display: flex; align-items: center; gap: 5px; }
.lv-card-loc i { color: var(--ul-primary, #D4AF37); font-size: 13px; }

.lv-card-specs {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #f3f0ea;
  margin-top: auto;
}

.lv-spec { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #777; }
.lv-spec i { color: var(--ul-primary, #D4AF37); font-size: 14px; }

/* ── Pagination ── */
.lv-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 48px; flex-wrap: wrap;
}

.lv-page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1.5px solid #e8e4dc;
  font-size: 14px; font-weight: 600; color: #555;
  text-decoration: none; transition: all .2s;
}

.lv-page-btn:hover { border-color: var(--ul-primary, #D4AF37); color: var(--ul-primary, #D4AF37); }

.lv-page-btn.is-active {
  background: var(--ul-primary, #D4AF37);
  border-color: var(--ul-primary, #D4AF37);
  color: #1a1a1a; font-weight: 800;
}

.lv-page-dots { font-size: 14px; color: #aaa; padding: 0 4px; }

/* ── Empty State ── */
.lv-empty { text-align: center; padding: clamp(60px, 8vw, 120px) 20px; }

.lv-empty-icon {
  width: 90px; height: 90px; border-radius: 50%;
  background: #f3f0ea;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}

.lv-empty-icon i { font-size: 36px; color: var(--ul-primary, #D4AF37); }
.lv-empty-title { font-size: 22px; font-weight: 700; color: #333; margin-bottom: 10px; }
.lv-empty-text  { font-size: 15px; color: #999; margin-bottom: 28px; }

/* ── Custom Dropdown ── */
.lv-dd { position: relative; }
.lv-dd ~ select { display: none !important; }

.lv-dd-trigger {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; user-select: none; min-height: 24px; gap: 8px;
}

.lv-dd-value {
  font-size: 14px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; transition: color .2s;
}

.lv-dd-value.is-placeholder { color: rgba(255,255,255,0.38); }

.lv-dd-caret { font-size: 12px; color: rgba(212,175,55,0.55); transition: transform .3s, color .2s; flex-shrink: 0; }

.lv-ff-box:focus-within .lv-dd-caret,
.lv-dd.is-open .lv-dd-caret { color: var(--ul-primary, #D4AF37); transform: rotate(180deg); }

.lv-dd-panel {
  position: fixed;
  background: #0d0d0d;
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.08);
  z-index: 9999; opacity: 0;
  transform: translateY(-8px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  max-height: 260px; overflow-y: auto;
}

.lv-dd-panel::-webkit-scrollbar       { width: 4px; }
.lv-dd-panel::-webkit-scrollbar-track { background: transparent; }
.lv-dd-panel::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.25); border-radius: 4px; }

.lv-dd-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }

.lv-dd-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.75);
  cursor: pointer; transition: background .15s, color .15s; gap: 10px;
}

.lv-dd-option:first-child { border-radius: 14px 14px 0 0; }
.lv-dd-option:last-child  { border-radius: 0 0 14px 14px; }
.lv-dd-option + .lv-dd-option { border-top: 1px solid rgba(255,255,255,0.04); }
.lv-dd-option:hover        { background: rgba(212,175,55,0.1); color: #fff; }
.lv-dd-option.is-selected  { color: var(--ul-primary, #D4AF37); background: rgba(212,175,55,0.07); font-weight: 700; }
.lv-dd-option.is-placeholder { color: rgba(255,255,255,0.3); font-style: italic; }

.lv-dd-check { font-size: 11px; color: var(--ul-primary, #D4AF37); opacity: 0; flex-shrink: 0; }
.lv-dd-option.is-selected .lv-dd-check { opacity: 1; }

.lv-dd-panel::before {
  content: ''; display: block; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ul-primary, #D4AF37), transparent);
}

/* ── Responsive ── */
@media (max-width: 1024px) { .lv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .lv-filter { padding: 28px 24px 24px; } .lv-filter-row { gap: 10px; } }
@media (max-width: 768px)  {
  .lv-filter { padding: 20px 18px; }
  .lv-filter-actions { width: 100%; justify-content: stretch; }
  .lv-btn-more, .lv-btn-search { flex: 1; justify-content: center; }
  .lv-filter-advanced-inner { gap: 10px; }
}
@media (max-width: 640px)  {
  .lv-filter-actions { width: 100%; }
  .lv-btn-more, .lv-btn-search { flex: 1; justify-content: center; height: 48px; }
  .lv-filter-advanced.is-open { max-height: 520px; }
}
@media (max-width: 580px)  { .lv-grid { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 480px) {
  .lv-filter { padding: 16px 14px; border-radius: 16px; }
  .lv-filter-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
  .lv-filter-head-title { font-size: 18px; }
  .lv-filter-field { min-width: 100%; flex: 0 0 100%; }
  .lv-ff-box { padding: 10px 12px 9px; }
  .lv-result-bar { flex-direction: column; align-items: flex-start; gap: 4px; }
}
