/* ==========================================================================
   VERITEX · главная v2, шаг 2: полоса доверия, баннеры, полка «Каталог» с товарными
   карточками (ТЗ 6.3), «От молекулы до флакона», проверка партии, журнал, вопросы + Telegram.
   Анимируем только transform и opacity. Скругления: карточки 16, баннеры 24, кнопки 12.
   ========================================================================== */
.sec { padding-top: var(--s-6); }
@media (min-width: 900px) { .sec { padding-top: var(--s-7); } }
.h2 { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.05; font-weight: 400; letter-spacing: -0.035em; text-wrap: balance; }
.site-footer { margin-top: var(--s-7); }
@media (max-width: 899px) { .site-footer { margin-top: var(--s-6); } body.has-cart-bar .site-footer { padding-bottom: 96px; } }

/* ---------- 3 · полоса доверия ---------- */
.trust { margin-top: var(--s-5); }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-cell); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.trust__i { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 24px 24px 26px; }
.trust__i + .trust__i { box-shadow: inset 1px 0 0 var(--line); }
.trust__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--violet-glow); background: rgba(112, 70, 163, 0.22); }
.trust__t { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.trust__p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.trust__short { display: none; }
@media (max-width: 899px) {
  .trust { margin-top: var(--s-4); }
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: none; box-shadow: none; overflow: visible; }
  .trust__i { grid-template-columns: 1fr; gap: 14px; padding: 16px; border-radius: var(--r-cell); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); }
  .trust__i + .trust__i { box-shadow: inset 0 0 0 1px var(--line); }
  .trust__ic { width: 36px; height: 36px; background: none; }
  .trust__t { font-size: 17px; }
  .trust__p { margin-top: 4px; font-size: 14px; }
  .trust__long { display: none; } .trust__short { display: inline; }
}

/* ---------- 4 · баннеры: слайдер + «ожидается» + слот акции ---------- */
.banners { margin-top: var(--s-4); }
.bn__grid { display: grid; grid-template-columns: minmax(0, 2.04fr) minmax(0, 1fr); gap: 16px; }
.bn { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-banner); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); }
.bn--main { min-height: 452px; background: radial-gradient(52% 85% at 76% 52%, rgba(112, 70, 163, 0.5), transparent 72%), linear-gradient(100deg, #17151B 30%, #1d1528); }
.bn__slides { display: grid; height: 100%; }
.bn__slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease), visibility 0s linear var(--dur-slow); }
.bn__slide.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.bn__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 40px 0 76px 44px; }
.bn__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--violet-glow); }
.bn__eyebrow .mono { font-size: 13px; color: var(--text-muted); }
.bn__eyebrow--warn { color: var(--warn); }
.bn__eyebrow--warn .mono { color: var(--warn); }
.bn__title { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 400; max-width: 9.5em; text-wrap: balance; }
.bn__title--sm { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; max-width: none; }
.bn__lead { max-width: 46ch; font-size: 16px; line-height: 1.55; color: #b9aec6; }
.bn__lead--sm { font-size: 14px; max-width: 34ch; color: var(--text-muted); }
.bn__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: auto; padding-top: 12px; }
.bn__price { font-size: 32px; font-weight: 400; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bn__link { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--violet-glow); font-size: 15px; }
.bn__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.bn__art { position: relative; min-height: 100%; overflow: hidden; }
.bn__vial { position: absolute; left: 50%; bottom: -16%; width: auto; height: 104%; max-width: none; transform: translateX(-52%); filter: drop-shadow(0 20px 48px rgba(112, 70, 163, 0.45)); }
svg.bn__vial { width: 52%; height: auto; bottom: -14%; }
.bn__dust { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }   /* флаконы из частиц вместо серых прямоугольников (ТЗ 14.6) */
.bn__nav { position: absolute; z-index: 3; left: 44px; bottom: 26px; }
.bn__dots { display: flex; gap: 2px; }
.bn__dot { position: relative; width: 44px; height: 24px; display: grid; place-items: center; }
.bn__dot i { display: block; width: 18px; height: 4px; border-radius: 2px; background: rgba(244, 240, 250, 0.28); transition: width var(--dur-base) var(--ease), background var(--dur-base) var(--ease); }
.bn__dot.is-on i { width: 34px; background: var(--text); }
.bn__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; min-width: 0; }
.bn--wait, .bn--promo { display: flex; padding: 28px; min-height: 210px; }
.bn--wait .bn__text { padding: 0; gap: 10px; flex: 1; z-index: 2; }
.bn--wait .bn__art { position: absolute; right: -14px; top: 18px; bottom: -34px; width: 38%; min-height: 0; }
.bn--wait .bn__vial { height: 100%; bottom: 0; transform: translateX(-50%); filter: none; }
.bn__art--dim .bn__vial { opacity: 0.38; filter: saturate(0.5) !important; }
.bn--promo { flex-direction: column; justify-content: flex-start; gap: 10px; background: radial-gradient(70% 90% at 0% 0%, rgba(112, 70, 163, 0.38), transparent 70%), var(--bg-raised); box-shadow: inset 0 0 0 1px rgba(169, 139, 219, 0.22); }
.promo { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; margin-top: auto; padding: 0 16px; border-radius: 12px; font-size: 15px; letter-spacing: 0.08em; color: var(--text); border: 1px dashed var(--violet-glow); align-self: flex-start; transition: background var(--dur-fast) var(--ease); }
.promo:hover { background: rgba(169, 139, 219, 0.1); }
.promo__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: 0; color: var(--violet-glow); }
@media (max-width: 1099px) { .bn__grid { grid-template-columns: 1fr; } .bn__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; } }
@media (max-width: 899px) {
  .bn--main { min-height: 0; }
  .bn__slide { grid-template-columns: 1fr; }
  .bn__text { padding: 22px 20px 84px; }
  .bn__title { font-size: 36px; max-width: 8em; }
  .bn__lead { font-size: 15px; max-width: 28ch; }
  .bn__art { position: absolute; right: 0; bottom: 0; width: 46%; height: 52%; min-height: 0; }
  .bn__vial { height: 112%; bottom: -26%; transform: translateX(-30%); }
  .bn__buy { position: relative; z-index: 3; gap: 10px 14px; }
  .bn__price { font-size: 26px; }
  .bn__nav { left: 12px; bottom: 14px; }
  .bn__side { grid-template-columns: 1fr; }
  .bn--wait, .bn--promo { padding: 22px 20px; min-height: 0; }
  .bn--wait .bn__art { width: 34%; }
}

/* ---------- 5 · полка «Каталог» ---------- */
.shelf__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-4); margin-bottom: var(--s-4); }
.shelf__meta { margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.shelf__tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); min-width: 0; }
.tabs { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 18px; border-radius: 12px; font-size: 15px; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.tab:hover { background: rgba(244, 240, 250, 0.07); }
.tab:active { transform: scale(0.97); }
.tab .mono { font-size: 12px; color: var(--text-muted); }
.tab[aria-selected="true"] { background: var(--paper); color: var(--paper-ink); box-shadow: none; }
.tab[aria-selected="true"] .mono { color: #5E5468; }
.shelf__all { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); font-size: 15px; color: var(--violet-glow); }
.shelf__all .icon { transition: transform var(--dur-fast) var(--ease); }
.shelf__all:hover .icon { transform: translateX(3px); }
.shelf__grid, .pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 16px; }
.shelf__grid .empty { grid-column: 1 / -1; }

/* ---------- товарная карточка (ТЗ 6.3) ---------- */
.pcard { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; padding: 16px 18px 18px; border-radius: var(--r-cell); background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(70% 45% at 50% 28%, color-mix(in srgb, var(--accent-solid, var(--violet)) 40%, transparent), transparent 75%); opacity: 0.55; transition: opacity var(--dur-base) var(--ease); }
@media (hover: hover) { .pcard:hover { box-shadow: inset 0 0 0 1px var(--accent, var(--violet-glow)); } .pcard:hover::before { opacity: 1; } }
.pcard:focus-within { box-shadow: inset 0 0 0 1px var(--accent, var(--violet-glow)); }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.pcard .tag { color: var(--accent, var(--text-muted)); letter-spacing: 0.04em; }
.pcard .hplc { min-height: 24px; padding: 0 8px; font-size: 12px; }
.pcard__media { --vh: 204px; position: relative; display: flex; justify-content: center; align-items: center; height: var(--vh); margin: 6px -6px 8px; overflow: hidden; }
.pcard__img, .pcard__svg .vial { height: var(--vh); width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45)); transition: transform var(--dur-slow) var(--ease); }
.pcard__svg { display: block; height: var(--vh); }
@media (hover: hover) { .pcard:hover .pcard__img { transform: translateY(-4px) scale(1.03); } }
.pcard.is-dim .pcard__img, .pcard.is-dim .pcard__svg { opacity: 0.45; filter: saturate(0.45) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45)); }
.pcard.is-dim::before { opacity: 0.25; }
.pcard__body { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.pcard__code { font-size: 28px; line-height: 1.1; font-weight: 400; letter-spacing: -0.025em; }
.pcard__code a { position: static; }
.pcard__code a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }   /* вся карточка — ссылка; кнопки лежат выше */
.pcard__cas { margin-top: 8px; font-size: 13px; line-height: 1.3; color: var(--text-muted); white-space: nowrap; }
.pcard__doses { position: relative; z-index: 2; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; margin-top: 14px; padding: 3px; border-radius: 12px; background: rgba(15, 13, 19, 0.55); box-shadow: inset 0 0 0 1px var(--line); }
.pcard__dose { min-height: 38px; border-radius: 9px; font-size: 13px; color: var(--text-muted); transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.pcard__dose:hover:not([disabled]) { color: var(--text); }
.pcard__dose[aria-checked="true"] { background: rgba(244, 240, 250, 0.12); color: var(--text); }
.pcard__dose[disabled] { text-decoration: line-through; opacity: 0.4; cursor: not-allowed; }
.pcard__buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 14px; min-height: 40px; }
.pcard__buy.is-soon { min-height: 0; margin-top: 12px; }
.pcard__buy.is-soon .pcard__st { font-size: 14px; padding-bottom: 0; white-space: normal; min-width: 0; max-width: 100%; align-items: flex-start; }
.pcard__buy.is-soon .pcard__st .dot { margin-top: 5px; flex: none; }
.pcard__price { font-size: 28px; line-height: 1; font-weight: 400; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pcard__st { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; line-height: 1.2; color: var(--text-muted); white-space: nowrap; padding-bottom: 3px; }
.pcard__st[data-s="ok"] { color: var(--ok); } .pcard__st[data-s="warn"] { color: var(--warn); }
.pcard__st .dot { background: var(--off); }
.pcard__st[data-s="ok"] .dot { background: var(--ok); } .pcard__st[data-s="warn"] .dot { background: var(--warn); }
.pcard__st { padding-bottom: 0; }
.pcard__buy:not(.is-soon) .pcard__st { padding-bottom: 3px; }
.pcard__act { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.pcard__add { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; border-radius: 12px; }
.pcard__add.is-done { background: var(--ok); color: var(--bg); }
.pcard__fav { flex: none; width: 46px; height: 46px; border-radius: 12px; }
.pcard__fav[aria-pressed="true"] { color: var(--violet-glow); }
.pcard__fav[aria-pressed="true"] .icon { fill: currentColor; }
.pcard__notify { flex: 1; min-width: 0; min-height: 46px; padding: 0 10px; border-radius: 12px; font-size: 14px; }
@media (max-width: 599px) {
  .shelf__grid, .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard { padding: 12px 12px 14px; }
  .pcard__media { --vh: 142px; margin-inline: -4px; }
  .pcard__code { font-size: 22px; }
  .pcard__cas { margin-top: 6px; font-size: 12px; white-space: normal; }
  .pcard__doses { margin-top: 10px; }
  .pcard__dose { min-height: 34px; font-size: 12px; }
  .pcard__buy { margin-top: 10px; }
  .pcard__price { font-size: 22px; }
  .pcard:not(.is-dim) .pcard__st span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pcard__st { padding-bottom: 6px; }
  .hplc__k { display: none; }
  .pcard__fav { display: none; }
  .pcard__add { padding: 0 8px; }
  .pcard__notify { padding: 0 6px; font-size: 13px; }
  .pcard__notify .icon { display: none; }
}

/* ---------- 6 · «От молекулы до вашего флакона» ---------- */
.flow__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3) var(--s-6); margin-bottom: var(--s-5); }
.flow__head .h2 { max-width: 11em; }
.flow__head p { max-width: 38ch; margin-bottom: 8px; font-size: 16px; line-height: 1.55; color: #b9aec6; }
.flow__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.flow__view { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-cell); background: radial-gradient(60% 65% at 50% 50%, rgba(112, 70, 163, 0.34), transparent 78%), var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); }
.flow__view canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow__t { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; font-size: 24px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.flow__t .mono { font-size: 13px; color: var(--violet-glow); }
.flow__p { margin-top: 8px; padding-left: 31px; font-size: 15px; line-height: 1.5; color: var(--text-muted); max-width: 30ch; }
@media (max-width: 899px) {
  .flow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .flow__view { aspect-ratio: 1 / 1; }
  .flow__t { font-size: 19px; margin-top: 12px; gap: 8px; }
  .flow__p { padding-left: 0; font-size: 13px; margin-top: 4px; }
}

/* ---------- 7 · проверка партии ---------- */
.vblock { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--s-6); align-items: center; padding: 64px; border-radius: var(--r-banner); background: radial-gradient(42% 70% at 74% 50%, rgba(112, 70, 163, 0.3), transparent 72%), var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line-strong); }
.vblock .eyebrow { text-transform: none; letter-spacing: 0.04em; font-size: 14px; font-family: var(--font-body); }
.vblock .h2 { margin-top: 14px; max-width: 10em; }
.vblock__lead { margin-top: 22px; max-width: 42ch; font-size: 17px; line-height: 1.55; color: #b9aec6; }
.vcheck { margin-top: 28px; max-width: 520px; display: grid; gap: 8px; }
.vcheck .field__label { font-size: 14px; color: #b9aec6; }
.vcheck__row { display: flex; gap: 12px; align-items: stretch; }
.vcheck__row .input { flex: 1 1 auto; min-width: 0; height: 58px; font-size: 22px; letter-spacing: 0.02em; background: #0F0D13; }
.vcheck__row .btn { flex: none; min-height: 58px; padding-inline: 24px; }
.vblock__art { display: grid; justify-items: center; gap: 36px; }
.vlabel { position: relative; width: min(100%, 372px); padding: 18px 20px 20px; overflow: hidden; border-radius: 16px; background: var(--paper); color: var(--paper-ink); transform: rotate(-4.5deg); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); display: grid; gap: 6px; }
.vlabel__cell { display: grid; gap: 6px; margin-bottom: 8px; padding: 16px 18px 14px; border-radius: 10px; background: var(--violet); color: #fff; }
.vlabel__cell b { font-size: 32px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.vlabel__cell span { font-size: 13px; opacity: 0.92; }
.vlabel__r { display: grid; grid-template-columns: 46px 1fr; align-items: center; min-height: 30px; padding: 0 8px; font-size: 14px; }
.vlabel__r > span { color: var(--paper-muted); font-family: var(--font-mono); font-size: 13px; }
.vlabel__r b { font-weight: 400; }
.vlabel__r.is-hl { border-radius: 8px; box-shadow: inset 0 0 0 2px var(--violet); }
.vlabel__scan { position: absolute; left: 0; right: 0; top: 18px; height: 2px; background: #39c978; box-shadow: 0 0 14px 2px rgba(57, 201, 120, 0.7); animation: vscan 3.4s var(--ease) infinite; }
@keyframes vscan { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 55% { transform: translateY(170px); opacity: 1; } 70%, 100% { transform: translateY(170px); opacity: 0; } }
.vblock__ok { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 13px; color: var(--ok); background: var(--ok-surface); box-shadow: inset 0 0 0 1px var(--ok-line); }
@media (max-width: 899px) {
  .vblock { grid-template-columns: 1fr; padding: 28px 20px 24px; gap: 0; }
  .vblock__art { display: none; }
  .vblock__lead { margin-top: 14px; font-size: 15px; }
  .vcheck { margin-top: 20px; }
  .vcheck__row { flex-direction: column; }
  .vcheck__row .btn { width: 100%; }
}

/* ---------- 8 · журнал партий ---------- */
.jhead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.jt__h, .jt__r { display: grid; grid-template-columns: 150px minmax(0, 1.3fr) 130px minmax(0, 1.7fr) 100px; align-items: center; gap: 12px 24px; }
.jt__h { padding: 14px 0; border-bottom: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.jt__r { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.jt__lot { font-size: 15px; }
.jt__sub { color: var(--text-muted); }
.jt__sub .nowrap { color: var(--text); }
.jt__sub .mono { font-size: 14px; }
.jt__pur { color: var(--ok); }
.jt__meta { font-size: 13px; color: var(--text-muted); }
.jt__coa { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; min-height: var(--tap); color: var(--violet-glow); font-family: var(--font-mono); font-size: 14px; }
.jt__coa .icon { transition: transform var(--dur-fast) var(--ease); }
.jt__coa:hover .icon { transform: translateX(3px); }
.jt__h span:last-child { text-align: right; }
.jt__none { padding: 28px 0; color: var(--text-muted); }
@media (max-width: 899px) {
  .jhead { align-items: center; flex-wrap: wrap; }
  .jt__h { display: none; }
  .jt__r { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lot pur" "sub sub" "meta coa"; gap: 6px 12px; padding: 16px 0; }
  .jt__lot { grid-area: lot; } .jt__pur { grid-area: pur; text-align: right; } .jt__sub { grid-area: sub; } .jt__meta { grid-area: meta; font-size: 12px; } .jt__coa { grid-area: coa; }
}

/* ---------- 9 · вопросы + карточка Telegram ---------- */
.faqs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.faqs__list { margin-top: var(--s-4); border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; list-style: none; cursor: pointer; font-size: 20px; letter-spacing: -0.01em; line-height: 1.3; }
.qa__q::-webkit-details-marker { display: none; }
.qa__q .icon { flex: none; color: var(--text-muted); transition: transform var(--dur-base) var(--ease); }
.qa[open] .qa__q .icon { transform: rotate(180deg); }
.qa__q:hover { color: var(--violet-glow); }
.qa__a { padding: 0 40px 22px 0; max-width: 56ch; font-size: 16px; line-height: 1.6; color: #b9aec6; }
.tgcard { position: relative; isolation: isolate; overflow: hidden; min-height: 400px; border-radius: var(--r-banner); background: radial-gradient(60% 70% at 85% 10%, rgba(112, 70, 163, 0.34), transparent 72%), var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line-strong); }
.tgcard__bg { position: absolute; z-index: -1; right: -22%; top: -22%; width: 92%; max-width: none; height: auto; opacity: 0.55; -webkit-mask-image: linear-gradient(270deg, #000 35%, transparent 92%); mask-image: linear-gradient(270deg, #000 35%, transparent 92%); }
.tgcard__in { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 14px; padding: 40px; }
.tgcard .eyebrow { text-transform: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; }
.tgcard__t { max-width: 13em; font-size: clamp(30px, 2.9vw, 40px); line-height: 1.1; font-weight: 400; letter-spacing: -0.03em; text-wrap: balance; }
.tgcard__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tgcard__act .btn { min-height: 52px; }
@media (min-width: 900px) { .tgcard { position: sticky; top: 100px; } }
@media (max-width: 899px) {
  .faqs__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .qa__q { font-size: 18px; min-height: 60px; }
  .tgcard { min-height: 340px; }
  .tgcard__in { padding: 24px 20px; }
  .tgcard__act .btn { flex: 1 1 auto; }
}

/* ---------- подвал ---------- */
.site-footer { margin-top: var(--s-7); border-top: 1px solid var(--line); }
.site-footer__tg { margin-top: 22px; }
.site-footer .t-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; font-weight: 400; margin-bottom: 14px; }
.site-footer__bar { align-items: baseline; }

/* ---------- мобильное меню: линейки каталога ---------- */
.menu-dialog__lbl { margin-bottom: 4px; color: var(--text-muted); font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.14em; }
.menu-dialog__lines a { display: flex; align-items: center; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--line); font-size: 24px; letter-spacing: -0.02em; }
.menu-dialog__lines .mono { margin-left: auto; font-size: 11px; color: var(--text-muted); letter-spacing: 0; }
.menu-dialog__more { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; }
.menu-dialog__more a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--violet-glow); font-size: 16px; }
.menu-dialog__list a { min-height: 56px; font-size: clamp(24px, 6.4vw, 32px); }

@media (prefers-reduced-motion: reduce) {
  .bn__slide, .pcard, .pcard__img, .tab { transition: none; }
  .vlabel__scan { animation: none; opacity: 1; transform: translateY(76px); }
}

/* ---------- мобильные уточнения (макет «v2 · Мобильная главная») ---------- */
.bn__bp { display: none; }
@media (max-width: 899px) {
  .bn__text { padding-right: 38%; }
  .bn__price { display: none; }
  .bn__bp { display: inline; }
  .bn__add { min-height: 48px; }
  .bn__buy { flex-direction: column; align-items: flex-start; gap: 4px; }
  .bn--wait .bn__text { padding-right: 34%; }
  .shelf__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-3) var(--s-2); }
  .shelf__meta { display: none; }
  .shelf__tools { display: contents; }
  .shelf__all { grid-column: 2; grid-row: 1; }
  .tabs { grid-column: 1 / -1; }
  .pcard__more { display: none; }
  .jhead__more { display: none; }
}
@media (max-width: 599px) { .pcard__notify .icon { display: none; } }

/* ---------- каталог: фильтры одной строкой (ТЗ 14.5) ---------- */
.cat-head h1 { font-size: clamp(40px, 6vw, 72px); }
.cbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; z-index: 5; margin-bottom: var(--s-3); }
.cbar__dd { display: flex; gap: 10px; flex-wrap: wrap; }
.fdd { position: relative; }
.fbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--r-btn); background: transparent; color: var(--text); font: inherit; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; transition: background-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.fbtn:hover { background: rgba(244, 240, 250, 0.06); }
.fbtn.is-on { box-shadow: inset 0 0 0 1px var(--accent, var(--violet-glow)); }
.fbtn__l { color: var(--text-muted); }
.fbtn.is-on .fbtn__l, .fbtn__v:not(.is-empty) { color: var(--text); }
.fbtn__v.is-empty { display: none; }
.fbtn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.fbtn .icon { transition: transform var(--dur-fast) var(--ease); }
.fbtn__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 11px; }
.cbar__open { display: none; }
.cbar__reset { min-height: 44px; padding: 0 10px; background: none; border: 0; color: var(--text-muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cbar__reset:hover { color: var(--text); }
.seg2 { margin-left: auto; display: inline-flex; padding: 3px; border-radius: var(--r-btn); box-shadow: inset 0 0 0 1px var(--line-strong); }
.seg2 button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--text-muted); font: inherit; font-size: 14px; cursor: pointer; }
.seg2 button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.fpop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 230px; padding: 6px; border-radius: var(--r-cell); background: var(--bg-raised, #17141d); box-shadow: inset 0 0 0 1px var(--line-strong), 0 18px 40px rgba(0, 0, 0, 0.45); }
.fpop[hidden] { display: none; }
.fopt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.fopt:hover:not([disabled]), .fopt:focus-visible { background: rgba(244, 240, 250, 0.08); }
.fopt[disabled] { color: var(--text-muted); opacity: 0.5; cursor: default; }
.fopt__n { margin-left: auto; color: var(--text-muted); font-size: 12px; }
.fopt__ck { color: var(--ok); margin-left: 8px; }
.fopt.is-sel { background: rgba(244, 240, 250, 0.05); }
.chip .fopt__n { margin-left: 6px; opacity: 0.7; }
.chip:disabled { color: var(--text-muted); opacity: 0.45; cursor: default; pointer-events: none; }
.fsheet { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88svh; padding: 0; border: 0; border-radius: var(--r-banner) var(--r-banner) 0 0; background: var(--bg-raised, #17141d); color: var(--text); box-shadow: inset 0 1px 0 var(--line-strong); }
.fsheet::backdrop { background: rgba(8, 6, 12, 0.7); }
.fsheet__in { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: 88svh; }
.fsheet__h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px 20px; }
.fsheet__body { overflow: auto; padding: 8px 20px 16px; display: grid; gap: 20px; }
.fgrp { border: 0; padding: 0; margin: 0; min-width: 0; }
.fgrp__l { padding: 0; margin-bottom: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.fgrp__c { display: flex; flex-wrap: wrap; gap: 8px; }
.fsheet__f { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); box-shadow: inset 0 1px 0 var(--line); }
@media (min-width: 900px) { .fsheet { display: none !important; } }
@media (max-width: 899px) {
  .cbar__dd { display: none; }
  .cbar__open { display: inline-flex; }
  .cbar { flex-wrap: nowrap; }
  .seg2 { margin-left: auto; }
  .seg2 button { padding: 0 12px; }
}
@media (max-width: 420px) { .seg2 button { padding: 0 9px; font-size: 13px; } .cbar { gap: 8px; } }
.nw { white-space: nowrap; }
.site-footer__bar .mono { white-space: nowrap; flex: none; }
.pcard__code a { display: inline-block; padding-block: 9px; margin-block: -9px; }
@media (max-width: 899px) {
  .pcard__dose { min-height: 44px; }
  .seg2 button { min-height: 44px; }
  .seg2 { padding: 2px; }
}
@media (max-width: 400px) { .cbar { flex-wrap: wrap; } .seg2 { margin-left: 0; } }

/* ==========================================================================
   Полка «Каталог»: карточки появляются мягким подъёмом при прокрутке (ТЗ 14.1): opacity + 16 px, шаг 120 мс.
   Класс .rv ставит только скрипт, и только когда движение не отключено: без него карточки просто видны.
   ========================================================================== */
.pcard.rv { opacity: 0; transform: translateY(16px); transition: opacity 400ms var(--ease), transform 400ms var(--ease), box-shadow var(--dur-base) var(--ease); }
.pcard.rv.rv-in { opacity: 1; transform: none; transition-delay: calc(var(--rvi, 0) * 120ms), calc(var(--rvi, 0) * 120ms), 0s; }

/* вопросы без карточки Telegram (или наоборот): одна колонка */
.faqs__grid--one { grid-template-columns: minmax(0, 760px); }
