/* =====================================================
   SherikTop — Modern UI (purple brand)
   Performance-aware, mobile-first, all device sizes.
   - Fluid typography (clamp)
   - backdrop-filter only when supported & user opts in
   - Reduced motion / transparency respected
   - Touch-friendly tap targets
   ===================================================== */

:root {
  /* Brand palette (from logo) */
  --brand-900: #2A1340;
  --brand-800: #3B1E5E;
  --brand-700: #4A2575;
  --brand-600: #5B2E8A;
  --brand-500: #7448B0;
  --brand-400: #8B5FBF;
  --brand-300: #B79BD9;
  --brand-200: #D9C7EC;
  --brand-100: #EDE3F7;
  --brand-50:  #F7F1FC;

  --cream-100: #FBF8F5;
  --cream-200: #F5F1EC;
  --cream-300: #EFE6DC;

  --accent-gold: #E0A933;
  --success: #1FA971;
  --danger:  #DC4D6B;
  --info:    #5B7FE5;

  --bg: var(--cream-200);
  --surface:        rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-soft:   rgba(255, 255, 255, 0.78);

  --text:      #1F1230;
  --text-soft: #4A3B5C;
  --muted:     #7C6E8C;
  --line:        rgba(91, 46, 138, 0.12);
  --line-strong: rgba(91, 46, 138, 0.22);

  --button-text: #ffffff;
  --primary-grad:       linear-gradient(135deg, #5B2E8A 0%, #8B5FBF 100%);
  --primary-grad-hover: linear-gradient(135deg, #4A2575 0%, #7448B0 100%);
  --gold-grad:          linear-gradient(135deg, #E0A933 0%, #F4C66F 100%);

  --shadow-sm: 0 4px 12px rgba(59, 30, 94, 0.08);
  --shadow:    0 12px 30px rgba(59, 30, 94, 0.12);
  --shadow-lg: 0 24px 60px rgba(59, 30, 94, 0.18);

  --radius-sm:   12px;
  --radius:      18px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  /* Fluid sizes — scale smoothly from 320px to 1024px */
  --fs-xs:  clamp(11px, 2.6vw, 12px);
  --fs-sm:  clamp(12px, 3.0vw, 13px);
  --fs-md:  clamp(13px, 3.4vw, 14px);
  --fs-base:clamp(14px, 3.6vw, 15px);
  --fs-lg:  clamp(15px, 4.0vw, 17px);
  --fs-xl:  clamp(18px, 5.0vw, 22px);
  --fs-2xl: clamp(22px, 6.4vw, 28px);

  --pad-content: clamp(12px, 4vw, 22px);
  --gap-md:      clamp(10px, 3vw, 16px);

  --tg-button:      var(--brand-600);
  --tg-button-text: #ffffff;
  --tg-top-inset: 0px;
  --tg-bottom-inset: 0px;
  --app-header-height: 0px;
  --bottom-nav-height: 86px;
  --filter-sheet-bottom-gap: 8px;

  --app-bg-start: #3b0f68;
  --app-bg-end: #1f0638;
  --app-accent-glow: rgba(139, 92, 246, 0.35);
}

/* ===== Detail page compact below-image layout v65 ===== */
body.detail-page .detail-content {
  padding-left: 12px !important;
  padding-right: 12px !important;
  padding-bottom: calc(104px + max(env(safe-area-inset-bottom, 0px), var(--tg-bottom-inset, 0px))) !important;
}

body.detail-page .detail-body > h2 {
  margin: 12px 0 8px !important;
  font-size: clamp(22px, 5.2vw, 27px) !important;
  line-height: 1.04 !important;
}

body.detail-page .detail-grid {
  gap: 7px !important;
  padding: 8px !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(37, 16, 68, 0.07) !important;
}

body.detail-page .detail-info-card {
  min-height: 54px !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding: 8px 9px !important;
  border-radius: 14px !important;
}

body.detail-page .detail-info-card > span {
  width: 30px !important;
  height: 30px !important;
  border-radius: 11px !important;
}

body.detail-page .detail-info-card .icon {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 2.15 !important;
}

body.detail-page .detail-info-card small {
  font-size: 10px !important;
  line-height: 1.05 !important;
  letter-spacing: 0.075em !important;
}

body.detail-page .detail-info-card strong {
  margin-top: 2px !important;
  font-size: clamp(13px, 3.35vw, 15px) !important;
  line-height: 1.1 !important;
  -webkit-line-clamp: 2 !important;
}

body.detail-page .detail-amenities {
  margin-top: 8px !important;
  padding: 11px 12px !important;
  border-radius: 18px !important;
}

body.detail-page .detail-amenities h3 {
  margin-bottom: 6px !important;
  font-size: clamp(17px, 4.2vw, 20px) !important;
  line-height: 1.1 !important;
}

body.detail-page .detail-amenities-row {
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 9px !important;
  align-items: center !important;
}

body.detail-page .detail-amenities-row > span {
  width: 38px !important;
  height: 38px !important;
  border-radius: 13px !important;
}

body.detail-page .detail-amenities-row .icon {
  width: 22px !important;
  height: 22px !important;
}

body.detail-page .detail-amenities p {
  font-size: clamp(12.5px, 3.35vw, 14px) !important;
  line-height: 1.32 !important;
  -webkit-line-clamp: 3 !important;
}

body.detail-page .locked-phone {
  margin-top: 8px !important;
  padding: 13px 14px !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(61, 22, 102, 0.20) !important;
}

body.detail-page .locked-phone::after {
  right: 16px !important;
  bottom: 12px !important;
  font-size: clamp(50px, 15vw, 76px) !important;
  opacity: 0.28 !important;
}

body.detail-page .locked-phone-copy {
  max-width: 76% !important;
}

body.detail-page .locked-phone strong {
  font-size: clamp(17px, 4.2vw, 21px) !important;
  line-height: 1.1 !important;
}

body.detail-page .locked-phone p {
  margin: 4px 0 9px !important;
  font-size: clamp(12px, 3.1vw, 13.5px) !important;
  line-height: 1.28 !important;
}

body.detail-page .locked-phone .call-btn {
  min-height: 42px !important;
  width: min(76%, 420px) !important;
  padding: 0 14px !important;
  font-size: clamp(14px, 3.7vw, 17px) !important;
}

body.detail-page .locked-phone .call-btn .icon {
  width: 19px !important;
  height: 19px !important;
}

body.detail-page .related-searches {
  margin-top: 10px !important;
}

body.detail-page .related-searches h3 {
  margin-bottom: 7px !important;
  font-size: clamp(15px, 3.8vw, 18px) !important;
}

body.detail-page .related-chip-row {
  gap: 7px !important;
}

body.detail-page .related-chip-row a {
  padding: 7px 13px !important;
  font-size: 12.5px !important;
}

@media (max-width: 430px) {
  body.detail-page .detail-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.detail-page .detail-grid {
    gap: 6px !important;
    padding: 7px !important;
  }

  body.detail-page .detail-info-card {
    min-height: 50px !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 7px 8px !important;
  }

  body.detail-page .detail-info-card > span {
    width: 28px !important;
    height: 28px !important;
  }

  body.detail-page .detail-info-card .icon {
    width: 18px !important;
    height: 18px !important;
  }

  body.detail-page .detail-info-card small {
    font-size: 9.5px !important;
  }

  body.detail-page .detail-info-card strong {
    font-size: 13px !important;
  }

  body.detail-page .detail-amenities {
    padding: 10px !important;
  }

  body.detail-page .locked-phone {
    padding: 12px !important;
  }
}

/* -------- Reset -------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb  { background: var(--brand-200); border-radius: 999px; }
*::-webkit-scrollbar-track  { background: transparent; }

html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(ellipse at 0% 0%,   rgba(139, 95, 191, 0.18), transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(224, 169, 51, 0.08), transparent 50%),
    radial-gradient(ellipse at 50% 100%,rgba(91, 46, 138, 0.10), transparent 60%),
    linear-gradient(180deg, #FBF8F5 0%, #F1E9F7 100%);
  overflow-x: hidden;
}

button, input, select, textarea { font: inherit; color: inherit; }
a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* =====================================================
   Background image overlay (admin-uploaded bg)
   ===================================================== */
body.has-bg-image {
  background-attachment: scroll; /* iOS Safari fixed-bg flicker fix */
}
body.has-bg-image::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(42, 19, 64, 0.55) 0%,
      rgba(42, 19, 64, 0.35) 45%,
      rgba(42, 19, 64, 0.65) 100%);
  pointer-events: none;
}

/* =====================================================
   Layout shell
   ===================================================== */
.app-shell {
  width: 100%;
  max-width: 980px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: env(safe-area-inset-bottom);
}

/* =====================================================
   Header
   ===================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px var(--pad-content) 10px;
  padding-top: max(11px, env(safe-area-inset-top));
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(59, 30, 94, 0.06);
}
html.is-tg-fullscreen .app-header {
  position: relative;
  top: auto;
  padding-top: calc(var(--tg-top-inset, 92px) + 10px);
  padding-bottom: 14px;
}
html.is-tg-fullscreen body.home-page .app-header {
  padding-top: max(72px, calc(env(safe-area-inset-top) + 42px));
  padding-bottom: 12px;
}
html.is-telegram-webapp body.home-page .app-header {
  padding-top: calc(max(env(safe-area-inset-top), var(--tg-top-inset, 0px)) + 8px);
}
html.is-tg-fullscreen .content {
  padding-top: 12px;
}
html.is-tg-fullscreen body.home-page .content {
  padding-top: 10px;
}
html.is-tg-fullscreen .brand-logo {
  font-size: clamp(23px, 6.2vw, 30px);
}
html.is-tg-fullscreen .app-header p {
  margin-top: 2px;
}
.app-header > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.app-header.compact {
  grid-template-columns: 44px 1fr 44px;
}
.app-header h1 {
  margin: 0;
  font-size: var(--fs-xl);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand-700);
}
.app-header p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: var(--brand-700);
  font-size: clamp(24px, 6.8vw, 32px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.header-action {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--primary-grad);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.header-action svg { stroke: currentColor; }

/* =====================================================
   Content
   ===================================================== */
.content { padding: var(--pad-content); }
.with-bottom-nav {
  padding-bottom: calc(100px + max(env(safe-area-inset-bottom), var(--tg-bottom-inset, 0px)));
}

.icon, svg {
  width: 19px; height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =====================================================
   Surfaces (cards) — solid by default for performance
   ===================================================== */
.search-card,
.hero-card,
.intro-card,
.state,
.detail-card,
.subscribe-hero,
.plan,
.mini-card,
.card,
.quick-grid a,
.filter-sheet,
.bottom-nav {
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* =====================================================
   Search
   ===================================================== */
.search-card {
  position: sticky;
  top: 8px;
  z-index: 25;
  padding: 12px;
  margin-bottom: 14px;
  transition: transform .28s ease, opacity .28s ease;
  will-change: transform;
}
.search-card.is-hidden {
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
}
.search-row {
  display: grid;
  grid-template-columns: 1fr 42px 42px;
  gap: 8px;
  align-items: center;
  min-height: 50px;
  padding: 0 6px 0 14px;
  border: 1.5px solid rgba(31, 18, 48, 0.18);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.search-row:focus-within {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(139, 95, 191, 0.15);
}
body.search-active .search-row,
.search-card:has(.filter-summary:not([hidden])) .search-row {
  border-color: var(--brand-500);
  box-shadow: 0 8px 22px rgba(91, 46, 138, 0.18), 0 0 0 4px rgba(139, 95, 191, 0.14);
}
.search-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: var(--fs-base);
  font-weight: 500;
}
.search-row input::placeholder { color: #6b5d7a; opacity: 1; }
.search-row button,
.sheet-header button,
.carousel-btn { border: 0; cursor: pointer; }
.search-row button {
  display: inline-flex;
  height: 40px; width: 40px;
  align-items: center; justify-content: center;
  border-radius: 13px;
  background: var(--primary-grad);
  color: var(--button-text);
}
.search-row button svg {
  width: 21px;
  height: 21px;
}
.filter-summary {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 10px 2px 0;
  min-width: 0;
}
.chip-scroll {
  display: flex;
  flex: 1 1 auto;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.chip-scroll::-webkit-scrollbar { display: none; }
.filter-chip {
  flex: 0 0 auto;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid rgba(91, 46, 138, 0.14);
  font-size: 12px;
  font-weight: 800;
}
.chip-clear {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(91, 46, 138, 0.10);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.btn-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.search-row button.is-loading {
  cursor: wait;
  opacity: .92;
}
@keyframes spin { to { transform: rotate(360deg); } }
}

/* =====================================================
   Hero
   ===================================================== */
.hero-card {
  padding: clamp(16px, 4vw, 22px);
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-50) 100%);
}
.hero-card h2,
.section-heading h2,
.detail-body h2,
.subscribe-hero h2,
.state h2 {
  margin: 0;
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--brand-900);
}
.hero-card p,
.section-heading p,
.subscribe-hero p,
.state p {
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.5;
}
.hero-actions, .filter-actions, .sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

/* =====================================================
   Buttons
   ===================================================== */
.primary-link, .primary-btn, .secondary-btn,
.ghost-btn, .plain-btn, .call-btn, .secondary-link {
  display: inline-flex;
  min-height: 48px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: var(--fs-base);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s;
  -webkit-user-select: none;
  user-select: none;
}
.primary-link, .primary-btn, .call-btn {
  background: var(--primary-grad);
  color: var(--button-text);
  box-shadow: var(--shadow-sm);
}
.secondary-btn, .secondary-link {
  background: var(--brand-100);
  color: var(--brand-700);
}
.ghost-btn {
  background: transparent;
  color: var(--brand-600);
  border: 1.5px solid var(--line-strong);
}
.plain-btn {
  background: var(--cream-300);
  color: var(--text-soft);
}
.wide { width: 100%; }

/* =====================================================
   Quick grid
   ===================================================== */
.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.quick-grid a {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 800;
  font-size: var(--fs-md);
}
.quick-grid span {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--brand-100);
  color: var(--brand-600);
}

/* =====================================================
   Section
   ===================================================== */
.section-heading {
  margin: 18px 4px 14px;
  transition: transform .22s ease, opacity .22s ease;
}
body.search-active .section-heading {
  transform: translateY(-1px);
}
.intro-card {
  margin: 0 4px 14px;
  padding: 14px 16px;
}
.intro-card[hidden] {
  display: none;
}
.intro-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* =====================================================
   Popular internal links
   ===================================================== */
.popular-links {
  margin: 0 0 18px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(91, 46, 138, 0.13);
  box-shadow: var(--shadow-sm);
}
.popular-links-head h2 {
  margin: 0;
  color: var(--brand-900);
  font-size: var(--fs-lg);
  font-weight: 900;
}
.popular-links-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.popular-link-groups {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.popular-link-group {
  min-width: 0;
}
.popular-link-group h3 {
  margin: 0 0 8px;
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.popular-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 2px 4px;
  scrollbar-width: none;
}
.popular-chip-row::-webkit-scrollbar { display: none; }
.popular-chip-row a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(91, 46, 138, 0.10), rgba(139, 95, 191, 0.14));
  color: var(--brand-800);
  border: 1px solid rgba(91, 46, 138, 0.18);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(91, 46, 138, 0.06);
}

/* =====================================================
   Card grid (listings)
   ===================================================== */
.cards {
  display: grid;
  gap: var(--gap-md);
  grid-auto-rows: 1fr;
  transition: opacity .18s ease, transform .18s ease;
}
.cards.is-refreshing {
  opacity: .45;
  transform: translateY(6px);
}
.cards.is-updated .card {
  animation: card-in .46s ease both;
}
.cards.is-updated .card:nth-child(2) { animation-delay: .04s; }
.cards.is-updated .card:nth-child(3) { animation-delay: .08s; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.image-wrap {
  position: relative;
  height: clamp(170px, 50vw, 220px);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-100), var(--cream-200));
}
.detail-image { height: clamp(220px, 60vw, 320px); }

.slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .25s ease;
}
.slide.is-active { opacity: 1; }

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 36px; height: 44px;
  transform: translateY(-50%);
  border-radius: var(--radius-pill);
  background: rgba(42, 19, 64, 0.55);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  transition: background .2s;
}
.carousel-btn:hover { background: rgba(42, 19, 64, 0.78); }
.carousel-btn.left  { left: 10px; }
.carousel-btn.right { right: 10px; }

.tag {
  position: absolute;
  top: 12px;
  z-index: 4;
  min-width: 0;
  max-width: 58%;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.tag.audience { background: linear-gradient(135deg, #5B2E8A, #8B5FBF); }
.tag.audience.audience-all   { background: linear-gradient(135deg, #5B2E8A, #8B5FBF); }
.tag.audience.audience-girls { background: linear-gradient(135deg, #A04AC8, #C77DDB); }
.tag.audience.audience-boys  { background: linear-gradient(135deg, #3D1A6B, #6B3FA0); }
.tag.property { background: linear-gradient(135deg, #1FA971, #2BC489); }
.tag.listing-badge {
  right: 12px;
  max-width: calc(100% - 24px);
}

.dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  transition: width .2s, background .2s;
}
.dot.is-active { width: 22px; background: #fff; }

.card-body, .detail-body { padding: clamp(14px, 3.5vw, 18px); }
.card .card-body { display: flex; flex-direction: column; flex: 1 1 auto; }
.card .card-body .meta-row { margin-top: auto; }
.card .info-grid { min-height: 76px; align-content: start; }
.card .description { min-height: 44px; }

.detail-body h2 {
  margin: 0 0 4px;
  color: var(--brand-900);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: -0.01em;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.info-grid span,
.district {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.info-grid span svg,
.district svg { color: var(--brand-500); }

.description {
  display: -webkit-box;
  min-height: 44px;
  margin: 12px 0;
  overflow: hidden;
  color: var(--text-soft);
  font-size: var(--fs-md);
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.date {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* =====================================================
   States
   ===================================================== */
.state {
  padding: clamp(20px, 5vw, 32px);
  color: var(--muted);
  text-align: center;
}
.state .primary-btn {
  margin-top: 14px;
  min-height: 42px;
}

.related-searches {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(91, 46, 138, 0.12);
}
.related-searches h3 {
  margin: 0 0 10px;
  color: var(--brand-900);
  font-size: var(--fs-md);
  font-weight: 900;
}
.related-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}
.related-chip-row::-webkit-scrollbar { display: none; }
.related-chip-row a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(91, 46, 138, 0.09);
  color: var(--brand-800);
  border: 1px solid rgba(91, 46, 138, 0.17);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.load-more {
  width: 100%;
  margin: 18px 0 30px;
  background: var(--surface-strong);
  color: var(--brand-700);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

/* =====================================================
   Filter sheet
   ===================================================== */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 8, 38, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .2s ease;
}
.filter-sheet {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-height, 86px) + var(--filter-sheet-bottom-gap, 8px));
  z-index: 70;
  width: min(100%, 720px);
  max-height: calc(100vh - var(--bottom-nav-height, 86px) - var(--filter-sheet-bottom-gap, 8px) - 16px);
  max-height: calc(100dvh - var(--bottom-nav-height, 86px) - var(--filter-sheet-bottom-gap, 8px) - 16px);
  overflow-y: auto;
  padding: 18px;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -20px 60px rgba(20, 8, 38, 0.3);
  transform: translate(-50%, 105%);
  transition: transform .25s cubic-bezier(.2, .7, .3, 1);
  -webkit-overflow-scrolling: touch;
}
.sheet-open .sheet-backdrop { opacity: 1; }
.sheet-open .filter-sheet { transform: translate(-50%, 0); }

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sheet-header strong {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--brand-900);
}
.sheet-header span {
  color: var(--muted);
  font-size: var(--fs-sm);
}
.sheet-header button {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-700);
}

.filter-sheet form { display: grid; gap: 12px; }
.filter-sheet label {
  display: grid;
  gap: 6px;
  color: var(--text-soft);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.filter-sheet input,
.filter-sheet select {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--text);
  font-size: var(--fs-md);
  font-weight: 600;
  transition: border-color .2s, box-shadow .2s;
}
.filter-sheet input::placeholder { color: #8a7a9c; opacity: 1; }
.filter-sheet input:focus,
.filter-sheet select:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(139, 95, 191, 0.15);
}
.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--brand-50);
}
.check-row input { width: 18px; height: 18px; accent-color: var(--brand-600); }
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* =====================================================
   Detail page
   ===================================================== */
.detail-content {
  max-width: 760px;
  margin: 0 auto;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.detail-grid div {
  padding: 14px;
  border-radius: 16px;
  background: var(--brand-50);
  border: 1px solid var(--line);
}
.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.detail-grid strong {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--brand-900);
}
.amenities, .locked-phone, .subscribe-hero {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--brand-50);
  border: 1px solid var(--line);
}
.amenities h3,
.locked-phone strong {
  display: block;
  margin: 0 0 8px;
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--brand-900);
}
.amenities p,
.locked-phone p {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: var(--fs-md);
  line-height: 1.5;
}
.locked-phone .call-btn { width: 100%; }

/* =====================================================
   Plans (subscribe)
   ===================================================== */
.plans { display: grid; gap: 14px; }
.plan {
  position: relative;
  padding: clamp(16px, 4vw, 22px);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.plan.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface-strong), var(--surface-strong)) padding-box,
    var(--primary-grad) border-box;
}
.plan h3 {
  margin: 0;
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--brand-900);
}
.plan strong {
  display: block;
  margin-top: 10px;
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--brand-700);
  letter-spacing: -0.02em;
}
.badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--gold-grad);
  color: #2A1340;
  font-size: var(--fs-xs);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(224, 169, 51, 0.35);
}

/* =====================================================
   Mini card (my listings)
   ===================================================== */
.mini-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px;
}
.mini-card img {
  width: 92px; height: 82px;
  object-fit: cover;
  border-radius: 14px;
}
.mini-card span {
  display: block;
  margin: 5px 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.mini-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mini-actions a,
.mini-actions button {
  padding: 7px 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: var(--fs-xs);
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

.profile-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.profile-hero {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(222, 82, 139, 0.22);
  box-shadow: 0 8px 24px rgba(42, 19, 64, 0.10);
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(42, 19, 64, 0.14);
}
.profile-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5B2E8A, #A04AC8);
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}
.profile-identity-text {
  min-width: 0;
}
.profile-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 900;
}
.profile-hero h2 {
  margin: 0;
  overflow: hidden;
  color: #9b124d;
  font-size: 22px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-hero p {
  margin: 6px 0 0;
  overflow: hidden;
  color: #7f6f82;
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-action-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.profile-action {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--brand-900);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(42, 19, 64, 0.08);
}
.profile-action .icon {
  width: 22px;
  height: 22px;
  justify-self: center;
  color: var(--brand-600);
}
.profile-action span {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-action strong {
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 900;
}
.profile-saved {
  margin-top: 12px;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(42, 19, 64, 0.10);
}
.profile-saved h3 {
  margin: 0 0 10px;
  color: var(--brand-900);
  font-size: 16px;
  font-weight: 900;
}
.profile-saved-list {
  color: var(--text-soft);
  font-size: 13px;
}
.profile-saved-card {
  margin-top: 10px;
  border: 1px solid rgba(91, 46, 138, 0.10);
  box-shadow: none;
}
.profile-saved-card:first-child {
  margin-top: 0;
}

.saved-only-hidden {
  display: none !important;
}

body.saved-profile-page .content {
  padding-top: calc(14px + max(env(safe-area-inset-top, 0px), var(--tg-top-inset, 0px)));
}

html.is-tg-fullscreen body.saved-profile-page .content,
html.is-telegram-webapp body.saved-profile-page .content {
  padding-top: calc(14px + max(env(safe-area-inset-top, 0px), var(--tg-top-inset, 0px)));
  padding-bottom: calc(124px + max(env(safe-area-inset-bottom, 0px), var(--tg-bottom-inset, 0px)));
}

body.saved-profile-page .profile-card {
  padding-top: 0;
}

body.saved-profile-page .profile-saved {
  margin-top: 0;
}

/* =====================================================
   Bottom nav
   ===================================================== */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  display: grid;
  width: min(100%, 980px);
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--line);
  border-radius: 0;
  transform: translateX(-50%);
}
.bottom-nav a,
.bottom-nav button {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 6px 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.bottom-nav .is-active {
  color: var(--brand-700);
  background: var(--brand-100);
}
.bottom-nav .is-active span { color: var(--brand-600); }

/* =====================================================
   Utility
   ===================================================== */
.price-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--primary-grad);
  color: #fff;
  font-size: var(--fs-md);
  font-weight: 800;
}

/* =====================================================
   Responsive
   ===================================================== */
/* Very small phones (<360px) — extra compact */
@media (max-width: 359px) {
  .hero-actions, .filter-actions, .sheet-actions { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .two-cols { grid-template-columns: 1fr; }
  .bottom-nav { padding: 8px 4px calc(8px + env(safe-area-inset-bottom)); }
  .bottom-nav a, .bottom-nav button { padding: 4px 2px; font-size: 10px; }
}

/* Tablet & up */
@media (min-width: 720px) {
  .image-wrap { height: 240px; }
  .cards      { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-sheet form { grid-template-columns: repeat(2, 1fr); }
  .sheet-header,
  .sheet-actions,
  .check-row { grid-column: 1 / -1; }
}

/* Large desktop */
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =====================================================
   PROGRESSIVE ENHANCEMENT — capable devices only
   ===================================================== */

/* Hover effects only for true mouse pointers (skip touch) */
@media (hover: hover) and (pointer: fine) {
  .header-action:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
  .primary-link:hover, .primary-btn:hover, .call-btn:hover {
    background: var(--primary-grad-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
  }
  .secondary-btn:hover, .secondary-link:hover { background: var(--brand-200); }
  .ghost-btn:hover { background: var(--brand-50); }
  .plain-btn:hover { background: var(--cream-200); }
  .quick-grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
  .plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
  .popular-chip-row a:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
  .load-more:hover { background: var(--brand-50); }
  .mini-actions a:hover { background: var(--brand-200); }
  .bottom-nav a:hover, .bottom-nav button:hover { color: var(--brand-600); background: var(--brand-50); }
}

/* Backdrop-filter only when supported AND user OK with transparency */
@media (prefers-reduced-transparency: no-preference) {
  @supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
    .bottom-nav {
      background: rgba(255, 255, 255, 0.85);
      -webkit-backdrop-filter: blur(16px) saturate(140%);
      backdrop-filter: blur(16px) saturate(140%);
    }
    body.has-bg-image .search-card,
    body.has-bg-image .hero-card,
    body.has-bg-image .intro-card,
    body.has-bg-image .state,
    body.has-bg-image .detail-card,
    body.has-bg-image .subscribe-hero,
    body.has-bg-image .plan,
    body.has-bg-image .mini-card,
    body.has-bg-image .card,
    body.has-bg-image .quick-grid a,
    body.has-bg-image .filter-sheet,
    body.has-bg-image .bottom-nav {
      background: rgba(255, 255, 255, 0.96);
      -webkit-backdrop-filter: blur(20px) saturate(160%);
      backdrop-filter: blur(20px) saturate(160%);
      border-color: rgba(255, 255, 255, 0.7);
    }
  }
}

/* When backdrop-filter NOT supported and bg-image is active → use solid white surfaces for max readability */
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  body.has-bg-image .search-card,
  body.has-bg-image .hero-card,
  body.has-bg-image .intro-card,
  body.has-bg-image .state,
  body.has-bg-image .detail-card,
  body.has-bg-image .subscribe-hero,
  body.has-bg-image .plan,
  body.has-bg-image .mini-card,
  body.has-bg-image .card,
  body.has-bg-image .quick-grid a,
  body.has-bg-image .filter-sheet,
  body.has-bg-image .bottom-nav {
    background: #ffffff;
    border-color: var(--line);
  }
  body.has-bg-image .app-header {
    background: rgba(42, 19, 64, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.18);
  }
}

/* Header on bg-image: solid purple gradient (no glass — was unreadable) */
body.has-bg-image .app-header {
  background: linear-gradient(135deg, #2A1340 0%, #5B2E8A 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
body.has-bg-image .app-header h1 {
  color: #ffffff;
  text-shadow: none;
}
body.has-bg-image .brand-logo { color: #ffffff; }
body.has-bg-image .app-header p { color: rgba(255, 255, 255, 0.85); }
body.has-bg-image .header-action { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* Section headings ("Yangi e'lonlar" etc) sit directly on bg-image — give them a readable pill */
body.has-bg-image .section-heading {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(42, 19, 64, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
body.has-bg-image .section-heading h2 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
body.has-bg-image .section-heading p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
@media (prefers-reduced-transparency: no-preference) {
  @supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
    body.has-bg-image .section-heading {
      background: rgba(42, 19, 64, 0.38);
      -webkit-backdrop-filter: blur(14px) saturate(140%);
      backdrop-filter: blur(14px) saturate(140%);
    }
  }
}

/* Make all card surfaces more opaque on bg-image so text stays readable */
body.has-bg-image .hero-card,
body.has-bg-image .search-card,
body.has-bg-image .intro-card,
body.has-bg-image .state,
body.has-bg-image .detail-card,
body.has-bg-image .subscribe-hero,
body.has-bg-image .plan,
body.has-bg-image .mini-card,
body.has-bg-image .card,
body.has-bg-image .quick-grid a,
body.has-bg-image .popular-links,
body.has-bg-image .filter-sheet {
  background: rgba(255, 255, 255, 0.95) !important;
}
body.has-bg-image .bottom-nav { background: rgba(255, 255, 255, 0.92) !important; }
body.has-bg-image .hero-card h2,
body.has-bg-image .hero-card p { color: var(--brand-900); }
body.has-bg-image .hero-card p { color: var(--text-soft); }

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  body.has-bg-image { background-attachment: scroll; }
}

/* Reduced data — drop heavy effects */
@media (prefers-reduced-data: reduce) {
  body { background: var(--cream-200); }
  body.has-bg-image::before { background: rgba(42, 19, 64, 0.6); }
  .app-header, .bottom-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* High contrast — boost contrast on Windows high-contrast / forced-colors */
@media (forced-colors: active) {
  .primary-link, .primary-btn, .call-btn { background: ButtonText; color: ButtonFace; }
  .card, .hero-card, .panel { border: 1px solid CanvasText; }
}

/* ===== Phone reveal card ===== */
.locked-phone {
  display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(140deg, rgba(139,95,191,0.10), rgba(91,46,138,0.06));
  border: 1px solid rgba(139,95,191,0.28);
  border-radius: 16px; padding: 18px;
}
.locked-phone strong { font-size: 1.05rem; color: var(--brand-900, #2A1340); }
.locked-phone p { margin: 0; color: #4a3a60; font-size: 0.92rem; line-height: 1.45; }
.locked-phone .call-btn { width: 100%; justify-content: center; }
.phone-result { width: 100%; }
.phone-msg {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 14px;
  animation: phoneFadeIn .25s ease-out;
}
@keyframes phoneFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.phone-msg-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.phone-msg-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.phone-msg-body strong { font-size: 1rem; color: var(--brand-900, #2A1340); }
.phone-msg-body p { margin: 0; font-size: 0.9rem; color: #4a3a60; line-height: 1.45; }
.phone-msg-body .primary-btn { align-self: flex-start; margin-top: 4px; }
.phone-msg-warn {
  background: linear-gradient(140deg, #fff4e6, #ffe6d1);
  border: 1px solid rgba(217,119,6,0.35);
}
.phone-msg-warn strong { color: #7a3e0a; }
.phone-msg-locked {
  background: linear-gradient(140deg, rgba(139,95,191,0.16), rgba(91,46,138,0.10));
  border: 1px solid rgba(139,95,191,0.4);
}
.phone-msg-ok {
  background: linear-gradient(140deg, #e8f8ee, #d6f0e0);
  border: 1px solid rgba(34,139,75,0.35);
  flex-direction: column; gap: 10px; align-items: stretch;
}
.phone-reveal-row {
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.phone-num {
  font-size: 1.45rem; font-weight: 700; letter-spacing: 0.5px;
  color: #1d6b3a; text-decoration: none;
  font-feature-settings: "tnum";
  word-break: break-all;
}
.phone-num:hover { text-decoration: underline; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 10px; cursor: pointer;
  background: #fff; color: #1d6b3a;
  border: 1px solid rgba(34,139,75,0.4);
  font-size: 0.88rem; font-weight: 600;
  transition: all .18s ease;
}
.copy-btn:hover { background: #1d6b3a; color: #fff; transform: translateY(-1px); }
.copy-btn .icon { width: 16px; height: 16px; }
.phone-hint { margin: 0 !important; font-size: 0.82rem !important; color: #3d6b50 !important; }
.spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite;
  vertical-align: middle; margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Suggest chips — input focus bo'lganda chiqadigan dropdown */
.filter-sheet label.has-suggest { position: relative; }
.suggest-chips {
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(139, 95, 191, 0.25);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 18px rgba(42, 19, 64, 0.12);
}
.filter-sheet label.has-suggest .suggest-chips {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  margin-top: -2px;
}
.suggest-chips[hidden] { display: none !important; }
.suggest-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #8a7aa8);
  margin-bottom: 6px;
  font-weight: 600;
}
.suggest-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 95, 191, 0.45) transparent;
}
.suggest-row::-webkit-scrollbar { width: 6px; }
.suggest-row::-webkit-scrollbar-thumb {
  background: rgba(139, 95, 191, 0.45);
  border-radius: 999px;
}
.suggest-row::-webkit-scrollbar-track { background: transparent; }
@media (max-width: 600px) {
  .suggest-row { max-height: 200px; }
}
.suggest-row .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 95, 191, 0.08);
  color: var(--brand-700, #5B2E8A);
  border: 1px solid rgba(139, 95, 191, 0.25);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
}
.suggest-row .chip:hover {
  background: rgba(139, 95, 191, 0.16);
  border-color: rgba(139, 95, 191, 0.45);
}
.suggest-row .chip.chip-active {
  background: var(--brand-500, #8B5FBF);
  color: #fff;
  border-color: var(--brand-500, #8B5FBF);
}
.suggest-row .chip-count {
  font-size: 11px;
  background: rgba(255,255,255,0.4);
  color: inherit;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 600;
  opacity: 0.85;
}
.suggest-row .chip.chip-active .chip-count {
  background: rgba(255,255,255,0.25);
}

/* ===== Bottom navigation ===== */
.with-bottom-nav {
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 90;
  width: min(100%, 980px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 12px max(8px, env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(91, 46, 138, 0.10);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 30px rgba(42, 19, 64, 0.12);
}

.bottom-nav .bottom-nav-item {
  min-width: 0;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 18px;
  color: #63708a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.bottom-nav .bottom-nav-item:active {
  transform: translateY(1px);
}

.bottom-nav .bottom-nav-item.is-active {
  background: #eafbf3;
  color: #00a878;
}

.bottom-nav .bottom-nav-item.is-active span {
  color: inherit;
}

.bottom-nav .bottom-nav-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav .bottom-nav-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-transparency: no-preference) {
  @supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
    .bottom-nav {
      -webkit-backdrop-filter: blur(16px) saturate(140%);
      backdrop-filter: blur(16px) saturate(140%);
    }
  }
}

@media (max-width: 420px) {
  .bottom-nav {
    gap: 4px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .bottom-nav .bottom-nav-item {
    min-height: 68px;
    border-radius: 16px;
    font-size: 12px;
  }
}

/* ===== Conversion-focused mobile WebApp refresh ===== */
body.home-page {
  background:
    radial-gradient(circle at top right, var(--app-accent-glow), transparent 35%),
    linear-gradient(180deg, var(--app-bg-start) 0%, var(--app-bg-end) 100%);
  background-repeat: no-repeat;
}

body.home-page .app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  justify-content: center;
  min-height: 50px;
  padding: 6px 16px 5px;
  padding-top: max(8px, env(safe-area-inset-top));
  background: linear-gradient(135deg, #4a2575 0%, #7448b0 100%);
  border-bottom: 0;
  box-shadow: 0 8px 24px rgba(42, 19, 64, 0.16);
}

html.is-tg-fullscreen body.home-page .app-header {
  position: sticky;
  top: 0;
  padding-top: max(44px, calc(var(--tg-top-inset, 84px) - 24px));
  padding-bottom: 5px;
}

html.is-telegram-webapp body.home-page .app-header {
  padding-top: max(44px, calc(max(env(safe-area-inset-top), var(--tg-top-inset, 84px)) - 24px));
}

body.home-page .app-header > div {
  width: 100%;
  align-items: center;
  text-align: center;
}

body.home-page .brand-logo {
  justify-content: center;
  width: 100%;
  color: #fff;
  font-size: 21px;
  font-weight: 950;
  transform: none;
}

body.home-page .brand-logo-img {
  display: block;
  width: min(34vw, 136px);
  height: auto;
  max-height: 67px;
  object-fit: contain;
}

body.home-page .app-header p {
  display: none;
}

body.home-page .content {
  padding: 12px 12px 0;
}

body.home-page .search-card {
  top: 8px;
  z-index: 35;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(42, 19, 64, 0.10);
}

html.is-telegram-webapp body.home-page .search-card {
  top: calc(max(env(safe-area-inset-top), var(--tg-top-inset, 0px)) + 8px);
}

body.home-page .search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 42px;
  gap: 6px;
  min-height: 48px;
  padding: 0 4px 0 12px;
  border: 1px solid rgba(91, 46, 138, 0.14);
  border-radius: 18px;
  background: #fff;
}

.search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
}

.search-icon svg {
  width: 20px;
  height: 20px;
}

body.home-page .search-row input {
  font-size: 14px;
  font-weight: 600;
}

body.home-page .search-row input::placeholder {
  color: #81728f;
}

body.home-page .search-row button {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

body.home-page .search-submit-inline {
  display: inline-flex;
  background: rgba(91, 46, 138, 0.09);
  color: var(--brand-700);
  box-shadow: none;
}

.popular-searches-panel {
  margin: 8px 2px 0;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(91, 46, 138, 0.10);
  box-shadow: 0 8px 20px rgba(42, 19, 64, 0.10);
}

.popular-searches-panel[hidden] {
  display: none !important;
}

.popular-search-title {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.popular-search-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.popular-search-row::-webkit-scrollbar {
  display: none;
}

.popular-search-chip {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: #f4edfb;
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.popular-search-chip small {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(91, 46, 138, 0.12);
  color: var(--brand-600);
  font-size: 11px;
}

body.home-page #filter-open {
  background: var(--primary-grad);
  color: #fff;
}

body.home-page .filter-summary {
  margin-top: 8px;
}

body.home-page .cards {
  gap: 12px;
  grid-auto-rows: auto;
  scroll-behavior: smooth;
}

body.home-page .card {
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(42, 19, 64, 0.10);
}

body.home-page .image-wrap {
  height: clamp(156px, 42vw, 180px);
  border-radius: 22px 22px 0 0;
}

body.home-page .carousel-btn {
  width: 30px;
  height: 34px;
  font-size: 18px;
  background: rgba(42, 19, 64, 0.46);
}

body.home-page .carousel-btn.left { left: 8px; }
body.home-page .carousel-btn.right { right: 8px; }

body.home-page .tag {
  max-width: 46%;
  padding: 6px 10px;
  font-size: 11px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
}

body.home-page .tag.listing-badge {
  top: 10px;
  right: 10px;
  max-width: calc(100% - 20px);
}

body.home-page .tag.audience.audience-family { background: linear-gradient(135deg, #7a4cc2, #2bbf88); }

body.home-page .dots {
  bottom: 9px;
  gap: 4px;
}

body.home-page .dot {
  width: 5px;
  height: 5px;
}

body.home-page .dot.is-active {
  width: 16px;
}

body.home-page .card-body {
  padding: 10px 12px 12px;
}

body.home-page .card-body h3 {
  margin-bottom: 7px;
  overflow: hidden;
  color: var(--brand-900);
  font-size: 16px;
  line-height: 1.22;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.home-page .info-grid {
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}

body.home-page .info-grid span {
  min-height: 20px;
  overflow: hidden;
  gap: 5px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

body.home-page .info-grid span svg {
  width: 16px;
  height: 16px;
  color: var(--brand-500);
}

body.home-page .description {
  min-height: 34px;
  margin: 7px 0 8px;
  font-size: 12.5px;
  line-height: 1.36;
  -webkit-line-clamp: 2;
}

.cta-row {
  display: grid;
  grid-template-columns: minmax(94px, .72fr) minmax(0, 1.28fr);
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(91, 46, 138, 0.10);
}

.save-btn,
.card-cta {
  min-height: 42px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 850;
}

.save-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(91, 46, 138, 0.16);
  background: #fff;
  color: var(--brand-700);
  cursor: pointer;
}

.save-btn svg {
  width: 17px;
  height: 17px;
}

.save-btn.is-saved {
  background: #f4edfb;
  color: var(--brand-800);
}

.save-btn.is-saved svg {
  fill: currentColor;
}

.card-cta {
  width: 100%;
  padding: 0 12px;
  box-shadow: 0 8px 18px rgba(91, 46, 138, 0.18);
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-block,
.skeleton-line,
.skeleton-grid span,
.skeleton-actions span {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #eee7f4 0%, #f8f5fb 45%, #eee7f4 100%);
  background-size: 220% 100%;
  animation: skeleton-pulse 1.1s ease-in-out infinite;
}

.skeleton-line {
  width: 62%;
  height: 18px;
  border-radius: 999px;
}

.skeleton-line.wide {
  width: 78%;
  margin-bottom: 12px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.skeleton-grid span {
  height: 18px;
  border-radius: 999px;
}

.skeleton-actions {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 8px;
  margin-top: 12px;
}

.skeleton-actions span {
  height: 44px;
  border-radius: 15px;
}

@keyframes skeleton-pulse {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

body.home-page .state {
  padding: 24px 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(42, 19, 64, 0.08);
}

.filter-sheet {
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -16px 36px rgba(42, 19, 64, 0.18);
}

.filter-sheet label {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-900);
}

.filter-sheet input,
.filter-sheet select {
  min-height: 46px;
  border-radius: 15px;
}

.bottom-nav {
  gap: 6px;
  padding: 7px 10px max(7px, env(safe-area-inset-bottom, 0px), var(--tg-bottom-inset, 0px));
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -10px 24px rgba(42, 19, 64, 0.10);
}

html.is-telegram-webapp .with-bottom-nav {
  padding-bottom: calc(124px + max(env(safe-area-inset-bottom), var(--tg-bottom-inset, 0px)));
}

html.is-telegram-webapp body.home-page .search-card {
  top: calc(var(--app-header-height, 0px) + 8px);
}

html.is-telegram-webapp body.home-page .search-card.is-hidden {
  transform: translateY(calc(-100% - var(--app-header-height, 0px) - 16px));
}

.bottom-nav .bottom-nav-item {
  min-height: 62px;
  gap: 4px;
  border-radius: 17px;
  font-size: 12px;
}

.bottom-nav .bottom-nav-icon,
.bottom-nav .bottom-nav-icon svg {
  width: 22px;
  height: 22px;
}

.bottom-nav .bottom-nav-item.is-active {
  background: #f0e9fa;
  color: var(--brand-700);
}

@media (max-width: 380px) {
  body.home-page .image-wrap {
    height: 176px;
  }
  .cta-row {
    grid-template-columns: 1fr;
  }
  .save-btn,
  .card-cta {
    width: 100%;
  }
}

/* Home page: let the logo header scroll with content so cards never pass under it. */
body.home-page .app-header,
html.is-tg-fullscreen body.home-page .app-header,
html.is-telegram-webapp body.home-page .app-header {
  position: relative;
  top: auto;
  z-index: 1;
}

html.is-telegram-webapp body.home-page .search-card {
  top: 8px;
}

html.is-telegram-webapp body.home-page .search-card.is-hidden {
  transform: translateY(calc(-100% - 16px));
}

/* ===== SherikTop marketplace refresh v56 ===== */
:root {
  --market-bg: #f7f5fa;
  --market-card: #ffffff;
  --market-ink: #241335;
  --market-muted: #7d708a;
  --market-purple: #6d3bb1;
  --market-purple-2: #8b55cf;
  --market-purple-soft: #f1e9fb;
}

body.home-page {
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 85, 207, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--market-bg) 42%, #f4f1f8 100%) !important;
  color: var(--market-ink);
}

body.home-page .app-shell {
  max-width: 620px;
}

body.home-page .app-header,
html.is-tg-fullscreen body.home-page .app-header,
html.is-telegram-webapp body.home-page .app-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(82px, auto) 1fr minmax(48px, auto);
  min-height: 78px;
  align-items: center;
  gap: 10px;
  padding: calc(max(env(safe-area-inset-top), var(--tg-top-inset, 0px)) + 8px) 16px 12px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(109, 59, 177, 0.08);
  box-shadow: none;
}

html.is-tg-fullscreen body.home-page .app-header {
  padding-top: calc(max(env(safe-area-inset-top), var(--tg-top-inset, 0px)) + 8px);
}

body.home-page .app-header > div {
  align-items: center;
  justify-self: center;
  min-width: 0;
}

body.home-page .brand-logo {
  height: 40px;
  justify-content: center;
}

body.home-page .brand-logo-img {
  width: min(132px, 34vw);
  height: auto;
  filter: brightness(0) saturate(100%) invert(20%) sepia(48%) saturate(1837%) hue-rotate(247deg) brightness(88%) contrast(92%);
}

.webapp-chrome-btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: #f0e8f8;
  color: var(--market-purple);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.webapp-chrome-btn svg {
  width: 18px;
  height: 18px;
}

.webapp-close-hint {
  justify-self: start;
  padding: 0 12px 0 10px;
}

.webapp-menu-hint {
  justify-self: end;
  width: 42px;
  padding: 0;
}

body.home-page .content {
  padding: 12px 14px 0;
}

body.home-page .search-card,
html.is-telegram-webapp body.home-page .search-card {
  position: sticky;
  top: 8px;
  z-index: 28;
  padding: 8px;
  margin: 0 0 14px;
  border: 1px solid rgba(109, 59, 177, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(45, 24, 66, 0.08);
}

body.home-page .search-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 44px 46px;
  min-height: 54px;
  align-items: center;
  gap: 6px;
  padding: 0 5px 0 15px;
  border: 1px solid rgba(109, 59, 177, 0.10);
  border-radius: 22px;
  background: #fff;
}

.search-leading-icon {
  display: inline-flex;
  color: var(--market-purple);
}

.search-leading-icon svg {
  width: 21px;
  height: 21px;
}

body.home-page .search-row input {
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--market-ink);
  font-size: 14px;
  font-weight: 700;
}

body.home-page .search-row input::placeholder {
  color: #8d829b;
}

body.home-page .search-row button {
  width: 42px;
  height: 42px;
  border-radius: 16px;
}

body.home-page .search-submit-inline {
  display: none;
}

body.home-page #filter-open {
  background: linear-gradient(135deg, var(--market-purple), var(--market-purple-2));
  color: #fff;
}

body.home-page .cards {
  display: grid;
  gap: 14px;
}

body.home-page .card {
  overflow: hidden;
  border: 1px solid rgba(109, 59, 177, 0.08);
  border-radius: 26px;
  background: var(--market-card);
  box-shadow: 0 14px 34px rgba(34, 18, 55, 0.08);
}

body.home-page .card-main {
  display: grid;
  grid-template-columns: minmax(126px, 39%) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 10px 0;
}

body.home-page .image-wrap.compact-image {
  position: relative;
  height: 188px;
  min-height: 188px;
  overflow: hidden;
  border-radius: 22px;
  background: #ebe5f2;
}

body.home-page .listing-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home-page .image-wrap.compact-image .tag.audience {
  top: 9px;
  left: 9px;
  right: auto;
  max-width: calc(100% - 18px);
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 7px 18px rgba(45, 24, 66, 0.18);
}

body.home-page .image-wrap.compact-image .audience-girls {
  background: linear-gradient(135deg, #c76ce2, #a84dd1);
}

body.home-page .image-wrap.compact-image .audience-boys {
  background: linear-gradient(135deg, #5a32a8, #7c46c8);
}

body.home-page .image-wrap.compact-image .audience-family {
  background: linear-gradient(135deg, #2abf88, #6d3bb1);
}

body.home-page .image-wrap.compact-image .audience-all {
  background: linear-gradient(135deg, #6f647d, #8f7ea3);
}

.image-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--market-purple);
  box-shadow: 0 8px 18px rgba(31, 18, 48, 0.16);
}

.image-fav-btn svg {
  width: 17px;
  height: 17px;
}

.image-fav-btn.is-saved svg {
  fill: currentColor;
}

.photo-count {
  position: absolute;
  left: 9px;
  bottom: 9px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(31, 18, 48, 0.56);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.photo-count svg {
  width: 15px;
  height: 15px;
}

body.home-page .card-body {
  min-width: 0;
  padding: 2px 2px 0 0;
}

.card-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  margin-bottom: 7px;
}

body.home-page .card-body h3 {
  margin: 0;
  overflow: hidden;
  color: var(--market-ink);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.22;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.price-pill {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--market-purple-soft);
  color: var(--market-purple);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
}

.location-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  color: #5e506f;
  font-size: 12px;
  font-weight: 800;
}

.location-row svg {
  width: 15px;
  height: 15px;
  color: var(--market-purple);
}

.location-row span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.home-page .info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

body.home-page .info-chips span {
  display: inline-flex;
  min-height: 26px;
  max-width: 100%;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f6f2fa;
  color: #554361;
  font-size: 11.5px;
  font-weight: 850;
}

body.home-page .info-chips svg {
  width: 14px;
  height: 14px;
  color: var(--market-purple);
}

body.home-page .description {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: #685b75;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.36;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

body.home-page .cta-row {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr);
  gap: 10px;
  margin: 11px 10px 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(109, 59, 177, 0.08);
}

body.home-page .save-btn,
body.home-page .card-cta {
  min-height: 46px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 950;
}

body.home-page .save-btn {
  border: 1px solid rgba(109, 59, 177, 0.13);
  background: #fff;
  color: var(--market-purple);
}

body.home-page .card-cta {
  background: linear-gradient(135deg, var(--market-purple), var(--market-purple-2));
  color: #fff;
  box-shadow: 0 12px 24px rgba(109, 59, 177, 0.22);
}

body.home-page .bottom-nav {
  left: 12px;
  right: 12px;
  bottom: max(8px, env(safe-area-inset-bottom, 0px));
  width: auto;
  max-width: 596px;
  margin: 0 auto;
  transform: none;
  padding: 8px;
  border: 1px solid rgba(109, 59, 177, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -12px 32px rgba(34, 18, 55, 0.12);
}

body.home-page .bottom-nav .bottom-nav-item {
  min-height: 62px;
  border-radius: 22px;
  color: #6d617b;
  font-size: 12px;
  font-weight: 800;
}

body.home-page .bottom-nav .bottom-nav-item.is-active {
  background: #f0e8fb;
  color: var(--market-purple);
}

body.home-page .bottom-nav .bottom-nav-icon,
body.home-page .bottom-nav .bottom-nav-icon svg {
  width: 24px;
  height: 24px;
}

/* Telegram WebApp chrome already provides close/menu controls.
   Keep the app header focused on the centered logo and prevent the
   search panel from floating under Telegram's native top controls. */
body.home-page .webapp-chrome-btn {
  display: none !important;
}

body.home-page .app-header,
html.is-tg-fullscreen body.home-page .app-header,
html.is-telegram-webapp body.home-page .app-header {
  grid-template-columns: 1fr !important;
  justify-items: center;
  min-height: 82px;
  padding-left: 16px;
  padding-right: 16px;
}

body.home-page .brand-logo,
body.home-page .brand-logo-img {
  max-width: min(150px, 38vw);
}

body.home-page .search-card,
html.is-telegram-webapp body.home-page .search-card,
html.is-tg-fullscreen body.home-page .search-card {
  position: relative !important;
  top: auto !important;
  z-index: 3;
  transform: none !important;
}

body.home-page .search-card.is-hidden,
html.is-telegram-webapp body.home-page .search-card.is-hidden,
html.is-tg-fullscreen body.home-page .search-card.is-hidden {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}

body.home-page .search-row {
  grid-template-columns: 24px minmax(0, 1fr) 46px;
}

body.home-page .card-main .description {
  display: none !important;
}

/* =====================================================
   Listing detail: premium passport layout
   ===================================================== */
body.detail-page {
  --detail-purple: #6f35b7;
  --detail-purple-dark: #251044;
  --detail-purple-soft: #f5effd;
  --detail-line: rgba(106, 56, 176, 0.16);
  background:
    radial-gradient(circle at 50% -12%, rgba(139, 95, 191, 0.18), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #fbf8ff 44%, #f4edf9 100%);
}

body.detail-page .app-shell {
  min-height: 100dvh;
  background: transparent;
}

body.detail-page .detail-sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.detail-page .app-header.detail-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: calc(10px + max(env(safe-area-inset-top, 0px), var(--tg-top-inset, 0px))) 18px 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-bottom: 1px solid rgba(106, 56, 176, 0.10);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(37, 16, 68, 0.06);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  backdrop-filter: saturate(150%) blur(8px);
}

body.detail-page .detail-topbar-title {
  min-width: 0;
  text-align: center;
}

body.detail-page .detail-topbar-title h1 {
  margin: 0;
  color: var(--detail-purple-dark);
  font-size: clamp(17px, 4.6vw, 26px);
  font-weight: 950;
  line-height: 1.16;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.detail-page .detail-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.detail-page .detail-icon-btn {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(106, 56, 176, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--detail-purple-dark);
  box-shadow: 0 8px 22px rgba(37, 16, 68, 0.06);
}

body.detail-page .detail-icon-btn svg,
body.detail-page .detail-icon-btn .icon {
  width: 24px;
  height: 24px;
}

body.detail-page .detail-content {
  max-width: 720px;
  padding: calc(14px + max(env(safe-area-inset-top, 0px), var(--tg-top-inset, 0px))) 16px calc(132px + max(env(safe-area-inset-bottom, 0px), var(--tg-bottom-inset, 0px)));
}

body.detail-page .detail-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body.detail-page .detail-hero {
  height: clamp(260px, 54vh, 430px);
  min-height: 250px;
  border-radius: 24px;
  background: #efe6f8;
  box-shadow: 0 18px 42px rgba(37, 16, 68, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

body.detail-page .detail-hero .slide {
  object-fit: cover;
}

body.detail-page .detail-hero .carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--detail-purple-dark);
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(37, 16, 68, 0.15);
}

body.detail-page .detail-hero .carousel-btn.left { left: 16px; }
body.detail-page .detail-hero .carousel-btn.right { right: 16px; }

body.detail-page .detail-hero .tag.listing-badge {
  top: 16px;
  right: 16px;
  max-width: calc(100% - 36px);
  padding: 10px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5d27a8, #8b4ed0);
  color: #fff;
  font-size: clamp(13px, 3.4vw, 17px);
  font-weight: 950;
  box-shadow: 0 14px 26px rgba(94, 39, 168, 0.28);
}

body.detail-page .detail-hero .dots {
  bottom: 24px;
  gap: 10px;
}

body.detail-page .detail-hero .dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.62);
}

body.detail-page .detail-hero .dot.is-active {
  width: 12px;
  background: #fff;
}

body.detail-page .detail-body {
  padding: 0;
}

body.detail-page .detail-body > h2 {
  margin: 16px 0 10px;
  color: var(--detail-purple-dark);
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

body.detail-page .detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  margin: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--detail-line);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(37, 16, 68, 0.08);
}

body.detail-page .detail-info-card {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 10px;
  border: 1px solid var(--detail-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbf7ff);
}

body.detail-page .detail-info-card > div {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.detail-page .detail-info-card.detail-info-wide {
  grid-column: 1 / -1;
}

body.detail-page .detail-info-card > span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--detail-purple);
  background: var(--detail-purple-soft);
}

body.detail-page .detail-info-card .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

body.detail-page .detail-info-card small {
  display: block;
  color: rgba(37, 16, 68, 0.58);
  font-size: clamp(11px, 2.8vw, 13px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

body.detail-page .detail-info-card strong {
  display: -webkit-box;
  margin-top: 4px;
  color: var(--detail-purple-dark);
  font-size: clamp(14px, 3.8vw, 17px);
  font-weight: 950;
  line-height: 1.2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.detail-page .detail-amenities {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid rgba(139, 95, 191, 0.26);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #fbf7ff);
  box-shadow: 0 12px 28px rgba(37, 16, 68, 0.06);
}

body.detail-page .detail-amenities h3 {
  margin: 0 0 10px;
  color: var(--detail-purple-dark);
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 950;
}

body.detail-page .detail-amenities-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

body.detail-page .detail-amenities-row > span {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--detail-purple);
  background: var(--detail-purple-soft);
}

body.detail-page .detail-amenities-row .icon {
  width: 28px;
  height: 28px;
}

body.detail-page .detail-amenities p {
  display: -webkit-box;
  margin: 0;
  color: #322044;
  font-size: clamp(14px, 3.8vw, 16px);
  line-height: 1.45;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.detail-page .locked-phone {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 18px;
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 50%, rgba(255, 255, 255, 0.25), transparent 24%),
    linear-gradient(135deg, #321153 0%, #6b2eb1 52%, #8d49cc 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(61, 22, 102, 0.24);
}

body.detail-page .locked-phone::after {
  content: "🔒";
  position: absolute;
  right: 20px;
  bottom: 16px;
  font-size: clamp(58px, 20vw, 110px);
  opacity: 0.34;
  transform: rotate(-8deg);
  pointer-events: none;
}

body.detail-page .locked-phone-copy {
  position: relative;
  z-index: 1;
  max-width: 72%;
}

body.detail-page .locked-phone strong {
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 5vw, 24px);
  font-weight: 950;
}

body.detail-page .locked-phone p {
  margin: 6px 0 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(13px, 3.5vw, 15px);
  line-height: 1.38;
}

body.detail-page .locked-phone .call-btn {
  position: relative;
  z-index: 1;
  min-height: 56px;
  width: min(100%, 520px);
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--detail-purple);
  font-size: clamp(16px, 4.5vw, 22px);
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(37, 16, 68, 0.20);
}

body.detail-page .locked-phone .call-btn .icon {
  width: 25px;
  height: 25px;
}

body.detail-page .phone-result {
  position: relative;
  z-index: 1;
}

body.detail-page .related-searches {
  margin-top: 18px;
  padding: 0;
  border: 0;
}

body.detail-page .related-searches h3 {
  margin: 0 0 10px;
  color: var(--detail-purple-dark);
  font-size: clamp(16px, 4.2vw, 20px);
  font-weight: 950;
}

body.detail-page .related-chip-row {
  gap: 10px;
}

body.detail-page .related-chip-row a {
  padding: 10px 18px;
  border: 1px solid rgba(106, 56, 176, 0.22);
  border-radius: 999px;
  background: #f8f2ff;
  color: var(--detail-purple);
  font-size: clamp(13px, 3.4vw, 15px);
  font-weight: 850;
  box-shadow: none;
}

body.detail-page .bottom-nav {
  left: 16px;
  right: 16px;
  bottom: max(8px, env(safe-area-inset-bottom, 0px), var(--tg-bottom-inset, 0px));
  width: auto;
  transform: none;
  border-radius: 28px;
  border: 1px solid rgba(106, 56, 176, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -12px 36px rgba(37, 16, 68, 0.12);
}

body.detail-page .bottom-nav .bottom-nav-item {
  min-height: 58px;
  border-radius: 20px;
}

@media (max-width: 430px) {
  body.detail-page .app-header.detail-topbar {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    padding-left: 14px;
    padding-right: 14px;
  }
  body.detail-page .detail-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  body.detail-page .detail-topbar-actions {
    gap: 6px;
  }
  body.detail-page .detail-content {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.detail-page .detail-hero {
    height: clamp(240px, 48vh, 380px);
    border-radius: 22px;
  }
  body.detail-page .detail-grid {
    padding: 12px;
    gap: 8px;
  }
  body.detail-page .detail-info-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    min-height: 78px;
    padding: 12px 10px;
  }
  body.detail-page .detail-info-card > span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
  body.detail-page .detail-info-card .icon {
    width: 23px;
    height: 23px;
  }
  body.detail-page .locked-phone-copy {
    max-width: 78%;
  }
}

@media (max-width: 350px) {
  body.detail-page .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  body.home-page .content {
    padding-left: 10px;
    padding-right: 10px;
  }

  body.home-page .card-main {
    grid-template-columns: minmax(116px, 38%) minmax(0, 1fr);
    gap: 9px;
    padding: 9px 9px 0;
  }

  body.home-page .image-wrap.compact-image {
    height: 176px;
    min-height: 176px;
  }

  body.home-page .card-body h3 {
    font-size: 14px;
  }

  .price-pill {
    font-size: 11px;
  }

  body.home-page .description {
    -webkit-line-clamp: 2;
    min-height: 33px;
  }

  body.home-page .cta-row {
    grid-template-columns: minmax(94px, .78fr) minmax(0, 1.22fr);
    gap: 8px;
  }
}

@media (max-width: 350px) {
  body.home-page .card-main {
    grid-template-columns: 1fr;
  }

  body.home-page .image-wrap.compact-image {
    height: 190px;
  }
}

/* ===== Profile page v60 ===== */
:root {
  --st-primary: #6D35A8;
  --st-primary-dark: #4B1D7A;
  --st-bg: #FAF8FF;
  --st-card-bg: #FFFFFF;
  --st-border: rgba(109, 53, 168, 0.12);
  --st-text: #1F1235;
  --st-muted: #7A718A;
}

body.profile-page {
  background: linear-gradient(180deg, #ffffff 0%, var(--st-bg) 46%, #f5f0fb 100%);
  color: var(--st-text);
}

body.profile-page .app-shell {
  background: transparent;
}

body.profile-page .profile-topbar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 8px;
  min-height: 64px;
  padding: 10px 16px 12px;
  padding-top: calc(max(env(safe-area-inset-top, 0px), var(--tg-top-inset, 0px)) + 8px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(109, 53, 168, 0.08);
  box-shadow: 0 8px 24px rgba(31, 18, 53, 0.05);
}

html.is-tg-fullscreen body.profile-page .profile-topbar {
  position: sticky;
  padding-top: calc(max(env(safe-area-inset-top, 0px), var(--tg-top-inset, 0px)) + 8px);
}

body.profile-page .profile-topbar > div {
  align-self: center;
}

body.profile-page .profile-topbar h1 {
  color: var(--st-text);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: 0;
}

body.profile-page .profile-header-action,
body.profile-page .profile-header-spacer {
  width: 44px;
  height: 44px;
  border-radius: 16px;
}

body.profile-page .profile-header-action {
  background: #fff;
  color: var(--st-primary);
  border: 1px solid var(--st-border);
  box-shadow: 0 8px 20px rgba(31, 18, 53, 0.06);
}

body.profile-page .profile-content {
  display: block;
  padding: 16px;
  padding-bottom: calc(118px + max(env(safe-area-inset-bottom, 0px), var(--tg-bottom-inset, 0px)));
}

body.profile-page .profile-card {
  display: grid;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.profile-page .profile-hero {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--st-border);
  border-radius: 26px;
  background: var(--st-card-bg);
  box-shadow: 0 16px 42px rgba(31, 18, 53, 0.08);
}

body.profile-page .profile-avatar {
  width: 76px;
  height: 76px;
  border: 3px solid rgba(109, 53, 168, 0.10);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(31, 18, 53, 0.12);
}

body.profile-page .profile-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--st-primary-dark), #9b5ee8);
  color: #fff;
  font-size: 25px;
  font-weight: 950;
}

body.profile-page .profile-identity-text h2 {
  margin: 0;
  overflow: hidden;
  color: var(--st-text);
  font-size: clamp(24px, 6vw, 28px);
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.profile-page .profile-identity-text p {
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--st-muted);
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.profile-page .profile-action-list {
  display: grid;
  gap: 12px;
}

body.profile-page .profile-list-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 18px;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--st-border);
  border-radius: 22px;
  background: var(--st-card-bg);
  color: var(--st-text);
  box-shadow: 0 12px 30px rgba(31, 18, 53, 0.06);
}

body.profile-page .profile-action-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #f2eafa;
  color: var(--st-primary);
}

body.profile-page .profile-action-icon .icon {
  width: 24px;
  height: 24px;
}

body.profile-page .profile-action-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.profile-page .profile-action-copy strong {
  overflow: hidden;
  color: var(--st-text);
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.profile-page .profile-action-copy small {
  overflow: hidden;
  color: var(--st-muted);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.profile-page .profile-action-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f2eafa;
  color: var(--st-primary);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

body.profile-page .profile-action-badge.is-active {
  background: rgba(31, 169, 113, 0.12);
  color: #148157;
}

body.profile-page .profile-action-badge.is-expired {
  background: rgba(220, 77, 107, 0.12);
  color: #b93655;
}

body.profile-page .profile-chevron {
  color: rgba(31, 18, 53, 0.45);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

body.profile-page .profile-saved {
  margin-top: 0;
  padding: 18px;
  border: 1px solid var(--st-border);
  border-radius: 24px;
  background: var(--st-card-bg);
  box-shadow: 0 16px 42px rgba(31, 18, 53, 0.07);
}

body.profile-page .profile-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body.profile-page .profile-section-head h3 {
  margin: 0;
  color: var(--st-text);
  font-size: 18px;
  font-weight: 950;
}

body.profile-page .profile-section-head a,
body.profile-page .profile-view-all {
  color: var(--st-primary);
  font-size: 13px;
  font-weight: 850;
}

body.profile-page .profile-saved-list {
  color: var(--st-muted);
  font-size: 14px;
}

body.profile-page .profile-empty-state {
  display: grid;
  gap: 12px;
  padding: 4px 0 2px;
}

body.profile-page .profile-empty-state p {
  margin: 0;
  color: var(--st-muted);
  font-size: 14px;
  font-weight: 650;
}

body.profile-page .profile-empty-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--primary-grad);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(109, 53, 168, 0.20);
}

body.profile-page .profile-saved-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--st-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

body.profile-page .profile-saved-card:first-child {
  margin-top: 0;
}

body.profile-page .profile-saved-card img {
  width: 86px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
}

body.profile-page .profile-saved-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--st-text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.profile-page .profile-saved-card span {
  display: block;
  margin: 5px 0 8px;
  overflow: hidden;
  color: var(--st-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.profile-page .profile-view-all {
  display: inline-flex;
  margin-top: 12px;
}

body.profile-page .bottom-nav {
  left: 16px;
  right: 16px;
  bottom: max(8px, env(safe-area-inset-bottom, 0px), var(--tg-bottom-inset, 0px));
  width: auto;
  transform: none;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--st-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -12px 36px rgba(31, 18, 53, 0.10);
  transform: none;
}

body.profile-page .bottom-nav .bottom-nav-item {
  min-height: 58px;
  border-radius: 20px;
}

body.profile-page .bottom-nav .is-active {
  background: #f0e6fb;
  color: var(--st-primary);
}

/* ===== Home UI cleanup v62 ===== */
body.home-page .home-topbar,
html.is-tg-fullscreen body.home-page .home-topbar,
html.is-telegram-webapp body.home-page .home-topbar {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  justify-items: stretch;
  gap: 12px;
  width: 100%;
  min-height: 108px;
  padding: calc(max(env(safe-area-inset-top, 0px), var(--tg-top-inset, 0px)) + 10px) 20px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%);
}

body.home-page .home-topbar > div {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

body.home-page .home-topbar .brand-logo {
  display: flex;
  width: min(132px, 42vw);
  height: 58px;
  align-items: center;
  justify-content: center;
}

body.home-page .home-topbar .brand-logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(18%) sepia(68%) saturate(1740%) hue-rotate(255deg) brightness(86%) contrast(95%);
}

body.home-page .home-topbar-icon {
  align-self: center;
  justify-self: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border-color: rgba(109, 53, 168, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--st-primary-dark, #4b1d7a);
  box-shadow: 0 10px 24px rgba(31, 18, 53, 0.08);
}

body.home-page .home-topbar-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page .home-topbar-icon[href] svg {
  fill: none;
  stroke: currentColor;
}

body.home-page .home-notification-btn span {
  top: 10px;
  right: 11px;
  width: 7px;
  height: 7px;
  background: #8f45d2;
}

body.home-page .content.with-bottom-nav {
  padding-top: 0;
}

body.home-page .search-card,
html.is-telegram-webapp body.home-page .search-card {
  margin-top: 4px;
  border-radius: 24px;
}

body.home-page .quick-filter-row {
  gap: 9px;
  padding-bottom: 5px;
}

body.home-page .quick-filter-chip {
  min-height: 42px;
  gap: 8px;
  padding: 0 15px;
  border-radius: 16px;
  color: #25143f;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(31, 18, 53, 0.06);
}

body.home-page .quick-filter-chip .chip-symbol {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: var(--st-primary, #6d35a8);
  font-size: 15px;
  font-weight: 950;
}

body.home-page .quick-filter-chip.is-active .chip-symbol {
  color: #fff;
}

body.home-page .card {
  border-radius: 24px;
}

body.home-page .card-main {
  grid-template-columns: minmax(128px, 38%) minmax(0, 1fr);
  gap: 13px;
  padding: 12px 12px 0;
}

body.home-page .image-wrap.compact-image {
  height: 176px;
  min-height: 176px;
  border-radius: 20px;
}

body.home-page .card-body {
  padding: 2px 2px 0;
}

body.home-page .card-body h3 {
  font-size: 15px;
  line-height: 1.2;
}

body.home-page .price-pill {
  min-height: 28px;
  padding: 0 11px;
  background: #f1e8fb;
  color: var(--st-primary, #6d35a8);
  font-size: 12px;
}

body.home-page .location-row {
  margin-bottom: 8px;
  gap: 6px;
  color: #51415f;
  font-size: 12.5px;
}

body.home-page .location-row svg,
body.home-page .info-chips svg {
  flex: 0 0 auto;
  color: var(--st-primary, #6d35a8);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page .info-chips {
  gap: 7px;
  margin-bottom: 0;
}

body.home-page .info-chips span {
  min-height: 30px;
  gap: 6px;
  padding: 0 9px;
  border-radius: 12px;
  background: #f7f2fb;
  color: #473257;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

body.home-page .info-chips svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 420px) {
  body.home-page .home-topbar,
  html.is-tg-fullscreen body.home-page .home-topbar,
  html.is-telegram-webapp body.home-page .home-topbar {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    min-height: 98px;
    padding-left: 16px;
    padding-right: 16px;
  }

  body.home-page .home-topbar-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  body.home-page .home-topbar .brand-logo {
    width: min(118px, 38vw);
    height: 52px;
  }

  body.home-page .card-main {
    grid-template-columns: minmax(122px, 38%) minmax(0, 1fr);
    gap: 11px;
    padding: 11px 11px 0;
  }

  body.home-page .image-wrap.compact-image {
    height: 168px;
    min-height: 168px;
  }

  body.home-page .info-chips span {
    min-height: 29px;
    font-size: 11.5px;
  }
}

@media (max-width: 390px) {
  body.profile-page .profile-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.profile-page .profile-hero {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 16px;
  }

  body.profile-page .profile-avatar {
    width: 64px;
    height: 64px;
  }

  body.profile-page .profile-list-item {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  body.profile-page .profile-chevron {
    display: none;
  }

  body.profile-page .profile-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}

/* ===== Home search header v59 ===== */
:root {
  --home-bg: #faf8ff;
  --home-surface: #ffffff;
  --home-border: #ebe3f5;
  --home-purple: #7a3fd0;
  --home-purple-dark: #4b167e;
  --home-text: #211137;
  --home-muted: #7f728f;
}

body.home-page {
  background: linear-gradient(180deg, #ffffff 0%, var(--home-bg) 34%, #f5f1fb 100%) !important;
  color: var(--home-text);
}

body.home-page .app-shell {
  max-width: 620px;
  background: transparent;
}

body.home-page .home-topbar,
html.is-tg-fullscreen body.home-page .home-topbar,
html.is-telegram-webapp body.home-page .home-topbar {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  min-height: auto;
  padding: calc(max(env(safe-area-inset-top), var(--tg-top-inset, 0px)) + 10px) 16px 10px;
  border: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%);
  box-shadow: none;
}

body.home-page .home-topbar > div {
  justify-self: center;
  width: auto;
  min-width: 0;
}

body.home-page .home-topbar .brand-logo {
  height: 50px;
  width: auto;
  justify-content: center;
}

body.home-page .home-topbar .brand-logo-img {
  width: 116px;
  max-height: 50px;
  object-fit: contain;
  filter: none;
}

.home-topbar-icon {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--home-border);
  border-radius: 16px;
  background: #ffffff;
  color: var(--home-purple-dark);
  box-shadow: 0 8px 22px rgba(54, 25, 86, 0.06);
  text-decoration: none;
  cursor: pointer;
}

.home-topbar-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-topbar-icon[href] svg {
  fill: currentColor;
  stroke: none;
}

.home-notification-btn {
  border: 1px solid var(--home-border);
}

.home-notification-btn span {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--home-purple);
}

body.home-page .content {
  padding: 0 16px;
}

body.home-page .search-card,
html.is-telegram-webapp body.home-page .search-card {
  position: relative;
  top: auto;
  z-index: 20;
  margin: 10px 0 12px;
  padding: 8px;
  border: 1px solid var(--home-border);
  border-radius: 24px;
  background: var(--home-surface);
  box-shadow: 0 14px 34px rgba(54, 25, 86, 0.08);
}

body.home-page .search-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 50px;
  min-height: 56px;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 16px;
  border: 1px solid #e8e1f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.home-page .search-leading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-purple);
}

body.home-page .search-leading-icon svg {
  width: 21px;
  height: 21px;
}

body.home-page .search-row input {
  height: 48px;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--home-text);
  font-size: 15px;
  font-weight: 750;
}

body.home-page .search-row input::placeholder {
  color: #8a7a9c;
  opacity: 1;
}

body.home-page .search-submit-inline {
  display: none;
}

body.home-page #filter-open {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(135deg, #7b3fd1, #8f55d8);
  color: #fff;
  box-shadow: 0 10px 22px rgba(122, 63, 208, 0.24);
}

body.home-page #filter-open svg {
  width: 22px;
  height: 22px;
}

.quick-filter-section {
  margin: 0 0 14px;
}

.quick-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 0 3px;
  scrollbar-width: none;
}

.quick-filter-row::-webkit-scrollbar {
  display: none;
}

.quick-filter-chip {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--home-border);
  border-radius: 15px;
  background: #fff;
  color: #3f3150;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 7px 18px rgba(54, 25, 86, 0.04);
  cursor: pointer;
  white-space: nowrap;
}

.quick-filter-chip span {
  font-size: 14px;
  line-height: 1;
}

.quick-filter-chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #6b31c0, #8d52d6);
  color: #fff;
  box-shadow: 0 10px 22px rgba(122, 63, 208, 0.20);
}

.home-results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 2px 13px;
}

.home-results-heading h2 {
  margin: 0;
  color: var(--home-text);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
}

.home-results-heading p {
  margin: 3px 0 0;
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 700;
}

.view-all-link {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 0 0 8px;
  border: 0;
  background: transparent;
  color: var(--home-purple);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

body.home-page.search-active .home-results-heading h2 {
  font-size: 19px;
}

body.home-page .filter-summary {
  margin: 8px 2px 0;
}

@media (max-width: 380px) {
  body.home-page .home-topbar,
  html.is-tg-fullscreen body.home-page .home-topbar,
  html.is-telegram-webapp body.home-page .home-topbar {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .home-topbar-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  body.home-page .home-topbar .brand-logo-img {
    width: 104px;
  }

  body.home-page .content {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.home-page .search-row {
    grid-template-columns: 22px minmax(0, 1fr) 46px;
    padding-left: 13px;
  }

  body.home-page #filter-open {
    width: 44px;
    height: 44px;
  }

  .home-results-heading h2 {
    font-size: 18px;
  }

  .view-all-link {
    font-size: 12px;
  }
}

/* ===== Final home/header/card overrides v62 ===== */
body.home-page .home-topbar,
html.is-tg-fullscreen body.home-page .home-topbar,
html.is-telegram-webapp body.home-page .home-topbar {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) 46px !important;
  align-items: center !important;
  justify-items: stretch !important;
  gap: 12px !important;
  min-height: 108px !important;
  padding: calc(max(env(safe-area-inset-top, 0px), var(--tg-top-inset, 0px)) + 10px) 20px 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%) !important;
  box-shadow: none !important;
}

body.home-page .home-topbar > div {
  display: flex !important;
  min-width: 0 !important;
  align-items: center !important;
  justify-content: center !important;
}

body.home-page .home-topbar .brand-logo {
  display: flex !important;
  width: min(132px, 42vw) !important;
  height: 58px !important;
  align-items: center !important;
  justify-content: center !important;
}

body.home-page .home-topbar .brand-logo-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 58px !important;
  object-fit: contain !important;
  filter: none !important;
}

body.home-page .home-topbar-icon {
  align-self: center !important;
  justify-self: center !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 16px !important;
  border-color: rgba(109, 53, 168, 0.14) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--st-primary-dark, #4b1d7a) !important;
  box-shadow: 0 10px 24px rgba(31, 18, 53, 0.08) !important;
}

body.home-page .home-topbar-icon svg,
body.home-page .home-topbar-icon[href] svg {
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.1 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.home-page .home-notification-btn span {
  top: 10px !important;
  right: 11px !important;
  width: 7px !important;
  height: 7px !important;
  background: #8f45d2 !important;
}

body.home-page .content.with-bottom-nav {
  padding-top: 0 !important;
}

body.home-page .search-card,
html.is-telegram-webapp body.home-page .search-card {
  margin-top: 4px !important;
  border-radius: 24px !important;
}

body.home-page .quick-filter-row {
  gap: 9px !important;
  padding-bottom: 5px !important;
}

body.home-page .quick-filter-chip {
  min-height: 42px !important;
  gap: 8px !important;
  padding: 0 15px !important;
  border-radius: 16px !important;
  color: #25143f !important;
  font-size: 14px !important;
  box-shadow: 0 8px 18px rgba(31, 18, 53, 0.06) !important;
}

body.home-page .quick-filter-chip .chip-symbol {
  display: inline-flex !important;
  width: 18px !important;
  height: 18px !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--st-primary, #6d35a8) !important;
  font-size: 15px !important;
  font-weight: 950 !important;
}

body.home-page .quick-filter-chip.is-active .chip-symbol {
  color: #fff !important;
}

body.home-page .quick-filter-chip .chip-symbol {
  font-size: 0 !important;
  color: #6d35a8 !important;
}

body.home-page .quick-filter-chip.is-active .chip-symbol {
  color: #fff !important;
}

body.home-page .quick-filter-chip .chip-symbol::before {
  content: "" !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  background-color: currentColor !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  -webkit-mask-size: 18px 18px !important;
  mask-size: 18px 18px !important;
}

body.home-page .quick-filter-chip[data-quick-filter="all"] .chip-symbol::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z'/%3E%3C/svg%3E") !important;
}

body.home-page .quick-filter-chip[data-quick-filter="boys"] .chip-symbol::before,
body.home-page .quick-filter-chip[data-quick-filter="girls"] .chip-symbol::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 1 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/g%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 1 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/g%3E%3C/svg%3E") !important;
}

body.home-page .quick-filter-chip[data-quick-filter="apartment"] .chip-symbol::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V8l8-5 8 5v13'/%3E%3Cpath d='M9 21v-7h6v7'/%3E%3C/g%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V8l8-5 8 5v13'/%3E%3Cpath d='M9 21v-7h6v7'/%3E%3C/g%3E%3C/svg%3E") !important;
}

body.home-page .quick-filter-chip[data-quick-filter="today"] .chip-symbol::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4'/%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/g%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4'/%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/g%3E%3C/svg%3E") !important;
}

body.home-page .card {
  border-radius: 24px !important;
}

body.home-page .card-main {
  grid-template-columns: minmax(128px, 38%) minmax(0, 1fr) !important;
  gap: 13px !important;
  padding: 12px 12px 0 !important;
}

body.home-page .image-wrap.compact-image {
  height: 176px !important;
  min-height: 176px !important;
  border-radius: 20px !important;
}

body.home-page .card-body {
  padding: 2px 2px 0 !important;
}

body.home-page .card-body h3 {
  font-size: 15px !important;
  line-height: 1.2 !important;
}

body.home-page .price-pill {
  min-height: 28px !important;
  padding: 0 11px !important;
  background: #f1e8fb !important;
  color: var(--st-primary, #6d35a8) !important;
  font-size: 12px !important;
}

body.home-page .location-row {
  margin-bottom: 8px !important;
  gap: 6px !important;
  color: #51415f !important;
  font-size: 12.5px !important;
}

body.home-page .location-row svg,
body.home-page .info-chips svg {
  flex: 0 0 auto !important;
  color: var(--st-primary, #6d35a8) !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.15 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.home-page .info-chips {
  gap: 7px !important;
  margin-bottom: 0 !important;
}

body.home-page .info-chips span {
  min-height: 30px !important;
  gap: 6px !important;
  padding: 0 9px !important;
  border-radius: 12px !important;
  background: #f7f2fb !important;
  color: #473257 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.home-page .info-chips svg {
  width: 16px !important;
  height: 16px !important;
}

@media (max-width: 420px) {
  body.home-page .home-topbar,
  html.is-tg-fullscreen body.home-page .home-topbar,
  html.is-telegram-webapp body.home-page .home-topbar {
    grid-template-columns: 42px minmax(0, 1fr) 42px !important;
    min-height: 98px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.home-page .home-topbar-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 15px !important;
  }

  body.home-page .home-topbar .brand-logo {
    width: min(118px, 38vw) !important;
    height: 52px !important;
  }

  body.home-page .card-main {
    grid-template-columns: minmax(122px, 38%) minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 11px 11px 0 !important;
  }

  body.home-page .image-wrap.compact-image {
    height: 168px !important;
    min-height: 168px !important;
  }

body.home-page .info-chips span {
    min-height: 29px !important;
    font-size: 11.5px !important;
  }
}

/* ===== Global segmented bottom navigation v66 ===== */
:root {
  --bottom-nav-height: 96px;
}

.with-bottom-nav,
html.is-telegram-webapp .with-bottom-nav {
  padding-bottom: calc(96px + max(env(safe-area-inset-bottom, 0px), var(--tg-bottom-inset, 0px))) !important;
}

.bottom-nav,
body.home-page .bottom-nav,
body.detail-page .bottom-nav,
body.profile-page .bottom-nav {
  position: fixed !important;
  left: 16px !important;
  right: 16px !important;
  bottom: calc(max(env(safe-area-inset-bottom, 0px), var(--tg-bottom-inset, 0px)) + 10px) !important;
  z-index: 1000 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: center !important;
  width: calc(100% - 32px) !important;
  max-width: 430px !important;
  height: 72px !important;
  margin: 0 auto !important;
  padding: 6px !important;
  border: 1px solid rgba(109, 53, 168, 0.10) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 12px 32px rgba(31, 18, 53, 0.12) !important;
  overflow: hidden !important;
  transform: none !important;
  -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
  backdrop-filter: blur(12px) saturate(150%) !important;
}

.bottom-nav .bottom-nav-item,
.bottom-nav a,
.bottom-nav button,
body.home-page .bottom-nav .bottom-nav-item,
body.detail-page .bottom-nav .bottom-nav-item,
body.profile-page .bottom-nav .bottom-nav-item {
  position: relative !important;
  display: flex !important;
  height: 60px !important;
  min-height: 60px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: transparent !important;
  color: #6f6a78 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 16px !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

.bottom-nav .bottom-nav-icon,
.bottom-nav .bottom-nav-icon svg,
body.home-page .bottom-nav .bottom-nav-icon,
body.home-page .bottom-nav .bottom-nav-icon svg {
  width: 24px !important;
  height: 24px !important;
  color: currentColor !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  fill: none !important;
}

.bottom-nav .bottom-nav-item span:not(.bottom-nav-icon) {
  color: currentColor !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.bottom-nav .bottom-nav-item.is-active,
.bottom-nav .is-active,
body.home-page .bottom-nav .bottom-nav-item.is-active,
body.detail-page .bottom-nav .bottom-nav-item.is-active,
body.profile-page .bottom-nav .is-active {
  background: linear-gradient(180deg, #f4eafe 0%, #efe3ff 100%) !important;
  color: #6d35a8 !important;
  box-shadow: inset 0 0 0 1px rgba(109, 53, 168, 0.08) !important;
}

.bottom-nav .bottom-nav-item.is-active::after {
  content: "" !important;
  display: block !important;
  width: 34px !important;
  height: 3px !important;
  margin-top: 2px !important;
  border-radius: 999px !important;
  background: #8b3dff !important;
}

@media (max-width: 360px) {
  .with-bottom-nav,
  html.is-telegram-webapp .with-bottom-nav {
    padding-bottom: calc(90px + max(env(safe-area-inset-bottom, 0px), var(--tg-bottom-inset, 0px))) !important;
  }

  .bottom-nav,
  body.home-page .bottom-nav,
  body.detail-page .bottom-nav,
  body.profile-page .bottom-nav {
    left: 12px !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
    height: 68px !important;
    border-radius: 22px !important;
  }

  .bottom-nav .bottom-nav-item,
  .bottom-nav a,
  .bottom-nav button,
  body.home-page .bottom-nav .bottom-nav-item,
  body.detail-page .bottom-nav .bottom-nav-item,
  body.profile-page .bottom-nav .bottom-nav-item {
    height: 56px !important;
    min-height: 56px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
  }

  .bottom-nav .bottom-nav-icon,
  .bottom-nav .bottom-nav-icon svg {
    width: 22px !important;
    height: 22px !important;
  }
}

/* ===== Home target redesign v67 ===== */
body.home-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 61, 255, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #faf8ff 42%, #ffffff 100%) !important;
  color: #17102f !important;
}

body.home-page .app-shell {
  background: transparent !important;
}

body.home-page .home-topbar,
html.is-tg-fullscreen body.home-page .home-topbar,
html.is-telegram-webapp body.home-page .home-topbar {
  grid-template-columns: 52px minmax(0, 1fr) 52px !important;
  min-height: 126px !important;
  padding: calc(max(env(safe-area-inset-top, 0px), var(--tg-top-inset, 0px)) + 2px) 28px 10px !important;
  background: transparent !important;
  border: 0 !important;
}

body.home-page .home-topbar .brand-logo {
  width: min(152px, 38vw) !important;
  height: 68px !important;
}

body.home-page .home-topbar .brand-logo-img {
  max-height: 68px !important;
}

body.home-page .home-topbar-icon {
  width: 52px !important;
  height: 52px !important;
  border: 1px solid rgba(109, 53, 168, 0.10) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #6d35a8 !important;
  box-shadow: 0 14px 28px rgba(31, 18, 53, 0.10) !important;
}

body.home-page .home-topbar-icon svg,
body.home-page .home-topbar-icon[href] svg {
  width: 25px !important;
  height: 25px !important;
  stroke-width: 2.15 !important;
}

body.home-page .content.with-bottom-nav {
  padding-inline: 20px !important;
}

body.home-page .search-card,
html.is-telegram-webapp body.home-page .search-card {
  margin: 0 0 18px !important;
  padding: 10px !important;
  border: 1px solid rgba(109, 53, 168, 0.08) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 18px 44px rgba(31, 18, 53, 0.10) !important;
}

body.home-page .search-row {
  height: 68px !important;
  min-height: 68px !important;
  gap: 10px !important;
  padding: 0 8px 0 20px !important;
  border: 1px solid rgba(109, 53, 168, 0.12) !important;
  border-radius: 22px !important;
  background: #fff !important;
}

body.home-page .search-leading-icon {
  width: 31px !important;
  height: 31px !important;
  color: #6d35a8 !important;
}

body.home-page .search-leading-icon svg {
  width: 31px !important;
  height: 31px !important;
  stroke-width: 2.25 !important;
}

body.home-page #search-input {
  min-width: 0 !important;
  color: #1f1235 !important;
  font-size: 18px !important;
  font-weight: 650 !important;
}

body.home-page #search-input::placeholder {
  color: #8d829d !important;
  opacity: 1 !important;
}

body.home-page #search-submit {
  display: none !important;
}

body.home-page #filter-open {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #8b45d8 0%, #6d35a8 100%) !important;
  box-shadow: 0 12px 26px rgba(109, 53, 168, 0.22) !important;
}

body.home-page #filter-open svg {
  width: 29px !important;
  height: 29px !important;
  stroke: #fff !important;
  stroke-width: 2.4 !important;
}

body.home-page .quick-filter-section {
  margin: 0 -20px 18px !important;
  padding: 0 20px !important;
  overflow: hidden !important;
}

body.home-page .quick-filter-row {
  gap: 12px !important;
  padding: 0 0 4px !important;
}

body.home-page .quick-filter-chip {
  min-width: max-content !important;
  min-height: 54px !important;
  gap: 10px !important;
  padding: 0 22px !important;
  border: 1px solid rgba(109, 53, 168, 0.10) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #21143b !important;
  box-shadow: 0 12px 26px rgba(31, 18, 53, 0.08) !important;
  font-size: 16px !important;
  font-weight: 820 !important;
}

body.home-page .quick-filter-chip.is-active {
  border-color: transparent !important;
  background: linear-gradient(180deg, #8e45df 0%, #6d35a8 100%) !important;
  color: #fff !important;
  box-shadow: 0 16px 28px rgba(109, 53, 168, 0.25) !important;
}

body.home-page .quick-filter-chip .chip-symbol::before {
  width: 22px !important;
  height: 22px !important;
  -webkit-mask-size: 22px 22px !important;
  mask-size: 22px 22px !important;
}

body.home-page .home-results-heading {
  margin: 0 0 16px !important;
  align-items: end !important;
}

body.home-page .home-results-heading h2 {
  color: #17102f !important;
  font-size: 27px !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

body.home-page .home-results-heading p {
  margin-top: 3px !important;
  color: #877c99 !important;
  font-size: 16px !important;
  font-weight: 650 !important;
}

body.home-page .view-all-link {
  color: #7c35c7 !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

body.home-page .cards {
  gap: 20px !important;
}

body.home-page .card.listing-card-target {
  border: 1px solid rgba(109, 53, 168, 0.08) !important;
  border-radius: 28px !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(31, 18, 53, 0.10) !important;
  overflow: hidden !important;
}

body.home-page .listing-card-target .card-main {
  display: grid !important;
  grid-template-columns: minmax(168px, 44%) minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
  padding: 14px 14px 0 !important;
}

body.home-page .listing-card-target .image-wrap.compact-image {
  position: relative !important;
  height: 232px !important;
  min-height: 232px !important;
  border-radius: 24px !important;
  background: #f3edf8 !important;
  overflow: hidden !important;
}

body.home-page .photo-collage {
  display: grid !important;
  width: 100% !important;
  height: 100% !important;
  gap: 2px !important;
  background: rgba(255, 255, 255, 0.85) !important;
}

body.home-page .photo-collage.collage-count-1 {
  display: block !important;
}

body.home-page .photo-collage.collage-count-2 {
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
}

body.home-page .photo-collage.collage-count-3,
body.home-page .photo-collage.collage-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
}

body.home-page .photo-collage.collage-count-3 .collage-img-1 {
  grid-row: 1 / 3 !important;
}

body.home-page .photo-collage .collage-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.home-page .listing-card-target .tag.audience {
  top: 14px !important;
  left: 14px !important;
  max-width: calc(100% - 28px) !important;
  min-height: 36px !important;
  padding: 0 17px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #c450e1 0%, #7433c3 100%) !important;
  box-shadow: 0 12px 22px rgba(109, 53, 168, 0.22) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
}

body.home-page .listing-card-target .audience-boys {
  background: linear-gradient(135deg, #7b43d8 0%, #51239b 100%) !important;
}

body.home-page .listing-card-target .photo-count {
  left: 16px !important;
  bottom: 14px !important;
  height: 38px !important;
  min-width: 58px !important;
  padding: 0 13px !important;
  border-radius: 16px !important;
  background: rgba(31, 18, 53, 0.72) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
}

body.home-page .listing-card-target .photo-count svg {
  width: 20px !important;
  height: 20px !important;
}

body.home-page .listing-card-target .card-body {
  min-width: 0 !important;
  padding: 8px 2px 0 !important;
}

body.home-page .listing-card-target .price-main {
  display: block !important;
  margin: 0 0 12px !important;
  color: #17102f !important;
  font-size: 25px !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

body.home-page .listing-card-target .location-row {
  margin: 0 0 14px !important;
  color: #766b86 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

body.home-page .listing-card-target .location-row svg {
  width: 21px !important;
  height: 21px !important;
}

body.home-page .listing-card-target .info-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-content: start !important;
}

body.home-page .listing-card-target .info-chips span {
  min-height: 34px !important;
  max-width: 100% !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #f6f1fa !important;
  color: #5f536f !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 720 !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

body.home-page .listing-card-target .info-chips svg {
  width: 19px !important;
  height: 19px !important;
  color: #6d35a8 !important;
  stroke-width: 2.25 !important;
}

body.home-page .listing-card-target .cta-row {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr) !important;
  gap: 12px !important;
  padding: 14px !important;
}

body.home-page .listing-card-target .save-btn,
body.home-page .listing-card-target .call-btn {
  height: 56px !important;
  min-height: 56px !important;
  border-radius: 18px !important;
  font-size: 17px !important;
  font-weight: 850 !important;
}

body.home-page .listing-card-target .call-btn {
  background: linear-gradient(135deg, #5b1d91 0%, #964ade 100%) !important;
  box-shadow: 0 14px 28px rgba(109, 53, 168, 0.20) !important;
}

@media (max-width: 430px) {
  body.home-page .home-topbar,
  html.is-tg-fullscreen body.home-page .home-topbar,
  html.is-telegram-webapp body.home-page .home-topbar {
    grid-template-columns: 50px minmax(0, 1fr) 50px !important;
    min-height: 116px !important;
    padding-inline: 22px !important;
  }

  body.home-page .home-topbar-icon {
    width: 48px !important;
    height: 48px !important;
  }

  body.home-page .home-topbar .brand-logo {
    width: min(138px, 36vw) !important;
    height: 60px !important;
  }

  body.home-page .content.with-bottom-nav {
    padding-inline: 16px !important;
  }

  body.home-page .search-card,
  html.is-telegram-webapp body.home-page .search-card {
    border-radius: 24px !important;
  }

  body.home-page .search-row {
    height: 62px !important;
    min-height: 62px !important;
    padding-left: 16px !important;
    border-radius: 20px !important;
  }

  body.home-page #search-input {
    font-size: 16px !important;
  }

  body.home-page #filter-open {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
  }

  body.home-page .quick-filter-section {
    margin-inline: -16px !important;
    padding-inline: 16px !important;
  }

  body.home-page .quick-filter-chip {
    min-height: 48px !important;
    padding: 0 18px !important;
    font-size: 15px !important;
  }

  body.home-page .home-results-heading h2 {
    font-size: 24px !important;
  }

  body.home-page .home-results-heading p,
  body.home-page .view-all-link {
    font-size: 14px !important;
  }

  body.home-page .listing-card-target .card-main {
    grid-template-columns: minmax(142px, 42%) minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 12px 12px 0 !important;
  }

  body.home-page .listing-card-target .image-wrap.compact-image {
    height: 204px !important;
    min-height: 204px !important;
    border-radius: 22px !important;
  }

  body.home-page .listing-card-target .price-main {
    margin-bottom: 9px !important;
    font-size: 21px !important;
  }

  body.home-page .listing-card-target .location-row {
    margin-bottom: 10px !important;
    font-size: 14px !important;
  }

  body.home-page .listing-card-target .info-chips {
    gap: 7px !important;
  }

  body.home-page .listing-card-target .info-chips span {
    min-height: 31px !important;
    padding: 0 9px !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
  }

  body.home-page .listing-card-target .info-chips svg {
    width: 17px !important;
    height: 17px !important;
  }

  body.home-page .listing-card-target .cta-row {
    gap: 10px !important;
    padding: 12px !important;
  }

  body.home-page .listing-card-target .save-btn,
  body.home-page .listing-card-target .call-btn {
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 17px !important;
    font-size: 15.5px !important;
  }
}

@media (max-width: 370px) {
  body.home-page .listing-card-target .card-main {
    grid-template-columns: minmax(128px, 40%) minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.home-page .listing-card-target .image-wrap.compact-image {
    height: 188px !important;
    min-height: 188px !important;
  }

  body.home-page .listing-card-target .price-main {
    font-size: 18px !important;
  }

  body.home-page .listing-card-target .info-chips span {
    font-size: 11.5px !important;
  }
}

/* ===== Home card-first redesign v68 ===== */
body.home-page {
  background:
    radial-gradient(circle at 50% -8%, rgba(141, 77, 226, 0.14), transparent 34%),
    linear-gradient(180deg, #fbf9ff 0%, #f7f2ff 44%, #fbf9ff 100%) !important;
  color: #170c2f !important;
}

body.home-page .topbar {
  min-height: 126px !important;
  padding: calc(env(safe-area-inset-top) + 14px) 26px 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

html.is-telegram-webapp body.home-page .topbar {
  padding-top: calc(var(--tg-content-safe-top, env(safe-area-inset-top, 0px)) + 12px) !important;
}

body.home-page .topbar::before,
body.home-page .topbar::after {
  content: none !important;
}

body.home-page .topbar-icon {
  width: 58px !important;
  height: 58px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(109, 53, 168, 0.09) !important;
  color: #6d35a8 !important;
  box-shadow: 0 14px 28px rgba(74, 38, 122, 0.12) !important;
}

body.home-page .topbar-logo {
  width: 154px !important;
  height: 78px !important;
  filter: drop-shadow(0 10px 18px rgba(109, 53, 168, 0.14)) !important;
}

body.home-page .search-card,
html.is-telegram-webapp body.home-page .search-card,
body.home-page .quick-filter-section,
body.home-page .home-results-heading {
  display: none !important;
}

body.home-page .content {
  padding: 0 18px calc(96px + env(safe-area-inset-bottom)) !important;
  background: transparent !important;
}

body.home-page .listing-list {
  gap: 18px !important;
  padding-top: 0 !important;
}

body.home-page .listing-card-target {
  border-radius: 26px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(109, 53, 168, 0.08) !important;
  box-shadow: 0 16px 36px rgba(31, 18, 53, 0.10) !important;
  overflow: hidden !important;
}

body.home-page .listing-card-target .card-main {
  grid-template-columns: minmax(172px, 43%) minmax(0, 1fr) !important;
  gap: 18px !important;
  padding: 14px 14px 12px !important;
  align-items: stretch !important;
}

body.home-page .listing-card-target .image-wrap.compact-image {
  height: 222px !important;
  min-height: 222px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #efe8f9 !important;
}

body.home-page .listing-card-target .image-wrap.compact-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.home-page .listing-card-target .card-content {
  min-width: 0 !important;
  padding: 2px 2px 0 0 !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

body.home-page .listing-card-target .listing-title {
  display: none !important;
}

body.home-page .listing-card-target .price-main {
  color: #160b30 !important;
  font-size: 28px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  margin: 6px 0 2px !important;
}

body.home-page .listing-card-target .location-line {
  color: #6f6786 !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  margin: 0 0 4px !important;
}

body.home-page .listing-card-target .location-line svg {
  width: 21px !important;
  height: 21px !important;
  color: #6d35a8 !important;
}

body.home-page .listing-card-target .info-chips {
  gap: 9px !important;
  align-content: flex-start !important;
}

body.home-page .listing-card-target .info-chips span {
  min-height: 38px !important;
  padding: 8px 13px !important;
  border-radius: 12px !important;
  background: #f5effb !important;
  color: #61577a !important;
  border: 0 !important;
  font-size: 15px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

body.home-page .listing-card-target .info-chips svg {
  width: 20px !important;
  height: 20px !important;
  color: #6d35a8 !important;
  stroke-width: 2.4 !important;
}

body.home-page .listing-card-target .amenities-line {
  display: none !important;
}

body.home-page .listing-card-target .badge-row,
body.home-page .listing-card-target .property-badge {
  display: none !important;
}

body.home-page .listing-card-target .gender-badge {
  top: 16px !important;
  left: 16px !important;
  height: 42px !important;
  padding: 0 18px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #7c36c7 0%, #9b45df 100%) !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 20px rgba(87, 34, 145, 0.28) !important;
}

body.home-page .listing-card-target .photo-count {
  left: 16px !important;
  bottom: 16px !important;
  height: 44px !important;
  padding: 0 15px !important;
  border-radius: 14px !important;
  background: rgba(32, 19, 45, 0.72) !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

body.home-page .listing-card-target .photo-count svg {
  width: 22px !important;
  height: 22px !important;
}

body.home-page .listing-card-target .cta-row {
  border-top: 1px solid rgba(109, 53, 168, 0.10) !important;
  gap: 16px !important;
  padding: 12px 14px 14px !important;
}

body.home-page .listing-card-target .save-btn,
body.home-page .listing-card-target .call-btn {
  height: 56px !important;
  min-height: 56px !important;
  border-radius: 18px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

body.home-page .listing-card-target .save-btn {
  border: 1px solid rgba(109, 53, 168, 0.20) !important;
  background: #ffffff !important;
  color: #6d35a8 !important;
}

body.home-page .listing-card-target .call-btn {
  background: linear-gradient(135deg, #6327aa 0%, #913fe2 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(109, 53, 168, 0.22) !important;
}

@media (max-width: 430px) {
  body.home-page .topbar {
    min-height: 118px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.home-page .topbar-icon {
    width: 54px !important;
    height: 54px !important;
    border-radius: 17px !important;
  }

  body.home-page .topbar-logo {
    width: 142px !important;
    height: 72px !important;
  }

  body.home-page .content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.home-page .listing-card-target .card-main {
    grid-template-columns: minmax(154px, 42%) minmax(0, 1fr) !important;
    gap: 13px !important;
    padding: 12px !important;
  }

  body.home-page .listing-card-target .image-wrap.compact-image {
    height: 206px !important;
    min-height: 206px !important;
    border-radius: 20px !important;
  }

  body.home-page .listing-card-target .price-main {
    font-size: 23px !important;
  }

  body.home-page .listing-card-target .location-line {
    font-size: 14.5px !important;
  }

  body.home-page .listing-card-target .info-chips {
    gap: 7px !important;
  }

  body.home-page .listing-card-target .info-chips span {
    min-height: 34px !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
  }

  body.home-page .listing-card-target .info-chips svg {
    width: 18px !important;
    height: 18px !important;
  }

  body.home-page .listing-card-target .gender-badge {
    height: 36px !important;
    padding: 0 13px !important;
    font-size: 14px !important;
  }

  body.home-page .listing-card-target .photo-count {
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
  }

  body.home-page .listing-card-target .save-btn,
  body.home-page .listing-card-target .call-btn {
    height: 50px !important;
    min-height: 50px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 370px) {
  body.home-page .listing-card-target .card-main {
    grid-template-columns: minmax(136px, 41%) minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.home-page .listing-card-target .image-wrap.compact-image {
    height: 184px !important;
    min-height: 184px !important;
  }

  body.home-page .listing-card-target .price-main {
    font-size: 20px !important;
  }

  body.home-page .listing-card-target .info-chips span {
    min-height: 31px !important;
    font-size: 11.5px !important;
    padding: 6px 8px !important;
  }
}

/* ===== Home search + compact listing redesign v69 ===== */
:root {
  --st-primary: #6d35a8;
  --st-primary-dark: #4b1d7a;
  --st-bg: #faf8ff;
  --st-card-bg: #ffffff;
  --st-border: rgba(109, 53, 168, 0.12);
  --st-text: #1f1235;
  --st-muted: #746b86;
}

body.home-page {
  background:
    radial-gradient(circle at 48% -10%, rgba(139, 61, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #fffdff 0%, #faf8ff 42%, #ffffff 100%) !important;
  color: var(--st-text) !important;
}

body.home-page .app-shell {
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  background: transparent !important;
  overflow-x: hidden !important;
}

body.home-page .home-topbar {
  display: grid !important;
  grid-template-columns: 56px 1fr 56px !important;
  align-items: center !important;
  min-height: 118px !important;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) 28px 16px !important;
  gap: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
}

html.is-telegram-webapp body.home-page .home-topbar {
  padding-top: calc(var(--tg-content-safe-top, env(safe-area-inset-top, 0px)) + 18px) !important;
}

body.home-page .home-topbar-icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(109, 53, 168, 0.10) !important;
  color: var(--st-primary) !important;
  box-shadow: 0 14px 30px rgba(31, 18, 53, 0.10) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.home-page .home-topbar-icon svg {
  width: 26px !important;
  height: 26px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.3 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body.home-page .brand-logo {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-width: 0 !important;
}

body.home-page .brand-logo-img {
  width: 144px !important;
  height: auto !important;
  display: block !important;
  filter: drop-shadow(0 12px 20px rgba(109, 53, 168, 0.14)) !important;
}

body.home-page .home-notification-btn {
  position: relative !important;
}

body.home-page .home-notification-btn > span {
  position: absolute !important;
  width: 12px !important;
  height: 12px !important;
  top: 11px !important;
  right: 11px !important;
  border-radius: 999px !important;
  background: #8b3dff !important;
  border: 2px solid #fff !important;
}

body.home-page .content {
  padding: 0 20px calc(104px + env(safe-area-inset-bottom, 0px)) !important;
  background: transparent !important;
}

body.home-page .search-card,
html.is-telegram-webapp body.home-page .search-card {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 12px !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(109, 53, 168, 0.08) !important;
  box-shadow: 0 18px 38px rgba(31, 18, 53, 0.10) !important;
}

body.home-page .search-row {
  height: 62px !important;
  min-height: 62px !important;
  border-radius: 21px !important;
  background: #fff !important;
  border: 1px solid rgba(109, 53, 168, 0.10) !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 56px !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 8px 0 16px !important;
}

body.home-page .search-leading-icon,
body.home-page .search-leading-icon svg {
  width: 28px !important;
  height: 28px !important;
  color: var(--st-primary) !important;
}

body.home-page .search-row input {
  min-width: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--st-text) !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  padding: 0 !important;
  outline: none !important;
}

body.home-page .search-row input::placeholder {
  color: #81778f !important;
  opacity: 1 !important;
}

body.home-page .search-submit-inline {
  display: none !important;
}

body.home-page #filter-open {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #6d35a8 0%, #9447e6 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 12px 24px rgba(109, 53, 168, 0.24) !important;
}

body.home-page #filter-open svg {
  width: 26px !important;
  height: 26px !important;
  stroke-width: 2.6 !important;
}

body.home-page .quick-filter-section {
  display: block !important;
  margin: 0 -20px 20px !important;
  overflow: hidden !important;
}

body.home-page .quick-filter-row {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  padding: 0 20px 2px !important;
  scroll-snap-type: x proximity !important;
}

body.home-page .quick-filter-row::-webkit-scrollbar {
  display: none !important;
}

body.home-page .quick-filter-chip {
  flex: 0 0 auto !important;
  height: 48px !important;
  min-width: 0 !important;
  padding: 0 18px !important;
  border-radius: 17px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(109, 53, 168, 0.10) !important;
  color: var(--st-text) !important;
  box-shadow: 0 10px 24px rgba(31, 18, 53, 0.08) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
}

body.home-page .quick-filter-chip.is-active {
  background: linear-gradient(135deg, #6d35a8 0%, #8b3dff 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 14px 26px rgba(109, 53, 168, 0.22) !important;
}

body.home-page .quick-filter-chip .chip-symbol {
  width: 20px !important;
  height: 20px !important;
  display: inline-block !important;
  background-color: currentColor !important;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6' height='6' rx='1'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1'/%3E%3Crect x='4' y='14' width='6' height='6' rx='1'/%3E%3Crect x='14' y='14' width='6' height='6' rx='1'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.home-page .quick-filter-chip[data-quick-filter="boys"] .chip-symbol,
body.home-page .quick-filter-chip[data-quick-filter="girls"] .chip-symbol {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 1 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/g%3E%3C/svg%3E") !important;
}

body.home-page .quick-filter-chip[data-quick-filter="apartment"] .chip-symbol {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16'/%3E%3Cpath d='M16 8h2a2 2 0 0 1 2 2v11'/%3E%3Cpath d='M8 7h4M8 11h4M8 15h4M7 21h10'/%3E%3C/g%3E%3C/svg%3E") !important;
}

body.home-page .quick-filter-chip[data-quick-filter="today"] .chip-symbol {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4'/%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/g%3E%3C/svg%3E") !important;
}

body.home-page .home-results-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 0 14px !important;
  padding: 0 2px !important;
}

body.home-page .home-results-heading h2 {
  margin: 0 !important;
  color: #130727 !important;
  font-size: 29px !important;
  line-height: 1.03 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

body.home-page .home-results-heading p {
  margin: 5px 0 0 !important;
  color: #7d738c !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

body.home-page .view-all-link {
  flex: 0 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--st-primary) !important;
  font-size: 15px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body.home-page .cards,
body.home-page .listing-list {
  display: grid !important;
  gap: 16px !important;
  padding: 0 !important;
}

body.home-page .listing-card-target {
  border-radius: 26px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(109, 53, 168, 0.07) !important;
  box-shadow: 0 14px 34px rgba(31, 18, 53, 0.09) !important;
  overflow: hidden !important;
}

body.home-page .listing-card-target .card-main {
  display: grid !important;
  grid-template-columns: minmax(156px, 41%) minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: stretch !important;
  padding: 14px 14px 10px !important;
}

body.home-page .listing-card-target .image-wrap.compact-image {
  height: 196px !important;
  min-height: 196px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #efe8f9 !important;
}

body.home-page .listing-card-target .photo-collage,
body.home-page .listing-card-target .photo-collage img,
body.home-page .listing-card-target .image-wrap.compact-image > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.home-page .listing-card-target .card-body {
  min-width: 0 !important;
  padding: 2px 0 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}

body.home-page .listing-card-target .price-main {
  display: block !important;
  margin: 0 !important;
  color: #14082c !important;
  font-size: 27px !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

body.home-page .listing-card-target .location-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  color: #776f8a !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

body.home-page .listing-card-target .location-row span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.home-page .listing-card-target .location-row svg {
  width: 19px !important;
  height: 19px !important;
  flex: 0 0 19px !important;
  color: var(--st-primary) !important;
  stroke-width: 2.5 !important;
}

body.home-page .listing-card-target .info-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  align-content: flex-start !important;
}

body.home-page .listing-card-target .info-chips span {
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 31px !important;
  padding: 6px 9px !important;
  border-radius: 11px !important;
  background: #f5effb !important;
  color: #655a7c !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

body.home-page .listing-card-target .info-chips span svg {
  width: 17px !important;
  height: 17px !important;
  flex: 0 0 17px !important;
  color: var(--st-primary) !important;
  stroke-width: 2.45 !important;
}

body.home-page .listing-card-target .info-chips span:nth-child(n+5) {
  max-width: 100% !important;
}

body.home-page .listing-card-target .info-chips span:nth-child(n+5) {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.home-page .listing-card-target .listing-title,
body.home-page .listing-card-target .amenities-line,
body.home-page .listing-card-target .badge-row,
body.home-page .listing-card-target .property-badge {
  display: none !important;
}

body.home-page .listing-card-target .tag.audience,
body.home-page .listing-card-target .gender-badge {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  right: auto !important;
  height: 38px !important;
  max-width: calc(100% - 32px) !important;
  padding: 0 15px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #7b35c7 0%, #9a43df 100%) !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 38px !important;
  font-weight: 900 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 20px rgba(109, 53, 168, 0.24) !important;
}

body.home-page .listing-card-target .tag.audience.audience-girls {
  background: linear-gradient(135deg, #bf3bd8 0%, #db61ef 100%) !important;
}

body.home-page .listing-card-target .photo-count {
  left: 16px !important;
  bottom: 16px !important;
  height: 38px !important;
  padding: 0 13px !important;
  border-radius: 13px !important;
  background: rgba(31, 18, 53, 0.72) !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 38px !important;
  font-weight: 900 !important;
  gap: 6px !important;
}

body.home-page .listing-card-target .photo-count svg {
  width: 19px !important;
  height: 19px !important;
}

body.home-page .listing-card-target .cta-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) !important;
  gap: 12px !important;
  padding: 0 14px 14px !important;
  border-top: 0 !important;
}

body.home-page .listing-card-target .save-btn,
body.home-page .listing-card-target .call-btn {
  height: 50px !important;
  min-height: 50px !important;
  border-radius: 17px !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

body.home-page .listing-card-target .save-btn {
  border: 1px solid rgba(109, 53, 168, 0.18) !important;
  background: #fff !important;
  color: var(--st-primary) !important;
}

body.home-page .listing-card-target .call-btn {
  background: linear-gradient(135deg, #6829b0 0%, #9245e1 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(109, 53, 168, 0.22) !important;
}

body.home-page .listing-card-target .save-btn svg,
body.home-page .listing-card-target .call-btn svg {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
}

body.home-page .bottom-nav {
  position: fixed !important;
  left: 16px !important;
  right: 16px !important;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 10px) !important;
  width: calc(100% - 32px) !important;
  max-width: 430px !important;
  height: 72px !important;
  margin: 0 auto !important;
  padding: 6px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  align-items: center !important;
  gap: 0 !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(109, 53, 168, 0.10) !important;
  box-shadow: 0 12px 32px rgba(31, 18, 53, 0.12) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  overflow: hidden !important;
  z-index: 80 !important;
}

body.home-page .bottom-nav-item {
  height: 60px !important;
  border-radius: 18px !important;
  color: #6f6a78 !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 800 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  text-decoration: none !important;
  position: relative !important;
}

body.home-page .bottom-nav-item.is-active {
  background: linear-gradient(180deg, #f4eafe 0%, #efe3ff 100%) !important;
  color: var(--st-primary) !important;
  box-shadow: inset 0 0 0 1px rgba(109, 53, 168, 0.08) !important;
}

body.home-page .bottom-nav-item.is-active::after {
  content: "" !important;
  width: 34px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: #8b3dff !important;
  position: absolute !important;
  bottom: 7px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

body.home-page .bottom-nav-icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke-width: 2.2 !important;
}

@media (max-width: 430px) {
  body.home-page .home-topbar {
    min-height: 108px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    grid-template-columns: 52px 1fr 52px !important;
  }

  body.home-page .home-topbar-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 17px !important;
  }

  body.home-page .brand-logo-img {
    width: 124px !important;
  }

  body.home-page .content {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.home-page .quick-filter-section {
    margin-left: -16px !important;
    margin-right: -16px !important;
  }

  body.home-page .quick-filter-row {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.home-page .home-results-heading h2 {
    font-size: 28px !important;
  }

  body.home-page .listing-card-target .card-main {
    grid-template-columns: minmax(152px, 40%) minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 12px 12px 8px !important;
  }

  body.home-page .listing-card-target .image-wrap.compact-image {
    height: 185px !important;
    min-height: 185px !important;
    border-radius: 20px !important;
  }

  body.home-page .listing-card-target .price-main {
    font-size: 23px !important;
  }

  body.home-page .listing-card-target .location-row {
    font-size: 14px !important;
  }

  body.home-page .listing-card-target .info-chips {
    gap: 6px !important;
  }

  body.home-page .listing-card-target .info-chips span {
    min-height: 29px !important;
    padding: 5px 8px !important;
    font-size: 12.2px !important;
  }

  body.home-page .listing-card-target .info-chips span svg {
    width: 16px !important;
    height: 16px !important;
    flex-basis: 16px !important;
  }

  body.home-page .listing-card-target .cta-row {
    gap: 10px !important;
    padding: 0 12px 12px !important;
  }
}

@media (max-width: 370px) {
  body.home-page .home-topbar {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.home-page .content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.home-page .search-row {
    grid-template-columns: 30px minmax(0, 1fr) 50px !important;
    height: 58px !important;
    min-height: 58px !important;
  }

  body.home-page #filter-open {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
  }

  body.home-page .quick-filter-chip {
    height: 44px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
  }

  body.home-page .listing-card-target .card-main {
    grid-template-columns: minmax(132px, 39%) minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  body.home-page .listing-card-target .image-wrap.compact-image {
    height: 164px !important;
    min-height: 164px !important;
  }

  body.home-page .listing-card-target .price-main {
    font-size: 20px !important;
  }

  body.home-page .listing-card-target .info-chips span {
    min-height: 27px !important;
    font-size: 11px !important;
    padding: 5px 7px !important;
  }

  body.home-page .listing-card-target .save-btn,
  body.home-page .listing-card-target .call-btn {
    height: 46px !important;
    min-height: 46px !important;
    font-size: 13.5px !important;
  }

  body.home-page .bottom-nav {
    left: 12px !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
    height: 68px !important;
    border-radius: 22px !important;
  }

  body.home-page .bottom-nav-item {
    height: 56px !important;
    font-size: 12px !important;
  }
}
