/*
 * Inner pages of the redesigned Bazar theme (listings, ad detail, categories, shops, plans, info page, errors, modals).
 * These pages keep their markup and scripts; this sheet re-skins them in the redesign's language: warm paper, soft cream cards,
 * gold hairlines, glossy red buttons. It is loaded after nz-fidelity.css and only touches things inside .tp-bazar.
 */

/* ---------- page frame ---------- */
.nz-inner { width: min(100%, var(--container)); max-width: var(--container); margin-inline: auto; padding: 6px var(--wrap-pad) 64px; background: transparent; }
.nz-inner .bz-crumb { padding-block: 8px 14px; font-size: 13px; color: var(--text-2); }
.nz-inner .bz-crumb a { font-weight: 700; color: var(--text-2); }
.nz-inner .bz-crumb a:hover { color: var(--primary-text); }
.nz-inner .bz-kicker { font-family: var(--font-display); font-weight: 800; font-size: 13.5px; color: var(--primary-text); }
.nz-inner .bz-pagehead { padding: 0 0 6px; margin: 0 0 20px; border-block-end: 0; align-items: center; }
.nz-inner .bz-pagehead h1 { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: clamp(28px, 3vw, 42px); }
.nz-inner .bz-pagehead h1::before { content: ''; flex: none; width: 5px; height: .95em; border-radius: 4px; background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 80%, #fff), var(--primary-hover)); }
.nz-inner .bz-pagehead p { color: var(--text-2); }
.nz-inner .bz-pagehead__emblem, .nz-inner .bz-cathead__img { width: 92px; height: auto; opacity: .9; }

/* ---------- shared components, softened ---------- */
.tp-bazar .nzc-btn { min-height: 46px; padding-inline: 22px; border-radius: var(--r-m); font-size: 15.5px; }
.tp-bazar .nzc-btn--lg { min-height: 54px; border-radius: calc(var(--r-m) + 1px); font-size: 17px; }
.tp-bazar .nzc-btn--primary { border-color: rgba(255, 255, 255, .0); background: linear-gradient(180deg, color-mix(in srgb, var(--nzc-primary) 86%, #fff) 0, var(--nzc-primary) 46%, color-mix(in srgb, var(--nzc-primary) 84%, #000) 100%);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--nzc-primary) 30%, transparent), 0 1px 0 rgba(255, 255, 255, .3) inset; }
.tp-bazar .nzc-btn--primary:hover { box-shadow: 0 16px 30px color-mix(in srgb, var(--nzc-primary) 36%, transparent), 0 1px 0 rgba(255, 255, 255, .3) inset; }
.tp-bazar .nzc-btn--primary:active { box-shadow: 0 4px 10px color-mix(in srgb, var(--nzc-primary) 30%, transparent); }
.tp-bazar .nzc-btn--outline { border: 1.5px solid var(--nzf-line-2); background: var(--nzf-field); box-shadow: 0 1px 0 #fff inset, 0 3px 10px rgba(96, 58, 24, .05); }
.tp-bazar .nzc-btn--outline:hover { border-color: var(--nzc-primary); }
.tp-bazar .nzc-btn--ghost:hover { background: var(--nzf-cream); }
.tp-bazar .nzc-stamp { border-radius: 10px; border-width: 1.5px; font-family: var(--font-display); }
.tp-bazar .nzc-link { color: var(--primary-text); font-weight: 800; }
.tp-bazar .nzc-tabs { border: 1px solid var(--nzf-line-2); background: var(--nzf-cream); border-radius: var(--r-m); padding: 4px; }
.tp-bazar .nzc-tabs__thumb { border-radius: 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--nzc-primary) 86%, #fff), var(--nzc-primary)); }
.tp-bazar .nzc-check__box { border-color: var(--nzf-line-2); border-radius: 8px; background: var(--nzf-field); }
.tp-bazar .nzc-check--radio .nzc-check__box { border-radius: 50%; }
.tp-bazar .nzc-switch__track { border-color: var(--nzf-line-2); background: var(--nzf-cream); }
.tp-bazar .nzc-range__track { background: #efe1cf; }
.tp-bazar .nzc-range input::-webkit-slider-thumb { background: var(--nzf-field); border: 3px solid var(--nzc-primary); box-shadow: 0 4px 12px rgba(96, 58, 24, .25); }
.tp-bazar .bz-field__box { min-height: 50px; border: 1.5px solid var(--nzf-line-2); border-radius: 13px; background: var(--nzf-field); box-shadow: none; }
.tp-bazar .bz-field__box:focus-within { border-color: var(--nzc-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nzc-primary) 14%, transparent); transform: none; }
.tp-bazar .bz-tag { padding: 4px 14px; border: 1px solid var(--nzf-line-2); border-radius: 999px; background: var(--nzf-card); font-size: 13px; font-weight: 700; }
.tp-bazar .bz-tag:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-text); }
.nz-inner .bz-box { padding: 20px; border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 2px); background: var(--nzf-card); box-shadow: 0 10px 28px rgba(96, 58, 24, .08), 0 1px 0 #fff inset; }
.nz-inner .bz-h { position: relative; margin: 0 0 12px; padding: 0 0 12px; border-block-end: 0; font-family: var(--font-display); font-size: 19px; font-weight: 900; }
.nz-inner .bz-h::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(to left, var(--gold), transparent 78%); }
.nz-inner .bz-sechead { gap: 16px; }
.nz-inner .bz-sechead h2 { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); }
.nz-inner .bz-rule { border: 0; height: 2px; border-radius: 2px; background: linear-gradient(to left, var(--gold), transparent); }
.nz-inner .bz-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 20px; margin-top: 8px; border: 1.5px dashed var(--nzf-line-2); border-radius: calc(var(--r-l) + 2px); background: var(--nzf-cream); text-align: center; }
.nz-inner .bz-empty[hidden] { display: none; }
.nz-inner .bz-empty h2 { font-family: var(--font-display); font-size: 22px; }
.nz-inner .bz-empty img { width: 130px; height: auto; }
.nz-inner .bz-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.nz-inner .bz-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.tp-bazar .bz-achip { border: 1px solid #f0cfd4; border-radius: 999px; background: var(--primary-soft); color: var(--primary-text); font-weight: 800; padding: 4px 8px 4px 14px; }
.tp-bazar .bz-clear { border: 0; background: none; color: var(--text-2); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* ---------- listings ---------- */
.nz-inner .bz-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nz-inner .bz-sort { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-2); }
.nz-inner .bz-sort select { height: 46px; padding-inline: 14px 10px; border: 1.5px solid var(--nzf-line-2); border-radius: 13px; background: var(--nzf-field); font-family: var(--font-display); font-weight: 800; }
.nz-inner .bz-grid--filters { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; padding-block: 6px 30px; align-items: start; }
.nz-inner .bz-filters { top: 16px; }
.nz-inner .bz-fform fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.nz-inner .bz-fform legend { padding: 0; margin-bottom: 8px; font-family: var(--font-display); font-weight: 900; font-size: 15.5px; }
.nz-inner .bz-fopts { display: flex; flex-direction: column; gap: 4px; max-height: 320px; overflow: auto; scrollbar-width: thin; }
.nz-inner .bz-fopts .nzc-check, .nz-inner .bz-fopts .nzc-switch { padding: 7px 8px; border-radius: 10px; }
.nz-inner .bz-fopts .nzc-check:hover, .nz-inner .bz-fopts .nzc-switch:hover { background: var(--nzf-cream); }
.nz-inner .bz-fopts .is-sub { margin-inline-start: 22px; font-size: 14px; }
.nz-inner .bz-fact { display: flex; gap: 10px; margin-top: 6px; }
.nz-inner .bz-fact .nzc-btn { flex: 1; }
.nz-inner .bz-cta { text-align: center; }
.nz-inner .bz-cta img { width: 96px; height: auto; margin-inline: auto; }
.nz-inner .bz-tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.nz-inner .bz-tickets > .nzc-ticket, .nz-inner .bz-tickets > .nz-ad { min-width: 0; }
.nz-inner .bz-tickets.is-text { grid-template-columns: 1fr; gap: 12px; }
.nz-inner .bz-tickets.is-text .nz-ad { flex-direction: row; align-items: stretch; }
.nz-inner .bz-tickets.is-text .nz-ad__media { width: 210px; flex: none; aspect-ratio: auto; min-height: 130px; }
.nz-inner .bz-tickets.is-text .nz-ad__body { flex: 1; justify-content: center; }
.nz-inner .bz-tickets.is-text .nz-ad__price { align-self: flex-start; }
.nz-ad__time { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto; font-style: normal; font-size: 12px; opacity: .85; }
.nz-ad__time .nz-ic { width: 13px; height: 13px; }
.nz-ad__loc { flex-wrap: wrap; }
.nz-ad[hidden] { display: none; }
.nz-inner .bz-slot { grid-column: 1 / -1; position: relative; display: flex; align-items: center; gap: 20px; padding: 18px 26px; border: 0; border-radius: calc(var(--r-l) + 2px); color: #fff; overflow: hidden;
  background: linear-gradient(to left, #8c0f22 0, #98122a 60%, rgba(152, 18, 42, .82) 100%), var(--nz-promo, none) left center / auto 100% no-repeat, #8c0f22; box-shadow: 0 16px 34px rgba(140, 16, 36, .24); }
.nz-inner .bz-slot::before { display: none; }
.nz-inner .bz-slot p, .nz-inner .bz-slot .nzc-muted { color: #f6dfe0; }
.nz-inner .bz-slot b { font-family: var(--font-display); font-size: 21px; }
.nz-inner .bz-slot__tag { position: absolute; inset-block-start: 10px; inset-inline-start: 14px; padding: 1px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 11.5px; }
.nz-inner .bz-slot img { width: 84px; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .3)); }
.nz-inner .bz-slot .nzc-btn { margin-inline-start: auto; border-color: rgba(255, 255, 255, .85); background: transparent; color: #fff; }
.nz-inner .bz-more { margin-top: 22px; padding-top: 0; border-block-start: 0; }

@media (max-width: 980px) {
  .nz-inner .bz-grid--filters { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- ad detail ---------- */
.nz-inner .bz-arthead { padding: 0 0 14px; margin: 0 0 22px; border-block-end: 0; }
.nz-inner .bz-arthead .bz-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--text-2); font-family: var(--font-body); font-weight: 600; }
.nz-inner .bz-arthead h1 { max-width: none; margin-block: 8px 16px; font-family: var(--font-display); font-size: clamp(26px, 2.7vw, 38px); line-height: 1.55; font-weight: 900; }
.nz-inner .bz-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 12px 18px; border: 1px solid var(--card-line); border-radius: calc(var(--r-l) - 2px); background: var(--nzf-card); box-shadow: 0 8px 22px rgba(96, 58, 24, .07); }
.nz-inner .bz-byline__av { width: 46px; height: 46px; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(96, 58, 24, .25); }
.nz-inner .bz-byline__m { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 13.5px; }
.nz-inner .bz-byline__tools { margin-inline-start: auto; }
.nz-inner .bz-verified { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: 8px; padding: 2px 10px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-style: normal; font-size: 12px; font-weight: 800; }
.nz-inner .bz-artgrid { grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; }
.nz-inner .bz-gallery__main { border: 0; border-radius: calc(var(--r-l) + 4px); background: #f4e6d3; box-shadow: 0 20px 48px rgba(96, 58, 24, .18), 0 0 0 1px rgba(240, 227, 210, .8); }
.nz-inner .bz-gallery__count { padding: 3px 12px; border-radius: 999px; background: rgba(28, 18, 10, .62); color: #fff; backdrop-filter: blur(6px); }
.nz-inner .bz-gallery__zoom { border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); color: var(--text); }
.nz-inner .bz-gallery__thumbs { gap: 10px; margin-top: 12px; }
.nz-inner .bz-thumb { border-radius: calc(var(--r-m) + 1px); overflow: hidden; border: 2px solid transparent; box-shadow: 0 4px 12px rgba(96, 58, 24, .12); }
.nz-inner .bz-thumb.is-on { border-color: var(--primary); }
.nz-inner .bz-gallery figcaption, .nz-inner .bz-mapplate figcaption { font-style: normal; font-size: 13px; }
.nz-inner .bz-block { margin-bottom: 20px; padding: 20px 24px 22px; border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 2px); background: var(--nzf-card); box-shadow: 0 10px 28px rgba(96, 58, 24, .07); }
.nz-inner .bz-spec { gap: 0 44px; }
.nz-inner .bz-spec > div { padding-block: 10px; border-block-end: 1px solid var(--nzf-line); }
.nz-inner .bz-spec dt { color: var(--text-2); font-weight: 600; }
.nz-inner .bz-spec dd { font-weight: 800; }
.nz-inner .bz-spec i { border-block-end: 1.5px dotted var(--nzf-line-2); }
.nz-inner .bz-prose { line-height: 2.1; }
.nz-inner .bz-mapplate .nzc-map { border: 0; border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--card-line); overflow: hidden; }
.nz-inner .bz-artside { display: flex; flex-direction: column; gap: 18px; }
.nz-inner .bz-pricecard { padding: 24px 24px 20px; border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 4px); background: linear-gradient(180deg, var(--nzf-card) 0, var(--nzf-card-2) 100%); box-shadow: 0 18px 44px rgba(96, 58, 24, .14), 0 1px 0 #fff inset; overflow: hidden; }
.nz-inner .bz-pricecard::before { inset: 0 0 auto 0; height: 5px; border: 0; border-radius: 0; background: linear-gradient(to left, var(--gold), var(--primary)); }
.nz-inner .bz-pricecard__top .nzc-muted { font-family: var(--font-display); font-weight: 800; }
.nz-inner .bz-pricecard__v b { font-family: var(--font-display); font-size: 46px; color: var(--primary-text); }
.nz-inner .bz-pricecard__v span { font-family: var(--font-display); font-weight: 800; color: var(--text-2); }
.nz-inner .bz-pricecard__sub { border-block-end: 1px dashed var(--nzf-line-2); }
.nz-inner .bz-phone__num { border: 1.5px dashed var(--nzf-line-2); border-radius: var(--r-m); background: var(--nzf-field); }
.nz-inner .bz-pricecard__act { gap: 10px; }
.nz-inner .bz-pricecard__act .nzc-btn--icon { width: 46px; border: 1.5px solid var(--nzf-line-2); background: var(--nzf-field); }
.nz-inner .bz-offer { border: 0; background: none; color: var(--primary-text); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.nz-inner .bz-seller__av { width: 54px; height: 54px; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(96, 58, 24, .25); }
.nz-inner .bz-seller__stats { border-block: 1px solid var(--nzf-line); }
.nz-inner .bz-tips { border: 1px solid #f2dfb8; border-radius: calc(var(--r-l) + 2px); background: linear-gradient(180deg, #fff8e8, #fdf1d6); box-shadow: 0 8px 22px rgba(160, 110, 30, .08); }
.nz-inner .bz-tips img { width: 78px; }
.nz-inner .bz-similar { margin-top: 34px; }
.nz-inner .bz-mbar { border-radius: calc(var(--r-l) + 2px) 22px 0 0; border: 0; background: color-mix(in srgb, var(--nzf-card) calc(.96 * 100%), transparent); box-shadow: 0 -10px 30px rgba(96, 58, 24, .16); }
@media (max-width: 980px) { .nz-inner .bz-artgrid { grid-template-columns: minmax(0, 1fr); } }
.nz-inner .bz-pricecard__act .nzc-fav, .nz-inner .bz-pricecard__act .nzc-btn--icon { color: var(--text); background: var(--nzf-field); }
.nz-inner .bz-pricecard__act .nzc-fav .nzc-i, .nz-inner .bz-pricecard__act .nzc-btn--icon .nzc-i { color: var(--text); }
.nz-inner .bz-pricecard__act .nzc-fav.is-on .nzc-i { color: #e0263f; }

/* ---------- categories ---------- */
.tp-bazar .bz-catfind { padding: 4px 18px; margin-bottom: 22px; border: 1.5px solid var(--nzf-line-2); border-radius: calc(var(--r-m) + 2px); background: var(--nzf-field); box-shadow: 0 8px 22px rgba(96, 58, 24, .07); }
.tp-bazar .bz-catfind:focus-within { border-color: var(--nzc-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nzc-primary) 14%, transparent); transform: none; }
.nz-inner .bz-catgrid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.nz-inner .bz-catcol { padding: 20px 22px 18px; border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 4px); background: var(--nzf-card); box-shadow: 0 10px 28px rgba(96, 58, 24, .08), 0 1px 0 #fff inset; overflow: hidden; }
.nz-inner .bz-catcol::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(to left, var(--_c, var(--gold)), transparent 85%); opacity: .8; }
.nz-inner .bz-catcol { position: relative; }
.nz-inner .bz-catcol:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(96, 58, 24, .16); }
.nz-inner .bz-catcol__h { padding-bottom: 12px; border-block-end: 1.5px solid var(--nzf-line); }
.nz-inner .bz-catcol__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); font-size: 15px; }
.nz-inner .bz-catcol__ico { width: 48px; height: 48px; border: 0; background: color-mix(in srgb, var(--_c, #999) 16%, #fff); box-shadow: 0 0 0 4px color-mix(in srgb, var(--_c, #999) 8%, transparent); }
.nz-inner .bz-catcol h2 { font-family: var(--font-display); font-size: 21px; }
.nz-inner .bz-catcol__l a { padding-block: 6px; border-radius: 8px; }
.nz-inner .bz-catcol__l i { border-block-end: 1.5px dotted var(--nzf-line-2); }
.nz-inner .bz-catcol__f { border-block-start: 1.5px solid var(--nzf-line); }
.nz-inner .bz-band { border: 1px solid #f2dfb8; border-radius: calc(var(--r-l) + 4px); background: linear-gradient(120deg, #fff6e4, #fdeccb); box-shadow: 0 12px 30px rgba(160, 110, 30, .12); }
.nz-inner .bz-band b { font-family: var(--font-display); font-size: 22px; }
.nz-inner .bz-hoodsec { padding: 20px 24px 22px; border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 2px); background: var(--nzf-card); box-shadow: 0 10px 28px rgba(96, 58, 24, .06); }

/* ---------- plans / shops / info ---------- */
.nz-inner .bz-tiers { gap: 22px; }
.nz-inner .bz-tier { padding: 26px 24px 22px; border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 6px); background: var(--nzf-card); box-shadow: 0 12px 30px rgba(96, 58, 24, .09); overflow: visible; }
.nz-inner .bz-tier:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(96, 58, 24, .17); }
.nz-inner .bz-tier.is-hot { border-color: #efc5cb; background: linear-gradient(180deg, #fff, #fdeef0); box-shadow: 0 20px 44px rgba(200, 16, 46, .18); }
.nz-inner .bz-tier h3 { font-family: var(--font-display); font-size: 24px; }
.nz-inner .bz-tier__p b { font-size: 34px; color: var(--primary-text); }
.nz-inner .bz-tier ul { border-block-start: 1.5px dashed var(--nzf-line-2); }
.nz-inner .bz-tier__stamp { border-radius: 999px; background: linear-gradient(180deg, #e0263f, #b30f28); color: #fff; border-color: transparent; }
.nz-inner .bz-ratecard { border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 4px); background: var(--nzf-card); box-shadow: 0 10px 28px rgba(96, 58, 24, .08); overflow: hidden; }
.nz-inner .bz-rate + .bz-rate { border-block-start: 1.5px dashed var(--nzf-line-2); }
.nz-inner .bz-banner { border: 1px solid var(--card-line); border-radius: var(--r-l); background: var(--nzf-card); box-shadow: 0 8px 22px rgba(96, 58, 24, .07); }
.nz-inner .bz-banner__pv { border: 1.5px dashed var(--nzf-line-2); border-radius: var(--r-m); background: var(--nzf-cream); }
.nz-inner .bz-shopgrid { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.nz-inner .bz-shopcard { border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 4px); background: var(--nzf-card); box-shadow: 0 10px 28px rgba(96, 58, 24, .08); }
.nz-inner .bz-shopcard:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(96, 58, 24, .16); }
.nz-inner .bz-shopcard__cover { border-block-end: 0; }
.nz-inner .bz-shopcard__av { border: 4px solid #fff; box-shadow: 0 6px 16px rgba(96, 58, 24, .25); }
.nz-inner .bz-shopcard__m { border-block-start: 1.5px solid var(--nzf-line); }
.nz-inner .bz-shopmini { border: 1px solid var(--card-line); border-radius: var(--r-l); background: var(--nzf-card); box-shadow: 0 8px 22px rgba(96, 58, 24, .07); }
.nz-inner .bz-shopmini__av { border: 3px solid #fff; box-shadow: 0 4px 12px rgba(96, 58, 24, .25); }
.nz-inner .bz-infogrid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.nz-inner .bz-infonav { display: flex; flex-direction: column; gap: 4px; padding: 10px; }
.nz-inner .bz-infonav a { padding: 12px 16px; border-radius: 13px; font-family: var(--font-display); font-weight: 800; }
.nz-inner .bz-infonav a.is-on { background: linear-gradient(180deg, #d8213c, #b30f28); color: #fff; box-shadow: 0 8px 18px rgba(200, 16, 46, .3); }
.nz-inner .bz-panes .bz-pane { padding: 24px 28px; border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 4px); background: var(--nzf-card); box-shadow: 0 10px 28px rgba(96, 58, 24, .07); }
.nz-inner .bz-faq__i { border: 1px solid var(--card-line); border-radius: calc(var(--r-m) + 2px); background: var(--nzf-field); margin-bottom: 10px; }
.nz-inner .bz-faq__q { font-family: var(--font-display); font-weight: 800; }
.nz-inner .bz-shopstats { border-radius: calc(var(--r-l) - 2px); }
.nz-inner .bz-rules li { border-radius: var(--r-m); }
.nz-inner .bz-404 { text-align: center; }
@media (max-width: 900px) { .nz-inner .bz-infogrid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- modals ---------- */
.tp-bazar .bz-modal { border: 0; border-radius: calc(var(--r-l) + 6px); background: var(--nzf-card); box-shadow: 0 30px 80px rgba(40, 24, 10, .35); overflow: hidden; }
.tp-bazar .bz-modal::backdrop { background: rgba(38, 22, 10, .5); backdrop-filter: blur(4px); }
.tp-bazar .bz-modal__in > header { border-block-end: 1.5px solid var(--nzf-line); }
.tp-bazar .bz-modal__x { border: 0; border-radius: 50%; background: #f4e9da; }
.tp-bazar .bz-consent, .tp-bazar .bz-pwa { border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 2px); background: color-mix(in srgb, var(--nzf-card) calc(.97 * 100%), transparent); box-shadow: 0 18px 44px rgba(96, 58, 24, .28); }
.tp-bazar .bz-totop { border: 0; border-radius: 50%; background: linear-gradient(180deg, #e0263f, #b30f28); color: #fff; box-shadow: 0 10px 22px rgba(200, 16, 46, .35); }
.nz-inner .bz-catcol__ico img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(96, 58, 24, .25)); }
.nz-inner .bz-cathead__img { width: auto; height: 110px; opacity: 1; mix-blend-mode: multiply; }
[data-nzc-mode="dark"] .nz-inner .bz-cathead__img { mix-blend-mode: normal; opacity: .8; }
.nz-inner .bz-empty img, .nz-inner .bz-band img, .nz-inner .bz-tips img, .nz-inner .bz-slot img { filter: drop-shadow(0 8px 12px rgba(96, 58, 24, .22)); }

/* ---------- shop page and account leftovers ---------- */
.nz-inner .bz-shophead { border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 6px); background: var(--nzf-card); box-shadow: 0 16px 40px rgba(96, 58, 24, .12); overflow: hidden; }
.nz-inner .bz-shophead__cover { border-block-end: 0; }
.nz-inner .bz-shophead__av { border: 5px solid #fff; box-shadow: 0 8px 22px rgba(96, 58, 24, .28); }
.nz-inner .bz-shophead__tag { border-radius: 999px; background: rgba(28, 18, 10, .62); backdrop-filter: blur(6px); border: 0; }
.nz-inner .bz-shophead__t h1 { font-family: var(--font-display); }
.nz-inner .bz-shopstats { border-block-start: 1.5px solid var(--nzf-line); background: var(--nzf-cream); }
.nz-inner .bz-shopstats li + li { border-inline-start: 1px solid var(--nzf-line); }
.nz-inner .bz-shopstats b { font-size: 26px; color: var(--primary-text); }
.nz-inner .bz-shopstats--flat { border: 1px solid var(--card-line); border-radius: calc(var(--r-l) + 2px); background: var(--nzf-card); box-shadow: 0 10px 28px rgba(96, 58, 24, .07); }
.nz-inner .bz-shopmap { border: 0; border-radius: calc(var(--r-l) - 2px); box-shadow: 0 0 0 1px var(--card-line); }
.nz-inner .bz-myad, .nz-inner .bz-chat, .nz-inner .bz-chat__list, .nz-inner .bz-slipcard, .nz-inner .bz-wizard, .nz-inner .bz-live, .nz-inner .bz-drop, .nz-inner .bz-pickmap, .nz-inner .bz-notif, .nz-inner .bz-rev { border: 1px solid var(--card-line); border-radius: var(--r-l); background: var(--nzf-card); box-shadow: 0 8px 22px rgba(96, 58, 24, .07); }
.nz-inner .bz-chat__av { border: 3px solid #fff; box-shadow: 0 4px 12px rgba(96, 58, 24, .25); }
.nz-inner .bz-msg { border-radius: calc(var(--r-l) - 2px); }
.nz-inner .bz-tabpanels { margin-top: 6px; }
.nz-inner .bz-bar { border-color: var(--nzf-line); }

/* ---------- listings: mobile filter as a bottom sheet (≤980px); desktop keeps the side column ---------- */
.nz-inner .bz-sheet-head, .nz-inner .bz-sheet-backdrop { display: none; }
@media (max-width: 980px) {
  .nz-inner .bz-h--desk { display: none; }
  .nz-inner .bz-mfilterbar { margin-inline: calc(var(--wrap-pad, 16px) * -1); padding: 10px var(--wrap-pad, 16px); }
  .nz-inner .bz-fbtn { position: relative; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; font-family: var(--font-display); font-weight: 800; }
  .nz-inner .bz-fbtn.is-pending::after { content: ''; position: absolute; inset-block-start: 8px; inset-inline-end: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--nzf-card, #fff); }

  .nz-inner .bz-sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 1090; background: rgba(28, 18, 10, .55); opacity: 0; pointer-events: none; transition: opacity .22s ease; -webkit-tap-highlight-color: transparent; }
  .nz-inner .bz-sheet-backdrop.is-on { opacity: 1; pointer-events: auto; }
  html.bz-sheet-open { overflow: hidden; }

  .nz-inner .bz-filters { display: flex; flex-direction: column; position: fixed; inset: auto 0 0 0; top: auto; z-index: 1100; max-height: min(88dvh, 88vh); margin: 0; gap: 0;
    background: var(--nzf-card, var(--surface)); border-radius: 22px 22px 0 0; box-shadow: 0 -16px 48px rgba(28, 18, 10, .32);
    transform: translateY(104%); visibility: hidden; transition: transform .28s cubic-bezier(.22, .8, .3, 1), visibility 0s linear .28s; outline: 0; }
  .nz-inner .bz-filters.is-open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.22, .8, .3, 1), visibility 0s; }
  .nz-inner .bz-filters .bz-fform { display: flex; flex-direction: column; min-height: 0; flex: 1; margin: 0; padding: 0; border: 0; border-radius: inherit; background: transparent; box-shadow: none; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nz-inner .bz-filters .bz-cta { display: none; }

  .nz-inner .bz-sheet-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; padding: 20px 18px 10px; background: var(--nzf-card, var(--surface)); border-radius: 22px 22px 0 0; }
  .nz-inner .bz-sheet-head .bz-h { margin: 0; font-family: var(--font-display); font-size: 18px; }
  .nz-inner .bz-sheet-grip { position: absolute; inset-block-start: 8px; inset-inline: 0; width: 42px; height: 4px; margin-inline: auto; border-radius: 4px; background: var(--line-strong, #a8927c); opacity: .5; }
  .nz-inner .bz-sheet-x { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--nzf-cream, var(--surface-2)); color: var(--text); cursor: pointer; }
  .nz-inner .bz-sheet-x .nzc-i { width: 18px; height: 18px; }
  .nz-inner .bz-filters .bz-fform > :not(.bz-sheet-head):not(.bz-fact) { margin-inline: 18px; }
  .nz-inner .bz-filters .bz-fform fieldset { margin-block-end: 20px; }
  .nz-inner .bz-filters .bz-fopts { max-height: none; overflow: visible; }
  .nz-inner .bz-filters .bz-fopts .nzc-check, .nz-inner .bz-filters .bz-fopts .nzc-switch { min-height: 44px; }

  .nz-inner .bz-filters .bz-fact { position: sticky; bottom: 0; z-index: 2; margin: auto 0 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--card-line, var(--line)); background: var(--nzf-card, var(--surface)); }
  .nz-inner .bz-filters .bz-fact .nzc-btn { min-height: 48px; white-space: nowrap; }
  .nz-inner .bz-filters .bz-fact #bzReset { flex: 0 0 auto; padding-inline: 20px; }
  .nz-inner .bz-filters .bz-fact .bz-fmobile-apply { flex: 1 1 auto; }
  .nz-inner .bz-filters .bz-fform { scrollbar-width: none; }
  .nz-inner .bz-filters .bz-fform::-webkit-scrollbar { display: none; }
}
@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
  .nz-inner .bz-filters, .nz-inner .bz-filters.is-open, .nz-inner .bz-sheet-backdrop { transition: none; }
}

/* ---------- ad detail: trust block, contact bar, icon-only buttons (phase 3) ---------- */
/* the theme's button padding (22px a side) left a 2px box for the glyph of every icon-only button: invisible heart / share */
.tp-bazar .nzc-btn.nzc-btn--icon, .nz-main .nzc-btn.nzc-btn--icon { padding-inline: 0; }

/* seller card, real site: facts the database already knows */
.nz-inner .bz-trust { list-style: none; display: grid; gap: 10px; margin: 16px 0 0; padding: 14px 0 0; border-block-start: 1px dashed var(--nzf-line-2); font-size: 14.5px; color: var(--text-2); }
.nz-inner .bz-trust li { display: flex; align-items: center; gap: 10px; }
.nz-inner .bz-trust .nzc-i { width: 19px; height: 19px; color: var(--text-2); flex: none; }
.nz-inner .bz-trust b { font-family: var(--font-display); font-weight: 800; color: var(--text); }
.nz-inner .bz-trust .is-ok { color: var(--success); font-family: var(--font-display); font-weight: 800; }
.nz-inner .bz-trust .is-ok .nzc-i { color: var(--success); }

@media (max-width: 760px) {
  /* the contact bar sits above the tab bar (65px + the home-indicator inset); consent card and back-to-top clear both */
  .bz-mbar { bottom: calc(65px + env(safe-area-inset-bottom, 0px)); }
  .bz-consent { bottom: calc(8.6rem + env(safe-area-inset-bottom, 0px)); }
  .bz-totop { bottom: calc(8.4rem + env(safe-area-inset-bottom, 0px)); }
  .nz-inner .bz-mbar { padding: 10px 14px; gap: 10px; }
  .nz-inner .bz-mbar .nzc-btn { min-height: 50px; }
  .bz-mbar--real { grid-template-columns: 1fr auto; }
  .bz-mbar--real .nzc-btn--icon { width: 54px; }
  /* the last things of the page must not hide under the contact bar: the footer already leaves room for the tab bar (76px), add the contact bar's height */
  .bz-page--mbar ~ .nz-foot { padding-bottom: calc(76px + 78px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- plans page, real site: the services the owner switched on (phase 4) ---------- */
.nz-inner .nz-svc { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 310px); gap: 28px; align-items: stretch; padding: 36px 30px 28px; border: 1.5px solid color-mix(in srgb, var(--gold) 60%, var(--nzf-line)); border-radius: calc(var(--r-l) + 8px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 13%, var(--nzf-card)) 0%, var(--nzf-card) 58%); box-shadow: 0 24px 56px rgba(168, 116, 22, .18), 0 1px 0 rgba(255, 255, 255, .9) inset; overflow: hidden; }
.nz-inner .nz-svc::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(to left, var(--gold), var(--primary)); }
.nz-inner .nz-svc__badge { position: absolute; inset-block-start: 16px; inset-inline-end: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px; background: linear-gradient(180deg, #f6cf72, #d9a12c); color: #4a2f05; font-family: var(--font-display); font-weight: 900; font-size: 13px; box-shadow: 0 6px 14px rgba(168, 116, 22, .3); }
.nz-inner .nz-svc__badge .nzc-i { width: 16px; height: 16px; }
.nz-inner .nz-svc__main { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.nz-inner .nz-svc__main h3 { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.55; }
.nz-inner .nz-svc__list { list-style: none; display: grid; gap: 12px; margin: 8px 0 0; padding: 0; }
.nz-inner .nz-svc__list li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.nz-inner .nz-svc__list .nzc-i { width: 22px; height: 22px; color: var(--success); flex: none; }
.nz-inner .nz-svc__buy { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 20px; border: 1px solid var(--nzf-line-2); border-radius: calc(var(--r-l) + 2px); background: var(--nzf-card); text-align: center; box-shadow: 0 10px 26px rgba(96, 58, 24, .08); }
.nz-inner .nz-svc__price { display: flex; align-items: baseline; gap: 8px; }
.nz-inner .nz-svc__price b { font-family: var(--font-display); font-size: clamp(34px, 4vw, 46px); color: var(--primary-text); line-height: 1.2; }
.nz-inner .nz-svc__price small { font-family: var(--font-display); font-weight: 800; color: var(--text-2); font-size: 16px; }
.nz-inner .nz-svc__buy .nzc-btn { width: 100%; margin-top: 6px; }
.nz-inner .nz-svc__rules { margin-top: 14px; padding: 14px 18px; border: 1px solid var(--nzf-line); border-radius: calc(var(--r-l) - 2px); background: var(--nzf-card); }
.nz-inner .nz-svc__rules summary { cursor: pointer; font-family: var(--font-display); font-weight: 800; }
.nz-inner .nz-svc__rules ul { display: grid; gap: 8px; margin: 12px 0 0; padding-inline-start: 20px; color: var(--text-2); line-height: 1.9; }

.nz-inner .nz-pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.nz-inner .nz-pk { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 22px; border: 1px solid var(--nzf-line); border-radius: calc(var(--r-l) + 2px); background: linear-gradient(180deg, var(--nzf-card), var(--nzf-card-2)); box-shadow: 0 12px 30px rgba(96, 58, 24, .09); transition: transform .25s ease, box-shadow .25s ease; }
.nz-inner .nz-pk:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(96, 58, 24, .16); }
.nz-inner .nz-pk h3 { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 900; }
.nz-inner .nz-pk__chip { align-self: flex-start; padding: 2px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-text); font-size: 12.5px; font-weight: 800; }
.nz-inner .nz-pk__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 14px; border-block-start: 1px dashed var(--nzf-line-2); }
.nz-inner .nz-pk__price b { font-family: var(--font-display); font-size: 32px; color: var(--primary-text); }
.nz-inner .nz-pk__price small { color: var(--text-2); font-weight: 800; }

.nz-inner .nzp-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; }
.nz-inner .nzp-steps li { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border: 1px solid var(--nzf-line); border-radius: calc(var(--r-l) + 2px); background: var(--nzf-card); box-shadow: 0 8px 22px rgba(96, 58, 24, .07); }
.nz-inner .nzp-steps li > b { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg, #e0263f, #b30f28); color: #fff; font-family: var(--font-display); font-size: 20px; box-shadow: 0 8px 18px rgba(200, 16, 46, .3); }
.nz-inner .nzp-steps h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 17px; font-weight: 900; }
.nz-inner .nzp-steps p { margin: 0; font-size: 14.5px; line-height: 1.9; }
.nz-inner .nzp-steps__cta { display: flex; justify-content: center; margin-top: 22px; }

.nz-inner .nz-svc-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 24px; text-align: center; border: 1.5px dashed var(--nzf-line-2); border-radius: calc(var(--r-l) + 6px); background: var(--nzf-card); }
.nz-inner .nz-svc-empty img { width: 120px; height: auto; filter: drop-shadow(0 8px 12px rgba(96, 58, 24, .22)); }
.nz-inner .nz-svc-empty h2 { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 900; }

.nz-inner .nz-faq { display: grid; gap: 12px; }
.nz-inner .nz-faq details { padding: 0 20px; border: 1px solid var(--nzf-line); border-radius: calc(var(--r-l) - 2px); background: var(--nzf-card); box-shadow: 0 6px 16px rgba(96, 58, 24, .06); }
.nz-inner .nz-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 800; }
.nz-inner .nz-faq summary::-webkit-details-marker { display: none; }
.nz-inner .nz-faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--primary-text); transition: transform .25s ease; }
.nz-inner .nz-faq details[open] summary::after { transform: rotate(45deg); }
.nz-inner .nz-faq p { margin: 0 0 16px; color: var(--text-2); line-height: 2; }
@media (max-width: 860px) {
  .nz-inner .nz-svc { grid-template-columns: minmax(0, 1fr); padding: 32px 20px 22px; }
  .nz-inner .nzp-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .nz-inner .nz-pk, .nz-inner .nz-faq summary::after { transition: none; } .nz-inner .nz-pk:hover { transform: none; } }
.nz-inner .bz-tx { border: 1px solid var(--card-line); border-radius: calc(var(--r-m) + 2px); }
.nz-inner .bz-total, .nz-inner .bz-code { border-radius: calc(var(--r-m) + 2px); }
.nz-inner .bz-h3 { font-family: var(--font-display); }

/* ---------- plans + trust: the owner's extra slots (image on the boost card, free-text note, trust note) ---------- */
.nz-inner .nz-svc__main { position: relative; }
.nz-inner .nz-svc__img { position: absolute; inset-block-start: -6px; inset-inline-end: 0; width: 92px; height: auto; filter: drop-shadow(0 8px 12px rgba(96, 58, 24, .25)); pointer-events: none; }
.nz-inner .nz-svc__main > h3, .nz-inner .nz-svc__main > p { padding-inline-end: 106px; }
.nz-inner .nz-svc__note { margin: 0; padding: 16px 20px; border: 1px dashed var(--nzf-line-2); border-radius: calc(var(--r-l) - 2px); background: var(--nzf-card); color: var(--text-2); font-weight: 600; line-height: 2; }
.nz-inner .bz-trust .is-note { align-items: flex-start; font-size: 13.5px; color: var(--text-2); }
.nz-inner .bz-trust .is-note .nzc-i { margin-top: 2px; }
@media (max-width: 860px) {
  .nz-inner .nz-svc__img { position: static; display: block; width: 84px; margin: 0 auto 2px; }
  .nz-inner .nz-svc__main > h3, .nz-inner .nz-svc__main > p { padding-inline-end: 0; }
}
/* category badge that carries a baked circular picture: drop the tinted ring so the two circles do not nest */
.nz-inner .bz-catcol__ico:has(> img) { width: 52px; height: 52px; background: none; box-shadow: none; }
.nz-inner .bz-catcol__ico > img { width: 52px; height: 52px; filter: none; }
/* home category tiles carry a picture instead of the gradient chip: keep the same lift-and-tilt on hover */
.nz-cat > img { transition: transform .45s var(--nzs-ease, cubic-bezier(.34, 1.56, .64, 1)); }
.nz-cat:hover > img { transform: translateY(-4px) rotate(-5deg) scale(1.07); }
@media (prefers-reduced-motion: reduce) { .nz-cat > img { transition: none; } }
/* AI card: the illustration is shown whole on top, the site text sits below it on the same navy as the picture's sky */
aside.nz-ai { display: block; min-height: 0; padding: 0; overflow: hidden; background: #10263a; box-shadow: 0 16px 34px rgba(16, 38, 58, .30); }
aside.nz-ai::before { content: ''; display: block; height: 136px; background: var(--ai-bg) center 62% / cover no-repeat; }
aside.nz-ai > div { position: relative; padding: 4px 18px 16px; }
/* hand-picked top businesses: letter plate when no picture, empty-state label when nothing is selected yet */
.nz-biz__img > .nz-biz__ltr { display: grid !important; place-items: center; width: 100%; height: 100%; font-weight: 800 !important; font-size: 28px !important; line-height: 1 !important; color: #fff !important; background: linear-gradient(150deg, #d9a35a, #b8632a); }
.nz-biz__empty { display: grid; place-items: center; min-height: 92px; }
.nz-biz__empty .nz-badge { font-size: 13px; padding: 6px 16px; color: #8a6a44; background: rgba(184, 132, 58, .12); border: 1px dashed rgba(184, 132, 58, .5); }
/* text loop ribbon (top under the hero, bottom above the footer): colours, font and speed come from settings via --loop-* */
.nz-loop { position: relative; z-index: 3; width: 100%; overflow: hidden; line-height: 0; direction: ltr; }
.nz-loop svg { display: block; max-width: none; }
.nz-loop__band { stroke: var(--loop-bg, #a4501f); }
.nz-loop__text { fill: var(--loop-fg, #fff7ea); font-family: var(--loop-font, 'YekanBakhFa'), 'YekanBakhFa', sans-serif; font-weight: 700; letter-spacing: 0; }
.nz-loop__probe { visibility: hidden; }
.nz-loop--top { margin: calc(-1 * var(--loop-lift, 53px)) 0 4px; }   /* lifted so the band lies on the skyline edge at the bottom of the hero photo */
/* home only: the ribbon sits on the footer's wave line and hides the footer's own wave, so the ribbon itself is the wave */
.nz-loop-foot { position: relative; z-index: 5; height: 44px; }
.nz-loop-foot .nz-loop--bottom { position: absolute; inset-inline: 0; top: 100%; margin: 0; transform: translateY(calc(-50% + 10px)); }
.nz-loop-foot + .nz-foot { margin-top: 0; padding-top: 14px; }

/* mobile hero: compact one-row header, readable copy panel, tighter rhythm */
@media (max-width: 700px) {
  body .nz-hero .nz-top { padding-block: 2px; background: linear-gradient(to bottom, rgba(255, 248, 238, .82), rgba(255, 248, 238, 0)); }
  body .nz-hero .nz-herohead__bar .nz-head__main { flex-wrap: nowrap; align-items: center; gap: 6px; padding: 8px 10px; }
  body .nz-hero .nz-brand { gap: 6px; min-width: 0; flex: 1 1 auto; }
  body .nz-hero .nz-brand__mark { width: 34px; height: 40px; }
  body .nz-hero .nz-brand__name { font-size: 19px; line-height: 1.25; white-space: nowrap; }
  body .nz-hero .nz-brand__tag { display: none; }
  body .nz-hero .nz-head__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; width: auto; margin: 0; }
  body .nz-hero .nz-head__actions .nz-btn--outline { font-size: 0; width: 38px; min-width: 38px; height: 38px; padding: 0; justify-content: center; }
  body .nz-hero .nz-head__actions .nz-btn--outline svg { width: 19px; height: 19px; margin: 0; }
  body .nz-hero .nz-head__actions .nz-btn--primary { height: 38px; padding-inline: 12px; font-size: 13.5px; white-space: nowrap; }
  body .nz-hero .nz-iconbtn { width: 38px; height: 38px; }
  body .nz-hero .nz-hero__copy { margin-top: 14px; padding: 14px 16px 16px; border-radius: 22px; background: rgba(255, 250, 242, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 10px 28px -14px rgba(90, 52, 20, .35); }
  body .nz-hero .nz-kicker { color: #9a4a1a; font-size: 13.5px; margin-bottom: 4px; }
  body .nz-hero .nz-hero__copy h1 { font-size: 30px; line-height: 1.35; margin: 0 0 6px; }
  body .nz-hero .nz-hero__lead { font-size: 14px; line-height: 1.85; margin: 0; }
  body .nz-hero .nz-search { margin-top: 12px; }
}
@media (max-width: 700px) {
  [data-nzc-mode="dark"] body .nz-hero .nz-hero__copy { background: rgba(34, 24, 18, .78); box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .6); }
  [data-nzc-mode="dark"] body .nz-hero .nz-kicker { color: #e6a067; }
  [data-nzc-mode="dark"] body .nz-hero .nz-top { background: linear-gradient(to bottom, rgba(34, 24, 18, .7), rgba(34, 24, 18, 0)); }
}
@media (max-width: 360px) {
  body .nz-hero .nz-brand__name { font-size: 16.5px; }
  body .nz-hero .nz-brand__mark { width: 28px; height: 33px; }
  body .nz-hero .nz-head__actions .nz-btn--primary { padding-inline: 9px; font-size: 12.5px; }
  body .nz-hero .nz-hero__copy h1 { font-size: 26px; }
}
@media (max-width: 350px) {
  body .nz-hero .nz-head__actions .nz-btn--primary { font-size: 0; width: 38px; min-width: 38px; padding: 0; justify-content: center; }
  body .nz-hero .nz-head__actions .nz-btn--primary svg { width: 20px; height: 20px; margin: 0; }
  body .nz-hero .nz-brand__name { font-size: 16px; }
}

/* promo banner: layered illustration (crimson tile pattern + golden shop cluster + mud-brick skyline) instead of the photo.
   The three layers come from settings slots via --pp / --pc / --ps, so each can be swapped; the cluster moves with the layout.
   Order (bottom to top): pattern, skyline (::before), cluster + soft glow (::after), text and button. */
section.nz-promo { position: relative; isolation: isolate; min-height: 168px; background: var(--pp) center / cover no-repeat, #8c0f22; }
section.nz-promo::before { content: ''; display: block; position: absolute; inset: auto 0 0 0; height: 78px; z-index: 0; background: var(--ps) repeat-x left bottom / auto 100%; opacity: .95; -webkit-mask: linear-gradient(to top, #000 45%, transparent); mask: linear-gradient(to top, #000 45%, transparent); pointer-events: none; }
section.nz-promo::after { content: ''; display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--pc) no-repeat calc(clamp(24px, 4vw, 64px) + 190px) 46% / auto 108%, radial-gradient(60% 120% at 88% 0, rgba(255, 220, 190, .14), transparent 60%); }
section.nz-promo > * { position: relative; z-index: 1; }
@media (max-width: 900px) {
  section.nz-promo { min-height: 0; padding: 22px 18px 30px; }
  section.nz-promo::before { height: 54px; }
  section.nz-promo::after { background: var(--pc) no-repeat left 10px top 8px / auto 104px, radial-gradient(60% 120% at 88% 0, rgba(255, 220, 190, .14), transparent 60%); }
  section.nz-promo > div:first-child { padding-inline-end: 0; padding-left: 112px; min-height: 96px; }
}
@media (max-width: 420px) {
  section.nz-promo::after { background-size: auto 92px, auto; }
  section.nz-promo > div:first-child { padding-left: 98px; }
}

/* promo button: a light travels around its border (BorderBeam idea in plain CSS; needs @property, otherwise the ring just stays static) */
@property --beam-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes nz-beam { to { --beam-angle: 360deg; } }
section.nz-promo .nz-btn--promo { position: relative; isolation: isolate; overflow: hidden; border: 0; background: transparent; color: #fff; box-shadow: 0 0 22px rgba(255, 196, 110, .28), 0 10px 24px -10px rgba(0, 0, 0, .5); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s; }
section.nz-promo .nz-btn--promo::before { content: ''; position: absolute; inset: -100%; z-index: -2; background: conic-gradient(from var(--beam-angle), rgba(255, 255, 255, .28) 0 55%, transparent 55% 64%, #ffd98a 84%, #fffaf0 94%, transparent 100%); animation: nz-beam 3.2s linear infinite; }
section.nz-promo .nz-btn--promo::after { content: ''; position: absolute; inset: 2px; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, #e0122e, #b30a22); }
section.nz-promo .nz-btn--promo:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 30px rgba(255, 196, 110, .5), 0 14px 26px -10px rgba(0, 0, 0, .55); }
section.nz-promo .nz-btn--promo:hover::after { background: linear-gradient(180deg, #ef1a37, #c30c26); }
@media (prefers-reduced-motion: reduce) { section.nz-promo .nz-btn--promo::before { animation: none; } }

/* social channel cards: a soft light travels around each border in the messenger's own colour (reuses --beam-angle / nz-beam) */
.nz-channel::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none; background: conic-gradient(from var(--beam-angle), transparent 0 68%, var(--beam-c, #fff) 86%, #fff 96%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: nz-beam 5s linear infinite; }
.nz-ch-telegram { --beam-c: #2aa3e5; }
.nz-ch-eitaa { --beam-c: #f47a20; }
.nz-ch-bale { --beam-c: #22b07d; }
.nz-ch-rubika { --beam-c: #7c4dff; }
.nz-ch-eitaa::before { animation-delay: -1.25s; }
.nz-ch-bale::before { animation-delay: -2.5s; }
.nz-ch-rubika::before { animation-delay: -3.75s; }
@media (prefers-reduced-motion: reduce) { .nz-channel::before { animation: none; } }

/* tablet / small laptop: the three "how it works" steps kept their nowrap text and a 3-column intro|steps|button grid, so the row pushed the whole page sideways.
   Stack intro / steps / button and let the step text wrap. Phones (<=700px) keep their own single-column rules. */
@media (min-width: 701px) and (max-width: 1370px) {
  .nz-howwrap { grid-template-columns: minmax(0, 1fr); }
  .nz-how { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nz-how::before { display: none; }
  .nz-how__step { flex-direction: column; text-align: center; gap: 8px; padding-inline: 8px; }
  .nz-how b, .nz-how__step span span, .nz-how > div span { white-space: normal; }
}

/* AI card button: little four-point stars twinkle around the pill (Sparkles) and a warm light travels around its border (BorderBeam) */
@keyframes nz-sparkle { 0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }
.nz-sparkles { position: relative; display: inline-block; }
.nz-sparkle { position: absolute; z-index: 0; width: 13px; height: 13px; color: #ffd98a; pointer-events: none; opacity: 0; animation: nz-sparkle 2s ease-in-out infinite; filter: drop-shadow(0 0 4px rgba(255, 214, 140, .8)); }
.nz-sparkle:nth-child(even) { width: 9px; height: 9px; color: #fff; }
.nz-sparkles > .nz-btn { position: relative; z-index: 1; box-shadow: 0 0 22px rgba(255, 196, 110, .32), 0 8px 18px -8px rgba(0, 0, 0, .5); }
.nz-sparkles > .nz-btn::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 2px; pointer-events: none; background: conic-gradient(from var(--beam-angle), transparent 0 62%, #f2a93b 82%, #ffe7ad 94%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: nz-beam 3.6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .nz-sparkle { display: none; } .nz-sparkles > .nz-btn::before { animation: none; } }

/* hero dust canvas: above the photo (::before, z -2), beneath the readability veil (::after, z -1), the text and the boxes */
.nz-dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }
