/* Solver Pro SAYT v2 (2026-10-17, docs/sayt-v2-spec.md §2.2) — mobil-əvvəl. Sistem şrifti (xarici şrift yoxdur), qaranlıq rejim yoxdur.
   Mağazaya görə rənglər _boot.php-də inline: --accent (fon/doldurma), --accent-ink (accent fonda yazı), --accent-text (ağ fonda
   accent rəngli YAZI, kontrast ≥ 4.5), --img-ratio, --cols, --cols-l (≥1200), --cols-m (≤ 2). Şəxsi vəziyyət <html>-in atributlarındadır
   (head skripti): data-me (member|pending), data-cart, data-recent, data-joinx. Breakpoint-lər: 600, 900, 1200. */
:root {
  --accent: #697861;
  --accent-ink: #fff;
  --accent-text: #5a6853; /* _boot.php: ağ, --accent-soft, --soft və --bonus-soft fonlarında ≥ 4.5 */
  --accent-soft: #f0f2ef; /* _boot.php hesablanmış hex yazır; bu — ehtiyat */
  --bg: #fff; --surface: #fff; --soft: #f4f4f1; --soft-2: #ebebe6; --line: #e6e6e1;
  --text: #1c1e21; --muted: #686d73;
  --muted-soft: #5e6268; /* ikinci dərəcəli yazı --accent-soft fonda — _boot.php kontrastı ≥ 4.5 olan dəyəri yazır */
  --faint: #9aa0a6; /* YALNIZ dekorativ ayırıcı/kontur — mətndə və ikonda işlənmir */
  --ctl: #8a8f94; /* idarə elementi (söndürülmüş açar, banner nöqtəsi) — ağda 3.3:1 (≥ 3) */
  --sale: #c4342a; --sale-soft: #fdecea;
  --bonus: #0e7a5a; --bonus-soft: #e4f4ee;
  --ok: #17803f; --warn: #a15c00; --bad: #c0392b;
  --wa: #107c41;
  --r-xs: 6px; --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .04);
  --sh-2: 0 8px 24px rgba(16, 24, 40, .10);
  --sh-up: 0 -4px 16px rgba(16, 24, 40, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 12px; --fs-sm: 13px; --fs: 15px; --fs-md: 17px; --fs-lg: 20px; --fs-xl: 24px; --fs-2xl: 32px;
  --gut: 16px; --maxw: 1280px; --hdr-h: 56px; --search-h: 56px; --nav-h: 56px; --chips-h: 48px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@supports (color: color-mix(in srgb, red 10%, #fff)) { :root { --accent-soft: color-mix(in srgb, var(--accent) 10%, #fff); } }
@media (min-width: 600px) { :root { --gut: 24px; } }
@media (min-width: 900px) { :root { --gut: 32px; --hdr-h: 64px; } }
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--search-h) + var(--chips-h) + 8px); scroll-padding-bottom: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs)/1.5 var(--font); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
@media (min-width: 900px) { html { scroll-padding-top: calc(var(--hdr-h) + var(--chips-h) + 16px); } body { font-size: 16px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; font-size: max(16px, 1em); color: var(--text); }
h1, h2, h3 { line-height: 1.25; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; float: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--sh-2); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
@media (max-width: 899.98px) { .only-d { display: none !important; } }
@media (min-width: 900px) { .only-m { display: none !important; } }
html[data-me] .js-guest { display: none !important; }
html:not([data-me]) .js-me { display: none !important; }

/* ── Düymələr */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--r);
  font: 600 var(--fs)/1.2 var(--font); text-align: center; text-decoration: none; cursor: pointer; transition: filter .15s, transform .1s; }
.btn:hover { filter: brightness(.95); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--line { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--faint); filter: none; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--block { width: 100%; }
.btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent-text); font: 600 var(--fs-sm) var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.iconbtn { position: relative; display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--r-pill); background: none; color: var(--text); text-decoration: none; cursor: pointer; }
.iconbtn:hover { background: var(--soft); }

/* ── Elan zolağı və başlıq (§2.3) */
.annc { padding: 8px var(--gut); background: var(--text); color: #fff; font-size: var(--fs-sm); line-height: 1.4; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr { position: relative; z-index: 40; background: var(--bg); }
.hdr__in { display: flex; align-items: center; gap: 6px; height: var(--hdr-h); }
.hdr__back { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: -10px; border-radius: var(--r-pill); color: var(--text); }
.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; max-width: 100%; height: 44px; color: var(--text); font-size: 19px; font-weight: 800; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
.brand img { width: auto; height: 32px; max-height: 32px; max-width: 100%; object-fit: contain; object-position: left center; }
.hdr__acc { display: flex; align-items: center; gap: 4px; flex: 0 1 auto; min-width: 0; margin-left: auto; }
.joinbtn, .mechip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; min-width: 112px; max-width: 40vw; padding: 0 12px;
  border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.joinbtn { background: #fff; color: var(--accent-text); box-shadow: inset 0 0 0 1.5px var(--accent); }
.loginbtn { display: inline-flex; align-items: center; justify-content: center; flex: none; height: 36px; padding: 0 11px; border-radius: var(--r-pill);
  background: var(--soft); color: var(--text); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
/* Telefonda iki düymə yan-yana sığsın və loqo (~74px) sıxılmasın: «Müştərimiz ol» minimum eni götürülür, dar ekranda
   başlıq aralıqları və düymələr bir az kiçilir. */
@media (max-width: 899.98px) {
  .hdr__acc { flex-shrink: 0; }
  .hdr__acc .joinbtn { min-width: 0; padding: 0 11px; }
}
@media (max-width: 419.98px) {
  .hdr__in { gap: 4px; }
  .hdr__back { width: 38px; margin-left: -8px; }
  .hdr__acc .joinbtn, .loginbtn { height: 34px; padding: 0 8px; }
  .hdr__acc { gap: 3px; }
}
@media (max-width: 370px) {
  .hdr__acc .joinbtn, .loginbtn { padding: 0 7px; font-size: 12px; }
}
/* 320px kimi çox dar ekranda geri düyməsi gizlənir (sistemin geri jesti qalır) — yoxsa loqo oxunmaz olur. */
@media (max-width: 340px) { .hdr__back { display: none; } }
.mechip { background: var(--accent-soft); color: var(--accent-text); }
.mechip svg { flex: none; }
@media (max-width: 899.98px) { .mechip svg { display: none; } }
.mechip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cartbtn { margin-right: -8px; }
.cartbtn__n { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 700 11px/18px var(--font); text-align: center; }
.cartbtn__n:empty { display: none; }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.catsbtn { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: var(--soft); color: var(--text); font-weight: 600; cursor: pointer; }
.catsbtn[aria-expanded="true"] { background: var(--soft-2); }
@media (min-width: 900px) {
  .hdr { position: sticky; top: 0; box-shadow: 0 1px 0 var(--line); }
  .hdr__in { gap: 16px; }
  .hdr__back { display: none; }
  .brand { flex: none; max-width: 220px; font-size: 22px; }
  .hdr__search { position: relative; flex: 1 1 auto; min-width: 280px; max-width: 680px; }
  .hdr__acc { margin-left: auto; flex: none; }
  .cartbtn { margin-right: -6px; }
}
/* 2-ci sətir (kompüter) */
.hnav { border-bottom: 1px solid var(--line); background: var(--bg); }
.hnav__in { display: flex; align-items: center; flex-wrap: wrap; gap: 0 24px; min-height: 40px; }
.hnav__in > a { display: inline-flex; align-items: center; height: 40px; color: var(--text); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; white-space: nowrap; }
.hnav__in > a:hover { color: var(--accent-text); }
.hnav__in > a.is-on { color: var(--accent-text); font-weight: 700; }
.hnav__in.js-fit { flex-wrap: nowrap; }
.hnav__more { position: relative; margin-left: auto; }
.hnav__more > button { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0; border: 0; background: none; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.hnav__menu { position: absolute; right: 0; top: 100%; z-index: 45; min-width: 200px; padding: 6px; border-radius: var(--r); background: #fff; box-shadow: var(--sh-2); border: 1px solid var(--line); }
.hnav__menu a { display: block; padding: 10px 12px; border-radius: var(--r-sm); color: var(--text); font-size: var(--fs-sm); text-decoration: none; }
.hnav__menu a:hover { background: var(--soft); }

/* Meqa-menyu (kompüter) */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 45; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--sh-2); }
.mega__in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; padding-top: 12px; padding-bottom: 20px; }
.mega__list { max-height: calc(100vh - 160px); margin: 0; padding: 0 8px 0 0; overflow: auto; list-style: none; border-right: 1px solid var(--line); }
.mega__main { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 10px; border-radius: var(--r-sm); color: var(--text); font-size: var(--fs-sm); text-decoration: none; }
.mega__main > span:not(.mega__ph) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* yer tutan (.mega__ph) 24×24 qalsın */
.mega__main img, .mega__ph { display: block; flex: none; width: 24px; height: 24px; border-radius: 6px; object-fit: cover; }
.mega__main svg { flex: none; color: var(--muted); }
.mega__main.is-on, .mega__main:hover { background: var(--soft); }
.mega__subs { max-height: calc(100vh - 160px); overflow: auto; }
.mega__all { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; color: var(--accent-text); font-weight: 700; text-decoration: none; }
.mega__panel ul { margin: 4px 0 0; padding: 0; list-style: none; columns: 3 200px; column-gap: 24px; }
.mega__panel li { break-inside: avoid; }
.mega__panel ul a { display: block; padding: 7px 0; color: var(--text); font-size: var(--fs-sm); text-decoration: none; }
.mega__panel ul a:hover { color: var(--accent-text); }
.mega__panel small { color: var(--muted); }

/* ── Yapışqan sarğı: axtarış (mobil) + alt-kateqoriya çipləri (§2.3, §2.5) */
.stick { position: sticky; top: 0; z-index: 30; background: var(--bg); transition: transform .2s var(--ease); }
.stick.is-up { transform: translateY(calc(-1 * var(--search-h))); }
.stick__s { display: flex; align-items: center; height: var(--search-h); padding: 0 var(--gut); }
.sbox { width: 100%; }
.sf { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 4px 0 14px; border-radius: var(--r-pill); background: var(--soft); }
.sf:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent-text); }
.sf__ic { display: grid; place-items: center; flex: none; color: var(--muted); }
.sf__in { flex: 1; min-width: 0; height: 44px; padding: 0 4px; border: 0; background: none; outline: none; -webkit-appearance: none; appearance: none; }
.sf__in::placeholder { color: var(--muted); }
.sf__in::-webkit-search-cancel-button, .sf__in::-webkit-search-decoration { display: none; }
.sf__close, .sf__clear { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--r-pill); background: none; color: var(--text); cursor: pointer; }
.sf__close { display: none; margin-left: -10px; }
@media (min-width: 900px) { .stick { top: var(--hdr-h); } .stick:not(:has(.chips)) { display: none; } }
/* Mobil tam ekran axtarış paneli */
body.sp-open { overflow: hidden; }
@media (max-width: 899.98px) {
  body.sp-open .stick { transform: none; z-index: 60; }
  body.sp-open .sbox { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; height: 100vh; height: 100dvh; padding: 6px var(--gut) 0; background: #fff; }
  body.sp-open .sf__close { display: grid; }
  body.sp-open .sf__ic { display: none; }
  body.sp-open .sf { padding-left: 4px; }
  body.sp-open .sbox .sp { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
}
@media (min-width: 900px) {
  .hdr__search .sp { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; max-height: min(70vh, 560px); overflow: auto; overscroll-behavior: contain;
    padding: 4px 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); }
}
.sp__body { padding: 4px 0 16px; }
.sp__h { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 6px; color: var(--muted); font-size: var(--fs-xs); font-weight: 700; }
.sp__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp__list { margin: 0; padding: 0; list-style: none; }
.sp__opt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 8px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; }
.sp__opt[aria-selected="true"], .sp__opt:hover { background: var(--soft); }
.sp__opt img, .sp__ph { flex: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; object-fit: contain; }
.sp__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--soft); color: var(--muted); }
.sp__txt { flex: 1; min-width: 0; }
.sp__lab { display: block; color: var(--muted); font-size: var(--fs-xs); }
.sp__name { display: -webkit-box; overflow: hidden; font-size: var(--fs-sm); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sp__name mark { background: none; color: inherit; font-weight: 700; }
.sp__price { flex: none; font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
.sp__price--me { color: var(--bonus); }
.sp__all { color: var(--accent-text); font-weight: 600; }
.sp__msg { padding: 16px 8px; color: var(--muted); font-size: var(--fs-sm); }
.sp__empty { padding: 12px 0; text-align: center; }
.sp__empty p { margin: 4px 0 12px; }

.chips { height: var(--chips-h); border-bottom: 1px solid var(--line); background: var(--bg); }
.chips__in { display: flex; align-items: center; gap: 8px; height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.chips__in::-webkit-scrollbar { display: none; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: none; height: 40px; padding: 0 14px; border-radius: var(--r-pill); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; }
.chip img { width: 28px; height: 28px; margin-left: -8px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.chip.is-on { background: var(--accent); box-shadow: none; color: var(--accent-ink); }

/* ── Alt naviqasiya (yalnız < 900 px) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); box-shadow: var(--sh-up); }
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; color: var(--muted); font-size: 11px; line-height: 1.2; text-decoration: none; }
.tab__l { max-width: 100%; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab[aria-current] { color: var(--accent-text); font-weight: 600; }
.tab.has-sum .tab__l { color: var(--accent-text); font-weight: 700; }
.tab__n { position: absolute; top: 4px; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 700 11px/18px var(--font); font-style: normal; text-align: center; }
.tab__n:empty { display: none; }
.tab__dot { position: absolute; top: 7px; left: calc(50% + 8px); width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: var(--accent); }
body.hastab { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
body.kb .tabbar, body.kb .buybar, body.kb .sendbar { display: none !important; }
@media (min-width: 900px) { .tabbar { display: none; } body.hastab { padding-bottom: 0; } }

/* ── Toast */
.toast { position: fixed; left: 16px; right: 16px; bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: 14px;
  width: max-content; max-width: calc(100vw - 32px); margin: 0 auto; padding: 8px 10px 8px 16px; border-radius: var(--r); background: #1c1e21; color: #fff;
  font-size: var(--fs-sm); box-shadow: var(--sh-2); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toast__t { padding: 6px 0; }
.toast__a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 6px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
body.notab .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .toast, body.notab .toast { bottom: 24px; } }

/* ── Ümumi bloklar */
.main { min-height: 50vh; }
.sec { margin-top: 28px; }
.sech { display: flex; align-items: baseline; align-items: first baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; } /* «Hamısı ›» başlıq mətni ilə bir xətdə (44 px toxunma sahəsi qalır) */
.sech__t { min-width: 0; }
.sech__h { margin: 0; font-size: var(--fs-lg); font-weight: 700; }
.sech__h small { color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.sech__sub { margin: 2px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.sech__all { display: inline-flex; align-items: center; gap: 2px; flex: none; min-height: 44px; color: var(--accent-text); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (min-width: 900px) { .sec { margin-top: 40px; } .sech__h { font-size: 22px; } }
.pvb { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--warn); color: #fff; font-size: 12px; font-weight: 700; vertical-align: middle; }
.pvbar { margin-top: 8px; padding: 10px 14px; border-radius: var(--r); background: #fff4e0; color: #6b3d00; font-size: var(--fs-sm); }
.empty { padding: 40px 0; text-align: center; }
.empty__t { margin: 0 0 8px; font-size: var(--fs-md); font-weight: 700; }
h1.empty__t { font-size: 22px; }
.empty p { margin: 0 0 16px; }
.empty__act { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.more { margin: 24px 0 0; text-align: center; }
.note { padding: 12px 16px; border-radius: var(--r); background: var(--soft); }
.phead { padding-top: 16px; }
.phead__h { margin: 0; font-size: 22px; font-weight: 700; }
.phead__sub { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 900px) { .phead__h { font-size: 30px; } }
.sk { display: block; height: 12px; margin-top: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--soft) 25%, var(--soft-2) 37%, var(--soft) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.sk--s { width: 60%; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ── Məhsul kartı (§2.6) */
.pc { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; min-width: 0; }
.pc__img { position: relative; grid-area: 1 / 1; display: block; aspect-ratio: var(--img-ratio, 1); overflow: hidden; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.pc__img img { width: 100%; height: 100%; object-fit: contain; }
.pc__noimg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; background: var(--soft); color: var(--muted); text-align: center; padding: 8px; }
.pc__noimg svg { opacity: .7; }
.pc__noimg small { font-size: 13px; font-weight: 600; line-height: 1.2; }
.line__noimg, .sp__ph { display: grid; place-items: center; color: var(--muted); background: var(--soft); }
.line__noimg { width: 100%; height: 100%; }
.pc--out .pc__img img { opacity: .5; }
.pc__bdgs { position: absolute; top: 8px; left: 8px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.bdg { padding: 3px 7px; border-radius: var(--r-xs); font-size: 11px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.bdg--out { background: var(--text); color: #fff; }
.bdg--sale { background: var(--sale); color: #fff; }
.bdg--low { background: #fff; color: var(--warn); box-shadow: inset 0 0 0 1px currentColor; }
/* Website kampaniyası (qərar 2026-10-18 D4): «−20% Payız» — adi endirim nişanının yerinə; uzun ad kəsilir (title-da tam). */
.bdg--camp { max-width: 136px; overflow: hidden; text-overflow: ellipsis; background: var(--sale); color: #fff; }
.bdg--camp b { font-weight: 800; }
.gal .bdg--camp { max-width: min(260px, calc(100vw - 2 * var(--gut) - 24px)); font-size: 12px; }
.pc__buy { grid-area: 1 / 1; align-self: end; justify-self: end; z-index: 2; margin: 4px; }
.pc__add { position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin: 2px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: var(--sh-1), 0 2px 6px rgba(16, 24, 40, .12); cursor: pointer; }
.pc__add::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; }
.pc__cnt { display: flex; align-items: center; height: 36px; margin: 4px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); box-shadow: var(--sh-1), 0 2px 6px rgba(16, 24, 40, .12); animation: pop .15s var(--ease); }
.pc__cnt button { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.pc__cnt button::after { content: ""; position: absolute; inset: -4px; } /* toxunma sahəsi 44 px (§0) */
.pc__cnt span { min-width: 18px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
@keyframes pop { from { transform: scale(.7); opacity: .4; } to { transform: none; opacity: 1; } }
.pc__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin-top: 8px; }
.pc__price b { font-size: var(--fs-md); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc__price s { color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }
.pc__price--me { align-items: center; color: var(--bonus); }
.pc__price--me b { color: var(--bonus); }
.pc__member { display: flex; align-items: center; gap: 4px; margin-top: 2px; color: var(--bonus); font-size: var(--fs-xs); font-weight: 600; }
.pc__member svg, .pc__price--me svg { flex: none; }
html[data-me] .pc--m .js-std { display: none; }
.pc__name { display: -webkit-box; margin-top: 4px; overflow: hidden; color: var(--text); font-size: var(--fs-sm); line-height: 1.35; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.pc__name:hover { text-decoration: underline; }
.pc__meta { margin-top: 2px; overflow: hidden; color: var(--muted); font-size: var(--fs-xs); text-overflow: ellipsis; white-space: nowrap; }
.pc--sk .pc__img { background: var(--soft); box-shadow: none; }
.pc--more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: var(--img-ratio, 1); border-radius: var(--r); background: var(--accent-soft); color: var(--accent-text); font-weight: 700; text-decoration: none; }
.pc--more small { color: var(--muted-soft); font-weight: 500; }

/* Şəbəkə və üfüqi zolaq */
/* Şəbəkə (siyahılar və ana səhifənin «Bütün məhsullar»ı): sütun arası zolaqdakı kimi 12 px; ≥1200-də --cols-l (_boot.php shop_grid_cols:
   adətən 6 — kart eni zolaqdakı 200 px-ə yaxın; 2/3/4/6 «Səhifədə məhsul»a bölünür, səhifə tam sətirlə bitir). */
.grid { display: grid; grid-template-columns: repeat(var(--cols-m, 2), minmax(0, 1fr)); gap: 20px 12px; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(var(--cols-l, 6), minmax(0, 1fr)); } }
.strip { position: relative; }
.strip__in { display: flex; gap: 12px; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; }
.strip__in::-webkit-scrollbar { display: none; }
.strip__it { flex: 0 0 min(44vw, 200px); scroll-snap-align: start; min-width: 0; }
.strip__it--tail { display: flex; }
.strip__it--tail .pc--more { width: 100%; }
@media (min-width: 600px) { .strip__it { flex-basis: 180px; } }
/* Kompüter: 4 px yan boşluq — ilk/son kartın fokus halqası (2 px + 2 px ofset) konteynerin kənarında kəsilməsin */
@media (min-width: 900px) { .strip__it { flex-basis: 200px; } .strip__in { margin: 0 -4px; padding: 2px 4px 6px; scroll-padding: 0 4px; } }
.strip__arr { position: absolute; top: 80px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--text); box-shadow: var(--sh-2); cursor: pointer; }
.strip__arr--l { left: -14px; }
.strip__arr--r { right: -14px; }
@media (max-width: 899.98px) { .strip__arr { display: none !important; } }

/* ── Banner karuseli (§2.4) */
.hero { position: relative; margin-top: 8px; }
.hero__track { display: flex; gap: 12px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { flex: 0 0 88%; min-width: 0; scroll-snap-align: start; }
.hero.is-single .hero__slide { flex-basis: 100%; }
.bn { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-lg); background: var(--bnbg, var(--soft)); color: var(--text); text-decoration: none; }
.bn picture, .bn picture img { display: block; width: 100%; height: 100%; }
.bn picture img { object-fit: cover; }
.bn--light { color: #fff; }
.bn--img.bn--hastxt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 65%); pointer-events: none; }
.bn--img.bn--dark.bn--hastxt::after { background: linear-gradient(to top, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 65%); }
.bn__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; }
.bn__t { font-size: 22px; font-weight: 700; line-height: 1.2; }
.bn__s { font-size: var(--fs-sm); line-height: 1.35; }
.bn__cta { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; margin-top: 6px; padding: 0 16px; border-radius: var(--r-pill); background: var(--text); color: #fff; font-size: var(--fs-sm); font-weight: 600; }
.bn--light .bn__cta { background: #fff; color: #1c1e21; }
.bn--text { display: flex; }
.bn--text .bn__txt { position: static; flex: 1; justify-content: center; min-width: 0; padding: 18px; }
.bn__side { flex: 0 0 40%; display: grid; place-items: center; padding: 12px; }
.bn__side img { width: 100%; height: 100%; object-fit: contain; }
.bn .pvb { position: absolute; top: 10px; left: 10px; z-index: 2; margin: 0; }
.hero__ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin-top: 4px; }
.hero__dots { display: flex; gap: 0; min-height: 44px; } /* nöqtələri JS qurur — yer əvvəlcədən (CLS) */
.hero__dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ctl); transition: width .2s; }
.hero__dots button[aria-current="true"]::before { width: 20px; border-radius: 4px; background: var(--text); }
.hero__pause { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; border: 0; border-radius: var(--r-pill); background: var(--soft); font-size: var(--fs-xs); font-weight: 600; cursor: pointer; }
.hero__arr { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; }
@media (min-width: 900px) {
  .hero { margin-top: 20px; }
  .hero__track { margin: 0; padding: 0; scroll-padding: 0; }
  .hero__slide { flex-basis: 100%; }
  .bn { aspect-ratio: 3 / 1; }
  .bn__txt { padding: 28px 36px; }
  .bn__t { font-size: 28px; }
  .bn__s { font-size: var(--fs); }
  .bn--text .bn__txt { padding: 28px 48px; }
  .bn__side { flex-basis: 30%; }
}

/* Kateqoriya plitələri (ana səhifə və kateqoriyalar.php-də EYNİ) */
.tiles { display: grid; gap: 14px 10px; }
.tiles--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--all { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
@media (min-width: 600px) { .tiles--home { grid-template-columns: repeat(6, minmax(0, 1fr)); } .tiles--all { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tiles--home { grid-template-columns: repeat(var(--tl, 8), minmax(0, 1fr)); gap: 16px; } .tiles--all { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 16px; } }
@media (max-width: 899.98px) { .ct--xm { display: none !important; } }
@media (min-width: 900px) { .ct--xd { display: none !important; } }
.ct { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; color: var(--text); text-decoration: none; }
.ct__img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--soft); color: var(--text); font-size: 28px; font-weight: 700; }
.ct__img img { width: 100%; height: 100%; object-fit: cover; }
.ct--all .ct__img { background: var(--accent-soft); color: var(--accent-text); }
.ct__name { display: -webkit-box; max-width: 100%; overflow: hidden; font-size: 12px; font-weight: 600; line-height: 1.3; text-align: center; hyphens: manual; overflow-wrap: anywhere; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ct__n { margin-top: -4px; color: var(--muted); font-size: 12px; }
.ct:hover .ct__name { text-decoration: underline; }
@media (min-width: 900px) { .tiles--home .ct__img { width: min(96px, 100%); } .tiles--all .ct__name { font-size: var(--fs-sm); } }

/* «Müştərimiz ol» kartı */
.joinsec { margin-top: 28px; }
html[data-joinx] .joinsec { display: none; }
.joincard { position: relative; display: flex; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--accent-soft); }
.joincard__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--accent-text); }
.joincard__b { min-width: 0; }
.joincard h2 { margin: 0 32px 4px 0; font-size: var(--fs-lg); }
.joincard p { margin: 0; }
.joincard__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.joincard__act .btn { flex: 1 1 140px; }
.joincard__note { margin-top: 10px !important; color: var(--muted-soft); font-size: var(--fs-sm); }
.joincard__x { position: absolute; top: 4px; right: 4px; }
.joincard__act .btn { padding: 0 12px; font-size: 14px; }
@media (max-width: 420px) { .joincard { flex-direction: column; } }
@media (min-width: 900px) { .joincard { align-items: center; padding: 24px 28px; } .joincard__act .btn { flex: none; } }
html:not([data-recent]) .recent { display: none; }

/* Məlumat zolağı və altlıq */
.feats { display: grid; gap: 12px; margin-top: 40px; }
/* 2 və ya 3 bənd (çatdırılma qeydi şərtlidir) — boş sütun qalmasın */
@media (min-width: 900px) { .feats { grid-template-columns: repeat(var(--feat-cols, 3), minmax(0, 1fr)); gap: 16px; margin-top: 56px; } }
.feat { display: flex; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--soft); }
.feat__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--text); }
.feat h3 { margin: 2px 0 2px; font-size: var(--fs); }
.feat p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.feat a { color: var(--text); }
.feat > div { flex: 1; min-width: 0; }
.feat__map { position: relative; display: block; margin-top: 12px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #e8eae6; box-shadow: inset 0 0 0 1px var(--line); }
/* Xəritəli kart: telefonda xəritə mətnin altında tam enlə; kompüterdə kart tam sətirdir, xəritə sağda (qonşu kartlar uzanmır). */
.feat--map { flex-wrap: wrap; }
.feat--map .feat__map { flex-basis: 100%; }
@media (min-width: 900px) {
  .feat--map { grid-column: 1 / -1; display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.6fr); gap: 12px 20px; align-items: start; }
  .feat--map .feat__map { grid-column: 3; grid-row: 1; margin-top: 0; aspect-ratio: 3 / 1; }
}
.feat__map iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.feat__mapcta { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--text); font-size: 13px; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.feat__map:hover .feat__mapcta, .feat__map:focus-visible .feat__mapcta { background: var(--text); color: #fff; }
.foot { margin-top: 48px; padding-top: 32px; background: var(--soft); font-size: var(--fs-sm); }
.foot__main { display: grid; gap: 24px; }
@media (min-width: 600px) { .foot__main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .foot__main { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; } }
.foot__logo { display: inline-block; color: var(--text); font-size: 20px; font-weight: 800; text-decoration: none; }
.foot__logo img { height: 32px; width: auto; }
.foot__brand p { margin: 8px 0 0; color: var(--muted); }
.foot__social { display: flex; gap: 4px; margin: 10px 0 0 -10px; }
.foot__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text); }
.foot__col h3 { margin: 0 0 6px; font-size: var(--fs); }
.foot__col a { display: flex; align-items: center; min-height: 44px; padding: 4px 0; color: var(--text); text-decoration: none; } /* toxunma sahəsi ≥ 44 px */
@media (min-width: 900px) and (pointer: fine) { .foot__col a { min-height: 34px; } } /* siçanla — sıx siyahı */
.foot__col a:hover { text-decoration: underline; }
.foot__col p { margin: 6px 0 0; color: var(--muted); }
.foot__bottom { margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-xs); }

/* ── Siyahı səhifələri (§2.5; 2026-10-18 — v2 üslubu: yapışqan çip zolağı, sağdan süzgəc paneli, sıralama sheet / popover) */
.lhead { padding-top: 12px; }
.lhead__row { display: flex; align-items: center; gap: 12px; }
.lhead__img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.lhead__h { margin: 0; font-size: 22px; font-weight: 700; overflow-wrap: anywhere; }
.lhead__n { margin: 2px 0 0; color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 900px) { .lhead { padding-top: 16px; } .lhead__h { font-size: 30px; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 4px 0 10px; color: var(--muted); font-size: var(--fs-sm); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs span { min-width: 0; overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.groups { margin-top: 4px; }
.grp { margin-top: 24px; } /* lövbər ofseti: html scroll-padding-top (+ app.js çip klikində istiqamətə görə) */

/* Ana kateqoriyalar zolağı (?all=1, kateqoriyasız axtarış): plitə ana səhifədəki .ct ilə eyni, üfüqi sürüşür */
.crail { margin-top: 14px; }
.crail .strip__in { gap: 4px; padding: 4px calc(var(--gut) - 8px) 6px; scroll-padding: 0 calc(var(--gut) - 8px); scroll-snap-type: x proximity; } /* şəkil başlıqla bir xətdə; fokus halqası kəsilməsin */
.crail .strip__it { flex: 0 0 80px; }
.crail .ct__img { width: 64px; border-radius: 16px; font-size: 22px; } /* ad üçün plitədən enli sahə — tək uzun söz bölünməsin */
.crail .ct__name { overflow-wrap: normal; }
.crail .strip__arr { top: 12px; }
/* Kompüterdə ana səhifənin plitələri kimi bütün enə paylanır (sığmayanda sürüşür) */
@media (min-width: 900px) { .crail { margin-top: 20px; } .crail .strip__in { gap: 16px; margin: 0 -8px; padding: 4px 4px 6px; scroll-padding: 0 4px; } .crail .strip__it { flex: 1 0 112px; } .crail .ct__img { width: 96px; } .crail .strip__arr { top: 28px; } }

/* Yapışqan çip zolağı. Telefonda axtarışın altında (axtarış gizlənəndə yuxarı qalxır); alt-kateqoriya çipləri olan səhifədə çiplərin
   altında — zolaq yapışıq ikən axtarış yuxarı sürüşəndə də QAYITMIR (app.js; yapışqan büdcə 375×667-də ≤ 180 px: çiplər 48 + zolaq 48 +
   alt naviqasiya 56), axtarış siyahının başında görünür. */
.lbar { position: sticky; top: var(--search-h); z-index: 25; height: var(--chips-h); margin-top: 12px; background: var(--bg); border-bottom: 1px solid var(--line); transition: top .2s var(--ease); }
body:has(.stick.is-up) .lbar { top: 0; }
body.haschips .lbar, body.haschips:has(.stick.is-up) .lbar { top: var(--chips-h); }
@media (min-width: 900px) {
  .lbar, body:has(.stick.is-up) .lbar { top: var(--hdr-h); }
  body.haschips .lbar, body.haschips:has(.stick.is-up) .lbar { top: calc(var(--hdr-h) + var(--chips-h)); }
  html:has(body.haschips .lbar) { scroll-padding-top: calc(var(--hdr-h) + var(--chips-h) * 2 + 16px); }
  .lbar { margin-top: 16px; }
}
html:has(.lbar) { scrollbar-gutter: stable; } /* panel açılıb sürüşmə kilidlənəndə səhifə yana sıçramasın */
.lbar__in { display: flex; align-items: center; gap: 8px; height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.lbar__in::-webkit-scrollbar { display: none; }
.lbar__sep { flex: none; width: 1px; height: 24px; margin: 0 2px; background: var(--line); }
.lbar .chip::after, .fchips .chip::after { content: ""; position: absolute; inset: -2px 0; } /* toxunma sahəsi 44 px */
.chip svg { flex: none; }
button.chip { border: 0; font-family: var(--font); }
.chip__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-right: -4px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.chip__k { font-weight: 500; }
.chip__v { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 600px) { .chip__v { max-width: 240px; } }
.chip--sort svg:last-child { margin-right: -4px; }
.chip--tg.is-on svg { margin-left: -4px; }
/* Seçilmiş süzgəclər — «×» ilə götürülən çiplər; yapışqan deyil, sətirlərə bölünür («Hamısını təmizlə» həmişə görünür) */
.fchips { margin-top: 8px; }
.fchips__in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 0; }
.chip--x { max-width: 100%; padding: 0 10px 0 14px; background: var(--soft); box-shadow: none; }
.chip--x span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.chip--x:hover { background: var(--soft-2); box-shadow: none; }
.chip--clr { padding: 0 8px; background: none; box-shadow: none; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.chip--clr:hover { box-shadow: none; }

.shop { margin-top: 16px; }
.prevlink { display: flex; justify-content: center; margin: 0 0 16px; }
/* Boş nəticə — .cstate (səbət) üslubunda */
.lempty { padding: 40px 0 24px; }
.lempty__p { max-width: 360px; margin: 0 auto 4px !important; color: var(--muted); }
/* «Daha çox göstər» — irəliləyiş + kapsul düymə; ana səhifədə tam enli «Bütün məhsullara bax · N»; «Əvvəlki məhsulları göstər» —
   üçü də EYNİ yumşaq doldurulmuş kapsul (.catsbtn kimi) */
.lmore { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 360px; margin: 32px auto 0; text-align: center; }
.lmore__n { margin: 0; color: var(--muted); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lmore__bar { display: block; width: 160px; height: 4px; overflow: hidden; border-radius: 2px; background: var(--soft-2); }
.lmore__bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .3s var(--ease); }
.morebtn, .prevlink a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); background: var(--soft);
  color: var(--text); font-weight: 600; text-decoration: none; cursor: pointer; }
.morebtn:hover, .prevlink a:hover { background: var(--soft-2); }
.morebtn { width: 100%; }
.prevlink a { padding-left: 18px; }
.morebtn[aria-busy] { color: var(--muted); cursor: progress; }
.morebtn--all { margin-top: 24px; }
.morebtn__n { color: var(--muted); font-variant-numeric: tabular-nums; }
.catdesc { margin-top: 40px; }
.catdesc h2 { margin: 0 0 8px; font-size: var(--fs-md); }
.catdesc__t { color: var(--muted); font-size: var(--fs-sm); }
.is-clamp { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
.catdesc__t.is-clamp { -webkit-line-clamp: 4; }
.is-clamp.is-open { display: block; -webkit-line-clamp: unset; }

/* Süzgəc paneli və sıralama: telefonda aşağıdan sheet, kompüterdə süzgəc — sağdan panel, sıralama — çipin altında popover.
   Açıq modal panel: body.ov-open (fon + sürüşmə kilidi); fokus kilidi, Esc, fokusun qayıtması — app.js. */
.filt, .sortp { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; flex-direction: column; max-height: 92vh; max-height: 92dvh; background: #fff;
  border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: var(--sh-2); overscroll-behavior: contain; transform: translateY(100%); visibility: hidden; transition: transform .25s var(--ease), visibility .25s; }
.filt.is-open, .sortp.is-open { transform: none; visibility: visible; }
.filt:focus, .sortp:focus { outline: none; }
body.ov-open { overflow: hidden; }
body.ov-open::after { content: ""; position: fixed; inset: 0; z-index: 65; background: rgba(16, 24, 40, .4); }
.filt__head { display: flex; align-items: center; justify-content: space-between; flex: none; padding: 6px 6px 6px var(--gut); border-bottom: 1px solid var(--line); }
.filt__head h2 { margin: 0; font-size: var(--fs-md); }
.filt__body { flex: 1 1 auto; min-height: 0; padding: 0 var(--gut); overflow: auto; overscroll-behavior: contain; }
.filt__h { display: block; margin: 18px 0 10px; padding: 0; font-size: var(--fs); font-weight: 700; }
.ff__g { min-width: 0; margin: 0; padding: 0 0 6px; border: 0; }
.ff__g + .ff__g { margin-top: 6px; border-top: 1px solid var(--line); }
.ff__g > legend { float: left; width: 100%; } /* legend sərhədin içinə düşməsin — ayırıcı xətt bölmənin üstündə */
.ff__g > legend + * { clear: both; }
.ff__check, .ff__switch { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: var(--fs-sm); cursor: pointer; }
.ff__check { position: relative; }
.ff__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ff__box { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--ctl); color: var(--accent-ink); }
.ff__box svg { visibility: hidden; }
.ff__check input:checked + .ff__box { background: var(--accent); box-shadow: none; }
.ff__check input:checked + .ff__box svg { visibility: visible; }
.ff__check input:checked ~ span:not(.ff__box) { font-weight: 600; }
.ff__check input:focus-visible + .ff__box { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.ff__check span:not(.ff__box) { flex: 1; min-width: 0; }
.ff__check small { color: var(--muted); font-variant-numeric: tabular-nums; }
.ff__price { display: flex; align-items: flex-end; gap: 8px; }
.ff__price label { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.ff__lab { color: var(--muted); font-size: var(--fs-xs); }
.ff__dash { padding-bottom: 12px; color: var(--muted); }
.ff__price input, .ff__bsearch { width: 100%; height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: var(--soft); box-shadow: none; outline: none; }
.ff__price input::placeholder, .ff__bsearch::placeholder { color: var(--muted); }
.ff__price input:focus, .ff__bsearch:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent-text); }
.ff__bsearch { margin-bottom: 6px; }
.ff__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ff__chip { position: relative; }
.ff__chip input, .ff__switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ff__chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.ff__chip input:checked + span { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent-text); color: var(--accent-text); }
.ff__chip input:focus-visible + span, .ff__switch input:focus-visible + span::after { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.ff__list { max-height: 280px; overflow: auto; }
.ff__switch { position: relative; justify-content: space-between; }
.ff__switch span { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 12px; }
.ff__switch span::after { content: ""; flex: none; width: 42px; height: 26px; border-radius: 13px; background: var(--ctl) radial-gradient(circle at 13px 13px, #fff 9px, transparent 10px); transition: background .15s; }
.ff__switch input:checked + span::after { background: var(--accent) radial-gradient(circle at 29px 13px, #fff 9px, transparent 10px); }
.ff__act { position: sticky; bottom: 0; display: flex; gap: 8px; margin-top: 12px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line); }
.ff__act .btn { flex: 1; }
.sortp { padding-bottom: env(safe-area-inset-bottom); }
.sortp__list { margin: 0; padding: 6px 0 12px; list-style: none; }
.sortp__opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 var(--gut); color: var(--text); text-decoration: none; }
.sortp__opt:hover { background: var(--soft); }
.sortp__opt:focus-visible { outline-offset: -2px; }
.sortp__opt[aria-current] { font-weight: 700; }
.sortp__r { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ctl); }
.sortp__opt[aria-current] .sortp__r { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 6px #fff; }
@media (min-width: 900px) {
  .filt { top: 0; left: auto; width: min(420px, 100vw); max-height: none; height: 100vh; height: 100dvh; border-radius: var(--r-xl) 0 0 var(--r-xl); transform: translateX(100%); }
  .filt__head { padding: 12px 12px 12px 24px; }
  .filt__body { padding: 0 24px; }
  .sortp { right: auto; bottom: auto; top: 0; z-index: 50; width: 300px; max-height: none; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-lg);
    opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s var(--ease), visibility .15s; }
  .sortp.is-open { opacity: 1; }
  .sortp__head { display: none; }
  .sortp__list { padding: 0; }
  .sortp__opt { min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); }
  .sortp__r { width: 20px; height: 20px; }
}

/* ── Məhsul səhifəsi (§2.7) */
.prod { display: grid; gap: 16px; }
@media (min-width: 900px) { .prod { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; } }
.gal { position: relative; margin: 0 calc(-1 * var(--gut)); }
.gal__track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; background: #fff; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 100%; display: block; aspect-ratio: 1; padding: 0; border: 0; background: #fff; scroll-snap-align: center; cursor: zoom-in; }
.gal__slide img { width: 100%; height: 100%; object-fit: contain; }
/* Planşet (600–899): kvadrat şəkil ekranı doldurmasın — qiymət bloku ilk ekranda görünsün */
@media (min-width: 600px) and (max-width: 899.98px) { .gal__slide { aspect-ratio: auto; height: min(100vw, 56vh); } }
.gal__slide--none { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--soft); color: var(--muted); font-size: 17px; font-weight: 600; cursor: default; }
.gal__slide--none svg { opacity: .7; }
.gal .pc__bdgs { top: 12px; left: calc(var(--gut) + 0px); }
.gal__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gal__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(28, 30, 33, .25); }
.gal__dots i.is-on { background: var(--text); }
.vplay { position: absolute; right: calc(var(--gut) + 4px); bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 10px; border: 0; border-radius: var(--r-pill); background: rgba(28, 30, 33, .85); color: #fff; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
@media (min-width: 900px) {
  .gal { position: sticky; top: calc(var(--hdr-h) + 16px); margin: 0; }
  .gal__track { border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
  .gal .pc__bdgs { left: 12px; }
  .vplay { right: 12px; bottom: 96px; }
  .gal__thumbs { display: flex; gap: 8px; margin-top: 10px; }
  .gal__thumb { width: 72px; height: 72px; padding: 0; overflow: hidden; border: 0; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
  .gal__thumb img { width: 100%; height: 100%; object-fit: contain; }
  .gal__thumb.is-on { box-shadow: inset 0 0 0 2px var(--accent); }
}
.pinfo { min-width: 0; }
.pinfo__h { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
@media (min-width: 900px) { .pinfo__h { font-size: 28px; } }
.pinfo__color { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.pp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 10px 0 0; }
.pp__now { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pp s { color: var(--muted); font-size: var(--fs-md); }
.pp__pct { padding: 2px 8px; border-radius: var(--r-pill); background: var(--sale-soft); color: var(--sale); font-size: var(--fs-sm); font-weight: 700; }
.pbonus { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 8px 12px; border-radius: var(--r); background: var(--bonus-soft); color: var(--bonus); font-size: var(--fs-sm); font-weight: 600; }
html[data-me] .pbonus.js-std { display: none; }
.pcamp { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; margin: 10px 0 0; padding: 8px 12px; border-radius: var(--r); background: var(--sale-soft); color: #8a1f17; font-size: var(--fs-sm); font-weight: 600; }
.pcamp svg { flex: none; }
.pcamp span { min-width: 0; overflow-wrap: anywhere; }
.avail { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: var(--fs-sm); font-weight: 600; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.avail--ok { color: var(--ok); }
.avail--out { color: var(--bad); }
.gifts { display: grid; gap: 12px; margin-top: 16px; }
.gift { min-width: 0; margin: 0; padding: 0; border: 0; }
.gift legend { margin-bottom: 6px; padding: 0; font-size: var(--fs-sm); font-weight: 700; }
.gift__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.gift__opt { position: relative; }
.gift__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gift__opt span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--line); font-size: var(--fs-sm); cursor: pointer; }
.gift__opt small { color: var(--muted); }
.gift__opt input:checked + span { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent-text); color: var(--accent-text); font-weight: 600; }
.gift__opt input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.buy { display: flex; gap: 12px; margin-top: 20px; }
.qty { display: inline-flex; align-items: center; flex: none; height: 48px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; }
.qty button { display: grid; place-items: center; width: 44px; height: 100%; padding: 0; border: 0; background: none; color: var(--text); cursor: pointer; }
.qty button:disabled { color: var(--faint); cursor: default; }
.qty input { width: 40px; height: 100%; padding: 0; border: 0; background: none; font-weight: 700; text-align: center; outline: none; }
.qty:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--accent-text); } /* klaviatura fokusu görünsün (WCAG 2.4.7) */
.qty span { min-width: 24px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.buy__add { flex: 1; }
.ptotal { margin: 8px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.order-now { display: grid; gap: 8px; margin-top: 12px; }
@media (min-width: 600px) { .order-now { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.pvideo { margin: 12px 0 0; }
.pdesc { margin-top: 24px; }
.pdesc h2 { margin: 0 0 6px; font-size: var(--fs-md); }
.pdesc__t { overflow-wrap: anywhere; }
.pmeta { display: grid; gap: 6px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.pmeta div { display: flex; gap: 10px; }
.pmeta dt { flex: none; min-width: 92px; color: var(--muted); }
.pmeta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.pmeta a { color: var(--text); }
.cpy { display: inline-flex; align-items: center; gap: 2px; }
.cpy__btn { position: relative; display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; margin: -8px 0; padding: 0; border: 0; border-radius: var(--r-pill);
  background: none; color: var(--muted); cursor: pointer; }
.cpy__btn::before { content: ""; position: absolute; inset: -6px; } /* toxunma sahəsi ~44px */
.cpy__btn:hover { background: var(--soft); color: var(--text); }
.cpy__btn svg { grid-area: 1 / 1; }
.cpy__btn svg + svg, .cpy__btn.is-done svg:first-child { display: none; }
.cpy__btn.is-done svg + svg { display: block; color: var(--accent-text); }
/* Mobil yapışqan alış / göndər zolağı */
.buybar, .sendbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; gap: 8px; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: var(--sh-up); }
.buybar .btn, .sendbar .btn { flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; font-size: var(--fs); }
/* Göndər düyməsində məbləğ HƏMİŞƏ görünür; dar ekranda yazı qısalır («Sifariş et») */
.sendbar .btn .sendbar__sum { flex: none; overflow: visible; }
.sendbar__s { display: none; }
@media (max-width: 359.98px) { .sendbar__l { display: none; } .sendbar__s { display: inline; } }
.qty--bar button { position: relative; width: 40px; }
.qty--bar button::after { content: ""; position: absolute; inset: 0 -2px; } /* toxunma sahəsi 44 px */
.qty--bar input { width: 32px; }
body.notab { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { body.notab { padding-bottom: 0; } }
/* Tam ekran baxış və video */
.viewer, .vmodal { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #fff; overscroll-behavior: contain; }
.viewer::backdrop, .vmodal::backdrop { background: rgba(0, 0, 0, .6); }
.viewer__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.viewer__slide { display: grid; place-items: center; flex: 0 0 100%; height: 100%; scroll-snap-align: center; }
.viewer__slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer__x { position: fixed; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: var(--sh-2); cursor: pointer; }
.vmodal { background: #000; }
.vmodal__body { display: grid; place-items: center; height: 100%; }
.vmodal iframe { width: min(100vw, 900px); height: min(100dvh, 506px); border: 0; }
.vmodal--ig iframe { width: min(100vw, 420px); height: min(100dvh, 760px); background: #fff; }

/* ── Səbət (§2.8) */
.cart { padding-top: 12px; }
.cart__head { margin-bottom: 4px; }
.cart__cnt { color: var(--muted); font-size: var(--fs-md); font-weight: 400; }
.cart__cnt:empty { display: none; }
/* Səbət doludursa (head skripti) data.php gələnədək altlıq ekrandan aşağıda qalsın — forma/cəm sonra açılanda sıçramasın (CLS) */
html[data-cart] .cart__cols { min-height: 100vh; }
@media (min-width: 900px) { .cart__cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; } .cart__side { position: sticky; top: calc(var(--hdr-h) + 16px); }
  .cart__cols:has(> .cart__side[hidden]) { grid-template-columns: minmax(0, 1fr); } /* boş / göndərildi / xəta — mərkəzdə, sağda boş sütun yox */ }
.lines { margin: 0; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img info del" "img qty sum"; align-items: center; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__img { grid-area: img; align-self: start; width: 64px; height: 64px; overflow: hidden; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.line__img img { width: 100%; height: 100%; object-fit: contain; }
.line__info { grid-area: info; min-width: 0; align-self: start; }
.line__info a { display: -webkit-box; overflow: hidden; color: var(--text); font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.line__info small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.line__info .line__bonus { color: var(--bonus); font-weight: 600; }
.line__info .line__camp { color: #8a1f17; font-weight: 600; }
.line__info .line__bad { color: var(--bad); font-weight: 600; }
.line__del { grid-area: del; align-self: start; justify-self: end; margin: -8px -10px 0 0; color: var(--muted); }
.line .qty { grid-area: qty; justify-self: start; height: 44px; }
.line .qty button { width: 44px; }
.line__sum { grid-area: sum; justify-self: end; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.line--out .line__img img { opacity: .5; }
.line--sk { display: flex; gap: 12px; }
.line--sk .line__img { flex: none; background: var(--soft); box-shadow: none; }
.line--sk .sk { flex: 1; }
.cstate { padding: 32px 0; text-align: center; }
.cstate__ic { display: inline-grid; place-items: center; width: 80px; height: 80px; margin-bottom: 12px; border-radius: 50%; background: var(--soft); color: var(--muted); }
.cstate__ic--ok { background: var(--bonus-soft); color: var(--bonus); }
.cstate__t { margin: 0 0 6px; font-size: var(--fs-md); font-weight: 700; }
.cstate p { margin: 0 0 12px; }
.cstate__act { display: flex; flex-direction: column; gap: 8px; max-width: 360px; margin: 16px auto 4px; }
.bcard { margin-top: 16px; padding: 16px; border-radius: var(--r-lg); background: var(--bonus-soft); }
.bcard__h { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: var(--bonus); font-size: var(--fs); font-weight: 700; }
.bcard p { margin: 0 0 6px; font-size: var(--fs-sm); }
.bcard__save { color: var(--bonus); font-weight: 700; }
.bcard__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bcard__act .btn { flex: 1 1 auto; min-height: 44px; white-space: nowrap; } /* sığmasa hər biri tam enə keçir, söz bölünmür */
.bcard__login { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(14, 122, 90, .2); }
.sumcard { margin-top: 16px; padding: 16px; border-radius: var(--r-lg); background: var(--soft); }
@media (min-width: 900px) { .sumcard { margin-top: 0; padding: 20px; } }
.sums { display: grid; gap: 6px; margin: 0; }
.sums div { display: flex; justify-content: space-between; gap: 12px; }
.sums dt { color: var(--muted); }
.sums dd { margin: 0; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sums .sums__save dd { color: var(--bonus); }
.sums .sums__total { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); font-size: var(--fs-lg); font-weight: 700; }
.sums .sums__total dt { color: var(--text); }
.sumcard__send { width: 100%; margin-top: 14px; }
.sumcard__hint { margin: 10px 0 0; color: var(--muted); font-size: var(--fs-xs); }
.sums__note { margin: 8px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.oform { margin-top: 20px; }
.oform__h { margin: 0 0 4px; font-size: var(--fs-lg); }
.oform__info { display: flex; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: var(--r); background: var(--soft); font-size: var(--fs-sm); }
.oform__info svg { flex: none; margin-top: 1px; }

/* ── Formalar */
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 14px 0 0; padding: 0; border: 0; }
.fld > label:not(.check), .fld > legend { padding: 0; font-size: var(--fs-sm); font-weight: 600; } /* razılıq xanasının yazısı adi qalınlıqda */
.fld input:not([type=checkbox]):not([type=radio]), .fld textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 0; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); outline: none; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld textarea:focus { box-shadow: inset 0 0 0 2px var(--accent-text); }
.fld.is-bad input:not([type=checkbox]), .fld.is-bad .tel { box-shadow: inset 0 0 0 2px var(--bad); }
.fld__e { margin: 0; color: var(--bad); font-size: var(--fs-sm); font-weight: 600; }
.fld__e:empty { display: none; }
.fld__help { order: 9; margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.tel { display: flex; align-items: stretch; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.tel:focus-within { box-shadow: inset 0 0 0 2px var(--accent-text); }
.tel__p { display: grid; place-items: center; flex: none; padding: 0 8px 0 14px; color: var(--muted); font-weight: 600; }
.fld .tel input:not([type=checkbox]) { flex: 1; min-width: 0; padding-left: 4px; background: none; box-shadow: none; }
.seg { display: flex; gap: 0; min-width: 0; margin: 14px 0 0; padding: 3px; border: 0; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line); }
.seg legend { float: left; width: 100%; margin-bottom: 6px; font-size: var(--fs-sm); font-weight: 600; }
.seg label { position: relative; flex: 1 1 auto; min-width: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 8px; border-radius: 9px; font-size: var(--fs-sm); font-weight: 600; text-align: center; white-space: nowrap; cursor: pointer; }
.seg input:checked + span { background: var(--accent); color: var(--accent-ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 1px; }
.seg--opt { flex-direction: row; flex-wrap: wrap; padding: 0; box-shadow: none; gap: 8px; }
.seg--opt label { flex: 1 1 120px; max-width: 180px; }
.seg--opt span { box-shadow: inset 0 0 0 1.5px var(--line); border-radius: var(--r); }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 0 0; font-size: var(--fs-sm); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.check a { color: var(--accent-text); }
.fld--check { margin-top: 6px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
/* Doğum tarixi komponenti (app.js birthField) */
.bf { min-width: 0; margin: 0; padding: 0; border: 0; }
.bf legend { margin-bottom: 6px; padding: 0; font-size: var(--fs-sm); font-weight: 600; }
.bf__row { display: flex; gap: 8px; }
.bf__c { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bf__c span { color: var(--muted); font-size: var(--fs-xs); }
.bf__d, .bf__m { flex: 0 0 64px; }
.bf__y { flex: 0 0 92px; }
.fld .bf__c input:not([type=checkbox]) { padding: 10px 6px; text-align: center; font-variant-numeric: tabular-nums; }
.bf__out { min-height: 1.4em; margin: 6px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.bf__out.is-bad { color: var(--bad); font-weight: 600; }

/* ── Hesabım (§2.10) */
.acct { max-width: 760px; padding-top: 12px; }
.acct__lead { margin: 6px 0 16px; color: var(--muted); }
.acct__cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .acct__cards { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.acard { margin-top: 0; padding: 18px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.acard + .acard { margin-top: 0; }
.js-me .acard { margin-top: 14px; }
.acard--soft { background: var(--accent-soft); box-shadow: none; }
.acard--soft .acard__sub { color: var(--muted-soft); }
.acard__h { margin: 0 0 4px; font-size: var(--fs-md); }
.acard__sub { margin: 0 0 8px; color: var(--muted); font-size: var(--fs-sm); }
.acard .btn--block { margin-top: 14px; }
.mcard__no { margin: 0; font-weight: 700; }
.mcard__bal-l { margin: 12px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.mcard__bal { margin: 0 0 6px; color: var(--bonus); font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mcard__ok { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: var(--bonus); font-size: var(--fs-sm); font-weight: 600; }
.kcard { box-shadow: inset 0 0 0 2px var(--text); text-align: center; }
.kcard__phone { margin: 6px 0 0; font-size: 30px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.kcard__no { margin: 2px 0 8px; font-size: 22px; font-weight: 700; }
html[data-me="member"] .me-pending, html[data-me="pending"] .me-member { display: none !important; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 700; }
.pill--warn { background: #fdf1e0; color: #8a4f00; }
.acct__info { margin-top: 36px; }
.acct__info h2 { margin: 0 0 10px; font-size: var(--fs-md); }
.ilist { margin: 0; padding: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); list-style: none; }
.ilist a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.ilist li:last-child a { border-bottom: 0; }
.ilist svg { flex: none; color: var(--muted); }
.msg { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r); font-size: var(--fs-sm); }
.msg p { margin: 0 0 8px; }
.msg p:last-child { margin-bottom: 0; }
.msg--bad { background: var(--sale-soft); color: #8a1f17; }
.msg--ok { background: var(--bonus-soft); color: #0a5c44; }
.msg--info { background: var(--soft); color: var(--text); }
.msg__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.msg__act .btn { min-height: 44px; flex: 1 1 180px; white-space: nowrap; } /* yazı bölünmək əvəzinə düymələr alt-alta düşür */
.rres { padding: 24px 0; text-align: center; }
.rres__ref { margin: 4px 0 12px; font-size: 28px; font-weight: 800; letter-spacing: .02em; }
.rres .cstate__act { max-width: 360px; }

/* ── Səhifə və bloq */
.prose { max-width: 760px; padding-top: 16px; overflow-wrap: anywhere; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r); }
.prose__hero { width: 100%; margin-bottom: 16px; aspect-ratio: 16 / 9; object-fit: cover; } /* ölçüsü yazılmayıb — yer əvvəlcədən (CLS) */
.prose a { color: var(--accent-text); }
.prose h2 { font-size: var(--fs-lg); }
.prose h3 { font-size: var(--fs-md); }
.posts { display: grid; gap: 20px; margin-top: 16px; }
@media (min-width: 600px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post { display: flex; flex-direction: column; gap: 4px; color: var(--text); text-decoration: none; }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.post__date { color: var(--muted); font-size: var(--fs-xs); }
.post__title { font-size: var(--fs-md); font-weight: 700; }
.post__ex { color: var(--muted); font-size: var(--fs-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
