:root {
  --green: #34C759;
  --green-press: #248A3D;
  --red: #FE001A;
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --text: #1D1D1F;
  --muted: #6E6E73;
  --border: #D8D8DC;
  --border-soft: #E8E8ED;
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Contact bar ---------- */

.contact-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
}

.contact-bar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  height: 36px;
}

.contact-bar__channels {
  display: flex;
  gap: 8px;
}

.channel-chip {
  color: var(--muted);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  font-size: 12px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.channel-chip:hover { color: var(--green-press); border-color: var(--green); }

.contact-bar__phone {
  font-weight: 600;
  color: var(--text);
}
.contact-bar__phone:hover { color: var(--green-press); }

/* ---------- Header ---------- */

.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
  padding-left: 4px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 2px;
}

.brand__logo { width: 34px; height: 34px; }

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-weight: 700; font-size: 15px; color: var(--text); }
.brand__sub { font-size: 11px; color: var(--muted); }

.site-nav {
  display: flex;
  gap: 22px;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  overflow-x: auto;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: var(--bg);
  border: none;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.site-nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  padding: 6px 24px 14px;
}
.site-nav-mobile a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.site-nav-mobile.is-open { display: flex; }

.basket-btn {
  position: relative;
  background: var(--text);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.basket-btn:hover { opacity: 0.85; }
.basket-btn.is-filled { background: var(--red); }

.basket-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.basket-btn__count { font-size: 13px; font-weight: 700; white-space: nowrap; }
.basket-btn__count--label { font-size: 13px; }
.basket-btn__sum { font-size: 10px; color: rgba(255,255,255,0.7); }

.basket-bar-mobile {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: none;
  background: var(--text);
  color: #fff;
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.basket-bar-mobile.is-filled { background: var(--red); }
.basket-bar-mobile__label { font-size: 14px; font-weight: 700; }
.basket-bar-mobile__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

/* ---------- Search ---------- */

.search-section {
  padding: 28px 0 8px;
}

.site-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 6px 8px 6px 18px;
  box-shadow: var(--shadow);
}

.site-search__icon { color: var(--muted); flex-shrink: 0; }

.site-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  padding: 8px 0;
  background: transparent;
}

.site-search__btn { border-radius: 999px; }

.site-search-wrap { position: relative; max-width: 640px; margin: 0 auto; }

.search-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 20;
}
.search-suggestions.is-open { display: block; }

.search-suggestions__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.search-suggestions__item:last-child { border-bottom: none; }
.search-suggestions__item:hover,
.search-suggestions__item.is-active { background: var(--bg); }

.search-suggestions__label { font-weight: 600; }
.search-suggestions__meta { font-size: 12.5px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }

/* ---------- Main / catalog ---------- */

.main { padding-bottom: 60px; }

.catalog-section { padding: 24px 0; }

.catalog-section__layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 32px;
  align-items: start;
}

.catalog-section__main { min-width: 0; }

.catalog-head { margin-bottom: 18px; }

.catalog-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.catalog-count { color: var(--muted); font-size: 14px; }

.catalog-section__more {
  margin-top: 24px;
  text-align: center;
}

/* ---------- Category sidebar ---------- */

.category-sidebar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 88px;
}

.category-sidebar__title {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 600;
}

.category-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.category-sidebar__list a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text);
}

.category-sidebar__list a:hover { background: var(--bg); }
.category-sidebar__list a.is-active {
  background: rgba(52, 199, 89, 0.12);
  color: var(--green-press);
  font-weight: 600;
}

.category-sidebar__count { color: var(--muted); font-variant-numeric: tabular-nums; }
.is-active .category-sidebar__count { color: var(--green-press); }

/* ---------- Фильтры (сворачиваемые details/summary — без JS) ---------- */

.filter-block { margin-top: 18px; }

.filter-dropdown {
  border-top: 1px solid var(--border-soft);
  padding: 10px 0;
}
.filter-dropdown:first-child { margin-top: 4px; }

.filter-dropdown summary {
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.filter-dropdown summary::-webkit-details-marker { display: none; }
.filter-dropdown summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-top: -3px;
}
.filter-dropdown[open] summary::after { transform: rotate(225deg); margin-top: 3px; }

.filter-dropdown__hint {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 0;
}

.filter-dropdown__options {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
}
.filter-option:hover { background: var(--bg); }
.filter-option.is-active {
  background: rgba(52, 199, 89, 0.12);
  color: var(--green-press);
  font-weight: 600;
}
.filter-option__count { color: var(--muted); font-variant-numeric: tabular-nums; }
.filter-option.is-active .filter-option__count { color: var(--green-press); }

/* ---------- Product grid / card ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 16px 32px rgba(0,0,0,0.08);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #F2F2F4;
  overflow: hidden;
}

.product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
}
.badge--new { background: var(--red); }

.product-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card__name {
  font-size: 14px;
  font-weight: 600;
  display: block;
  min-height: 36px;
  color: var(--text);
}

.product-card__attrs {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.product-card__price { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

.product-card__actions {
  margin-top: auto;
  display: flex;
  gap: 6px;
  align-items: stretch;
}

/* ---------- Buttons ---------- */

.btn {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.btn--add { background: var(--green); color: #fff; white-space: nowrap; flex: 1; }
.btn--add:hover { background: var(--green-press); }

.btn--remove-icon {
  display: none !important;
  flex-shrink: 0;
  width: 40px;
  padding: 0;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.btn--remove-icon svg { width: 24px; height: 24px; }
.btn--remove-icon.is-visible { display: flex !important; }
.btn--remove-icon:hover { color: var(--red); }

.btn--remove-full {
  display: none !important;
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  margin-top: 8px;
}
.btn--remove-full.is-visible { display: flex !important; }
.btn--remove-full:hover { border-color: var(--red); color: var(--red); }

.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-press); }
.btn--primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn.is-added { background: var(--red); }
.btn.is-added:hover { background: var(--red); opacity: 0.9; }

.btn--ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green-press); }

.btn--large { padding: 13px 24px; font-size: 15px; }
.btn--full { width: 100%; }

/* ---------- Pagination ---------- */

.pagination { display: flex; gap: 6px; margin-top: 28px; flex-wrap: wrap; }

.pagination__link {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
}
.pagination__link.is-active { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Empty state ---------- */

.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-state .btn { margin-top: 12px; }

/* ---------- Рассылка ---------- */

.newsletter-section { padding: 32px 0; }

.newsletter-card {
  background: rgba(52, 199, 89, 0.06);
  border: 1px solid rgba(52, 199, 89, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.newsletter-card__text { flex: 1; min-width: 260px; }

.newsletter-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.newsletter-card__title--cta,
.newsletter-inline__title--cta {
  color: var(--red);
}

.newsletter-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
}

.newsletter-card__channels,
.newsletter-inline__channels {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.newsletter-channel {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.newsletter-channel:hover { border-color: var(--green); color: var(--green-press); }

/* Компактная версия того же блока внутри дровера заявки */

.newsletter-inline {
  text-align: left;
  background: rgba(52, 199, 89, 0.06);
  border: 1px solid rgba(52, 199, 89, 0.18);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.newsletter-inline__title {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.4;
}

.newsletter-inline__text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 12px;
}

.newsletter-inline__channels .newsletter-channel {
  padding: 7px 12px;
  font-size: 12px;
}

/* ---------- Стол заказов ---------- */

.stol-zakazov { padding: 32px 0; }

.stol-zakazov__card {
  background: rgba(52, 199, 89, 0.06);
  border: 1px solid rgba(52, 199, 89, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.stol-zakazov__title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.stol-zakazov__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
}

.stol-zakazov__btn { flex-shrink: 0; white-space: nowrap; }

/* ---------- Info sections (Оплата/Доставка/Гарантии/FAQ) ---------- */

.info-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-soft);
}

.info-section__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

/* Иконки-карточки: Доставка, Гарантии */

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}

.icon-grid--narrow {
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  justify-content: center;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.icon-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.1);
  color: var(--green-press);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-card__text {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
}

/* Процесс-степпер: Оплата */

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.process-step {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 0 10px;
  position: relative;
}

.process-step:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border-soft);
  z-index: 1;
}

.process-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  position: relative;
  z-index: 2;
}

.process-step__text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Отзывы ---------- */

.reviews-intro {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 560px;
}

.reviews-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.reviews-filter__chip {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.reviews-filter__chip:hover { border-color: var(--green); }
.reviews-filter__chip.is-active {
  background: rgba(52, 199, 89, 0.1);
  border-color: var(--green);
  color: var(--green-press);
}

.reviews-filter__rating {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.reviews-filter__chip.is-active .reviews-filter__rating { color: var(--green-press); }

.reviews-slider { max-width: 680px; margin: 0 auto; }

.reviews-slider__viewport {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-height: 180px;
  position: relative;
}

.review-card { padding: 26px 30px; }

.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.review-card__author { font-size: 14.5px; font-weight: 700; color: var(--text); }

.review-card__source {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  flex-shrink: 0;
}

.review-card__text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 14px;
}

.review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}

.review-card__item {
  color: var(--green-press);
  font-weight: 600;
  text-align: right;
}

/* ---------- FAQ-слайдер ---------- */

.faq-slider {
  max-width: 680px;
  margin: 0 auto;
}

.faq-slider__viewport {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow);
  min-height: 140px;
}

.faq-slide__q {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

.faq-slide__a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.faq-slider__nav,
.reviews-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.faq-slider__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.faq-slider__arrow:hover { border-color: var(--green); color: var(--green-press); }

.faq-slider__counter {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  text-align: center;
}

/* ---------- Stub sections (пока не заполненные) ---------- */

.stub-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-soft);
}

.stub-section__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
}

.stub-section__note { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Product page ---------- */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: var(--shadow);
}
.back-link:hover { border-color: var(--green); color: var(--green-press); }

.product-page {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 24px 0;
}

.product-gallery__main {
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }

.product-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.product-gallery__thumb {
  width: 58px; height: 58px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
}
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumb.is-active { border-color: var(--green); border-width: 2px; }

.product-info__title { font-size: 24px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; }

.product-info__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.tag {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
}
.tag--new { background: var(--red); color: #fff; }
.tag--used { background: #EFEFEF; color: var(--text); }

.product-info__price { font-size: 30px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.01em; }

.spec-list { margin: 22px 0 0; border-top: 1px solid var(--border-soft); }

.spec-list__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
}
.spec-list__row dt { color: var(--muted); }
.spec-list__row dd { margin: 0; font-weight: 600; text-align: right; }

.mono { font-family: "SF Mono", "Courier New", Courier, monospace; letter-spacing: 0.3px; font-size: 13px; }

.product-comment { margin-top: 22px; }
.product-comment__title { font-size: 15px; margin: 0 0 8px; font-weight: 700; }
.product-comment p { white-space: pre-line; color: #333; font-size: 14px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  margin-top: 20px;
  padding: 32px 0;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.site-footer__col { flex: 1 1 220px; min-width: 200px; }
.site-footer__col--legal { flex: 1 1 280px; max-width: 340px; }

.site-footer__address { color: var(--muted); font-size: 13px; margin-top: 10px; line-height: 1.5; }

.site-footer__legal-title { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.site-footer__legal { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin: 0; }
.site-footer__legal a { color: var(--muted); text-decoration: underline; }
.site-footer__legal a:hover { color: var(--green-press); }

.site-footer__note { color: var(--muted); font-size: 13px; max-width: 340px; margin-top: 6px; }

.site-footer__phone { font-size: 17px; font-weight: 700; color: var(--text); display: block; margin-bottom: 10px; }

.site-footer__channels { display: flex; gap: 10px; }

.channel-link {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 6px 14px;
}
.channel-link:hover { border-color: var(--green); color: var(--green-press); }

/* ---------- Basket drawer ---------- */

.basket-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}
.basket-overlay.is-open { opacity: 1; pointer-events: auto; }

.basket-drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: 400px; max-width: 92vw;
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 50;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
}
.basket-drawer.is-open { transform: translateX(0); }

.basket-drawer__inner { display: flex; flex-direction: column; height: 100%; }

.basket-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 700; font-size: 16px;
}

.basket-drawer__close {
  background: var(--bg); border: none; border-radius: 999px;
  width: 30px; height: 30px;
  font-size: 18px; cursor: pointer; line-height: 1; color: var(--muted);
}

.basket-drawer__list { flex: 1; overflow-y: auto; padding: 12px 20px; }

.basket-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.basket-item img { width: 50px; height: 50px; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg); }
.basket-item__body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.basket-item__name { font-size: 13px; font-weight: 600; }
.basket-item__price { font-size: 13px; color: var(--muted); }
.basket-item__remove { background: none; border: none; color: var(--red); font-size: 12px; cursor: pointer; align-self: flex-start; padding: 0; }

.basket-drawer__empty { color: var(--muted); font-size: 14px; text-align: center; padding: 30px 0; }

.basket-drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--border-soft); }
.basket-drawer__total { font-size: 15px; margin-bottom: 12px; display: flex; justify-content: space-between; }

/* ---------- Basket form (checkout) ---------- */

.basket-form { padding: 18px 20px; overflow-y: auto; flex: 1; }

.basket-form__summary {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.basket-form__summary strong { color: var(--text); }

.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-field input[type="text"],
.form-field input[type="tel"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.form-field input:focus { border-color: var(--green); }

.form-field-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 5px;
  display: none;
}
.form-field.has-error input { border-color: var(--red); }
.form-field.has-error .form-field-error { display: block; }

.form-field-note {
  margin-top: 8px;
  padding: 9px 12px;
  background: rgba(52,199,89,0.08);
  border-radius: var(--radius-sm);
  color: var(--green-press);
  font-size: 12.5px;
  line-height: 1.4;
}

.checkbox-group { display: flex; gap: 10px; flex-wrap: wrap; }
.checkbox-chip {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  cursor: pointer;
}
.checkbox-chip input { accent-color: var(--green); }
.checkbox-chip:has(input:checked) {
  border-color: var(--green);
  background: rgba(52,199,89,0.08);
}

.basket-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.basket-form__back {
  background: none; border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 14px;
}

.basket-form__policy {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  margin: 12px 0 0;
}
.basket-form__policy a { color: var(--muted); text-decoration: underline; }
.basket-form__policy a:hover { color: var(--green-press); }

.basket-success {
  padding: 40px 24px;
  text-align: center;
}
.basket-success__icon {
  width: 56px; height: 56px;
  background: rgba(52,199,89,0.12);
  color: var(--green-press);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
}
.basket-success__title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.basket-success__note { color: var(--muted); font-size: 14px; margin: 0 0 16px; text-align: left; }
.basket-success .btn--ghost.btn--full { margin-bottom: 16px; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .catalog-section__layout { grid-template-columns: 1fr; }
  .category-sidebar { position: static; order: -1; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .basket-btn { display: none; }
  .basket-bar-mobile { display: flex; }
  .site-header__inner { justify-content: space-between; }
  .product-page { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 24px; }
  .process-step { text-align: left; padding: 0 0 0 50px; min-width: 0; }
  .process-step__num { position: absolute; left: 0; top: 0; margin: 0; }
  .process-step:not(:first-child)::before {
    top: 0;
    left: 17px;
    width: 2px;
    height: calc(100% + 24px);
    background: var(--border-soft);
  }
  .faq-slider__viewport { padding: 22px 20px; }
  .review-card { padding: 20px 18px; }
  .review-card__meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .review-card__item { text-align: left; }
  .stol-zakazov__card { padding: 22px 20px; }
  .stol-zakazov__btn { width: 100%; text-align: center; }
  .newsletter-card { padding: 22px 20px; flex-direction: column; align-items: flex-start; }
  .newsletter-card__channels { width: 100%; }
  .newsletter-channel { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header__inner { height: 60px; padding: 0 4px; }
  .product-card__actions { gap: 4px; }
  .btn--add { font-size: 11.5px; padding: 8px 6px; }
  .btn--remove-icon { width: 32px; }
  .btn--remove-icon svg { width: 20px; height: 20px; }
}
