/* ============================================================
   NEWPLACESHOT REDESIGN LAYER
   Warm editorial palette, small radii, glass accents.
   Load AFTER shared.css and bright-theme.css on every page.
   Selectors use html[data-theme] prefixes so they also win over
   page-level inline styles.
   ============================================================ */

/* ---- Radii: small and squared, no pill shapes ---- */
:root, html[data-theme] {
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 8px;
  --r-xl: 10px;
  --r-full: 6px;
}

/* ---- Light palette: warm bone, ink, deep wine ---- */
html[data-theme="light"] {
  --primary:        #B3123F;
  --primary-dark:   #8E0E33;
  --primary-light:  #B3123F;
  --primary-soft:   rgba(179,18,63,0.07);
  --primary-mid:    rgba(179,18,63,0.22);

  --bg:             #F7F4F0;
  --bg-card:        #FFFFFF;
  --bg-card-2:      #F1ECE6;
  --bg-input:       #FFFFFF;
  --bg-dark:        #FFFFFF;
  --bg-dark-2:      #F1ECE6;
  --bg-dark-3:      rgba(27,24,21,0.06);

  --text:           #1B1815;
  --text-secondary: #544E48;
  --text-muted:     #8B837B;
  --text-light:     #ABA29A;

  --border:         rgba(27,24,21,0.10);
  --border-strong:  rgba(27,24,21,0.20);

  --shadow-xs:    0 1px 2px rgba(27,24,21,0.05);
  --shadow-sm:    0 1px 3px rgba(27,24,21,0.06);
  --shadow-md:    0 6px 20px rgba(27,24,21,0.10);
  --shadow-lg:    0 14px 40px rgba(27,24,21,0.14);
  --shadow-card:  0 1px 3px rgba(27,24,21,0.06);
  --shadow-hover: 0 10px 26px rgba(27,24,21,0.12);

  --glass:        rgba(255,255,255,0.78);
  --glass-strong: rgba(255,255,255,0.93);
  --glass-brd:    rgba(255,255,255,0.70);
  --glass-edge:   0 -8px 26px rgba(27,24,21,0.08);
  --panel:        linear-gradient(to bottom, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.46) 50%, rgba(255,255,255,0.88) 100%);

  --tier-vvip-fg:    #8A6A00;
  --tier-vip-fg:     #B3123F;
  --tier-premier-fg: #33507A;
  --tier-basic-fg:   #4A443E;
  --verified-fg:     #0F7B4F;
  --count-fg:        #544E48;
  --count-icon-fg:   #9A7B1F;
}

/* ---- Dark palette: warm charcoal ---- */
html[data-theme="dark"] {
  --primary:        #E23A63;
  --primary-dark:   #C2114B;
  --primary-light:  #E23A63;
  --primary-soft:   rgba(226,58,99,0.12);
  --primary-mid:    rgba(226,58,99,0.32);

  --bg:             #15120F;
  --bg-card:        #1F1B17;
  --bg-card-2:      #272219;
  --bg-input:       #272219;
  --bg-dark:        #15120F;
  --bg-dark-2:      #1F1B17;
  --bg-dark-3:      rgba(255,255,255,0.07);

  --text:           #F4F0EA;
  --text-secondary: #C9C1B6;
  --text-muted:     #9C948A;
  --text-light:     #6F675E;

  --border:         rgba(255,255,255,0.10);
  --border-strong:  rgba(255,255,255,0.22);

  --shadow-xs:    0 1px 2px rgba(0,0,0,0.40);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.45);
  --shadow-md:    0 6px 20px rgba(0,0,0,0.50);
  --shadow-lg:    0 14px 40px rgba(0,0,0,0.60);
  --shadow-card:  0 1px 3px rgba(0,0,0,0.40);
  --shadow-hover: 0 10px 26px rgba(0,0,0,0.55);

  --glass:        rgba(31,27,23,0.66);
  --glass-strong: rgba(24,21,18,0.88);
  --glass-brd:    rgba(255,255,255,0.16);
  --glass-edge:   0 -8px 26px rgba(0,0,0,0.35);
  --panel:        linear-gradient(to bottom, rgba(20,17,15,0.28) 0%, rgba(20,17,15,0.62) 45%, rgba(20,17,15,0.90) 100%);

  --tier-vvip-fg:    #E8C55A;
  --tier-vip-fg:     #E23A63;
  --tier-premier-fg: #9DB8DE;
  --tier-basic-fg:   #CFC8BF;
  --verified-fg:     #7BDDA9;
  --count-fg:        #C9C1B6;
  --count-icon-fg:   #E8C55A;
}

/* ---- Header: frosted glass ---- */
html[data-theme="light"] .site-header, html[data-theme="dark"] .site-header {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}
.header-inner { padding: 11px 0; }
.logo-area h1 {
  font-size: 1.32rem;
  letter-spacing: -0.7px;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--text);
}
.logo-area h1 .tld { color: var(--primary); }
html[data-theme="light"] .logo-area span, html[data-theme="dark"] .logo-area span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}
html[data-theme="light"] .nav-city-link, html[data-theme="dark"] .nav-city-link {
  color: var(--text-secondary);
}
.nav-city-link { border-radius: 6px; padding: 7px 13px; }
.nav-city-link:hover { background: var(--bg-card-2); color: var(--text); }
.nav-city-link.active { background: var(--primary); color: #fff; }
.header-nav.open {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-top: 1px solid var(--border);
  border-radius: 0;
}
.btn-primary {
  background: var(--primary);
  border-radius: 6px;
  box-shadow: none;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: none; transform: none; }
.btn-outline {
  border-radius: 6px;
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: none;
}
.btn-outline:hover { background: var(--bg-card-2); color: var(--text); box-shadow: none; }
.theme-toggle-btn { border-radius: 6px; }
html[data-theme="light"] .theme-toggle-btn, html[data-theme="dark"] .theme-toggle-btn {
  background: var(--bg-card-2);
  border-color: var(--border-strong);
  color: var(--text-secondary);
}

/* ---- City page hero ---- */
html[data-theme="light"] .city-hero, html[data-theme="dark"] .city-hero {
  background: linear-gradient(165deg, var(--bg-card-2) 0%, var(--bg) 100%);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* ---- Filter controls ---- */
html[data-theme="light"] .filter-reset, html[data-theme="dark"] .filter-reset {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 6px;
}
.filter-reset:hover { background: var(--bg-card-2); color: var(--text); border-color: var(--border-strong); }
html[data-theme="light"] .loc-browser-top, html[data-theme="dark"] .loc-browser-top {
  background: var(--bg-card-2);
}
html[data-theme="light"] .loc-breadcrumb, html[data-theme="dark"] .loc-breadcrumb {
  background: var(--primary-soft);
  color: var(--text-secondary);
}
.loc-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 6px;
}
.loc-chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.loc-chip .count { background: var(--bg-card-2); color: var(--text-muted); border: 1px solid var(--border); border-radius: 4px; }

/* ---- Profiles grid: denser, two per row on phones ---- */
html[data-theme="light"] .profiles-grid, html[data-theme="dark"] .profiles-grid {
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 16px;
}

/* ---- Profile card: photo with a light transparent info panel ---- */
html[data-theme="light"] .profile-card, html[data-theme="dark"] .profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.profile-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.profile-media { height: auto; aspect-ratio: 5 / 7; background: var(--bg-card-2); }
.profile-media::after { display: none; }
.profile-media img { object-position: center 22%; }
.profile-card:hover .profile-media img { transform: none; }
.profile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  color: var(--text);
  padding: 11px 13px 13px;
  pointer-events: none; /* the whole card links to the profile */
  background: var(--panel);
  box-shadow: var(--glass-edge);
}
/* Light theme: the panel gradient is very sheer at the top, so keep the
   text readable with a soft white halo instead of hiding the photo. */
html[data-theme="light"] .profile-name,
html[data-theme="light"] .profile-location,
html[data-theme="light"] .profile-price,
html[data-theme="light"] .profile-town,
html[data-theme="light"] .profile-phone {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 6px rgba(255, 255, 255, 0.85);
}
.profile-name-row { margin-bottom: 2px; gap: 6px; }
.profile-town {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-name { color: var(--text); font-size: 1rem; letter-spacing: -0.02em; text-shadow: none; }
.profile-age-pill {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 4px;
  font-size: 0.66rem;
  padding: 1px 7px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.profile-location { color: var(--text-muted); font-size: 0.73rem; margin-bottom: 6px; }
.profile-price {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  text-shadow: none;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.profile-tags { gap: 4px; margin-bottom: 4px; }
.tag-service {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 4px;
  font-size: 0.57rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.profile-phone { color: var(--text-secondary); font-size: 0.72rem; font-weight: 600; margin-bottom: 0; }
.profile-phone i { color: var(--primary); }
.profile-actions {
  padding: 11px 13px 13px;
  gap: 6px;
  pointer-events: auto;
}
.action-btn {
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 9px 6px;
  gap: 5px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.action-call { background: var(--primary); color: #fff; }
.action-call:hover { background: var(--primary-dark); box-shadow: none; }
.action-wa { background: #128C7E; color: #fff; }
.action-wa:hover { background: #0E6F64; box-shadow: none; }
.action-view { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
.action-view:hover { background: var(--bg-card-2); color: var(--text); }
.action-sms { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
.action-sms:hover { background: var(--bg-card-2); color: var(--text); }
.action-btn > i { display: none; } /* icons only where labels do not fit */

/* Badges on the photo: transparent chips, never dark and never blurred */
.tier-badge {
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  font-size: 0.55rem;
  letter-spacing: 1.1px;
  border-radius: 4px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-brd);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow: none;
}
.tier-vvip    { background: var(--glass-strong); border: 1px solid var(--glass-brd); color: var(--tier-vvip-fg); }
.tier-vip     { background: var(--glass-strong); border: 1px solid var(--glass-brd); color: var(--tier-vip-fg); }
.tier-premier { background: var(--glass-strong); border: 1px solid var(--glass-brd); color: var(--tier-premier-fg); }
.tier-basic   { background: var(--glass-strong); border: 1px solid var(--glass-brd); color: var(--tier-basic-fg); }
.verified-badge {
  top: 10px;
  right: 10px;
  color: var(--verified-fg);
  background: var(--glass-strong);
  border: 1px solid var(--glass-brd);
  border-radius: 4px;
  font-size: 0.55rem;
  padding: 3px 7px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.media-count-badge {
  top: 10px;
  right: 10px;
  color: var(--count-fg);
  background: var(--glass-strong);
  border: 1px solid var(--glass-brd);
  border-radius: 4px;
  font-size: 0.58rem;
  padding: 3px 8px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.media-count-badge i { color: var(--count-icon-fg); }
.verified-badge + .media-count-badge { top: 33px; }

/* ---- Section headers and content ---- */
.section-head { margin-bottom: 16px; }
.section-eyebrow { color: var(--primary); font-size: 0.62rem; letter-spacing: 0.16em; }
.section-head h2 { color: var(--text); font-size: 1.35rem; letter-spacing: -0.03em; }
.section-head h2 i { color: var(--primary); }
.section-sub { color: var(--text-muted); }
.section-link {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 6px;
  font-size: 0.73rem;
  padding: 8px 15px;
}
.section-link:hover { background: var(--bg-card-2); }
.grid-loading, .grid-end { color: var(--text-muted); }
.grid-end { color: var(--primary); font-weight: 600; }
.city-link-btn { background: var(--primary); box-shadow: none; }
.city-link-btn:hover { background: var(--primary-dark); box-shadow: none; transform: none; }
.spa-card-badge { background: var(--primary); }

/* ---- Modal, lightbox, toasts ---- */
.modal-hdr { background: var(--primary); }
.modal-hdr button { border-radius: 6px; }
.modal-head { background: linear-gradient(160deg, var(--primary-dark), var(--primary)); }
.modal-close { border-radius: 6px; }
.lb-close { border-radius: 8px; }
.lightbox-close { border-radius: 8px; }
.toast { border-radius: 8px; }
.toast-icon { border-radius: 6px; }

/* ---- Footer ---- */
html[data-theme="light"] .site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
html[data-theme="dark"] .site-footer {
  background: #100D0B;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
html[data-theme="light"] .footer-counties-section h4,
html[data-theme="dark"] .footer-counties-section h4 {
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
html[data-theme="light"] .awareness-card, html[data-theme="dark"] .awareness-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
}
.county-link { color: var(--text-muted); }
.county-link:hover { color: var(--primary); border-bottom-color: var(--primary); transform: none; }

/* ---- Mobile bottom nav: frosted ---- */
html[data-theme="light"] .mobile-bottom-nav, html[data-theme="dark"] .mobile-bottom-nav {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-top: 1px solid var(--border-strong);
}
.mbn-item.active, .mbn-item:hover { color: var(--primary); }

/* ---- Auth pages ---- */
.auth-card { border-radius: 10px; }
html[data-theme="light"] .btn-header, html[data-theme="dark"] .btn-header { border-radius: 6px; }
html[data-theme="light"] .auth-page {
  background: linear-gradient(165deg, #F1EBE3 0%, #F7F4F0 55%, #F2E9E2 100%);
}
html[data-theme="dark"] .auth-page {
  background: linear-gradient(165deg, #191512 0%, #15120F 55%, #12100D 100%);
}
.auth-card-head { background: linear-gradient(155deg, var(--primary), var(--primary-dark)); }
.step-dot { border-radius: 6px; }
.submit-btn { background: var(--primary); box-shadow: none; }
.submit-btn:hover { background: var(--primary-dark); box-shadow: none; transform: none; }

/* ---- Two profiles per row on phones, compact cards ---- */
@media (max-width: 640px) {
  html[data-theme="light"] .profiles-grid, html[data-theme="dark"] .profiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .profile-media { aspect-ratio: 2 / 3; }
  .profile-body { padding: 9px 10px 11px; }
  .profile-name { font-size: 0.85rem; }
  .profile-age-pill { font-size: 0.6rem; padding: 0 5px; }
  .profile-location { font-size: 0.63rem; margin-bottom: 4px; }
  .profile-price { font-size: 0.77rem; margin-bottom: 6px; }
  .profile-tags { margin-bottom: 2px; }
  .profile-tags .tag-service:nth-child(n+3) { display: none; }
  .profile-phone { font-size: 0.63rem; }
  .profile-town { font-size: 0.63rem; }
  .profile-actions { gap: 5px; padding: 9px 10px 11px; }
  .action-btn { padding: 8px 2px; font-size: 0.68rem; }
  .cta-label { display: none; } /* icon-only call buttons */
  .action-btn > i { display: inline-flex; }
  .tier-badge { top: 7px; left: 7px; font-size: 0.5rem; padding: 2px 6px; letter-spacing: 0.8px; }
  .verified-badge, .media-count-badge { top: 7px; right: 7px; font-size: 0.52rem; padding: 2px 6px; }
  .verified-badge + .media-count-badge { top: 27px; }
}

/* ---- City pages: ad cards follow the same card language ---- */
html[data-theme="light"] .ads-grid, html[data-theme="dark"] .ads-grid {
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 16px;
}
html[data-theme="light"] .ad-card, html[data-theme="dark"] .ad-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.ad-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.ad-media { height: auto; aspect-ratio: 4 / 5; background: var(--bg-card-2); }
.ad-media img { object-fit: cover; object-position: center 22%; }
.ad-card:hover .ad-media img { transform: none; }
.plan-badge {
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 1.1px;
  background: var(--glass-strong);
  color: var(--primary);
  border: 1px solid var(--glass-brd);
  border-radius: 4px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.ad-content { padding: 12px 13px 14px; }
.ad-name-age { margin-bottom: 6px; }
.ad-name { font-size: 1rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.ad-age {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 7px;
}
.ad-location { font-size: 0.73rem; color: var(--text-muted); margin-bottom: 6px; }
.ad-location i { display: none; } /* no decorative pins */
.ad-bio { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; }
.service-tag, .location-tag {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 4px;
  font-size: 0.57rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
}
.action-buttons-row { flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.action-icon-btn {
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 9px 10px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.action-icon-btn > i { display: none; }
.btn-call { background: var(--primary); color: #fff; }
.btn-call:hover { background: var(--primary-dark); transform: none; box-shadow: none; }
.btn-wa { background: #128C7E; color: #fff; }
.btn-wa:hover { background: #0E6F64; transform: none; }
.btn-sms { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
.btn-sms:hover { background: var(--bg-card-2); transform: none; }
.reset-btn { border-radius: 6px; }

@media (max-width: 640px) {
  html[data-theme="light"] .ads-grid, html[data-theme="dark"] .ads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ad-content { padding: 9px 10px 11px; }
  .ad-name { font-size: 0.85rem; }
  .ad-bio { font-size: 0.72rem; }
  .action-icon-btn { padding: 7px 6px; font-size: 0.64rem; }
}

/* ---- SPONSORED SLOT (shared): identical on home and every city page ---- */
/* ---- In-grid sponsored slots: adverts sit between profile rows
      instead of in front of them ---- */
.ad-slot {
  grid-column: 1 / -1;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px 13px;
  box-shadow: var(--shadow-xs);
}

.ad-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.ad-slot-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ad-slot-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--primary);
}

.ad-slot-promote {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.ad-slot-promote:hover {
  text-decoration: underline;
}

.ad-slot-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.ad-slot-rail::-webkit-scrollbar {
  height: 5px;
}

.ad-slot-rail::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}

.ad-tile {
  flex: 0 0 auto;
  width: 258px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
}

.ad-tile:hover {
  border-color: var(--border-strong);
}

.ad-tile-img {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.ad-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-tile-body {
  flex: 1;
  min-width: 0;
}

.ad-tile-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.ad-tile-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 1px;
}

.ad-tile-price {
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.ad-tile-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.ad-tile-loc i {
  color: var(--primary);
  font-size: 0.58rem;
}

.ad-tile-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.ad-tile-btn {
  font-size: 0.64rem;
  font-weight: 700;
  padding: 4px 10px;
  border: none;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.ad-call {
  background: var(--primary);
}

.ad-call:hover {
  background: var(--primary-dark);
}

.ad-wa {
  background: #128C7E;
}

.ad-wa:hover {
  background: #0E6F64;
}

@media (max-width: 640px) {
  .ad-slot { padding: 9px 11px 11px; }
  .ad-tile { width: 236px; }
}
@media (max-width: 480px) {
  .ad-tile { width: 214px; }
  .ad-slot-promote { display: none; }
}
