/* Loaded AFTER escorts-premium-concierge (which sets body{...!important}),
   so the child design always wins. See functions.php. */

/* ============================================================
   1. DESIGN TOKENS
   The parent theme drives every component from CSS custom properties,
   so redefining them here restyles all inherited templates at once.
   ============================================================ */
:root {
  /* new palette — ink base, champagne accent */
  --el-bg:          #0c0e13;
  --el-surface:     #151922;
  --el-surface-2:   #1e2430;
  --el-line:        #2a3140;
  --el-text:        #eceff5;
  --el-muted:       #9aa3b5;
  --el-accent:      #e3b664;
  --el-accent-dark: #c2954a;
  --el-success:     #34d399;
  --el-danger:      #f87171;
  --el-radius:      14px;
  --el-radius-sm:   10px;

  /* --- override the parent's own tokens so inherited components follow --- */
  --primary-gradient:  linear-gradient(135deg, #e3b664 0%, #c2954a 100%);
  --primary-color:     #e3b664;
  --primary-dark:      #c2954a;
  --accent-color:      #e3b664;
  --accent-dark:       #c2954a;
  --premium-red:       #e3b664;
  --premium-dark-red:  #c2954a;
  --premium-gold:      linear-gradient(135deg, #e3b664 0%, #c2954a 100%);
  --premium-border:    linear-gradient(135deg, #e3b664 0%, rgba(255,255,255,.2) 50%, #e3b664 100%);
  --ll-accent:         #e3b664;
  --ll-accent-dark:    #c2954a;
  --dark-bg:           #0c0e13;
  --nav-bg:            #0c0e13;
  --nav-link-color:    #eceff5;
  --nav-link-hover:    #e3b664;
  --card-shadow:       0 1px 2px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.35);
  --card-shadow-hover: 0 2px 6px rgba(0,0,0,.55), 0 16px 40px rgba(0,0,0,.45);
}

/* ============================================================
   2. BASE
   ============================================================ */
body {
  background: var(--el-bg) !important;
  color: var(--el-text) !important;
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .site-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--el-text);
  letter-spacing: -.01em;
}
a { color: var(--el-accent); }
a:hover { color: var(--el-accent-dark); }
hr, .divider { border-color: var(--el-line); }

/* Tailwind utility surfaces used by the parent, remapped to the dark scale */
.bg-white        { background-color: var(--el-surface) !important; }
.bg-gray-50,
.bg-gray-100     { background-color: var(--el-surface-2) !important; }
.text-gray-900,
.text-gray-800   { color: var(--el-text) !important; }
.text-gray-600,
.text-gray-500   { color: var(--el-muted) !important; }
.border-gray-200,
.border-gray-300 { border-color: var(--el-line) !important; }
.shadow, .shadow-md, .shadow-lg { box-shadow: var(--card-shadow) !important; }

/* ============================================================
   3. HEADER / NAV
   ============================================================ */
.site-header, header.site-header, .navbar, .top-bar {
  background: var(--el-bg);
  border-bottom: 1px solid var(--el-line);
}
.nav a, .navbar a { color: var(--el-text); }
.nav a:hover, .navbar a:hover { color: var(--el-accent); }

/* ============================================================
   4. CARDS / LISTINGS
   ============================================================ */
.ad-card, .listing-card, .profile-card, .feature-card, .info-box {
  background: var(--el-surface);
  border: 1px solid var(--el-line);
  border-radius: var(--el-radius);
  box-shadow: var(--card-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ad-card:hover, .listing-card:hover, .profile-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--el-accent);
}
.ad-card-image-wrapper, .listing-card img {
  border-radius: var(--el-radius) var(--el-radius) 0 0;
}
.badge, .tag, .chip {
  background: var(--el-surface-2);
  color: var(--el-accent);
  border: 1px solid var(--el-line);
  border-radius: 999px;
}

/* ============================================================
   5. BUTTONS / FORMS
   ============================================================ */
.btn, .button, button.primary, input[type="submit"] {
  background: var(--primary-gradient);
  color: #14161c;
  font-weight: 700;
  border: none;
  border-radius: var(--el-radius-sm);
}
.btn:hover, .button:hover, input[type="submit"]:hover { filter: brightness(1.07); }
.btn-outline, .button.secondary {
  background: transparent;
  color: var(--el-accent);
  border: 1px solid var(--el-accent);
}
input, select, textarea {
  background: var(--el-surface-2) !important;
  color: var(--el-text) !important;
  border: 1px solid var(--el-line) !important;
  border-radius: var(--el-radius-sm);
}
input::placeholder, textarea::placeholder { color: var(--el-muted); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--el-accent) !important;
  box-shadow: 0 0 0 3px rgba(227,182,100,.18);
}

/* ============================================================
   6. HERO / SECTION HEADERS
   ============================================================ */
.hero {
  background: radial-gradient(1200px 400px at 50% -120px, rgba(227,182,100,.16), transparent 70%), var(--el-bg);
  border-bottom: 1px solid var(--el-line);
}
.hero h1 { color: var(--el-text); }
.hero p  { color: var(--el-muted); }
.section-header h2 {
  color: var(--el-text);
  border-left: 3px solid var(--el-accent);
  padding-left: 12px;
}
.stats .stat-number { color: var(--el-accent); }
.stats .stat-label  { color: var(--el-muted); }

/* ============================================================
   7. FOOTER
   ============================================================ */
.footer, footer.footer {
  background: #08090d;
  border-top: 1px solid var(--el-line);
  color: var(--el-muted);
}
.footer a { color: var(--el-muted); }
.footer a:hover { color: var(--el-accent); }

/* ============================================================
   8. ACCESSIBILITY
   ============================================================ */
:focus-visible { outline: 2px solid var(--el-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   9. HOME — price-transparent directory
   Components prefixed .el- so they never collide with the parent theme.
   ============================================================ */
.el-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* --- hero ------------------------------------------------- */
.el-hero {
  background:
    radial-gradient(900px 380px at 15% -140px, rgba(227,182,100,.18), transparent 65%),
    radial-gradient(700px 300px at 85% -100px, rgba(227,182,100,.08), transparent 60%),
    var(--el-bg);
  border-bottom: 1px solid var(--el-line);
  padding: 72px 0 56px;
}
.el-kicker {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--el-accent); margin: 0 0 14px; font-weight: 700;
}
.el-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08; margin: 0 0 16px; color: var(--el-text); max-width: 15ch;
}
.el-sub {
  font-size: clamp(15px, 1.6vw, 18px); line-height: 1.65;
  color: var(--el-muted); max-width: 62ch; margin: 0;
}

/* --- proof strip ------------------------------------------ */
.el-proof { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 38px; }
.el-proof-item { display: flex; flex-direction: column; gap: 4px; }
.el-proof-n {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px; color: var(--el-accent); line-height: 1;
}
.el-proof-l { font-size: 13px; color: var(--el-muted); letter-spacing: .01em; }

/* --- filters ---------------------------------------------- */
.el-filters {
  background: var(--el-surface);
  border-bottom: 1px solid var(--el-line);
  padding: 20px 0 8px;
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(8px);
}
.el-filter-row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px; margin-bottom: 12px;
}
.el-filter-label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--el-muted); min-width: 96px; font-weight: 700;
}
.el-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--el-surface-2); border: 1px solid var(--el-line);
  color: var(--el-text); font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: all .16s ease; white-space: nowrap;
}
.el-chip:hover { border-color: var(--el-accent); color: var(--el-accent); }
.el-chip.is-on {
  background: var(--el-accent); border-color: var(--el-accent);
  color: #14161c;
}
.el-chip-n { opacity: .6; font-weight: 500; font-size: 12px; }

/* --- results ---------------------------------------------- */
.el-results { padding: 34px 0 72px; }
.el-results-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 22px;
}
.el-results-head h2 {
  font-size: 19px; margin: 0; color: var(--el-text);
  font-family: 'Manrope', sans-serif; font-weight: 700;
}
.el-clear { font-size: 13px; color: var(--el-muted); text-decoration: underline; }
.el-clear:hover { color: var(--el-accent); }
.el-empty {
  color: var(--el-muted); background: var(--el-surface);
  border: 1px dashed var(--el-line); border-radius: var(--el-radius);
  padding: 40px; text-align: center;
}

/* --- grid + cards ----------------------------------------- */
.el-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
}
.el-card {
  background: var(--el-surface);
  border: 1px solid var(--el-line);
  border-radius: var(--el-radius);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.el-card:hover {
  transform: translateY(-3px);
  border-color: var(--el-accent);
  box-shadow: var(--card-shadow-hover);
}
.el-card-media {
  display: block; position: relative; aspect-ratio: 3 / 4;
  background: var(--el-surface-2); overflow: hidden;
}
.el-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.el-card-noimg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, var(--el-surface-2) 0%, var(--el-surface) 100%);
}
.el-card-noimg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120px 120px at 50% 42%, rgba(227,182,100,.12), transparent 70%);
}

/* the price is the hero of the card — this is the whole point of the site */
.el-price {
  position: absolute; left: 10px; bottom: 10px;
  display: inline-flex; align-items: baseline; gap: 5px;
  padding: 7px 12px; border-radius: 10px;
  background: rgba(12,14,19,.86);
  border: 1px solid var(--el-accent);
  color: var(--el-accent);
  font-weight: 800; font-size: 17px; letter-spacing: -.01em;
  backdrop-filter: blur(6px);
}
.el-price small { font-size: 11px; font-weight: 600; opacity: .8; letter-spacing: 0; }
.el-price--none {
  color: var(--el-muted); border-color: var(--el-line);
  font-size: 12.5px; font-weight: 600;
}
.el-now {
  position: absolute; right: 10px; top: 10px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.5);
  color: var(--el-success); font-size: 11px; font-weight: 700;
}

.el-card-body { padding: 13px 14px 15px; }
.el-card-name { margin: 0 0 6px; font-size: 15.5px; font-family: 'Manrope', sans-serif; font-weight: 700; }
.el-card-name a { color: var(--el-text); text-decoration: none; }
.el-card-name a:hover { color: var(--el-accent); }
.el-verified {
  display: inline-block; margin-left: 5px;
  width: 16px; height: 16px; line-height: 16px; text-align: center;
  border-radius: 50%; background: var(--el-accent); color: #14161c;
  font-size: 10px; font-weight: 900; vertical-align: middle;
}
.el-card-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 0 8px; font-size: 12.5px; color: var(--el-muted);
}
.el-card-meta span:not(:last-child)::after { content: '·'; margin-left: 6px; opacity: .5; }
.el-type { color: var(--el-text); }
.el-reply { margin: 0; font-size: 12px; color: var(--el-muted); }
.el-reply.is-fast { color: var(--el-success); font-weight: 600; }

/* --- responsive ------------------------------------------- */
@media (max-width: 720px) {
  .el-hero { padding: 48px 0 36px; }
  .el-proof { gap: 26px; }
  .el-proof-n { font-size: 24px; }
  .el-filters { position: static; }
  .el-filter-label { min-width: 100%; margin-bottom: 2px; }
  .el-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .el-price { font-size: 15px; padding: 6px 10px; }
}

/* ============================================================
   10. HOME v2 — interactive price market
   Replaces the static v1 blocks (.el-*). Prefixed .ex- to stay clear of the parent theme.
   ============================================================ */
.ex-wrap { max-width: 1300px; margin: 0 auto; padding: 0 22px; }

/* ---------- hero with a live photo mosaic behind it ---------- */
.ex-hero { position: relative; overflow: hidden; padding: 88px 0 64px; background: var(--el-bg); }
.ex-hero-bg {
  position: absolute; inset: 0; display: grid; gap: 6px;
  grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr;
  opacity: .17; filter: grayscale(.4) contrast(1.05);
  transform: rotate(-6deg) scale(1.35); transform-origin: center;
  pointer-events: none;
}
.ex-hero-tile { overflow: hidden; border-radius: 10px; animation: exFloat 9s ease-in-out infinite; animation-delay: calc(var(--i) * .35s); }
.ex-hero-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes exFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.ex-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 22% 20%, rgba(12,14,19,.35), transparent 70%),
    linear-gradient(180deg, rgba(12,14,19,.72) 0%, rgba(12,14,19,.94) 62%, var(--el-bg) 100%);
}
.ex-hero-inner { position: relative; z-index: 2; }

.ex-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--el-accent); background: rgba(227,182,100,.1);
  border: 1px solid rgba(227,182,100,.32); border-radius: 999px;
  padding: 7px 14px; margin: 0 0 22px;
}
.ex-dot, .ex-tdot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--el-success);
  box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: exPulse 2s infinite; display: inline-block;
}
@keyframes exPulse { 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.ex-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 6.4vw, 74px); line-height: 1.02;
  margin: 0 0 18px; color: #fff; letter-spacing: -.02em;
}
.ex-hero h1 em { font-style: italic; color: var(--el-accent); }
.ex-sub { font-size: clamp(15px, 1.7vw, 19px); line-height: 1.6; color: #c3cad8; max-width: 56ch; margin: 0 0 30px; }

.ex-liveline { display: flex; flex-wrap: wrap; gap: 30px; }
.ex-liveline span { font-size: 13.5px; color: var(--el-muted); }
.ex-liveline strong {
  display: block; font-family: 'Playfair Display', Georgia, serif;
  font-size: 27px; color: #fff; line-height: 1.15;
}

/* ---------- price market panel ---------- */
.ex-controls { position: sticky; top: 0; z-index: 30; background: rgba(12,14,19,.93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--el-line); padding: 18px 0 14px; }
.ex-price-panel { background: var(--el-surface); border: 1px solid var(--el-line); border-radius: 16px; padding: 16px 18px 10px; }
.ex-price-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.ex-label { display: block; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--el-muted); font-weight: 700; }
.ex-range-out { font-family: 'Playfair Display', Georgia, serif; font-size: 25px; color: var(--el-accent); }
.ex-count { font-size: 13px; color: var(--el-muted); white-space: nowrap; }

.ex-hist { display: flex; align-items: flex-end; gap: 3px; height: 62px; margin-bottom: 6px; }
.ex-bar {
  flex: 1; height: var(--h); min-height: 3px; border-radius: 4px 4px 0 0; cursor: pointer;
  background: linear-gradient(180deg, var(--el-accent) 0%, rgba(227,182,100,.35) 100%);
  transition: opacity .18s ease, transform .18s ease;
}
.ex-bar:hover { transform: scaleY(1.06); }
.ex-bar.dim { opacity: .18; }

.ex-range { position: relative; height: 30px; }
.ex-range input[type="range"] {
  position: absolute; left: 0; right: 0; width: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.ex-range input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: var(--el-line); border-radius: 3px; }
.ex-range input[type="range"]::-moz-range-track { height: 3px; background: var(--el-line); border-radius: 3px; }
.ex-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; margin-top: -9px;
  border-radius: 50%; background: var(--el-accent); border: 3px solid #0c0e13;
  box-shadow: 0 2px 8px rgba(0,0,0,.5); cursor: grab;
}
.ex-range input[type="range"]::-moz-range-thumb {
  pointer-events: auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--el-accent); border: 3px solid #0c0e13; cursor: grab;
}

/* ---------- toggles ---------- */
.ex-toggles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.ex-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: var(--el-surface-2); border: 1px solid var(--el-line);
  color: var(--el-text); font-size: 13.5px; font-weight: 600; font-family: inherit;
  transition: all .15s ease;
}
.ex-toggle:hover { border-color: var(--el-accent); color: var(--el-accent); }
.ex-toggle.on { background: var(--el-accent); border-color: var(--el-accent); color: #14161c; }
.ex-toggle.on .ex-tdot { background: #14161c; animation: none; }
.ex-sep { width: 1px; height: 22px; background: var(--el-line); margin: 0 4px; }
.ex-select {
  padding: 8px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--el-surface-2) !important; color: var(--el-text) !important;
  border: 1px solid var(--el-line) !important; font-family: inherit; cursor: pointer;
}
.ex-reset { margin-left: auto; background: none; border: none; color: var(--el-muted); font-size: 13px; text-decoration: underline; cursor: pointer; font-family: inherit; }
.ex-reset:hover { color: var(--el-accent); }

/* ---------- grid + card ---------- */
.ex-results { padding: 26px 0 80px; }
.ex-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ex-card[hidden] { display: none; }
.ex-card {
  border-radius: 16px; overflow: hidden; background: var(--el-surface);
  border: 1px solid var(--el-line);
  transition: transform .2s cubic-bezier(.2,.7,.3,1), border-color .2s, box-shadow .2s;
}
.ex-card:hover { transform: translateY(-5px); border-color: var(--el-accent); box-shadow: 0 18px 44px rgba(0,0,0,.5); }

.ex-card-media { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--el-surface-2); }
.ex-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.ex-shot.is-first { opacity: 1; }
.ex-card-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 34%, transparent 52%, rgba(0,0,0,.82) 100%);
}

.ex-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.ex-b {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800;
  letter-spacing: .03em; backdrop-filter: blur(6px);
}
.ex-b-now  { background: rgba(52,211,153,.18); border: 1px solid rgba(52,211,153,.55); color: #6ee7b7; }
.ex-b-fast { background: rgba(227,182,100,.16); border: 1px solid rgba(227,182,100,.5); color: var(--el-accent); }

.ex-rate {
  position: absolute; left: 12px; bottom: 11px; z-index: 2;
  display: flex; align-items: baseline; gap: 3px; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}
.ex-rate b { font-family: 'Playfair Display', Georgia, serif; font-size: 27px; line-height: 1; letter-spacing: -.01em; }
.ex-rate i { font-style: normal; font-size: 12px; font-weight: 700; opacity: .75; }
.ex-rate .ex-rate-none { font-family: 'Manrope', sans-serif; font-size: 12.5px; font-weight: 700; opacity: .8; }

.ex-dots { position: absolute; right: 10px; bottom: 13px; display: flex; gap: 4px; z-index: 2; }
.ex-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background .2s; }
.ex-dots i.on { background: var(--el-accent); }

.ex-card-foot { padding: 11px 13px 13px; }
.ex-name { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 15px; }
.ex-name a { color: var(--el-text); text-decoration: none; }
.ex-card:hover .ex-name a { color: var(--el-accent); }
.ex-tick {
  width: 15px; height: 15px; line-height: 15px; text-align: center; font-style: normal;
  border-radius: 50%; background: var(--el-accent); color: #14161c; font-size: 9px; font-weight: 900;
}
.ex-meta { display: block; margin-top: 3px; font-size: 12.5px; color: var(--el-muted); }

.ex-empty {
  margin-top: 30px; padding: 46px; text-align: center; color: var(--el-muted);
  background: var(--el-surface); border: 1px dashed var(--el-line); border-radius: 16px;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .ex-hero { padding: 56px 0 42px; }
  .ex-hero-bg { grid-template-columns: repeat(4, 1fr); }
  .ex-liveline { gap: 20px; }
  .ex-liveline strong { font-size: 21px; }
  .ex-controls { position: static; }
  .ex-reset { margin-left: 0; }
  .ex-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 11px; }
  .ex-rate b { font-size: 21px; }
  .ex-hist { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .ex-hero-tile, .ex-dot, .ex-tdot { animation: none !important; }
  .ex-card { transition: none; }
}
