/*
 * Fidelity layer of the redesigned Bazar theme — loaded after nz-redesign / nz-shell / nz-pages.
 * It carries the measurements taken from the design mockups (proportions, glass bars, plates, shadows) so the
 * earlier files stay the design-system baseline. Colours still come from the settings panel through the --nzc-* tokens;
 * every picture is an image slot (custom properties on .bz or <img> sources), nothing here is city or customer specific.
 */

/* -- proportions: the mockups use ~91% of the screen width for content, capped on very wide screens -- */
.nz, .bz-modal, .bz-consent, .bz-pwa { --container: 1600px; --wrap-pad: clamp(16px, 4.6vw, 76px); --glass: rgba(255, 252, 248, .86); --glass-line: rgba(255, 255, 255, .78);
  --plate-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 8px 22px rgba(96, 58, 24, .10); --card-line: var(--nzf-line);
  /* warm paper palette of the cards, plates and hairlines (light mode) */
  --nzf-card: #fffdfa; --nzf-card-2: #fdf5ea; --nzf-warm-a: #fdefe0; --nzf-warm-b: #fcf4ea; --nzf-cream: #fbf1e4; --nzf-line: #f0e3d2; --nzf-line-2: #e6d6c2; --nzf-field: #ffffff; }
[data-nzc-mode="dark"] .nz, [data-nzc-mode="dark"] .bz-modal, [data-nzc-mode="dark"] .bz-consent, [data-nzc-mode="dark"] .bz-pwa { --glass: rgba(34, 25, 21, .82); --glass-line: rgba(255, 255, 255, .08);
  --nzf-card: var(--surface); --nzf-card-2: var(--surface-2); --nzf-warm-a: color-mix(in srgb, var(--gold) 9%, var(--surface-2)); --nzf-warm-b: var(--surface); --nzf-cream: var(--surface-2);
  --nzf-line: var(--line); --nzf-line-2: color-mix(in srgb, var(--line) 70%, #fff); --nzf-field: color-mix(in srgb, var(--surface) 78%, #000); }
.nz-wrap { max-width: var(--container); padding-inline: var(--wrap-pad); }
@media (max-width: 720px) { .nz { --wrap-pad: 16px; } }

/* -- hero: one full-bleed scenery behind the top bar, the floating header bar, the copy, search and channels -- */
.nz-hero { min-height: clamp(560px, 45.5vw, 820px); padding-block-end: 46px; background: linear-gradient(to bottom, #f1e7e8 0, #f6eadf 40%, var(--bg) 100%); }
.nz-hero::before { content: ''; display: block; position: absolute; inset: 0; z-index: -2; background: var(--nz-hero) center bottom / cover no-repeat; opacity: 1; filter: saturate(.82) brightness(1.07) contrast(.96); }
.nz-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; width: auto; height: auto; pointer-events: none; opacity: 1; filter: none;
  background:
    linear-gradient(to left, color-mix(in srgb, var(--bg) 94%, transparent) 0, color-mix(in srgb, var(--bg) 80%, transparent) 24%, color-mix(in srgb, var(--bg) 40%, transparent) 42%, transparent 60%),
    linear-gradient(to bottom, rgba(255, 244, 236, .55) 0, transparent 30%, transparent 78%, var(--bg) 100%); }
[data-nzc-mode="dark"] .nz-hero { background: var(--bg); }
[data-nzc-mode="dark"] .nz-hero::before { opacity: .5; filter: brightness(.7) saturate(.9); }
[data-nzc-mode="dark"] .nz-hero::after { background: linear-gradient(to left, var(--bg) 0, color-mix(in srgb, var(--bg) 78%, transparent) 30%, transparent 70%), linear-gradient(to bottom, transparent 60%, var(--bg) 100%); }

.nz-herohead .nz-top { background: none; }
.nz-herohead .nz-top a, .nz-herohead .nz-weather { text-shadow: 0 0 10px rgba(255, 248, 240, .9); }
.nz-herohead__bar { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.nz-herohead .nz-head__main { position: relative; isolation: isolate; padding-block: 12px; gap: 14px; }
.nz-herohead .nz-head__main::before { content: ''; position: absolute; z-index: -1; inset-block: 0; inset-inline: var(--wrap-pad); border-radius: calc(var(--r-l) - 2px); background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 34px rgba(96, 58, 24, .16), 0 1px 0 #fff inset; }
.nz-herohead .nz-head__main > * { position: relative; }
.nz-herohead .nz-brand { margin-inline-start: 12px; }
.nz-herohead .nz-head__actions { margin-inline-end: 12px; }
.nz-herohead .nz-brand__name { font-size: 32px; }
[data-nzc-mode="dark"] .nz-herohead .nz-head__main::before { background: color-mix(in srgb, var(--surface) 82%, transparent); border-color: rgba(255, 255, 255, .08); }

.nz-hero__copy { max-width: 760px; padding-block: 54px 30px; }
.nz-kicker { font-size: 20px; }
.nz-hero h1 { font-size: clamp(40px, 4.3vw, 66px); line-height: 1.2; letter-spacing: -.01em; }
.nz-hero__lead { font-size: 17px; color: color-mix(in srgb, var(--text) 88%, transparent); }

.nz-search { grid-template-columns: 1.05fr 2.5fr 1.45fr auto; gap: 12px; padding: 14px; border-radius: calc(var(--r-l) + 2px); background: color-mix(in srgb, var(--nzf-card) calc(.9 * 100%), transparent); border: 1px solid var(--glass-line);
  box-shadow: 0 22px 56px rgba(96, 58, 24, .20), 0 1px 0 #fff inset; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nz-search__f, .nz-search__q { min-height: 62px; border-radius: var(--r-m); border: 1.5px solid var(--nzf-line-2); background: var(--nzf-field); }
.nz-search__f:hover, .nz-search__q:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.nz-search .nz-btn { min-height: 62px; padding-inline: 38px; border-radius: var(--r-m); font-size: 19px; background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 88%, #fff) 0, var(--primary) 46%, var(--primary-hover) 100%); box-shadow: 0 10px 22px color-mix(in srgb, var(--primary) 34%, transparent), 0 1px 0 rgba(255,255,255,.35) inset; }
.nz-search .nz-btn .nz-ic { width: 24px; height: 24px; }

/* -- channels: four tinted plates with the real brand tile -- */
.nz-channels { grid-template-columns: 1.15fr repeat(4, 1fr); gap: 12px; margin-top: 18px; padding: 12px 16px; border-radius: calc(var(--r-l) + 2px); background: color-mix(in srgb, var(--nzf-card) calc(.92 * 100%), transparent); border: 1px solid var(--glass-line);
  box-shadow: 0 16px 40px rgba(96, 58, 24, .14), 0 1px 0 #fff inset; }
.nz-channels__intro b { font-size: 19px; }
.nz-channel { position: relative; gap: 14px; padding: 9px 14px 9px 10px; border-radius: calc(var(--r-m) + 2px); border: 1.5px solid rgba(255, 255, 255, .95); box-shadow: 0 6px 16px rgba(60, 40, 20, .10), 0 1px 0 #fff inset; overflow: hidden; }
.nz-channel::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0, rgba(255, 255, 255, .7), transparent 60%); pointer-events: none; }
.nz-channel > * { position: relative; z-index: 1; }
.nz-channel__img { width: 56px; height: 56px; border-radius: calc(var(--r-m) + 2px); object-fit: cover; box-shadow: 0 6px 14px rgba(40, 30, 20, .22), 0 0 0 2px rgba(255, 255, 255, .85); }
.nz-channel b { font-size: 20px; }
.nz-channel span span { font-size: 12.5px; color: var(--text-2); }
.nz-ch-telegram { background: linear-gradient(100deg, #e7f3fd 0, #cfe5fa 100%); }
.nz-ch-eitaa { background: linear-gradient(100deg, #fff1e6 0, #ffdcc2 100%); }
.nz-ch-bale { background: linear-gradient(100deg, #e8f8f1 0, #c9eee0 100%); }
.nz-ch-rubika { background: linear-gradient(100deg, #f1e9fc 0, #dccbf7 100%); }
.nz-ch-telegram b { color: #1476a8; } .nz-ch-eitaa b { color: #c25410; } .nz-ch-bale b { color: #0e7a52; } .nz-ch-rubika b { color: #5b2fb0; }
[data-nzc-mode="dark"] .nz-channels { background: color-mix(in srgb, var(--surface) 90%, transparent); }
[data-nzc-mode="dark"] .nz-channel { background: var(--surface-2); border-color: var(--line); }
[data-nzc-mode="dark"] .nz-channel b { color: var(--text); }

/* -- category strip: small cream cards, larger colour icons -- */
.nz-home__in { gap: 26px; padding-block: 8px 40px; }
.nz-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: calc(var(--r-l) + 2px); background: color-mix(in srgb, var(--nzf-card) calc(.78 * 100%), transparent); border: 1px solid var(--card-line); box-shadow: 0 8px 26px rgba(96, 58, 24, .07); }
.nz-cat { flex: 0 1 108px; min-height: 108px; justify-content: center; gap: 7px; padding: 12px 6px 10px; border-radius: calc(var(--r-m) + 2px); border: 1px solid var(--card-line); background: linear-gradient(180deg, var(--nzf-card) 0, #fbf5ec 100%); box-shadow: 0 1px 0 #fff inset; }
.nz-cat img { width: 46px; height: 46px; }
.nz-cat span:last-child { font-size: 12px; line-height: 1.45; }
.nz-cat:hover { background: var(--nzf-field); border-color: color-mix(in srgb, var(--primary) 30%, var(--card-line)); box-shadow: 0 12px 24px rgba(96, 58, 24, .12); }
[data-nzc-mode="dark"] .nz-cats { background: color-mix(in srgb, var(--surface) 80%, transparent); }
[data-nzc-mode="dark"] .nz-cat { background: var(--surface); }

@media (max-width: 1100px) {
  .nz-channels { grid-template-columns: repeat(2, 1fr); }
  .nz-search { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nz-hero { min-height: 0; }
  .nz-hero::before { background-position: 30% 0; background-size: auto 430px; opacity: 1; }
  .nz-hero::after { background: linear-gradient(to bottom, rgba(255, 246, 238, .1) 0, rgba(250, 246, 239, .6) 250px, var(--bg) 460px); }
  .nz-channel { padding: 8px 10px; gap: 10px; }
  .nz-channel__img { width: 46px; height: 46px; }
  .nz-channel b { font-size: 17px; }
  .nz-channel span span { font-size: 11px; }
  .nz-herohead .nz-head__main::before { inset-inline: 8px; }
  .nz-cats { justify-content: flex-start; }
  .nz-cat { flex-basis: calc(25% - 8px); min-height: 92px; }
  .nz-cat img { width: 38px; height: 38px; }
}

/* ================= sections ================= */
.nz-cat img { mix-blend-mode: normal; filter: drop-shadow(0 4px 6px rgba(96, 58, 24, .18)); }

/* -- warm panels: the cream texture of the kit, gold filigree in both top corners -- */
.nz-panel { border-radius: calc(var(--r-l) + 4px); }
.nz-panel--warm { padding: 22px 26px 28px; border: 1px solid var(--nzf-line); background: var(--nz-panel, none) center / cover no-repeat, linear-gradient(180deg, var(--nzf-warm-a) 0, var(--nzf-warm-b) 100%); box-shadow: 0 16px 44px rgba(96, 58, 24, .08), 0 1px 0 rgba(255, 255, 255, .9) inset; overflow: hidden; }
.nz-panel--warm::before, .nz-panel--warm::after { content: ''; display: block; position: absolute; top: 0; width: 132px; height: 134px; mask: none; -webkit-mask: none; opacity: .5; pointer-events: none; background-repeat: no-repeat; background-size: contain; }
.nz-panel--warm::before { inset-inline: auto; right: 0; left: auto; background-image: var(--nz-corner-r); background-position: top right; }
.nz-panel--warm::after { inset-inline: auto; left: 0; right: auto; background-image: var(--nz-corner-l); background-position: top left; }
.nz-panel--warm > * { position: relative; z-index: 1; }
[data-nzc-mode="dark"] .nz-panel--warm { background: var(--surface-3); }
[data-nzc-mode="dark"] .nz-panel--warm::before, [data-nzc-mode="dark"] .nz-panel--warm::after { opacity: .18; filter: none; }
.nz-sechead__t h2 { font-size: clamp(24px, 2.2vw, 32px); }
.nz-sechead__line { width: 84px; height: 2px; opacity: 1; background: linear-gradient(to left, var(--gold), transparent); }
.nz-sechead__t h2 .nz-sechead__line:last-child { background: linear-gradient(to right, var(--gold), transparent); }
.nz-sechead__t p { font-size: 14px; }
.nz-more { padding: 7px 18px; border-radius: 999px; border: 1px solid var(--nzf-line); background: var(--nzf-field); box-shadow: 0 4px 12px rgba(96, 58, 24, .10); }

/* -- ad cards -- */
.nz-carousel__track, .nz-grid-3 { gap: 18px; }
.nz-ad { padding: 0 0 4px; border-radius: calc(var(--r-l) - 2px); border: 1px solid var(--nzf-line); background: var(--nzf-field); box-shadow: 0 8px 22px rgba(96, 58, 24, .09); }
.nz-ad:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(96, 58, 24, .16); }
.nz-ad__media { margin: 8px 8px 0; border-radius: 13px; aspect-ratio: 16 / 9.2; }
.nz-thumb img { transition: transform .8s var(--nz-ease); }
.nz-ad:hover .nz-thumb img { transform: scale(1.06); }
.nz-ad__body { padding: 11px 14px 13px; gap: 3px; }
.nz-ad__title { font-size: 17px; }
.nz-ad__loc { font-size: 12.5px; }
.nz-ad__price { align-self: flex-end; margin-top: 8px; font-size: 20px; }
.nz-chip { font-size: 12px; box-shadow: 0 3px 10px rgba(40, 24, 10, .16); }
.nz-chip--vip { padding: 4px 12px 4px 10px; background: linear-gradient(180deg, #e0263f 0, #b30f28 100%); border: 1px solid rgba(255, 255, 255, .35); }
.nz-cat-a { background: #e3f5e8; color: #17602f; } .nz-cat-b { background: #ffe9d6; color: #8a3b06; } .nz-cat-c { background: #ebe4fb; color: #4b2a9c; } .nz-cat-d { background: #fde3e7; color: #9c1026; }
.nz-chip--cat { font-weight: 800; padding: 3px 14px; }
.nz-ad__fav.nzc-fav { background: rgba(28, 18, 10, .42); }
.nz-thumb__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: radial-gradient(120% 100% at 72% 12%, #fffaf0 0, #f8ead6 62%, #f2ddc2 100%); }
.nz-thumb__empty::before { content: ''; position: absolute; inset: 0; background: var(--nz-panel, none) center / cover; opacity: .55; mix-blend-mode: multiply; }
.nz-thumb__empty img { position: relative; width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(96, 58, 24, .28)); }
.nz-thumb__empty span { position: relative; font-size: 11.5px; color: #a58c73; }
.nz-thumb:has(.nz-thumb__empty)::before { display: none; }

/* -- promo banner -- */
.nz-promo { min-height: 150px; padding: 26px clamp(24px, 4vw, 64px); border-radius: calc(var(--r-l) + 4px); background:
    linear-gradient(to left, #8c0f22 0, #98122a 40%, rgba(152, 18, 42, .9) 52%, rgba(152, 18, 42, .35) 70%, rgba(152, 18, 42, 0) 86%),
    var(--nz-promo, none) left center / auto 100% no-repeat, #8c0f22; box-shadow: 0 18px 40px rgba(140, 16, 36, .28); }
.nz-promo::after { content: ''; display: block; position: absolute; inset: 0; background: radial-gradient(60% 120% at 88% 0, rgba(255, 220, 190, .16), transparent 60%); pointer-events: none; }
.nz-promo h3 { font-size: clamp(24px, 2.4vw, 34px); }
.nz-btn--promo { height: 56px; padding-inline: 28px; border-radius: calc(var(--r-m) + 2px); border: 2px solid rgba(255, 255, 255, .92); background: linear-gradient(180deg, #e0263f 0, #b30f28 100%); box-shadow: 0 10px 22px rgba(60, 0, 10, .34), 0 1px 0 rgba(255, 255, 255, .3) inset; }

/* -- side boxes -- */
.nz-biz__tab { border-radius: var(--r-m); padding: 9px 16px; background: linear-gradient(180deg, #d8213c 0, #b30f28 100%); }
.nz-biz__row { border-radius: calc(var(--r-m) + 2px); padding: 10px 12px; box-shadow: 0 6px 16px rgba(96, 58, 24, .08); }
.nz-biz__img { width: 80px; height: 64px; border-radius: 11px; }
.nz-ai { border-radius: calc(var(--r-l) + 2px); box-shadow: 0 16px 34px rgba(110, 50, 190, .30); }
.nz-ai .nz-btn { border-radius: var(--r-m); box-shadow: 0 6px 14px rgba(40, 10, 80, .22); }

/* -- stats, popular searches, areas, steps -- */
.nz-stats { border-radius: calc(var(--r-l) + 2px); background: var(--nzf-card); border: 1px solid var(--card-line); box-shadow: 0 10px 30px rgba(96, 58, 24, .07); }
.nz-stat { padding-block: 18px; }
.nz-stat__ic { width: 62px; height: 62px; background: radial-gradient(circle at 30% 25%, #fff 0, #fde9dd 72%); box-shadow: 0 0 0 5px rgba(253, 232, 222, .6), 0 8px 16px rgba(200, 16, 46, .10); }
.nz-stat b { font-size: 26px; }
.nz-popular { border-radius: calc(var(--r-l) + 2px); background: var(--nzf-card); box-shadow: 0 8px 24px rgba(96, 58, 24, .05); }
.nz-pill { background: var(--nzf-card); border-color: var(--nzf-line-2); box-shadow: 0 1px 0 #fff inset; }
.nz-panel--soft { background: linear-gradient(180deg, var(--nzf-warm-a) 0, var(--nzf-warm-b) 100%); border-color: var(--nzf-line); }
.nz-area { border-radius: calc(var(--r-m) + 2px); border: 1px solid var(--nzf-line); box-shadow: 0 6px 16px rgba(96, 58, 24, .08); transition: transform .5s var(--nz-spring), box-shadow .3s; }
.nz-area:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(96, 58, 24, .16); }
.nz-area__img { border-radius: 11px; }
.nz-how { border-radius: var(--r-l); background: var(--nzf-card); }
.nz-how__ic { width: 60px; height: 60px; background: radial-gradient(circle at 30% 22%, #ff7a72 0, #e2223c 55%, #b30f28 100%); box-shadow: 0 10px 20px rgba(200, 16, 46, .28), 0 0 0 6px rgba(255, 220, 214, .55); }
.nz-how__cta .nz-btn { height: 54px; border-radius: calc(var(--r-m) + 1px); padding-inline: 30px; }

/* -- footer: the night scenery shows, the glossy round social buttons -- */
.nz-foot { margin-top: 60px; background: #22160f; }
.nz-foot__scene { opacity: 1; background: var(--nz-foot) center bottom / cover no-repeat; }
.nz-foot::after { background: linear-gradient(to bottom, rgba(34, 22, 15, .9) 0, rgba(34, 22, 15, .6) 40%, rgba(34, 22, 15, .12) 100%); }
.nz-foot__grid { padding-block: 44px 26px; gap: 30px; }
.nz-foot__bar { background: rgba(18, 11, 7, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.nz-social { gap: 10px; }
.nz-social a { width: 46px; height: 46px; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 50%; }
.nz-social a img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.nz-social a:hover { background: none; transform: translateY(-4px) scale(1.06); }
.nz-sub { border-radius: var(--r-m); height: 52px; border: 0; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.nz-sub button { background: linear-gradient(180deg, #e0263f 0, #b30f28 100%); }

/* ================= sections ================= */
.nz-cat img { mix-blend-mode: normal; filter: drop-shadow(0 4px 6px rgba(96, 58, 24, .18)); }

/* -- warm panels: the cream texture of the kit, gold filigree in both top corners -- */
.nz-panel { border-radius: calc(var(--r-l) + 4px); }
.nz-panel--warm { padding: 22px 26px 28px; border: 1px solid var(--nzf-line); background: var(--nz-panel, none) center / cover no-repeat, linear-gradient(180deg, var(--nzf-warm-a) 0, var(--nzf-warm-b) 100%); box-shadow: 0 16px 44px rgba(96, 58, 24, .08), 0 1px 0 rgba(255, 255, 255, .9) inset; overflow: hidden; }
.nz-panel--warm::before, .nz-panel--warm::after { content: ''; display: block; position: absolute; top: 0; width: 132px; height: 134px; mask: none; -webkit-mask: none; opacity: .5; pointer-events: none; background-repeat: no-repeat; background-size: contain; }
.nz-panel--warm::before { inset-inline: auto; right: 0; left: auto; background-image: var(--nz-corner-r); background-position: top right; }
.nz-panel--warm::after { inset-inline: auto; left: 0; right: auto; background-image: var(--nz-corner-l); background-position: top left; }
.nz-panel--warm > * { position: relative; z-index: 1; }
[data-nzc-mode="dark"] .nz-panel--warm { background: var(--surface-3); }
[data-nzc-mode="dark"] .nz-panel--warm::before, [data-nzc-mode="dark"] .nz-panel--warm::after { opacity: .18; filter: none; }
.nz-sechead__t h2 { font-size: clamp(24px, 2.2vw, 32px); }
.nz-sechead__line { width: 84px; height: 2px; opacity: 1; background: linear-gradient(to left, var(--gold), transparent); }
.nz-sechead__t h2 .nz-sechead__line:last-child { background: linear-gradient(to right, var(--gold), transparent); }
.nz-sechead__t p { font-size: 14px; }
.nz-more { padding: 7px 18px; border-radius: 999px; border: 1px solid var(--nzf-line); background: var(--nzf-field); box-shadow: 0 4px 12px rgba(96, 58, 24, .10); }

/* -- ad cards -- */
.nz-carousel__track, .nz-grid-3 { gap: 18px; }
.nz-ad { padding: 0 0 4px; border-radius: calc(var(--r-l) - 2px); border: 1px solid var(--nzf-line); background: var(--nzf-field); box-shadow: 0 8px 22px rgba(96, 58, 24, .09); }
.nz-ad:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(96, 58, 24, .16); }
.nz-ad__media { margin: 8px 8px 0; border-radius: 13px; aspect-ratio: 16 / 9.2; }
.nz-thumb img { transition: transform .8s var(--nz-ease); }
.nz-ad:hover .nz-thumb img { transform: scale(1.06); }
.nz-ad__body { padding: 11px 14px 13px; gap: 3px; }
.nz-ad__title { font-size: 17px; }
.nz-ad__loc { font-size: 12.5px; }
.nz-ad__price { align-self: flex-end; margin-top: 8px; font-size: 20px; }
.nz-chip { font-size: 12px; box-shadow: 0 3px 10px rgba(40, 24, 10, .16); }
.nz-chip--vip { padding: 4px 12px 4px 10px; background: linear-gradient(180deg, #e0263f 0, #b30f28 100%); border: 1px solid rgba(255, 255, 255, .35); }
.nz-cat-a { background: #e3f5e8; color: #17602f; } .nz-cat-b { background: #ffe9d6; color: #8a3b06; } .nz-cat-c { background: #ebe4fb; color: #4b2a9c; } .nz-cat-d { background: #fde3e7; color: #9c1026; }
.nz-chip--cat { font-weight: 800; padding: 3px 14px; }
.nz-ad__fav.nzc-fav { background: rgba(28, 18, 10, .42); }
.nz-thumb__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: radial-gradient(120% 100% at 72% 12%, #fffaf0 0, #f8ead6 62%, #f2ddc2 100%); }
.nz-thumb__empty::before { content: ''; position: absolute; inset: 0; background: var(--nz-panel, none) center / cover; opacity: .55; mix-blend-mode: multiply; }
.nz-thumb__empty img { position: relative; width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(96, 58, 24, .28)); }
.nz-thumb__empty span { position: relative; font-size: 11.5px; color: #a58c73; }
.nz-thumb:has(.nz-thumb__empty)::before { display: none; }

/* -- promo banner -- */
.nz-promo { min-height: 150px; padding: 26px clamp(24px, 4vw, 64px); border-radius: calc(var(--r-l) + 4px); background:
    linear-gradient(to left, #8c0f22 0, #98122a 40%, rgba(152, 18, 42, .9) 52%, rgba(152, 18, 42, .35) 70%, rgba(152, 18, 42, 0) 86%),
    var(--nz-promo, none) left center / auto 100% no-repeat, #8c0f22; box-shadow: 0 18px 40px rgba(140, 16, 36, .28); }
.nz-promo::after { content: ''; display: block; position: absolute; inset: 0; background: radial-gradient(60% 120% at 88% 0, rgba(255, 220, 190, .16), transparent 60%); pointer-events: none; }
.nz-promo h3 { font-size: clamp(24px, 2.4vw, 34px); }
.nz-btn--promo { height: 56px; padding-inline: 28px; border-radius: calc(var(--r-m) + 2px); border: 2px solid rgba(255, 255, 255, .92); background: linear-gradient(180deg, #e0263f 0, #b30f28 100%); box-shadow: 0 10px 22px rgba(60, 0, 10, .34), 0 1px 0 rgba(255, 255, 255, .3) inset; }

/* -- side boxes -- */
.nz-biz__tab { border-radius: var(--r-m); padding: 9px 16px; background: linear-gradient(180deg, #d8213c 0, #b30f28 100%); }
.nz-biz__row { border-radius: calc(var(--r-m) + 2px); padding: 10px 12px; box-shadow: 0 6px 16px rgba(96, 58, 24, .08); }
.nz-biz__img { width: 80px; height: 64px; border-radius: 11px; }
.nz-ai { border-radius: calc(var(--r-l) + 2px); box-shadow: 0 16px 34px rgba(110, 50, 190, .30); }
.nz-ai .nz-btn { border-radius: var(--r-m); box-shadow: 0 6px 14px rgba(40, 10, 80, .22); }

/* -- stats, popular searches, areas, steps -- */
.nz-stats { border-radius: calc(var(--r-l) + 2px); background: var(--nzf-card); border: 1px solid var(--card-line); box-shadow: 0 10px 30px rgba(96, 58, 24, .07); }
.nz-stat { padding-block: 18px; }
.nz-stat__ic { width: 62px; height: 62px; background: radial-gradient(circle at 30% 25%, #fff 0, #fde9dd 72%); box-shadow: 0 0 0 5px rgba(253, 232, 222, .6), 0 8px 16px rgba(200, 16, 46, .10); }
.nz-stat b { font-size: 26px; }
.nz-popular { border-radius: calc(var(--r-l) + 2px); background: var(--nzf-card); box-shadow: 0 8px 24px rgba(96, 58, 24, .05); }
.nz-pill { background: var(--nzf-card); border-color: var(--nzf-line-2); box-shadow: 0 1px 0 #fff inset; }
.nz-panel--soft { background: linear-gradient(180deg, var(--nzf-warm-a) 0, var(--nzf-warm-b) 100%); border-color: var(--nzf-line); }
.nz-area { border-radius: calc(var(--r-m) + 2px); border: 1px solid var(--nzf-line); box-shadow: 0 6px 16px rgba(96, 58, 24, .08); transition: transform .5s var(--nz-spring), box-shadow .3s; }
.nz-area:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(96, 58, 24, .16); }
.nz-area__img { border-radius: 11px; }
.nz-how { border-radius: var(--r-l); background: var(--nzf-card); }
.nz-how__ic { width: 60px; height: 60px; background: radial-gradient(circle at 30% 22%, #ff7a72 0, #e2223c 55%, #b30f28 100%); box-shadow: 0 10px 20px rgba(200, 16, 46, .28), 0 0 0 6px rgba(255, 220, 214, .55); }
.nz-how__cta .nz-btn { height: 54px; border-radius: calc(var(--r-m) + 1px); padding-inline: 30px; }

/* -- footer: the night scenery shows, the glossy round social buttons -- */
.nz-foot { margin-top: 60px; background: #22160f; }
.nz-foot__scene { opacity: 1; background: var(--nz-foot) center bottom / cover no-repeat; }
.nz-foot::after { background: linear-gradient(to bottom, rgba(34, 22, 15, .9) 0, rgba(34, 22, 15, .6) 40%, rgba(34, 22, 15, .12) 100%); }
.nz-foot__grid { padding-block: 44px 26px; gap: 30px; }
.nz-foot__bar { background: rgba(18, 11, 7, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.nz-social { gap: 10px; }
.nz-social a { width: 46px; height: 46px; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 50%; }
.nz-social a img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.nz-social a:hover { background: none; transform: translateY(-4px) scale(1.06); }
.nz-sub { border-radius: var(--r-m); height: 52px; border: 0; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.nz-sub button { background: linear-gradient(180deg, #e0263f 0, #b30f28 100%); }

/* -- inner-page header (variant photo): one wide scenery panorama, glass bars for the menu and the search -- */
.nz-head--photo { background: var(--nz-head-full, none) center top / cover no-repeat, var(--bg); border-bottom: 0; }
.nz-head--photo::before, .nz-head--photo::after { display: none; }
.nz-head--photo > .nz-top { position: relative; z-index: 2; }
.nz-head--photo .nz-brand__name, .nz-head--photo .nz-brand__tag, .nz-head--photo .nz-top a, .nz-head--photo .nz-nav a { text-shadow: none; }
.nz-head--photo .nz-head__main { padding-block: 10px 10px; }
.nz-head--photo .nz-head__main .nz-brand { text-shadow: 0 0 14px rgba(255, 250, 244, .95); }
.nz-head--photo .nz-brand__tag { color: #5a4636; }
.nz-head--photo > .nz-wrap { position: relative; z-index: 2; }
.nz-head--photo .nz-nav { margin-top: 2px; padding: 8px 14px; border: 1px solid var(--glass-line); border-radius: calc(var(--r-m) + 2px); background: var(--glass); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 10px 28px rgba(96, 58, 24, .12); }
.nz-head--photo .nz-nav a + a::before { border-color: var(--nzf-line-2); }
.nz-head--photo .nz-headsearch { padding: 12px 0 18px; }
.nz-head--photo .nz-headsearch .nz-input { border-color: #fff; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 28px rgba(96, 58, 24, .16); }
.nz-head--photo .nz-headsearch .nz-btn { border-radius: 13px; }
.nz-head--photo::after { display: block; content: ''; position: absolute; inset: auto 0 0 0; height: 46px; z-index: 0; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--bg)); width: auto; }
[data-nzc-mode="dark"] .nz-head--photo { background: var(--nz-head-full, none) center top / cover no-repeat, var(--bg); }
[data-nzc-mode="dark"] .nz-head--photo > * { position: relative; }
.nz-head--photo::before { display: block; content: ''; position: absolute; inset: 0; left: 0; right: 0; width: auto; height: auto; z-index: 0; mask: none; -webkit-mask: none; background: linear-gradient(to bottom, rgba(255, 246, 238, .38), rgba(255, 246, 238, .12) 55%, rgba(255, 246, 238, .3)); pointer-events: none; }
[data-nzc-mode="dark"] .nz-head--photo::before { background: rgba(15, 11, 9, .6); }

/* -- login / post / my ads: narrower composition like the mockups, cream cards, glossy buttons -- */
.nz-loginpage__in .nz-login { max-width: 1180px; margin-inline: auto; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); }
.nz-postpage__in, .nz-acctpage__in { max-width: 1240px; margin-inline: auto; }
.nz-btn--primary { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 86%, #fff) 0, var(--primary) 46%, var(--primary-hover) 100%); box-shadow: 0 10px 22px color-mix(in srgb, var(--primary) 30%, transparent), 0 1px 0 rgba(255, 255, 255, .3) inset; }
.nz-btn--primary:hover { box-shadow: 0 16px 30px color-mix(in srgb, var(--primary) 36%, transparent), 0 1px 0 rgba(255, 255, 255, .3) inset; }
.nz-btn--outline { border-color: var(--nzf-line-2); box-shadow: 0 1px 0 #fff inset, 0 3px 10px rgba(96, 58, 24, .05); }
.nz-card { border-color: var(--card-line); border-radius: calc(var(--r-l) + 4px); background: var(--nz-panel, none) center / cover no-repeat, linear-gradient(180deg, var(--nzf-card) 0, #fdf6ec 100%); box-shadow: 0 16px 44px rgba(96, 58, 24, .10), 0 1px 0 #fff inset; }
.nz-login__card { box-shadow: 0 26px 64px rgba(96, 58, 24, .16), 0 1px 0 #fff inset; }
.nz-login .nz-input, .nz-wizard .nz-input { border-color: var(--nzf-line-2); background: var(--nzf-field); }
.nz-input { border-radius: var(--r-m); }
.nz-why__ic { background: var(--nzf-field); box-shadow: 0 10px 24px rgba(96, 58, 24, .16), 0 0 0 5px rgba(255, 244, 232, .9); }
.nz-tile { border-radius: calc(var(--r-m) + 2px); border-color: #eadcc8; background: linear-gradient(180deg, #fff, var(--nzf-card-2)); box-shadow: 0 6px 16px rgba(96, 58, 24, .07); }
.nz-tile:hover { box-shadow: 0 14px 28px rgba(96, 58, 24, .14); }
.nz-step__dot { box-shadow: 0 4px 10px rgba(96, 58, 24, .10); }
.nz-myad { border-radius: calc(var(--r-l) + 2px); }
.nz-menu a.is-on { background: linear-gradient(180deg, #3a2a22, #1f1510); }
[data-nzc-mode="dark"] .nz-card { background: var(--surface); }

/* -- dark mode of the no-photo plate -- */
[data-nzc-mode="dark"] .nz-thumb__empty { background: radial-gradient(120% 100% at 72% 12%, #3a2c24 0, #2a1f19 62%, #211813 100%); }
[data-nzc-mode="dark"] .nz-thumb__empty::before { opacity: .12; mix-blend-mode: screen; }
[data-nzc-mode="dark"] .nz-thumb__empty span { color: #a08d7c; }

/* -- visual switches from the settings panel (classes on .bz, see layout.fx_* slots) -- */
.nz-no-orn .nz-panel--warm::before, .nz-no-orn .nz-panel--warm::after, .nz-no-orn .nz-card--orn::before, .nz-no-orn .nz-card--orn2::after, .nz-no-orn .nz-panel--orn::before, .nz-no-orn .nz-panel--orn::after { display: none; }
.nz-no-tex { --nz-panel: none; }
.nz-no-glass { --glass: var(--surface); --glass-line: var(--line); }
.nz-no-glass .nz-herohead .nz-head__main::before, .nz-no-glass .nz-head--photo .nz-nav, .nz-no-glass .nz-search, .nz-no-glass .nz-channels, .nz-no-glass .nz-foot__bar { backdrop-filter: none; -webkit-backdrop-filter: none; }
.nz-no-glass .nz-search, .nz-no-glass .nz-channels { background: var(--surface); }
.nz-still *, .nz-still *::before, .nz-still *::after { transition: none !important; animation: none !important; }
.nz-still .nz-ad:hover, .nz-still .nz-area:hover, .nz-still .nz-cat:hover, .nz-still .bz-catcol:hover, .nz-still .bz-tier:hover, .nz-still .bz-shopcard:hover { transform: none; }
.nz-no-hero .nz-hero::before { display: none; }
.nz-no-hero .nz-hero { min-height: 0; }
.nz-no-headscene .nz-head--photo { background: var(--bg); }
.nz-no-headscene .nz-head--photo::before { display: none; }
.nz-no-footscene .nz-foot__scene { display: none; }

/* ================= Phase 1 premium polish (home + ad card) ================= */
/* Premium featured card frame: a soft gold halo around VIP cards, deeper lift on hover */
.nz-ad--vip { border: 1.5px solid color-mix(in srgb, var(--gold) 70%, var(--nzf-line)); background: linear-gradient(180deg, var(--nzf-card) 0, color-mix(in srgb, var(--gold) 6%, var(--nzf-card-2)) 100%); box-shadow: 0 10px 24px rgba(168, 116, 22, .18), 0 1px 0 rgba(255, 255, 255, .9) inset; position: relative; }
.nz-ad--vip::before { content: ''; position: absolute; inset: 4px; border-radius: calc(var(--r-l) - 6px); border: 1px dashed color-mix(in srgb, var(--gold) 55%, transparent); pointer-events: none; opacity: .85; }
.nz-ad--vip:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(168, 116, 22, .28), 0 1px 0 rgba(255, 255, 255, .9) inset; }
/* VIP chip becomes a small banner pinned to the card top in the same gold band */
.nz-ad--vip .nz-chip--vip { padding: 5px 14px 5px 11px; border-radius: 999px; background: linear-gradient(180deg, #e8a82c 0, #b27814 100%); border-color: rgba(255, 255, 255, .55); color: #fff; box-shadow: 0 6px 14px rgba(168, 116, 22, .35); }
.nz-ad--vip .nz-chip--vip .nz-ic { color: #fff5d6; }

/* Premium price block: stronger hierarchy, optional free/negotiable badge */
.nz-ad__price { display: inline-flex; align-items: baseline; gap: 4px; align-self: flex-end; margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 8%, var(--nzf-card)) 0, color-mix(in srgb, var(--primary) 4%, var(--nzf-card-2)) 100%); border: 1px solid color-mix(in srgb, var(--primary) 16%, var(--nzf-line)); font-family: var(--font-display); font-size: 20px; line-height: 1.2; color: var(--primary-text); }
.nz-ad__price small { font-size: 12.5px; font-weight: 800; color: color-mix(in srgb, var(--primary-text) 70%, transparent); }
.nz-ad__price.is-word { font-size: 14px; padding: 4px 12px; background: var(--surface-2); border-color: var(--nzf-line); color: var(--text-2); font-weight: 800; }
.nz-ad--vip .nz-ad__price { border-color: color-mix(in srgb, var(--gold) 40%, var(--nzf-line)); background: linear-gradient(180deg, #fff7e6 0, #fbe6c0 100%); color: #7a4f0d; }
.nz-ad--vip .nz-ad__price small { color: #9c7022; }

/* Title gets room to breathe: two lines on desktop, still ellipsis after that */
.nz-ad__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2; white-space: normal; overflow: hidden; min-height: 2.7em; min-height: 2lh; max-height: 2.7em; max-height: 2lh; }
.nz-ad--sm .nz-ad__title { -webkit-line-clamp: 2; line-clamp: 2; font-size: 14.5px; min-height: 2.7em; min-height: 2lh; max-height: 2.7em; max-height: 2lh; }
.nz-ad__loc { letter-spacing: .01em; }

/* Empty-thumb place: lighter, more inviting */
.nz-thumb__empty span { font-weight: 700; }

/* (hero typography, background and kicker are deliberately NOT restyled here: the hero is the customer-specific photo scene) */

/* Search bar gets a thin gold accent line on focus, gentler hover */
.nz-search { position: relative; }
.nz-search:focus-within { box-shadow: 0 28px 60px rgba(96, 58, 24, .22), 0 0 0 4px color-mix(in srgb, var(--gold) 26%, transparent), 0 1px 0 #fff inset; }
/* Channels: a bit more breathing room and crisper tiles */
.nz-channels { padding: 14px 18px; }
.nz-channel { transition: transform .45s var(--nz-spring), box-shadow .3s; }
.nz-channel:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(60, 40, 20, .16), 0 1px 0 #fff inset; }
/* Category strip: more compact on desktop, truly horizontal scroll on phones */
.nz-cats { padding: 14px; gap: 10px; }
.nz-cat { transition: transform .45s var(--nz-spring), box-shadow .3s, border-color .2s; }
.nz-cat:hover { transform: translateY(-3px); }
/* Section heads: thicker gold rules and a small badge for premium sections */
.nz-sechead__t h2 { font-weight: 900; }
.nz-sechead__line { width: 110px; height: 3px; }
/* Featured carousel: arrows land inside the panel, not floating outside, on smaller widths */
.nz-carousel { padding-inline: 4px; }
.nz-carousel__nav--prev { inset-inline-start: -8px; left: auto; }
.nz-carousel__nav--next { inset-inline-end: -8px; right: auto; }

/* Promo: a calmer, more contemporary split */
.nz-promo { padding: 30px clamp(24px, 4vw, 64px); min-height: 158px; }
.nz-promo h3 { letter-spacing: -.01em; }
.nz-promo p { max-width: 56ch; opacity: .95; }
.nz-promo__eyebrow { display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #ffe4d8; font-size: 12.5px; font-weight: 800; letter-spacing: .01em; }

/* Side boxes (home sidebar) */
.nz-biz__row { border-radius: calc(var(--r-m) + 2px); padding: 10px 12px; box-shadow: 0 6px 16px rgba(96, 58, 24, .08); transition: background-color .25s; }
.nz-biz__row:hover { background: color-mix(in srgb, var(--primary) 4%, var(--nzf-field)); }
/* Stats, popular, areas */
/* Biz + AI cards: a touch more separation and a clear CTA in biz rows */
.nz-biz__row { transition: background-color .25s; }
.nz-biz__row:hover { background: color-mix(in srgb, var(--primary) 4%, var(--nzf-field)); }

/* How-it-works: step number tag and a connecting dotted line */
.nz-how { padding: 22px 24px; gap: 0; position: relative; }
.nz-how::before { content: ''; position: absolute; inset-block-start: 64px; inset-inline: 110px; height: 2px; background-image: linear-gradient(to right, var(--nzf-line-2) 50%, transparent 0); background-size: 12px 2px; background-repeat: repeat-x; pointer-events: none; }
.nz-how__step { position: relative; padding-inline: 18px; }
.nz-how__ic { position: relative; z-index: 1; background: linear-gradient(180deg, #ff8a5a 0, #e2223c 55%, #b30f28 100%); }
.nz-how__step > span:last-child { background: var(--nzf-card); position: relative; z-index: 1; }
