:root {
  --bg: #fafbfc;
  --bg-elev: #ffffff;
  --bg-soft: #f3f4f6;
  --bg-card: #ffffff;
  --line: #e8eaed;
  --line-strong: #dde0e4;
  --text: #12201a;
  --muted: #5b6570;
  --green: #84c223;
  --green-rgb: 132, 194, 35;
  --green-2: #6fa01c;
  --green-dark: #6fa01c;
  --green-soft: rgba(var(--green-rgb), .12);
  --green-glow: rgba(var(--green-rgb), .28);
  --soft-section: #f4f5f7;
  --accent-chip: #e8f7c8;
  --accent-chip-text: #3d5a1f;
  --ink: #12201a;
  --warn: #d97706;
  --danger: #dc2626;
  --blue: #0284c7;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 16px 40px rgba(18, 32, 26, .08);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-nav: "Montserrat", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1490px;
  --bg-pattern-ink: rgba(18, 32, 26, .028);
  --bg-pattern-accent: rgba(var(--green-rgb), .045);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Subtle site-wide texture: soft circles + faint diagonal lines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 8% 12%, var(--bg-pattern-accent) 0 140px, transparent 141px),
    radial-gradient(circle at 92% 8%, var(--bg-pattern-ink) 0 110px, transparent 111px),
    radial-gradient(circle at 78% 42%, var(--bg-pattern-accent) 0 70px, transparent 71px),
    radial-gradient(circle at 18% 58%, var(--bg-pattern-ink) 0 95px, transparent 96px),
    radial-gradient(circle at 55% 78%, var(--bg-pattern-accent) 0 120px, transparent 121px),
    radial-gradient(circle at 96% 88%, var(--bg-pattern-ink) 0 80px, transparent 81px),
    radial-gradient(circle at 40% 28%, transparent 0 28px, var(--bg-pattern-ink) 29px 30px, transparent 31px),
    radial-gradient(circle at 68% 62%, transparent 0 36px, var(--bg-pattern-accent) 37px 38px, transparent 39px),
    radial-gradient(circle at 22% 86%, transparent 0 22px, var(--bg-pattern-ink) 23px 24px, transparent 25px),
    repeating-linear-gradient(
      -16deg,
      transparent 0 56px,
      var(--bg-pattern-ink) 56px 57px
    );
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.site-head {
  position: sticky; top: 0; z-index: 50;
  font-family: var(--font-nav);
  /* containing block for absolute .mega */
}
/* ===== Header (Mertech-like layout, brand green) ===== */
.topbar {
  background: #f3f4f6;
  color: #4b5563;
  font-size: .72rem;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
  height: 38px;
  opacity: 1;
  transform: translateY(0);
  transition: height .28s ease, opacity .22s ease, transform .28s ease, border-color .28s ease;
  will-change: height, opacity;
  position: relative;
  z-index: 3;
}
.site-head.is-compact .topbar {
  height: 0;
  opacity: 0;
  transform: translateY(-4px);
  border-bottom-color: transparent;
  pointer-events: none;
  overflow: hidden;
}
.topbar__inner {
  display: flex;
  align-items: center;
  height: 38px;
}
.topbar__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  width: 100%;
  flex-wrap: nowrap;
  overflow: hidden;
}
.topbar__nav > a {
  color: #4b5563;
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  padding: 4px 0;
  transition: color .15s ease;
}
.topbar__nav > a:hover,
.topbar__nav > a.is-active {
  color: var(--green);
}
.topbar__nav-mail {
  color: var(--green) !important;
  font-weight: 600 !important;
  margin-left: auto;
}
.topbar__nav-mail:hover { color: var(--green-2) !important; }

.header {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  box-shadow: none;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 14px 18px;
  min-height: 92px;
  padding: 10px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
  max-width: none;
  color: inherit;
  text-decoration: none;
}
.logo__lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.logo__capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #12201a;
  color: #fff;
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
}
.logo__mark {
  width: 34px;
  height: 34px;
  display: block;
  flex-shrink: 0;
}
.logo__name {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1;
}
.logo__tld {
  color: #84c223;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}
.logo__sub {
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #5c675f;
  line-height: 1;
  text-align: center;
}
.logo__img {
  display: block;
  height: 70px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
.logo__tag {
  display: block;
  font-size: .82rem;
  line-height: 1.3;
  font-weight: 600;
  color: #5b6570;
  letter-spacing: -.01em;
}
.logo__mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--green);
  display: grid; place-items: center;
  color: #fff; font-weight: 900; font-size: .95rem;
}

/* Catalog + search on one baseline; baraholka + hint under them */
.hdr-find {
  flex: 1 1 280px;
  min-width: 200px;
  max-width: 540px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 5px 12px;
  align-items: center;
}
.hdr-search {
  min-width: 0;
  max-width: 380px;
  display: block;
  justify-self: stretch;
  align-self: center;
}
.hdr-search__hint {
  grid-column: 2;
  grid-row: 2;
  font-size: .72rem;
  color: #6b7280;
  font-weight: 500;
  text-decoration: none;
  padding-left: 2px;
  justify-self: start;
  align-self: center;
  line-height: 1.2;
}
.hdr-search__hint:hover { color: var(--green); text-decoration: underline; }

/* Catalog — outlined accent button like Mertech */
.hdr-catalog,
a.hdr-catalog.nav__catalog-btn {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex !important;
  align-items: center;
  gap: 7px !important;
  flex-shrink: 0;
  align-self: center;
  height: 44px;
  box-sizing: border-box;
  padding: 0 12px !important;
  margin: 0 !important;
  background: #fff !important;
  color: var(--green) !important;
  border: 1.5px solid var(--green) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  font-size: .74rem !important;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  overflow: visible;
  transition: background .15s ease, color .15s ease, border-color .15s ease !important;
  transform: none !important;
}
.hdr-catalog:hover,
.hdr-catalog.is-mega-open,
a.hdr-catalog.nav__catalog-btn:hover,
a.hdr-catalog.nav__catalog-btn.is-mega-open {
  background: var(--green) !important;
  color: #fff !important;
  border-color: var(--green) !important;
  box-shadow: none !important;
  transform: none !important;
}
.hdr-catalog__ico {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hdr-catalog__ico svg { width: 18px; height: 18px; display: block; }
.hdr-catalog__text { white-space: nowrap; }

.hdr-baraholka {
  grid-column: 1;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: #e8942e;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  justify-self: stretch;
  align-self: center;
  box-shadow: 0 1px 0 rgba(140, 80, 10, .18);
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}
.hdr-baraholka__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.35);
  flex-shrink: 0;
}
.hdr-baraholka:hover,
.hdr-baraholka.is-active {
  background: #d07f1c;
  color: #fff;
  box-shadow: 0 2px 8px rgba(200, 120, 20, .28);
}

/* Keep legacy selectors harmless if any JS injects them */
.nav { display: none; }
.nav__links { display: none; }

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #d5d9de;
  border-radius: 10px;
  padding: 0 14px;
  height: 44px;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: none;
  box-shadow: none;
  position: relative;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search:focus-within {
  background: #fff;
  border-color: rgba(var(--green-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .1);
}
.search input {
  background: transparent;
  border: 0;
  outline: 0;
  width: 100%;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
}
.search input::placeholder { color: #9aa3ad; }

.hdr-contacts {
  display: grid;
  gap: 2px;
  flex-shrink: 0;
  min-width: 168px;
  line-height: 1.2;
  margin-left: auto;
}
.hdr-contacts__hours {
  font-size: .72rem;
  color: #6b7280;
  font-weight: 500;
}
.hdr-contacts__phone {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.hdr-contacts__phone:hover { color: var(--green); }
.hdr-contacts__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.hdr-contacts__kp {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  background: #374151;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .01em;
}
.hdr-contacts__kp:hover { background: #1f2937; color: #fff; }
.hdr-contacts__call {
  font-size: .78rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hdr-contacts__call:hover { color: #1d4ed8; }

.hdr-messengers {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hdr-msg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.hdr-msg:hover { transform: translateY(-1px); filter: brightness(1.05); }
.hdr-msg svg { width: 20px; height: 20px; display: block; }
.hdr-msg--tg { background: linear-gradient(145deg, #2AABEE, #229ED9); }
.hdr-msg--vb { background: linear-gradient(145deg, #8f5db7, #7360f2); }

.header__actions {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.hdr-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 64px;
  padding: 4px 6px;
  text-decoration: none;
  color: #374151;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.hdr-tool:hover { color: var(--green); background: rgba(var(--green-rgb), .06); }
.hdr-tool__ico {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.hdr-tool__ico .ico { width: 24px; height: 24px; }
.hdr-tool__label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.hdr-tool .badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(var(--green-rgb), .35);
}

.header-account {
  position: relative;
  flex: 0 0 auto;
  margin-left: 2px;
}
.header-account--guest { margin-left: 4px; }
.header-account--guest .btn--primary {
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: none;
  text-transform: none;
}

@media (max-width: 1280px) {
  .logo__tag { display: none; }
  .hdr-contacts__phone { font-size: .95rem; }
  .topbar__nav > a:nth-child(n+6):not(.topbar__nav-mail) { display: none; }
  .hdr-tool { min-width: 56px; }
}
@media (max-width: 1100px) {
  .hdr-messengers { display: none; }
  .hdr-contacts__actions { display: none; }
  .hdr-search__hint { display: none; }
  .hdr-find { max-width: none; }
  .topbar__nav > a:nth-child(n+4):not(.topbar__nav-mail) { display: none; }
}

/* Catalog mega menu — flush under sticky header on desktop (no top gap) */
.mega {
  position: fixed;
  left: 0; right: 0;
  top: var(--mega-top, 114px);
  z-index: 80;
  margin: 0 !important;
  padding: 0 !important;
}
.mega[hidden] { display: none !important; }
body.mega-open .site-head { z-index: 90; }
.mega__backdrop {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  top: var(--mega-top, 114px);
  background: rgba(15, 23, 20, .35);
  backdrop-filter: blur(2px);
  z-index: 0;
}
.mega__panel {
  position: relative; z-index: 1;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(18, 32, 26, .14);
  max-height: calc(100vh - var(--mega-top, 114px));
  overflow: auto;
  margin: 0 !important;
  border-radius: 0 !important;
  animation: megaIn .16s ease;
}
@keyframes megaIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mega__inner { padding: 16px 0 22px; }
@media (min-width: 981px) {
  .mega,
  .mega__panel {
    margin-top: 0 !important;
    padding-top: 0;
  }
  .mega__panel {
    border-radius: 0 !important;
  }
}
@media (max-width: 980px) {
  .mega {
    position: fixed;
    left: 0; right: 0;
  }
  .mega__panel {
    max-height: calc(100vh - var(--mega-top, 96px));
  }
}
.mega__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.mega__kicker {
  color: var(--green); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px;
}
.mega__head strong {
  display: block; font-size: 1.15rem; letter-spacing: -.02em;
}
.mega__head-actions { display: flex; align-items: center; gap: 8px; }
.mega__close {
  width: 38px; height: 38px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--text);
}
.mega__close:hover { border-color: var(--green); color: var(--green); }
.mega__body {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 16px;
  align-items: start;
  min-height: 320px;
}
.mega__cats {
  display: grid; gap: 2px;
  max-height: min(58vh, 560px); overflow: auto;
  padding-right: 4px;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}
.mega__sep {
  margin: 10px 4px 6px;
  padding: 4px 8px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b7a72;
}
.mega__cat--sup .mega__cat-ico {
  color: #3d5a1f;
  background: #eef8e2;
}
.mega__cat {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  padding: 9px 10px; border-radius: 12px;
  border: 0; background: transparent; cursor: pointer;
  color: var(--text); transition: .12s;
  text-decoration: none;
}
.mega__cat:hover,
.mega__cat.is-active {
  background: var(--green-soft); color: var(--green);
}
.mega__cat-ico {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--green);
}
.mega__cat.is-active .mega__cat-ico {
  border-color: rgba(var(--green-rgb),.35); background: #fff;
}
.mega__cat-ico .ico { width: 16px; height: 16px; }
.mega__cat-text { display: grid; gap: 1px; min-width: 0; }
.mega__cat-text strong {
  font-size: .82rem; font-weight: 700; line-height: 1.25;
}
.mega__cat-text span {
  font-size: .72rem; color: #4d5f56; font-weight: 600;
}
.mega__cat.is-active .mega__cat-text span { color: var(--green); }
.mega__subs { min-width: 0; }
.mega__subs-head {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.mega__subs-head strong { font-size: 1rem; }
.mega__subs-head span { color: #4d5f56; font-size: .82rem; }
.mega__subs-head a {
  margin-left: auto; color: var(--green); font-weight: 700; font-size: .84rem;
}
.mega__subs-head a:hover { text-decoration: underline; }
.mega__subs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
}
.mega__sub {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(15, 40, 28, .08);
  background: #f4f7f4;
  font-size: .97rem; line-height: 1.35; font-weight: 600; color: var(--text);
  transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
}
.mega__sub:hover {
  background: var(--green-soft);
  border-color: rgba(var(--green-rgb),.28);
  color: var(--green);
  box-shadow: 0 1px 0 rgba(15, 40, 28, .04);
}
.mega__sub.is-demo { border-color: rgba(var(--green-rgb),.2); background: rgba(var(--green-rgb),.04); }
.mega__sub em {
  font-style: normal; color: #5a6b62; font-size: .82rem; font-weight: 600; flex-shrink: 0;
}
body.mega-open { overflow: hidden; }

.header-account {
  position: relative;
  flex: 0 0 auto;
  margin-left: 2px;
}
.header-account--guest { margin-left: 4px; }
.header-account__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.header-account__btn:hover,
.header-account.is-open .header-account__btn {
  border-color: rgba(var(--green-rgb), .45);
  box-shadow: 0 4px 14px rgba(18, 32, 26, .08);
}
.header-account__av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3a4650, #1a1e22);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .85rem;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}
.header-account__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header-account__img[hidden] { display: none !important; }
.header-account__text {
  min-width: 0;
  text-align: left;
  display: grid;
  gap: 1px;
}
.header-account__text strong {
  font-size: .82rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-account__text small {
  font-size: .68rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-account__chev {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex: 0 0 auto;
  transition: transform .15s ease;
}
.header-account.is-open .header-account__chev { transform: rotate(180deg); }
.header-account__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(280px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(18, 32, 26, .14);
  padding: 8px;
  z-index: 80;
}
.header-account__menu[hidden] { display: none !important; }
.header-account__head {
  display: grid;
  gap: 2px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.header-account__head strong { font-size: .92rem; }
.header-account__head .muted { font-size: .78rem; }
.header-account__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.header-account__item:hover {
  background: var(--green-soft);
  color: var(--green);
}
.header-account__item em {
  font-style: normal;
  color: var(--green);
  font-weight: 800;
}
.header-account__item--danger { color: #9b1c1c; }
.header-account__item--danger:hover {
  background: #fff5f5;
  color: #9b1c1c;
}
.header-account__logout { margin: 4px 0 0; border-top: 1px solid var(--line); padding-top: 4px; }
.burger {
  display: none;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center; gap: 5px;
  flex-direction: column; cursor: pointer;
  flex-shrink: 0; padding: 0;
  transition: .15s;
}
.burger__line {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: .2s;
}
.burger:hover { border-color: var(--green); }
.burger.is-open .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open .burger__line:nth-child(2) { opacity: 0; }
.burger.is-open .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hdr-mobile-tools {
  display: none;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}
.hdr-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: border-color .15s, color .15s, background .15s;
}
.hdr-icon-btn .ico { width: 20px; height: 20px; }
.hdr-icon-btn:hover,
.hdr-icon-btn.is-active {
  border-color: rgba(var(--green-rgb), .45);
  color: var(--green);
  background: var(--green-soft);
}
.hdr-mobile-search {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px 0 12px;
}
.hdr-mobile-search__form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  max-width: var(--wrap, 1240px);
  padding: 0 16px;
  background: #f4f6f5;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 46px;
}
.hdr-mobile-search__ico {
  display: grid;
  place-items: center;
  color: #7a8a82;
  flex-shrink: 0;
}
.hdr-mobile-search__ico .ico { width: 18px; height: 18px; }
.hdr-mobile-search__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
}
.hdr-mobile-search__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #7a8a82;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 10px;
  flex-shrink: 0;
}
.hdr-mobile-search__close:hover { color: var(--green); background: #fff; }
.hdr-mobile-search__close .ico { width: 18px; height: 18px; }

/* Mobile drawer */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 120;
}
.mnav[hidden] { display: none !important; }
.mnav__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 16, 14, .5);
  backdrop-filter: blur(4px);
  animation: mnavFade .2s ease;
}
.mnav__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 100vw);
  background: #f7f8f7;
  box-shadow: -20px 0 50px rgba(18, 32, 26, .2);
  display: flex;
  flex-direction: column;
  animation: mnavSlide .28s cubic-bezier(.22, 1, .36, 1);
  overflow: hidden;
}
@keyframes mnavFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes mnavSlide {
  from { transform: translateX(100%); }
  to { transform: none; }
}
.mnav__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  background: #fff;
  border-bottom: 1px solid rgba(20, 32, 26, .06);
  flex-shrink: 0;
}
.mnav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  min-width: 0;
}
.mnav__logo img {
  height: 52px;
  width: auto;
  display: block;
}
.mnav__close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.mnav__close .ico { width: 18px; height: 18px; }
.mnav__close:hover {
  border-color: rgba(var(--green-rgb), .4);
  color: var(--green);
  background: var(--green-soft);
}
.mnav__scroll {
  flex: 1;
  overflow: auto;
  padding: 14px 14px 20px;
  -webkit-overflow-scrolling: touch;
}
.mnav__cat {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 14px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: .98rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(var(--green-rgb), .28);
  margin-bottom: 12px;
}
.mnav__cat:active { transform: scale(.985); }
.mnav__cat-ico {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.2);
}
.mnav__cat-ico .ico { width: 20px; height: 20px; }
.mnav__cat-text { flex: 1; min-width: 0; }
.mnav__cat-text strong { display: block; line-height: 1.2; }
.mnav__cat-text span {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  opacity: .88;
  margin-top: 2px;
}
.mnav__cat .mnav__chev {
  width: 18px;
  height: 18px;
  opacity: .9;
  flex-shrink: 0;
  color: #fff;
}
.mnav__quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.mnav__quick-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 12px 8px;
  border-radius: 16px;
  border: 0;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(18, 32, 26, .05);
  transition: transform .15s, box-shadow .15s;
}
.mnav__quick-item:active {
  transform: scale(.97);
}
.mnav__quick-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  border: 0;
}
.mnav__quick-ico .ico { width: 20px; height: 20px; }
.mnav__quick-label {
  font-weight: 700;
  font-size: .74rem;
  line-height: 1.15;
  text-align: center;
}
.mnav__quick-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
}
.mnav__section { margin-bottom: 16px; }
.mnav__label {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a9690;
  margin: 0 4px 8px;
}
.mnav__links {
  display: grid;
  gap: 4px;
  background: #fff;
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(18, 32, 26, .04);
}
.mnav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 10px;
  border-radius: 14px;
  font-weight: 600;
  font-size: .94rem;
  color: var(--text);
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.mnav__link:hover,
.mnav__link:active {
  background: var(--green-soft);
  color: var(--green);
}
.mnav__link-ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #f3f5f4;
  color: #3f5048;
}
.mnav__link:hover .mnav__link-ico,
.mnav__link:active .mnav__link-ico {
  background: #fff;
  color: var(--green);
}
.mnav__link-ico .ico { width: 17px; height: 17px; }
.mnav__link-text { flex: 1; min-width: 0; font-weight: 600; }
.mnav__chev {
  width: 16px;
  height: 16px;
  opacity: .28;
  flex-shrink: 0;
}
.mnav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 2px 2px 8px;
}
.mnav__chips span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 32, 26, .06);
  font-size: .72rem;
  font-weight: 700;
  color: #5a6b63;
}
.mnav__foot {
  flex-shrink: 0;
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(20, 32, 26, .06);
  background: #fff;
  display: grid;
  gap: 8px;
}
.mnav__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 14px;
  background: #12201a;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
}
.mnav__phone .ico { width: 18px; height: 18px; color: var(--green); }
.mnav__phone:active { opacity: .92; }
.mnav__phone--soft {
  background: #fff;
  color: #12201a;
  border: 1px solid var(--line);
  font-size: .88rem;
}
.mnav__phone--soft .ico { color: var(--green); }
body.mnav-open { overflow: hidden; }
body.hdr-search-open .hdr-mobile-search { display: block; }


.header__phone {
  font-weight: 700; font-size: .9rem; color: var(--text);
  white-space: nowrap; padding: 8px 12px;
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.header__phone:hover {
  color: var(--green-2);
  background: var(--green-soft);
  border-color: rgba(var(--green-rgb), .18);
}
.header__phone .ico { width: 16px; height: 16px; color: var(--green); }
.search--live { z-index: 60; }
.search-drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(18,32,26,.14);
  z-index: 70; max-height: min(420px, 70vh); overflow-y: auto;
}
.search-drop[hidden] { display: none !important; }
.search-drop__item {
  display: grid; grid-template-columns: 52px 1fr auto;
  gap: 12px; align-items: center;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.search-drop__item:last-of-type { border-bottom: 0; }
.search-drop__item:hover,
.search-drop__item.is-active { background: var(--soft-section); }
.search-drop__img {
  width: 52px; height: 52px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
}
.search-drop__img img {
  width: 100%; height: 100%; object-fit: contain; padding: 4px;
}
.search-drop__meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.search-drop__brand {
  font-size: .72rem; color: var(--muted); font-weight: 600;
}
.search-drop__name {
  font-size: .88rem; font-weight: 700; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.search-drop__price {
  font-weight: 800; font-size: .9rem; color: var(--green); white-space: nowrap;
}
.search-drop__empty {
  padding: 16px; color: var(--muted); font-size: .9rem; text-align: center;
}
.search-drop__more {
  display: block; text-align: center;
  padding: 12px; font-size: .84rem; font-weight: 700; color: var(--green);
  background: var(--soft-section); border-top: 1px solid var(--line);
}
.search-drop__more:hover { background: rgba(var(--green-rgb), .12); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 999px;
  padding: 11px 18px; font-weight: 700; font-size: .9rem;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px var(--green-glow);
}
.btn--primary:hover { background: var(--green-2); }
.btn--ghost {
  background: #fff;
  color: var(--ink, var(--text));
  border: 1px solid var(--line-strong, var(--line));
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); background: #fff; }
.auth-modal .btn--ghost,
.auth-gate .btn--ghost,
.product__actions .btn--ghost {
  color: var(--ink, #14201a);
  background: #fff;
  border: 1px solid var(--line-strong, #c9d4cc);
  opacity: 1;
  visibility: visible;
}
.btn--light {
  background: var(--soft-section); color: var(--ink);
}
.btn--sm { padding: 8px 14px; font-size: .82rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 14px;
  border: 1px solid #e6e8eb; background: #fff;
  display: grid; place-items: center; cursor: pointer; position: relative;
  color: #2a3038;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.icon-btn:hover { color: var(--green); border-color: rgba(var(--green-rgb),.4); background: #fff; }
.icon-btn .badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px; border-radius: 999px;
  background: var(--green); color: #fff;
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center; padding: 0 4px;
  box-shadow: 0 2px 6px rgba(var(--green-rgb), .35);
}
.ico {
  width: 20px; height: 20px; display: block; flex-shrink: 0;
}
.ico--sm { width: 16px; height: 16px; }
.ico--md { width: 24px; height: 24px; }
.ico--lg { width: 36px; height: 36px; }
.ico--xl { width: 52px; height: 52px; }
.cat__ico .ico { width: 26px; height: 26px; color: var(--green); }
.feature__ico .ico { width: 22px; height: 22px; color: var(--green); }
.product__media .ico {
  width: 56px; height: 56px; color: var(--green); opacity: .9;
}
.search .ico { width: 18px; height: 18px; color: var(--muted); }

/* Homepage showcase — light base + dark accents */
.showcase {
  position: relative;
  padding: 18px 0 8px;
}
.showcase__inner { display: flex; flex-direction: column; gap: 16px; }
.showcase__top {
  display: grid;
  grid-template-columns: minmax(0, 2.55fr) minmax(270px, 1fr);
  gap: 16px;
  align-items: stretch;
}
.hero-slider {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
  background:
    radial-gradient(ellipse 55% 60% at 85% 20%, rgba(var(--green-rgb), .12), transparent 55%),
    linear-gradient(135deg, #fbfcfd 0%, #f3f6f4 48%, #eef2f0 100%);
  border: 1px solid rgba(20, 32, 26, .08);
  box-shadow: 0 16px 40px rgba(18, 32, 26, .07);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: opacity .55s ease, visibility .55s;
}
.hero-slide.is-active {
  opacity: 1; visibility: visible; pointer-events: auto;
  z-index: 1;
}
.hero-slide__glow {
  position: absolute;
  width: 280px; height: 280px;
  right: 8%; top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--green-rgb), .18), transparent 68%);
  pointer-events: none;
}
.hero-slide__body {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(220px, 1fr);
  gap: 12px;
  padding: 28px 28px 72px;
  align-items: center;
}
.hero-slide__text { position: relative; z-index: 2; max-width: 460px; }
.hero-slide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #14201a;
  color: #e8eeea;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-slide__text h1,
.hero-slide__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.9vw, 2.55rem);
  line-height: 1.1; letter-spacing: -.03em; font-weight: 800;
  margin: 0 0 12px; color: #12201a;
}
.hero-slide__lead {
  margin: 0 0 12px;
  color: #4d5f56;
  font-size: .95rem;
  line-height: 1.45;
  max-width: 36ch;
}
.hero-slide__list {
  list-style: none;
  margin: 0 0 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.hero-slide__list--compact { margin-bottom: 14px; }
.hero-slide__list li {
  position: relative;
  padding-left: 16px;
  color: #3f5048;
  font-size: .94rem;
  line-height: 1.35;
}
.hero-slide__list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
}
.hero-slide__chip {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #14201a;
  color: #e8eeea;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 30ch;
  box-shadow: 0 10px 22px rgba(18, 32, 26, .14);
}
.hero-slide__actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.hero-slide__ghost {
  background: #fff !important;
  border-color: rgba(20, 32, 26, .12) !important;
}
.hero-slide__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  z-index: 1;
  padding: 12px 8px 8px;
}
/* Soft light stage behind the product card */
.hero-slide__panel {
  position: absolute;
  inset: 12% 10% 14% 14%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.95) 0%, rgba(232, 245, 238, .7) 42%, transparent 72%);
  box-shadow: none;
  transform: none;
}
.hero-slide--seo .hero-slide__panel {
  inset: 10% 8% 12% 12%;
}
.hero-slide__photo {
  position: relative;
  z-index: 3;
  width: min(84%, 290px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8f5 100%);
  border: 1px solid rgba(20, 32, 26, .08);
  box-shadow:
    0 4px 0 rgba(var(--green-rgb), .12),
    0 18px 36px rgba(18, 32, 26, .1);
  animation: heroFloat 5.5s ease-in-out infinite;
}
.hero-slide__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.hero-slide__photo img {
  width: 88%;
  height: 88%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 18px rgba(18, 32, 26, .12));
}
.hero-slide.is-active .hero-slide__photo { animation-delay: .1s; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-slide__tag {
  position: absolute;
  top: 10%;
  right: 6%;
  z-index: 4;
  min-width: 68px; min-height: 68px;
  padding: 8px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  display: grid; place-items: center;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 10px 24px rgba(var(--green-rgb),.35);
}
.hero-slide__tag--dark {
  background: #14201a;
  box-shadow: 0 10px 24px rgba(18, 32, 26, .35);
}
.hero-slide.is-active .hero-slide__text h1,
.hero-slide.is-active .hero-slide__title,
.hero-slide.is-active .hero-slide__promo-title,
.hero-slide.is-active .hero-slide__lead,
.hero-slide.is-active .hero-slide__list,
.hero-slide.is-active .hero-assort,
.hero-slide.is-active .hero-slide__chip,
.hero-slide.is-active .hero-slide__eyebrow,
.hero-slide.is-active .hero-slide__actions {
  animation: heroIn .65s cubic-bezier(.22,1,.36,1) both;
}
.hero-slide.is-active .hero-slide__lead { animation-delay: .05s; }
.hero-slide.is-active .hero-slide__list,
.hero-slide.is-active .hero-assort { animation-delay: .1s; }
.hero-slide.is-active .hero-slide__chip { animation-delay: .14s; }
.hero-slide.is-active .hero-slide__actions { animation-delay: .18s; }

/* MERTECH-like promo slide (green accents) */
.hero-slide--promo .hero-slide__body--promo {
  grid-template-columns: minmax(280px, 1.2fr) minmax(240px, 1fr);
  padding: 24px 24px 72px;
  align-items: center;
}
.hero-slide__promo-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--green);
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
.hero-assort {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 42ch;
}
.hero-assort a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a2b22;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color .15s;
}
.hero-assort a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .18);
}
.hero-assort a:hover { color: var(--green-2); }
.hero-slide__visual--promo {
  min-height: 320px;
}
.hero-promo-collage {
  position: relative;
  z-index: 3;
  width: min(92%, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-promo-collage__shot {
  position: absolute;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #f4f8f5 100%);
  border: 1px solid rgba(20, 32, 26, .08);
  box-shadow:
    0 4px 0 rgba(var(--green-rgb), .14),
    0 18px 36px rgba(18, 32, 26, .12);
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: heroFloat 5.5s ease-in-out infinite;
}
.hero-promo-collage__shot img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(18, 32, 26, .12));
}
.hero-promo-collage__shot--main {
  width: 72%;
  aspect-ratio: 1;
  left: 4%;
  top: 10%;
  z-index: 2;
}
.hero-promo-collage__shot--side {
  width: 48%;
  aspect-ratio: 1;
  right: 2%;
  bottom: 8%;
  z-index: 3;
  animation-delay: .35s;
}
.hero-promo-ribbon {
  position: absolute;
  left: 42%;
  top: 38%;
  z-index: 4;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%) rotate(-12deg);
  pointer-events: none;
}
.hero-promo-ribbon::before,
.hero-promo-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #c6ef6a 0%, var(--green) 45%, var(--green-2) 100%);
  box-shadow: 0 10px 22px rgba(var(--green-rgb), .4);
}
.hero-promo-ribbon::after {
  inset: 18%;
  background:
    conic-gradient(from 20deg, transparent 0 40deg, #fff8 40deg 50deg, transparent 50deg 140deg, #fff8 140deg 150deg, transparent 150deg),
    radial-gradient(circle at 50% 50%, #e8fff4 0 28%, transparent 29%);
  border-radius: 50%;
  box-shadow: none;
  opacity: .95;
}

/* First slide family: full-bleed banner photo (product on right, text on left) */
.hero-slide--cover .hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-slide--cover .hero-slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}
.hero-slide--violet .hero-slide__bg img {
  object-position: 78% center;
}
.hero-slide--cover .hero-slide__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 12, 42, .42) 0%, rgba(40, 18, 58, .22) 38%, transparent 58%),
    linear-gradient(180deg, transparent 70%, rgba(18, 10, 28, .18) 100%);
  pointer-events: none;
}
.hero-slide--cover .hero-slide__body--cover,
.hero-slide--cover .hero-slide__body--promo {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(260px, 48%) 1fr;
  padding: 32px 28px 72px;
  align-items: center;
}
.hero-slide--cover .hero-slide__text {
  max-width: 440px;
}
.hero-slide--cover .hero-slide__eyebrow {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}
.hero-slide--cover .hero-slide__promo-title {
  color: #fff;
  text-shadow: 0 8px 28px rgba(20, 8, 36, .35);
}
.hero-slide--cover .hero-slide__lead {
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 2px 12px rgba(20, 8, 36, .25);
}
.hero-slide--cover .hero-slide__list--cover li {
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
}
.hero-slide--cover .hero-slide__list--cover li::before {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .35);
}
.hero-slide--cover .hero-assort a {
  color: #fff;
  font-weight: 600;
}
.hero-slide--cover .hero-assort a::before {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .35);
}
.hero-slide--cover .hero-assort a:hover {
  color: #e8f7c8;
}
.hero-slide--cover .hero-slide__ghost {
  background: rgba(255, 255, 255, .92) !important;
  border-color: transparent !important;
  color: #1a1224 !important;
}
.hero-slide--cover .hero-slide__ghost:hover {
  background: #fff !important;
}

/* Tone overlays per assortment slide */
.hero-slide--amber .hero-slide__bg::after {
  background:
    linear-gradient(90deg, rgba(72, 34, 12, .5) 0%, rgba(92, 48, 16, .28) 40%, transparent 62%),
    linear-gradient(180deg, transparent 72%, rgba(40, 18, 8, .2) 100%);
}
.hero-slide--ice .hero-slide__bg::after {
  background:
    linear-gradient(90deg, rgba(8, 36, 52, .5) 0%, rgba(12, 56, 72, .28) 40%, transparent 62%),
    linear-gradient(180deg, transparent 72%, rgba(6, 24, 36, .22) 100%);
}
.hero-slide--night .hero-slide__bg::after {
  background:
    linear-gradient(90deg, rgba(8, 14, 18, .62) 0%, rgba(10, 22, 28, .34) 42%, transparent 64%),
    linear-gradient(180deg, transparent 70%, rgba(4, 8, 12, .28) 100%);
}
.hero-slide--mint .hero-slide__bg::after {
  background:
    linear-gradient(90deg, rgba(12, 40, 32, .42) 0%, rgba(18, 56, 44, .22) 40%, transparent 60%),
    linear-gradient(180deg, transparent 74%, rgba(8, 24, 20, .16) 100%);
}
.hero-slide--ember .hero-slide__bg::after {
  background:
    linear-gradient(90deg, rgba(64, 18, 10, .52) 0%, rgba(88, 28, 12, .3) 40%, transparent 62%),
    linear-gradient(180deg, transparent 72%, rgba(36, 10, 6, .22) 100%);
}
.hero-slide--lime .hero-slide__bg::after {
  background:
    linear-gradient(90deg, rgba(24, 40, 8, .45) 0%, rgba(40, 64, 12, .24) 40%, transparent 60%),
    linear-gradient(180deg, transparent 74%, rgba(16, 28, 6, .16) 100%);
}
.hero-slide--violet .hero-slide__bg::after {
  background:
    linear-gradient(90deg, rgba(28, 12, 42, .42) 0%, rgba(40, 18, 58, .22) 38%, transparent 58%),
    linear-gradient(180deg, transparent 70%, rgba(18, 10, 28, .18) 100%);
}

@media (max-width: 900px) {
  .hero-slide--promo .hero-slide__body--promo {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
  }
  .hero-assort { max-width: none; }
  .hero-slide__visual--promo { min-height: 240px; order: -1; }
  .hero-promo-collage { width: min(70%, 260px); }
  .hero-slide--cover .hero-slide__body--cover,
  .hero-slide--cover .hero-slide__body--promo {
    grid-template-columns: 1fr;
    padding: 22px 18px 78px;
  }
  .hero-slide--cover .hero-slide__bg img {
    object-position: 78% center;
  }
  .hero-slide--cover .hero-slide__bg::after {
    background:
      linear-gradient(180deg, rgba(20, 12, 28, .58) 0%, rgba(20, 12, 28, .38) 55%, rgba(20, 12, 28, .22) 100%);
  }
  .hero-slide--cover .hero-slide__promo-title {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.price { font-weight: 800; font-size: 1.2rem; color: var(--text); }
.price s { color: var(--muted); font-weight: 500; font-size: .85rem; margin-left: 6px; }

.hero-slider__nav {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  display: flex;
  gap: 6px;
}
.hero-nav-btn {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid rgba(20, 32, 26, .1);
  background: rgba(255,255,255,.88);
  display: grid; place-items: center; cursor: pointer;
  color: #14201a; transition: .15s;
  box-shadow: 0 6px 16px rgba(18, 32, 26, .1);
}
.hero-nav-btn:hover {
  background: var(--green);
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
}
.hero-nav-btn .ico { width: 16px; height: 16px; }
.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.hero-slider__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 1px 3px rgba(18, 32, 26, .18);
  transition: background .2s, transform .2s;
}
.hero-slider__dots button.is-active {
  width: 9px;
  height: 9px;
  background: var(--green);
  box-shadow: 0 1px 4px rgba(var(--green-rgb), .45);
  transform: scale(1.08);
}
.hero-slider__progress {
  display: none;
}
.hero-slider__progress i {
  display: block; height: 100%; width: 0%;
  background: var(--green);
}

/* Product of the day */
.deal {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(var(--green-rgb), .22), transparent 55%),
    radial-gradient(ellipse 70% 55% at 0% 100%, rgba(168, 216, 90, .18), transparent 50%),
    linear-gradient(165deg, #f4fce8 0%, #ffffff 42%, #eef8e2 100%);
  border: 1px solid rgba(var(--green-rgb), .22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .95) inset,
    0 18px 42px rgba(var(--green-rgb), .14),
    0 8px 20px rgba(18, 32, 26, .06);
  padding: 18px 16px 14px;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}
.deal::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, #6fa01c 0%, var(--green) 45%, #c8ef7a 100%);
}
.deal::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -48px;
  bottom: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--green-rgb), .2), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.deal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.deal__kicker {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #3d5a1f;
  background: #e8f7c8;
  margin-bottom: 6px;
}
.deal__head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #12201a;
  line-height: 1.15;
}
.deal__timer {
  text-align: right;
  padding: 8px 11px;
  border-radius: 14px;
  background: linear-gradient(145deg, #1a2e14 0%, #12201a 100%);
  color: #e8eeea;
  box-shadow:
    0 8px 18px rgba(18, 32, 26, .2),
    0 0 0 1px rgba(var(--green-rgb), .35);
}
.deal__timer-label {
  display: block;
  font-size: .66rem;
  color: #a8d85a;
  margin-bottom: 2px;
  letter-spacing: .02em;
  font-weight: 700;
}
.deal__clock {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: .94rem;
  color: #fff;
}
.deal__clock i { font-style: normal; color: #84c223; padding: 0 1px; }
.deal__slides { flex: 1; position: relative; min-height: 300px; z-index: 1; }
.deal-item {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s ease, visibility .4s;
}
.deal-item.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.deal-item__media {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 190px;
  margin: 2px 0 12px;
  padding: 14px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 40%, #ffffff 0%, #f3fbe8 70%, #e6f5d0 100%);
  overflow: hidden;
  border: 1px solid rgba(var(--green-rgb), .18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 12px 28px rgba(var(--green-rgb), .1);
}
.deal-item__media::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0%, #fcfef8 55%, #f5faec 100%);
  border: 1px solid rgba(var(--green-rgb), .08);
  pointer-events: none;
}
.deal-item__media a {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 170px;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 10px;
  box-shadow: 0 8px 20px rgba(18, 32, 26, .06);
}
.deal-item__media img {
  max-width: 88%;
  max-height: 168px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  filter: drop-shadow(0 12px 18px rgba(18, 32, 26, .12));
}
.deal-item__disc {
  position: absolute;
  left: 14px; top: 14px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #9ad63a 0%, var(--green) 55%, #6fa01c 100%);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  padding: 0;
  border-radius: 50%;
  z-index: 2;
  box-shadow:
    0 10px 22px rgba(var(--green-rgb), .4),
    0 0 0 3px rgba(255, 255, 255, .85);
  letter-spacing: -.02em;
}
.deal-item__body {
  padding: 0 2px;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}
.deal-item__rating {
  display: flex; gap: 2px;
  color: #f5a623;
  font-size: .8rem;
  letter-spacing: .04em;
  margin: 0 0 4px;
}
.deal-item__sku {
  font-size: .72rem;
  color: #7a8a82;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deal-item__name {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  color: #12201a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  min-height: 2.4em;
}
.deal-item__name:hover { color: var(--green); }
.deal-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.deal-item__row .price {
  font-size: 1.12rem;
  font-weight: 800;
  color: #12201a;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.deal-item__row .price s {
  display: block;
  margin: 0 0 3px;
  font-size: .76rem;
  font-weight: 600;
  color: #8fa099;
}
.deal-cart {
  width: 48px; height: 48px;
  border: 0; border-radius: 14px;
  background: linear-gradient(145deg, #9ad63a 0%, var(--green) 55%, #6fa01c 100%);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: .15s;
  box-shadow: 0 12px 24px rgba(var(--green-rgb), .42);
  text-decoration: none;
}
.deal-cart:hover { background: #12201a; transform: translateY(-1px); color: #fff; }
.deal-cart .ico { width: 20px; height: 20px; }
.deal__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.deal__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(var(--green-rgb), .28);
  transition: background .2s, transform .2s, width .2s;
}
.deal__dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 4px 12px rgba(var(--green-rgb), .35);
  transform: none;
}
.deal-empty {
  display: grid; place-items: center;
  min-height: 280px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
}
.deal-empty a {
  color: var(--green);
  font-weight: 700;
}

/* Two promo banners under hero */
.showcase__banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.showcase__banners--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.promo-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(100px, .75fr);
  gap: 8px;
  align-items: center;
  min-height: 240px;
  border-radius: 22px;
  padding: 28px 24px 28px 28px;
  border: 1px solid rgba(20, 32, 26, .06);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.promo-banner--cover {
  background-color: #f4f6f5;
  background-image: var(--promo-bg);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
.promo-banner--cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    95deg,
    rgba(255, 255, 255, .96) 0%,
    rgba(255, 255, 255, .92) 28%,
    rgba(255, 255, 255, .55) 42%,
    rgba(255, 255, 255, .12) 54%,
    rgba(255, 255, 255, 0) 64%
  );
}
.promo-banner--mint.promo-banner--cover::before {
  background: linear-gradient(
    95deg,
    rgba(236, 248, 241, .97) 0%,
    rgba(255, 255, 255, .94) 26%,
    rgba(255, 255, 255, .52) 40%,
    rgba(255, 255, 255, .1) 52%,
    rgba(255, 255, 255, 0) 62%
  );
}
.promo-banner--sky.promo-banner--cover::before {
  background: linear-gradient(
    95deg,
    rgba(236, 243, 250, .97) 0%,
    rgba(255, 255, 255, .94) 26%,
    rgba(255, 255, 255, .52) 40%,
    rgba(255, 255, 255, .1) 52%,
    rgba(255, 255, 255, 0) 62%
  );
}
.promo-banner--sand.promo-banner--cover::before {
  background: linear-gradient(
    95deg,
    rgba(247, 243, 232, .97) 0%,
    rgba(255, 255, 255, .94) 26%,
    rgba(255, 255, 255, .52) 40%,
    rgba(255, 255, 255, .1) 52%,
    rgba(255, 255, 255, 0) 62%
  );
}
.showcase__banners--3 .promo-banner {
  grid-template-columns: 1fr;
  min-height: 300px;
  padding: 22px 20px 24px;
  gap: 0;
  align-items: end;
  background-position: 82% center;
  background-size: cover;
}
.showcase__banners--3 .promo-banner--cover::before {
  /* только левая зона под текст — справа фото без засветки */
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, .97) 0%,
    rgba(255, 255, 255, .94) 22%,
    rgba(255, 255, 255, .62) 36%,
    rgba(255, 255, 255, .18) 48%,
    rgba(255, 255, 255, 0) 58%
  );
}
.showcase__banners--3 .promo-banner--mint.promo-banner--cover::before {
  background: linear-gradient(
    100deg,
    rgba(236, 248, 241, .97) 0%,
    rgba(255, 255, 255, .94) 22%,
    rgba(255, 255, 255, .58) 36%,
    rgba(255, 255, 255, .14) 48%,
    rgba(255, 255, 255, 0) 58%
  );
}
.showcase__banners--3 .promo-banner--sky.promo-banner--cover::before {
  background: linear-gradient(
    100deg,
    rgba(236, 243, 250, .97) 0%,
    rgba(255, 255, 255, .94) 22%,
    rgba(255, 255, 255, .58) 36%,
    rgba(255, 255, 255, .14) 48%,
    rgba(255, 255, 255, 0) 58%
  );
}
.showcase__banners--3 .promo-banner--sand.promo-banner--cover::before {
  background: linear-gradient(
    100deg,
    rgba(247, 243, 232, .97) 0%,
    rgba(255, 255, 255, .94) 22%,
    rgba(255, 255, 255, .58) 36%,
    rgba(255, 255, 255, .14) 48%,
    rgba(255, 255, 255, 0) 58%
  );
}
.showcase__banners--3 .promo-banner__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(100%, 58%);
}
.showcase__banners--3 .promo-banner__text h2 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  margin-bottom: 10px;
}
.showcase__banners--3 .promo-banner__text ul {
  margin-bottom: 16px;
}
.showcase__banners--3 .promo-banner__text li {
  font-size: .84rem;
}
.showcase__banners--3 .promo-banner__text .btn {
  margin-top: 0;
  min-width: 124px;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(var(--green-rgb), .22);
}
.section--promo-trio {
  padding-top: 8px;
  padding-bottom: 40px;
}
.promo-banner--mint {
  background-color: #eaf8f1;
}
.promo-banner--sky {
  background-color: #eef1fb;
}
.promo-banner--sand {
  background-color: #f7f3e8;
}
.promo-banner__text {
  position: relative;
  z-index: 1;
  max-width: 320px;
}
.promo-banner__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
  margin-bottom: 12px;
  color: #12201a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.promo-banner__text ul {
  list-style: none;
  margin: 0 0 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.promo-banner__text li {
  position: relative;
  padding-left: 14px;
  font-size: .88rem;
  color: #3a4a42;
}
.promo-banner__text li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
}
.promo-banner__text .btn {
  box-shadow: 0 8px 18px rgba(var(--green-rgb), .22);
}
.promo-banner__badge {
  position: absolute;
  z-index: 2;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}
.promo-banner__badge--soft {
  right: 8%;
  top: 16%;
  left: auto;
  background: var(--accent-chip);
  color: var(--accent-chip-text);
  font-size: .72rem;
  padding: 10px 8px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(18,32,26,.08);
}
.promo-banner__badge--2 {
  top: auto;
  bottom: 18%;
  right: 18%;
  left: auto;
}
.promo-banner__badge--round {
  right: 6%;
  top: 12%;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: .62rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(var(--green-rgb),.28);
}
.promo-banner__badge--3 {
  top: auto; bottom: 14%; right: 10%;
  width: 56px; height: 56px;
  background: #12201a;
}
.showcase__banners--3 .promo-banner__badge--soft {
  top: 12%;
  right: 10%;
}
.showcase__banners--3 .promo-banner__badge--2 {
  top: 12%;
  bottom: auto;
  right: 10%;
}
.showcase__banners--3 .promo-banner__badge--round {
  top: 10%;
  right: 8%;
  width: 56px;
  height: 56px;
}

.section { padding: 56px 0; }
.section--soft {
  background: color-mix(in srgb, var(--soft-section) 86%, transparent);
  border-block: 1px solid rgba(18, 32, 26, .03);
}
.section__head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.section__kicker {
  color: var(--green); font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -.02em; line-height: 1.15; color: var(--text);
}
.section__sub { color: #4d5f56; max-width: 48ch; }
.muted { color: #4d5f56; }

.cats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}

/* Home categories — photo grid under hero */
.section--cats { padding-top: 8px; }
.section--hcat {
  padding-top: 36px;
  padding-bottom: 28px;
  position: relative;
}
.section--hcat::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 8% 0%, rgba(var(--green-rgb), .07), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 20%, rgba(18, 32, 26, .04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.section--hcat > .wrap { position: relative; z-index: 1; }
.hcat__head { margin-bottom: 22px; }
.hcat__all {
  display: inline-flex; align-items: center; gap: 6px;
}
.hcat__all .ico { width: 16px; height: 16px; }
.hcat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.hcat {
  --hcat-i: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  border-radius: 18px;
  overflow: hidden;
  background: #1a2420;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 10px 28px rgba(18, 32, 26, .08);
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition:
    opacity .55s cubic-bezier(.22, 1, .36, 1),
    transform .55s cubic-bezier(.22, 1, .36, 1),
    box-shadow .25s ease;
  transition-delay: calc(var(--hcat-i) * 45ms);
}
.hcat.is-inview {
  opacity: 1;
  transform: none;
}
.hcat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 32, 26, .16);
}
.hcat:hover .hcat__media img {
  transform: scale(1.07);
}
.hcat:hover .hcat__cta {
  background: #fff;
  color: #14201a;
  gap: 8px;
}
.hcat--bright {
  background: #f3f5f4;
  box-shadow:
    0 12px 32px rgba(18, 32, 26, .1),
    0 2px 0 rgba(255, 255, 255, .35) inset;
}
.hcat--bright.hcat--warm {
  background: linear-gradient(145deg, #ffe8c8 0%, #ffd4a3 45%, #f5b86a 100%);
  box-shadow:
    0 12px 32px rgba(214, 120, 40, .16),
    0 2px 0 rgba(255, 255, 255, .35) inset;
}
.hcat--bright.hcat--mint {
  background: linear-gradient(145deg, #e5f7ec 0%, #cfeeda 50%, #9fd9b2 100%);
  box-shadow:
    0 12px 32px rgba(60, 150, 90, .14),
    0 2px 0 rgba(255, 255, 255, .35) inset;
}
.hcat--bright.hcat--cool {
  background: linear-gradient(145deg, #e8f3fb 0%, #d3e8f6 50%, #9ec8e8 100%);
  box-shadow:
    0 12px 32px rgba(50, 120, 180, .14),
    0 2px 0 rgba(255, 255, 255, .35) inset;
}
.hcat--bright.hcat--steel {
  background: linear-gradient(145deg, #f2f4f5 0%, #e4e8ea 50%, #c5ccd1 100%);
  box-shadow:
    0 12px 32px rgba(60, 70, 80, .12),
    0 2px 0 rgba(255, 255, 255, .35) inset;
}
.hcat--bright .hcat__media img {
  object-position: 72% center;
}
.hcat--bright .hcat__shade {
  background:
    linear-gradient(
      165deg,
      rgba(18, 12, 6, .06) 0%,
      rgba(18, 12, 6, .1) 38%,
      rgba(18, 12, 6, .52) 72%,
      rgba(18, 12, 6, .78) 100%
    );
}
.hcat--bright:hover .hcat__shade {
  background:
    linear-gradient(
      165deg,
      rgba(18, 12, 6, .08) 0%,
      rgba(18, 12, 6, .14) 36%,
      rgba(18, 12, 6, .56) 70%,
      rgba(18, 12, 6, .82) 100%
    );
}
.hcat--bright .hcat__name {
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.hcat--bright .hcat__cta {
  background: rgba(255, 255, 255, .92);
  color: #14201a;
  border-color: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 18px rgba(18, 32, 26, .12);
}
.hcat--bright:hover .hcat__cta {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.hcat:nth-child(1),
.hcat:nth-child(2) {
  grid-column: span 1;
  min-height: 240px;
}
@media (min-width: 1101px) {
  .hcat:nth-child(1),
  .hcat:nth-child(2) {
    grid-row: span 1;
  }
  .hcat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.hcat__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hcat__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.hcat__fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(145deg, #24332c, #15201b);
  color: rgba(255,255,255,.55);
}
.hcat__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 14, .08) 0%, rgba(10, 16, 14, .2) 42%, rgba(10, 16, 14, .78) 100%);
  transition: opacity .25s ease;
}
.hcat:hover .hcat__shade {
  background:
    linear-gradient(180deg, rgba(10, 16, 14, .12) 0%, rgba(10, 16, 14, .28) 40%, rgba(10, 16, 14, .84) 100%);
}
.hcat__body {
  position: relative; z-index: 1;
  margin-top: auto;
  padding: 16px 14px 14px;
  display: grid;
  gap: 10px;
}
.hcat__name {
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(0,0,0,.25);
}
.hcat__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, gap .2s ease;
}
.hcat__cta .ico { width: 14px; height: 14px; }
@media (max-width: 1100px) {
  .hcat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hcat { min-height: 200px; }
}
@media (max-width: 720px) {
  .section--hcat { padding-top: 28px; padding-bottom: 20px; }
  .hcat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hcat { min-height: 180px; border-radius: 16px; }
  .hcat__name { font-size: .9rem; }
  .hcat__body { padding: 12px 12px 12px; gap: 8px; }
  .hcat__cta { padding: 6px 10px; font-size: .72rem; }
}
@media (max-width: 420px) {
  .hcat-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hcat,
  .hcat__media img,
  .hcat__cta {
    transition: none !important;
    transition-delay: 0ms !important;
  }
  .hcat {
    opacity: 1;
    transform: none;
  }
}

/* Legacy icon grid (kept for optional #homeCats) */
.home-cats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.home-cat {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 58px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 4px 12px rgba(18,32,26,.03);
}
.home-cat:hover {
  border-color: rgba(var(--green-rgb),.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(var(--green-rgb),.1);
}
.home-cat__ico {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green);
}
.home-cat__ico .ico { width: 18px; height: 18px; }
.home-cat__text {
  display: grid; gap: 1px; min-width: 0;
}
.home-cat__text strong {
  font-size: .82rem; font-weight: 700; line-height: 1.2;
  letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-cat__text span {
  font-size: .72rem; color: var(--muted); font-weight: 600;
}

/* Deal.by-like «Категории продавца» */
.seller-cats {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfcfb 0%, #fff 48%);
  overflow: visible;
}
.seller-cats__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 10px;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: -.01em;
  border-bottom: 1px solid rgba(18, 32, 26, .06);
}
.seller-cats__hint {
  font-size: .68rem;
  font-weight: 600;
  color: #7a8a82;
  letter-spacing: 0;
}
.seller-cats__search { padding: 10px 12px 8px; }
.seller-cats__search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .84rem;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.seller-cats__search input:focus {
  outline: none;
  border-color: rgba(var(--green-rgb), .45);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .12);
}
.seller-cats__list {
  list-style: none;
  margin: 0;
  padding: 4px 0 10px;
  max-height: none;
  overflow: visible;
}
.seller-cats__item { border-top: 1px solid rgba(18, 32, 26, .04); }
.seller-cats__item:first-child { border-top: 0; }
.seller-cats__row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
}
.seller-cats__toggle {
  width: 28px;
  height: 28px;
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: #3d5a1f;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 9px;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.seller-cats__toggle:hover {
  background: var(--green-soft);
  border-color: rgba(var(--green-rgb), .35);
  color: var(--green);
}
.seller-cats__plus {
  position: relative;
  width: 12px;
  height: 12px;
  display: block;
}
.seller-cats__plus::before,
.seller-cats__plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}
.seller-cats__plus::before {
  left: 0; right: 0; top: 5px; height: 2px;
}
.seller-cats__plus::after {
  top: 0; bottom: 0; left: 5px; width: 2px;
}
.seller-cats__item.is-open .seller-cats__toggle {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.seller-cats__item.is-open .seller-cats__plus::after {
  transform: rotate(90deg);
  opacity: 0;
}
.seller-cats__bullet {
  width: 28px;
  height: 28px;
  margin: 0;
  flex-shrink: 0;
  position: relative;
}
.seller-cats__bullet::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c5d0c9;
}
.seller-cats__link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 8px 9px 4px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .005em;
  transition: background .12s, color .12s;
}
.seller-cats__name {
  text-transform: none;
  font-weight: 700;
}
.seller-cats__link:hover { background: #f4f8f5; color: var(--green); }
.seller-cats__link.is-active {
  color: var(--green);
  background: var(--green-soft);
  font-weight: 800;
}
.seller-cats__count,
.seller-cats__sub em {
  font-style: normal;
  font-size: .7rem;
  font-weight: 700;
  color: #6b7a72;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.seller-cats__check {
  display: none;
}
.seller-cats__subs {
  list-style: none;
  margin: 0 8px 10px 36px;
  padding: 4px 0 4px 10px;
  display: grid;
  gap: 2px;
  border-left: 2px solid rgba(var(--green-rgb), .18);
  animation: sellerSubsIn .18s ease;
}
.seller-cats__subs[hidden] {
  display: none !important;
}
.seller-cats__item:not(.is-open) > .seller-cats__subs {
  display: none !important;
}
@keyframes sellerSubsIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.seller-cats__sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: .8rem;
  line-height: 1.35;
  color: var(--text);
  text-decoration: none;
  transition: background .12s, color .12s;
}
.seller-cats__sub::before { display: none; }
.seller-cats__sub:hover { background: var(--green-soft); color: var(--green); }
.seller-cats__sub.is-active {
  color: var(--green);
  font-weight: 700;
  background: var(--green-soft);
}
.breadcrumbs__sep { margin: 0 .35rem; color: var(--muted); }

/* Catalog category accordion under filters */
.filter-group--cats { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.filter-hint { font-size: .75rem; color: var(--muted); margin: 4px 0 10px; line-height: 1.35; }
.cat-nav { display: grid; gap: 4px; }
.cat-acc {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  overflow: hidden;
}
.cat-acc[open] { background: #fff; border-color: rgba(var(--green-rgb),.35); }
.cat-acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 12px;
  font-size: .82rem; font-weight: 700; line-height: 1.3;
}
.cat-acc summary::-webkit-details-marker { display: none; }
.cat-acc summary::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg);
  margin-left: auto; flex-shrink: 0;
  transition: .15s;
}
.cat-acc[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.cat-acc__ico {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center;
  background: #fff; color: var(--green); border: 1px solid var(--line);
}
.cat-acc__ico .ico { width: 14px; height: 14px; }
.cat-acc__name { min-width: 0; flex: 1; }
.cat-acc__count {
  font-size: .7rem; font-weight: 700; color: var(--muted);
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 7px; flex-shrink: 0;
}
.cat-acc[open] .cat-acc__count { color: var(--green); border-color: rgba(var(--green-rgb),.3); background: var(--green-soft); }
.cat-acc__list {
  display: grid; gap: 2px;
  padding: 0 8px 8px;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
.cat-acc__link {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
  padding: 9px 10px; border-radius: 8px;
  font-size: .78rem; line-height: 1.35; color: var(--text);
}
.cat-acc__link:hover { background: var(--green-soft); color: var(--green); }
.cat-acc__link.is-active,
.cat-acc__link.is-demo.is-active {
  background: var(--green-soft); color: var(--green); font-weight: 700;
}
.cat-acc__link em { font-style: normal; color: var(--muted); font-size: .7rem; font-weight: 600; flex-shrink: 0; }
.catalog-cat-note {
  margin-bottom: 14px; padding: 12px 14px;
  background: var(--green-soft); border: 1px solid rgba(var(--green-rgb),.25);
  border-radius: 14px; font-size: .86rem; color: var(--text); line-height: 1.45;
}
.cat {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 18px 14px; text-align: center;
  transition: .2s; min-height: 120px;
  box-shadow: 0 6px 18px rgba(18,32,26,.04);
}
.cat:hover {
  border-color: var(--green); transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(var(--green-rgb), .12);
}
.cat__ico {
  width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green);
}
.cat strong { display: block; font-size: .9rem; margin-bottom: 4px; }
.cat span { color: var(--muted); font-size: .75rem; }

/* Scenarios — task-based product guides */
.scenarios { padding-top: 48px; }
.scenarios__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.scenario {
  position: relative; overflow: hidden;
  border-radius: 24px; min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(18,32,26,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  color: #fff;
}
.scenario:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(18,32,26,.14);
}
.scenario__visual {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,32,26,.15) 0%, rgba(18,32,26,.78) 72%, rgba(18,32,26,.92) 100%),
    var(--sc-img) center / cover no-repeat;
  transition: transform .5s ease;
}
.scenario:hover .scenario__visual { transform: scale(1.05); }
.scenario__body {
  position: relative; z-index: 1;
  padding: 24px 22px 22px;
}
.scenario__tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); background: rgba(255,255,255,.12);
  padding: 5px 10px; border-radius: 999px; margin-bottom: 12px;
  backdrop-filter: blur(6px);
}
.scenario h3 {
  font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 8px; line-height: 1.25;
}
.scenario p {
  color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.5;
  margin-bottom: 14px; max-width: 34ch;
}
.scenario__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: .88rem; color: #fff;
}
.scenario__link .ico { width: 16px; height: 16px; transition: transform .2s; }
.scenario:hover .scenario__link .ico { transform: translateX(4px); }

/* Steps process */
.steps-section {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(var(--green-rgb),.1), transparent 55%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(var(--green-rgb), .06), transparent 50%),
    #f3faf7;
}
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
  counter-reset: none;
}
.steps::before {
  content: "";
  position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--green-rgb),.35), transparent);
  z-index: 0;
}
.step {
  position: relative; z-index: 1;
  padding: 0 18px 8px;
  text-align: center;
  animation: stepIn .6s ease both;
}
.step:nth-child(2) { animation-delay: .08s; }
.step:nth-child(3) { animation-delay: .16s; }
.step:nth-child(4) { animation-delay: .24s; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.step__num {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 18px;
  background: #fff; border: 1px solid rgba(var(--green-rgb),.28);
  color: var(--green); font-weight: 800; font-size: 1rem; letter-spacing: -.02em;
  margin-bottom: 16px;
  box-shadow: 0 10px 24px rgba(var(--green-rgb), .12);
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; letter-spacing: -.015em; }
.step p { color: var(--muted); font-size: .88rem; line-height: 1.5; margin-bottom: 12px; }
.step a {
  color: var(--green); font-weight: 700; font-size: .86rem;
}
.step a:hover { text-decoration: underline; }

.products {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.products--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Category spotlight banner inside product grid (~3 cols) */
.catalog-spotlight {
  grid-column: span 3;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(20, 32, 26, .08);
  box-shadow: 0 12px 28px rgba(18, 32, 26, .08);
  color: #fff;
  display: flex;
  align-items: stretch;
  background: #1a2420;
}
.catalog-spotlight__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #24332c;
  background-image: var(--spotlight-bg);
  background-size: cover;
  background-position: 72% center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform .45s ease;
}
.catalog-spotlight:hover .catalog-spotlight__media {
  transform: scale(1.05);
}
.catalog-spotlight__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(8, 16, 12, .88) 0%,
    rgba(8, 16, 12, .78) 34%,
    rgba(8, 16, 12, .35) 58%,
    rgba(8, 16, 12, .08) 78%,
    rgba(8, 16, 12, 0) 100%
  );
}
.catalog-spotlight__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 22px 24px;
  max-width: 58%;
  min-height: 280px;
}
.catalog-spotlight__kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(var(--green-rgb), .22);
  color: #d8f0a8;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.catalog-spotlight__title {
  font-family: var(--font-display, var(--font));
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.catalog-spotlight__count {
  margin: 0;
  font-size: .84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .88);
}
.catalog-spotlight__blurb {
  margin: 2px 0 4px;
  font-size: .86rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .82);
  max-width: 34ch;
}
.catalog-spotlight__facts {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.catalog-spotlight__facts li {
  position: relative;
  padding-left: 14px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}
.catalog-spotlight__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.catalog-spotlight__cta {
  margin-top: 4px;
  box-shadow: 0 10px 22px rgba(var(--green-rgb), .32);
}
.catalog-spotlight--mint .catalog-spotlight__kicker {
  background: rgba(var(--green-rgb), .2);
}
.catalog-spotlight--cool .catalog-spotlight__shade {
  background: linear-gradient(
    100deg,
    rgba(8, 18, 28, .88) 0%,
    rgba(8, 18, 28, .76) 34%,
    rgba(8, 18, 28, .32) 58%,
    rgba(8, 18, 28, .06) 78%,
    rgba(8, 18, 28, 0) 100%
  );
}
.catalog-spotlight--steel .catalog-spotlight__shade {
  background: linear-gradient(
    100deg,
    rgba(16, 20, 24, .9) 0%,
    rgba(16, 20, 24, .78) 34%,
    rgba(16, 20, 24, .34) 58%,
    rgba(16, 20, 24, .08) 78%,
    rgba(16, 20, 24, 0) 100%
  );
}
@media (max-width: 1200px) {
  .products { grid-template-columns: repeat(4, 1fr); }
  .catalog-spotlight { grid-column: span 2; }
  .catalog-spotlight__body { max-width: 70%; min-height: 260px; }
}
@media (max-width: 900px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .catalog-spotlight { grid-column: span 2; }
  .catalog-spotlight__body { max-width: 75%; padding: 18px 18px; min-height: 240px; }
  .catalog-spotlight__blurb { display: none; }
}
.products-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -4px;
}
.products-track {
  display: flex;
  gap: 16px;
  padding: 4px;
  transition: transform .45s cubic-bezier(.22,.7,.25,1);
  will-change: transform;
}
.products-slide {
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 0;
}
.products-slide .product { height: 100%; }
@media (max-width: 1200px) {
  .products-slide { flex-basis: calc((100% - 32px) / 3); }
}
@media (max-width: 900px) {
  .products-slide { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 640px) {
  .products-slide { flex-basis: 100%; }
}
.product {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  transition: .2s; box-shadow: 0 8px 22px rgba(18,32,26,.05);
}
.product:hover { transform: translateY(-4px); border-color: rgba(var(--green-rgb),.45); }
.product__media {
  aspect-ratio: 1.05; background: #fff;
  display: grid; place-items: center; position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.product__media-link {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  position: absolute; inset: 0; z-index: 0;
}
.product__media img,
.product__media-link img {
  width: 100%; height: 100%; object-fit: contain; padding: 16px;
  transition: opacity .12s ease;
  position: relative; z-index: 0;
  pointer-events: none;
}
.product h3 a:hover { color: var(--green); }
.product__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--green); color: #fff;
  font-size: .72rem; font-weight: 800; padding: 5px 9px; border-radius: 999px;
  pointer-events: none;
}
/* Статусы наличия — матовый оранжевый, чтобы не дублировать салатовый бренд */
.product__badge--status {
  background: #d9923a;
  color: #fff;
  box-shadow: none;
}
.product__stock {
  display: inline-block;
  margin-left: .15em;
  padding: .12em .55em;
  border-radius: 999px;
  background: rgba(217, 146, 58, .16);
  color: #b86f1f;
  font-weight: 700;
  font-size: .92em;
  letter-spacing: .01em;
}
.product__tools {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  display: flex; flex-direction: column; gap: 6px;
}
.product__tool {
  width: 34px; height: 34px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(255,255,255,.96);
  display: grid; place-items: center; cursor: pointer;
  color: var(--muted); box-shadow: 0 4px 12px rgba(18,32,26,.06);
  transition: .15s; padding: 0;
}
.product__tool svg { width: 16px; height: 16px; display: block; }
.product__tool:hover { color: var(--green); border-color: rgba(var(--green-rgb),.4); }
.product__tool.is-active { color: var(--green); border-color: rgba(var(--green-rgb),.45); background: var(--green-soft); }
.product__tool[data-wish-toggle].is-active svg { fill: var(--green); stroke: var(--green); }
.product__price { font-weight: 800; color: var(--text); }
@media (min-width: 981px) {
  .filters { position: static; top: auto; }
}
.catalog-filter-btn__count {
  display: inline-flex; min-width: 1.25rem; height: 1.25rem; padding: 0 .35rem;
  align-items: center; justify-content: center;
  border-radius: 999px; background: var(--green); color: #fff;
  font-size: .68rem; font-weight: 800;
}
.product__strips {
  position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 2;
  display: flex; gap: 4px; pointer-events: none; opacity: 0;
  transition: opacity .15s;
}
.product__media:hover .product__strips { opacity: 1; }
.product__strips i {
  flex: 1; height: 3px; border-radius: 999px;
  background: rgba(18,32,26,.12); display: block;
}
.product__strips i.is-on { background: var(--green); }
.product__body { padding: 14px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__meta { color: var(--muted); font-size: .75rem; }
.product h3 { font-size: .95rem; line-height: 1.3; }
.product__price {
  width: 100%;
  margin-top: 2px;
  font-size: 1.05rem;
  line-height: 1.25;
}
.product__price s {
  display: block;
  margin: 2px 0 0;
  font-size: .78rem;
}
.product__bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.product__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: auto;
  width: 100%;
}
.product__actions .btn {
  justify-content: center;
  font-size: .76rem;
  padding: 8px 8px;
  min-height: 34px;
  border-radius: 999px;
  white-space: nowrap;
}
.product__actions .btn--ghost { min-width: 0; }
.stars { color: #f59e0b; font-size: .8rem; letter-spacing: 1px; }

/* Blog / news carousel */
.blog-head { align-items: center; }
.blog-head__actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.blog-nav { display: flex; gap: 8px; }
.blog-nav button {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  display: grid; place-items: center; cursor: pointer; transition: .15s;
}
.blog-nav button:hover { border-color: var(--green); color: var(--green); }
.blog-nav button:disabled { opacity: .35; cursor: default; }
.blog-nav .ico { width: 18px; height: 18px; }
.blog-carousel { position: relative; overflow: hidden; margin: 0 -4px; }
.blog-track {
  display: flex; gap: 16px; padding: 4px;
  transition: transform .45s cubic-bezier(.22,.7,.25,1);
  will-change: transform;
}
.blog-card {
  flex: 0 0 calc((100% - 48px) / 4);
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 8px 22px rgba(18,32,26,.05);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  text-decoration: none; color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--green-rgb),.4);
  box-shadow: 0 16px 32px rgba(var(--green-rgb), .12);
}
.blog-card__media {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: linear-gradient(145deg, #dff5eb, #f4faf7);
}
.blog-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.92); color: var(--green);
  font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.blog-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card__meta { color: var(--muted); font-size: .75rem; display: flex; gap: 10px; flex-wrap: wrap; }
.blog-card h3 { font-size: .98rem; line-height: 1.35; letter-spacing: -.01em; }
.blog-card p { color: var(--muted); font-size: .88rem; line-height: 1.5; flex: 1; }
.blog-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green); font-weight: 700; font-size: .86rem; margin-top: 4px;
}
.blog-card__more .ico { width: 16px; height: 16px; }
.blog-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.blog-dots button {
  width: 8px; height: 8px; border-radius: 999px; border: 0;
  background: #c9d8d0; cursor: pointer; padding: 0; transition: .2s;
}
.blog-dots button.is-active { width: 22px; background: var(--green); }

.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}

/* Reviews — dark graphite gradient */
.reviews {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: #e8eeea;
  isolation: isolate;
}
.reviews__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 12% 20%, rgba(var(--green-rgb),.16), transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 75%, rgba(90,110,120,.22), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,.04), transparent 40%),
    linear-gradient(145deg, #1a1e22 0%, #23282e 38%, #2a3038 62%, #1c2126 100%);
}
.reviews__bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  opacity: .55;
  pointer-events: none;
}
.reviews__bg::after {
  content: "";
  position: absolute; inset: -20% -10%;
  background: conic-gradient(from 210deg at 70% 30%, transparent 0deg, rgba(var(--green-rgb),.07) 40deg, transparent 90deg, rgba(255,255,255,.03) 160deg, transparent 220deg);
  animation: reviewsGlow 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes reviewsGlow {
  from { transform: rotate(0deg) scale(1); opacity: .7; }
  to { transform: rotate(18deg) scale(1.08); opacity: 1; }
}
.reviews__head { margin-bottom: 36px; }
.reviews .section__kicker { color: var(--green); }
.reviews h2 { color: #fff; }
.reviews .section__sub { color: #9aaba3; }
.reviews__score {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.reviews__score strong {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em;
  color: #fff; line-height: 1;
}
.reviews__score span { display: block; color: #8fa099; font-size: .8rem; margin-top: 4px; }
.reviews__stars {
  display: inline-flex; gap: 2px; align-items: center;
}
.reviews__stars svg {
  width: 16px; height: 16px; fill: var(--green);
}
.reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.review {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  animation: reviewIn .7s ease both;
}
.review:nth-child(2) { animation-delay: .1s; }
.review:nth-child(3) { animation-delay: .2s; }
@keyframes reviewIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.review:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--green-rgb),.35);
  background: linear-gradient(165deg, rgba(255,255,255,.1), rgba(var(--green-rgb), .06));
}
.review__top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.review__date { color: #7f9088; font-size: .78rem; }
.review__text {
  color: #d5ded9; font-size: .98rem; line-height: 1.6;
  flex: 1;
}
.review__author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 4px; border-top: 1px solid rgba(255,255,255,.07);
}
.review__avatar {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 800; font-size: .85rem; color: #fff;
  background: linear-gradient(145deg, var(--av, var(--green)), color-mix(in srgb, var(--av, var(--green)) 55%, #111));
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
  flex-shrink: 0;
}
.review__author strong { display: block; color: #fff; font-size: .92rem; }
.review__author span { color: #8fa099; font-size: .8rem; }
.review__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.review__tags li {
  font-size: .72rem;
  font-weight: 600;
  color: #b7c9bf;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.reviews--page { padding: 28px 0 72px; }
.reviews--page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  color: #fff;
  margin: 6px 0 10px;
}
.reviews__head--page {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.reviews--page .section__sub a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumbs--on-dark { color: #8fa099; }
.breadcrumbs--on-dark a { color: #c5d4cc; }
.breadcrumbs--on-dark a:hover { color: var(--green); }
.reviews--page .reviews__grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) {
  .reviews--page .reviews__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .reviews--page .reviews__grid { grid-template-columns: 1fr; }
}

/* Home reviews carousel */
.reviews--home { padding: 64px 0 56px; }
.reviews__head--carousel {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.reviews__head-side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.reviews__nav button {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: #e8eeea;
}
.reviews__nav button:hover:not(:disabled) {
  border-color: rgba(var(--green-rgb), .55);
  color: var(--green);
  background: rgba(var(--green-rgb), .12);
}
.reviews-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -4px;
  touch-action: pan-y;
}
.reviews-track {
  display: flex;
  gap: 18px;
  padding: 6px 4px 10px;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
  cursor: grab;
}
.reviews-track:active { cursor: grabbing; }
.review--slide {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  min-height: 280px;
  animation: none;
  opacity: .55;
  transform: translateY(6px) scale(.985);
  transition:
    opacity .35s ease,
    transform .35s ease,
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}
.review--slide.is-active-slide {
  opacity: 1;
  transform: none;
}
.review--slide:hover {
  transform: translateY(-4px);
}
.review__quote {
  position: absolute;
  top: 8px; right: 18px;
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(var(--green-rgb), .18);
  pointer-events: none;
  user-select: none;
}
.reviews-carousel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.reviews-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.reviews-dots button {
  width: 8px; height: 8px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.22);
  cursor: pointer; padding: 0;
  transition: width .2s ease, background .2s ease;
}
.reviews-dots button.is-active {
  width: 22px;
  background: var(--green);
}
.reviews__all {
  border-color: rgba(255,255,255,.18) !important;
  color: #e8eeea !important;
  background: rgba(255,255,255,.04) !important;
}
.reviews__all:hover {
  border-color: rgba(var(--green-rgb), .5) !important;
  color: var(--green) !important;
  background: rgba(var(--green-rgb), .1) !important;
}
@media (max-width: 1100px) {
  .review--slide { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 700px) {
  .reviews--home { padding: 48px 0 40px; }
  .review--slide {
    flex-basis: 88%;
    min-height: 260px;
  }
  .reviews__score { padding: 12px 14px; }
  .reviews__score strong { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { transition: none; }
  .review--slide {
    opacity: 1;
    transform: none;
  }
  .reviews__bg::after { animation: none; }
}

.feature {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 20px;
  box-shadow: 0 6px 18px rgba(18,32,26,.04);
}
.feature__ico {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px;
  display: grid; place-items: center; background: var(--green-soft); color: var(--green);
}
.feature h3 { font-size: 1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .88rem; }

.banner {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px;
  background:
    radial-gradient(ellipse 55% 70% at 0% 0%, rgba(var(--green-rgb), .22), transparent 55%),
    radial-gradient(ellipse 45% 50% at 100% 100%, rgba(90, 110, 120, .2), transparent 50%),
    linear-gradient(145deg, #171b1f 0%, #23282e 48%, #1a2420 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px; padding: 32px; overflow: hidden; position: relative;
  box-shadow: 0 24px 50px rgba(18, 32, 26, .22);
  color: #e8eeea;
  isolation: isolate;
}
.banner::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 40% 40%, #000 15%, transparent 75%);
  opacity: .5;
  pointer-events: none;
}
.banner > * { position: relative; z-index: 1; }
.banner .section__kicker { color: var(--green); }
.banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 8px 0 12px;
  color: #fff;
  letter-spacing: -.02em;
}
.banner p { color: #9aaba3; margin-bottom: 18px; max-width: 42ch; }
.banner__side {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 18px; align-self: center;
  backdrop-filter: blur(8px);
}
.banner__side li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .9rem;
  color: #d5ded9;
}
.banner__side li:last-child { border-bottom: 0; }
.banner__side strong { color: #fff; font-weight: 600; }
.banner__side span { color: var(--green); font-weight: 700; }

.page-head { padding: 36px 0 8px; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -.02em; margin-bottom: 8px;
}
.catalog-seo-text {
  margin: 8px 0 0;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.catalog-seo-text--after {
  margin: 28px 0 0;
  max-width: 860px;
  color: #4a4d55;
}
.breadcrumbs { color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.breadcrumbs a:hover { color: var(--green); }
.catalog-layout {
  display: grid; grid-template-columns: 300px 1fr; gap: 22px; padding-bottom: 56px;
}
.filters {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 18px; height: fit-content;
  align-self: start;
  box-shadow: 0 8px 22px rgba(18,32,26,.04);
}
.filters__apply {
  position: sticky;
  bottom: 12px;
  z-index: 4;
  margin: 8px -6px 0;
  padding: 14px 6px 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 38%);
}
.filters__apply .btn {
  width: 100%;
  box-shadow: 0 6px 18px rgba(var(--green-rgb), .28);
}
.filter-contact {
  margin-top: 18px;
  padding: 16px 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(var(--green-rgb), .22);
  background:
    linear-gradient(145deg, rgba(132, 194, 35, .12), rgba(255,255,255,.92) 42%),
    #f7faf5;
  display: grid;
  gap: 6px;
}
.filter-contact__kicker {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5f735f;
}
.filter-contact__title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px;
}
.filter-contact__phone {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.01em;
}
.filter-contact__phone:hover { color: var(--green); }
.filter-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.filter-contact__msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 8px;
  border-radius: 11px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: .15s;
}
.filter-contact__msg svg { width: 15px; height: 15px; flex-shrink: 0; }
.filter-contact__msg--tg {
  background: #e8f6fd;
  color: #1a8bb8;
  border-color: rgba(26, 139, 184, .18);
}
.filter-contact__msg--tg:hover { background: #d8f0fb; }
.filter-contact__msg--vb {
  background: #f3e9fb;
  color: #6f3aa8;
  border-color: rgba(111, 58, 168, .16);
}
.filter-contact__msg--vb:hover { background: #eadcf8; }
.filter-contact__call {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  transition: filter .15s, transform .15s;
}
.filter-contact__call:hover { filter: brightness(1.05); }
.filter-contact__mail {
  display: block;
  text-align: center;
  margin-top: 2px;
  font-size: .78rem;
  font-weight: 600;
  color: #5f735f;
  text-decoration: none;
}
.filter-contact__mail:hover { color: var(--green); }
.filters__sheet-head { display: none; }
.catalog-mobile-bar { display: none; }
.filters-backdrop { display: none; }
.filters__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 14px;
}
.filters h3 { font-size: .95rem; margin: 0; }
.filters__reset {
  border: 0; background: transparent; color: var(--green);
  font-size: .82rem; font-weight: 700; cursor: pointer; padding: 0;
}
.filters__reset:hover { text-decoration: underline; }
.filter-group { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group strong {
  display: block; font-size: .78rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px;
}
.filter-options { display: flex; flex-direction: column; gap: 2px; }
.filter-group label {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; font-size: .88rem; cursor: pointer; color: var(--text);
}
.filter-group input { accent-color: var(--green); }
.price-inputs {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end;
  margin-bottom: 12px;
}
.price-inputs label {
  display: flex; flex-direction: column; gap: 4px;
  font-size: .72rem; color: var(--muted); font-weight: 600;
  text-transform: none; letter-spacing: 0; padding: 0;
}
.price-inputs input {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 10px; background: var(--bg-soft); font-weight: 600; color: var(--text);
}
.price-inputs input:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb),.15);
}
.price-inputs__sep { color: var(--muted); padding-bottom: 10px; text-align: center; }
.price-slider {
  --ps-h: 36px;
  --ps-track: 6px;
  --ps-thumb: 20px;
  position: relative;
  height: var(--ps-h);
  margin: 4px 4px 0;
}
.price-slider__track {
  position: absolute;
  left: 0; right: 0;
  top: calc((var(--ps-h) - var(--ps-track)) / 2);
  height: var(--ps-track);
  background: #dce8e2;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(18, 32, 26, .08);
}
.price-slider__range {
  position: absolute; top: 0; height: 100%;
  background: linear-gradient(90deg, var(--green-2), var(--green));
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(var(--green-rgb), .35);
}
.price-slider input[type="range"] {
  position: absolute; left: 0; width: 100%; top: 0;
  height: var(--ps-h);
  margin: 0; padding: 0;
  background: transparent; pointer-events: none;
  -webkit-appearance: none; appearance: none;
}
.price-slider input[type="range"]#priceRangeMin { z-index: 2; }
.price-slider input[type="range"]#priceRangeMax { z-index: 3; }
.price-slider input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  height: var(--ps-track);
  border: 0;
}
.price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  pointer-events: auto;
  width: var(--ps-thumb); height: var(--ps-thumb);
  margin-top: calc((var(--ps-track) - var(--ps-thumb)) / 2);
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--green);
  box-shadow: 0 2px 10px rgba(var(--green-rgb), .35), 0 0 0 1px rgba(255,255,255,.6) inset;
  cursor: grab;
  transition: transform .15s ease, box-shadow .15s ease;
}
.price-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 3px 12px rgba(var(--green-rgb), .45);
}
.price-slider input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; }
.price-slider input[type="range"]::-moz-range-track {
  background: transparent;
  height: var(--ps-track);
  border: 0;
}
.price-slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: var(--ps-thumb); height: var(--ps-thumb);
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--green);
  box-shadow: 0 2px 10px rgba(var(--green-rgb), .35);
  cursor: grab;
}
.price-slider input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.08);
}
.price-slider__hints {
  display: flex; justify-content: space-between;
  font-size: .72rem; color: var(--muted); margin-top: 4px;
  padding: 0 2px;
}
.range { display: flex; gap: 8px; }
.range input {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px;
}
.catalog-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
}
.catalog-count-desktop { margin-left: auto; }
.catalog-active {
  display: flex;
  flex: 1 1 160px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.catalog-active__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--green-rgb), .4);
  background: #fff;
  color: var(--text);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.catalog-active__chip span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-active__chip:hover {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--text);
}
.catalog-active__x {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--green-soft);
  color: #3d5a1f;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}
.catalog-active__chip:hover .catalog-active__x {
  background: var(--green);
  color: #fff;
}
.catalog-seo {
  padding: 8px 0 48px;
  max-width: var(--max);
}
.catalog-seo h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -.02em;
  margin: 0 0 14px;
  color: var(--text);
}
.catalog-seo h3 {
  font-size: 1.05rem;
  margin: 18px 0 10px;
  color: var(--text);
}
.catalog-seo__body {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
  max-width: 92ch;
}
.catalog-seo__body p { margin: 0 0 12px; }
.catalog-seo__body ul {
  margin: 0 0 14px; padding-left: 1.15em;
  display: grid; gap: 8px;
}
.catalog-seo__body li { padding-left: 2px; }
.catalog-seo__body a { color: var(--green); font-weight: 600; }
.catalog-seo__body a:hover { text-decoration: underline; }
.catalog-seo__body strong { color: var(--text); font-weight: 700; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; text-decoration: none;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: .8rem; cursor: pointer; color: var(--muted);
}
.chip.is-active, .chip:hover {
  color: var(--green); background: var(--green-soft); border-color: rgba(var(--green-rgb),.35);
}
.chips--deal {
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 4px;
}
.chips--deal::-webkit-scrollbar { display: none; }
.chips--deal .chip {
  border: 0;
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 600;
  white-space: nowrap;
  background: transparent;
}
.chips--deal .chip.is-active {
  background: var(--green-soft);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(var(--green-rgb), .22);
}

/* Deal.by-like category image carousel */
.cat-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 6px;
}
.cat-carousel__viewport { overflow: hidden; min-width: 0; }
.cat-carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-carousel__track::-webkit-scrollbar { display: none; }
.cat-carousel__item {
  flex: 0 0 132px;
  width: 132px;
  scroll-snap-align: start;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 10px 8px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 16px rgba(18,32,26,.04);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.cat-carousel__item:hover {
  border-color: rgba(var(--green-rgb), .4);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(var(--green-rgb), .1);
}
.cat-carousel__item.is-active {
  border-color: rgba(var(--green-rgb), .55);
  background: linear-gradient(180deg, #fff, var(--green-soft));
  box-shadow: 0 10px 22px rgba(var(--green-rgb), .14);
}
.cat-carousel__img {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f6f4;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.cat-carousel__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-carousel__item--product .cat-carousel__img {
  background: #fff;
}
.cat-carousel__item--product .cat-carousel__img img {
  object-fit: contain;
  padding: 4px;
}
.cat-carousel__placeholder {
  font-weight: 800;
  color: var(--green);
  font-size: 1.4rem;
}
.cat-carousel__name {
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.cat-carousel__item--bright {
  position: relative;
  padding: 0;
  overflow: hidden;
  gap: 0;
  min-height: 132px;
  background: #1a2420;
  border: 1px solid transparent;
  box-shadow: 0 8px 20px rgba(18, 32, 26, .1);
}
.cat-carousel__item--bright:hover {
  border-color: rgba(var(--green-rgb), .45);
  box-shadow: 0 14px 28px rgba(var(--green-rgb), .16);
}
.cat-carousel__item--bright.is-active {
  border-color: rgba(var(--green-rgb), .7);
  background: #1a2420;
  box-shadow:
    0 0 0 2px rgba(var(--green-rgb), .35),
    0 12px 26px rgba(var(--green-rgb), .2);
}
.cat-carousel__item--bright .cat-carousel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  background: #24332c;
}
.cat-carousel__item--bright .cat-carousel__img img {
  object-position: 70% center;
  transition: transform .4s ease;
}
.cat-carousel__item--bright:hover .cat-carousel__img img {
  transform: scale(1.06);
}
.cat-carousel__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(10, 14, 12, .08) 0%,
    rgba(10, 14, 12, .2) 42%,
    rgba(10, 14, 12, .72) 100%
  );
}
.cat-carousel__item--bright .cat-carousel__name {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: stretch;
  width: 100%;
  margin: 0;
  padding: 10px 10px 12px;
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  line-height: 1.2;
  text-align: left;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
  -webkit-line-clamp: 2;
  min-height: 0;
}
.cat-carousel__nav {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(18,32,26,.06);
  transition: .15s;
}
.cat-carousel__nav:hover:not(:disabled) {
  border-color: rgba(var(--green-rgb), .4);
  color: var(--green);
}
.cat-carousel__nav:disabled {
  opacity: .35;
  cursor: default;
}
.cat-carousel__nav .ico { width: 18px; height: 18px; }
.filter-options [class="is-collapsed"],
.filter-options .is-collapsed { display: none; }
.filter-options.is-expanded .is-collapsed { display: flex; }
.filter-more {
  margin-top: 6px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  font-size: .8rem;
  cursor: pointer;
  padding: 4px 0;
  text-align: left;
}
.filter-more:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .cat-carousel { grid-template-columns: 1fr; }
  .cat-carousel__nav { display: none; }
  .cat-carousel__item { flex-basis: 118px; width: 118px; }
  .cat-carousel__img { width: 76px; height: 76px; }
  .cat-carousel__item--bright { min-height: 118px; }
}

.cab {
  display: grid; grid-template-columns: 260px 1fr; gap: 20px;
  padding: 28px 0 60px; align-items: start;
}
.cab-nav {
  background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 14px; position: sticky; top: 88px;
  box-shadow: 0 8px 22px rgba(18,32,26,.04);
}
.cab-user {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 8px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px;
  overflow: hidden;
}
.cab-user > div {
  min-width: 0;
  flex: 1;
}
.cab-user__av {
  width: 48px; height: 48px; border-radius: 16px;
  background: var(--green);
  color: #fff; display: grid; place-items: center; font-weight: 800;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  font: inherit;
}
.cab-user__av--upload {
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cab-user__av--upload:hover,
.cab-user__av--upload:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .35);
  outline: none;
}
.cab-user__av-letter {
  position: relative;
  z-index: 1;
  line-height: 1;
}
.cab-user__av-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}
.cab-user__av-img[hidden] { display: none !important; }
.cab-user__av-hint {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(10, 14, 18, .55);
  color: #fff;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: 0;
  transition: opacity .15s ease;
  text-align: center;
  padding: 2px;
  line-height: 1.15;
}
.cab-user__av--upload:hover .cab-user__av-hint,
.cab-user__av--upload:focus-visible .cab-user__av-hint {
  opacity: 1;
}
.cab-user__av.is-loading {
  pointer-events: none;
  opacity: .7;
}
.cab-user strong {
  display: block;
  font-size: .95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cab-user small {
  display: block;
  color: #4d5f56;
  font-size: .78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cab-nav > button, .cab-nav > a,
.cab-nav__links > a {
  width: 100%; text-align: left; background: transparent; border: 0;
  color: var(--muted); padding: 10px 12px; border-radius: 12px;
  cursor: pointer; font-weight: 600; font-size: .88rem;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  text-decoration: none;
}
.cab-nav > button:hover, .cab-nav > a:hover,
.cab-nav > button.is-active, .cab-nav > a.is-active,
.cab-nav__links > a:hover,
.cab-nav__links > a.is-active {
  background: var(--green-soft); color: var(--green);
}
.cab-nav__links {
  display: grid;
  gap: 2px;
}
.cab-nav .count {
  background: var(--bg-soft); color: var(--text);
  border-radius: 999px; padding: 2px 7px; font-size: .72rem;
}
.cab-main { min-width: 0; }
.cab-panel { display: none; }
.cab-panel.is-active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.cab-hero {
  background: linear-gradient(135deg, #e8faf2, #ffffff 55%, #f3fcf8);
  border: 1px solid rgba(var(--green-rgb),.22);
  border-radius: 24px; padding: 24px; margin-bottom: 16px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px;
}
.cab-hero h1 { font-family: var(--font-display); font-size: 1.7rem; margin: 4px 0 8px; }
.cab-hero p { color: #4d5f56; font-size: .92rem; }
.cab-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cab-stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px;
}
.cab-stat strong { display: block; font-size: 1.2rem; color: var(--green); }
.cab-stat span { color: #4d5f56; font-size: .75rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-2.mod-editor-grid {
  grid-template-columns: 1fr;
}
.grid-2.mod-editor-grid:has(> .mod-editor-form:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
}
.mod-editor-form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.mod-editor-form__head h3 { margin: 0; }
/* Full-width editor above list (products) */
.mod-editor-form--sheet {
  width: 100%;
  margin-bottom: 16px;
  border-color: rgba(var(--green-rgb), .28);
  box-shadow: 0 10px 28px rgba(18, 32, 26, .08);
  animation: modSheetIn .28s cubic-bezier(.22, 1, .36, 1);
}
.mod-editor-form--sheet[hidden] {
  display: none !important;
  animation: none;
}
@keyframes modSheetIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/* Staff cards + modal */
.stf-shell { display: grid; gap: 14px; }
.stf-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
}
.stf-toolbar input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
.stf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.stf-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.stf-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--green-rgb), .4);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
}
.stf-card.is-active {
  border-color: rgba(var(--green-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .16);
}
.stf-card--admin {
  border-color: rgba(var(--green-rgb), .35);
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(var(--green-rgb), .1), transparent 55%),
    #fff;
}
.stf-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #14532d;
  background: var(--green-soft);
  border: 1px solid rgba(var(--green-rgb), .2);
}
.stf-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stf-card__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.stf-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.stf-card__name {
  font-size: .98rem;
  line-height: 1.25;
}
.stf-card__email {
  font-size: .82rem;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stf-card__meta {
  font-size: .74rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stf-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
}
.stf-badge--admin {
  background: rgba(var(--green-rgb), .16);
  color: #3f6212;
}
.stf-badge--muted { background: #f8fafc; color: #94a3b8; }
.stf-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  place-items: center;
  padding: 36px 20px;
  text-align: center;
}
.stf-empty-filter { margin: 0; text-align: center; }
.stf-modal .wq-modal__dialog { max-width: 720px; }
.stf-modal .wq-modal__kicker { color: var(--green); }
.stf-form { margin-top: 4px; }
.stf-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}
.stf-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(var(--green-rgb), .25);
  background: rgba(var(--green-rgb), .06);
}
.stf-check small {
  display: block;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}
.stf-delete__btn { color: #9b1c1c !important; border-color: #f0d0d0 !important; margin-left: auto; }
.stf-delete__btn:hover { background: #fff8f8 !important; }

.mod-product-form,
.mod-editor-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}
.mod-product-form .field--full,
.mod-editor-form-grid .field--full { grid-column: 1 / -1; }
.mod-editor-form-grid--1 {
  grid-template-columns: 1fr;
}
@media (max-width: 720px) {
  .mod-product-form,
  .mod-editor-form-grid { grid-template-columns: 1fr; }
}

/* Product edit modal */
.mod-product-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow: auto;
}
.mod-product-modal[hidden] { display: none !important; }
.mod-product-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 32, 26, .45);
  backdrop-filter: blur(2px);
}
.mod-product-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin: auto;
  padding: 0;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(var(--green-rgb), .3);
  box-shadow: 0 24px 64px rgba(18, 32, 26, .22);
  animation: modProductModalIn .22s ease;
}
@keyframes modProductModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.mod-product-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.mod-product-modal__head h3 { margin: 2px 0 0; font-size: 1.15rem; }
.mod-product-modal__close {
  font-size: 1.25rem;
  line-height: 1;
  min-width: 36px;
  padding-left: 10px;
  padding-right: 10px;
}
.mod-product-modal form.mod-product-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  gap: 0;
}
.mod-product-modal__body {
  padding: 14px 18px;
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.mod-product-form__main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}
.mod-product-form__main .field { margin: 0; }
.mod-product-form__main .field label {
  font-size: .75rem;
  font-weight: 700;
  color: #4d5f56;
  margin-bottom: 4px;
}
.mod-product-form__main .field input,
.mod-product-form__main .field select,
.mod-product-form__main .field textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .92rem;
}
.mod-product-form__main .field--full { grid-column: 1 / -1; }
.mod-product-form__cat select {
  margin-top: 6px;
  width: 100%;
  min-height: 0;
}
.mod-product-form__photo-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.mod-cover-preview--sm {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  background: #f6f8f6;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.mod-cover-preview--sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mod-product-form__photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mod-product-form__more {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbfa;
}
.mod-product-form__more > summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 14px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
}
.mod-product-form__more > summary::-webkit-details-marker { display: none; }
.mod-product-form__more > summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 8px;
  color: var(--green);
  transition: transform .15s;
}
.mod-product-form__more[open] > summary::before { transform: rotate(90deg); }
.mod-product-form__more-body {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}
.mod-product-modal__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}
.mod-product-modal__hint {
  margin-left: auto;
  font-size: .8rem;
}
.mod-product-modal__status {
  flex: 1 1 100%;
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .86rem;
  font-weight: 600;
}
body.mod-product-modal-open { overflow: hidden; }
@media (max-width: 720px) {
  .mod-product-form__main { grid-template-columns: 1fr 1fr; }
  .mod-product-modal { padding: 10px; }
  .mod-product-modal__dialog { max-height: calc(100vh - 20px); }
}
@media (max-width: 520px) {
  .mod-product-form__main { grid-template-columns: 1fr; }
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 16px;
  box-shadow: 0 6px 18px rgba(18,32,26,.04);
}
.card h3 { font-size: 1rem; margin-bottom: 10px; }
.card h4 { font-size: .92rem; margin-bottom: 6px; }
.list-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.list-row > :first-child { min-width: 0; }
.list-row strong, .list-row span { overflow-wrap: anywhere; }
.list-row:last-child { border-bottom: 0; }
.status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700;
}
.status--ok { background: var(--green-soft); color: var(--green); }
.status--wait { background: rgba(217,119,6,.12); color: var(--warn); }
.status--ship { background: rgba(2,132,199,.12); color: var(--blue); }
.status--done { background: var(--bg-soft); color: var(--muted); }

.progress {
  height: 8px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; margin: 8px 0;
}
.progress > i { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .78rem; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; outline: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft);
  background: #fff;
}
.field--full { grid-column: 1 / -1; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; color: var(--text); }
.table th, .table td {
  text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line);
}
.table th { color: #3f5048; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.table td { color: var(--text); }
.mod-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-search, .mod-select {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; background: #fff; min-width: 220px; font: inherit; color: var(--text);
}
.mod-bar { margin-bottom: 10px; }
.mod-bar__label {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: .85rem; margin-bottom: 4px; color: var(--text);
}
.mod-bar__track {
  height: 8px; border-radius: 999px; background: var(--bg-soft); overflow: hidden;
}
.mod-bar__track i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--green), #0d9488); border-radius: 999px;
}
.notif {
  display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.notif:last-child { border-bottom: 0; }
.notif__dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-top: 6px; flex-shrink: 0;
}
.notif.unread .notif__dot { box-shadow: 0 0 0 4px var(--green-soft); }
.ticket {
  border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px;
  background: #fff;
}
.bonus-bar {
  display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 12px;
}
.bonus-bar strong { font-size: 2rem; font-family: var(--font-display); color: var(--green); }

.footer {
  margin-top: 48px;
  background:
    radial-gradient(ellipse 70% 90% at 85% -10%, rgba(255,255,255,.07), transparent 52%),
    radial-gradient(ellipse 55% 70% at 0% 110%, rgba(255,255,255,.04), transparent 50%),
    linear-gradient(165deg, #2a2e33 0%, #1c1f24 42%, #14171b 78%, #0f1114 100%);
  color: #c8ccd3;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 0 0 28px;
}
.footer__brand-name {
  margin: 0 0 14px;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.footer__top {
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(90deg, rgba(255,255,255,.06), transparent 60%);
  padding: 28px 0;
  margin-bottom: 8px;
}
.footer__cta {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.footer__kicker {
  color: #aeb6c2; font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px;
}
.footer__cta h3 {
  color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: -.02em; margin-bottom: 6px; font-weight: 800;
}
.footer__cta p { color: #9aa3b0; font-size: .9rem; max-width: 48ch; margin: 0; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--footer-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn--footer-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 28px;
  padding: 36px 0 28px;
}
.footer__brand p { color: #9aa3b0; font-size: .9rem; line-height: 1.6; margin: 0 0 16px; max-width: 36ch; }
.footer h4 {
  color: #fff; font-size: .92rem; font-weight: 700;
  margin-bottom: 14px; letter-spacing: -.01em;
}
.footer__links, .footer__contacts { list-style: none; display: grid; gap: 10px; }
.footer__links a, .footer a { color: #a7afbb; font-size: .88rem; transition: color .15s; }
.footer__links a:hover, .footer a:hover { color: #fff; }
.footer .btn--primary {
  color: #fff !important;
  font-weight: 700;
  font-size: .9rem;
  background: linear-gradient(180deg, #4a5160, #353b48) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.28) !important;
}
.footer .btn--primary:hover {
  color: #fff !important;
  background: linear-gradient(180deg, #575f70, #3f4654) !important;
}
.footer__contacts li > a,
.footer__contacts li > span {
  display: flex; align-items: flex-start; gap: 10px;
  color: #a7afbb; font-size: .88rem; line-height: 1.4;
}
.footer__contacts .ico { width: 18px; height: 18px; color: #c5ccd6; margin-top: 1px; flex-shrink: 0; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  transition: transform .15s, filter .15s;
  line-height: 0;
}
.footer__social a:hover { transform: translateY(-2px); filter: brightness(1.06); }
.footer__social img {
  width: 42px; height: 42px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
}
.footer__pros {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding-bottom: 28px;
}
.footer__pro {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(165deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 14px 16px;
}
.footer__pro .ico { width: 22px; height: 22px; color: #c5ccd6; flex-shrink: 0; }
.footer__pro strong { display: block; color: #fff; font-size: .88rem; margin-bottom: 2px; }
.footer__pro span { color: #9aa3b0; font-size: .78rem; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px;
  color: #858e9c; font-size: .8rem;
}
.footer__copy { display: grid; gap: 4px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 14px; }
.footer__legal a { color: #9aa3b0; font-size: .8rem; }
.footer__legal a:hover { color: #fff; }
.footer .btn--primary .ico { width: 16px; height: 16px; color: #fff; }

.mobile-nav { display: none; }

/* Auth modal */
.auth-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(18, 32, 26, .45);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 20px;
}
.auth-overlay[hidden] { display: none !important; }
.auth-modal #authBuyerPanel[hidden],
.auth-modal #authPhoneStep[hidden],
.auth-modal #authCodeStep[hidden],
.auth-modal #authRegisterForm[hidden],
.auth-modal #authLoginForm[hidden],
.auth-modal #authForm[hidden],
.auth-modal .auth-demo[hidden] {
  display: none !important;
}
.auth-modal {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(18,32,26,.18);
  padding: 28px 24px 22px;
  position: relative;
}
.auth-modal h2 {
  font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em;
  margin: 0 0 6px;
}
.auth-modal > p { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.auth-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 1.2rem; line-height: 1; color: var(--muted);
}
.auth-close:hover { color: var(--text); border-color: var(--green); }
.auth-error {
  background: rgba(220,38,38,.08); color: #dc2626;
  border-radius: 12px; padding: 10px 12px; font-size: .85rem;
  margin-bottom: 12px;
}
.auth-error[hidden] { display: none !important; }
.auth-demo {
  margin-top: 14px; padding: 12px 14px; border-radius: 14px;
  background: var(--soft-section); border: 1px solid rgba(var(--green-rgb),.2);
  font-size: .82rem; color: var(--muted);
}
.auth-demo strong { color: var(--text); }
.auth-demo code {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 2px 8px; color: var(--green); font-weight: 700;
  font-family: Inter, ui-monospace, monospace; margin: 2px 0;
}
.auth-gate {
  min-height: 62vh; display: grid; place-items: center; padding: 40px 0 60px;
}
.auth-gate[hidden] { display: none !important; }
.auth-gate__card {
  width: min(520px, 100%);
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  padding: 36px 28px; text-align: center; box-shadow: var(--shadow);
}
.auth-gate__card h1 {
  font-size: clamp(1.5rem, 3vw, 2rem); margin: 8px 0 10px; letter-spacing: -.02em;
}
.auth-gate__card p { color: var(--muted); margin-bottom: 20px; }
.auth-gate__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.auth-gate__card--wide { width: min(720px, 100%); }
.auth-role-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px;
}
.auth-role-card {
  text-align: left; cursor: pointer;
  border: 1px solid var(--line); background: #fff; border-radius: 18px;
  padding: 18px 16px; display: flex; flex-direction: column; gap: 6px;
  transition: .2s; font: inherit; color: inherit;
}
.auth-role-card:hover {
  border-color: rgba(var(--green-rgb),.45);
  box-shadow: 0 12px 28px rgba(var(--green-rgb), .12);
  transform: translateY(-2px);
}
.auth-role-card strong { font-size: 1.05rem; }
.auth-role-card > span:last-child { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.auth-role-card__ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(145deg, var(--green), #0d9488); margin-bottom: 4px;
}
.auth-role-card__ico--mod { background: linear-gradient(145deg, #3a4650, #1a1e22); }
.auth-modal--lg { width: min(460px, 100%); }
.auth-fill-btn {
  display: inline-flex !important;
  width: 100%;
  color: var(--ink, #14201a) !important;
  background: #fff !important;
  border: 1px solid var(--line-strong, #c9d4cc) !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.auth-fill-btn:hover {
  border-color: var(--green) !important;
  color: var(--green) !important;
}
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: var(--bg-soft); border-radius: 14px; padding: 4px; margin: 0 28px 16px 0;
}
.auth-tab {
  border: 0; background: transparent; border-radius: 11px;
  padding: 10px 12px; font-weight: 700; font-size: .9rem; cursor: pointer;
  color: var(--muted); transition: .15s;
}
.auth-tab.is-active {
  background: #fff; color: var(--text);
  box-shadow: 0 4px 12px rgba(18,32,26,.08);
}
.cab[hidden], #cabApp[hidden], #cabMod[hidden] { display: none !important; }

.discount-pill {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 14px; padding: 10px 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--green-rgb),.14), rgba(var(--green-rgb),.05));
  border: 1px solid rgba(var(--green-rgb),.28);
}
.discount-pill span { color: var(--muted); font-size: .85rem; }
.discount-pill strong { color: var(--green); font-size: 1.25rem; font-weight: 800; }
.discount-card__value {
  font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -.04em;
  color: var(--green); line-height: 1; margin: 10px 0 14px;
}

.loyalty-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 20px;
  align-items: start;
}
.loyalty-hero {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(132, 194, 35, .12), transparent 48%),
    #fff;
}
.loyalty-hero__meta {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .9rem;
}
.loyalty-hero__meta strong { color: var(--text); }
.loyalty-next__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
  font-weight: 700;
}
.loyalty-next__head strong { color: var(--green); }
.loyalty-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(var(--green-rgb), .14);
  overflow: hidden;
}
.loyalty-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #a8d84a);
}
.loyalty-next__hint { margin: 8px 0 0; font-size: .82rem; }
.loyalty-tiers h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
}
.loyalty-tier {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.loyalty-tier:last-of-type { border-bottom: 0; }
.loyalty-tier__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.loyalty-tier__top span { color: var(--green); font-weight: 800; }
.loyalty-tier p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}
.loyalty-tier.is-reached {
  background: rgba(var(--green-rgb), .06);
  border-radius: 12px;
  border-bottom-color: transparent;
  margin-bottom: 6px;
}
.loyalty-rules h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
}
.loyalty-rules__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.loyalty-rules__item {
  padding: 12px 14px;
  border: 1px solid rgba(var(--green-rgb), .28);
  border-radius: 14px;
  background: rgba(var(--green-rgb), .06);
  display: grid;
  gap: 4px;
}
.loyalty-rules__item strong { font-size: .92rem; }
.loyalty-rules__item span { color: var(--muted); font-size: .8rem; line-height: 1.35; }
@media (max-width: 900px) {
  .loyalty-layout { grid-template-columns: 1fr; }
  .loyalty-rules__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .loyalty-rules__grid { grid-template-columns: 1fr; }
}

.tickets-layout {
  display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start;
}
.tickets-list {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 620px; overflow: auto; padding-right: 4px;
}
.ticket-item {
  text-align: left; width: 100%; cursor: pointer;
  border: 1px solid var(--line); background: #fff; border-radius: 16px;
  padding: 12px 14px; font: inherit; color: inherit; transition: .15s;
}
.ticket-item:hover, .ticket-item.is-active {
  border-color: rgba(var(--green-rgb),.45);
  box-shadow: 0 8px 20px rgba(var(--green-rgb),.1);
}
.ticket-item__top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ticket-item__sub { font-weight: 600; font-size: .9rem; margin: 6px 0 4px; line-height: 1.35; }
.ticket-item__meta { color: var(--muted); font-size: .75rem; }
.ticket-thread { min-height: 360px; }
.ticket-thread__head {
  display: flex; justify-content: space-between; gap: 12px; align-items: start;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
}
.ticket-thread__head h3 { font-size: 1.05rem; margin: 4px 0; }
.chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; max-height: 380px; overflow: auto; }
.chat-msg {
  max-width: 92%; padding: 12px 14px; border-radius: 16px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.chat-msg--user { align-self: flex-start; }
.chat-msg--mod {
  align-self: flex-end;
  background: rgba(var(--green-rgb),.1);
  border-color: rgba(var(--green-rgb),.25);
}
.chat-msg__head {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: .75rem; color: var(--muted); margin-bottom: 6px;
}
.chat-msg__head strong { color: var(--text); }
.chat-msg__text { font-size: .92rem; line-height: 1.5; white-space: pre-wrap; }
.chat-reply { display: flex; flex-direction: column; gap: 10px; }
.chat-reply textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px; resize: vertical; min-height: 80px; background: #fff;
}
.chat-reply textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(var(--green-rgb),.15); }

/* Shared dark cabinet chrome (buyer + moderator) */
.cab--user .cab-nav--user,
.cab--mod .cab-nav--mod {
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(165deg, #2a2e33 0%, #1c1f24 55%, #14171b 100%);
  border-color: rgba(255,255,255,.08);
  color: #d7dce3;
  box-shadow: 0 14px 36px rgba(10,12,16,.28);
}
.cab--user .cab-user,
.cab--mod .cab-user { border-bottom-color: rgba(255,255,255,.08); }
.cab--user .cab-user strong,
.cab--mod .cab-user strong { color: #fff; }
.cab--user .cab-user small,
.cab--mod .cab-user small { color: #a8b0bb; }
.cab--user .cab-nav > button,
.cab--user .cab-nav > a,
.cab--user .cab-nav__links > a,
.cab--mod .cab-nav > button,
.cab--mod .cab-nav > a {
  color: #c5ccd6; border-color: transparent; background: transparent;
}
.cab--user .cab-nav > button:hover,
.cab--user .cab-nav > button.is-active,
.cab--user .cab-nav > a:hover,
.cab--user .cab-nav > a.is-active,
.cab--user .cab-nav__links > a:hover,
.cab--user .cab-nav__links > a.is-active,
.cab--mod .cab-nav > button:hover,
.cab--mod .cab-nav > button.is-active,
.cab--mod .cab-nav > a:hover,
.cab--mod .cab-nav > a.is-active {
  background: rgba(var(--green-rgb),.14); color: var(--green);
}
.cab--user .cab-nav .count,
.cab--mod .cab-nav .count {
  background: rgba(var(--green-rgb),.2); color: var(--green);
}
.cab-user__av--user,
.cab-user__av--mod {
  background: linear-gradient(145deg, #3a4650, #1a1e22) !important;
  color: #fff !important;
}
.cab-hero--user,
.cab-hero--mod {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255,255,255,.07), transparent 50%),
    linear-gradient(135deg, #2a2e33 0%, #1c1f24 48%, #14171b 100%);
  color: #e8ecf1;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 16px 40px rgba(10,12,16,.22);
}
.cab-hero--user .section__kicker,
.cab-hero--mod .section__kicker { color: var(--green); }
.cab-hero--user h1,
.cab-hero--mod h1 { color: #fff; }
.cab-hero--user p,
.cab-hero--mod p { color: #b0b8c4; }
.cab-hero--user .cab-stat,
.cab-hero--mod .cab-stat {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1);
}
.cab-hero--user .cab-stat strong,
.cab-hero--mod .cab-stat strong { color: var(--green); }
.cab-hero--user .cab-stat span,
.cab-hero--mod .cab-stat span { color: #a8b0bb; }
.discount-pill--dark {
  background: linear-gradient(90deg, rgba(var(--green-rgb),.22), rgba(255,255,255,.06));
  border-color: rgba(var(--green-rgb),.35);
}
.discount-pill--dark span { color: #c5ccd6; }
.discount-pill--dark strong { color: #fff; }
.cab-hero--user .btn--ghost-dark,
.cab-hero--mod .btn--ghost-dark {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.cab-hero--user .btn--ghost-dark:hover,
.cab-hero--mod .btn--ghost-dark:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}

/* ===== Mod overview KPI / queue ===== */
.mod-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.mod-kpi__card {
  display: grid;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(132, 194, 35, .1), transparent 55%),
    #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s;
}
.mod-kpi__card:hover {
  border-color: rgba(var(--green-rgb), .45);
  transform: translateY(-1px);
}
.mod-kpi__card strong {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--green);
  line-height: 1;
}
.mod-kpi__card span {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.3;
}
.mod-kpi__card--alert {
  border-color: rgba(200, 120, 40, .35);
  background:
    linear-gradient(160deg, rgba(220, 150, 50, .12), transparent 55%),
    #fff;
}
.mod-kpi__card--alert strong { color: #b56a12; }
.mod-queue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.mod-queue__col {
  padding: 16px 16px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.mod-queue__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.mod-queue__head h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
}
.mod-queue__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.mod-queue__row:last-child { border-bottom: 0; }
.mod-queue__row:hover strong { color: var(--green); }
.mod-queue__row strong {
  display: block;
  font-size: .92rem;
  line-height: 1.3;
}
.mod-queue__empty {
  margin: 8px 0 12px;
  font-size: .88rem;
}
.mod-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 980px) {
  .mod-kpi { grid-template-columns: 1fr 1fr; }
  .mod-queue { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mod-kpi { grid-template-columns: 1fr; }
}

/* Mod content: light readable panels (sidebar stays dark) */
.cab--mod .cab-main { color: var(--text); }
.cab--mod .cab-main .section__kicker { color: var(--green); }
.cab--mod .cab-main h2 { color: var(--text); }
.cab--mod .cab-main .section__sub { color: #4d5f56; }
.cab--mod .card {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(18,32,26,.04);
}
.cab--mod .card h3,
.cab--mod .card h4,
.cab--mod .card strong { color: var(--text); }
.cab--mod .muted { color: #4d5f56; }
.cab--mod .table { color: var(--text); }
.cab--mod .table th {
  color: #3f5048;
  border-bottom-color: var(--line);
  font-weight: 700;
}
.cab--mod .table td {
  color: var(--text);
  border-bottom-color: var(--line);
}
.cab--mod .table td .muted { color: #4d5f56; }
.cab--mod .list-row {
  border-bottom-color: var(--line);
  color: var(--text);
}
.cab--mod .list-row span { color: #3f5048; }
.cab--mod .list-row strong { color: var(--text); }
.cab--mod .field label { color: #3f5048; }
.cab--mod .field input,
.cab--mod .field select,
.cab--mod .field textarea {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--text);
}
.cab--mod .mod-search,
.cab--mod .mod-select {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
.cab--mod .mod-select option { color: var(--text); }
.cab--mod .mod-bar__label { color: var(--text); }
.cab--mod .mod-bar__track { background: var(--bg-soft); }
.cab--mod .btn--ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--text);
}
.cab--mod .btn--ghost:hover { border-color: var(--green); color: var(--green); }
.cab--mod .ticket-item {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
.cab--mod .ticket-item.is-active {
  border-color: rgba(var(--green-rgb),.4);
  background: var(--green-soft);
}
.cab--mod .ticket-item__sub { color: #3f5048; }
.cab--mod .ticket-item__meta { color: #4d5f56; }
.cab--mod .ticket-thread.card { background: #fff; }
.cab--mod .chat-msg {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--text);
}
.cab--mod .chat-msg--mod { background: var(--green-soft); }
.cab--mod .chat-msg__head { color: #4d5f56; }
.cab--mod .chat-reply textarea {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
.cab--mod .chip {
  background: #fff;
  border-color: var(--line);
  color: #3f5048;
}
.cab--mod .chip.is-active {
  background: var(--green-soft);
  color: var(--green);
  border-color: rgba(var(--green-rgb),.35);
}

/* FAQ + ask form */
.faq-section {
  padding: 64px 0 72px;
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(var(--green-rgb),.08), transparent 55%),
    radial-gradient(ellipse 40% 35% at 100% 80%, rgba(18, 32, 26, .04), transparent 50%),
    var(--bg);
}
.faq-section--home {
  padding: 56px 0 64px;
}
.faq-layout {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start;
}
.faq-col h2 { margin-bottom: 10px; }
.faq-col .section__sub { margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  --faq-i: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  animation: faqIn .55s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc(var(--faq-i) * 45ms);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.faq-item[open], .faq-item:hover {
  border-color: rgba(var(--green-rgb),.35);
  box-shadow: 0 12px 28px rgba(var(--green-rgb),.08);
}
.faq-item[open] {
  transform: translateY(-1px);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 16px 52px 16px 16px;
  font-weight: 700; font-size: .98rem; line-height: 1.35;
  position: relative; user-select: none;
  display: flex; align-items: flex-start; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .02em;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(var(--green-rgb), .18);
}
.faq-item[open] .faq-item__num {
  background: var(--green);
  color: #fff;
  border-color: transparent;
}
.faq-item__q { flex: 1; min-width: 0; padding-top: 6px; }
.faq-item summary::after {
  content: "";
  position: absolute; right: 20px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq-item__body {
  padding: 0 20px 18px 62px;
  color: var(--muted); font-size: .94rem; line-height: 1.6;
  animation: faqOpen .28s ease;
}
.faq-item__body p { margin: 0; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .faq-item__body { padding-left: 20px; }
}

.ask-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #171b1f 0%, #23282e 55%, #1a2420 100%);
  color: #e8eeea; border-radius: 28px; padding: 32px 28px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 50px rgba(18,32,26,.18);
}
.ask-card__glow {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  right: -80px; top: -100px;
  background: radial-gradient(circle, rgba(var(--green-rgb),.28), transparent 70%);
  pointer-events: none;
}
.ask-card .section__kicker { position: relative; z-index: 1; }
.ask-card h2 {
  position: relative; z-index: 1;
  color: #fff; font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  margin: 6px 0 10px; letter-spacing: -.02em;
}
.ask-card > p {
  position: relative; z-index: 1;
  color: #9aaba3; font-size: .92rem; margin-bottom: 20px; line-height: 1.55;
}
.ask-form, .ask-success { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.ask-form .field label { color: #8fa099; }
.ask-form .field input,
.ask-form .field textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; border-radius: 14px;
}
.ask-form .field input::placeholder,
.ask-form .field textarea::placeholder { color: #6f7f78; }
.ask-form .field input:focus,
.ask-form .field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb),.2);
  outline: none;
}
.ask-form__note {
  color: #7a8a83; font-size: .75rem; line-height: 1.4; margin: 0;
}
.ask-form__note a { color: var(--green); text-decoration: underline; }
.ask-success[hidden] { display: none !important; }
.ask-success {
  background: rgba(var(--green-rgb), .12);
  border: 1px solid rgba(var(--green-rgb),.3);
  border-radius: 18px; padding: 20px;
  gap: 10px;
}
.ask-success strong { color: #fff; font-size: 1.05rem; }
.ask-success p { color: #9aaba3; font-size: .88rem; margin: 0; }
.ask-card__phone {
  position: relative; z-index: 1;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: .88rem; color: #8fa099;
}
.ask-card__phone a {
  color: var(--green); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em;
}
.ask-card__links {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  margin-top: 14px;
}
.ask-card__links a {
  color: #c5d4cc;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.16);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.ask-card__links a:hover {
  color: var(--green);
  border-color: rgba(var(--green-rgb), .55);
}
.ask-form[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .faq-item { animation: none; }
}

@media (max-width: 980px) {
  .tickets-layout, .auth-role-cards { grid-template-columns: 1fr; }
  .auth-tabs { margin-right: 0; }
}

@media (max-width: 980px) {
  .hero__grid, .banner, .cab-hero, .catalog-layout, .cab, .reviews__grid { grid-template-columns: 1fr; }
  .cab { width: 100%; max-width: 100%; overflow-x: clip; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .scenarios__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .steps::before { display: none; }
  .scenario { min-height: 280px; }
  .reviews { padding: 56px 0; }
  .reviews__score { align-self: stretch; }
  .hero-slider { min-height: 420px; border-radius: 20px; }
  .hero-slide__body {
    grid-template-columns: 1fr;
    padding: 18px 18px 58px;
    gap: 6px;
    align-items: start;
  }
  .hero-slide__visual { min-height: 170px; order: -1; padding-bottom: 0; }
  .hero-slide__panel { inset: 2% 8% 10% 8%; }
  .hero-slide__photo { width: min(58%, 190px); border-radius: 22px; }
  .hero-slide__tag { min-width: 52px; min-height: 52px; font-size: .58rem; top: 4%; right: 8%; }
  .hero-slider__dots { bottom: 14px; gap: 7px; }
  .hero-slider__nav { display: none; }
  .hero-slide__text h1,
  .hero-slide__title { font-size: clamp(1.35rem, 5.2vw, 1.75rem); margin-bottom: 8px; }
  .hero-slide__lead { font-size: .86rem; margin-bottom: 10px; }
  .hero-slide__list { display: none; }
  .hero-slide__chip { margin-bottom: 12px; font-size: .74rem; padding: 6px 10px; }
  .hero-slide__actions .btn { padding: .7rem 1rem; font-size: .88rem; }
  .showcase__top { grid-template-columns: 1fr; }
  .deal { min-height: 0; }
  .deal__slides { min-height: 280px; }
  .deal-item__media { min-height: 180px; }
  .deal-item__media a { min-height: 160px; }
  .deal-item__media img { max-height: 150px; }
  .showcase__banners { grid-template-columns: 1fr; }
  .showcase__banners--3 { grid-template-columns: 1fr; }
  .promo-banner {
    min-height: 220px;
    padding: 22px;
    background-position: 72% center;
  }
  .showcase__banners--3 .promo-banner { min-height: 280px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .home-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .products--5 { grid-template-columns: repeat(2, 1fr); }
  .catalog-spotlight {
    grid-column: 1 / -1;
  }
  .catalog-spotlight__body {
    max-width: 72%;
    min-height: 220px;
    padding: 18px 16px;
  }
  .catalog-spotlight__blurb { display: none; }

  /* Compact product cards on narrow screens */
  .product { border-radius: 16px; }
  .product__media { aspect-ratio: 1; }
  .product__media img { padding: 10px; }
  .product__badge { top: 8px; left: 8px; font-size: .68rem; padding: 4px 7px; }
  .product__body { padding: 10px 10px 12px; gap: 6px; }
  .product__meta { font-size: .68rem; }
  .product h3 {
    font-size: .78rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product__price {
    font-size: .95rem;
    line-height: 1.2;
  }
  .product__price s {
    font-size: .72rem;
  }
  .product__actions {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .product__actions .btn {
    font-size: .7rem;
    padding: 7px 6px;
    min-height: 32px;
  }
  .product__tool { width: 30px; height: 30px; border-radius: 9px; }
  .product__tool svg { width: 14px; height: 14px; }
  .blog-card { flex-basis: calc((100% - 16px) / 2); }

  /* Mobile header: logo left · search + burger right */
  .header__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 58px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .logo {
    order: 1;
    gap: 8px;
    max-width: none;
    margin-right: auto;
  }
  .logo__lock { gap: 4px; }
  .logo__capsule { gap: 6px; padding: 4px 10px 4px 4px; }
  .logo__mark { width: 26px; height: 26px; }
  .logo__name { font-size: 18px; }
  .logo__sub { font-size: 8px; letter-spacing: 0.14em; }
  .logo__img { height: 48px; max-width: none; }
  .logo__tag { display: none; }
  .logo__mark { width: 32px; height: 32px; font-size: .85rem; border-radius: 10px; }
  .nav,
  .hdr-find,
  .hdr-catalog,
  a.hdr-catalog,
  a.hdr-catalog.nav__catalog-btn,
  .hdr-baraholka,
  .hdr-contacts,
  .hdr-messengers,
  .header__actions,
  .header-account,
  .header-account--guest {
    display: none !important;
  }
  .hdr-search {
    display: none !important;
  }
  .hdr-mobile-tools {
    order: 2;
    display: flex !important;
    margin-left: 0;
  }
  .hdr-icon-btn,
  .burger {
    display: grid;
    width: 42px;
    height: 42px;
  }
  .burger {
    display: flex;
  }
  .mega__body { grid-template-columns: 1fr; min-height: 0; }
  .mega__cats {
    border-right: 0; border-bottom: 1px solid var(--line);
    padding-right: 0; padding-bottom: 10px;
    max-height: 220px;
    grid-auto-flow: column; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    display: grid;
  }
  .mega__subs-grid { grid-template-columns: 1fr 1fr; }
  .mega__panel { max-height: min(85vh, 900px); }
  /* Hide utility topbar on mobile — contacts live in menu */
  .topbar {
    display: none !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: 0 !important;
  }
  .filters, .cab-nav { position: static; }
  .mobile-nav { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 8px; }

  /* Mobile catalog: filters behind button */
  .catalog-layout {
    display: block;
  }
  .catalog-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
  }
  .catalog-filter-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
  }
  .catalog-filter-btn .ico { width: 16px; height: 16px; }
  .catalog-filter-btn__count {
    min-width: 20px; height: 20px; padding: 0 6px;
    border-radius: 999px; background: var(--green); color: #fff;
    font-size: .72rem; font-weight: 800;
    display: inline-grid; place-items: center;
  }
  .catalog-count-desktop { display: none; }
  .filters-backdrop {
    display: block;
    position: fixed; inset: 0; z-index: 95;
    background: rgba(15, 23, 20, .45);
    backdrop-filter: blur(2px);
  }
  .filters-backdrop[hidden] { display: none !important; }
  .filters {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 96;
    max-height: min(88vh, 760px);
    overflow: auto;
    border-radius: 22px 22px 0 0;
    padding: 0 16px 24px;
    box-shadow: 0 -16px 40px rgba(18,32,26,.18);
    animation: filtersUp .25s ease;
  }
  .filters.is-open { display: block; }
  .filters__sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky; top: 0; z-index: 2;
    background: #fff;
    padding: 14px 0 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
  }
  .filters__sheet-head strong { font-size: 1.05rem; }
  .filters__sheet-actions {
    display: flex; align-items: center; gap: 8px;
  }
  .filters__close {
    width: 38px; height: 38px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff;
    font-size: 1.35rem; cursor: pointer; color: var(--text);
  }
  .filters__head { display: none; }
  .filters__apply {
    bottom: 0;
    margin: 8px -8px 0;
    padding: 12px 8px calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 32%);
    box-shadow: 0 -10px 22px rgba(255,255,255,.92);
  }
  body.filters-open { overflow: hidden; }
}
@keyframes filtersUp {
  from { transform: translateY(24px); opacity: .6; }
  to { transform: none; opacity: 1; }
}
@media (max-width: 640px) {
  .cab-main .table,
  .cab-panel .table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mod-search, .mod-select { min-width: 0; width: 100%; }
  .section__head { align-items: start; }
  .cab--mod .cab-nav {
    position: sticky;
    top: 58px;
    z-index: 30;
    max-height: min(42vh, 320px);
    overflow: auto;
  }
  .header__inner { gap: 8px; }
  .hdr-icon-btn,
  .burger { width: 40px; height: 40px; }
  .logo__mark { width: 24px; height: 24px; }
  .logo__name { font-size: 16px; }
  .logo__sub { letter-spacing: 0.1em; }
  .logo__img { height: 44px; max-width: none; }
  .cats, .features, .grid-2, .grid-3, .form-grid, .cab-stats, .footer__grid, .footer__pros {
    grid-template-columns: 1fr;
  }
  .home-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-cat { padding: 9px 10px; min-height: 52px; }
  .home-cat__text strong { font-size: .78rem; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { text-align: left; padding: 0 0 16px; display: grid; grid-template-columns: 56px 1fr; gap: 0 14px; align-items: start; }
  .step__num { grid-row: span 3; margin-bottom: 0; }
  .step h3, .step p, .step a { grid-column: 2; }
  .hero-slide__body { padding: 18px 14px 60px; }
  .hero-slide__visual { min-height: 150px; }
  .hero-slide__lead { display: none; }
  .hero-slide__actions { gap: 8px; }
  .promo-banner {
    grid-template-columns: 1fr;
    text-align: left;
    min-height: 240px;
  }
  .promo-banner__text { max-width: 100%; }
  .blog-card { flex-basis: 88%; }
  .mega__subs-grid { grid-template-columns: 1fr; }
}

/* Cart & wishlist pages */
.shop-page { padding: 0 0 56px; }
.shop-layout {
  display: grid;
  grid-template-columns: 1.4fr .7fr;
  gap: 18px;
  align-items: start;
}
.shop-list { padding: 8px 16px; }
.shop-summary h2 { font-size: 1.1rem; margin-bottom: 4px; }
.shop-empty { text-align: center; padding: 36px 16px; }
.shop-empty h2 { margin-bottom: 8px; }
.shop-empty .btn { margin-top: 14px; }
.shop-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.shop-line:last-child { border-bottom: 0; }
.shop-line__img {
  width: 88px; height: 88px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; overflow: hidden;
}
.shop-line__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.shop-line__title { font-weight: 700; color: var(--text); display: block; margin-bottom: 4px; }
.shop-line__title:hover { color: var(--green); }
.shop-line__pay {
  display: inline-flex;
  align-items: center;
  margin: 0 0 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #dff5b0, #b6e45a);
  color: #1f3a12;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.shop-line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.shop-line__sum { font-weight: 800; white-space: nowrap; }

.checkout-form h2 { font-size: 1.05rem; margin: 0 0 10px; }
.checkout-prefill-note {
  margin: -4px 0 12px;
  font-size: .82rem;
  color: #3f5c28;
  font-weight: 600;
}
.checkout-choice {
  display: grid;
  gap: 8px;
}
.checkout-choice--delivery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.checkout-choice--pay {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.checkout-choice__item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; background: #fff;
  min-width: 0;
}
.checkout-choice__item:has(input:checked) {
  border-color: rgba(var(--green-rgb), .45);
  background: var(--green-soft);
}
.checkout-choice__item input { margin-top: 3px; flex-shrink: 0; }
.checkout-choice__item span { min-width: 0; }
.checkout-choice__item strong { display: block; font-size: .92rem; line-height: 1.25; }
.checkout-choice__item small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; line-height: 1.3; }
@media (max-width: 900px) {
  .checkout-choice--pay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .checkout-choice--delivery,
  .checkout-choice--pay { grid-template-columns: 1fr; }
}

.shop-list-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cart-discount-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef8e2;
  border: 1px solid rgba(var(--green-rgb), .22);
  color: #1f3a12;
  font-size: .82rem;
  line-height: 1.4;
}
.cart-discount-note strong { color: #3d5a1f; }

.auth-deal {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px 14px;
  align-items: start;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid transparent;
}
.auth-deal--guest {
  background:
    repeating-linear-gradient(
      -28deg,
      rgba(255, 255, 255, .2) 0 10px,
      rgba(255, 255, 255, 0) 10px 20px
    ),
    linear-gradient(145deg, #e8f7c8 0%, #d4ef8a 55%, #b6e45a 100%);
  border-color: rgba(90, 140, 30, .28);
  box-shadow: 0 12px 28px rgba(108, 160, 40, .14);
}
.auth-deal--in {
  background: linear-gradient(145deg, #f3faf6 0%, #e8f3ec 100%);
  border-color: rgba(20, 32, 26, .08);
}
.auth-deal--checkout { margin-bottom: 0; }
.auth-deal__ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .75);
  color: #3d5a1f;
  box-shadow: 0 6px 14px rgba(18, 32, 26, .06);
}
.auth-deal--in .auth-deal__ico {
  background: var(--green);
  color: #fff;
}
.auth-deal__ico svg { width: 22px; height: 22px; display: block; }
.auth-deal__title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #12201a;
  margin-bottom: 4px;
  line-height: 1.25;
}
.auth-deal__text {
  margin: 0;
  font-size: .86rem;
  line-height: 1.45;
  color: #3f5c28;
}
.auth-deal--in .auth-deal__text { color: #4a5c54; }
.auth-deal__pct {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #3d5a1f;
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  margin: 0 2px;
}
.auth-deal__lvl { font-weight: 700; color: #3d5a1f; }
.auth-deal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 12px;
}
.auth-deal__more {
  font-size: .82rem;
  font-weight: 700;
  color: #1f3a12;
  text-decoration: none;
}
.auth-deal__more:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .auth-deal { grid-template-columns: 1fr; }
  .auth-deal__ico { width: 40px; height: 40px; }
}
.checkout-promo {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faf4;
}
.checkout-promo label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.checkout-promo__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.checkout-promo__row input {
  text-transform: uppercase;
  letter-spacing: .04em;
}
.checkout-promo__ok,
.checkout-promo__err {
  margin: 8px 0 0;
  font-size: .82rem;
  line-height: 1.35;
}
.checkout-promo__ok { color: #3d5a1f; }
.checkout-promo__err { color: #8a1f1f; }
.checkout-error {
  margin-top: 12px; padding: 10px 12px; border-radius: 10px;
  background: #fdecec; color: #8a1f1f; font-size: .9rem;
}
.checkout-line {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 10px;
  align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line);
  font-size: .88rem;
}
.checkout-line:last-child { border-bottom: 0; }
.checkout-line img, .checkout-line__ph {
  width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #f3f7f4;
}
.checkout-line__ph { display: block; }
.checkout-thanks-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checkout-thanks-items li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem;
}
.field--full { grid-column: 1 / -1; }
.mod-order-status { min-width: 140px; }

.import-packs { display: grid; gap: 12px; }
.import-pack {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
}
.import-pack--done { border-color: rgba(var(--green-rgb), .35); background: #f6fbf7; }
.import-pack--ready { border-color: rgba(var(--green-rgb), .45); }
.import-pack--blocked { border-color: #f0d9a8; background: #fffbf3; }
.import-pack--running { border-color: #9ec3ff; background: #f5f9ff; }
.import-pack__head {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
  margin-bottom: 10px;
}
.import-pack__head h4 { margin: 2px 0 0; font-size: 1.02rem; }
.import-pack__meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 10px; font-size: .9rem;
}
.import-pack__block { margin-top: 8px; font-size: .9rem; }
.import-pack__block strong { display: block; margin-bottom: 4px; font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.import-pack__block ul, .import-pack__block ol { margin: 0; padding-left: 1.15rem; }
.import-pack__block li { margin: 3px 0; }
.import-pack__block code {
  font-size: .8rem; background: #f3f7f4; padding: 1px 6px; border-radius: 6px;
}
.import-pack__notes {
  margin: 10px 0 0; font-size: .86rem; color: var(--muted);
  padding-top: 8px; border-top: 1px dashed var(--line);
}
@media (max-width: 700px) {
  .import-pack__meta { grid-template-columns: 1fr; }
}
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.qty__btn {
  width: 34px; height: 34px; border: 0; background: transparent;
  font-size: 1.1rem; cursor: pointer; color: var(--text);
}
.qty__btn:hover { background: var(--green-soft); color: var(--green); }
.qty__input {
  width: 44px; height: 34px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; background: #fff; font-weight: 700; outline: 0;
}
.shop-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: #12201a; color: #fff; padding: 12px 18px; border-radius: 14px;
  font-size: .9rem; font-weight: 600; opacity: 0; pointer-events: none;
  transition: .25s; z-index: 80; box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.shop-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-summary { order: -1; }
}
@media (max-width: 640px) {
  .shop-line { grid-template-columns: 72px 1fr; }
  .shop-line__sum { grid-column: 2; }
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .32s ease, transform .32s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__glow {
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 40%, rgba(132,194,35,.2));
  opacity: .55;
  filter: blur(.2px);
  pointer-events: none;
}
.cookie-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(165deg, #2a2e33 0%, #1c1f24 55%, #14171b 100%);
  color: #e8ecf1;
  box-shadow:
    0 22px 50px rgba(10,12,16,.35),
    0 0 0 1px rgba(255,255,255,.03) inset;
  backdrop-filter: blur(10px);
}
.cookie-banner__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #d7dde6;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.cookie-banner__icon svg { width: 22px; height: 22px; }
.cookie-banner__title {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 4px;
  color: #fff;
}
.cookie-banner__body p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.45;
  color: #b0b8c4;
  max-width: 46ch;
}
.cookie-banner__body a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__body a:hover { color: var(--green); }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}
.cookie-banner__link {
  color: #c5ccd6;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 6px;
}
.cookie-banner__link:hover { color: #fff; }
.cookie-banner__btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: .84rem;
  border-radius: 999px;
  padding: 10px 16px;
  transition: background .15s, border-color .15s, transform .15s;
}
.cookie-banner__btn:hover { transform: translateY(-1px); }
.cookie-banner__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}
.cookie-banner__btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
}
.cookie-banner__btn--accept {
  background: linear-gradient(180deg, #9ad42f, #84c223);
  color: #fff;
  box-shadow: 0 8px 18px rgba(132,194,35,.28);
}
.cookie-banner__btn--accept:hover {
  background: linear-gradient(180deg, #a6e038, #6fa01c);
}
@media (max-width: 760px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner__inner {
    grid-template-columns: auto 1fr;
    padding: 14px;
  }
  .cookie-banner__actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .cookie-banner__link { display: none; }
  .cookie-banner__btn { flex: 1; text-align: center; }
}

/* Catalog pagination */
.shop-pager-wrap {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}
.shop-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}
.shop-pager__meta {
  margin: 0;
  font-size: .9rem;
  color: var(--muted, #6b7280);
  letter-spacing: .01em;
}
.shop-pager__meta strong {
  color: var(--ink, #111827);
  font-weight: 700;
}
.shop-pager__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.shop-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  height: 2.55rem;
  padding: 0 .65rem;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 12px;
  background: #fff;
  color: var(--ink, #111827);
  font: inherit;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.shop-pager__btn:hover:not(.is-disabled):not(.is-active):not(.shop-pager__btn--dots) {
  border-color: rgba(var(--green-rgb), .45);
  color: var(--green);
  background: var(--green-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(var(--green-rgb), .12);
}
.shop-pager__btn.is-active {
  background: linear-gradient(180deg, #9ad42f, #84c223);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(var(--green-rgb), .28);
}
.shop-pager__btn--icon {
  color: #475569;
}
.shop-pager__btn--icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
.shop-pager__btn--dots {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: #94a3b8;
  min-width: 1.6rem;
  cursor: default;
  font-weight: 700;
}
.shop-pager__btn.is-disabled {
  opacity: .38;
  cursor: not-allowed;
  box-shadow: none;
}
@media (max-width: 640px) {
  .shop-pager {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-pager__meta {
    text-align: center;
  }
  .shop-pager__list {
    justify-content: center;
  }
  .shop-pager__btn {
    min-width: 2.35rem;
    height: 2.35rem;
  }
}


/* Moderator news + media library */
.mod-news-list { display: grid; gap: 12px; max-height: 70vh; overflow: auto; }
.mod-news-item {
  display: grid; grid-template-columns: 72px 1fr; gap: 12px;
  padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fafbfc;
}
.mod-news-item.is-active { border-color: var(--green); background: var(--green-soft); }
.mod-news-item__thumb {
  width: 72px; height: 72px; border-radius: 10px; overflow: hidden;
  background: #e8eee9; display: grid; place-items: center; text-decoration: none;
}
.mod-news-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mod-news-item__thumb span { font-size: .65rem; color: #7a8a82; text-align: center; padding: 4px; }
.mod-news-item__body { display: grid; gap: 4px; min-width: 0; }
.mod-news-item__body strong { font-size: .92rem; line-height: 1.25; }
.mod-news-item__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.mod-news-item__actions form { display: inline; margin: 0; }
.mod-cover-preview {
  border: 1px dashed var(--line); border-radius: 14px; min-height: 140px;
  display: grid; place-items: center; overflow: hidden; background: #f7f9f8;
}
.mod-cover-preview img { width: 100%; max-height: 220px; object-fit: cover; display: block; }
.mod-media-upload {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: end;
}
.mod-media-upload .field { margin: 0; min-width: 160px; }
.mod-media-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px;
}
.mod-media-bar input[type="search"],
.mod-media-bar select {
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px;
  font: inherit; background: #fff; color: var(--text);
}
.mod-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}
.mod-media-grid--picker { max-height: 55vh; overflow: auto; }
.mod-media-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 6px;
  background: #fff; display: grid; gap: 6px; text-align: left;
}
.mod-media-card--pick {
  cursor: pointer; font: inherit; color: inherit;
}
.mod-media-card--pick:hover { border-color: var(--green); }
.mod-media-card__thumb {
  display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #eef2f0;
}
.mod-media-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mod-media-card__meta { min-width: 0; line-height: 1.25; }
.mod-media-card__meta strong {
  display: block; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mod-media-card__meta span { font-size: .66rem; }
.mod-media-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  align-items: stretch;
}
.mod-media-card__actions form {
  margin: 0;
  display: contents;
}
.mod-media-card__actions .btn {
  padding: 3px 6px;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 7px;
  min-height: 0;
  width: 100%;
  justify-content: center;
}
.mod-media-card__actions form .btn {
  color: #9b1c1c;
  border-color: #f0d0d0;
}
.mod-media-card__actions form .btn:hover {
  border-color: #e08a8a;
  color: #7a1212;
  background: #fff8f8;
}
.mod-media-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(12px);
  background: #14201a; color: #fff; padding: 10px 16px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; z-index: 80; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.mod-media-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.hc-search-results {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  max-height: 260px;
  overflow: auto;
}
.hc-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.hc-search-item:hover:not(:disabled) { border-color: var(--green); }
.hc-search-item:disabled { opacity: .55; cursor: default; }
.hc-search-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 auto;
  background: #f3f4f6;
}
.hc-search-item span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hc-search-item strong {
  font-size: .88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-search-item small { color: var(--muted); font-size: .75rem; }
.hc-search-item em {
  font-style: normal;
  font-size: .78rem;
  color: var(--green);
  flex: 0 0 auto;
}
.hc-selected-list { display: grid; gap: 8px; }
.hc-selected-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
}
.hc-selected-item img,
.hc-selected-item__ph {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #f3f4f6;
}
.hc-selected-item__ph {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .85rem;
}
.hc-selected-item__meta { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hc-selected-item__meta strong {
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-selected-item__actions { display: flex; gap: 4px; flex: 0 0 auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Real moderator clients */
.mod-client-row.is-active td { background: var(--green-soft); }
.mod-client-row[hidden] { display: none; }

/* Moderator categories — site tree + move */
.cat-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.cat-flash {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(var(--green-rgb), .35);
  background: var(--green-soft);
  font-weight: 600;
}
.cat-flash.is-err {
  border-color: #f1c0c0;
  background: #fff5f5;
  color: #9b1c1c;
}
.cat-flash[hidden] { display: none !important; }
.cat-shell {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(300px, .95fr);
  gap: 14px;
  align-items: start;
}
.cat-tree-panel {
  padding: 14px;
  display: grid;
  gap: 12px;
}
.cat-tree-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.cat-tree-panel__head strong { display: block; font-size: 1rem; }
.cat-tree-panel__head .muted { font-size: .8rem; }
.cat-view-chips { margin: 0; }
.cat-side { display: grid; gap: 14px; }
.cat-pick { padding: 16px; display: grid; gap: 12px; }
.cat-pick__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cat-pick__mode {
  border: 1px solid rgba(15, 23, 42, .1);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  color: #334155;
}
.cat-pick__mode.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(var(--green-rgb), .25);
}
.cat-pick__hint { margin: 0; font-size: .86rem; line-height: 1.4; }
.cat-pick__slots {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}
.cat-slot {
  border: 1px dashed rgba(15, 23, 42, .14);
  border-radius: 14px;
  padding: 12px;
  background: #f8faf9;
  min-width: 0;
}
.cat-slot.is-focus {
  border-style: solid;
  border-color: rgba(var(--green-rgb), .45);
  background: rgba(var(--green-rgb), .06);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .12);
}
.cat-slot__label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}
.cat-slot__title {
  display: block;
  font-size: .95rem;
  line-height: 1.3;
}
.cat-slot__meta { display: block; font-size: .8rem; margin-top: 2px; }
.cat-slot__arrow {
  align-self: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
}
.cat-slot__storage,
.cat-storage-item { display: grid; gap: 6px; margin-top: 8px; }
.cat-storage-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  font-size: .84rem;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
}
.cat-storage-item em { display: block; font-style: normal; font-size: .75rem; }
.cat-pick__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.mod-cat-site {
  display: grid;
  gap: 8px;
  max-height: min(72vh, 820px);
  overflow: auto;
  padding-right: 2px;
}
.mod-cat-site__root {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  background: #fff;
  overflow: visible;
}
.mod-cat-site__children[hidden] {
  display: none !important;
}
.mod-cat-site__root > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  font-size: .92rem;
  background: linear-gradient(180deg, #fbfcfb, #f4f7f4);
}
.mod-cat-site__root > summary::-webkit-details-marker { display: none; }
.mod-cat-site__root > summary::before {
  content: '▸';
  color: var(--green);
  margin-right: 8px;
  font-weight: 800;
}
.mod-cat-site__root[open] > summary::before { content: '▾'; }
.mod-cat-site__root-name {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.mod-cat-site__children {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 8px 10px 12px;
}
.mod-cat-site__child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  border: 1px solid transparent;
  background: #f7f9f7;
  border-radius: 10px;
  padding: 9px 11px;
  font: inherit;
  cursor: pointer;
  transition: .12s;
}
.mod-cat-site__child-name {
  min-width: 0;
  line-height: 1.3;
}
.mod-cat-site__child:hover {
  background: var(--green-soft);
  border-color: rgba(var(--green-rgb), .22);
}
.mod-cat-site__child.is-from {
  background: #fef9c3;
  border-color: rgba(202, 138, 4, .35);
}
.mod-cat-site__child.is-to {
  background: var(--green-soft);
  border-color: rgba(var(--green-rgb), .4);
  color: #3f6212;
}
.mod-cat-site__child.is-from.is-to {
  box-shadow: inset 0 0 0 2px rgba(202, 138, 4, .35);
}
.mod-cat-site__child em {
  font-style: normal;
  color: #5a6b62;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 960px) {
  .cat-shell { grid-template-columns: 1fr; }
  .cat-pick__slots { grid-template-columns: 1fr; }
  .cat-slot__arrow { display: none; }
  .mod-cat-site { max-height: 50vh; }
}

/* Moderator products admin */
.mod-product-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-bottom: 12px; flex-wrap: wrap;
}
.mod-product-thumb {
  width: 48px; height: 48px; padding: 0 !important;
}
.mod-product-thumb img {
  width: 44px; height: 44px; object-fit: cover; border-radius: 8px; display: block;
}
.mod-product-thumb span {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: #eef2f0; border-radius: 8px; color: #8a9a92; font-size: .75rem;
}
.mod-product-thumb {
  width: 48px; height: 48px; padding: 0 !important;
}
.mod-product-thumb img {
  width: 44px; height: 44px; object-fit: cover; border-radius: 8px; display: block;
}
.mod-product-thumb span {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: #eef2f0; border-radius: 8px; color: #8a9a92; font-size: .75rem;
}
#modProductsRealTable tr.is-active td { background: var(--green-soft); }
#modProductCategory { max-height: 140px; }

/* Roles & staff admin */
.mod-perm-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.mod-perm-group h4 {
  margin: 0 0 8px; font-size: .85rem; color: var(--green);
}
.mod-role-list { display: grid; gap: 12px; max-height: 70vh; overflow: auto; }
.mod-role-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fafbfc;
}
.mod-role-card.is-active { border-color: var(--green); background: var(--green-soft); }
.mod-role-card__head {
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 8px;
}
.mod-role-card__perms { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-perm-chip {
  display: inline-block; padding: 3px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .72rem; font-weight: 600;
}
.mod-perm-checks { display: grid; gap: 8px; max-height: 420px; overflow: auto; padding-right: 4px; }
.mod-perm-check {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
}
.mod-perm-check strong { display: block; font-size: .88rem; }
.mod-perm-check small { display: block; color: #4d5f56; font-size: .78rem; margin-top: 2px; }

/* Buyer classifieds (барахолка) */
.status--warn { background: rgba(185, 28, 28, .1); color: #9b1c1c; }
.clf-list { display: grid; gap: 12px; margin-bottom: 18px; }
.clf-card {
  display: grid; grid-template-columns: 112px 1fr; gap: 14px;
  padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.clf-card.is-editing { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent); }
.clf-card__media {
  display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: var(--bg-soft); text-decoration: none;
}
.clf-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clf-card__ph {
  display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .78rem; font-weight: 600;
}
.clf-card__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 4px; }
.clf-card__top strong { font-size: .98rem; line-height: 1.3; }
.clf-card__price { margin-top: 6px; font-weight: 700; color: var(--ink); }
.clf-card__reject { margin: 8px 0 0; font-size: .84rem; color: #9b1c1c; }
.clf-card__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.clf-form-card { padding: 18px; margin-top: 8px; }
.clf-form-grid { margin-top: 4px; }
.clf-form__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.clf-photos { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 12px; }
.clf-photos__item {
  position: relative; width: 96px; height: 96px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft);
}
.clf-photos__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clf-photos__item.is-cover { outline: 2px solid var(--brand); outline-offset: 1px; }
.clf-photos__badge {
  position: absolute; left: 6px; bottom: 6px; font-size: .65rem; font-weight: 700;
  background: rgba(0,0,0,.72); color: #fff; padding: 2px 6px; border-radius: 999px;
}
.clf-photos__del {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 999px;
  background: rgba(0,0,0,.65); color: #fff; font-size: 16px; line-height: 1; cursor: pointer;
}

/* Classified photo dropzone */
.clf-drop { display: grid; gap: 10px; }
.clf-drop__zone {
  display: grid; justify-items: center; gap: 6px; text-align: center;
  padding: 22px 16px; border-radius: 16px; cursor: pointer;
  border: 1.5px dashed rgba(var(--green-rgb), .35);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(var(--green-rgb), .08), transparent 60%),
    #fff;
  transition: .15s border-color, .15s background, .15s box-shadow;
}
.clf-drop__zone:hover,
.clf-drop__zone:focus-visible {
  border-color: rgba(var(--green-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .12);
  outline: none;
}
.clf-drop__zone.is-drag {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: 0 0 0 4px rgba(var(--green-rgb), .16);
}
.clf-drop.is-full .clf-drop__zone { opacity: .55; cursor: not-allowed; }
.clf-drop__icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-bottom: 2px;
}
.clf-drop__icon svg { width: 22px; height: 22px; }
.clf-drop__zone strong { font-size: .95rem; }
.clf-drop__zone > span { color: var(--muted); font-size: .84rem; max-width: 28rem; }
.clf-drop__list { display: flex; flex-wrap: wrap; gap: 10px; }
.clf-drop__card {
  position: relative; width: 104px; height: 104px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft);
  display: grid; place-items: center;
}
.clf-drop__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clf-drop__card-name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px;
  background: rgba(0,0,0,.55); color: #fff; font-size: .65rem; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.clf-drop__card-del {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 999px;
  background: rgba(0,0,0,.65); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; z-index: 2;
}
.clf-drop__card.is-loading { background: #eef3f0; }
.clf-drop__spin {
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid rgba(var(--green-rgb), .2);
  border-top-color: var(--green);
  animation: clf-spin .7s linear infinite;
}
.clf-drop__meta { margin: 0; font-size: .82rem; }
.clf-drop__error {
  margin: 0; padding: 10px 12px; border-radius: 10px;
  background: #fff5f5; border: 1px solid #fecaca; color: #9b1c1c; font-size: .84rem;
}
.clf-drop.is-busy .clf-drop__zone { pointer-events: none; }
@keyframes clf-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .clf-card { grid-template-columns: 88px 1fr; gap: 10px; }
}

/* Moderator classifieds queue — card grid + modal */
.clf-m-shell { display: grid; gap: 14px; }
.clf-m-toolbar {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
}
.clf-m-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.clf-m-search input[type="search"],
.clf-m-toolbar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--text);
}
.clf-m-toolbar select { width: auto; min-width: 140px; }
.clf-m-count { font-size: .84rem; white-space: nowrap; }
.clf-m-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.clf-m-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(15, 23, 42, .1);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: .15s border-color, .15s background, .15s color, .15s box-shadow;
}
.clf-m-chip:hover { border-color: rgba(var(--green-rgb), .45); }
.clf-m-chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(var(--green-rgb), .28);
}
.clf-m-chip__n {
  display: inline-flex;
  min-width: 1.35em;
  justify-content: center;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  background: rgba(15, 23, 42, .08);
}
.clf-m-chip.is-active .clf-m-chip__n { background: rgba(255, 255, 255, .22); }

.clf-m-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.clf-m-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.clf-m-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
  border-color: rgba(var(--green-rgb), .35);
}
.clf-m-card--pending {
  border-color: rgba(234, 179, 8, .55);
  box-shadow:
    0 0 0 3px rgba(250, 204, 21, .22),
    0 12px 30px rgba(234, 179, 8, .12);
  animation: clf-m-glow 2.2s ease-in-out infinite;
}
.clf-m-card--pending:hover {
  border-color: rgba(202, 138, 4, .7);
}
@keyframes clf-m-glow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(250, 204, 21, .18), 0 12px 30px rgba(234, 179, 8, .1); }
  50% { box-shadow: 0 0 0 5px rgba(250, 204, 21, .32), 0 14px 34px rgba(234, 179, 8, .18); }
}
.clf-m-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #eef2f0;
  overflow: hidden;
}
.clf-m-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.clf-m-card__ph {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.clf-m-card__pulse {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: #facc15;
  color: #422006;
  box-shadow: 0 4px 12px rgba(234, 179, 8, .35);
}
.clf-m-card__body {
  display: grid;
  gap: 4px;
  padding: 12px 14px 14px;
  min-width: 0;
}
.clf-m-card__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.clf-m-card__date {
  font-size: .7rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}
.clf-m-card__title {
  font-size: .92rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clf-m-card__meta {
  font-size: .76rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clf-m-card__price {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}
.clf-m-card__author {
  font-size: .74rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clf-m-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.clf-m-badge--pending { background: #fef9c3; color: #a16207; }
.clf-m-badge--ok { background: #ecfdf5; color: #047857; }
.clf-m-badge--bad { background: #fef2f2; color: #b91c1c; }
.clf-m-badge--muted { background: #f1f5f9; color: #64748b; }
.clf-m-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  place-items: center;
  padding: 36px 20px;
  text-align: center;
}
.clf-m-empty-filter { margin: 0; text-align: center; }
.clf-m-modal .wq-modal__dialog { max-width: 960px; }
.clf-m-modal__grid { align-items: start; }
.clf-m-side-block {
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}
.clf-m-side-block h4 {
  margin: 0 0 10px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
}
.clf-mod-facts--stack { grid-template-columns: 1fr; }
.clf-m-modal .wq-modal__kicker { color: var(--green); }

@media (max-width: 720px) {
  .clf-m-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .clf-m-card__body { padding: 10px; }
}

/* legacy split layout kept for any leftover refs */
.clf-mod-layout {
  display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 14px; align-items: start;
}
.clf-mod-list { display: grid; gap: 8px; max-height: 70vh; overflow: auto; padding-right: 2px; }
.clf-mod-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 10px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: inherit;
}
.clf-mod-row:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.clf-mod-row.is-active {
  border-color: color-mix(in srgb, var(--brand) 50%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
}
.clf-mod-row__media {
  display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg-soft);
  font-size: .68rem; color: var(--muted); text-align: center; line-height: 64px;
}
.clf-mod-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clf-mod-row__body { display: grid; gap: 2px; min-width: 0; }
.clf-mod-row__body strong {
  font-size: .9rem; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.clf-mod-row__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.clf-mod-detail { padding: 16px; }
.clf-mod-detail__head {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px;
}
.clf-mod-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-bottom: 14px;
}
.clf-mod-gallery__item {
  display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
}
.clf-mod-gallery__item.is-cover { outline: 2px solid var(--brand); outline-offset: 1px; }
.clf-mod-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clf-mod-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 14px;
}
.clf-mod-facts > div { display: grid; gap: 2px; }
.clf-mod-facts strong { font-size: .92rem; }
.clf-mod-desc {
  padding: 12px; border-radius: 12px; background: var(--bg-soft); margin-bottom: 14px;
}
.clf-mod-actions { display: grid; gap: 12px; margin-top: 8px; }
.clf-mod-reject { display: grid; gap: 8px; }
.clf-mod-reject textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit;
}
.mod-filters .chip .count {
  margin-left: 4px; font-size: .75rem; opacity: .75;
}
@media (max-width: 900px) {
  .clf-mod-layout { grid-template-columns: 1fr; }
  .clf-mod-list { max-height: none; }
  .clf-mod-facts { grid-template-columns: 1fr; }
}

/* Public baraholka */
.clf-public { padding-bottom: 64px; }

/* Full-bleed hero like catalog promo */
.clf-hero {
  position: relative;
  min-height: clamp(280px, 38vw, 420px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #141c18;
  color: #fff;
}
.clf-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.clf-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  opacity: .88;
}
.clf-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(10, 16, 14, .92) 0%, rgba(10, 16, 14, .72) 42%, rgba(10, 16, 14, .28) 70%, rgba(10, 16, 14, .12) 100%),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(var(--green-rgb), .28), transparent 60%);
}
.clf-hero__inner {
  position: relative;
  z-index: 2;
  padding: 28px 0 34px;
}
.breadcrumbs--on-dark a,
.breadcrumbs--on-dark span { color: rgba(255,255,255,.72); }
.breadcrumbs--on-dark a:hover { color: #fff; }
.section__kicker--on-dark { color: #b7e05a; }
.clf-hero h1 {
  margin: 6px 0 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  letter-spacing: -.02em;
  line-height: 1.12;
  color: #fff;
}
.clf-hero p {
  margin: 0;
  max-width: 52rem;
  color: rgba(255,255,255,.82);
  font-size: .98rem;
  line-height: 1.55;
}
.clf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.btn--ghost-on-dark {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.btn--ghost-on-dark:hover {
  background: rgba(255,255,255,.14);
  border-color: #fff;
  color: #fff;
}
.clf-hero__stat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  margin-left: 4px;
}
.clf-hero__stat strong {
  font-size: 1.35rem;
  line-height: 1;
  color: #b7e05a;
  letter-spacing: -.02em;
}
.clf-hero__stat span {
  margin-top: 4px;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Category chips row */
.clf-cat-row {
  margin: 18px auto 8px;
}
.clf-cat-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.clf-cat-chip {
  flex: 0 0 auto;
  width: 118px;
  display: grid;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  text-align: center;
}
.clf-cat-chip img,
.clf-cat-chip__all {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid transparent;
  background: linear-gradient(160deg, rgba(var(--green-rgb), .16), #eef3f0);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--green);
  transition: .15s;
}
.clf-cat-chip__name {
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clf-cat-chip__count {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 700;
}
.clf-cat-chip.is-active img,
.clf-cat-chip.is-active .clf-cat-chip__all {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .18);
}
.clf-cat-chip:hover img,
.clf-cat-chip:hover .clf-cat-chip__all {
  border-color: rgba(var(--green-rgb), .45);
}

/* Sidebar categories */
.clf-side-cats {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.clf-side-cats__head {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.clf-side-cats__item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  font-size: .88rem;
  font-weight: 600;
  transition: .12s;
}
.clf-side-cats__item:not(:has(img)) {
  grid-template-columns: 1fr auto;
}
.clf-side-cats__item img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.clf-side-cats__item strong {
  color: var(--muted);
  font-size: .78rem;
}
.clf-side-cats__item:hover {
  background: rgba(var(--green-rgb), .08);
}
.clf-side-cats__item.is-active {
  background: rgba(var(--green-rgb), .14);
  color: var(--green);
}
.clf-side-cats__item.is-active strong { color: var(--green); }

.clf-catalog { padding-bottom: 56px; }
.clf-product .product__media img {
  object-fit: cover;
  padding: 0;
}
.clf-product__fallback { filter: saturate(.9); }
.clf-product__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.clf-public__empty { padding: 36px 22px; text-align: center; border-radius: 18px; }
.clf-public__empty h2 { margin: 0 0 8px; font-size: 1.2rem; }
.clf-public__empty p { margin: 0 0 16px; }
.clf-public__pager { margin-top: 22px; display: flex; justify-content: center; }
.clf-public__note {
  margin-top: 28px; padding: 14px 16px; border-radius: 14px;
  background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--muted); font-size: .86rem; line-height: 1.5;
}
.clf-public__note strong { color: var(--text); }

/* Classified paid boost */
.product__badge--boost,
.clf-boost-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #1f3a12;
  background: #d8f0a8;
  border: 1px solid rgba(var(--green-rgb), .45);
  border-radius: 999px;
  padding: 4px 9px;
}
.product__media .product__badge--boost {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  background: #84c223;
  color: #12201a;
  border: none;
}
.clf-boost-badge--test {
  background: #fff3cd;
  border-color: #f0d78c;
  color: #7a5a00;
}
.clf-show__owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.clf-boost { padding: 18px 0 56px; }
.clf-boost__wrap { max-width: 980px; }
.clf-boost__test {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: #6b5200;
  font-size: .9rem;
  font-weight: 600;
}
.clf-boost__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .8fr);
  gap: 16px;
  align-items: start;
}
.clf-boost__main,
.clf-boost__side { padding: 22px; border-radius: 18px; }
.clf-boost__main h1 { margin: 4px 0 10px; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.clf-boost__methods { display: grid; gap: 10px; margin-top: 10px; }
.clf-boost__method {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: .12s;
}
.clf-boost__method:has(input:checked) {
  border-color: var(--green);
  background: rgba(var(--green-rgb), .08);
}
.clf-boost__method strong { display: block; font-size: .95rem; }
.clf-boost__method em { display: block; margin-top: 2px; font-style: normal; color: var(--muted); font-size: .84rem; }
.clf-boost__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.clf-boost__err { color: #9b1c1c; margin: 10px 0 0; font-size: .9rem; }
.clf-boost__preview {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}
.clf-boost__preview img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 12px; display: block;
}
.clf-boost__price { margin-top: 4px; font-weight: 800; color: var(--green); }
.clf-boost__facts { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.clf-boost__steps { margin: 14px 0 0; padding-left: 20px; line-height: 1.55; }
.clf-boost__steps li { margin: 0 0 8px; }
@media (max-width: 820px) {
  .clf-boost__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .clf-hero { min-height: 300px; }
  .clf-hero__inner { padding: 22px 0 26px; }
  .clf-cat-chip { width: 102px; }
  .clf-cat-chip img,
  .clf-cat-chip__all { width: 76px; height: 76px; border-radius: 16px; }
}

/* legacy grid helpers kept for home teaser */
.clf-public__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.clf-item {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 22px rgba(18,32,26,.05);
  transition: .2s;
}
.clf-item:hover { transform: translateY(-3px); border-color: rgba(var(--green-rgb), .4); }
.clf-item__media {
  position: relative; display: block; aspect-ratio: 1.05;
  background: linear-gradient(180deg, #f4f7f5, #eef3f0); text-decoration: none;
}
.clf-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clf-item__ph {
  display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .82rem; font-weight: 700;
}
.clf-item__badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(18,32,26,.78); color: #fff;
  font-size: .7rem; font-weight: 800; padding: 5px 9px; border-radius: 999px;
}
.clf-item__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.clf-item__meta {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  color: var(--muted); font-size: .75rem; font-weight: 600;
}
.clf-item__title { margin: 0; font-size: .95rem; line-height: 1.3; }
.clf-item__title a { color: inherit; text-decoration: none; }
.clf-item__title a:hover { color: var(--green); }
.clf-item__price { font-weight: 800; font-size: 1.05rem; margin-top: 2px; }
.clf-item__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px;
}
@media (max-width: 1100px) {
  .clf-public__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .clf-public__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .clf-public__grid { grid-template-columns: 1fr; }
}

/* Classified listing detail */
.clf-show { padding: 22px 0 64px; }
.clf-show__crumbs {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-bottom: 16px; font-size: .86rem; color: var(--muted);
}
.clf-show__crumbs a { color: var(--muted); text-decoration: none; }
.clf-show__crumbs a:hover { color: var(--green); }
.clf-show__crumb-current { color: var(--text); max-width: 100%; }
.clf-show__banner {
  margin-bottom: 14px; padding: 12px 14px; border-radius: 12px;
  background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: .9rem;
}
.clf-show__banner a { margin-left: 8px; color: inherit; font-weight: 700; }
.clf-show__layout {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .7fr);
  gap: 18px; align-items: start;
}
.clf-show__gallery {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  margin-bottom: 14px; box-shadow: 0 8px 22px rgba(18,32,26,.04);
}
.clf-show__stage {
  aspect-ratio: 1.15; background: linear-gradient(180deg, #f4f7f5, #eef3f0);
  display: grid; place-items: center;
}
.clf-show__stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clf-show__ph { color: var(--muted); font-weight: 700; }
.clf-show__thumbs {
  display: flex; gap: 8px; padding: 10px; overflow-x: auto; border-top: 1px solid var(--line);
}
.clf-show__thumb {
  flex: 0 0 72px; width: 72px; height: 72px; padding: 0; border-radius: 10px;
  border: 1px solid var(--line); overflow: hidden; background: var(--bg-soft); cursor: pointer;
}
.clf-show__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clf-show__thumb.is-active {
  border-color: rgba(var(--green-rgb), .55);
  box-shadow: 0 0 0 2px rgba(var(--green-rgb), .18);
}
.clf-show__card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 20px;
  box-shadow: 0 8px 22px rgba(18,32,26,.04);
}
.clf-show__kicker {
  display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 8px;
  color: var(--muted); font-size: .8rem; font-weight: 600;
}
.clf-show__card h1 {
  margin: 0 0 10px; font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -.02em; line-height: 1.2;
}
.clf-show__price { font-size: 1.45rem; font-weight: 800; margin-bottom: 14px; }
.clf-show__facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
  padding: 12px; border-radius: 12px; background: var(--bg-soft); margin-bottom: 16px;
}
.clf-show__facts > div { display: grid; gap: 2px; }
.clf-show__facts strong { font-size: .92rem; }
.clf-show__desc h2 { margin: 0 0 8px; font-size: 1.05rem; }
.clf-show__desc p { margin: 0; white-space: pre-wrap; line-height: 1.55; color: var(--text); }
.clf-show__side { display: grid; gap: 12px; position: sticky; top: 92px; }
.clf-show__contact { padding: 16px; border-radius: 18px; }
.clf-show__contact-name { display: block; font-size: 1.1rem; margin-top: 4px; }
.clf-show__contact-city { margin: 4px 0 14px; }
.clf-show__call, .clf-show__mail { width: 100%; justify-content: center; margin-bottom: 8px; }
.clf-show__disclaimer {
  margin: 10px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.45;
}
.clf-show__tips { padding: 14px 16px; border-radius: 18px; }
.clf-show__tips h3 { margin: 0 0 8px; font-size: .95rem; }
.clf-show__tips ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.clf-show__tips li { margin-bottom: 4px; }
.clf-show__related { margin-top: 34px; }
.clf-show__related-grid { margin-top: 8px; }
.clf-show__related .clf-item__title { font-size: .92rem; }
.clf-show__back { margin-top: 28px; }
@media (max-width: 960px) {
  .clf-show__layout { grid-template-columns: 1fr; }
  .clf-show__side { position: static; }
  .clf-show__related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .clf-show__facts { grid-template-columns: 1fr; }
  .clf-show__related-grid { grid-template-columns: 1fr; }
}

/* Home baraholka teaser */
.clf-home .section__head { margin-bottom: 16px; }
.clf-home__banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 220px;
  margin-bottom: 18px;
  background: #141c18;
  color: #fff;
}
.clf-home__banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .75;
}
.clf-home__banner-copy {
  position: relative;
  z-index: 1;
  padding: 28px 26px;
  max-width: 34rem;
  background: linear-gradient(100deg, rgba(10,16,14,.88) 0%, rgba(10,16,14,.55) 70%, transparent 100%);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.clf-home__banner-copy h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -.02em;
  color: #fff;
}
.clf-home__banner-copy p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  line-height: 1.45;
}
.clf-home__banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.clf-home__grid { margin-top: 4px; }
.clf-home__empty {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 18px; flex-wrap: wrap;
}
.clf-home__count { margin: 14px 0 0; font-size: .88rem; }
.clf-home__count strong { color: var(--text); }
@media (max-width: 800px) {
  .clf-home__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clf-home__banner-copy { max-width: none; background: linear-gradient(180deg, rgba(10,16,14,.82), rgba(10,16,14,.55)); }
}
@media (max-width: 560px) {
  .clf-home__grid { grid-template-columns: 1fr; }
}

/* Condition picker (б/у / новое) */
.clf-cond-label {
  display: block; font-weight: 700; font-size: .86rem; margin-bottom: 8px;
}
.clf-cond {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.clf-cond__opt {
  position: relative; display: grid; gap: 2px; padding: 12px 12px 12px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  cursor: pointer; transition: .15s;
}
.clf-cond__opt input {
  position: absolute; opacity: 0; pointer-events: none;
}
.clf-cond__opt strong { font-size: .95rem; }
.clf-cond__opt span { color: var(--muted); font-size: .78rem; }
.clf-cond__opt:hover { border-color: rgba(var(--green-rgb), .4); }
.clf-cond__opt.is-active,
.clf-cond__opt:has(input:checked) {
  border-color: rgba(var(--green-rgb), .55);
  background: var(--green-soft);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .12);
}
.clf-cond__opt.is-active strong,
.clf-cond__opt:has(input:checked) strong { color: var(--green); }
@media (max-width: 700px) {
  .clf-cond { grid-template-columns: 1fr; }
}

/* ===== Home design CTA + Design page ===== */
.home-design {
  position: relative;
  overflow: hidden;
  margin: 8px 0 48px;
  min-height: min(72vh, 560px);
  display: grid;
  align-items: end;
  color: #fff;
}
.home-design__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-design__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.02);
  animation: homeDesignKen 18s ease-in-out infinite alternate;
}
@keyframes homeDesignKen {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1.2%, -.8%, 0); }
}
.home-design__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(8, 18, 14, .82) 0%,
      rgba(10, 22, 16, .68) 28%,
      rgba(10, 22, 16, .42) 48%,
      rgba(10, 22, 16, .18) 68%,
      rgba(10, 22, 16, .08) 100%
    ),
    linear-gradient(180deg, transparent 55%, rgba(8, 16, 12, .35) 100%);
}
.home-design__glow {
  position: absolute;
  width: 42%;
  height: 65%;
  right: -4%;
  top: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--green-rgb), .22), transparent 70%);
  pointer-events: none;
  animation: homeDesignGlow 7s ease-in-out infinite alternate;
}
@keyframes homeDesignGlow {
  from { opacity: .7; transform: translate3d(0, 0, 0); }
  to { opacity: 1; transform: translate3d(-4%, 3%, 0); }
}
.home-design__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .75fr);
  gap: 28px;
  align-items: end;
  padding: 64px 0 52px;
}
.home-design__brand {
  font-family: "Manrope", var(--font);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -.04em;
  line-height: .95;
  margin: 0 0 14px;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.25);
  animation: homeDesignIn .7s cubic-bezier(.22,1,.36,1) both;
}
.home-design__copy h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 14px;
  max-width: 18ch;
  animation: homeDesignIn .75s .06s cubic-bezier(.22,1,.36,1) both;
}
.home-design__lead {
  margin: 0 0 22px;
  max-width: 42ch;
  color: rgba(255,255,255,.86);
  font-family: "Manrope", var(--font);
  font-size: 1.02rem;
  line-height: 1.5;
  animation: homeDesignIn .75s .12s cubic-bezier(.22,1,.36,1) both;
}
.home-design__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  animation: homeDesignIn .75s .18s cubic-bezier(.22,1,.36,1) both;
}
.home-design__ghost {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.28) !important;
  color: #fff !important;
}
.home-design__ghost:hover {
  background: rgba(255,255,255,.18) !important;
}
.home-design__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: homeDesignIn .8s .2s cubic-bezier(.22,1,.36,1) both;
}
.home-design__points li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(8, 16, 12, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.home-design__points strong {
  display: block;
  font-family: "Manrope", var(--font);
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: #fff;
}
.home-design__points span {
  font-size: .84rem;
  color: rgba(255, 255, 255, .82);
}
@keyframes homeDesignIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .home-design { min-height: 0; margin-bottom: 32px; }
  .home-design__inner {
    grid-template-columns: 1fr;
    padding: 40px 0 32px;
    gap: 18px;
  }
  .home-design__copy h2 { max-width: none; }
  .home-design__points { flex-direction: row; flex-wrap: wrap; }
  .home-design__points li { flex: 1 1 140px; }
}

.design-page {
  --design-font: "Manrope", var(--font);
  --design-display: "Fraunces", Georgia, serif;
}
.design-hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: stretch;
  color: #fff;
  overflow: hidden;
}
.design-hero__media {
  position: absolute;
  inset: 0;
}
.design-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.03);
  animation: designHeroKen 20s ease-in-out infinite alternate;
}
@keyframes designHeroKen {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -.6%, 0); }
}
.design-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(6, 14, 11, .88) 0%,
      rgba(8, 18, 14, .72) 36%,
      rgba(8, 18, 14, .28) 62%,
      rgba(8, 18, 14, .12) 100%
    ),
    linear-gradient(180deg, rgba(6, 14, 11, .2) 0%, transparent 28%, rgba(6, 14, 11, .55) 100%);
}
.design-hero__glow {
  position: absolute;
  width: 46%;
  height: 70%;
  right: -8%;
  top: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--green-rgb), .26), transparent 68%);
  pointer-events: none;
  animation: designHeroGlow 8s ease-in-out infinite alternate;
}
@keyframes designHeroGlow {
  from { opacity: .65; transform: translate3d(0, 0, 0); }
  to { opacity: 1; transform: translate3d(-3%, 4%, 0); }
}
.design-hero__stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 320px);
  gap: 28px 36px;
  align-items: end;
  box-sizing: border-box;
  width: min(1120px, calc(100% - 32px));
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 72px 0 56px;
  min-height: inherit;
}
.design-hero__copy {
  max-width: 34rem;
  animation: designIn .75s cubic-bezier(.22, 1, .36, 1) both;
}
.design-hero__brand {
  font-family: var(--design-font);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -.045em;
  line-height: .92;
  margin: 0 0 10px;
  color: #fff;
  text-shadow: 0 12px 36px rgba(0, 0, 0, .28);
}
.design-hero__eyebrow {
  margin: 0 0 16px;
  font-family: var(--design-font);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b7ef7a;
}
.design-hero h1 {
  font-family: var(--design-display);
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 0 0 16px;
  max-width: 16ch;
}
.design-hero__lead {
  font-family: var(--design-font);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
  max-width: 38ch;
  margin: 0 0 26px;
}
.design-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.design-hero__ghost {
  background: rgba(255, 255, 255, .1) !important;
  border-color: rgba(255, 255, 255, .28) !important;
  color: #fff !important;
}
.design-hero__panel {
  display: grid;
  gap: 10px;
  animation: designIn .85s .12s cubic-bezier(.22, 1, .36, 1) both;
}
.design-hero__stat {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(8, 16, 12, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
}
.design-hero__stat strong {
  display: block;
  font-family: var(--design-font);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 2px;
  color: #fff;
}
.design-hero__stat span {
  font-size: .84rem;
  color: rgba(255, 255, 255, .78);
  font-weight: 600;
}
.design-hero__checklist {
  list-style: none;
  margin: 4px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(8, 16, 12, .62);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  display: grid;
  gap: 8px;
}
.design-hero__checklist li {
  position: relative;
  padding-left: 16px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}
.design-hero__checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
@keyframes designIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.design-crumbs { padding: 18px 0 8px; }

.design-strip {
  padding: 8px 0 28px;
}
.design-strip__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.design-strip__item {
  padding: 16px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(20, 32, 26, .07);
  box-shadow: 0 8px 20px rgba(18, 32, 26, .04);
}
.design-strip__item strong {
  display: block;
  font-family: var(--design-font);
  font-size: .92rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: #12201a;
}
.design-strip__item span {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
}

.design-intro { padding: 12px 0 56px; }
.design-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px;
  align-items: center;
}
.design-intro__copy h2 {
  font-family: var(--design-display);
  font-size: clamp(1.7rem, 2.9vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.design-intro__copy p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 48ch;
  margin: 0 0 20px;
}
.design-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.design-intro__photo {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 56px rgba(18, 32, 26, .16);
  aspect-ratio: 4/3;
}
.design-intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.design-intro__cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(8, 16, 12, .7);
  color: rgba(255, 255, 255, .9);
  font-size: .78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.design-scopes { padding: 8px 0 56px; }
.design-scopes__head,
.design-steps__head { margin-bottom: 22px; }
.design-scopes__head h2,
.design-steps__head h2 {
  font-family: var(--design-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  letter-spacing: -.02em;
}
.design-scopes__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.design-scope {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 260px;
  border-radius: 22px;
  border: 1px solid rgba(20, 32, 26, .08);
  box-shadow: 0 14px 30px rgba(18, 32, 26, .08);
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.design-scope__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    #1a2420
    var(--scope-bg) center / cover no-repeat;
  transform: scale(1.03);
  transition: transform .45s ease;
}
.design-scope:hover .design-scope__media {
  transform: scale(1.07);
}
.design-scope__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 14, 12, .15) 0%,
    rgba(8, 14, 12, .45) 42%,
    rgba(8, 14, 12, .88) 100%
  );
}
.design-scope__body {
  position: relative;
  z-index: 2;
  padding: 20px 18px 22px;
}
.design-scope__num {
  display: block;
  font-family: var(--design-font);
  font-weight: 800;
  color: #c8ef7a;
  font-size: .82rem;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.design-scope h3 {
  font-family: var(--design-font);
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -.015em;
  color: #fff;
}
.design-scope p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
  line-height: 1.45;
}

.design-steps {
  padding: 12px 0 64px;
  background:
    radial-gradient(ellipse 50% 60% at 10% 0%, rgba(var(--green-rgb), .08), transparent 55%),
    linear-gradient(180deg, #f7f9f8 0%, #fafbfc 100%);
}
.design-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: dstep;
}
.design-steps__list li {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(20, 32, 26, .08);
  box-shadow: 0 12px 28px rgba(18, 32, 26, .05);
  counter-increment: dstep;
  transition: transform .2s ease, box-shadow .2s ease;
}
.design-steps__list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(18, 32, 26, .1);
}
.design-steps__list li::before {
  content: counter(dstep, decimal-leading-zero);
  display: block;
  font-family: var(--design-font);
  font-weight: 800;
  font-size: .8rem;
  color: var(--green);
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.design-steps__list strong {
  display: block;
  font-family: var(--design-font);
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.design-steps__list span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.design-cta {
  padding: 0 0 72px;
}
.design-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 36px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 20%, rgba(var(--green-rgb), .35), transparent 40%),
    linear-gradient(135deg, #12201a 0%, #1a3a2c 55%, #0f1f18 100%);
  color: #fff;
  box-shadow: 0 24px 50px rgba(18, 32, 26, .18);
}
.design-cta__kicker {
  font-family: var(--design-font);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9dffd0;
  margin: 0 0 8px;
}
.design-cta h2 {
  font-family: var(--design-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.15;
  margin: 0 0 8px;
}
.design-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  max-width: 42ch;
}
.design-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.design-cta__ghost {
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .22) !important;
  color: #fff !important;
}
@media (max-width: 980px) {
  .design-hero__stage {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 22px;
    padding: 56px 0 40px;
  }
  .design-hero__panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .design-hero__checklist {
    grid-column: 1 / -1;
  }
  .design-strip__row,
  .design-intro__grid,
  .design-scopes__grid,
  .design-steps__list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .design-hero { min-height: 78vh; }
  .design-hero__stage { padding: 44px 0 32px; }
  .design-hero h1 { max-width: none; }
  .design-hero__panel {
    grid-template-columns: 1fr;
  }
  .design-strip__row,
  .design-intro__grid,
  .design-scopes__grid,
  .design-steps__list {
    grid-template-columns: 1fr;
  }
  .design-scope { min-height: 220px; }
  .design-cta__inner { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .design-hero__media img,
  .design-hero__glow,
  .design-hero__copy,
  .design-hero__panel {
    animation: none !important;
  }
}

/* Cart finance + credit page */
.cart-finance {
  margin-top: 14px;
  padding: 14px 12px;
  border-radius: 16px;
  background: linear-gradient(160deg, #eefaf4 0%, #f4f8fb 100%);
  border: 1px solid rgba(var(--green-rgb), .18);
}
.cart-finance__title {
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green-2);
}
.btn--finance {
  font-weight: 800;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  padding: .85rem 1rem;
}
.btn--finance-credit {
  background: #14201a;
  color: #fff;
}
.btn--finance-credit:hover { background: var(--green); }
.btn--finance-install {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(var(--green-rgb), .28);
}
.btn--finance-install:hover { background: var(--green-2); }
.cart-finance__link {
  display: inline-block;
  margin-top: 10px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green-2);
  text-decoration: none;
}
.cart-finance__link:hover { text-decoration: underline; }

.cart-pay {
  margin-top: 14px;
  padding: 14px 12px 12px;
  border-radius: 18px;
  background:
    repeating-linear-gradient(
      -28deg,
      rgba(255, 255, 255, .22) 0 10px,
      rgba(255, 255, 255, 0) 10px 20px
    ),
    linear-gradient(155deg, #dff5b0 0%, #c8eb72 48%, #a8d85a 100%);
  border: 1px solid rgba(90, 140, 30, .28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .5) inset,
    0 10px 22px rgba(108, 160, 40, .14);
}
.cart-pay__title {
  margin: 0 0 4px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #3d5a1f;
}
.cart-pay__hint {
  margin: 0 0 10px;
  font-size: .72rem;
  color: #3f5c28;
  font-weight: 600;
  line-height: 1.35;
}
.cart-pay__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.cart-pay__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1.5px solid rgba(20, 32, 26, .08);
  background: rgba(255, 255, 255, .94);
  color: #12201a;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s, transform .15s;
}
.cart-pay__btn:hover {
  border-color: rgba(var(--green-rgb), .5);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(var(--green-rgb), .12);
}
.cart-pay__btn.is-selected {
  border-color: #3d5a1f;
  background: #fff;
  box-shadow:
    0 0 0 2px rgba(61, 90, 31, .16),
    0 10px 18px rgba(61, 90, 31, .14);
}
.cart-pay__check {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .65rem;
  font-weight: 900;
  background: #3d5a1f;
  color: #fff;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .15s, transform .15s;
}
.cart-pay__btn.is-selected .cart-pay__check {
  opacity: 1;
  transform: scale(1);
}
.cart-pay__name { line-height: 1.15; text-align: center; }
.cart-pay__link {
  display: inline-block;
  margin-top: 10px;
  font-size: .78rem;
  font-weight: 700;
  color: #1f3a12;
  text-decoration: none;
}
.cart-pay__link:hover { text-decoration: underline; }

.credit-page { --c-display: var(--font-display); }
.credit-hero {
  background:
    radial-gradient(ellipse 50% 60% at 85% 10%, rgba(var(--green-rgb), .22), transparent 55%),
    linear-gradient(135deg, #12201a 0%, #1a3a2c 50%, #0f1f18 100%);
  color: #fff;
  padding: 48px 0 44px;
}
.credit-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 28px 36px;
  align-items: center;
}
.credit-hero__kicker {
  margin: 0 0 10px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9dffd0;
}
.credit-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -.03em;
  margin: 0 0 12px;
  line-height: 1.1;
}
.credit-hero__lead {
  max-width: 48ch;
  color: rgba(255,255,255,.86);
  margin: 0 0 22px;
  font-size: 1.05rem;
}
.credit-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.credit-hero__actions .btn--ghost {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.24) !important;
  color: #fff !important;
}

/* Visual finance card: 0% + fridge equipment */
.credit-visual {
  position: relative;
  min-width: 0;
}
.credit-visual__media {
  position: relative;
  isolation: isolate;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background:
    var(--credit-visual-bg) center / cover no-repeat,
    #1a2e24;
  box-shadow:
    0 1px 0 rgba(255,255,255,.18) inset,
    0 22px 48px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
}
.credit-visual__shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(10, 18, 14, .78) 0%, rgba(10, 18, 14, .35) 48%, rgba(10, 18, 14, .12) 100%),
    radial-gradient(circle at 78% 28%, rgba(var(--green-rgb), .35), transparent 42%);
  pointer-events: none;
}
.credit-visual__pct {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 28px 26px 18px;
}
.credit-visual__num {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 9vw, 6.4rem);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.06em;
  color: #fff;
  text-shadow:
    0 10px 28px rgba(0,0,0,.35),
    0 0 40px rgba(var(--green-rgb), .35);
}
.credit-visual__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #12201a;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 10px 22px rgba(var(--green-rgb), .4);
}
.credit-visual__foot {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  color: #12201a;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}
.credit-visual__foot strong {
  display: block;
  font-size: .98rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.credit-visual__foot span {
  display: block;
  font-size: .82rem;
  line-height: 1.4;
  color: #4a5c54;
}
.credit-how { padding: 40px 0 24px; }
.credit-how__head { margin-bottom: 18px; }
.credit-how__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.credit-how__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: cstep;
}
.credit-how__steps li {
  padding: 22px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(20,32,26,.08);
  box-shadow: 0 10px 24px rgba(18,32,26,.05);
  counter-increment: cstep;
}
.credit-how__steps li::before {
  content: counter(cstep, decimal-leading-zero);
  display: block;
  font-weight: 800;
  color: var(--green);
  font-size: .8rem;
  margin-bottom: 8px;
}
.credit-how__steps strong { display: block; margin-bottom: 6px; font-size: 1.02rem; }
.credit-how__steps span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.credit-options { padding: 20px 0 48px; }
.credit-options__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.credit-opt {
  padding: 28px 24px;
  border-radius: 22px;
  border: 1px solid rgba(20,32,26,.08);
  background: linear-gradient(160deg, #f3faf6 0%, #eef4f8 100%);
}
.credit-opt--install {
  background: linear-gradient(160deg, #eef4f8 0%, #f7f3e8 100%);
}
.credit-opt__badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #14201a;
  color: #e8eeea;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.credit-opt h2 { margin: 0 0 10px; font-size: 1.45rem; }
.credit-opt p { color: var(--muted); margin: 0 0 14px; }
.credit-opt ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.credit-opt li {
  position: relative;
  padding-left: 16px;
  font-size: .9rem;
  color: #3f5048;
}
.credit-opt li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
}
.credit-note { padding: 0 0 64px; }
.credit-note__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(20,32,26,.08);
  box-shadow: 0 12px 28px rgba(18,32,26,.05);
}
.credit-note h2 { margin: 0 0 8px; font-size: 1.25rem; }
.credit-note p { margin: 0; color: var(--muted); max-width: 58ch; }
.credit-note__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .credit-hero__inner { grid-template-columns: 1fr; gap: 22px; }
  .credit-visual__media { min-height: 280px; }
}
@media (max-width: 800px) {
  .credit-how__steps,
  .credit-options__grid { grid-template-columns: 1fr; }
}

/* Phone OTP auth modal */
.auth-modal--otp { width: min(440px, 100%); overflow: visible; }
.auth-brand-mark {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 2px 0 8px;
}
.auth-phone {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.auth-phone:focus-within {
  border-color: rgba(var(--green-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .15);
}
.auth-phone__prefix {
  display: grid;
  place-items: center;
  padding: 0 12px;
  background: #f3f6f4;
  color: #14201a;
  font-weight: 800;
  font-size: .95rem;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
.auth-phone input {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
  font-weight: 700;
  letter-spacing: .02em;
}
.auth-fine {
  margin: 12px 0 0;
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
}
.auth-code-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  margin-bottom: 14px;
  font-size: .88rem;
  color: var(--muted);
}
.auth-code-meta strong { color: var(--text); }
.auth-linkish {
  border: 0;
  background: transparent;
  color: var(--green-2);
  font: inherit;
  font-weight: 700;
  font-size: .84rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-code {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
}
/* minmax(0,1fr) + min-width:0 — иначе input size=20 не влезает и режется overflow */
.auth-modal .auth-code__digit,
.field .auth-code__digit {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  height: 54px;
  padding: 0;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--text);
  caret-color: var(--green);
  transition: border-color .15s, box-shadow .15s;
}
.auth-modal .auth-code__digit:focus,
.field .auth-code__digit:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
  background: #fff;
}
.auth-code__digit::-webkit-outer-spin-button,
.auth-code__digit::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@media (max-width: 420px) {
  .auth-code { gap: 6px; }
  .auth-modal .auth-code__digit,
  .field .auth-code__digit {
    height: 48px;
    font-size: 1.25rem;
    border-radius: 12px;
  }
}
.auth-resend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.auth-timer {
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
#authResend:disabled {
  opacity: .45;
  cursor: not-allowed;
  text-decoration: none;
}
.auth-modal--otp .auth-tabs { margin-bottom: 14px; }

.auth-modal--form { width: min(460px, 100%); max-height: min(92vh, 860px); overflow-y: auto; }
.auth-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 14px;
  padding: 4px;
  background: var(--bg-soft);
  border-radius: 12px;
}
.auth-mode-tab {
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--muted);
  cursor: pointer;
}
.auth-mode-tab.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(18,32,26,.08);
}
.auth-buyer-form .field { margin-bottom: 12px; }
.auth-buyer-form .req { color: #c0392b; }
.auth-pass { position: relative; }
.auth-pass input { width: 100%; padding-right: 48px; }
.auth-pass__toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1.5px solid #d5dce0;
  border-radius: 10px;
  background: #f3f5f4;
  color: #4a5b53;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 1;
}
.auth-pass__toggle:hover {
  border-color: #9aa89f;
  color: #12201a;
}
.auth-pass__toggle.is-on {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .18);
}
.auth-pass__ico {
  display: none;
  width: 18px;
  height: 18px;
}
.auth-pass__ico svg {
  display: block;
  width: 18px;
  height: 18px;
}
.auth-pass__toggle .auth-pass__ico--show { display: block; }
.auth-pass__toggle.is-on .auth-pass__ico--show { display: none; }
.auth-pass__toggle.is-on .auth-pass__ico--hide { display: block; }
.auth-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 8px 0 14px;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--muted);
}
.auth-consent input { margin-top: 2px; }
.auth-consent--row { margin-bottom: 8px; font-size: .88rem; color: var(--text); }
.auth-buyer-actions {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 8px;
}
.auth-social {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.auth-social__title {
  text-align: center;
  font-size: .84rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}
.auth-social__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 6px 4px 8px;
  overflow: visible;
}
.auth-social__btn {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  text-decoration: none;
  background: transparent;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  line-height: 0;
  cursor: pointer;
}
.auth-social__btn:hover {
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.06);
}
@keyframes auth-social-glow {
  0% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-3px) scale(1.16); }
  100% { transform: translateY(-1px) scale(1.06); }
}
.auth-social__btn.is-glow {
  animation: auth-social-glow .85s ease;
  z-index: 1;
}
.auth-social__btn[data-social="vkontakte"].is-glow {
  box-shadow: 0 0 0 4px rgba(0, 119, 255, .28), 0 0 22px rgba(0, 119, 255, .7);
  filter: drop-shadow(0 0 8px rgba(0, 119, 255, .55));
}
.auth-social__btn[data-social="google"].is-glow {
  box-shadow: 0 0 0 4px rgba(234, 67, 53, .22), 0 0 22px rgba(66, 133, 244, .55);
  filter: drop-shadow(0 0 8px rgba(234, 67, 53, .45));
}
.auth-social__btn[data-social="apple"].is-glow {
  box-shadow: 0 0 0 4px rgba(20, 20, 24, .18), 0 0 22px rgba(20, 20, 24, .45);
}
.auth-social__btn[data-social="odnoklassniki"].is-glow {
  box-shadow: 0 0 0 4px rgba(238, 130, 8, .28), 0 0 22px rgba(238, 130, 8, .7);
  filter: drop-shadow(0 0 8px rgba(238, 130, 8, .55));
}
.auth-social__btn[data-social="yandex"].is-glow {
  box-shadow: 0 0 0 4px rgba(252, 63, 29, .28), 0 0 22px rgba(252, 63, 29, .7);
  filter: drop-shadow(0 0 8px rgba(252, 63, 29, .55));
}
.auth-social__btn[data-social="mailru"].is-glow {
  box-shadow: 0 0 0 4px rgba(0, 95, 249, .28), 0 0 22px rgba(255, 158, 0, .55);
  filter: drop-shadow(0 0 8px rgba(0, 95, 249, .5));
}
.auth-social__img {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
}
.auth-social__note {
  text-align: center;
  margin-top: 12px;
  font-size: .78rem;
  line-height: 1.35;
  color: var(--muted);
  transition: color .25s ease, transform .25s ease;
}
.auth-social__note.is-flash {
  color: var(--text);
  transform: scale(1.02);
}
@media (max-width: 480px) {
  .auth-buyer-actions { grid-template-columns: 1fr; }
  .auth-social__row { gap: 8px; flex-wrap: nowrap; }
  .auth-social__btn { width: 38px; height: 38px; }
  .auth-social__img { width: 34px; height: 34px; }
}


/* ===== Callback modal ===== */
body.cb-open { overflow: hidden; }
.cb-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(12, 16, 20, .55);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 16px;
  animation: cbFade .2s ease;
}
.cb-overlay[hidden] { display: none !important; }
@keyframes cbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cb-modal {
  width: min(920px, 100%);
  max-height: min(92vh, 720px);
  display: grid;
  grid-template-columns: minmax(280px, .92fr) 1.08fr;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 70px rgba(10, 14, 18, .28);
  animation: cbPop .28s cubic-bezier(.22,1,.36,1);
}
@keyframes cbPop {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.cb-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 5;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(10,14,18,.1);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cb-modal__close:hover {
  background: #fff;
  border-color: rgba(var(--green-rgb), .45);
  color: var(--green);
}
.cb-modal__media {
  position: relative;
  min-height: 100%;
  background: #14201a;
  overflow: hidden;
}
.cb-modal__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.02);
}
.cb-modal__media-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,16,14,.25) 0%, rgba(10,16,14,.55) 42%, rgba(8,12,10,.88) 100%),
    linear-gradient(90deg, rgba(8,12,10,.2), transparent 40%);
}
.cb-modal__media-content {
  position: relative; z-index: 1;
  height: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 28px 24px 26px;
  color: #fff;
}
.cb-modal__badge {
  align-self: flex-start;
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(var(--green-rgb), .92);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cb-modal__media-title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
}
.cb-modal__media-text {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  line-height: 1.45;
  max-width: 32ch;
}
.cb-hours {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}
.cb-hours__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}
.cb-hours__row svg {
  width: 18px; height: 18px;
  margin-top: 2px;
  color: var(--green);
  flex-shrink: 0;
}
.cb-hours__row em {
  display: block;
  font-style: normal;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.62);
  font-weight: 600;
  margin-bottom: 2px;
}
.cb-hours__row span {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
}
.cb-modal__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  text-decoration: none;
}
.cb-modal__phone svg { width: 18px; height: 18px; color: var(--green); }
.cb-modal__phone:hover { color: #e8f7c8; }

.cb-modal__body {
  padding: 28px 28px 24px;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.cb-modal__kicker {
  color: var(--green);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cb-modal__body h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -.03em;
  line-height: 1.15;
}
.cb-modal__lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
.cb-form { display: grid; gap: 12px; }
.cb-form .field textarea {
  resize: vertical;
  min-height: 68px;
}
.cb-optional {
  color: #9aa3ad;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.cb-form__submit {
  width: 100%;
  margin-top: 4px;
  min-height: 48px;
  border-radius: 12px;
  font-size: .95rem;
}
.cb-form__note {
  margin: 0;
  font-size: .74rem;
  color: var(--muted);
  line-height: 1.4;
}
.cb-form__note a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cb-modal__form-wrap[hidden],
.cb-modal__success[hidden] { display: none !important; }
.cb-modal__success {
  margin: auto 0;
  text-align: center;
  padding: 24px 8px;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.cb-modal__success-ico {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 4px;
}
.cb-modal__success-ico svg { width: 26px; height: 26px; }
.cb-modal__success strong {
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.cb-modal__success p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  max-width: 34ch;
  line-height: 1.45;
}
.cb-modal__success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}
.cb-modal__success-actions .btn { border-radius: 12px; min-width: 140px; }

@media (max-width: 820px) {
  .cb-modal {
    grid-template-columns: 1fr;
    max-height: min(94vh, 860px);
    overflow: auto;
  }
  .cb-modal__media { min-height: 220px; }
  .cb-modal__media-content {
    min-height: 220px;
    padding: 18px 18px 16px;
    gap: 8px;
  }
  .cb-modal__media-text { display: none; }
  .cb-hours { grid-template-columns: 1fr 1fr; gap: 6px; }
  .cb-hours__row { padding: 8px 10px; }
  .cb-hours__row span { font-size: .78rem; }
  .cb-modal__phone { font-size: .95rem; }
  .cb-modal__body { padding: 20px 18px 18px; }
}
@media (max-width: 520px) {
  .cb-hours { grid-template-columns: 1fr; }
  .cb-modal__media-title { font-size: 1.25rem; }
}

/* ===== Welcome gift (first phone registration) ===== */
.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(132, 194, 35, .22), transparent 55%),
    rgba(12, 18, 16, .58);
  backdrop-filter: blur(10px);
  animation: welcomeIn .28s ease;
}
.welcome-overlay.is-out {
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
@keyframes welcomeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.welcome-modal {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(18, 32, 26, .28);
  padding: 32px 28px 26px;
  position: relative;
  overflow: hidden;
  animation: welcomeCard .4s cubic-bezier(.22, 1, .36, 1);
}
@keyframes welcomeCard {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.welcome-modal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), #b7e05a);
}
.welcome-modal__brand {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.welcome-modal__kicker {
  margin: 0 0 6px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--muted);
}
.welcome-modal h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text);
}
.welcome-modal__lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.welcome-modal__lead strong {
  color: var(--green-2, #5a9a12);
  font-weight: 800;
}
.welcome-modal__perks {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.welcome-modal__perks li {
  position: relative;
  padding: 10px 12px 10px 36px;
  border-radius: 14px;
  background: rgba(var(--green-rgb), .08);
  color: var(--text);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
}
.welcome-modal__perks li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--green) center / 10px 10px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
}
.welcome-modal__cta {
  width: 100%;
  min-height: 48px;
  font-weight: 800;
}

/* ===== Buyer profile form ===== */
.profile-form {
  display: grid;
  gap: 18px;
  max-width: 760px;
}
.profile-form__block {
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(132, 194, 35, .06), transparent 42%),
    #fff;
}
.profile-form__block h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.profile-form__lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.4;
}
.profile-form__hint {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .75rem;
}
.profile-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.profile-form__toast {
  font-size: .88rem;
  font-weight: 700;
  color: #3f6b0f;
}
.profile-form__toast.is-err { color: #dc2626; }
.profile-form input:disabled,
.profile-form input[readonly] {
  opacity: .85;
  cursor: not-allowed;
  background: #f3f6f4;
}
.profile-form [data-company-field][hidden] { display: none !important; }

/* ===== Profile avatar editor (buyer + staff) ===== */
.cab-ava {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(132, 194, 35, .06), transparent 42%),
    #fff;
  margin-bottom: 18px;
  max-width: 760px;
}
.cab-ava.is-loading { opacity: .7; pointer-events: none; }
.cab-ava__preview {
  position: relative;
  width: 96px;
  height: 96px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .18);
}
.cab-ava__preview:hover,
.cab-ava__preview:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--green-rgb), .4);
}
.cab-ava__letter {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  z-index: 1;
}
.cab-ava__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.cab-ava__img[hidden] { display: none !important; }
.cab-ava__hint {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(10, 14, 18, .5);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity .15s ease;
}
.cab-ava__preview:hover .cab-ava__hint,
.cab-ava__preview:focus-visible .cab-ava__hint {
  opacity: 1;
}
.cab-ava__copy { min-width: 0; flex: 1; }
.cab-ava__copy h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
}
.cab-ava__copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.4;
}
.cab-ava__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cab-ava [hidden] {
  display: none !important;
}
.cab-ava-meta {
  display: grid;
  gap: 0;
  max-width: 760px;
}
.cab-ava-meta .list-row { padding: 10px 0; }

@media (max-width: 640px) {
  .cab-ava {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Buyer tickets empty / create ===== */
.ticket-empty {
  display: grid;
  gap: 8px;
  place-items: start;
  padding: 18px 14px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: rgba(var(--green-rgb), .04);
}
.ticket-empty strong { font-size: .95rem; }
.ticket-empty span { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.ticket-create {
  margin-top: 16px;
  border: 1px solid rgba(var(--green-rgb), .25);
  background: linear-gradient(180deg, rgba(132,194,35,.07), #fff 40%);
}
.ticket-create h3 { margin: 0 0 12px; font-size: 1.05rem; }
.chat-msg--user .chat-msg__text {
  background: rgba(var(--green-rgb), .1);
}
.chat-msg--mod .chat-msg__text {
  background: #f3f6f4;
}

/* ===== Cabinet orders + cart ===== */
.cab-orders {
  display: grid;
  gap: 12px;
}
.cab-order {
  padding: 16px 18px;
  border-radius: 18px;
}
.cab-order__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.cab-order__num {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.cab-order__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.cab-order__lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .9rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(18,32,26,.06);
}
.cab-order__lines li:last-child { border-bottom: 0; }
.cab-order__summary { margin: 0 0 8px; font-size: .9rem; }
.cab-order__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cab-order__actions {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e5e7eb;
}
.warranty-product-card {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(132,194,35,.1), rgba(232,148,46,.08));
  border: 1px solid rgba(132,194,35,.22);
}
.warranty-product-card__title {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.35;
  margin-bottom: 6px;
}
.warranty-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: #5b6570;
  font-size: .78rem;
}
.warranty-create .field--full select { width: 100%; }
.cab-order__meta { font-size: .8rem; max-width: 60%; line-height: 1.35; }
.cab-order__total {
  display: grid;
  justify-items: end;
  gap: 2px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}
.cab-empty {
  display: grid;
  gap: 10px;
  place-items: start;
  padding: 28px 22px;
  border-radius: 20px;
  border: 1px dashed var(--line);
  background:
    linear-gradient(160deg, rgba(132,194,35,.1), transparent 55%),
    #fff;
}
.cab-empty--inline { padding: 20px 16px; border: 0; background: transparent; }
.cab-empty strong { font-size: 1.05rem; }
.cab-empty span { color: var(--muted); font-size: .9rem; line-height: 1.45; max-width: 42ch; }

.cab-cart {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .7fr);
  gap: 14px;
  align-items: start;
}
.cab-cart__side h3 { margin: 0 0 12px; font-size: 1.05rem; }
.cab-cart-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cab-cart-line:last-child { border-bottom: 0; }
.cab-cart-line__img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f6f4;
  display: grid;
  place-items: center;
}
.cab-cart-line__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cab-cart-line__title {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.3;
}
.cab-cart-line__title:hover { color: var(--green); }
.cab-cart-line__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.cab-cart-line__sum {
  font-weight: 800;
  white-space: nowrap;
}
#cartCheckoutBtn.is-disabled {
  opacity: .55;
  pointer-events: none;
}
@media (max-width: 860px) {
  .cab-cart { grid-template-columns: 1fr; }
  .cab-order__meta { max-width: 100%; }
  .cab-cart-line { grid-template-columns: 64px minmax(0, 1fr); }
  .cab-cart-line__sum { grid-column: 2; }
}

/* ===== Cabinet view history ===== */
.cab-views-preview {
  margin-top: 18px;
  padding-top: 6px;
}
.cab-views-preview .products {
  margin-top: 4px;
}
#panel-views .products {
  min-height: 120px;
}

/* ===== Notifications center ===== */
.notif-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr);
  gap: 14px;
  align-items: start;
}
.notif-feed {
  display: grid;
  gap: 0;
  padding: 8px;
  min-height: 220px;
}
.notif-feed .notif {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 12px;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-bottom: 1px solid rgba(18,32,26,.06);
}
.notif-feed .notif:last-child { border-bottom: 0; }
.notif-feed .notif:hover { background: rgba(var(--green-rgb), .06); }
.notif-feed .notif.unread strong { color: var(--text); }
.notif-prefs h3 { margin: 0 0 6px; font-size: 1.05rem; }
.notif-prefs__lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.4;
}
.notif-prefs__group {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.notif-prefs__group strong {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.notif-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(var(--green-rgb), .06);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
.notif-switch input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
@media (max-width: 860px) {
  .notif-layout { grid-template-columns: 1fr; }
}

/* ===== Task 8: buyer cabinet redesign ===== */
.cab--user .cab-main {
  display: grid;
  gap: 18px;
}
.cab--user .cab-main .section__head {
  margin-bottom: 14px;
  gap: 12px;
}
.cab--user .cab-main .section__head h2 {
  font-family: var(--font-nav);
  letter-spacing: -.02em;
  font-weight: 800;
}

.cab-hero--buyer {
  position: relative;
  overflow: hidden;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
  gap: 18px 22px;
  padding: 28px 28px 26px;
  min-height: 280px;
  animation: cabHeroIn .55s cubic-bezier(.22, 1, .36, 1);
}
.cab-hero--buyer::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 48%;
  height: 70%;
  background: radial-gradient(circle, rgba(var(--green-rgb), .28), transparent 70%);
  pointer-events: none;
  animation: cabGlow 6s ease-in-out infinite alternate;
}
@keyframes cabHeroIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes cabGlow {
  from { opacity: .55; transform: translate(0, 0); }
  to { opacity: 1; transform: translate(8%, 6%); }
}
.cab-hero__copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0;
  min-width: 0;
}
.cab-hero__brand {
  font-family: var(--font-nav);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  line-height: 1;
  margin-bottom: 10px;
}
.cab-hero__kicker {
  margin: 0 0 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9aa3b0;
}
.cab-hero--buyer h1 {
  font-family: var(--font-nav);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 10px;
  line-height: 1.15;
}
.cab-hero--buyer #overviewLead {
  max-width: 38ch;
  margin: 0 0 16px;
  line-height: 1.45;
}
.cab-hero__discount {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 16px;
  animation: cabDiscPulse 2.8s ease-in-out infinite;
}
@keyframes cabDiscPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--green-rgb), .0); }
  50% { box-shadow: 0 0 0 6px rgba(var(--green-rgb), .12); }
}
.cab-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cab-hero__visual {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  min-height: 200px;
  align-self: stretch;
  background:
    radial-gradient(circle at 70% 30%, rgba(var(--green-rgb), .18), transparent 55%),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  animation: cabVisualFloat 5.5s ease-in-out infinite alternate;
}
@keyframes cabVisualFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}
.cab-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cab-views-preview {
  margin-top: 4px;
  animation: fade .35s ease .08s both;
}
.cab-views-preview__head {
  margin-bottom: 12px !important;
}
.cab-views-preview__title {
  margin: 0;
  font-size: 1.2rem;
  font-family: var(--font-nav);
  font-weight: 800;
  letter-spacing: -.02em;
}

.cab-empty:not(.cab-empty--inline)::before {
  content: "";
  display: block;
  width: min(168px, 42vw);
  height: min(168px, 42vw);
  margin: 0 0 6px;
  background: url("/img/cabinet/empty.webp") center / contain no-repeat;
  opacity: .95;
}
.cab-empty--art {
  place-items: center;
  text-align: center;
  padding: 36px 22px;
}
.cab-empty--art span { max-width: 36ch; }

.welcome-modal__art {
  width: calc(100% + 56px);
  max-width: none;
  margin: -32px -28px 18px;
  height: 148px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  border-bottom: 1px solid var(--line);
}
.welcome-modal {
  padding-top: 0;
  overflow: hidden;
}

@media (max-width: 980px) {
  .cab,
  .cab-nav,
  .cab-main,
  .cab-panel {
    min-width: 0;
    max-width: 100%;
  }
  .cab--user .cab-nav--user,
  .cab--mod .cab-nav--mod {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .cab-hero--buyer {
    grid-template-columns: 1fr;
    padding: 22px 18px 20px;
    min-height: 0;
  }
  .cab-hero__visual {
    min-height: 160px;
    max-height: 200px;
    order: -1;
    animation: none;
  }
  .cab-hero__brand {
    font-size: 1.45rem;
    letter-spacing: .06em;
  }
  .cab--user .cab-nav--user {
    position: sticky;
    top: 58px;
    z-index: 30;
    border-radius: 18px;
    padding: 12px 12px 10px;
  }
  .cab--user .cab-user {
    padding: 4px 4px 12px;
    margin-bottom: 8px;
  }
  .cab--user .cab-nav__links {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0 4px;
    margin: 0;
    max-width: 100%;
  }
  .cab--user .cab-nav__links::-webkit-scrollbar { display: none; }
  .cab--user .cab-nav__links > a {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    padding: 8px 12px;
    background: rgba(255,255,255,.05);
    font-size: .82rem;
  }
  .cab--user .cab-nav__links > a.is-active {
    background: rgba(var(--green-rgb), .22);
  }
  .cab--mod .cab-nav > a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cab-hero--buyer,
  .cab-hero__visual,
  .cab-hero__discount,
  .cab-hero--buyer::before {
    animation: none !important;
  }
}

/* ===== Mod ticket inbox (task 10) ===== */
.mod-ticket-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: min(520px, 100%);
}
.mod-ticket-tools .mod-search {
  width: min(360px, 100%);
}
.mod-ticket-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(var(--green-rgb), .06);
  border: 1px solid rgba(var(--green-rgb), .16);
}
.mod-ticket-meta label {
  display: grid;
  gap: 4px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.mod-ticket-meta select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}
.ticket-item.is-unread {
  background: rgba(var(--green-rgb), .08);
  border-color: rgba(var(--green-rgb), .22);
}
.ticket-unread-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(var(--green-rgb), .2);
  vertical-align: middle;
}
.ticket-item__pri {
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  margin: 2px 0 4px;
}
.ticket-item__pri--high { color: #b45309; }
.ticket-item__pri--low { color: #6b7280; }
@media (max-width: 860px) {
  .mod-ticket-tools { align-items: stretch; max-width: none; }
  .mod-ticket-tools .mod-search { width: 100%; }
  .mod-ticket-meta { grid-template-columns: 1fr; }
}

/* ===== Mod orders inbox (task 11) ===== */
.mod-orders-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(120px, .7fr));
  gap: 10px;
  margin-bottom: 14px;
}
.mod-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.mod-orders-layout {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.35fr);
  gap: 14px;
  align-items: start;
}
.mod-orders-list {
  display: grid;
  gap: 6px;
  padding: 10px;
  max-height: min(72vh, 820px);
  overflow: auto;
}
.mod-order-item {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.mod-order-item:hover { background: rgba(var(--green-rgb), .06); }
.mod-order-item.is-active {
  background: rgba(var(--green-rgb), .12);
  border-color: rgba(var(--green-rgb), .28);
}
.mod-order-item__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}
.mod-order-item__name { font-weight: 700; font-size: .92rem; }
.mod-order-item__meta { color: var(--muted); font-size: .78rem; margin-top: 2px; }
.mod-order-item__sum {
  margin-top: 6px;
  font-weight: 800;
  color: var(--green);
  font-size: .95rem;
}
.mod-order-card { padding: 18px; }
.mod-order-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.mod-order-card__head h3 { margin: 2px 0 4px; font-size: 1.25rem; }
.mod-order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mod-order-block {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}
.mod-order-block h4 {
  margin: 0 0 8px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.mod-order-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.mod-order-lines li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(18,32,26,.06);
  font-size: .9rem;
}
.mod-order-lines li:last-child { border-bottom: 0; }
.mod-order-lines__qty { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.mod-order-totals { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.mod-order-form {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(var(--green-rgb), .06);
  border: 1px solid rgba(var(--green-rgb), .16);
  display: grid;
  gap: 12px;
}
.mod-order-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mod-order-form label {
  display: grid;
  gap: 4px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.mod-order-form select,
.mod-order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  background: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}
.mod-order-form textarea { resize: vertical; min-height: 72px; font-weight: 500; }
.mod-order-form__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .mod-orders-filters { grid-template-columns: 1fr 1fr; }
  .mod-orders-layout { grid-template-columns: 1fr; }
  .mod-order-grid { grid-template-columns: 1fr; }
  .mod-order-form__row { grid-template-columns: 1fr; }
  .mod-orders-list { max-height: 320px; }
}

/* ===== CRM client card (task 12) ===== */
.mod-client-form-section {
  margin: 8px 0 0;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.mod-crm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr);
  gap: 14px;
  align-items: start;
}
.mod-client-card { padding: 16px; position: sticky; top: 88px; max-height: min(78vh, 900px); overflow: auto; }
.mod-client-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.mod-client-card__head h3 { margin: 2px 0 4px; font-size: 1.2rem; }
.mod-client-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.mod-client-card__block {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
}
.mod-client-card__block h4 {
  margin: 0 0 8px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.mod-crm-stack { display: grid; gap: 6px; }
.mod-crm-linkrow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(var(--green-rgb), .05);
  font-size: .84rem;
  text-decoration: none;
  color: inherit;
}
.mod-crm-linkrow:hover { background: rgba(var(--green-rgb), .12); }
.mod-crm-note-form { display: grid; gap: 8px; }
.mod-crm-note-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
  min-height: 72px;
}
.mod-crm-notes { display: grid; gap: 8px; }
.mod-crm-note {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(18,32,26,.04);
  font-size: .88rem;
  line-height: 1.4;
}
.mod-crm-note__meta {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}
@media (max-width: 980px) {
  .mod-crm-layout { grid-template-columns: 1fr; }
  .mod-client-card { position: static; max-height: none; }
}

.admin-login {
  padding: 48px 0 72px;
  display: grid;
  place-items: center;
}
.admin-login__card {
  width: min(420px, 100%);
  padding: 28px 24px;
  border-radius: 18px;
}
.admin-login__card h1 {
  margin: 6px 0 8px;
  font-size: 1.55rem;
}
.admin-login__form .field { margin-bottom: 12px; }
.admin-login__back { margin: 18px 0 0; text-align: center; font-size: .9rem; }
.auth-role-cards--single { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
.auth-role-cards--single { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }

/* ===== Warranty queue (mod): cards + modal ===== */
#panel-m-warranty.cab-panel.is-active { display: block; }
.wq-shell { display: grid; gap: 18px; }
.wq-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 24px;
  align-items: end;
  padding: 18px 20px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(132,194,35,.16), transparent 55%),
    linear-gradient(145deg, #f7faf4 0%, #ffffff 55%);
  border: 1px solid rgba(132,194,35,.18);
}
.wq-toolbar__title h2 { margin: 2px 0 6px; font-size: 1.45rem; }
.wq-toolbar__title .section__sub { margin: 0; max-width: 46ch; }
.wq-toolbar__controls {
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: min(420px, 100%);
}
.wq-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0 12px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d8dee6;
}
.wq-search svg { width: 18px; height: 18px; color: #8b95a1; flex-shrink: 0; }
.wq-search input {
  border: 0; outline: 0; width: 100%; background: transparent;
  font: inherit; color: var(--text);
}
.wq-filters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.wq-chip {
  border: 1px solid #d5dbe3;
  background: #fff;
  color: #4b5563;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: .15s ease;
}
.wq-chip:hover { border-color: rgba(132,194,35,.45); color: #3f6b0f; }
.wq-chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(132,194,35,.28);
}

.wq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.wq-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  place-items: start;
  padding: 36px 24px;
  border-radius: 20px;
  border: 1px dashed #d5dbe3;
  background: #fff;
}
.wq-empty strong { font-size: 1.05rem; }
.wq-empty span { color: #6b7280; max-width: 40ch; line-height: 1.45; }

.wq-card {
  text-align: left;
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e4e8ee;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 28, 24, .04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative;
  overflow: hidden;
}
.wq-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #cbd5e1;
}
.wq-card--new::before { background: #e8942e; }
.wq-card--progress::before { background: #3b82f6; }
.wq-card--ok::before { background: var(--green); }
.wq-card--bad::before { background: #ef4444; }
.wq-card--done::before { background: #94a3b8; }
.wq-card:hover {
  transform: translateY(-2px);
  border-color: rgba(132,194,35,.35);
  box-shadow: 0 14px 28px rgba(20, 28, 24, .08);
}
.wq-card.is-unread {
  background: linear-gradient(160deg, rgba(232,148,46,.08), #fff 42%);
  border-color: rgba(232,148,46,.28);
}
.wq-card__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.wq-card__num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #1f2937;
}
.wq-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #e8942e;
  box-shadow: 0 0 0 3px rgba(232,148,46,.25);
  display: inline-block;
}
.wq-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.wq-badge--new { background: #fff4e5; color: #b45309; }
.wq-badge--progress { background: #e8f0fe; color: #1d4ed8; }
.wq-badge--ok { background: rgba(132,194,35,.16); color: #3f6b0f; }
.wq-badge--bad { background: #fee2e2; color: #b91c1c; }
.wq-badge--done { background: #eef2f7; color: #475569; }
.wq-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 800;
}
.wq-card__product {
  font-size: .82rem;
  color: #4b5563;
  font-weight: 600;
  line-height: 1.35;
}
.wq-card__preview {
  margin: 0;
  font-size: .8rem;
  color: #6b7280;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wq-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px dashed #e8eaed;
}
.wq-card__client {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.wq-avatar {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #84c223, #5f9210);
  color: #fff; font-weight: 800; font-size: .85rem;
  flex-shrink: 0;
}
.wq-card__client strong {
  display: block;
  font-size: .8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.wq-card__client small {
  display: block;
  color: #8b95a1;
  font-size: .7rem;
}
.wq-card__foot time {
  color: #8b95a1;
  font-size: .7rem;
  white-space: nowrap;
}

body.wq-modal-open { overflow: hidden; }
.wq-modal[hidden] { display: none !important; }
.wq-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
}
.wq-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 32, .52);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.wq-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: #f4f6f8;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.4);
}
.wq-modal__body { padding: 18px 18px 20px; }
.wq-modal__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  padding: 6px 4px 16px;
  border-bottom: 1px solid #e5e9ef;
  margin-bottom: 16px;
}
.wq-modal__kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.wq-modal__head h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  line-height: 1.3;
}
.wq-modal__client { margin: 0; color: #5b6570; font-size: .88rem; }
.wq-modal__head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.wq-modal__close {
  width: 36px; height: 36px;
  border-radius: 11px;
  border: 1px solid #d5dbe3;
  background: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: #4b5563;
}
.wq-modal__close:hover { border-color: #94a3b8; color: #111; }

.wq-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  gap: 14px;
  align-items: start;
}
.wq-modal__main,
.wq-modal__side { display: grid; gap: 12px; }
.wq-product {
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(132,194,35,.12), rgba(59,130,246,.06));
  border: 1px solid rgba(132,194,35,.2);
}
.wq-product__label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5b6570;
  margin-bottom: 4px;
}
.wq-product strong { display: block; font-size: .98rem; margin-bottom: 6px; }
.wq-product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: #5b6570;
  font-size: .78rem;
}
.wq-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e9ef;
}
.wq-empty-chat { color: #8b95a1; padding: 18px; text-align: center; }
.wq-msg {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3f5f7;
  border: 1px solid #e8eaed;
}
.wq-msg--user { align-self: flex-start; }
.wq-msg--mod {
  align-self: flex-end;
  background: rgba(132,194,35,.12);
  border-color: rgba(132,194,35,.28);
}
.wq-msg__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: .72rem;
  color: #6b7280;
  margin-bottom: 5px;
}
.wq-msg__head strong { color: #1f2937; }
.wq-msg__text { font-size: .92rem; line-height: 1.5; white-space: pre-wrap; }

.wq-side-card {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 10px;
}
.wq-side-card h4 { margin: 0; font-size: .92rem; }
.wq-side-card label {
  display: grid;
  gap: 5px;
  font-size: .78rem;
  font-weight: 700;
  color: #4b5563;
}
.wq-side-card select,
.wq-side-card textarea {
  width: 100%;
  border: 1px solid #d5dbe3;
  border-radius: 11px;
  padding: 10px 11px;
  font: inherit;
  background: #fff;
  color: var(--text);
}
.wq-side-card select:focus,
.wq-side-card textarea:focus {
  outline: none;
  border-color: rgba(132,194,35,.55);
  box-shadow: 0 0 0 3px rgba(132,194,35,.14);
}
.wq-reply__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .wq-modal__grid { grid-template-columns: 1fr; }
  .wq-toolbar__controls { justify-items: stretch; min-width: 0; width: 100%; }
  .wq-filters { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .wq-modal { padding: 8px; }
  .wq-modal__dialog { border-radius: 16px; max-height: 96vh; }
  .wq-modal__body { padding: 12px; }
}

.wq-shell--support .wq-toolbar {
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(59,130,246,.14), transparent 55%),
    linear-gradient(145deg, #f5f8fc 0%, #ffffff 55%);
  border-color: rgba(59,130,246,.16);
}
.wq-shell--support .wq-chip.is-active {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37,99,235,.28);
}
.wq-shell--support .wq-avatar--support {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
}
.wq-pri-high { color: #b45309; font-weight: 800; }
.wq-shell--support .wq-modal__kicker { color: #2563eb; }

/* ===== CRM clients list + drawer ===== */
.crm-shell {
  display: grid;
  gap: 14px;
}
.crm-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(132,194,35,.18);
  background:
    radial-gradient(ellipse 70% 120% at 0% 0%, rgba(132,194,35,.14), transparent 55%),
    linear-gradient(145deg, #f7faf3 0%, #ffffff 55%);
}
.crm-toolbar__title h2 { margin: 2px 0 4px; }
.crm-toolbar__title .section__sub { margin: 0; max-width: 52ch; }
.crm-toolbar__controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.crm-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(320px, 70vw);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #d7dde6;
  background: #fff;
}
.crm-search svg { width: 18px; height: 18px; color: #8b95a1; flex: 0 0 auto; }
.crm-search input {
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  background: transparent;
}
.crm-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.crm-chip {
  border: 1px solid #d7dde6;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}
.crm-chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(132,194,35,.28);
}
.crm-list-head,
.crm-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) minmax(160px, 1.1fr) minmax(140px, .9fr) minmax(140px, .9fr) 28px;
  gap: 12px;
  align-items: center;
}
.crm-list-head {
  padding: 0 16px;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8b95a1;
  font-weight: 700;
}
.crm-list {
  display: grid;
  gap: 8px;
}
.crm-row {
  width: 100%;
  text-align: left;
  border: 1px solid #e5e9ef;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.crm-row:hover {
  border-color: rgba(132,194,35,.45);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  transform: translateY(-1px);
}
.crm-row.is-active {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(132,194,35,.18);
}
.crm-row__who,
.crm-row__contacts,
.crm-row__deal,
.crm-row__activity {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.crm-row__who {
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 10px;
}
.crm-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #9ad63a, #6fa918);
  color: #fff;
  font-weight: 800;
}
.crm-row strong {
  font-size: .95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crm-row small {
  color: #6b7280;
  font-size: .8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crm-disc { color: var(--green); font-weight: 800; }
.crm-disc--lg { font-size: 1.35rem; }
.crm-row__go {
  color: #94a3b8;
  font-size: 1.1rem;
  justify-self: end;
}
.crm-empty {
  display: grid;
  gap: 6px;
  place-items: start;
  padding: 36px 24px;
  border-radius: 18px;
  border: 1px dashed #d5dbe3;
  background: #fff;
}
.crm-empty span { color: #6b7280; max-width: 42ch; }

.crm-drawer[hidden] { display: none !important; }
.crm-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
}
.crm-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, .42);
  cursor: pointer;
}
.crm-drawer__panel {
  position: relative;
  width: min(560px, 100vw);
  height: 100%;
  background: #f8faf8;
  box-shadow: -18px 0 50px rgba(15, 23, 42, .18);
  overflow: auto;
  animation: crmDrawerIn .22s ease;
}
@keyframes crmDrawerIn {
  from { transform: translateX(18px); opacity: .6; }
  to { transform: translateX(0); opacity: 1; }
}
body.crm-drawer-open { overflow: hidden; }
.crm-drawer__body { padding: 18px 18px 40px; }
.crm-drawer__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.crm-drawer__head h3 { margin: 2px 0 6px; font-size: 1.35rem; }
.crm-drawer__head-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.crm-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid #d7dde6;
  background: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.crm-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.crm-stats > div {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}
.crm-stats span { color: #8b95a1; font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }
.crm-stats strong { font-size: .92rem; }
.crm-drawer__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.crm-section {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 12px;
}
.crm-section h4 {
  margin: 0 0 12px;
  font-size: .95rem;
}
.crm-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.crm-form__grid .field--full { grid-column: 1 / -1; }
.crm-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}
.crm-stack,
.crm-notes,
.crm-sessions { display: grid; gap: 8px; }
.crm-linkrow,
.crm-session {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f7fa;
  text-decoration: none;
  color: inherit;
  font-size: .88rem;
}
.crm-linkrow:hover { background: #eef6e3; }
.crm-session { align-items: flex-start; }
.crm-session > div { display: grid; gap: 2px; }
.crm-session small { color: #6b7280; }
.crm-session__ip {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem;
  color: #64748b;
}
.crm-note {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f7fa;
  font-size: .9rem;
}
.crm-note__meta {
  color: #8b95a1;
  font-size: .78rem;
  margin-bottom: 4px;
}
.crm-note-form {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.crm-note-form textarea {
  width: 100%;
  border: 1px solid #d7dde6;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}
.crm-muted { margin: 0; font-size: .86rem; }
.crm-drawer__loading { padding: 40px 12px; text-align: center; }

@media (max-width: 900px) {
  .crm-list-head { display: none; }
  .crm-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }
  .crm-row__who { grid-column: 1 / 2; }
  .crm-row__go { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .crm-row__contacts,
  .crm-row__deal,
  .crm-row__activity { grid-column: 1 / -1; }
  .crm-form__grid { grid-template-columns: 1fr; }
  .crm-stats { grid-template-columns: 1fr; }
}

/* ===== Mod nav collapsible groups ===== */
.cab-nav-group {
  margin: 2px 0;
}
.cab-nav-group__row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cab-nav-group__main {
  flex: 1;
  min-width: 0;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: .88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
span.cab-nav-group__main {
  cursor: default;
  opacity: .92;
}
.cab-nav-group__toggle {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255,255,255,.06);
  color: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.cab-nav-group__toggle:hover {
  background: rgba(var(--green-rgb), .2);
  color: var(--green);
}
.cab-nav-group.is-open > .cab-nav-group__row .cab-nav-group__toggle {
  background: rgba(var(--green-rgb), .16);
  color: var(--green);
}
.cab-nav-group__sub {
  display: grid;
  gap: 2px;
  padding: 2px 0 6px 12px;
  margin: 0 0 4px 8px;
  border-left: 2px solid rgba(255,255,255,.1);
}
.cab-nav-group__sub[hidden] {
  display: none !important;
}
.cab-nav-group__sub > a {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: .84rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  opacity: .88;
}
.cab--mod .cab-nav .cab-nav-group__main,
.cab--mod .cab-nav .cab-nav-group__sub > a,
.cab--mod .cab-nav .cab-nav-group__toggle {
  color: #c5ccd6;
}
.cab--mod .cab-nav .cab-nav-group__main:hover,
.cab--mod .cab-nav .cab-nav-group__main.is-active,
.cab--mod .cab-nav .cab-nav-group__main.is-current,
.cab--mod .cab-nav .cab-nav-group__sub > a:hover,
.cab--mod .cab-nav .cab-nav-group__sub > a.is-active {
  background: rgba(var(--green-rgb), .14);
  color: var(--green);
  opacity: 1;
}
.cab--mod .cab-nav-group.is-open {
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: 2px;
}
.cab--mod .cab-nav-group__sub {
  border-left-color: rgba(var(--green-rgb), .35);
}

/* ===== CRM history + discounts pages ===== */
.crm-toolbar--loyalty {
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(132,194,35,.16), transparent 55%),
    linear-gradient(145deg, #f4f9ec 0%, #ffffff 55%);
}
.crm-search--select {
  min-width: min(420px, 78vw);
}
.crm-select-plain {
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  background: transparent;
  color: inherit;
  appearance: none;
  cursor: pointer;
}
.crm-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 14px;
  align-items: start;
}
.crm-panel {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 20px;
  padding: 16px 18px;
}
.crm-panel__title {
  margin: 0 0 14px;
  font-size: 1rem;
}
.crm-panel__body { margin-bottom: 14px; }
.crm-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.crm-empty--soft {
  border-style: solid;
  border-color: #e8edf3;
  background: #f8fafb;
}
.crm-hist-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.crm-hist-head h3 { margin: 0 0 2px; font-size: 1.2rem; }
.crm-hist-head .muted { margin: 0; }
.crm-avatar--lg {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 1.15rem;
}
.crm-stats { margin-bottom: 0; }
#modHistoryProfile .crm-stats {
  grid-template-columns: 1fr 1fr;
}

.loyalty-board {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 20px;
  padding: 16px 18px;
}
.loyalty-board h3 { margin: 0 0 12px; font-size: 1rem; }
.loyalty-board__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.loyalty-board__tier {
  display: grid;
  gap: 4px;
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid #e8edf3;
  background: linear-gradient(160deg, #fbfcfd, #f4f7f2);
}
.loyalty-board__level {
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8b95a1;
}
.loyalty-board__tier strong {
  font-size: 1.25rem;
  color: var(--green);
}
.loyalty-board__tier span {
  color: #6b7280;
  font-size: .8rem;
  line-height: 1.35;
}
.loyalty-board__tier--gold { border-color: rgba(212,175,55,.35); background: linear-gradient(160deg, #fffdf5, #faf6e8); }
.loyalty-board__tier--platinum { border-color: rgba(148,163,184,.45); background: linear-gradient(160deg, #f8fafc, #eef2f7); }
.loyalty-board__tier--diamond { border-color: rgba(56,189,248,.35); background: linear-gradient(160deg, #f0fbff, #e8f7fc); }

.crm-disc-form { display: grid; gap: 12px; }
.crm-disc-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.crm-disc-form .field label {
  display: block;
  margin-bottom: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: #64748b;
}
.crm-disc-form .field input,
.crm-disc-form .field select {
  width: 100%;
  border: 1px solid #d7dde6;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
.crm-disc-list {
  display: grid;
  gap: 8px;
  max-height: min(62vh, 640px);
  overflow: auto;
}
.crm-disc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f5f7fa;
}
.crm-disc-row__who {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.crm-disc-row__who strong,
.crm-disc-row__who small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crm-disc-row__who small { color: #6b7280; font-size: .8rem; }
.crm-disc-row__val {
  text-align: right;
  display: grid;
  gap: 2px;
}
.crm-disc-row__val small { color: #6b7280; font-size: .78rem; }

@media (max-width: 900px) {
  .crm-split { grid-template-columns: 1fr; }
  .loyalty-board__grid { grid-template-columns: 1fr 1fr; }
  .crm-disc-form__row { grid-template-columns: 1fr; }
  .crm-hist-head { grid-template-columns: auto 1fr; }
  .crm-hist-head .crm-disc--lg { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .loyalty-board__grid { grid-template-columns: 1fr; }
}

.crm-disc-hint {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  color: #6b7280;
}
#modDiscountValue[readonly] {
  background: #f3f5f7;
  color: #334155;
  cursor: default;
}
#modDiscountToast {
  display: inline-block;
  margin-top: 8px;
}

/* ===== Mod orders modern shell ===== */
.crm-toolbar--orders {
  background:
    radial-gradient(ellipse 65% 110% at 100% 0%, rgba(59,130,246,.08), transparent 50%),
    radial-gradient(ellipse 70% 120% at 0% 0%, rgba(132,194,35,.14), transparent 55%),
    linear-gradient(145deg, #f7faf3 0%, #ffffff 55%);
}
.ord-shell { display: grid; gap: 12px; }
.ord-date {
  border: 1px solid #d7dde6;
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  min-width: 148px;
}
.ord-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ord-chip {
  border: 1px solid #d7dde6;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: .84rem;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.ord-chip:hover { border-color: rgba(132,194,35,.45); background: rgba(132,194,35,.06); }
.ord-chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(132,194,35,.28);
}
.ord-chip--archive.is-active {
  background: #475569;
  border-color: #475569;
  box-shadow: 0 4px 12px rgba(71,85,105,.28);
}
.ord-chip__n {
  display: inline-flex;
  min-width: 1.4em;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  background: rgba(15,23,42,.08);
  color: inherit;
}
.ord-chip.is-active .ord-chip__n { background: rgba(255,255,255,.22); }
.ord-layout {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(0, 1.28fr);
  gap: 14px;
  align-items: start;
}
.ord-list {
  display: grid;
  gap: 8px;
  max-height: min(72vh, 760px);
  overflow: auto;
  padding: 4px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.06);
  background: linear-gradient(180deg, #f8faf8 0%, #fff 40%);
}
.ord-list-empty { margin: 12px; }
.ord-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: 0 1px 0 rgba(15,23,42,.04);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.ord-row:hover {
  border-color: rgba(132,194,35,.28);
  background: rgba(132,194,35,.04);
}
.ord-row.is-active {
  border-color: rgba(132,194,35,.45);
  background: rgba(132,194,35,.08);
  box-shadow: 0 8px 20px rgba(132,194,35,.12);
}
.ord-row__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.ord-row__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.ord-row__meta strong {
  font-size: .92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ord-row__meta small {
  color: var(--muted);
  font-size: .78rem;
}
.ord-row__side {
  display: grid;
  justify-items: end;
  gap: 6px;
  flex: 0 0 auto;
}
.ord-row__sum {
  font-size: .9rem;
  color: #0f172a;
  white-space: nowrap;
}
.ord-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ord-badge--new { background: #eff6ff; color: #1d4ed8; }
.ord-badge--progress { background: #fff7ed; color: #c2410c; }
.ord-badge--ok { background: #ecfdf5; color: #047857; }
.ord-badge--ship { background: #f0f9ff; color: #0369a1; }
.ord-badge--done { background: #f1f5f9; color: #475569; }
.ord-badge--bad { background: #fef2f2; color: #b91c1c; }
.ord-card {
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  padding: 18px 20px;
  min-height: 280px;
  box-shadow: 0 10px 30px rgba(15,23,42,.04);
}
.ord-card .mod-order-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15,23,42,.06);
}
@media (max-width: 960px) {
  .ord-layout { grid-template-columns: 1fr; }
  .ord-list { max-height: 360px; }
  .crm-toolbar--orders .crm-toolbar__controls { width: 100%; }
  .ord-date { flex: 1; min-width: 0; }
}

/* Orders queue: cards + modal (align with warranty/tickets) */
.wq-shell--orders .wq-modal__kicker { color: var(--green); }
.wq-card--ship::before { background: #0ea5e9; }
.wq-badge--ship { background: #e0f2fe; color: #0369a1; }
.wq-filters.ord-filters { margin-bottom: 4px; justify-content: flex-start; }
.wq-chip .ord-chip__n {
  display: inline-flex;
  min-width: 1.35em;
  justify-content: center;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  background: rgba(15,23,42,.08);
}
.wq-chip.is-active .ord-chip__n { background: rgba(255,255,255,.22); }
.wq-shell--orders .ord-date {
  border: 1px solid #d7dde6;
  border-radius: 12px;
  padding: 9px 11px;
  background: #fff;
  font: inherit;
  font-size: .86rem;
  font-weight: 600;
}
.wq-shell--orders .mod-order-form label {
  display: grid;
  gap: 4px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 10px;
}
.wq-shell--orders .mod-order-form select,
.wq-shell--orders .mod-order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}
.wq-shell--orders .mod-order-form textarea { resize: vertical; min-height: 88px; font-weight: 500; }
.wq-shell--orders .mod-order-block {
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}
.wq-shell--orders .mod-order-block h4 {
  margin: 0 0 8px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
}
.wq-shell--orders .mod-order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

/* ===== Products admin — polished UI ===== */
.prd-shell { display: grid; gap: 14px; }
.prd-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(132,194,35,.2);
  background:
    radial-gradient(ellipse 55% 120% at 100% 0%, rgba(59,130,246,.08), transparent 50%),
    radial-gradient(ellipse 70% 120% at 0% 0%, rgba(132,194,35,.16), transparent 55%),
    linear-gradient(145deg, #f4faf0 0%, #ffffff 58%);
  box-shadow: 0 10px 28px rgba(15,23,42,.04);
}
.prd-toolbar__title h2 { margin: 2px 0 4px; font-size: 1.45rem; }
.prd-toolbar__title .section__sub { margin: 0; max-width: 56ch; color: #64748b; }

.prd-filters {
  display: grid;
  gap: 12px;
  padding: 14px 16px 16px;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,23,42,.04);
}
.prd-filters__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.prd-filters__head strong {
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
}
.prd-filters__row {
  display: grid;
  grid-template-columns: minmax(200px, 1.5fr) minmax(120px, .8fr) minmax(140px, .9fr) minmax(140px, .9fr);
  gap: 10px 12px;
  align-items: end;
}
.prd-filters__row--cat { grid-template-columns: 1fr; }
.prd-field {
  display: grid;
  gap: 5px;
  margin: 0;
  min-width: 0;
}
.prd-field > span {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #64748b;
}
.prd-field input,
.prd-field select,
.prd-site-cat select {
  width: 100%;
  border: 1px solid #d7dde6;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fbfcfd;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.prd-field input:focus,
.prd-field select:focus,
.prd-site-cat select:focus {
  outline: 0;
  border-color: rgba(132,194,35,.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(132,194,35,.16);
}
.prd-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d7dde6;
  border-radius: 12px;
  padding: 0 12px;
  background: #fbfcfd;
}
.prd-input:focus-within {
  border-color: rgba(132,194,35,.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(132,194,35,.16);
}
.prd-input svg { width: 16px; height: 16px; color: #94a3b8; flex: 0 0 auto; }
.prd-input input {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 10px 0 !important;
}
.prd-field--site-cat { grid-column: 1 / -1; }
.prd-site-cat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.prd-flash {
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(132,194,35,.28);
  background: rgba(132,194,35,.08);
  font-size: .9rem;
  font-weight: 600;
}

.prd-table-card {
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  box-shadow: 0 14px 36px rgba(15,23,42,.05);
  overflow: hidden;
}
.prd-listbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(15,23,42,.06);
  background: linear-gradient(180deg, #f8faf8 0%, #fff 100%);
}
.prd-listbar__meta {
  display: grid;
  gap: 2px;
}
.prd-listbar__meta strong {
  font-size: .95rem;
  color: #0f172a;
}
.prd-listbar__hint {
  font-size: .75rem;
  color: #94a3b8;
}
.prd-listbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.prd-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}
.prd-pager {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 4px 6px 4px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.prd-pager__per,
.prd-pager__goto {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  color: #64748b;
}
.prd-pager__per select,
.prd-pager__goto input {
  width: auto;
  min-width: 52px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 5px 8px;
  font: inherit;
  font-weight: 800;
  background: #f8fafc;
  text-align: center;
}
.prd-pager__goto input { width: 56px; }
.prd-pager__btn {
  border: 0;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 999px;
  min-width: 34px;
  height: 32px;
  padding: 0 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.prd-pager__btn:hover:not(:disabled) { background: rgba(132,194,35,.18); }
.prd-pager__btn:disabled { opacity: .45; cursor: default; }

.prd-table-wrap { overflow: auto; max-height: min(70vh, 820px); }
.prd-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .9rem;
}
.prd-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
  font-size: .7rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 800;
}
.prd-table tbody td {
  padding: 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.prd-table tbody tr {
  transition: background .12s ease;
}
.prd-table tbody tr:hover td { background: rgba(132,194,35,.05); }
.prd-table tbody tr.is-active td {
  background: rgba(132,194,35,.1);
}
.prd-table tbody tr.is-hidden-product td { opacity: .72; }
.prd-col-check { width: 40px; }
.prd-col-photo { width: 72px; }
.prd-col-brand { width: 140px; color: #334155; font-weight: 600; }
.prd-col-price { width: 120px; white-space: nowrap; }
.prd-col-price strong { color: #166534; font-size: .95rem; }
.prd-col-stock { width: 120px; }
.prd-col-act { width: 110px; text-align: right; }
.prd-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: grid;
  place-items: center;
}
.prd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prd-thumb__empty {
  font-size: .68rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}
.prd-name {
  display: block;
  font-size: .92rem;
  line-height: 1.3;
  color: #0f172a;
  margin-bottom: 6px;
}
.prd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.prd-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: .7rem;
  font-weight: 700;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prd-tag--muted { background: #eef2ff; color: #4338ca; }
.prd-tag--cat { background: rgba(132,194,35,.12); color: #3f6b0f; }
.prd-stock {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.prd-stock.is-yes { background: #ecfdf5; color: #047857; }
.prd-stock.is-no { background: #fff7ed; color: #c2410c; }
.prd-empty {
  padding: 36px 16px;
  text-align: center;
  color: #64748b;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .prd-filters__row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .prd-site-cat { grid-template-columns: 1fr; }
  .prd-col-brand { display: none; }
  .prd-table thead th.prd-col-brand { display: none; }
}
@media (max-width: 640px) {
  .prd-filters__row { grid-template-columns: 1fr; }
  .prd-pager { width: 100%; justify-content: space-between; border-radius: 14px; }
  .prd-col-stock { display: none; }
  .prd-table thead th.prd-col-stock { display: none; }
}

/* Product category picker (site vs supplier folder) */
.prd-cat-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}
.prd-cat-mode {
  border: 1px solid #d7dde6;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.prd-cat-mode.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.prd-cat-note {
  margin: 0 0 10px;
  font-size: .78rem;
  line-height: 1.35;
  color: #64748b;
}
.prd-cat-site {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.prd-cat-site select,
.prd-cat-storage input {
  width: 100%;
  border: 1px solid #d7dde6;
  border-radius: 10px;
  padding: 7px 9px;
  font: inherit;
  font-size: .86rem;
  font-weight: 600;
}
.prd-cat-storage { margin-bottom: 8px; }
.prd-cat-pick-label {
  display: block;
  margin: 0 0 4px;
  font-size: .7rem !important;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}
.prd-cat-current {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  color: #3f6b0f;
  font-weight: 600;
}
@media (max-width: 640px) {
  .prd-cat-site { grid-template-columns: 1fr; }
}

.prd-hint {
  font-style: normal;
  font-weight: 600;
  font-size: .72em;
  color: #94a3b8;
  text-transform: none;
  letter-spacing: 0;
  margin-left: 4px;
}
.mod-product-modal--compact .mod-product-modal__dialog {
  width: min(720px, 100%);
  font-size: .9rem;
}
.mod-product-modal--compact .mod-product-modal__head { padding: 10px 14px 8px; }
.mod-product-modal--compact .mod-product-modal__head h3 { font-size: 1.02rem; }
.mod-product-modal--compact .mod-product-modal__body { padding: 10px 14px; }
.mod-product-modal--compact .mod-product-form__main { gap: 8px 10px; }
.mod-product-modal--compact .mod-product-form__main .field label { font-size: .7rem; margin-bottom: 2px; }
.mod-product-modal--compact .mod-product-form__main .field input,
.mod-product-modal--compact .mod-product-form__main .field select,
.mod-product-modal--compact .mod-product-form__main .field textarea {
  padding: 7px 9px;
  font-size: .86rem;
  border-radius: 10px;
}
.mod-product-modal--compact .mod-product-form__cat select { max-height: 110px; }
.mod-product-modal--compact .mod-product-form__more { margin-top: 8px; font-size: .86rem; }
.mod-product-modal--compact .mod-product-modal__foot { padding: 10px 14px; gap: 8px; }
.mod-product-modal--compact .mod-cover-preview--sm { width: 72px; height: 72px; }

/* ===== Import / Export compact two-column ===== */
.imp-shell { display: grid; gap: 14px; }
.imp-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(132,194,35,.18);
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(59,130,246,.07), transparent 50%),
    radial-gradient(ellipse 70% 120% at 0% 0%, rgba(132,194,35,.14), transparent 55%),
    linear-gradient(145deg, #f7faf3 0%, #fff 58%);
}
.imp-toolbar__title h2 { margin: 2px 0 4px; }
.imp-toolbar__title .section__sub { margin: 0; max-width: 52ch; }
.imp-disk {
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  min-width: 140px;
}
.imp-disk strong { font-size: 1.05rem; }
.imp-disk span { font-size: .75rem; color: #64748b; font-weight: 600; }
.imp-disk.is-warn { border-color: #f59e0b; background: #fffbeb; }
.imp-flash {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .9rem;
}
.imp-flash.is-ok { background: rgba(132,194,35,.12); border: 1px solid rgba(132,194,35,.3); }
.imp-flash.is-err { background: #fff5f5; border: 1px solid #f1c0c0; color: #9b1c1c; }

.imp-layout {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.3fr);
  gap: 14px;
  align-items: start;
}
.imp-list {
  display: grid;
  gap: 8px;
  max-height: min(72vh, 760px);
  overflow: auto;
  padding: 4px;
}
.imp-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: #fff;
  border-radius: 14px;
  padding: 11px 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: 0 1px 0 rgba(15,23,42,.04);
  border-color: rgba(15,23,42,.06);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.imp-row:hover { border-color: rgba(132,194,35,.35); background: rgba(132,194,35,.04); }
.imp-row.is-active {
  border-color: rgba(132,194,35,.5);
  background: rgba(132,194,35,.09);
  box-shadow: 0 8px 20px rgba(132,194,35,.12);
}
.imp-row__main { display: grid; gap: 2px; min-width: 0; }
.imp-row__main strong { font-size: .92rem; }
.imp-row__main small { color: #94a3b8; font-size: .75rem; }
.imp-row__side { display: grid; justify-items: end; gap: 4px; flex: 0 0 auto; }
.imp-row__count { font-size: .86rem; color: #0f172a; }
.imp-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  background: #f1f5f9;
  color: #475569;
}
.imp-badge--ok { background: #ecfdf5; color: #047857; }
.imp-badge--error { background: #fef2f2; color: #b91c1c; }
.imp-badge--blocked { background: #fff7ed; color: #c2410c; }
.imp-badge--running { background: #eff6ff; color: #1d4ed8; }
.imp-badge--files { background: #f0f9ff; color: #0369a1; }
.imp-badge--skipped { background: #f8fafc; color: #64748b; }
.imp-badge--empty { background: #f1f5f9; color: #94a3b8; }

.imp-detail { padding: 16px 18px; min-height: 320px; }
.imp-detail__empty { padding: 40px 12px; text-align: center; }
.imp-detail__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.imp-detail__head h3 { margin: 2px 0 0; }
.imp-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.imp-kpi {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}
.imp-kpi span { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
.imp-kpi strong { font-size: .95rem; }
.imp-alert {
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: .86rem;
}
.imp-alert.is-err { background: #fff5f5; border: 1px solid #f1c0c0; color: #9b1c1c; }
.imp-alert.is-warn { background: #fffbeb; border: 1px solid #f59e0b; color: #92400e; }
.imp-block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.06);
}
.imp-block h4 { margin: 0 0 8px; font-size: .9rem; }
.imp-notes { margin: 8px 0 0; font-size: .86rem; color: #475569; }
.imp-sub { margin-top: 8px; font-size: .86rem; }
.imp-sub ul, .imp-sub ol { margin: 6px 0 0; padding-left: 18px; }
.imp-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.imp-files li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  font-size: .84rem;
}
.imp-files span { color: #94a3b8; }
.imp-log {
  margin: 0;
  max-height: 180px;
  overflow: auto;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: .72rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.imp-more {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.imp-more > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 800;
  font-size: .92rem;
  background: #f8faf8;
}
.imp-more > summary::-webkit-details-marker { display: none; }
.imp-more[open] > summary { border-bottom: 1px solid rgba(15,23,42,.06); }
.imp-more__body { display: grid; gap: 14px; padding: 14px 16px 16px; }
.imp-pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.imp-pack {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}
.imp-pack header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 6px;
}
.imp-upload__form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
.imp-upload__list { margin-top: 12px; display: grid; gap: 8px; }
.imp-file {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
}
.imp-file small { display: block; margin-top: 2px; }
.imp-file__acts { display: flex; gap: 6px; align-items: center; }
.imp-json__area {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: ui-monospace, monospace;
  font-size: .8rem;
}

@media (max-width: 960px) {
  .imp-layout { grid-template-columns: 1fr; }
  .imp-list { max-height: 320px; }
  .imp-kpis { grid-template-columns: 1fr; }
  .imp-upload__form { grid-template-columns: 1fr; }
}

/* ===== Deal.by CMS shell 1:1 (moderator only) ===== */
body.is-cms-mod .site-head,
body.is-cms-mod .footer,
body.is-cms-mod .cookie-banner,
body.is-cms-mod .contact-fab,
body.is-cms-mod #contactFab,
body.is-cms-mod .sfab--left,
body.is-staff #contactFab,
body.is-staff .sfab--left,
body.is-cms-mod #webai-widget,
body.is-cms-mod [data-agent],
body.is-cms-mod iframe[src*="webai"],
body.is-cms-mod [id*="webai"],
body.is-cms-mod [class*="webai"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.is-cms-mod {
  background: #e6e8ec;
}
body.is-cms-mod main {
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

.cms-shell {
  --cms-side: #3d3f45;
  --cms-side-header: #32343a;
  --cms-side-hover: #4a4b51;
  --cms-side-active: #4a4b51;
  --cms-purple: #7b04df;
  --cms-purple-2: #6904c4;
  --cms-logo: #693b97;
  --cms-main-bg: #e6e8ec;
  --cms-banner: #d0f2fb;
  --cms-badge: #e53935;
  --cms-counter: #1e8cd2;
  --cms-ok: #35a24e;
  --cms-text: #01011b;
  --cms-muted: #777777;
  --cms-menu: #a5a7ac;
  --cms-line: #c1c1d4;
  --cms-card: #ffffff;
  --cms-yellow: #ffc107;
  --cms-search: #50535a;
  display: grid !important;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0 !important;
  align-items: stretch;
  max-width: none !important;
  width: 100%;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--cms-main-bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: var(--cms-text);
}
.cms-shell[hidden] { display: none !important; }

.cms-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--cms-side);
  color: #ececef;
  border-right: 0;
  z-index: 40;
}
.cms-sidebar__brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 60px;
  padding: 10px 14px;
  background: var(--cms-side-header);
}
.cms-sidebar__brand .cms-brand__av { display: none !important; }
a.cms-brand__meta { text-decoration: none; }
.cms-logo {
  width: 32px; height: 32px;
  border-radius: 6px;
  display: grid; place-items: center;
  background: var(--cms-logo);
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: none;
}
.cms-logo__mark {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  text-transform: lowercase;
  font-family: Arial, Helvetica, sans-serif;
}
.cms-brand__meta {
  position: relative;
  display: flex; flex-direction: column; gap: 1px;
  align-items: flex-start;
  background: transparent; border: 0; padding: 0 16px 0 0;
  color: inherit; text-align: left; cursor: pointer;
  min-width: 0;
}
.cms-brand__name {
  font-size: 13px; font-weight: 400; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px;
}
.cms-brand__id {
  font-size: 13px; color: rgba(255,255,255,.7);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px;
}
.cms-brand__caret {
  position: absolute;
  right: 2px; top: 50%;
  width: 6px; height: 6px;
  border-right: 1.5px solid #a7a8ad;
  border-bottom: 1.5px solid #a7a8ad;
  transform: translateY(-60%) rotate(45deg);
}

.cms-search {
  display: flex; align-items: center; gap: 8px;
  margin: 10px 10px 12px;
  padding: 0 10px 0 12px;
  min-height: 36px;
  border-radius: 3px;
  background: var(--cms-search);
  border: 0;
  color: #fff;
}
.cms-search svg { width: 15px; height: 15px; opacity: .75; flex-shrink: 0; }
.cms-search input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  color: #fff; font-size: .84rem; outline: none;
}
.cms-search input::placeholder { color: #8e8f96; }

.cms-nav {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding: 0 8px 10px;
  display: flex; flex-direction: column; gap: 1px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}
.cms-nav__item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0; border-radius: 6px;
  background: transparent;
  color: #d6d7db;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}
.cms-nav__item:hover {
  background: var(--cms-side-hover);
  color: #fff;
}
.cms-nav__item.is-current,
.cms-nav__item.is-active {
  background: var(--cms-side-active);
  color: #fff;
}
.cms-nav__item.is-active { box-shadow: none; }
.cms-nav__ico {
  width: 20px; height: 20px; flex-shrink: 0; opacity: .92;
  display: grid; place-items: center; color: #c8c9ce;
}
.cms-nav__ico svg { width: 18px; height: 18px; }
.cms-nav__label { flex: 1; min-width: 0; }
.cms-nav__chev {
  width: 7px; height: 7px;
  border-right: 1.5px solid #9a9ba1;
  border-bottom: 1.5px solid #9a9ba1;
  transform: rotate(-45deg);
  transition: transform .15s ease;
  margin-right: 4px;
  margin-left: auto;
}
.cms-nav__group.is-open > .cms-nav__item--parent .cms-nav__chev {
  transform: rotate(45deg);
}
.cms-nav__sub {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0 0 6px 0;
  margin: 0 0 2px;
  background: #35363b;
  border-radius: 0 0 6px 6px;
}
.cms-nav__group.is-open > .cms-nav__sub {
  display: flex;
}
.cms-nav__sub[hidden] {
  display: none !important;
}
.cms-nav__group.is-open > .cms-nav__sub[hidden] {
  display: flex !important;
}
.cms-nav__nest {
  display: flex;
  flex-direction: column;
  padding: 0 0 4px 12px;
}
.cms-nav__nestlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 12px 5px 40px;
  color: #a8a9ae;
  text-decoration: none;
  font-size: .8rem;
}
.cms-nav__nestlink:hover,
.cms-nav__nestlink.is-active { color: #fff; }
.cms-count {
  color: #8e8f96;
  font-size: .78rem;
  font-weight: 500;
}
.cms-nav__hint {
  padding: 0 12px 8px 42px;
  margin-top: -4px;
  color: #35a24e;
  font-size: .75rem;
  font-weight: 600;
}
.cms-nav__sublink {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px 8px 40px;
  border-radius: 0;
  color: #c5c6cb;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 450;
}
.cms-nav__sublink:hover {
  background: rgba(255,255,255,.04);
  color: #fff;
}
.cms-nav__sublink.is-active {
  background: rgba(255,255,255,.06);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--cms-purple);
}
.cms-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  background: var(--cms-badge);
  color: #fff;
  font-size: .68rem; font-weight: 700; line-height: 1;
}
.cms-nav__group.is-filtered-out,
.cms-nav__item.is-filtered-out,
.cms-nav__sublink.is-filtered-out { display: none !important; }

.cms-sidebar__foot {
  padding: 8px 10px 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.cms-nav-logout { margin: 0; }
.cms-nav-logout .cms-nav__item,
.cms-nav-site { color: #c8c9ce; }
.cms-collapse {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0; border-radius: 6px;
  background: transparent;
  color: #c8c9ce;
  font-size: .84rem; font-weight: 500;
  cursor: pointer;
}
.cms-collapse:hover { background: var(--cms-side-hover); color: #fff; }
.cms-collapse__ico {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 4px;
  background: transparent;
  font-size: 1.05rem; line-height: 1;
  color: #b0b1b6;
}

.cms-workspace {
  display: flex; flex-direction: column;
  min-width: 0;
  background: var(--cms-main-bg);
  min-height: 100vh;
}
.cms-topbar {
  display: flex; align-items: center; gap: 10px;
  min-height: 60px;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid #e4e5e9;
  position: sticky; top: 0; z-index: 20;
}
.cms-topbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cms-btn--primary {
  background: var(--cms-purple) !important;
  border-color: var(--cms-purple) !important;
  color: #fff !important;
}
.cms-btn--primary:hover {
  background: var(--cms-purple-2) !important;
  color: #fff !important;
}
.deal-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--cms-purple);
  color: #fff;
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 14px;
}
.deal-promo__text { font-size: 1rem; font-weight: 600; }
.deal-promo__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 16px;
  border-radius: 4px;
  background: var(--cms-yellow);
  color: #222;
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
  white-space: nowrap;
}
.deal-promo__btn:hover { filter: brightness(.97); }
.deal-orders__tabs {
  display: flex;
  background: #fff;
  border: 1px solid var(--cms-line);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}
.deal-orders__tab {
  border: 0;
  background: transparent;
  padding: 12px 18px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--cms-muted);
  cursor: pointer;
  border-top: 2px solid transparent;
}
.deal-orders__tab.is-active {
  color: var(--cms-text);
  background: #fff;
  border-top-color: #4aa3ff;
}
.deal-orders__tools {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--cms-line);
  border-top: 0;
  padding: 12px;
}
.deal-orders__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--cms-line);
  border-radius: 4px;
  background: #fff;
}
.deal-orders__search svg { width: 16px; height: 16px; color: #9a9ba1; }
.deal-orders__search input {
  flex: 1; border: 0; outline: none; background: transparent;
  font-size: .88rem; color: var(--cms-text);
}
.deal-orders__chips {
  background: #fff;
  border: 1px solid var(--cms-line);
  border-top: 0;
  padding: 10px 12px;
  margin: 0 !important;
}
.deal-orders__dates {
  display: flex; gap: 8px;
  background: #fff;
  border: 1px solid var(--cms-line);
  border-top: 0;
  padding: 0 12px 12px;
}
.deal-orders__grid {
  background: #fff;
  border: 1px solid var(--cms-line);
  border-top: 0;
  border-radius: 0 0 4px 4px;
  min-height: 280px;
  padding: 12px;
}
.deal-empty {
  text-align: center;
  padding: 64px 20px 80px;
  color: #b0b1b6;
  background: #fff;
  border: 1px solid var(--cms-line);
  border-top: 0;
  border-radius: 0 0 4px 4px;
}
.deal-empty__art {
  font-size: 3rem;
  opacity: .35;
  margin-bottom: 12px;
}
.deal-empty p { margin: 0; font-size: .95rem; }

.cms-topbar__menu {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--cms-line); border-radius: 6px;
  background: #fff; font-size: 1rem; cursor: pointer;
}
.cms-topbar__title {
  display: flex; align-items: center; gap: 8px;
  color: var(--cms-text);
}
.cms-topbar__title strong {
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: 0;
}
.cms-topbar__ico {
  color: #8b8c92;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
}
.cms-topbar__ico svg { display: block; }
.cms-main {
  flex: 1;
  padding: 20px 28px 40px !important;
  background: var(--cms-main-bg);
  min-width: 0;
  max-width: 1100px;
}

/* Collapsed sidebar */
.cms-shell.is-collapsed { grid-template-columns: 64px minmax(0, 1fr); }
.cms-shell.is-collapsed .cms-brand__meta,
.cms-shell.is-collapsed .cms-search,
.cms-shell.is-collapsed .cms-nav__label,
.cms-shell.is-collapsed .cms-nav__chev,
.cms-shell.is-collapsed .cms-badge,
.cms-shell.is-collapsed .cms-collapse__text,
.cms-shell.is-collapsed .cms-nav__sub {
  display: none !important;
}
.cms-shell.is-collapsed .cms-sidebar__brand {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 14px 8px;
}
.cms-shell.is-collapsed .cms-nav__item { justify-content: center; padding: 10px; }
.cms-shell.is-collapsed .cms-collapse { justify-content: center; }
.cms-shell.is-collapsed .cms-collapse__ico { transform: rotate(180deg); }

/* Welcome / onboarding work area */
.cms-welcome--hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #dff6fc 0%, var(--cms-banner) 55%, #c8eef8 100%);
  border: 0;
  border-radius: 4px;
  padding: 28px 24px 26px;
  margin-bottom: 0;
  min-height: 148px;
  display: grid;
  place-items: center;
  text-align: center;
}
.cms-welcome__art {
  position: absolute;
  inset: 0;
  opacity: .9;
  pointer-events: none;
}
.cms-welcome__art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cms-welcome__text { position: relative; z-index: 1; max-width: 560px; }
.cms-welcome__title {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 700;
  color: #2b2c31;
  letter-spacing: -.01em;
}
.cms-welcome__lead {
  margin: 0;
  color: #5a5c63;
  font-size: .95rem;
  line-height: 1.45;
}

.cms-steps {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--cms-line);
  border-radius: 4px;
  margin: 14px 0 16px;
}
.cms-steps__item {
  flex: 1 1 0;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  text-decoration: none;
  color: var(--cms-text);
  font-size: .82rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  background: #fff;
}
.cms-steps__item:hover { background: #fafafa; }
.cms-steps__item.is-done { color: #2f6b3a; }
.cms-steps__item.is-alert { color: #b42318; }
.cms-steps__check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cms-ok);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cms-steps__sep {
  width: 12px;
  flex: 0 0 12px;
  position: relative;
  background: #fff;
  border-left: 1px solid var(--cms-line);
  border-right: 1px solid var(--cms-line);
  align-self: stretch;
}
.cms-steps__sep::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid #c5c6cb;
  border-bottom: 2px solid #c5c6cb;
  transform: translate(-70%, -50%) rotate(-45deg);
}

.cms-action-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.cms-action-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: var(--cms-card);
  border: 1px solid var(--cms-line);
  border-radius: 4px;
  padding: 18px 20px;
}
.cms-action-card__ico {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b6d75;
  display: grid; place-items: center;
}
.cms-action-card__ico svg { width: 22px; height: 22px; }
.cms-action-card__ok {
  position: absolute;
  right: -2px; bottom: -2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--cms-ok);
  color: #fff;
  font-size: .68rem; font-weight: 800;
  display: grid; place-items: center;
  border: 2px solid #fff;
}
.cms-action-card__body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cms-text);
}
.cms-action-card__body p {
  margin: 0 0 14px;
  color: var(--cms-muted);
  font-size: .9rem;
  line-height: 1.45;
  max-width: 52rem;
}
.cms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 15px;
  border-radius: 8px;
  border: 1px solid #c1c1d4;
  background: #fff;
  color: var(--cms-text);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
}
.cms-btn:hover {
  border-color: var(--cms-purple);
  color: var(--cms-purple);
}
.cms-btn--sm { min-height: 30px; padding: 0 10px; font-size: .8rem; }

.cms-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.cms-kpi {
  background: #fff;
  border: 1px solid var(--cms-line);
  border-radius: 4px;
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cms-kpi:hover { border-color: #c9cad0; }
.cms-kpi strong {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--cms-purple);
  line-height: 1.1;
}
.cms-kpi span { color: var(--cms-muted); font-size: .82rem; }
.cms-kpi--alert strong { color: var(--cms-badge); }

.cms-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.cms-hub-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--cms-line);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
}
.cms-hub-card:hover { border-color: var(--cms-purple); }
.cms-hub-card--static { cursor: default; }
.cms-hub-card strong { font-size: 1rem; }
.cms-hub-card__count {
  font-size: 1.55rem; font-weight: 800; color: var(--cms-purple); line-height: 1.1;
}
.cms-hub-card .muted { margin: 0; font-size: .86rem; color: var(--cms-muted); }

.cms-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.cms-review-card {
  background: #fff;
  border: 1px solid var(--cms-line);
  border-radius: 4px;
  padding: 14px 16px;
}
.cms-review-card__head {
  display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px;
}
.cms-review-card__rating { color: var(--cms-purple); font-weight: 800; }
.cms-review-card__product { font-size: .82rem; margin-bottom: 8px; color: var(--cms-muted); }
.cms-review-card p { margin: 0 0 10px; font-size: .92rem; line-height: 1.45; }
.cms-review-card__foot {
  display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--cms-muted);
}

/* Soften existing panel chrome inside CMS */
.cms-shell .cab-main .section__kicker { color: var(--cms-purple); }
.cms-shell .cab-main h2 { color: var(--cms-text); font-weight: 700; }
.cms-shell .cab-main .section__sub,
.cms-shell .cab-main .muted { color: var(--cms-muted); }
.cms-shell .card,
.cms-shell .mod-queue__col,
.cms-shell .mod-queue__row,
.cms-shell .wq-shell {
  border-radius: 4px !important;
  border-color: var(--cms-line) !important;
  box-shadow: none !important;
}
.cms-shell .mod-queue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cms-shell .mod-queue__col {
  background: #fff;
  border: 1px solid var(--cms-line);
  padding: 14px;
}
.cms-shell .mod-queue__row {
  border: 1px solid var(--cms-line);
  background: #fff;
}
.cms-shell .btn--primary {
  background: var(--cms-purple) !important;
  border-color: var(--cms-purple) !important;
  color: #fff !important;
}
.cms-shell .btn--primary:hover {
  background: var(--cms-purple-2) !important;
}
.cms-shell .btn--ghost {
  border-radius: 4px !important;
  border-color: #cfd0d4 !important;
  background: #fff !important;
  color: var(--cms-text) !important;
}
.cms-shell .btn--ghost:hover {
  border-color: var(--cms-purple) !important;
  color: var(--cms-purple) !important;
}
.cms-shell .status--wait {
  background: #fff4e5 !important;
  color: #b54708 !important;
}

.cms-shell-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15, 18, 24, .45);
  z-index: 35;
}

@media (max-width: 1100px) {
  .cms-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cms-shell .mod-queue { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .cms-shell { grid-template-columns: 1fr !important; }
  .cms-sidebar {
    position: fixed;
    left: 0; top: 0;
    width: min(280px, 88vw);
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 12px 0 40px rgba(0,0,0,.35);
  }
  .cms-shell.is-nav-open .cms-sidebar { transform: translateX(0); }
  .cms-shell.is-nav-open .cms-shell-backdrop { display: block; }
  .cms-topbar__menu { display: inline-grid; place-items: center; }
  .cms-shell.is-collapsed { grid-template-columns: 1fr !important; }
  .cms-main { padding: 14px 14px 28px !important; max-width: none; }
}
@media (max-width: 640px) {
  .cms-kpi-row { grid-template-columns: 1fr; }
  .cms-action-card { grid-template-columns: 44px minmax(0, 1fr); padding: 14px; }
  .cms-welcome__title { font-size: 1.25rem; }
}
