:root {
  --bg: #f6f7fa;
  --bg-elev: #ffffff;
  --bg-soft: #f1f3f7;
  --ink: #212c3a;
  --muted: #8d94ad;
  --line: #e8eaf0;
  --brand: #ff003c;
  --brand-dark: #d90033;
  --brand-soft: #fff0f4;
  --orange: var(--brand);
  --orange-dark: var(--brand-dark);
  --orange-soft: var(--brand-soft);
  --green: #3db460;
  --green-dark: #32914e;
  --blue: #4264fd;
  --vip: #ffc107;
  --premium: #4264fd;
  --danger: #ff003c;
  --radius: 8px;
  --nav-h: 64px;
  --max: 1180px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --accent: var(--brand);
  --accent-2: var(--green);
  --red: var(--brand);
  --red-dark: var(--brand-dark);
  --accent-soft: var(--brand-soft);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  font-feature-settings: "ss01" on, "cv11" on;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin: 0; color: var(--ink); }

.app-shell {
  min-height: 100dvh;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}

/* ?? bina.az tipli 3-s?tirli header ?? */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(33, 44, 58, .03);
}
.hz-top-inner,
.hz-search-inner,
.hz-pills-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}
.hz-top { border-bottom: 1px solid var(--line); }
.hz-top-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hz-top-left,
.hz-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.05em;
  color: var(--brand);
  flex-shrink: 0;
  line-height: 1;
}
.brand-mark-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 0, 60, .2);
}
.brand-mark span { color: var(--ink); font-weight: 700; }
.hz-links {
  display: none;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.hz-links a:hover,
.hz-links a.active { color: var(--brand); }
.hz-links .hz-reels { color: var(--brand); font-weight: 700; }
.hz-lang {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.hz-lang:hover { color: var(--ink); }
.hz-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  position: relative;
}
.hz-icon-btn svg { width: 20px; height: 20px; }
.hz-icon-btn:hover { background: var(--bg); }
.hz-fav-btn.is-active,
.hz-fav-btn:has(.hz-fav-badge:not([hidden])) { color: var(--brand); }
.hz-fav-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.hz-fav-badge[hidden] { display: none !important; }
.hz-drawer-count {
  margin-left: auto;
  margin-right: 6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hz-drawer-count[hidden] { display: none !important; }
.hz-drawer-links a:has(.hz-drawer-count) .hz-drawer-chev { margin-left: 0; }
.hz-menu-btn { display: grid; }
.btn-post {
  height: 36px;
  padding: 0 14px 0 10px;
  border: 0;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-post-plus {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
}
.btn-post:hover { background: var(--brand-dark); color: #fff; }
.btn-login {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.btn-login:hover { background: var(--bg); }
.hz-search {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.hz-search-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.hz-select,
.hz-price-btn,
.btn-filter,
.btn-search {
  height: 40px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.hz-select,
.hz-price-btn {
  border: 1px solid var(--line);
  background-color: #fff;
  color: var(--ink);
  padding: 0 28px 0 12px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238d94ad' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  min-width: 0;
}
.hz-dd { position: relative; flex: 0 0 auto; }
.hz-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  min-width: 118px;
  max-width: 180px;
  white-space: nowrap;
}
.hz-dd-btn [data-dd-label] {
  overflow: hidden;
  text-overflow: ellipsis;
}
.hz-dd-ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted);
}
.hz-dd-btn.has-value,
.hz-dd-btn[aria-expanded="true"] {
  border-color: var(--brand);
  color: var(--brand);
  background-color: var(--brand-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ff003c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.hz-dd-btn.has-value .hz-dd-ico,
.hz-dd-btn[aria-expanded="true"] .hz-dd-ico { color: var(--brand); }
.hz-dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 80;
  min-width: 200px;
  width: max-content;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(33,44,58,.12);
  display: grid;
  gap: 2px;
  max-height: 320px;
  overflow: auto;
}
.hz-dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}
.hz-dd-item:hover { background: var(--bg); }
.hz-dd-item.is-selected {
  color: var(--brand);
  background: var(--brand-soft);
}
.hz-dd-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0;
}
.hz-dd-item.is-selected .hz-dd-check { opacity: 1; }
.hz-dd-rooms { min-width: 118px; }
.hz-price { position: relative; flex: 0 0 auto; }
.hz-price-btn {
  width: 148px;
  max-width: 180px;
  text-align: left;
}
.hz-price-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 80;
  width: 220px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(33,44,58,.12);
  display: grid;
  gap: 8px;
}
.hz-dd-menu[hidden],
.hz-price-pop[hidden] { display: none !important; }
.hz-price-pop label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.hz-price-pop input {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
}
.hz-price-apply {
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.hz-q {
  flex: 1;
  min-width: 160px;
  height: 40px;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.hz-q:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 0, 60, .08);
}
.hz-q input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0 12px;
  min-width: 0;
  background: transparent;
  font-weight: 500;
}
.hz-q input::placeholder { color: var(--muted); font-weight: 500; }
.hz-city {
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  padding: 0 10px;
  max-width: 110px;
  cursor: pointer;
}
.btn-filter {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-filter:hover { background: var(--bg); }
.btn-search {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-search:hover { background: var(--brand-dark); }
.hz-pills { background: #fff; }
.hz-pills-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 10px;
}
.hz-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
  flex: 1;
}
.hz-pills-row::-webkit-scrollbar { display: none; }
.hz-pill {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.hz-pill svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); }
.hz-pill:hover,
.hz-pill.active {
  background: var(--brand-soft);
  color: var(--brand);
}
.hz-pill.active svg,
.hz-pill:hover svg { color: var(--brand); }
.hz-today {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.hz-today strong { font-weight: 800; }
.hz-drawer[hidden] { display: none !important; }
.hz-drawer { position: fixed; inset: 0; z-index: 90; }
.hz-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .42);
  opacity: 0;
  transition: opacity .25s ease;
}
.hz-drawer.is-open .hz-drawer-backdrop { opacity: 1; }
.hz-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: #fff;
  padding: 16px 14px 20px;
  box-shadow: 12px 0 40px rgba(0,0,0,.16);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateX(-104%);
  transition: transform .28s ease;
  overflow: auto;
}
.hz-drawer.is-open .hz-drawer-panel { transform: translateX(0); }
.hz-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 8px;
}
.hz-drawer-close { background: var(--bg); }
.hz-drawer-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: var(--bg);
}
.hz-drawer-user strong { display: block; font-size: 14px; }
.hz-drawer-user small { color: var(--muted); font-size: 12px; }
.hz-drawer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.hz-drawer-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hz-auth-btn {
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
}
.hz-auth-btn svg { width: 16px; height: 16px; }
.hz-auth-login {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.hz-auth-register {
  background: var(--brand);
  color: #fff;
}
.hz-drawer-links { display: grid; gap: 4px; }
.hz-drawer-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}
.hz-drawer-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hz-drawer-ico svg { width: 17px; height: 17px; }
.hz-drawer-chev { width: 16px; height: 16px; margin-left: auto; color: #c3c8d4; }
.hz-drawer-links a:hover,
.hz-drawer-links a.active {
  background: var(--brand-soft);
  color: var(--brand);
}
.hz-drawer-links a.active .hz-drawer-ico,
.hz-drawer-links a:hover .hz-drawer-ico {
  background: #fff;
  color: var(--brand);
}
.hz-drawer-out { margin-top: auto; }
.hz-drawer-out button {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}
body.nav-open { overflow: hidden; }
.site-header-inner,
.header-search,
.desk-nav,
.header-actions,
.header-sub { display: none !important; }
@media (min-width: 980px) {
  .hz-menu-btn { display: none; }
  .hz-links { display: flex; }
  .hz-top-inner { min-height: 58px; }
}
.hz-m-deals,
.hz-m-sliders { display: none; }
@media (max-width: 979px) {
  .hz-top { border-bottom: 0; }
  .hz-top-inner { min-height: 52px; padding: 4px 14px 0; }
  .hz-top-right .hz-icon-btn { display: none; }
  .hz-top-right .hz-fav-btn { display: grid; }
  .hz-top-right .hz-lang { display: inline; font-weight: 700; }
  .hz-top-right .btn-login { display: none; }
  .btn-post {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .btn-post-txt { display: none; }
  .btn-post-plus {
    width: 36px;
    height: 36px;
    background: transparent;
    font-size: 22px;
  }
  .hz-m-deals {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .hz-m-deals::-webkit-scrollbar { display: none; }
  .hz-m-chip {
    flex: 0 0 auto;
    height: 38px;
    padding: 0 14px 0 10px;
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: 0;
  }
  .hz-m-chip svg { width: 16px; height: 16px; color: var(--muted); }
  .hz-m-chip.active {
    background: #fff;
    box-shadow: 0 0 0 1px var(--line);
    color: var(--brand);
  }
  .hz-m-chip.active svg { color: var(--brand); }
  .hz-m-chip-ico { width: 38px; padding: 0; justify-content: center; }
  .hz-search { border-bottom: 0; padding: 8px 0 4px; }
  .hz-search-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
  }
  .hz-dd,
  .btn-search,
  .btn-filter { display: none !important; }
  .hz-q {
    flex: 1;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--bg);
  }
  .hz-q:focus-within { box-shadow: 0 0 0 3px rgba(255, 0, 60, .08); }
  .hz-m-sliders {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--bg);
    color: var(--ink);
    flex-shrink: 0;
    cursor: pointer;
  }
  .hz-m-sliders svg { width: 20px; height: 20px; }
  .hz-today { display: none; }
  .hz-pills { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .brand-mark { font-size: 20px; }
  .hz-pills-inner { padding: 6px 14px 10px; }
}

.chip {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}
.chip:hover, .chip.active {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.chip-cta {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
  font-weight: 700;
}

/* ?? TikTok feed (mobil) ?? */
.feed-viewport {
  height: calc(100dvh - 118px - var(--nav-h) - env(safe-area-inset-bottom));
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  background: #0f1218;
}
.feed-card {
  position: relative;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: #111;
}
.feed-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feed-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,18,24,.4) 0%, transparent 28%),
    linear-gradient(0deg, rgba(15,18,24,.85) 0%, transparent 48%);
  pointer-events: none;
}
.feed-meta {
  position: absolute;
  left: 16px;
  right: 72px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
}
.feed-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  line-height: 1;
}
.badge svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.badge.vip { background: var(--vip); color: #212c3a; }
.badge.premium { background: var(--premium); color: #fff; }
.badge.urgent { background: var(--brand); color: #fff; }
.badge.video { background: rgba(33,44,58,.82); color: #fff; }
.tile-ribbons .badge {
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
  backdrop-filter: blur(4px);
}
.cat-ico.urg { color: var(--brand); }
.cat.active .cat-ico.urg {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 6px 14px rgba(255, 0, 60, .18);
}
.feed-price {
  font-size: clamp(22px, 5.5vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 0 0 6px;
}
.feed-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-loc { margin: 0 0 8px; font-size: 13px; opacity: .85; }
.feed-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  opacity: .92;
}
.feed-views svg { width: 16px; height: 16px; }
.feed-specs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.feed-specs span {
  background: rgba(255,255,255,.14);
  padding: 4px 8px;
  border-radius: 6px;
}
.feed-actions {
  position: absolute;
  right: 12px;
  bottom: 80px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  color: #fff;
}
.action-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.35);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.action-wrap { text-align: center; font-size: 11px; opacity: .9; }
.action-btn.is-saved,
.js-save.is-saved { color: #ffd36a; }
.reels-phone .feed-viewport,
body.reels-on .feed-viewport { scroll-snap-type: y mandatory; }

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 16px 32px;
}
.page h1 { font-size: 20px; margin: 0 0 12px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 12px;
}
.section-head h2 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.section-head a { color: var(--orange); font-size: 13px; font-weight: 600; }

.desk-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.desk-toolbar .count { color: var(--muted); font-size: 13px; }

/* ?? Elan kartlar? (tap.az ?slubu) ?? */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
}
.ad-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
}
.ad-media {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 1 / 1;
}
.ad-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ad-shop {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  background: #4264fd;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}
.ad-reels-dot,
.ad-video-tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  height: 26px;
  padding: 0 8px 0 6px;
  border-radius: 8px;
  background: rgba(15, 18, 24, .72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.ad-video-tag svg,
.ad-reels-dot svg { width: 12px; height: 12px; flex-shrink: 0; }
.ad-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.35));
  padding: 0;
}
.ad-heart svg { width: 22px; height: 22px; }
.ad-heart:hover { color: var(--brand); }
.ad-heart.is-saved { color: var(--brand); }

.fav-page .lf-top { margin-bottom: 18px; }
.fav-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.fav-count-pill {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}
.fav-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 18px rgba(33, 44, 58, .03);
}
.fav-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.fav-mode-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.fav-mode-btn span {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fav-mode-btn.is-on {
  color: #fff;
  background: linear-gradient(145deg, var(--brand), #ff4d73);
  box-shadow: 0 8px 18px rgba(255, 0, 60, .22);
}
.fav-mode-btn.is-on span {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}
.fav-mode-btn.is-dim { opacity: .72; }
.fav-mode-compact {
  display: inline-flex;
  grid-template-columns: none;
  width: auto;
  margin: 0;
  padding: 4px;
  border-radius: 999px;
  box-shadow: none;
}
.fav-mode-compact .fav-mode-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
}
.fav-reels-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 16, 24, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1b2230;
}
.fav-reels-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.fav-reels-back {
  color: #d7deea;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.fav-reels-back:hover { color: #fff; }
.fav-reels-count {
  color: #9aa6b8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
body.reels-on .fav-reels-bar { display: block; }
.fav-empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 20px;
  text-align: center;
}
.fav-empty-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.fav-empty-ico svg { width: 28px; height: 28px; }
.fav-empty strong { display: block; font-size: 18px; margin-bottom: 6px; }
.fav-empty p { margin: 0 0 16px; color: var(--muted); }
.fav-empty .btn { width: auto; min-width: 160px; margin: 0 auto; }
.fav-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.fav-empty-actions .btn { margin: 0; }
.ad-body {
  position: relative;
  padding: 8px 2px 0;
}
.ad-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.ad-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.2;
  min-width: 0;
}
.ad-share {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin: -2px -2px 0 0;
  border: 0;
  border-radius: 8px;
  background: #e8f6ee;
  color: #1f9d57;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.ad-share svg { width: 14px; height: 14px; }
.ad-share:hover {
  background: #d7f0e2;
  color: #167a42;
  transform: translateY(-1px);
}
.ad-share.is-copied {
  background: #1f9d57;
  color: #fff;
}
.ad-title {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ad-specs {
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  padding-right: 44px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-flags {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.flag {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}
.flag svg { width: 16px; height: 16px; }
.flag-vip { color: #f5a623; }
.flag-premium { color: #ff003c; }
.flag-urgent { color: #ff4f08; }

/* k?hn? tile fallback */
.listing-tile { display: none; }

.prop-cats {
  margin: 0 0 20px;
}
.prop-cats-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  margin: 0 0 14px;
}
.prop-cats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.prop-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--ink);
  min-width: 0;
}
.prop-cat-ico {
  width: 100%;
  aspect-ratio: 1;
  max-width: 112px;
  border-radius: 18px;
  background: #eef1f6;
  display: grid;
  place-items: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.prop-cat-ico svg { width: 68%; height: 68%; }
.prop-cat-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  max-width: 110px;
}
.prop-cat:hover .prop-cat-ico,
.prop-cat.active .prop-cat-ico {
  background: #e7ebf3;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(33,44,58,.08);
}
.prop-cat.active .prop-cat-name { color: var(--brand); }

@media (min-width: 768px) {
  .prop-cats-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }
  .prop-cats-title { font-size: 22px; }
  .prop-cat-name { font-size: 13px; max-width: 130px; }
  .prop-cat-ico { border-radius: 22px; max-width: none; }
}

.reels-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, #1a1a1a 0%, #2d1220 45%, #ff003c 160%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(255, 0, 60, .18);
}
.reels-banner strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.reels-banner span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  opacity: .82;
}
.reels-banner .go {
  flex-shrink: 0;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 999px;
}
.cat.reels .cat-ico {
  background: linear-gradient(135deg, #ff003c, #ff7a00 55%, #f5c518);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(255,0,60,.25);
}
.cat.reels.active .cat-ico,
.cat.reels:hover .cat-ico {
  transform: scale(1.04);
  box-shadow: 0 0 0 2px rgba(255,0,60,.35), 0 8px 16px rgba(255,0,60,.25);
}
.cat.reels { color: var(--brand); }

.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.store-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-width: 0;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.store-card:hover {
  border-color: #d7dbe4;
  box-shadow: 0 10px 24px rgba(33, 44, 58, .07);
}
.store-card:active { transform: scale(.995); }
.store-card-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--bg);
  border: 1px solid rgba(232, 234, 240, .9);
}
.store-card-body { min-width: 0; }
.store-card-body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 4px;
  min-width: 0;
}
.store-card-count {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.store-card-dot {
  color: #c5cad6;
  font-weight: 800;
  line-height: 1;
}
.store-card-cities {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6b7385;
  font-size: 12px;
  font-weight: 700;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-card-cities svg {
  width: 12px;
  height: 12px;
  color: var(--brand);
  flex-shrink: 0;
}
.store-card-desc {
  display: none;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-card-go {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  color: #9aa1b5;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.store-card-go svg { width: 14px; height: 14px; }
.store-card:hover .store-card-go {
  background: rgba(255, 0, 60, .08);
  color: var(--brand);
}
.store-page-head {
  align-items: flex-start;
  margin: 0 0 14px;
}
.store-page-head h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.03em;
}
.store-page-lead {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.store-page-head .count {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.agencies-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(33, 44, 58, .04);
}
.ag-search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  margin: 0;
}
.ag-search svg { display: none; }
.ag-search input {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0 8px 0 14px;
  font-weight: 600;
  font-size: 14px;
}
.ag-search input:focus {
  outline: none;
  background: var(--bg);
}
.ag-city {
  flex: 0 0 auto;
  width: min(118px, 32vw);
  margin: 0;
  position: relative;
}
.ag-city.store-select::after {
  right: 12px;
}
.ag-city select {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  padding: 0 28px 0 12px;
  font-weight: 700;
  font-size: 13px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ag-city select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 0, 60, .12);
}
.ag-submit,
.ag-reset {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
}
.ag-submit {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 0, 60, .25);
}
.ag-submit:hover { background: var(--brand-dark); }
.ag-reset {
  background: var(--bg);
  color: #8d94ad;
}
.ag-reset:hover { color: var(--brand); }
.ag-submit svg,
.ag-reset svg {
  width: 18px;
  height: 18px;
  display: block;
}
.ag-city-label,
.ag-actions { display: none; }
.store-head-cities {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: #3b4553;
  font-size: 13px;
  font-weight: 700;
}
.store-head-cities svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}
.city-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.city-pick-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  margin: 0;
}
.city-pick-item svg { width: 14px; height: 14px; color: var(--brand); }
.city-pick-item input { position: absolute; opacity: 0; pointer-events: none; }
.city-pick-item.is-on,
.city-pick-item:has(input:checked) {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.city-pick-item.is-on svg,
.city-pick-item:has(input:checked) svg { color: #fff; }
.store-hero {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.store-hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--bg);
}
.store-hero .phone {
  display: inline-flex;
  margin-top: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
}
.store-page { padding-top: 12px; }
.store-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.store-back svg { width: 16px; height: 16px; }
.store-back:hover { color: var(--ink); }
.store-head {
  display: grid;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
}
.store-head-main {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
}
.store-head-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--bg);
  flex-shrink: 0;
}
.store-head-copy { min-width: 0; }
.store-head-copy h1 {
  font-size: 22px;
  margin: 0 0 4px;
  letter-spacing: -.02em;
}
.store-addr, .store-desc {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.5;
}
.store-desc { color: #3b4553; }
.store-desc.is-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-desc-wrap { margin: 0 0 8px; }
.store-desc-more {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 800;
  font-size: 13px;
  padding: 0;
  cursor: pointer;
  margin-top: 2px;
}
.store-desc-more:hover { text-decoration: underline; }

.text-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
}
.text-popup[hidden] { display: none !important; }
.text-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, .48);
}
.text-popup-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(70vh, 560px);
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(33, 44, 58, .2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.text-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.text-popup-head h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -.02em;
}
.text-popup-x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.text-popup-x svg { width: 16px; height: 16px; }
.text-popup-body {
  padding: 16px 18px 20px;
  overflow: auto;
  color: #3b4553;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-line;
}
.store-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 13px;
}
.store-stats strong { color: var(--ink); }
.store-head-actions {
  display: grid;
  gap: 8px;
}
.store-head-actions .btn { width: 100%; }
.store-filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(33, 44, 58, .04);
}
.store-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.store-chip {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  transition: .15s ease;
}
.store-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.store-chip:hover { border-color: #d5dae4; background: #fff; }
.store-chip.is-on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.store-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.store-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.store-field-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.store-field-label svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}
.store-select {
  position: relative;
}
.store-select::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #8d94ad;
  border-bottom: 2px solid #8d94ad;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}
.store-select select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 0 36px 0 12px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: .15s ease;
}
.store-select select:hover { background: #fff; border-color: #d5dae4; }
.store-select select:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 0, 60, .08);
}
.store-select select:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.store-head-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.store-reset {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.store-empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
}
.store-empty p { margin: 6px 0 14px; color: var(--muted); }
.store-empty .btn { width: auto; min-width: 180px; margin: 0 auto; }
.infinite-status {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 16px 8px 8px;
}
.infinite-status[hidden] { display: none !important; }

.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding: 4px 6px env(safe-area-inset-bottom);
  background: rgba(255,255,255,.94);
  border-top: 1px solid rgba(232,234,240,.9);
  box-shadow: 0 -10px 28px rgba(33,44,58,.06);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 60;
}
.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10.5px;
  font-weight: 700;
  color: #8d94ad;
  min-width: 0;
}
.bn-ico {
  width: 32px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.bn-item svg { width: 21px; height: 21px; }
.bn-item.active { color: var(--brand); }
.bn-item.active .bn-ico { background: var(--brand-soft); }
.bn-post { position: relative; }
.bn-plus {
  width: 48px;
  height: 48px;
  margin-top: -20px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  line-height: 0;
  box-shadow: 0 10px 22px rgba(255, 0, 60, .3);
}
.bn-plus svg {
  width: 22px;
  height: 22px;
  display: block;
}
.bn-post span:last-child { margin-top: 1px; }
.bn-post.active .bn-plus,
.bn-item:hover .bn-plus { background: var(--brand-dark); }

.muted { color: var(--muted); }
.alert {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--orange-soft);
  border: 1px solid #ffd2bf;
  color: var(--orange-dark);
  font-size: 13px;
}
.alert-error {
  background: #fff5f1;
  border-color: #ffc4ad;
  color: var(--danger);
}
.form-stack { display: grid; gap: 12px; }
.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.lf-page { max-width: 880px; }
.lf-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.lf-eyebrow {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lf-top h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.03em; }
.lf-lead { margin: 0; color: var(--muted); max-width: 42ch; }
.lf-form { display: grid; gap: 14px; }
.lf-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(33, 44, 58, .04);
}
.lf-card-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.lf-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.lf-ico svg { width: 20px; height: 20px; }
.lf-card-head h2 { margin: 0 0 2px; font-size: 16px; }
.lf-card-head p { margin: 0; color: var(--muted); font-size: 13px; }
.lf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.lf-field { display: grid; gap: 6px; min-width: 0; margin: 0; }
.lf-full { grid-column: 1 / -1; }
.lf-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.lf-label svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}
.lf-field input,
.lf-field textarea,
.lf-select select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 10px 12px;
  font-weight: 600;
  transition: .15s ease;
}
.lf-field textarea { min-height: 120px; resize: vertical; font-weight: 500; }
.lf-field input:focus,
.lf-field textarea:focus,
.lf-select select:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 0, 60, .08);
}

.mini-editor {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(33, 44, 58, .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mini-editor.is-focus {
  border-color: rgba(255, 0, 60, .35);
  box-shadow: 0 0 0 3px rgba(255, 0, 60, .08), 0 14px 32px rgba(33, 44, 58, .06);
}
.me-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #fafbfc, #f4f6f9);
  border-bottom: 1px solid var(--line);
}
.me-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4b5568;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.me-btn svg { width: 16px; height: 16px; }
.me-btn:hover,
.me-btn.is-on {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 4px rgba(33, 44, 58, .08);
}
.me-div {
  width: 1px;
  height: 18px;
  background: #e4e7ee;
  margin: 0 4px;
}
.me-spacer { flex: 1; }
.me-hint {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
  text-transform: uppercase;
  padding-right: 4px;
}
.me-surface {
  min-height: 220px;
  max-height: 420px;
  overflow: auto;
  padding: 18px 18px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
  outline: none;
  white-space: pre-wrap;
  word-break: break-word;
  background:
    linear-gradient(#fff, #fff) padding-box,
    radial-gradient(1200px 200px at 50% -40%, rgba(255,0,60,.04), transparent 70%);
}
.me-surface:empty:before {
  content: attr(data-placeholder);
  color: #a0a7b8;
  pointer-events: none;
}
.me-surface b,
.me-surface strong { font-weight: 800; }
.me-surface i,
.me-surface em { font-style: italic; color: #334155; }
.me-surface ul {
  margin: 8px 0;
  padding-left: 1.2em;
}
.me-surface blockquote {
  margin: 10px 0;
  padding: 8px 12px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 10px 10px 0;
  color: #3b4553;
}
.me-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
  color: var(--muted);
  font-size: 12px;
}
.me-foot strong { color: var(--ink); font-weight: 800; }
.lf-select { position: relative; }
.lf-select::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #8d94ad;
  border-bottom: 2px solid #8d94ad;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}
.lf-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  cursor: pointer;
}
.lf-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.lf-upload {
  display: block;
  border: 1.5px dashed #d5dae4;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfcfe, #f4f6fa);
  padding: 16px;
  transition: .15s ease;
  margin: 0;
}
.lf-upload:hover,
.lf-upload.is-drag {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.lf-upload-video {
  background: linear-gradient(180deg, #fff8fa, #fff0f4);
}
.lf-upload-inner {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  padding: 12px 8px 4px;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.lf-upload-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(33, 44, 58, .06);
}
.lf-upload-ico svg { width: 26px; height: 26px; }
.lf-upload-inner strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.lf-upload-inner p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.lf-upload-btn {
  display: inline-flex;
  height: 36px;
  padding: 0 14px;
  align-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.lf-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.lf-preview:empty { display: none; }
.lf-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.lf-preview-item.is-dragging {
  opacity: .45;
  cursor: grabbing;
  transform: scale(.96);
}
.lf-preview-item.is-over {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.lf-preview-item img,
.lf-preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.lf-preview-tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  pointer-events: none;
}
.lf-preview-handle {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 0;
  background: rgba(255,255,255,.92);
  color: #4b5568;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.lf-preview-handle svg { width: 14px; height: 14px; }
.lf-preview-del {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: rgba(17, 24, 39, .82);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.lf-preview-del:hover { background: var(--brand); }
.lf-preview-del svg { width: 13px; height: 13px; }
.lf-preview-cover {
  position: absolute;
  left: 6px;
  bottom: 28px;
  background: var(--brand);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  pointer-events: none;
}
.lf-existing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.lf-exist-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}
.lf-exist-item img,
.lf-exist-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lf-exist-item span {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
}
.lf-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lf-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
}
.lf-check svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex-shrink: 0;
}
.lf-check input { position: absolute; opacity: 0; pointer-events: none; }
.lf-check.is-on,
.lf-check:has(input:checked) {
  background: var(--brand);
  color: #fff;
}
.lf-check.is-on svg,
.lf-check:has(input:checked) svg { color: #fff; }
.lf-actions {
  position: sticky;
  bottom: calc(var(--nav-h) + 8px);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 -8px 24px rgba(33, 44, 58, .08);
}
.lf-actions .btn {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  font-size: 15px;
}
.lf-actions .btn svg { width: 18px; height: 18px; }

.reels-filters {
  position: sticky;
  top: 56px;
  z-index: 40;
  padding: 10px 0 8px;
  background: linear-gradient(180deg, rgba(8,11,18,.96), rgba(8,11,18,.82));
  backdrop-filter: blur(10px);
}
.reels-filters-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 12px 4px;
  scrollbar-width: none;
}
.reels-filters-scroll::-webkit-scrollbar { display: none; }
.rf-chip,
.rf-btn {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #e8edf5;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.rf-chip.is-on,
.rf-btn {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.rf-more svg { width: 14px; height: 14px; }
.rf-sep {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,.16);
  flex: 0 0 auto;
}
.rf-city {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #e8edf5;
}
.rf-city svg { width: 14px; height: 14px; color: var(--brand); flex-shrink: 0; }
.rf-city select {
  border: 0;
  background: transparent;
  color: #e8edf5;
  font-weight: 700;
  font-size: 12px;
  max-width: 110px;
  outline: none;
}
.rf-city select option { color: #111; }
.rf-reset { background: rgba(255,255,255,.16); border-color: transparent; }

@media (min-width: 768px) {
  .lf-grid { grid-template-columns: 1fr 1fr; }
  .lf-media-grid { grid-template-columns: 1fr 1fr; }
  .lf-actions {
    bottom: 16px;
    display: flex;
    justify-content: flex-end;
  }
  .lf-actions .btn { width: auto; min-width: 220px; }
  .reels-filters {
    top: 56px;
    background: linear-gradient(180deg, rgba(12,16,24,.98), rgba(12,16,24,.86));
  }
  .reels-filters-scroll {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 8px 4px;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; width: 100%; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.auth-box {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 22px 18px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(33, 44, 58, .08);
}
body.auth-page {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(255, 0, 60, .08), transparent 60%),
    radial-gradient(700px 380px at 100% 0%, rgba(33, 44, 58, .05), transparent 55%),
    var(--bg);
}
body.auth-page .hz-search,
body.auth-page .hz-pills,
body.auth-page .hz-m-deals,
body.auth-page .site-footer { display: none; }
body.auth-page .app-shell {
  min-height: calc(100dvh - 58px - var(--nav-h) - env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  padding: 18px 14px 28px;
}
.auth-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.auth-aside {
  display: none;
  color: #fff;
  background:
    linear-gradient(155deg, #1a2230 0%, #2a3344 48%, #ff003c 140%);
  border-radius: 22px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}
.auth-aside::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% 20%;
  height: 70%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%);
  pointer-events: none;
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.auth-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #ff003c;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(255, 0, 60, .35);
}
.auth-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(255, 0, 60, .35);
}
.auth-aside h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 28px;
  letter-spacing: -.03em;
  margin: 0 0 10px;
  max-width: 14ch;
}
.auth-aside > p {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
  max-width: 32ch;
}
.auth-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.auth-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}
.auth-perk-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.auth-perk-ico svg { width: 16px; height: 16px; }
.auth-hero {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.auth-ico-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 0, 60, .08);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.auth-ico-badge svg { width: 22px; height: 22px; }
.auth-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.auth-hero h1 {
  font-size: 26px;
  letter-spacing: -.03em;
}
.auth-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.auth-box .alert-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.auth-box .alert-error svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.auth-field label { font-weight: 700; color: var(--ink); }
.auth-input {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input > svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #8d94ad;
  pointer-events: none;
}
.auth-input input,
.auth-input select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 0 44px 0 42px;
  font-weight: 600;
  transition: .15s ease;
}
.auth-input input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 0, 60, .08);
}
.auth-eye {
  position: absolute;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #8d94ad;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.auth-eye:hover { background: #fff; color: var(--ink); }
.auth-eye svg { width: 18px; height: 18px; }
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.auth-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.auth-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.auth-check a { color: var(--brand); font-weight: 800; }
.auth-check-block { width: 100%; line-height: 1.45; }
.auth-link-soft {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.auth-link-soft:hover { color: var(--brand); }
.auth-submit {
  height: 50px;
  border-radius: 12px;
  margin-top: 4px;
  font-weight: 800;
  gap: 8px;
}
.auth-submit svg { width: 18px; height: 18px; }
.auth-switch {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.auth-switch a { color: var(--brand); font-weight: 800; }
.auth-legal-mini {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.auth-legal-mini a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.auth-grid-2 {
  display: grid;
  gap: 12px;
}
.auth-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.auth-type {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  cursor: pointer;
  margin: 0;
  transition: .15s ease;
  min-width: 0;
}
.auth-type input { position: absolute; opacity: 0; pointer-events: none; }
.auth-type-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.auth-type-ico svg { width: 16px; height: 16px; }
.auth-type-txt { display: grid; gap: 2px; min-width: 0; }
.auth-type-txt strong { font-size: 13px; letter-spacing: -.01em; }
.auth-type-txt small { color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.3; }
.auth-type.is-on,
.auth-type:has(input:checked) {
  border-color: var(--brand);
  background: rgba(255, 0, 60, .04);
  box-shadow: 0 0 0 3px rgba(255, 0, 60, .08);
}
.auth-type.is-on .auth-type-ico,
.auth-type:has(input:checked) .auth-type-ico {
  border-color: var(--brand);
  color: var(--brand);
  background: #fff;
}
.auth-terms {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  padding: 12px;
  display: grid;
  gap: 12px;
}
.auth-terms-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-terms-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}
.auth-terms-ico svg { width: 18px; height: 18px; }
.auth-terms-head > div { min-width: 0; flex: 1; display: grid; gap: 2px; }
.auth-terms-head strong { font-size: 13px; }
.auth-terms-head small { color: var(--muted); font-size: 11px; font-weight: 600; }
.auth-terms-expand {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
}
.auth-terms-expand:hover { border-color: var(--brand); }
.auth-terms-body {
  max-height: 240px;
  overflow: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.auth-terms-body[hidden] { display: none !important; }
.auth-terms-body ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #3b4553;
}
.auth-terms-links {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.auth-terms-links a {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}
@media (min-width: 860px) {
  .auth-shell {
    grid-template-columns: .95fr 1.05fr;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(33, 44, 58, .1);
  }
  .auth-shell-wide { width: min(980px, 100%); }
  .auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0;
    min-height: 560px;
  }
  .auth-box {
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 32px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .auth-grid-2 { grid-template-columns: 1fr 1fr; }
  body.auth-page .app-shell { padding: 28px 20px 40px; }
}
@media (max-width: 420px) {
  .auth-type-grid { grid-template-columns: 1fr; }
}
.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.filter-grid .full { grid-column: 1 / -1; }
.filter-grid .field { min-width: 0; }
.filter-grid .field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.filter-grid .field input:not([type="checkbox"]),
.filter-grid .field select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 0 12px;
}
.filter-grid .field input:not([type="checkbox"]):focus,
.filter-grid .field select:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 0, 60, .08);
}
.check-row { display: flex; flex-wrap: wrap; gap: 8px; }
.check-row label {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin: 0;
}
.check-row input {
  width: 14px !important;
  height: 14px !important;
  margin: 0;
  padding: 0;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.check-row label:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.filter-drawer { position: fixed; inset: 0; z-index: 110; display: none; }
.filter-drawer.open { display: block; }
.filter-backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, .48); }
.filter-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: 92dvh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -16px 40px rgba(33,44,58,.16);
}
.filter-head {
  padding: 10px 16px 8px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.filter-handle {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #d8dde6;
  margin: 0 auto 10px;
}
.filter-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.filter-head h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -.02em;
}
.filter-x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.filter-x svg { width: 18px; height: 18px; }
.filter-body {
  overflow: auto;
  padding: 8px 18px 12px;
  flex: 1;
}
.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 10px;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}
.filter-actions .btn { width: 100%; height: 48px; border-radius: 12px; font-size: 15px; }

.af-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #f0f2f6;
}
.af-row:last-child { border-bottom: 0; }
.af-label {
  padding-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #3b4553;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.af-label svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex-shrink: 0;
}
.af-controls { min-width: 0; }
.af-loc {
  position: relative;
  display: flex;
  align-items: center;
}
.af-loc input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0 72px 0 14px;
}
.af-loc input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,0,60,.08);
}
.af-city-tag {
  position: absolute;
  right: 10px;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
}
.af-hidden-city {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.af-hidden-city select {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  padding: 0 10px;
}
.af-hidden-city[hidden] { display: none !important; }
.af-seg {
  display: inline-flex;
  background: var(--bg);
  border-radius: 12px;
  padding: 3px;
  gap: 2px;
}
.af-seg label {
  min-width: 72px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  margin: 0;
}
.af-seg label.is-on {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 4px rgba(33,44,58,.08);
}
.af-seg input,
.af-pills input { position: absolute; opacity: 0; pointer-events: none; }
.af-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.af-pills label {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
  border: 1px solid transparent;
  user-select: none;
}
.af-pills label.is-on {
  background: var(--brand);
  color: #fff;
}
.af-pills-sm label { height: 34px; padding: 0 12px; font-size: 12px; }
.af-rooms label {
  width: 42px;
  padding: 0;
  justify-content: center;
  border-radius: 12px;
}
.af-minmax {
  display: flex;
  gap: 8px;
  max-width: 240px;
}
.af-minmax input,
.af-id {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
}
.af-minmax input:focus,
.af-id:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,0,60,.08);
}
.af-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}
.af-row-wrap .af-controls { width: 100%; }

@media (max-width: 640px) {
  .af-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }
  .af-label { padding-top: 0; font-size: 13px; }
  .af-hidden-city { grid-template-columns: 1fr; }
}

.detail-page { padding-top: 12px; }
@media (max-width: 640px) {
  .dg-main { height: 46vh; min-height: 240px; }
  .dg-nav { width: 34px; height: 34px; font-size: 18px; }
  .dg-thumb { flex-basis: 64px; width: 64px; height: 50px; }
}
.detail-gallery {
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.dg-main {
  position: relative;
  height: min(52vh, 420px);
  background: #111;
  user-select: none;
}
.dg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  background: #111;
}
.dg-slide.is-on { display: block; }
.dg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  z-index: 2;
}
.dg-prev { left: 12px; }
.dg-next { right: 12px; }
.dg-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  background: rgba(0,0,0,.62);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}
.dg-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px;
  background: #fff;
  scrollbar-width: thin;
}
.dg-thumb {
  flex: 0 0 74px;
  width: 74px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  position: relative;
}
.dg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dg-thumb.is-on { border-color: var(--brand); }
.dg-thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  background: rgba(0,0,0,.35);
  z-index: 1;
}
.detail-layout { display: grid; gap: 16px; }
.detail-main h1 {
  font-size: 22px;
  margin: 8px 0 6px;
  letter-spacing: -.02em;
}
.detail-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.detail-loc {
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.5;
}
.detail-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
}
.detail-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.detail-specs div {
  flex: 1 1 104px;
  min-width: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.detail-specs small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 3px;
}
.detail-specs strong { font-size: 15px; }
.detail-block { margin: 0 0 22px; }
.detail-block h2 {
  font-size: 16px;
  margin: 0 0 10px;
}
.detail-block p {
  margin: 0;
  color: #3b4553;
  line-height: 1.65;
  white-space: pre-line;
}
.amenity-list { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-list span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
}
.detail-contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 10px;
}
.detail-contact strong { font-size: 16px; }
.detail-agency { color: var(--brand); font-weight: 700; font-size: 13px; }
.detail-contact .btn { width: 100%; }
.detail-contact .btn.is-saved {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}

.package-grid { display: grid; gap: 12px; }
.package-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}
.package-card.featured {
  border-color: var(--orange);
  background: linear-gradient(160deg, var(--orange-soft), #fff);
}
.package-card h3 { font-size: 16px; margin-bottom: 4px; }
.package-price { font-size: 24px; font-weight: 800; color: var(--orange); }

/* ?? Packages page ?? */
.pkg-page { max-width: 1120px; }
.pkg-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding: 28px 24px;
  border-radius: 22px;
  background:
    radial-gradient(900px 280px at 10% -20%, rgba(255,0,60,.12), transparent 55%),
    linear-gradient(160deg, #fff 0%, #fff5f7 100%);
  border: 1px solid var(--line);
}
.pkg-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.pkg-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.04em;
}
.pkg-hero-copy p:last-child {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.55;
}
.pkg-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pkg-hero-stats > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.pkg-hero-stats strong {
  display: block;
  font-size: 22px;
  letter-spacing: -.03em;
}
.pkg-hero-stats small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.pkg-section { margin-bottom: 36px; }
.pkg-section-head { margin-bottom: 14px; }
.pkg-section-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -.03em;
}
.pkg-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.pkg-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.pkg-grid-video {
  grid-template-columns: 1fr;
}
.pkg-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 28px rgba(26, 34, 48, .04);
}
.pkg-card.is-featured {
  border-color: #ffb3c5;
  box-shadow: 0 14px 36px rgba(255, 0, 60, .1);
}
.pkg-card-video {
  background: linear-gradient(165deg, #fff 0%, #fff8fa 100%);
}
.pkg-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}
.pkg-card h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -.02em;
}
.pkg-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pkg-price strong {
  font-size: 34px;
  letter-spacing: -.04em;
  color: var(--brand);
}
.pkg-price span {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.pkg-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  min-height: 2.8em;
}
.pkg-limits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pkg-limits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
}
.pkg-limits svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex: 0 0 auto;
}
.pkg-features {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  font-size: 13px;
  display: grid;
  gap: 4px;
}
.pkg-cta {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}
@media (min-width: 760px) {
  .pkg-hero {
    grid-template-columns: 1.4fr .8fr;
    align-items: center;
  }
  .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pkg-grid-video { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card-list { display: grid; gap: 10px; }
.listing-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.listing-row img { width: 110px; height: 100%; min-height: 90px; object-fit: cover; }
.listing-row .body { padding: 10px 12px 10px 0; }
.listing-row .price { font-weight: 800; color: var(--green); }

.admin-layout { display: grid; grid-template-columns: 210px 1fr; min-height: 100dvh; background: var(--bg); }
.admin-side {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 16px 12px;
}
.admin-side a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  margin-bottom: 2px;
  font-size: 14px;
}
.admin-side a:hover, .admin-side a.active { background: var(--orange-soft); color: var(--orange); }
.admin-main { padding: 18px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.stat b { display: block; font-size: 22px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); font-weight: 600; }

.site-footer {
  display: block;
  background: #0f141d;
  color: #c5cedb;
  margin-top: 40px;
  padding: 36px 16px 18px;
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 28px 20px;
  font-size: 13px;
}
.site-footer a { color: #d7deea; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.ft-brand .brand-mark { display: inline-block; margin-bottom: 10px; }
.ft-brand .brand-mark span { color: #fff; }
.ft-brand p { margin: 0 0 12px; line-height: 1.55; color: #9aa6b8; }
.ft-contacts { display: grid; gap: 4px; margin-bottom: 12px; }
.ft-contacts a { font-weight: 700; color: #fff; }
.ft-social { display: flex; gap: 8px; }
.ft-social a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #1b2230;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}
.ft-col, .ft-news { display: grid; align-content: start; gap: 8px; }
.ft-col h4, .ft-news h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 14px;
}
.ft-news p { margin: 0; color: #9aa6b8; }
.ft-form { display: flex; gap: 8px; margin-top: 6px; }
.ft-form input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  background: #1b2230;
  color: #fff;
}
.ft-form button {
  height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.ft-ok, .ft-err { font-size: 12px; font-weight: 700; }
.ft-ok { color: #7ee0a0; }
.ft-err { color: #ff8aa3; }
.ft-bottom {
  max-width: var(--max);
  margin: 22px auto 0;
  padding-top: 14px;
  border-top: 1px solid #1b2230;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8d97ab;
}
.legal-page { max-width: 760px; }
.legal-body { line-height: 1.75; color: var(--ink); }
@media (max-width: 979px) {
  .site-footer { padding-bottom: calc(20px + var(--nav-h) + env(safe-area-inset-bottom)); }
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .ft-brand, .ft-news { grid-column: 1 / -1; }
}

.only-mobile { display: block; }
.only-desktop { display: none; }

@media (min-width: 640px) and (max-width: 767px) {
  .ag-city { width: 140px; }
  .ag-search input { font-size: 14px; }
}
@media (min-width: 768px) {
  body { font-size: 14px; }
  .bottom-nav { display: none; }
  .app-shell { padding-bottom: 0; }
  .desk-nav { display: flex; }
  .only-mobile { display: none !important; }
  .only-desktop { display: block; }
  .feed-viewport { display: none !important; }
  .site-footer { display: block; padding-bottom: 18px; }
  .listing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 14px;
  }
  .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .store-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }
  .store-card-logo {
    width: 100%;
    height: 148px;
    border-radius: 14px;
  }
  .store-card-body h3 {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
  }
  .store-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
  }
  .store-card-go { display: none; }
  .store-head {
    grid-template-columns: 1fr 220px;
    align-items: center;
    padding: 20px;
  }
  .store-head-copy h1 { font-size: 26px; }
  .store-head-logo { width: 88px; height: 88px; }
  .store-filter-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .store-filters { padding: 16px 18px; }
  .store-filter-grid { gap: 12px; }
  .store-select select { height: 48px; font-size: 14px; }
  .agencies-filters {
    gap: 10px;
    padding: 8px;
    border-radius: 18px;
  }
  .ag-search input {
    height: 44px;
    font-size: 14px;
    padding: 0 12px 0 16px;
  }
  .ag-city { width: 180px; }
  .ag-city select,
  .ag-submit,
  .ag-reset {
    height: 44px;
  }
  .ag-submit,
  .ag-reset {
    width: 44px;
    min-width: 44px;
  }
  .ad-price { font-size: 18px; }
  .ad-title { font-size: 14px; }
  .ad-specs { font-size: 13px; }
  .listing-tile .price { font-size: 18px; }
  .listing-tile .title { font-size: 14px; }
  .package-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-gallery { margin-bottom: 22px; }
  .dg-main { height: min(62vh, 560px); }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 24px;
  }
  .detail-side { position: sticky; top: 80px; }
  .detail-main h1 { font-size: 28px; }
  .detail-price { font-size: 30px; }
  .detail-specs div { min-width: 120px; }
  .filter-panel {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(760px, 94vw);
    max-height: 86vh;
    border-radius: 20px;
  }
  .filter-handle { display: none; }
  .listing-row { grid-template-columns: 160px 1fr; }
  .listing-row img { width: 160px; min-height: 110px; }
}

@media (min-width: 1100px) {
  .listing-grid { grid-template-columns: repeat(5, 1fr); }
  .site-header-inner { gap: 16px; }
}

/* Desktop Reels mode ? s?liq?li teatr g?r?n??? */
.reels-desktop { display: none; }
body.reels-on .only-desktop,
body.reels-on .site-footer,
body.reels-on .hz-search,
body.reels-on .hz-pills,
body.reels-on .hz-m-deals {
  display: none !important;
}
body.reels-on .reels-filters { display: block; }
body.reels-on .reels-desktop { display: block; }
body.reels-on {
  background: #080b12;
}
body.reels-on .site-header {
  background: #0c1018;
  border-bottom-color: #1b2230;
  box-shadow: none;
}
body.reels-on .hz-top { border-bottom-color: #1b2230; }
body.reels-on .brand-mark span,
body.reels-on .hz-links a,
body.reels-on .hz-lang,
body.reels-on .hz-icon-btn,
body.reels-on .btn-login { color: #e8edf5; }
body.reels-on .hz-links a:hover,
body.reels-on .hz-links a.active { color: var(--brand); }

.reels-stage {
  min-height: calc(100dvh - 58px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 16px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 0, 60, .16), transparent 46%),
    #080b12;
}
.reels-phone {
  width: min(400px, 34vw);
  height: min(760px, calc(100dvh - 120px));
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.reels-phone .feed-viewport {
  display: block !important;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
}
.reels-hint {
  margin: 0;
  color: #8d97ab;
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 767px) {
  body.reels-on .reels-desktop { display: none !important; }
  body.reels-on .bottom-nav { display: grid; }
  body.reels-on .site-header { background: #fff; border-bottom-color: var(--line); }
  body.reels-on .hz-top { border-bottom: 0; }
  body.reels-on .brand-mark span,
  body.reels-on .hz-icon-btn { color: var(--ink); }
  body.reels-on .feed-viewport {
    display: block !important;
    max-width: none;
    margin: 0;
    height: calc(100dvh - 52px - var(--nav-h) - env(safe-area-inset-bottom));
    border: 0;
  }
}
@media (min-width: 768px) {
  body.reels-on .bottom-nav { display: none; }
  body.reels-on .app-shell { padding-bottom: 0; }
}

@media (max-width: 900px) {
  /* kept for legacy */
}

@media (max-width: 860px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { display: flex; gap: 4px; overflow-x: auto; height: auto; }
  .admin-side a { white-space: nowrap; }
}

/* ?? Kabinet (premium) ?? */
.cab-page { max-width: 980px; padding-bottom: 28px; }
.cab-hero {
  display: grid;
  gap: 18px;
  padding: 18px;
  margin-bottom: 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,0,60,.08), transparent 55%),
    linear-gradient(165deg, #fff 0%, #fafbfd 100%);
  box-shadow: 0 10px 30px rgba(33, 44, 58, .04);
}
.cab-hero-main { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.cab-avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.03em;
  color: #fff;
  background: linear-gradient(145deg, var(--brand) 0%, #ff4d73 100%);
  box-shadow: 0 10px 22px rgba(255, 0, 60, .22);
}
.cab-hero-copy { min-width: 0; }
.cab-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cab-hero h1 {
  margin: 0 0 4px;
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: -.03em;
}
.cab-mail {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  word-break: break-word;
}
.cab-plan {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}
.cab-plan svg { width: 15px; height: 15px; flex: 0 0 auto; }
.cab-plan small { font-weight: 600; opacity: .75; }
.cab-plan.is-on {
  color: var(--green-dark);
  background: #eefaf2;
  border: 1px solid #d4efdc;
}
.cab-plan.is-off {
  color: #9a2038;
  background: var(--brand-soft);
  border: 1px solid #ffd6e0;
}
.cab-plan.is-off a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cab-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.cab-hero-cta .btn {
  width: auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.cab-hero-cta .btn svg { width: 16px; height: 16px; }
.cab-hero-cta form { margin: 0; }

.cab-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.cab-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 18px rgba(33, 44, 58, .03);
}
.cab-stat-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  flex: 0 0 auto;
}
.cab-stat-ico svg { width: 18px; height: 18px; }
.cab-stat strong {
  display: block;
  font-size: 20px;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.cab-stat small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.cab-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.cab-nav-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cab-nav-card:hover {
  border-color: #ffc2d0;
  box-shadow: 0 10px 24px rgba(255, 0, 60, .06);
  transform: translateY(-1px);
}
.cab-nav-ico {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--bg-soft);
}
.cab-nav-ico svg { width: 17px; height: 17px; }
.cab-nav-card strong { font-size: 14px; letter-spacing: -.01em; }
.cab-nav-card > span:last-child {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.cab-listings .section-head {
  margin-bottom: 12px;
}
.cab-list { display: grid; gap: 12px; }
.cab-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 22px rgba(33, 44, 58, .035);
}
.cab-item-media {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 1;
}
.cab-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cab-item-body {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  padding: 2px 4px 2px 0;
}
.cab-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cab-item-price {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--green);
}
.cab-status {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.cab-status-ok { color: var(--green-dark); background: #eefaf2; }
.cab-status-wait { color: #9a6b00; background: #fff6e0; }
.cab-status-bad { color: #9a2038; background: var(--brand-soft); }
.cab-status-mute { color: var(--muted); background: var(--bg-soft); }
.cab-item-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cab-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--muted);
  font-size: 12px;
}
.cab-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.cab-item-actions a,
.cab-item-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.cab-item-actions svg { width: 13px; height: 13px; }
.cab-item-actions a:hover,
.cab-item-actions button:hover {
  border-color: #ffc2d0;
  background: var(--brand-soft);
  color: var(--brand);
}
.cab-item-actions form { margin: 0; }
.cab-item-actions form button {
  color: #9a2038;
  background: #fff5f7;
  border-color: #ffd6e0;
}
.cab-empty {
  text-align: center;
  padding: 36px 18px;
  border-radius: 20px;
  border: 1px dashed #d7dbe6;
  background: #fff;
}
.cab-empty strong { display: block; font-size: 17px; margin-bottom: 6px; }
.cab-empty p { margin: 0 0 14px; color: var(--muted); }
.cab-empty .btn { width: auto; display: inline-flex; margin: 0 auto; }
.cab-pager { margin-top: 16px; }

/* Kabinet store / boost shells */
.cab-subpage .lf-top { margin-bottom: 18px; }
.cab-panel {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 22px rgba(33, 44, 58, .03);
}
.cab-boost-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.cab-boost-card.is-vip {
  border-color: #ffe08a;
  background: linear-gradient(165deg, #fff9e8, #fff);
}
.cab-boost-card h3 { margin: 0; font-size: 17px; }
.cab-boost-price {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--brand);
}
.cab-boost-card .btn { width: 100%; margin-top: 6px; }

@media (min-width: 768px) {
  .cab-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 22px 24px;
  }
  .cab-avatar { width: 76px; height: 76px; font-size: 24px; border-radius: 22px; }
  .cab-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .cab-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .cab-nav:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cab-item {
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 16px;
    padding: 12px;
  }
  .cab-item-title { font-size: 15px; -webkit-line-clamp: 1; }
  .cab-item-actions a,
  .cab-item-actions button { min-height: 34px; font-size: 13px; }
}
