/* MeraGhar — shared design system
   Palette / type / radius copied from homeofsauna.com's visual language
   (cream background, Fraunces serif headings, Inter body, warm brown accent). */


:root {
  --bg: #faf6ef;
  --bg-alt: #f2e9dc;
  --surface: #ffffff;
  --text: #262119;
  --text-muted: #6f6555;
  --border: rgba(38, 33, 25, 0.12);
  --accent: #8a5a34;
  --accent-dark: #6e4527;
  --accent-soft: #f0e2d3;
  --ok: #3f7a4e;
  --ok-soft: #e6f0e8;
  --warn: #a96a1e;
  --warn-soft: #f7ecd9;
  --danger: #a23b32;
  --danger-soft: #f6e4e1;
  --radius: 4px;
  --radius-lg: 10px;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow: 0 1px 2px rgba(38, 33, 25, 0.06), 0 8px 24px rgba(38, 33, 25, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--text);
}

h1 { font-size: 48px; font-weight: 600; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.header-actions { flex-shrink: 0; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  opacity: .85;
}
.main-nav a:hover { opacity: 1; color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-danger-outline { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger-outline:hover { background: var(--danger-soft); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Small corner tick (Featured/Super Hot indicator on a thumbnail) ---------- */
.thumb-wrap { position: relative; flex-shrink: 0; }
.thumb-tick {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; border: 2px solid var(--surface);
  cursor: default;
}
.thumb-tick svg { width: 10px; height: 10px; }
.thumb-tick.tick-super { background: #d5342e; }
.thumb-tick.tick-featured { background: #caa42a; }

/* ---------- Credit confirmation popup ---------- */
.credit-bullets { padding-left: 18px; margin: 0 0 4px; }
.credit-bullets li { margin-bottom: 6px; font-size: 13.5px; line-height: 1.4; }
.tier-choice-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; margin-bottom: 10px; }
.tier-choice-card h4 { margin: 0 0 8px; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.tier-choice-card .credit-bullets { margin-bottom: 12px; }
.tier-choice-card.disabled { opacity: .55; }
.tier-choice-card .btn-icon { width: 15px; height: 15px; }

/* ---------- Listing action buttons: refresh / feature / super-hot ---------- */
.btn-icon { width: 15px; height: 15px; flex-shrink: 0; }
.btn-refresh {
  background: #eaf6fc; border-color: #bfe6f5; color: #0e7fa8;
  box-shadow: 0 0 0 rgba(14,127,168,0);
  transition: box-shadow .2s ease, background .15s ease;
}
.btn-refresh:hover { background: #dcf0fa; box-shadow: 0 0 10px rgba(56,178,222,.55); }
.btn-feature {
  background: #fff8dc; border-color: #f5e08a; color: #8a6d1a;
}
.btn-feature:hover { background: #fdefb0; }
.btn-feature.is-on { background: #ffe57a; border-color: #e0c34a; }
.btn-super {
  background: #fdeceb; border-color: #f3b8b3; color: #b3261e;
  box-shadow: 0 0 0 rgba(179,38,30,0);
  transition: box-shadow .2s ease, background .15s ease;
}
.btn-super:hover { background: #fcdad7; box-shadow: 0 0 10px rgba(220,60,48,.4); }
.btn-super.is-on { background: #f3413b; border-color: #d5342e; color: #fff; }
.btn-whatsapp { background: #e7f7ed; border-color: #b8e6c6; color: #1c7a3d; }
.btn-whatsapp:hover { background: #d6f2e0; }

/* ---------- Icon-only contact buttons (property agent card) ---------- */
.contact-icons { display: flex; gap: 10px; }
.icon-btn { flex: 1; padding: 12px; }
.icon-btn .btn-icon { width: 19px; height: 19px; margin: 0; }
.chat-panel { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 18px; }
.chat-panel .thread { max-height: 260px; padding: 0 0 12px; }
.chat-panel .thread-input { padding: 0; border-top: none; }
.chat-name-gate .field { margin-bottom: 10px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-alt);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.hero h1 { max-width: 720px; }
.hero .lede { font-size: 18px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Search bar ---------- */
.search-bar {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 14px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 10px;
}
.search-bar select,
.search-bar input {
  width: 100%;
}

/* ---------- Form controls ---------- */
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
input, select, textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}
textarea { resize: vertical; min-height: 100px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; gap: 14px; }
.field-row.cols-2 { grid-template-columns: 1fr 1fr; }
.field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.hint { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }
.error-text { font-size: 12.5px; color: var(--danger); margin-top: 6px; display: none; }
.form-msg { font-size: 14px; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 18px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--ok-soft); color: var(--ok); }
.form-msg.err { background: var(--danger-soft); color: var(--danger); }

/* ---------- Section headers ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 20px; flex-wrap: wrap; }
.section-head .eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 8px; display: block; }
.section-head p { margin: 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Tag / badge ---------- */
.tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}
.badge-sale { background: var(--ok-soft); color: var(--ok); }
.badge-rent { background: var(--warn-soft); color: var(--warn); }
.badge-pending { background: var(--warn-soft); color: var(--warn); }
.badge-active { background: var(--ok-soft); color: var(--ok); }
.badge-rejected { background: var(--danger-soft); color: var(--danger); }
.badge-muted { background: var(--bg-alt); color: var(--text-muted); }
.badge-feat { background: #fff3c4; color: #8a6d1a; }
.badge-hot { background: #fbe1df; color: #b3261e; font-weight: 700; }
.card-media .badge.badge-feat, .card-media .badge.badge-hot { left: auto; right: 12px; top: 12px; }

/* ---------- Cards / listings grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: var(--shadow); }

.card-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--accent) 0%, #3a2313 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.card-media .badge { position: absolute; top: 12px; left: 12px; }
.card-media .price-tag {
  background: rgba(38,33,25,.55);
  color: #fff;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius);
  font-size: 14px;
}
.card-body { padding: 18px; }
.card-body h3 { font-size: 18px; margin-bottom: 4px; }
.card-loc { font-size: 13.5px; color: var(--text-muted); margin-bottom: 12px; }
.card-specs { display: flex; gap: 14px; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 12px; }
.card-specs span { display: flex; align-items: center; gap: 5px; }

/* City pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  background: var(--surface);
}
.pill:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Filter sidebar (listings page) ---------- */
.listings-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.filter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 96px;
}
.filter-panel h3 { font-size: 16px; margin-bottom: 16px; }
.filter-panel .field:last-child { margin-bottom: 0; }
.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.results-bar .count { color: var(--text-muted); font-size: 14.5px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 20px; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 48px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { font-size: 14px; margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; font-size: 13px; color: var(--text-muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--bg-alt);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px;
}
.auth-card h1 { font-size: 26px; }
.auth-card .lede { margin-bottom: 24px; }
.auth-foot { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-foot a { color: var(--accent); font-weight: 600; }
.demo-note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 10px 12px;
}

/* ---------- Dashboard shell ---------- */
.dash-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 72px); }
.dash-side {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
}
.dash-side .who { padding: 0 8px 20px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.dash-side .who .name { font-weight: 600; font-size: 15px; }
.dash-side .who .role { font-size: 12.5px; color: var(--text-muted); }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.dash-nav a:hover { background: var(--bg-alt); color: var(--text); }
.dash-nav a.active { background: var(--accent-soft); color: var(--accent-dark); }
.dash-main { padding: 32px; background: var(--bg); }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 32px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.stat-card .label { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.stat-card .value { font-family: var(--font-serif); font-size: 30px; font-weight: 600; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
.panel-head { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.panel-head h3 { margin: 0; font-size: 16px; }
.panel-body { padding: 4px 20px 8px; overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 8px; font-size: 14px; border-bottom: 1px solid var(--border); }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); font-weight: 600; }
tr:last-child td { border-bottom: none; }
td.actions { display: flex; gap: 8px; }
.actions-single-line { flex-wrap: nowrap; align-items: center; gap: 6px; white-space: nowrap; }
#listings-table td { padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
#listings-table tr:last-child td { border-bottom: none; }
.row-muted { color: var(--text-muted); }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(38,33,25,.45);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--radius-lg); max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 28px; box-shadow: var(--shadow);
}
.modal.modal-wide { max-width: 760px; }
.field-group { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 16px; }
.field-group > .field-group-title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 12px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-close { cursor: pointer; font-size: 20px; color: var(--text-muted); background: none; border: none; }

/* ---------- Property detail ---------- */
.detail-gallery { aspect-ratio: 16/7; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--accent), #2c1a0d); margin-bottom: 16px; display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,.85); font-family: var(--font-serif); font-size: 22px; }
.thumb-row { display: flex; gap: 8px; margin-bottom: 32px; overflow-x: auto; }
.thumb-row .thumb { width: 84px; height: 60px; object-fit: cover; border-radius: var(--radius); cursor: pointer; opacity: .6; border: 2px solid transparent; flex-shrink: 0; }
.thumb-row .thumb.active, .thumb-row .thumb:hover { opacity: 1; border-color: var(--accent); }

/* ---------- Amenities / photo upload (agent listing form) ---------- */
.amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; max-height: 220px; overflow-y: auto; padding: 4px 2px; border: 1px solid var(--border); border-radius: var(--radius); }
.amenity-grid label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 400; margin: 0; cursor: pointer; }
.amenity-grid input { width: auto; }
.photo-drop { border: 1px dashed var(--border); border-radius: var(--radius); padding: 14px; text-align: center; cursor: pointer; font-size: 13.5px; color: var(--text-muted); }
.photo-drop:hover { border-color: var(--accent); color: var(--accent); }
.photo-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.photo-thumb { position: relative; width: 76px; height: 76px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb .cover-tag { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(38,33,25,.65); color: #fff; font-size: 9.5px; text-align: center; padding: 1px 0; }
.photo-thumb .remove-photo { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(38,33,25,.75); color: #fff; border: none; font-size: 12px; line-height: 18px; cursor: pointer; }
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.spec-grid .spec-label { font-size: 12.5px; color: var(--text-muted); margin-bottom: 4px; }
.spec-grid .spec-value { font-family: var(--font-serif); font-size: 20px; font-weight: 600; }
.agent-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: 96px; }
.agent-card .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-serif); margin-bottom: 12px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Rich text editor (blog content) ---------- */
.rte-toolbar { display: flex; gap: 3px; flex-wrap: wrap; border: 1px solid var(--border); border-bottom: none; border-radius: var(--radius) var(--radius) 0 0; padding: 6px; background: var(--bg-alt); }
.rte-toolbar button {
  width: 32px; height: 32px; border: 1px solid transparent; background: transparent; border-radius: 4px;
  cursor: pointer; font-weight: 700; color: var(--text); font-size: 14px; font-family: var(--font-sans);
  display: flex; align-items: center; justify-content: center;
}
.rte-toolbar button:hover { background: var(--surface); border-color: var(--border); }
.rte-toolbar button.italic { font-style: italic; font-weight: 500; }
.rte-toolbar .rte-sep { width: 1px; background: var(--border); margin: 4px 4px; }
.rte-editor {
  border: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); min-height: 220px;
  padding: 12px 14px; font-size: 14.5px; line-height: 1.6; background: var(--surface); overflow-y: auto;
}
.rte-editor:focus { outline: none; border-color: var(--accent); }
.rte-editor img { max-width: 100%; border-radius: 4px; margin: 8px 0; display: block; }
.rte-editor ul, .rte-editor ol { padding-left: 22px; margin: 8px 0; }
.rte-editor p { margin: 0 0 10px; }

.blog-body { font-size: 16.5px; line-height: 1.7; color: var(--text); }
.blog-body img { max-width: 100%; border-radius: var(--radius-lg); margin: 20px 0; display: block; }
.blog-body ul, .blog-body ol { padding-left: 24px; margin: 0 0 16px; }
.blog-body p { margin: 0 0 16px; }

/* ---------- Card favorite button ---------- */
.card-fav-btn {
  position: absolute; bottom: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text); padding: 0;
}
.card-fav-btn svg { width: 16px; height: 16px; }
.card-fav-btn.active { color: #d5342e; }
.card-fav-btn:hover { background: #fff; }

/* ---------- Mobile/tablet bottom nav ---------- */
.bottom-nav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 10px rgba(0,0,0,.05);
}
.bn-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 500; color: var(--text-muted); position: relative;
}
.bn-item svg { width: 21px; height: 21px; }
.bn-item.active { color: var(--accent); }
.bn-fab-wrap { justify-content: flex-start; }
.bn-fab {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.28);
}
.bn-fab svg { width: 24px; height: 24px; }
@media (max-width: 960px) {
  .bottom-nav { display: flex; }
  body { padding-bottom: 68px; }
}

/* ---------- Analytics / charts ---------- */
.range-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.range-tab {
  padding: 7px 14px; border-radius: 100px; border: 1px solid var(--border);
  background: var(--surface); font-size: 13px; font-weight: 500; cursor: pointer; color: var(--text-muted);
}
.range-tab.active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.chart-wrap { padding: 8px 4px 0; }
.chart-legend { display: flex; gap: 18px; margin-bottom: 12px; flex-wrap: wrap; }
.chart-legend .item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.chart-legend .dot { width: 9px; height: 9px; border-radius: 50%; }
.stat-card .sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.stat-card.quota-low .value { color: var(--danger); }

/* ---------- Quota table ---------- */
.quota-table td, .quota-table th { vertical-align: middle; }
.quota-bar { width: 100%; height: 6px; border-radius: 100px; background: var(--bg-alt); overflow: hidden; margin-top: 6px; }
.quota-bar > span { display: block; height: 100%; background: var(--accent); }
.quota-bar.full > span { background: var(--danger); }

/* ---------- Toggle switch ---------- */
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: var(--border); border-radius: 100px; transition: .15s; cursor: pointer; }
.switch .slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .15s; }
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(18px); }

/* ---------- Color swatches (site settings) ---------- */
.swatch-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.swatch {
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer; border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.swatch.selected { border-color: var(--text); }
.color-input-row { display: flex; align-items: center; gap: 12px; }
.color-input-row input[type="color"] { width: 46px; height: 38px; padding: 2px; cursor: pointer; }

/* ---------- Messages / support thread ---------- */
.thread { display: flex; flex-direction: column; gap: 10px; padding: 20px; max-height: 460px; overflow-y: auto; }
.bubble { max-width: 72%; padding: 10px 14px; border-radius: var(--radius-lg); font-size: 14.5px; line-height: 1.4; }
.bubble .meta { font-size: 11px; opacity: .65; margin-top: 4px; }
.bubble.from-me { align-self: flex-end; background: var(--accent); color: var(--bg); }
.bubble.from-them { align-self: flex-start; background: var(--bg-alt); color: var(--text); }
.thread-empty { padding: 40px 20px; text-align: center; color: var(--text-muted); }
.thread-input { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--border); }
.thread-input textarea { min-height: 44px; }
.agent-inbox-list { border-right: 1px solid var(--border); }
.agent-inbox-item { padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
.agent-inbox-item:hover, .agent-inbox-item.active { background: var(--bg-alt); }
.agent-inbox-item .name { font-weight: 600; font-size: 14.5px; }
.agent-inbox-item .preview { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; margin-left: 6px; }
.messages-shell { display: grid; grid-template-columns: 260px 1fr; }

/* ---------- Blog ---------- */
.blog-card .card-media { background: linear-gradient(135deg, var(--accent) 0%, #3a2313 100%); align-items: center; justify-content: center; padding: 20px; }
.blog-card .card-media span { color: rgba(255,255,255,.85); font-family: var(--font-serif); font-size: 17px; text-align: center; }
.blog-meta { font-size: 12.5px; color: var(--text-muted); margin-bottom: 6px; }
.blog-detail { max-width: 760px; margin: 0 auto; }
.blog-detail .blog-hero { aspect-ratio: 21/8; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--accent), #2c1a0d); margin-bottom: 28px; }

/* ---------- Listing row extras (agent dashboard) ---------- */
.listing-row-title { font-weight: 600; }
.mini-stats { display: flex; gap: 12px; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.quota-pill { font-size: 11.5px; color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .main-nav { display: none; }
}
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .listings-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .dash-shell { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .messages-shell { grid-template-columns: 1fr; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 34px; }
  .grid, .grid.cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-bar { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: 1fr; }
}

/* ---------- Tools hub / calculators (SEO tool pages) ---------- */
.tool-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.tool-tile { display: flex; gap: 14px; align-items: flex-start; padding: 6px; border-radius: 10px; transition: background .15s; }
.tool-tile:hover { background: var(--bg-alt); }
.tool-ic { flex: 0 0 62px; height: 62px; border-radius: 12px; display: grid; place-items: center; }
.tool-ic svg { width: 30px; height: 30px; }
.tool-tile h3 { font-family: inherit; font-size: 15.5px; font-weight: 600; margin: 2px 0 4px; line-height: 1.25; }
.tool-tile p { margin: 0; font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }
.tool-layout { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; }
.tool-box { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.tool-box h3 { font-size: 18px; margin: 0 0 14px; }
.tool-box .field:last-child { margin-bottom: 0; }
.tool-box input[type=range] { width: 100%; accent-color: var(--accent); padding: 0; }
.tool-box .range-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.result-hero { background: var(--accent); color: var(--bg); border-radius: 10px; padding: 22px; margin-bottom: 16px; }
.result-hero .lbl { font-size: 13px; opacity: .85; }
.result-hero .big { font-family: 'Fraunces', serif; font-size: 34px; line-height: 1.15; margin-top: 4px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.stat .lbl { font-size: 12px; color: var(--text-muted); }
.stat .val { font-size: 18px; font-weight: 600; margin-top: 2px; }
.split-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--bg-alt); margin: 10px 0 8px; }
.split-bar i { display: block; height: 100%; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-muted); }
.legend b { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.tool-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.tool-table th, .tool-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.tool-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); background: var(--bg-alt); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }
.bar-list .bar-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 14px; }
.bar-list .bar { height: 12px; background: var(--bg-alt); border-radius: 6px; overflow: hidden; }
.bar-list .bar i { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.seo-article { max-width: 780px; }
.seo-article h2 { font-size: 26px; margin: 36px 0 10px; }
.seo-article h3 { font-size: 19px; margin: 24px 0 8px; }
.seo-article p, .seo-article li { line-height: 1.7; }
.seo-article ul, .seo-article ol { padding-left: 22px; }
.related-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.toggle-group { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.toggle-group button { border: 0; background: #fff; padding: 8px 14px; font: inherit; font-size: 13.5px; cursor: pointer; }
.toggle-group button.on { background: var(--accent); color: var(--bg); }
@media (max-width: 960px) { .tool-tiles { grid-template-columns: repeat(2, 1fr); } .tool-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tool-tiles { grid-template-columns: 1fr; gap: 12px; } .bar-list .bar-row { grid-template-columns: 90px 1fr auto; } .result-hero .big { font-size: 28px; } }

/* ---------- Popular Locations ---------- */
.loc-controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.loc-controls input[type=search] { flex: 1 1 240px; max-width: 360px; padding: 9px 14px; border: 1px solid var(--border); border-radius: 8px; font: inherit; background: #fff; }
.loc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.loc-col h3 { font-family: inherit; font-size: 16px; font-weight: 600; margin: 0 0 10px; }
.loc-col h3 small { font-weight: 400; font-size: 12px; color: var(--text-muted); margin-left: 6px; }
.loc-col a { display: block; font-size: 13.5px; color: var(--text); padding: 5px 0; border-bottom: 1px dashed var(--border); line-height: 1.35; }
.loc-col a:hover { color: var(--accent); }
.loc-col a b { font-weight: 500; color: var(--text-muted); }
.loc-col a.loc-all { color: var(--accent); font-weight: 600; }
.loc-col a.loc-empty { color: var(--text-muted); }
.loc-more { margin-top: 10px; background: none; border: 0; color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; }
.loc-sub { font-family: inherit; font-size: 18px; margin: 34px 0 14px; }
.pill.pill-on { background: var(--accent); color: var(--bg); border-color: var(--accent); }
button.pill { font: inherit; cursor: pointer; }
@media (max-width: 960px) { .loc-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .loc-cols { grid-template-columns: 1fr; gap: 22px; } .loc-controls .toggle-group { flex: 1 1 100%; } .loc-controls .toggle-group button { flex: 1; } }

.tool-ic { background: var(--accent-soft); color: var(--accent); }

.loc-cols.loc-cols-4 { grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
.loc-link { display: block; font-size: 13.5px; color: var(--text); padding: 6px 0; border-bottom: 1px dashed var(--border); line-height: 1.35; }
.loc-link:hover { color: var(--accent); }
.loc-link b { font-weight: 500; color: var(--text-muted); }
.loc-link.loc-empty { color: var(--text-muted); }
@media (max-width: 960px) { .loc-cols.loc-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .loc-cols.loc-cols-4 { grid-template-columns: 1fr; } }
.serp { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; max-width: 620px; font-family: Arial, sans-serif; }
.serp .u { font-size: 13px; color: #202124; margin-bottom: 4px; word-break: break-all; }
.serp .t { font-size: 20px; color: #1a0dab; line-height: 1.3; margin-bottom: 4px; }
.serp .d { font-size: 14px; color: #4d5156; line-height: 1.57; }

.toggle-group a { display: inline-block; padding: 8px 14px; font-size: 13.5px; color: var(--text); background: #fff; }
.toggle-group a.on { background: var(--accent); color: var(--bg); }
.toggle-group a:hover:not(.on) { color: var(--accent); }

/* ---------- Stars (real ratings only) ---------- */
.stars { --pct: 0%; display: inline-block; font-size: 16px; letter-spacing: 1px; line-height: 1;
  background: linear-gradient(90deg, #f5a623 var(--pct), #d8d2c6 var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.card-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); margin: -6px 0 10px; }
.star-input { display: inline-flex; gap: 4px; }
.star-input button { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: #d8d2c6; padding: 0; }
.star-input button.on { color: #f5a623; }
.review-item { border-top: 1px solid var(--border); padding: 14px 0; }
.review-item .who { font-weight: 600; font-size: 14px; }
.review-item .when { font-size: 12px; color: var(--text-muted); margin-left: 8px; font-weight: 400; }

/* ---------- Listing card: mobile/tablet horizontal layout ---------- */
.listing-card { position: relative; }
.card-stretch { position: absolute; inset: 0; z-index: 1; }
.card-fav-btn, .card-cta a, .card-agency { position: relative; }
.listing-card .card-fav-btn { z-index: 3; }
.listing-card .card-meta, .listing-card .card-price-m, .listing-card .card-typeline, .listing-card .card-cta, .listing-card .card-photos, .listing-card .card-fav-m { display: none; }
@media (max-width: 960px) {
  .grid:has(.listing-card) { grid-template-columns: 1fr; gap: 14px; }
  .listing-card { display: grid; grid-template-columns: minmax(130px, 40%) 1fr; border-radius: 10px; }
  .listing-card .card-media { aspect-ratio: auto; min-height: 100%; margin: 10px 0 10px 10px; border-radius: 8px; padding: 8px; }
  .listing-card .card-media .badge-sale, .listing-card .card-media .badge-rent { display: none; }
  .listing-card .card-media .badge.badge-hot, .listing-card .card-media .badge.badge-feat { left: 8px; right: auto; top: 8px; font-size: 11px; padding: 4px 9px; border-radius: 6px; }
  .listing-card .card-media .badge.badge-hot { background: #d5342e; color: #fff; }
  .listing-card .card-media .badge.badge-feat { background: #f5c542; color: #4a3a05; }
  .listing-card .price-tag, .listing-card .card-fav-d, .listing-card .card-body > h3 { display: none; }
  .listing-card .card-photos { display: inline-flex; align-items: center; gap: 5px; background: rgba(20,16,10,.78); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; }
  .listing-card .card-photos svg { width: 14px; height: 14px; }
  .listing-card .card-body { padding: 12px 12px 12px 14px; min-width: 0; }
  .listing-card .card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
  .listing-card .card-agency { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; font-size: 11px; padding: 3px 7px; border-radius: 6px; max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .listing-card .verified-ic { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }
  .listing-card .card-price-m { display: block; font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; line-height: 1.2; margin-bottom: 2px; }
  .listing-card .card-loc { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .listing-card .card-typeline { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
  .listing-card .card-specs { border-top: 0; padding-top: 0; margin-bottom: 10px; justify-content: space-between; align-items: center; color: var(--text); font-size: 14px; }
  .listing-card .card-fav-m { display: flex; position: static; background: none; width: 30px; height: 30px; color: var(--text-muted); }
  .listing-card .card-fav-m.active { color: #d5342e; }
  .listing-card .card-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; }
  .listing-card .card-cta a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 8px; font-weight: 600; font-size: 14px; z-index: 2; }
  .cta-chat { border: 1.5px solid var(--accent); color: var(--accent); background: transparent; }
  .cta-call { background: var(--accent); color: var(--bg); }
  .cta-wa { background: #1faa59; color: #fff; }
  .cta-wa .btn-icon, .cta-call .btn-icon { width: 17px; height: 17px; }
}
@media (max-width: 420px) {
  .listing-card { grid-template-columns: 38% 1fr; }
  .listing-card .card-price-m { font-size: 19px; }
  .listing-card .card-cta a { padding: 0 10px; }
}

@media (max-width: 960px) {
  .listing-card .card-time { white-space: nowrap; flex-shrink: 0; }
  .listing-card .card-agency { flex: 0 1 auto; min-width: 0; max-width: none; }
  .listing-card .card-agency .ag-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .listing-card .card-specs { font-size: 13px; gap: 6px; }
}

/* compact mobile/tablet listing card */
@media (max-width: 960px) {
  .grid:has(.listing-card) { gap: 10px; }
  .listing-card .card-media { margin: 8px 0 8px 8px; }
  .listing-card .card-body { padding: 9px 10px 9px 12px; }
  .listing-card .card-meta { margin-bottom: 1px; font-size: 11.5px; }
  .listing-card .card-price-m { font-size: 19px; margin-bottom: 0; }
  .listing-card .card-loc { font-size: 14px; margin-bottom: 0; }
  .listing-card .card-typeline { font-size: 12.5px; margin-bottom: 3px; }
  .listing-card .card-rating { margin: 0 0 3px; }
  .listing-card .card-specs { margin-bottom: 7px; font-size: 12.5px; flex-wrap: nowrap; }
  .listing-card .card-specs > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .listing-card .card-fav-m { width: 24px; height: 24px; flex-shrink: 0; }
  .listing-card .card-cta { gap: 6px; }
  .listing-card .card-cta a { height: 34px; font-size: 13.5px; border-radius: 7px; }
}

.listing-card .spec-type { display: none; }
@media (max-width: 960px) {
  .listing-card .card-typeline { display: none; }
  .listing-card .spec-type { display: inline; font-weight: 600; }
  .listing-card .card-media { min-height: 0; }
}

@media (max-width: 960px) {
  .listing-card { grid-template-columns: minmax(112px, 34%) 1fr; }
  .listing-card .card-specs { font-size: 12px; }
}

.listing-card .pm-type { display: none; }
@media (max-width: 960px) {
  .listing-card .card-price-m { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
  .listing-card .card-price-m > span { white-space: nowrap; }
  .listing-card .pm-type { display: block; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 6px; border-radius: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
}

@media (max-width: 960px) {
  .listing-card .card-price-m { font-size: 18px; }
  .listing-card .pm-type { padding: 0; background: none; font-size: 11px; font-weight: 600; color: var(--text-muted); }
}

/* ---------- Footer quick links / auto links / breadcrumbs ---------- */
.footer-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; padding: 28px 0; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer .fq-col h4 { margin: 0 0 10px; font-size: 14px; }
.site-footer .fq-col a { display: block; font-size: 13px; padding: 3px 0; opacity: .85; }
.site-footer .fq-col a:hover { opacity: 1; text-decoration: underline; }
a.auto-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.crumbs-visible { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs-visible a { color: var(--text-muted); }
.crumbs-visible a:hover { color: var(--accent); }
.crumbs-visible span.sep { margin: 0 7px; }
.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.pager a, .pager b { padding: 7px 13px; border-radius: 8px; border: 1px solid var(--border); font-size: 14px; background: #fff; }
.pager b { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.guide-box { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px; margin-bottom: 28px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 16px 0; }
.guide-grid .stat .val { font-size: 14px; font-weight: 500; line-height: 1.5; }
.guide-map { width: 100%; height: 280px; border: 0; border-radius: 10px; margin-top: 10px; }

.silo-h { font-size: 20px; margin: 30px 0 14px; }
.silo-h:first-child { margin-top: 0; }

.card-media .card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.card-media .price-tag, .card-media .card-photos { position: relative; z-index: 1; }
.card-media .badge, .card-media .card-fav-btn { z-index: 2; }
