
@charset "UTF-8";
:root {
  --accent:#f9b233;
  --accent-ink:#1b1b1d;
  --dark:#141416;
  --dark-soft:#26262a;
  --bg:#ffffff;
  --soft:#f3f3f4;
  --card:#f4f4f5;
  --ink:#1b1b1d;
  --muted:#6c6c72;
  --line:#e6e6e8;
  --ok:#3ea15a;
  --stock-out:#a5a5ab;
  --badge-sale:#e11d2a;
  --ya:#fc3f1d;
  --font-head:'VI Sans',Arial,sans-serif;
  --font-body:'VI Sans',Arial,sans-serif;
  --radius:14px;
  --radius-sm:6px;
  --wrap:1440px;
  --pad:24px; }

*, *::before, *::after {
  box-sizing: border-box; }

html, body {
  margin: 0; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45; }

h1, h2, h3, h4, h5, p {
  margin: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head); }

a {
  color: inherit;
  text-decoration: none;
  transition: color .15s; }

a:hover {
  color: var(--accent); }

img {
  max-width: 100%;
  display: block; }

button {
  font-family: var(--font-head);
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit; }

ul {
  margin: 0;
  padding: 0;
  list-style: none; }

input, textarea, select {
  font-family: var(--font-body); }

::selection {
  background: var(--accent);
  color: var(--dark); }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0; }

.icon--menu {
  width: 20px;
  height: 20px; }

.icon--search {
  width: 21px;
  height: 21px; }

.icon--chev {
  width: 16px;
  height: 16px; }

.icon--lg {
  width: 26px;
  height: 26px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  transition: background .15s,color .15s,border-color .15s; }

.btn--accent {
  background: var(--accent);
  color: var(--dark); }

.btn--accent:hover {
  background: #f9b233;
  color: var(--dark); }

.btn--outline {
  border: 2px solid var(--ink);
  color: var(--ink); }

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent); }

.btn--ghost {
  border: 2px solid var(--line);
  color: var(--ink); }

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent); }

.btn--dark {
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 5px; }

.btn--dark:hover {
  background: var(--dark-soft);
  color: #fff; }

.imgslot {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 2px dashed #d7d7db;
  border-radius: inherit;
  background: #fafafa;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 16px; }

.imgslot .icon {
  width: 44px;
  height: 44px;
  color: #c4c4ca;
  margin-bottom: 10px; }

.imgslot span {
  font-size: 14px;
  line-height: 1.4; }

.imgslot--sm {
  padding: 8px; }

.imgslot--sm .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0; }

.imgslot--sm span {
  display: none; }

.header {
  background: var(--dark);
  color: #fff;
  position: relative;
  z-index: 60; }

.header__inner {
  position: relative;
  padding-top: 16px;
  padding-bottom: 16px; }

.header__row {
  display: flex;
  align-items: center;
  gap: 20px; }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: #fff; }

/* Логотип-картинка: высоту задаём, ширину считает браузер по пропорции.
   Прежние текстовые слои (.logo__mark, .logo__word, .logo__tag) остались в
   стилях — их используют письма и печатная версия. */
.logo__img {
  height: 46px;
  width: auto;
  display: block; }

/* сборка: логотип-картинка */
.logo:hover {
  color: #fff; }

.logo__mark {
  width: 52px;
  height: 52px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--dark);
  display: grid;
  place-items: center; }

.logo__mark .icon {
  width: 30px;
  height: 30px; }

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1; }

.logo__word {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .5px; }

.logo__word--big {
  font-size: 26px;
  margin-top: 1px; }

.logo__tag {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-top: 4px;
  text-transform: uppercase; }

.catalog {
  flex-shrink: 0; }

.catalog__btn {
  font-size: 15px;
  padding: 14px 22px; }

.catalog__btn .icon--chev {
  transition: transform .2s; }

.catalog.is-open .catalog__btn .icon--chev {
  transform: rotate(180deg); }

.megamenu {
  position: absolute;
  top: calc(100% + 14px);
  left: var(--pad);
  right: var(--pad);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  z-index: 70;
  display: none;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
  height: min(calc(100vh - 180px), 900px);
  min-height: 420px; }

.catalog.is-open .megamenu {
  display: grid; }

.megamenu__cats {
  background: #fafafa;
  border-right: 1px solid var(--line);
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  height: 100%; }

.megamenu__cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink); }

/* Детализированные предметные контуры без цветной подложки. */
.megamenu__cat .megamenu__cat-icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  transition: color .15s; }

.megamenu__cat .icon--chev {
  display: none; }

.megamenu__cat-name {
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-body);
  line-height: 1.3; }

.megamenu__cat:hover, .megamenu__cat.is-active {
  background: var(--soft);
  color: #f9b233; }

.megamenu__cat.is-active .icon, .megamenu__cat:hover .icon {
  color: var(--accent); }

.megamenu__panels {
  position: relative;
  height: 100%;
  overflow: hidden; }

.megamenu__panel {
  display: none;
  padding: 28px 32px;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain; }

.megamenu__panel.is-active {
  display: block; }

.megamenu__title {
  font-weight: 800;
  font-size: 26px;
  margin-bottom: 20px;
  letter-spacing: -.3px; }

.megamenu__subs {
  column-count: 4;
  column-gap: 32px;
  column-fill: balance; }

.megamenu__sub {
  display: block;
  padding: 6px 0;
  break-inside: avoid;
  color: #5a5a60; }

.megamenu__sub:hover {
  color: var(--accent); }

.megamenu__sub span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35; }

.megamenu__sub-count {
  color: #b0b0b6;
  font-size: 13px;
  margin-left: 4px; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 50;
  display: none; }

.overlay.is-visible {
  display: block; }

.search {
  flex: 1;
  position: relative;
  min-width: 180px; }

.search__input {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 8px;
  padding: 15px 54px 15px 18px;
  font-size: 15px;
  background: #2b2b2f;
  color: #fff; }

.search__input::placeholder {
  color: #8a8a90; }

.search__btn {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  width: 46px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #c8c8ce; }

.search__btn:hover {
  color: var(--accent); }

.search__clear {
  position: absolute;
  top: 5px;
  right: 52px;
  bottom: 5px;
  width: 38px;
  display: grid;
  place-items: center;
  color: #8a8a90; }

.search__clear:hover {
  color: #fff; }

.search__clear .icon {
  width: 18px;
  height: 18px; }

.search.is-open .search__input {
  border-radius: 8px 8px 0 0; }

.search__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  width: max(100%, min(1080px, calc(100vw - 32px)));
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px -12px rgba(15, 15, 18, 0.35);
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
  color: var(--ink);
  max-height: min(640px, calc(100vh - 120px)); }

.search__panel[hidden] {
  display: none; }

.search__col {
  padding: 20px;
  min-width: 0;
  overflow-y: auto; }

.search__col--cats {
  background: #fafafa;
  border-right: 1px solid var(--line); }

.search__head {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px; }

.search__count {
  color: var(--muted);
  font-weight: 400; }

.search__cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 8px;
  color: var(--ink); }

.search__cat:hover, .search__cat.is-active {
  border-color: var(--accent);
  background: #fffaf0;
  color: var(--ink); }

.search__cat-body {
  display: block;
  flex: 1;
  min-width: 0; }

.search__cat-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25; }

.search__cat-count {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px; }

.search__cat .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0; }

.search__good {
  display: grid;
  grid-template-columns: 76px 1fr auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink); }

.search__good:last-of-type {
  border-bottom: 0; }

.search__good:hover {
  color: var(--ink); }

.search__good:hover .search__good-name {
  color: var(--accent); }

.search__good-pic {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  background: #fff;
  flex-shrink: 0; }

.search__good-pic img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply; }

.search__good-body {
  min-width: 0; }

.search__good-name {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3; }

.search__good-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted); }

.search__good-price {
  display: block;
  text-align: right;
  white-space: nowrap; }

.search__good-old {
  display: block;
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through; }

.search__good-now {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px; }

.search__fav {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #b6b6bc; }

.search__fav:hover {
  color: #e5484d; }

.search__fav.is-fav {
  color: #e5484d; }

.search__fav.is-fav .icon {
  fill: #e5484d;
  stroke: #e5484d; }

.search__buy {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0; }

.search__buy:hover {
  background: #f9b233;
  color: var(--accent-ink); }

.search__buy .icon {
  width: 20px;
  height: 20px; }

.search__mark {
  background: rgba(249, 178, 51, 0.35);
  border-radius: 3px; }

.search__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px; }

.search__all:hover {
  border-color: var(--accent);
  color: var(--accent); }

.search__state {
  grid-column: 1/-1;
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 15px; }

.search__panel.is-busy .search__goods {
  opacity: .45;
  transition: opacity .15s; }

.phone {
  text-align: right;
  flex-shrink: 0;
  line-height: 1.25; }

.phone__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: #fff; }

.phone__hours {
  font-size: 12px;
  color: #9a9aa0; }

.actions {
  display: flex;
  gap: 26px;
  flex-shrink: 0; }

.action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 12px; }

.action:hover {
  color: var(--accent); }

.action__ico {
  position: relative;
  display: inline-flex; }

.action__ico .icon {
  width: 23px;
  height: 23px; }

.action__count {
  position: absolute;
  top: -7px;
  right: -9px;
  background: var(--accent);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center; }

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s,transform .18s; }

.product-card__media {
  position: relative;
  padding: 0 0 6px; }

.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 7px;
  background: var(--ok);
  color: #fff; }

.product-card__badge--sale {
  background: var(--badge-sale); }

.product-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative; }

.product-card__dot--in {
  box-shadow: 0 0 5px rgba(62, 161, 90, 0.45); }

.product-card__dot--in::after,
.product-card__dot--in::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ok);
  animation: dot-pulse 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) infinite; }

.product-card__dot--in::before {
  animation-delay: 1.2s; }

@keyframes dot-pulse {
  0% {
    transform: scale(1);
    opacity: .6; }
  75% {
    transform: scale(3.4);
    opacity: 0; }
  100% {
    transform: scale(3.4);
    opacity: 0; } }
.product-card__dot--in {
  background: var(--ok); }

.product-card__dot--out {
  background: var(--stock-out); }

.product-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #9a9aa2;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(2px);
  transition: color .15s,background .15s; }

.product-card__fav:hover {
  color: var(--accent); }

.product-card__fav .icon {
  width: 20px;
  height: 20px; }

/* Под фотографией лежит серая подложка. Пока снимок не пришёл, покупатель видит
   место товара, а не белое пятно: при быстрой прокрутке список выглядел пустым
   холстом. Подложка гаснет, когда картинка загрузилась (класс ставит theme.js). */
.product-card__img {
  display: grid;
  place-items: center;
  height: 236px;
  background: var(--soft);
  border-radius: 13px 13px 0 0;
  overflow: hidden; }

.product-card__img.is-loaded {
  background: transparent; }

.product-card__img {
  position: relative; }

.product-card__img picture {
  display: block;
  width: 100%;
  height: 100%; }

.product-card__img picture {
  transition: opacity .06s linear; }

.product-card__img img.product-card__shot {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .06s linear;
  pointer-events: none; }

.product-card__img img.product-card__shot.is-on {
  opacity: 1; }

.product-card__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none; }

.product-card__pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d2d2d8;
  transition: background .12s; }

.product-card__pip.is-on {
  background: var(--accent); }

@media (hover: none) {
    .product-card__dots {
    display: none; } }
.product-card__img img {
  max-height: 236px;
  object-fit: contain;
  opacity: 0;
  transition: opacity .2s; }

.product-card__img.is-loaded picture img {
  opacity: 1; }

.product-card__noimg {
  color: #c4c4ca; }

.product-card__body {
  padding: 6px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1; }

.product-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.3; }

.product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 7px; }

.product-card__rating .icon {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  stroke: var(--accent);
  stroke-width: 1.5; }

.product-card__reviews {
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
  margin-left: 1px; }

.product-card__art {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; }

.product-card__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  white-space: nowrap; }

.product-card__qty--out {
  color: var(--stock-out); }

.product-card__title {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -.1px;
  margin-top: 10px;
  color: #26262a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden; }

.product-card__title a:hover {
  color: #f9b233; }

.product-card__deliv {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ok);
  font-weight: 600; }

.product-card__deliv .icon {
  width: 13px;
  height: 13px; }

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px; }

.product-card__prices {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap; }

.product-card__old {
  color: #a5a5ab;
  font-size: 13px;
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 4px; }

.product-card__price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  white-space: nowrap; }

.product-card__buy {
  background: var(--accent);
  color: var(--dark);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: filter .15s; }

.product-card__buy:hover {
  filter: brightness(0.95); }

.product-card__buy .icon {
  width: 17px;
  height: 17px; }

.product-card--default .product-card__title {
  min-height: 40px;
  -webkit-line-clamp: 2; }

.product-card--default .product-card__price {
  font-size: 20px; }

.product-card--default:hover {
  box-shadow: 0 12px 34px rgba(20, 20, 22, 0.1);
  transform: translateY(-2px); }

.product-card--catalog {
  border-color: #eeeef0; }

.product-card--catalog .product-card__title {
  min-height: 59px; }

.product-card--catalog:hover {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08); }

.product-card--catalog .product-card__price {
  font-size: 20px; }

.product-card--catalog .product-card__buy {
  width: auto;
  flex: 0 0 auto;
  font-size: 13px;
  padding: 10px 14px;
  white-space: nowrap; }

.product-card--compact {
  border-color: #eeeef0; }

.product-card--compact .product-card__media {
  padding-bottom: 4px; }

.product-card--compact .product-card__img {
  height: 130px; }

.product-card--compact .product-card__img img {
  max-height: 130px; }

.product-card--compact .product-card__title {
  font-weight: 400;
  font-size: 14px;
  min-height: 57px;
  margin-top: 9px; }

.product-card--compact .product-card__price {
  font-size: 18px; }

.product-card--compact:hover {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: #101013;
  background-image: radial-gradient(44% 85% at 4% 44%, rgba(122, 130, 150, 0.22) 0%, rgba(122, 130, 150, 0) 70%); }

.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  z-index: 0; }

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; }

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #101013 0%, rgba(16, 16, 19, 0.88) 16%, rgba(16, 16, 19, 0.34) 46%, rgba(16, 16, 19, 0) 70%); }

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 56px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center; }

.hero__body {
  max-width: 790px; }

.hero__title {
  font-weight: 900;
  font-size: clamp(34px, 3.9vw, 56px);
  line-height: 1.02;
  letter-spacing: -.5px;
  font-style: italic;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); }

.hero__title em {
  color: var(--accent); }

.hero__lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.74);
  margin-top: 22px;
  max-width: 470px;
  line-height: 1.5; }

.hero__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 34px;
  margin-top: 32px; }

.feat {
  display: flex;
  align-items: center;
  gap: 12px; }

.feat .icon {
  width: 26px;
  height: 26px;
  color: var(--accent); }

.feat span {
  font-size: 15px;
  line-height: 1.2; }

.hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff; }

.hero .btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent); }

.hero .btn--accent {
  box-shadow: 0 10px 30px -10px rgba(249, 178, 51, 0.55); }

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px; }

.cats {
  padding-top: 72px;
  padding-bottom: 24px; }

/* Четыре плитки в ряд, как в каталогах, на которые ориентируемся. При трёх
   плитка была 400 px и растягивалась в ленту, при четырёх — 310 px, ближе к
   квадрату: предмет виден крупнее, а весь каталог помещается в три ряда. */
.cats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 16px;
  row-gap: 19px; }

.cat-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 27px;
  min-height: 214px;
  display: flex;
  align-items: flex-start;
  color: var(--ink); }

.cat-card:hover {
  color: var(--ink); }

.cat-card__body {
  position: relative;
  z-index: 1;
  max-width: 52%; }

.cat-card__name {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.55;
  color: #000;
  overflow-wrap: break-word; }

.cat-card__count {
  color: #f9b233;
  font-weight: 700;
  font-size: 15px;
  margin-top: 11px; }

.cat-card__img {
  position: absolute;
  right: 0;
  bottom: -5%;
  height: 110%;
  width: auto;
  max-width: 60%;
  object-fit: contain;
  object-position: right bottom;
  mix-blend-mode: multiply;
  transition: transform .25s;
  transform-origin: right bottom; }

.cat-card:hover .cat-card__img {
  transform: scale(1.05); }

.cat-card--tiled .cat-card__img {
  inset: 0;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right bottom;
  mix-blend-mode: normal; }

.cat-card--tiled:hover .cat-card__img {
  transform: scale(1.03); }

.cat-card--generatory:not(.cat-card--tiled) .cat-card__img {
  max-width: 60%; }

.cat-card--dvigateli:not(.cat-card--tiled) .cat-card__img {
  max-width: 60%; }

.cat-card--avtotovary:not(.cat-card--tiled) .cat-card__img {
  max-width: 58%; }

.cat-card--akkumulyatory-i-zaryadnye:not(.cat-card--tiled) .cat-card__img {
  max-width: 58%; }

.cat-card--sadovaya-tehnika:not(.cat-card--tiled) .cat-card__img {
  max-width: 57%; }

.cat-card--bytovaya-tehnika:not(.cat-card--tiled) .cat-card__img {
  max-width: 57%; }

.cat-card--moyki-vysokogo-davleniya:not(.cat-card--tiled) .cat-card__img {
  max-width: 57%; }

.cat-card--osveschenie:not(.cat-card--tiled) .cat-card__img {
  max-width: 57%; }

.cat-card--pylesosy:not(.cat-card--tiled) .cat-card__img {
  max-width: 57%; }

.cat-card--snegouborochnaya-tehnika:not(.cat-card--tiled) .cat-card__img {
  max-width: 57%; }

.cat-card--turizm-rybalka-ohota:not(.cat-card--tiled) .cat-card__img {
  max-width: 56%; }

.cat-card--kompressory-i-pnevmoinstrument:not(.cat-card--tiled) .cat-card__img {
  max-width: 53%; }

.cat-card--elektrotransport:not(.cat-card--tiled) .cat-card__img {
  max-width: 53%; }

.cat-card--sadovye-traktory-raydery-i-roboty:not(.cat-card--tiled) .cat-card__img {
  max-width: 52%; }

.cat-card--svarochnoe-oborudovanie:not(.cat-card--tiled) .cat-card__img {
  max-width: 51%; }

.cat-card--teplovaya-tehnika:not(.cat-card--tiled) .cat-card__img {
  max-width: 51%; }

.cat-card--elektroinstrument:not(.cat-card--tiled) .cat-card__img {
  max-width: 51%; }

.cat-card--nasosy-i-motopompy:not(.cat-card--tiled) .cat-card__img {
  max-width: 48%; }

.cat-card--motobloki-i-kultivatory:not(.cat-card--tiled) .cat-card__img {
  max-width: 47%; }

.cat-card--pusko-zaryadnye-ustroystva:not(.cat-card--tiled) .cat-card__img {
  max-width: 47%; }

/* Плитка стала уже (четыре в ряд вместо трёх), и прежние размеры снимков —
   до 60 % ширины — налезали на название: «Компрессоры и пневмоинструмент»
   уходило под компрессор. Общий потолок на всю сетку; селектор из трёх классов,
   чтобы перебить индивидуальные правила выше. */
.cats__grid .cat-card .cat-card__img {
  max-width: 46%;
  object-fit: contain;
  object-position: right bottom;
  inset: auto 0 0 auto;
  height: 88%;
  mix-blend-mode: multiply; }

.cats__grid .cat-card .cat-card__body {
  max-width: 54%; }

/* Перенос ТОЛЬКО по словам. Общий стиль плитки рвёт слово по буквам — это
   спасало узкую плитку телефона, но на большом экране давало «Электроинстру-
   мент» там, где строка помещалась целиком. */
.cats__grid .cat-card__name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none; }

.cat-card--aksessuary-i-rashodniki:not(.cat-card--tiled) .cat-card__img {
  max-width: 46%; }

.cats__more, .brands__more {
  padding-bottom: 52px;
  display: flex;
  justify-content: center;
  margin-top: 36px; }

/* Лента брендов идёт от края до края экрана: она вынесена из колонки контента
   прямо в разметке (см. index.liquid), а не растянута через 100vw — с vw лента
   промахивалась на ширину полосы прокрутки. Заголовок и кнопка остались в колонке. */
.brands {
  background: var(--soft);
  overflow: hidden; }

.brands__inner {
  padding-top: 52px; }

.brands__title {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 32px; }

.brands__viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }

.brands__track {
  display: flex;
  width: max-content;
  animation: brandsRoll 42s linear infinite; }

.brands__viewport:hover .brands__track {
  animation-play-state: paused; }

@keyframes brandsRoll {
  from {
    transform: translateX(0); }
  to {
    transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .product-card__dot--in::after,
  .product-card__dot--in::before {
    animation: none; }

    .brands__track {
    animation: none; }

    .brands__viewport {
    overflow-x: auto; } }
.brands__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0; }

/* Без плашек: знаки едут прямо по фону секции. Ширина по содержимому — иначе
   узкий FUBAG и широкий STELS раздвигали бы соседей одинаково и ряд выглядел
   бы дырявым. Общая высота строки фиксирована, чтобы лента не прыгала. */
.brands__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  margin: 0 34px; }

/* Размеры знака заданы в разметке — они разные и выровнены по оптическому весу.
   CSS их НЕ переопределяет: стоит задать общую высоту, и широкий STELS растянется
   до неё, став вдвое крупнее квадратного FUBAG. Здесь только защита от переполнения. */
.brands__logo {
  max-width: 100%; }

.brands__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  color: #4a4a4f;
  white-space: nowrap; }

.promos {
  padding-top: 64px;
  padding-bottom: 64px; }

.promos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; }

.promo {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden; }

.promo__body {
  flex: 1;
  min-width: 0;
  padding-right: 14px; }

.promo__title {
  font-weight: 700;
  font-size: 22px; }

.promo__text {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
  line-height: 1.4; }

.promo__btn {
  margin-top: 18px; }

.promo__media {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center; }

.promo__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply; }

.goods {
  padding-top: 8px;
  padding-bottom: 64px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px; }

.section-head__title {
  font-weight: 800;
  font-size: 30px;
  font-style: italic; }

.section-head__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: #f9b233; }

.section-head__link:hover {
  color: var(--accent); }

.section-head__link .icon {
  width: 18px;
  height: 18px; }

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

.why {
  border-top: 1px solid var(--line); }

.why__inner {
  padding-top: 56px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 270px repeat(5, 1fr);
  gap: 36px;
  align-items: start; }

.why__heading {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  font-style: italic; }

.why__item .icon {
  width: 38px;
  height: 38px;
  color: var(--accent); }

.why__title {
  font-weight: 700;
  font-size: 16px;
  margin-top: 14px; }

.why__text {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.4; }

.about {
  background: var(--soft); }

.about__inner {
  padding-top: 60px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center; }

.about__title {
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  font-style: italic; }

.about__text {
  color: var(--muted);
  font-size: 16px;
  margin-top: 20px;
  line-height: 1.6; }

.about__btn {
  margin-top: 28px; }

.about__media {
  width: 100%;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(20, 20, 22, 0.45); }

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  padding-top: 20px;
  padding-bottom: 8px; }

.crumbs__sep {
  color: #c2c2c8; }

.crumbs__cur {
  color: var(--ink);
  font-weight: 600; }

/* ── СТРАНИЦЫ (доставка, оферта, политика) ─────────────────────────────── */
.page {
  padding-bottom: 64px; }

.page__title {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 6px 0 18px; }

.page__lead {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 760px; }

.page__lead--tight {
  margin-top: -6px; }

.page__h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 44px 0 16px; }

.page__content {
  font-size: 15px;
  line-height: 1.6;
  max-width: 820px; }

.page__content p {
  margin-bottom: 12px; }

.page__content h2, .page__content h3 {
  font-weight: 700;
  margin: 24px 0 10px; }

/* Три способа доставки — равными карточками: покупатель сравнивает их взглядом,
   поэтому колонки одной ширины, а не текст в столбик. */
.dlv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px; }

.dlv {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px; }

.dlv__ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--dark);
  margin-bottom: 4px; }

.dlv__ico .icon {
  width: 26px;
  height: 26px; }

.dlv__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2; }

.dlv__sub {
  color: var(--muted);
  font-size: 14px;
  margin-top: -4px; }

.dlv__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15px;
  line-height: 1.45;
  margin-top: 6px; }

.dlv__list li {
  padding-left: 18px;
  position: relative; }

.dlv__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent); }

.dlv__addr {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600; }

.dlv__note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45; }

.dlv__btn {
  align-self: flex-start;
  margin-top: auto; }

/* Таблица условий: три колонки в строке. Не <table> — на телефоне строки
   разворачиваются в карточки, а таблица так не умеет без костылей. */
.dlv__table {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden; }

.dlv__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 16px 22px;
  font-size: 15px;
  border-top: 1px solid var(--line); }

.dlv__row:first-child {
  border-top: 0; }

.dlv__row--head {
  background: var(--soft);
  font-weight: 700;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em; }

.dlv__free {
  color: #1a9d4b;
  font-weight: 700; }

.dlv__small {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 760px; }

/* Перевозчики — плитками, а не списком: восемь названий в столбик выглядят
   как мелкий шрифт в договоре. */
.dlv__tk {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px; }

.dlv__tk li {
  background: var(--soft);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 16px; }

.dlv__steps {
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px; }

.dlv__steps li {
  counter-increment: s;
  position: relative;
  padding-top: 44px;
  font-size: 15px;
  line-height: 1.45; }

.dlv__steps li::before {
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--accent);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 16px; }

.cat-head {
  padding-top: 8px;
  padding-bottom: 20px; }

.cat-head__title {
  font-weight: 900;
  font-size: 40px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -.5px; }

.cat-head__desc {
  color: var(--muted);
  font-size: 16px;
  margin-top: 10px;
  max-width: 760px;
  line-height: 1.5; }

/* Подкатегории плитками: название и счётчик сверху, крупное фото товара снизу.
   Фото не обрамляем — предмет лежит прямо на подложке плитки, как в каталогах,
   на которые ориентируемся. Маленькая иконка в рамке сбоку читалась хуже:
   товар в ней невозможно было разглядеть. */
.subcats {
  padding-top: 16px;
  padding-bottom: 12px; }

.subcats__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px; }

.subcat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--soft);
  border-radius: 16px;
  min-height: 252px;
  padding: 20px 18px 16px;
  color: var(--ink);
  overflow: hidden;
  transition: background .15s,box-shadow .15s; }

.subcat:hover {
  background: #eeeef0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: var(--ink); }

.subcat__body {
  display: flex;
  flex-direction: column;
  min-width: 0; }

/* Место под две строки резервируем всегда: иначе у «Мотобуров» фото начинается
   выше, чем у «Аэраторов и скарификаторов», и ряд плиток идёт рвано. */
.subcat__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; }

/* Количество товаров в плитке не показываем: на витрине это служебное число,
   которое отвлекает от названия раздела. */
.subcat__count {
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 400;
  margin-top: 6px; }

/* Фото занимает низ плитки целиком: предмет крупный и «стоит» на её краю. */
.subcat__ico {
  min-height: 168px;
  height: auto;
  flex: 1 1 168px;
  margin-top: 0;
  display: grid;
  place-items: center;
  color: #c4c4ca;
  overflow: hidden; }

.subcat__ico .icon {
  width: 30px;
  height: 30px; }

/* Высота в ПИКСЕЛЯХ, а не в процентах: у grid-элемента процент считается не от
   заданных 170 px, и картинка рисовалась 227 px — вылезала за плитку и обрезалась.
   Значение совпадает с высотой .subcat__ico. */
.subcat__ico img {
  width: 100%;
  height: 168px;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: multiply; }

.listing {
  padding-top: 8px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: 288px 1fr;
  gap: 28px;
  align-items: start; }

/* В разделе первого уровня панели фильтров нет — товары занимают всю ширину. */
.listing--nofilters {
  grid-template-columns: 1fr; }

.filters__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff; }

.filters__toggle .icon {
  width: 18px;
  height: 18px;
  color: var(--muted); }

.filters__toggle-chev {
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid #9a9aa0;
  border-bottom: 1.5px solid #9a9aa0;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s; }

.filters.is-open .filters__toggle-chev {
  transform: rotate(-135deg) translateY(-2px); }

.filters.is-open .filters__toggle {
  margin-bottom: 14px; }

/* Панель фильтров едет вместе со списком товаров, а когда показался её низ —
   останавливается и дальше стоит на месте. Поэтому здесь НЕТ ни max-height,
   ни внутренней прокрутки: своя полоса прокрутки внутри панели ломала бы
   это ощущение (страница листается, а панель живёт отдельной жизнью).
   Величину top пересчитывает theme.js: при длинной панели она отрицательная,
   и прилипание срабатывает по нижнему краю, а не по верхнему. */
.filters {
  position: sticky;
  top: var(--filters-top, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px; }

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px; }

.filters__title {
  font-weight: 800;
  font-size: 20px; }

.filters__reset {
  font-size: 13px;
  color: var(--muted);
  transition: color .15s; }

.filters__reset:hover {
  color: var(--accent); }

.fgroup {
  border-top: 1px solid var(--line);
  padding: 18px 0; }

.fgroup:empty {
  display: none; }

.fgroup__title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
  cursor: pointer;
  user-select: none;
  padding-right: 2px; }

.fgroup__title::after {
  content: '';
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-right: 2px solid #9a9aa2;
  border-bottom: 2px solid #9a9aa2;
  transform: rotate(-135deg) translate(-2px, -2px);
  transition: transform .18s; }

.fgroup.is-closed .fgroup__title {
  margin-bottom: 0; }

.fgroup.is-closed .fgroup__title::after {
  transform: rotate(45deg) translate(-1px, -1px); }

.fgroup.is-closed .fgroup__list,
.fgroup.is-closed .fgroup__search,
.fgroup.is-closed .fprice {
  display: none; }

.fgroup__list {
  display: flex;
  flex-direction: column;
  gap: 12px; }

/* Отступ справа — под полосу прокрутки: на телефоне она рисуется поверх
   содержимого и срезала счётчики («531» превращалось в «53»). Только в панели
   бренда: в подкатегориях та же мелочь есть, но их вид сейчас не трогаем. */
.filters--brand .fgroup__list {
  padding-right: 8px; }

.fopt {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.3;
  padding: 1px 0; }

.fopt__label {
  flex: 1;
  min-width: 0; }

.fopt__count {
  color: #a0a0a8;
  font-size: 13px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums; }

.fopt__count:empty {
  display: none; }

.fopt--img .fopt__img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0; }

.fopt--img .fopt__img img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

.fgroup__row:empty {
  display: none; }

.fgroup__more {
  display: none; }

.fopt--over {
  display: none; }

.fgroup.is-full .fopt--over {
  display: flex; }

.fgroup__more-btn {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding: 2px 0;
  text-align: left;
  transition: opacity .15s; }

.fpop {
  position: absolute;
  z-index: 40;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 190px; }

.fpop::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 22px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 3px; }

.fpop__count {
  position: relative;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap; }

.fpop__go {
  position: relative;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 9px;
  transition: filter .15s; }

.fpop__go:hover {
  filter: brightness(0.96); }

@media (max-width: 980px) {
    .fpop {
    display: none; } }
.fgroup__more-btn:hover {
  opacity: .72; }

.fgroup.is-closed .fgroup__more-btn {
  display: none; }

.filters__preloader {
  padding: 18px 0;
  font-size: 14px;
  color: var(--muted); }

input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1px solid #93999e;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: border-color .15s,background .15s; }

input[type=checkbox]:hover {
  border-color: #6f767c; }

input[type=checkbox]:checked {
  background: var(--accent);
  border-color: var(--accent); }

input[type=checkbox]:checked::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid var(--dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg); }

input[type=checkbox]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px; }

.frange {
  position: relative;
  height: 22px;
  margin: 2px 2px 12px; }

.frange__rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 4px;
  border-radius: 2px;
  background: var(--line); }

.frange__fill {
  position: absolute;
  top: 9px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent); }

.frange__in {
  position: absolute;
  left: 0;
  width: 100%;
  top: 0;
  height: 22px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  pointer-events: none; }

.frange__in::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: pointer; }

.frange__in::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: pointer; }

.frange__in:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--accent);
  outline-offset: 2px; }

.fprice {
  display: flex;
  align-items: center;
  gap: 10px; }

.fprice__in {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  transition: border-color .15s; }

.fprice__in:focus {
  outline: none;
  border-color: var(--accent); }

.fprice__dash {
  color: var(--muted); }

.fgroup--single {
  padding-bottom: 4px; }

.filters__apply {
  width: 100%;
  margin-top: 14px;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius-sm); }

.filters__apply:hover {
  filter: brightness(0.96); }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px; }

.toolbar__found {
  color: var(--muted);
  font-size: 15px; }

.toolbar__found b {
  color: var(--ink);
  font-weight: 700; }

.toolbar__sort {
  display: flex;
  align-items: center;
  gap: 10px; }

.toolbar__sort span {
  color: var(--muted);
  font-size: 14px; }

.sort-select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  background: #fff;
  cursor: pointer; }

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

.grid__empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
  font-size: 16px; }

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap; }

.pager__btn {
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center; }

.pager__btn:hover {
  border-color: var(--accent);
  color: #f9b233; }

.pager__btn.is-active {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent); }

.org {
  padding-top: 44px;
  padding-bottom: 8px; }

.org__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px; }

.org__h {
  font-weight: 800;
  font-size: 28px; }

.org__nav {
  display: flex;
  gap: 10px; }

.org__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  transition: border-color .15s,color .15s; }

.org__arrow:hover {
  border-color: var(--accent);
  color: var(--accent); }

.org__arrow .icon {
  width: 20px;
  height: 20px; }

.org__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none; }

.org__track::-webkit-scrollbar {
  display: none; }

.org__card {
  position: relative;
  flex-shrink: 0;
  width: 320px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--soft);
  border: 1px dashed #d7d7db;
  display: grid;
  place-items: center;
  color: #c4c4ca; }

.org__card .icon {
  width: 42px;
  height: 42px; }

/* карточка с настоящим снимком: пунктирная рамка-заглушка уже не нужна,
   снимок закрывает всё поле, подпись читается по затемнению снизу */
.org__card.is-photo {
  border: 0;
  background: var(--dark); }

.org__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; }

.org__card.is-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent);
  pointer-events: none; }

.org__card.is-photo .org__cap {
  z-index: 1; }

.org__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.28); }

.org__play span {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center; }

.org__play .icon {
  width: 26px;
  height: 26px;
  color: var(--dark);
  fill: var(--dark); }

.org__cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }

.related {
  padding-top: 36px;
  padding-bottom: 8px; }

.related__h {
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 24px; }

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

.trust {
  padding-top: 36px;
  padding-bottom: 56px; }

.trust__grid {
  background: var(--soft);
  border-radius: 16px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px; }

.tr {
  display: flex;
  align-items: center;
  gap: 14px; }

.tr__ico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0; }

.tr__ico .icon {
  width: 23px;
  height: 23px;
  color: var(--ink); }

.tr__txt {
  font-size: 14px;
  line-height: 1.35; }

.tr__txt b {
  font-weight: 700; }

.tr__txt span {
  color: var(--muted); }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden; }

.qty__btn {
  width: 38px;
  height: 38px;
  font-size: 18px;
  color: var(--muted);
  display: grid;
  place-items: center; }

.qty__btn:hover {
  background: var(--soft);
  color: var(--ink); }

.qty__in {
  width: 44px;
  height: 38px;
  border: 0;
  outline: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums; }

.steps {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
  padding-bottom: 22px;
  flex-wrap: wrap; }

.steps__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--muted); }

.steps__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 13px; }

.steps__item.is-done .steps__num, .steps__item.is-active .steps__num {
  background: var(--accent);
  color: var(--dark); }

.steps__item.is-active {
  color: var(--ink); }

.steps__item.is-done {
  color: var(--ink); }

.steps__line {
  flex: 1;
  min-width: 24px;
  height: 2px;
  background: var(--line);
  border-radius: 1px; }

.checkout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
  padding-bottom: 64px; }

.checkout__form {
  display: grid;
  gap: 18px; }

.checkout__side {
  position: sticky;
  top: 20px; }

.block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px; }

.block__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 18px; }

.block__num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0; }

.block--comment {
  padding: 18px 24px; }

.block__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink); }

.block__opt {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px; }

.block__plus {
  margin-left: auto;
  font-size: 22px;
  color: var(--muted);
  line-height: 1; }

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; }

.field {
  display: grid;
  gap: 6px;
  min-width: 0; }

.field__label {
  font-size: 13px;
  color: var(--muted); }

.field__label i {
  color: var(--badge-sale);
  font-style: normal; }

.field__in {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px 14px;
  font-size: 15px;
  outline: 0;
  background: #fff;
  transition: border-color .15s,box-shadow .15s; }

.field__in:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 178, 51, 0.18); }

.field__in--area {
  resize: vertical;
  min-height: 84px;
  font-family: var(--font-body); }

.field__hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4; }

.field__err {
  font-size: 12px;
  color: var(--badge-sale); }

.field__err:empty {
  display: none; }

.field.is-bad .field__in {
  border-color: var(--badge-sale); }

.field--km {
  margin-top: 16px;
  max-width: 320px; }

.pick {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .15s,background .15s; }

.pick:hover {
  border-color: #dcdce0; }

.pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none; }

.pick__ico {
  width: 26px;
  height: 26px;
  color: var(--muted);
  flex-shrink: 0; }

.pick__ico .icon {
  width: 26px;
  height: 26px; }

.pick__body {
  display: grid;
  gap: 3px;
  min-width: 0; }

.pick__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px; }

.pick__note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35; }

.pick.is-on {
  border-color: var(--accent);
  background: #fffaf0; }

.pick.is-on .pick__ico {
  color: var(--accent); }

.pick--wide {
  max-width: none; }

.ship-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line); }

.pickup {
  background: var(--soft);
  border-radius: 12px;
  padding: 18px 20px; }

.pickup__label {
  font-size: 13px;
  color: var(--muted); }

.pickup__addr {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  margin-top: 6px; }

.pickup__badge {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 9px;
  margin-left: 6px;
  white-space: nowrap; }

.pickup__hours {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px; }

.pickup__map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent); }

.pickup__map .icon {
  width: 16px;
  height: 16px; }

.agree {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer; }

.agree input {
  margin-top: 2px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0; }

.agree a {
  color: var(--accent);
  text-decoration: underline; }

.done {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 72px 0 96px; }

.done__ico {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: grid;
  place-items: center; }

.done__ico .icon {
  width: 32px;
  height: 32px; }

.done__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 34px; }

.done__text {
  color: var(--muted);
  font-size: 16px;
  max-width: 44ch;
  line-height: 1.5; }

.done__text b {
  color: var(--ink); }

.footer {
  background: var(--dark);
  color: #cfcfd2; }

.footer a:hover {
  color: var(--accent); }

.footer__inner {
  padding-top: 56px;
  padding-bottom: 24px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 32px; }

.footer .logo__mark {
  border-radius: 50%;
  width: 46px;
  height: 46px; }

.footer__brand {
  font-size: 20px; }

.footer__brand em {
  color: var(--accent);
  font-style: normal; }

.footer__brandline {
  font-size: 10px;
  color: #8a8a90;
  margin-top: 4px; }

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 22px; }

.footer__soc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark-soft);
  display: grid;
  place-items: center;
  color: #cfcfd2;
  font-weight: 700;
  font-size: 14px; }

.footer__soc .icon {
  width: 18px;
  height: 18px; }

.footer__head {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 16px; }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px; }

.footer__phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff; }

.footer__hours {
  font-size: 13px;
  color: #8a8a90;
  margin-top: 4px; }

.footer__mail {
  font-size: 14px;
  margin-top: 16px; }

.footer__addr {
  font-size: 14px;
  margin-top: 8px;
  color: #8a8a90; }

.footer__bottom {
  border-top: 1px solid var(--dark-soft);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #8a8a90; }

.footer__bottom-links {
  display: flex;
  gap: 28px; }

.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease,transform .7s ease; }

.js-anim [data-reveal].is-in {
  opacity: 1;
  transform: none; }

.imgslot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--pt3); }

.pcalc__h {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px; }

.pcalc__field {
  position: relative; }

.pcalc__hints {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--pline);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  z-index: 30;
  overflow: hidden;
  max-height: 260px;
  overflow-y: auto; }

.pcalc__hints[hidden] {
  display: none; }

.pcalc__hint {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ptext);
  transition: background .12s; }

.pcalc__hint:hover {
  background: var(--psoft); }

.pcalc__hint + .pcalc__hint {
  border-top: 1px solid var(--pdiv); }

.pcalc__in {
  width: 100%;
  height: 40px;
  border: 1px solid #D8DCE1;
  border-radius: 8px;
  padding: 0 40px 0 12px;
  font-size: 14px; }

.pcalc__in:focus {
  outline: none;
  border-color: var(--pa); }

.pcalc__ic {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--pt3); }

.pcalc__ic .icon {
  width: 18px;
  height: 18px; }

.pcalc__go {
  height: 40px;
  width: 100%;
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--pa);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ptext);
  transition: background .15s; }

.pcalc__go:hover {
  background: #fff7ea; }

.pcalc__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--pt2); }

.pcalc__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start; }

.pcalc__ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ptext); }

.pcalc__ico .icon {
  width: 20px;
  height: 20px; }

.pcalc__result {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--psoft);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ptext); }

.pcalc__result--ok {
  background: #fff7ea;
  border: 1px solid rgba(249, 178, 51, 0.35); }

.pcalc__note {
  color: var(--pt3);
  font-size: 13px; }

.pmap {
  position: relative;
  width: 100%;
  height: 420px;
  background: #F5F6F7;
  overflow: hidden;
  border-radius: 12px; }

.pmap--fail::after {
  content: 'Карта не загрузилась';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--pt3);
  font-size: 14px; }

.pmap ymaps {
  border-radius: 0; }

.pmap__zone {
  position: absolute;
  border-radius: 50%; }

.pmap__zone--ckad {
  width: 270px;
  height: 270px;
  background: rgba(249, 178, 51, 0.2);
  border: 1px solid #B2B7BD; }

.pmap__zone--mkad {
  width: 170px;
  height: 170px;
  background: rgba(249, 178, 51, 0.22);
  border: 1px solid #8B9198; }

.pmap__pin {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pa);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 2; }

.pmap__pin .icon {
  width: 18px;
  height: 18px;
  fill: #fff;
  stroke: #fff; }

.pmap__ring {
  position: absolute;
  border-radius: 50%;
  display: grid;
  justify-items: center;
  pointer-events: none; }

.pmap__ring--mkad {
  width: 170px;
  height: 170px; }

.pmap__ring--ckad {
  width: 270px;
  height: 270px; }

.pmap__lbl {
  font-size: 11px;
  font-weight: 700;
  color: #5b6066;
  background: #F5F6F7;
  padding: 0 4px;
  margin-top: -7px; }

.pmap__legend {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px; }

.pmap__legend li {
  display: flex;
  align-items: center;
  gap: 10px; }

.pmap__key {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0; }

.pmap__key--mkad {
  background: rgba(24, 169, 87, 0.3);
  border: 1px solid #18A957; }

.pmap__key--ckad {
  background: rgba(249, 178, 51, 0.38);
  border: 1px solid #f9b233; }

.prform {
  margin-top: 32px;
  max-width: 640px; }

.prform__h {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px; }

.prform__rating {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 12px; }

.prform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px; }

.prform__in, .prform__area {
  width: 100%;
  border: 1px solid var(--pline);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 14px; }

.prform__in:focus, .prform__area:focus {
  outline: none;
  border-color: var(--pa); }

.prform__area {
  margin-bottom: 12px; }

.pbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px; }

.pbtn--dark {
  background: #0B0D0F;
  color: #fff; }

.pbtn--dark:hover {
  background: #22252a;
  color: #fff; }

.ptrust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 88px;
  margin-top: 48px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--pline); }

.ptrust__i {
  display: flex;
  gap: 12px;
  align-items: center; }

.ptrust__ic {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--ptext); }

.ptrust__ic .icon {
  width: 24px;
  height: 24px; }

.ptrust__t {
  display: flex;
  flex-direction: column; }

.ptrust__t b {
  font-weight: 600;
  font-size: 14px; }

.ptrust__t span {
  font-size: 12px;
  color: var(--pt3); }

.relcard {
  position: relative;
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid #E7E9ED;
  border-radius: 12px;
  background: #fff;
  transition: box-shadow .15s; }

.relcard:hover {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); }

.relcard__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #9aa0a6; }

.relcard__fav .icon {
  width: 18px;
  height: 18px; }

.relcard__fav:hover {
  color: #e5484d; }

.relcard__fav.is-fav {
  color: #e5484d; }

.relcard__fav.is-fav .icon {
  fill: #e5484d;
  stroke: #e5484d; }

.relcard__pic {
  height: 150px;
  display: grid;
  place-items: center; }

.relcard__pic img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain; }

.relcard__name {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  min-height: 36px;
  color: #171A1E; }

.relcard__name:hover {
  color: #f9b233; }

.relcard__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto; }

.relcard__price {
  font-weight: 700;
  font-size: 17px; }

.relcard__stock {
  font-size: 12px;
  font-weight: 600; }

.relcard__stock--in {
  color: #18A957; }

.relcard__stock--out {
  color: #D97706; }

@media (max-width: 1340px) {
    .phero {
    grid-template-columns: 88px minmax(320px, 1fr) 280px 330px;
    gap: 20px; }

    .pthumb {
    width: 64px;
    height: 64px; } }
@media (max-width: 1100px) {
    :root {
    --pad:18px; }

    .hero__inner {
    grid-template-columns: 1fr; }

    .hero__photo {
    width: 100%;
    opacity: .62; }

    .hero__photo::after {
    background: linear-gradient(180deg, rgba(14, 14, 17, 0.62) 0%, rgba(14, 14, 17, 0.86) 62%, rgba(14, 14, 17, 0.95) 100%); }

    .cats__grid {
    grid-template-columns: repeat(2, 1fr); }

    .goods__grid {
    grid-template-columns: repeat(3, 1fr); }

    .promos__grid {
    grid-template-columns: repeat(2, 1fr); }

    .why__inner {
    grid-template-columns: repeat(2, 1fr); }

    .why__heading {
    grid-column: 1/-1; }

    .about__inner {
    grid-template-columns: 1fr; }

    .listing {
    grid-template-columns: 1fr; }

    .grid {
    grid-template-columns: repeat(3, 1fr); }

    .subcats__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px; }

    .subcat__ico {
    min-height: 126px;
    flex-basis: 126px; }

    .subcat__ico img {
    height: 126px; }

    .phero {
    grid-template-columns: 96px minmax(240px, 1fr) 300px; }

    .phero__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1; }

    .phero__key {
    grid-column: 1/-1;
    margin-top: 8px; }

    .pbuy {
    width: 100%; }

    .psplit {
    gap: 32px; }

    .pdeliv {
    grid-template-columns: 1fr;
    gap: 24px; }

    .pmap {
    width: 100%; }

    .pmap__legend {
    flex-direction: row;
    gap: 24px; }

    .prev {
    grid-template-columns: 1fr;
    gap: 32px; }

    .prev__sum {
    position: static; }

    .pnav__i {
    font-size: 16px; }

    .related__grid {
    grid-template-columns: repeat(3, 1fr); }

    .trust__grid {
    grid-template-columns: 1fr 1fr; }

    .footer__grid {
    grid-template-columns: 1fr 1fr; }

    .phone {
    display: none; }

    .cart, .checkout {
    grid-template-columns: 1fr; }

    .cart__side, .checkout__side {
    position: static; }

    .filters {
    position: static;
    max-height: none;
    overflow: visible; }

    .filters__toggle {
    display: flex; }

    .filters__body {
    display: none; }

    .filters.is-open .filters__body {
    display: block; }

  /* В панели бренда заголовок на телефоне не нужен: над ним кнопка «Фильтр»,
     и в раскрытом виде получалось «Фильтр» и сразу «Бренд». «Сбросить» остаётся.
     Панель подкатегорий не трогаем — её вид менять не просили. */
    .filters--brand .filters__title {
    display: none; }

    .filters .fopt {
    padding: 7px 0; }

    .filters input[type=checkbox] {
    width: 22px;
    height: 22px; }

    .filters input[type=checkbox]:checked::after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px; }

    .frange {
    height: 32px;
    margin-bottom: 14px; }

    .frange__rail, .frange__fill {
    top: 14px; }

    .frange__in {
    height: 32px; }

    .frange__in::-webkit-slider-thumb {
    width: 24px;
    height: 24px; }

    .frange__in::-moz-range-thumb {
    width: 24px;
    height: 24px; } }
@media (max-width: 860px) {
    .goods__grid {
    grid-template-columns: repeat(2, 1fr); }

    .related__grid {
    grid-template-columns: repeat(2, 1fr); }

    .phero {
    grid-template-columns: 1fr;
    gap: 20px; }

    .phero__thumbs {
    flex-direction: row;
    flex-wrap: wrap;
    order: 2; }

    .phero__photo {
    order: 1;
    margin: 0 auto; }

    .phero__key {
    order: 3; }

    .phero__buy {
    order: 4; }

    .psplit {
    grid-template-columns: 1fr;
    gap: 28px; }

    .prev__sum {
    margin-bottom: 8px; } }
@media (max-width: 640px) {
    :root {
    --pad:14px;
    --radius:12px; }

    .phead__title {
    font-size: 24px;
    line-height: 30px; }

    .phero__photo {
    width: 100%;
    max-width: none; }

    .phero__thumbs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none; }

    .phero__thumbs::-webkit-scrollbar {
    display: none; }

    .pthumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0; }

    .pbuy {
    width: 100%; }

    .pnav {
    gap: 24px; }

    .pnav__i {
    font-size: 15px; }

    .pdeliv {
    grid-template-columns: 1fr; }

    .pmap {
    height: 260px; }

    .prev__filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none; }

    .prc__name {
    font-size: 15px; }

    .ptrust {
    grid-template-columns: 1fr 1fr;
    gap: 20px; }

    .header {
    position: sticky;
    top: 0; }

    .header__inner {
    padding-top: 12px;
    padding-bottom: 12px; }

    .header__row {
    flex-wrap: wrap;
    gap: 16px;
    align-items: center; }

    .logo {
    order: 1; }

    .logo__img {
    height: 38px; }

    .logo__mark {
    width: 42px;
    height: 42px;
    border-radius: 9px; }

    .logo__mark .icon {
    width: 24px;
    height: 24px; }

    .logo__word {
    font-size: 12px; }

    .logo__word--big {
    font-size: 19px; }

    .logo__tag {
    font-size: 8px;
    letter-spacing: 1px; }

    .actions {
    order: 3;
    margin-left: auto;
    gap: 22px;
    align-items: center; }

    .action {
    font-size: 0;
    height: 44px;
    justify-content: center; }

    .action__ico .icon {
    width: 26px;
    height: 26px; }

    .catalog {
    order: 4; }

    .catalog__btn {
    padding: 11px;
    gap: 0;
    font-size: 0; }

    .catalog__btn .icon--menu {
    width: 22px;
    height: 22px; }

    .catalog__btn .icon--chev {
    display: none; }

    .search {
    order: 5;
    flex-basis: 100%;
    min-width: 0; }

    .search__input {
    padding: 13px 52px 13px 14px;
    font-size: 15px; }

    .search__btn {
    width: 42px; }

    .megamenu {
    left: 0;
    right: 0;
    border-radius: 0;
    grid-template-columns: 1fr; }

    .megamenu__cats {
    display: block;
    max-height: none;
    height: auto;
    border-right: 0; }

    .megamenu__panels {
    display: none; }

    .hero__inner {
    padding-top: 26px;
    padding-bottom: 30px; }

    .hero__title {
    font-size: 29px;
    line-height: 1.1; }

    .hero__lead {
    font-size: 15px;
    margin-top: 14px; }

    .hero__feats {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px; }

    .feat {
    gap: 8px;
    min-width: 0; }

    .feat .icon {
    width: 22px;
    height: 22px; }

    .feat span {
    font-size: 12px;
    line-height: 1.15; }

    .hero__btns {
    gap: 10px;
    margin-top: 22px; }

    .hero__btns .btn {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    font-size: 14px; }

    .page__title {
    font-size: 26px; }

    .page__lead {
    font-size: 15px; }

    .page__h2 {
    font-size: 20px;
    margin: 32px 0 12px; }

    .dlv__grid {
    grid-template-columns: 1fr;
    gap: 12px; }

    .dlv {
    padding: 20px 18px; }

    .dlv__tk {
    grid-template-columns: 1fr 1fr;
    gap: 10px; }

    .dlv__tk li {
    padding: 14px 10px;
    font-size: 14px; }

    .dlv__steps {
    grid-template-columns: 1fr;
    gap: 14px; }

    .dlv__steps li {
    padding-top: 0;
    padding-left: 46px;
    min-height: 34px; }

    .dlv__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px; }

    .dlv__row--head {
    display: none; }

    .dlv__row span:first-child {
    font-weight: 700; }

    .cats {
    padding-top: 34px; }

    .cats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px; }

    .cat-card {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 196px;
    padding: 11px 11px 0; }

    .cats__grid .cat-card .cat-card__img {
    position: absolute;
    inset: auto 0 0 auto;
    width: 92%;
    height: 70%;
    max-width: none;
    object-fit: contain;
    object-position: right bottom;
    mix-blend-mode: multiply; }

    .cats__grid .cat-card .cat-card__body {
    max-width: 100%; }

    .cats__grid .cat-card__name {
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none; }

    .cat-card__body {
    position: relative;
    z-index: 1;
    max-width: 100%; }

    .search__panel {
    position: fixed;
    left: 8px;
    right: 8px;
    width: auto;
    top: auto;
    max-height: calc(100vh - 150px);
    grid-template-columns: 1fr; }

    .search__col--cats {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
    overflow: visible; }

    .search__cats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px; }

    .search__cat {
    margin-bottom: 0;
    flex: 0 0 auto;
    padding: 9px 12px; }

    .search__cat .icon {
    display: none; }

    .search__col--goods {
    padding: 14px; }

    .search__good {
    grid-template-columns: 56px minmax(0, 1fr) auto 38px 38px;
    gap: 10px;
    padding: 11px 2px; }

    .search__good-pic {
    width: 56px;
    height: 56px; }

    .search__good-name {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; }

    .search__good-now {
    font-size: 15px; }

    .search__fav {
    display: grid;
    width: 38px;
    height: 38px;
    border-radius: 6px; }

    .search__buy {
    width: 38px;
    height: 38px; }

    .cat-card__body {
    max-width: 100%; }

    .cat-card__name {
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.2;
    overflow-wrap: break-word; }

    .cat-card__count {
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px; }

    .cat-card:hover .cat-card__img {
    transform: none; }

    .brands__inner {
    padding-top: 30px;
    padding-bottom: 30px; }

    .brands__title {
    font-size: 18px;
    margin-bottom: 16px; }

    .brands__track {
    animation-duration: 28s; }

    .brands__item {
    height: 52px;
    margin: 0 18px; }

    .brands__logo {
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 44px; }

    .brands__name {
    font-size: 15px; }

    .promos {
    padding-top: 30px;
    padding-bottom: 30px; }

    .promos__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px; }

    .promo {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 10px; }

    .promo__body {
    padding-right: 0; }

    .promo__title {
    font-size: 16px; }

    .promo__text {
    font-size: 12px; }

    .promo__media {
    width: 100%;
    height: 84px; }

    .goods {
    padding-top: 30px; }

    .section-head__title {
    font-size: 20px; }

    .section-head__link {
    font-size: 13px; }

    .goods__grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; }

    .goods__grid .product-card {
    flex: 0 0 62%;
    scroll-snap-align: start; }

    .why__inner {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-top: 34px;
    padding-bottom: 34px; }

    .why__heading {
    font-size: 19px; }

  /* На телефоне из пяти доводов оставляем три: пять карточек — это ещё экран
     прокрутки перед следующим блоком, а последние два («оплата при получении»,
     «консультация») повторяют то, что и так написано в шапке и в карточке. */
    .why__item:nth-of-type(n+4) {
    display: none; }

    .why__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px; }

    .why__item .icon {
    width: 28px;
    height: 28px; }

    .why__title {
    font-size: 14px;
    margin-top: 10px; }

    .why__text {
    font-size: 12px; }

    .about__inner {
    padding-top: 34px;
    padding-bottom: 34px;
    gap: 20px; }

    .about__title {
    font-size: 20px; }

    .about__text {
    font-size: 14px; }

    .about__media {
    height: 200px; }

    .cat-head__title {
    font-size: 26px; }

  /* Подкатегории на телефоне: в один столбец 12 разделов занимали почти тысячу
     пикселей, и до товаров приходилось листать целый экран. Сеткой из трёх — всё
     равно четыре ряда. Поэтому лента с прокруткой вбок: занимает одну строку,
     а весь набор доступен пальцем. Полосу прокрутки прячем, «прилипание»
     останавливает ленту на карточке, а не посередине. */
  /* Три плитки в ряд, как в каталогах, на которые ориентируемся. Ленту
     с прокруткой пробовали — так половина разделов прячется за краем экрана,
     а сеткой все двенадцать видно сразу. */
    .subcats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; }

    .subcat {
    gap: 6px;
    padding: 12px 10px 12px;
    border-radius: 12px;
    text-align: left; }

    .subcat__body {
    flex: 0 0 auto; }

  /* Количество товаров на телефоне не показываем: в плитке шириной 110 px
     строка со счётчиком съедает место, нужное самому названию. */
    .subcat__count {
    display: block;
    font-size: 11px;
    line-height: 1.15;
    margin-top: 3px; }

    .subcat__ico {
    min-height: 83px;
    flex-basis: 83px; }

    .subcat__ico img {
    height: 83px; }

    .subcat__ico .icon {
    width: 24px;
    height: 24px; }

  /* Длинные слова («скарификаторы») в плитку 110 px не влезают и обрезались
     по букве — получалось «скарификаторь». Разрешаем перенос по слогам. */
  /* Жирное начертание в кегле 13 px на плитке 110 px читается как чёрное пятно,
     особенно на трёх строках с переносами. Полужирного хватает, чтобы название
     оставалось главным в плитке. */
    .subcat__name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    hyphens: auto;
    overflow-wrap: break-word; }

    .grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px; }

    .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px; }

    .product-card {
    min-width: 0; }

    .product-card__meta {
    gap: 7px;
    font-size: 12px; }

    .product-card__art {
    white-space: normal;
    min-width: 0; }

    .product-card__qty {
    white-space: normal; }

    .product-card__body {
    min-width: 0; }

    .product-card__title {
    font-size: 13px;
    -webkit-line-clamp: 3; }

    .product-card--catalog .product-card__title,
  .product-card--default .product-card__title {
    min-height: 0; }

    .product-card--catalog .product-card__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px; }

    .product-card--catalog .product-card__price {
    font-size: 18px; }

    .product-card--catalog .product-card__buyform {
    width: 100%; }

    .product-card--catalog .product-card__buy {
    width: 100%;
    font-size: 13px;
    padding: 12px; }

    .product-card__price {
    font-size: 17px;
    white-space: nowrap; }

    .product-card--default .product-card__price,
  .product-card--catalog .product-card__price {
    font-size: 17px; }

    .product-card__img {
    height: 168px; }

    .product-card__img img {
    max-height: 168px; }

    .pager__btn {
    width: 38px;
    height: 38px; }

    .crumbs {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px; }

    .crumbs__cur {
    display: none; }

    .crumbs__sep:last-of-type {
    display: none; }

    .buy__title {
    font-size: 22px; }

    .gallery {
    grid-template-columns: 1fr;
    gap: 12px; }

    .gallery__main {
    height: 300px;
    padding: 16px; }

    .gallery__main img {
    max-height: 268px; }

    .gallery__thumbs {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    gap: 8px;
    padding-right: 0; }

    .thumb {
    width: 60px;
    height: 60px;
    aspect-ratio: auto; }

    .buy__panel {
    padding: 18px;
    border-radius: 14px; }

    .buy__now {
    font-size: 30px; }

    .buy__row {
    flex-direction: column;
    align-items: stretch; }

    .buy__cart, .buy__oneclick {
    width: 100%;
    min-width: 0;
    height: 52px;
    font-size: 15px; }

    .specs {
    padding: 18px; }

    .info__title {
    font-size: 19px; }

    .spec {
    flex-wrap: wrap;
    gap: 2px; }

    .spec__dots {
    min-width: 20px; }

    .cart-head {
    gap: 8px;
    padding-bottom: 16px; }

    .cart-head__title {
    font-size: 26px; }

    .cart-head__clear {
    margin-left: 0;
    flex-basis: 100%; }

    .steps {
    gap: 8px;
    font-size: 13px; }

    .steps__item {
    font-size: 13px; }

    .steps__line {
    min-width: 12px; }

    .ship {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px; }

    .ship__sum {
    margin-left: auto; }

    .citem {
    grid-template-columns: 76px 1fr;
    gap: 12px;
    padding: 16px; }

    .citem__media {
    width: 76px;
    height: 76px; }

    .citem__prices {
    grid-column: 1/-1;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 10px; }

    .citem__price {
    font-size: 19px; }

    .citem__each {
    margin-top: 0; }

    .grid2 {
    grid-template-columns: 1fr; }

    .block {
    padding: 18px; }

    .sum {
    padding: 18px; }

    .sum__total b {
    font-size: 24px; }

    .done__title {
    font-size: 26px; }

    .footer__grid {
    grid-template-columns: 1fr;
    gap: 0; }

    .footer__col {
    border-top: 1px solid rgba(255, 255, 255, 0.1); }

    .footer__col--brand {
    border-top: 0; }

    .footer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 15px 0;
    margin: 0;
    font-size: 15px; }

    .footer__head::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 1.5px solid #8a8a90;
    border-bottom: 1.5px solid #8a8a90;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s; }

    .footer__col.is-open .footer__head::after {
    transform: rotate(-135deg) translateY(-2px); }

    .footer__links {
    display: none;
    padding-bottom: 14px; }

    .footer__col.is-open .footer__links {
    display: grid; }

    .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left; } }
@media (max-width: 400px) {
    .promos__grid, .why__inner {
    grid-template-columns: 1fr; }

    .goods__grid .product-card {
    flex: 0 0 76%; }

    .hero__title {
    font-size: 25px; } }
/* ---------- Фильтры каталога ---------- */
/* Спрятанные группы не удаляем из разметки: они нужны по кнопке «Все фильтры»,
   и их отметки читает сам InSales при восстановлении состояния из адреса. */
.fgroup--hidden {
  display: none; }

.filters__items--all .fgroup--hidden {
  display: block; }

/* Раскрытый полный список — это полторы сотни групп и панель в двадцать экранов.
   Тогда «едет и фиксируется» теряет смысл: до низа не долистать. Поэтому в
   раскрытом виде список получает свою прокрутку и остаётся в пределах экрана. */
.filters__items--all {
  max-height: 62vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px; }

.filters__all {
  width: 100%;
  margin-top: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: 600 14px/1 var(--font-body);
  color: #1b1b1d;
  cursor: pointer;
  transition: border-color .18s; }

.filters__all:hover {
  border-color: var(--accent); }

.fgroup__search {
  width: 100%;
  margin: 0 0 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font: 400 13px/1.2 var(--font-body);
  background: #fff; }

.fgroup__search:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px; }

.fopt--hidden {
  display: none; }

.fopt--empty {
  cursor: default; }

.fopt--empty .fopt__label,
.fopt--empty .fopt__count {
  color: #b6b6be; }

.fopt--empty input[type=checkbox] {
  border-color: #dcdce2;
  background: #fafafb;
  cursor: default; }

/* Выбранные условия над списком товаров: прокрутив каталог, покупатель
   не помнит, чем он его сузил. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: 500 13px/1 var(--font-body);
  color: #1b1b1d;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .18s; }

.chip::after {
  content: '×';
  font-size: 15px;
  line-height: 1;
  color: #8a8a92; }

.chip:hover {
  border-color: var(--accent); }

.chip--reset {
  border-style: dashed;
  color: #6a6a72; }

.chip--reset::after {
  content: ''; }

@media (min-width: 981px) {
    .filters {
    align-self: start; } }


/* Primary product photos must not wait for JavaScript to become visible. */
.product-card__img picture img{opacity:1;transition:none}

/* Favorites: retain four desktop columns; readable cards on narrow screens. */
.favpage .favpage__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.favpage .favcard,.favpage .favcard__pic,.favpage .favcard__name,.favpage .favcard__row{min-width:0}
.favpage .favcard__name{overflow-wrap:anywhere}
.favpage .favcard__row{flex-wrap:wrap;gap:6px 12px}
.favpage .favcard__price,.favpage .favcard__stock{white-space:nowrap}
.favpage .favcard__pic img{width:100%;height:100%;object-fit:contain}
@media(max-width:720px){
  .favpage .favpage__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(max-width:479px){
  .favpage .favpage__grid{grid-template-columns:minmax(0,1fr)}
}

@media(max-width:720px){.product-card--catalog.product-card--unrated .product-card__body{grid-template-areas:"price" "title" "meta" "buy";grid-template-rows:auto minmax(40px,1fr) auto 40px}}
