/* Карточка товара (Figma: дилер 1:1492, покупатель 1:1761, характеристики 1:2021,
   комплектация и документы 1:2315; mobile 1:2618 / 1:2787 / 1:2938 / 1:3124) */

.product {
  /* локальные токены страницы (цвета из design context карточки товара) */
  --p-border: #e4e4e7;
  --p-yellow: #ffd600;
  --p-green: #2e7d32;
  --p-green-bg: #e8f5e9;
  --p-green-deep: #1b5e20;
  --p-gray-bg: #f5f7fa;
  --p-info-bg: #f7f7f7;
  --p-stripe: #f9f9f9;
  --p-red-bg: #ffebee;
  --p-red: #d32f2f;
  --font-inter: 'Inter', sans-serif;
}

/* --- Режим дилер/покупатель (переключается JS по ?role=dealer) --- */
.product[data-active-role="buyer"] [data-role="dealer"] {
  display: none;
}

.product[data-active-role="dealer"] [data-role="buyer"] {
  display: none;
}

/* Mobile-ролевые блоки (Figma 1:2618 дилер / 1:2787 покупатель):
   «Спасибо» на mobile — только у дилера (на desktop — у обеих ролей, 1:1492/1:1761);
   траст-чипы — только дилер; мини-таблица характеристик — только покупатель. */
.product[data-active-role="dealer"] .product-mini-specs {
  display: none;
}

@media (max-width: 767px) {
  .product[data-active-role="buyer"] .product-thanks,
  .product[data-active-role="buyer"] .product-trust {
    display: none;
  }
}

/* --- Хлебные крошки: доводка под карточку товара --- */
.product .breadcrumbs__inner {
  display: flex;
  align-items: center;
  gap: 19px;
  white-space: nowrap;
}

.product-crumb-current,
.product-crumb-current-sep {
  display: none;
}

.product__layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 48px;
}

/* ============ Hero: галерея + сводка (1:1648) ============ */
.product-hero {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 32px;
  border: 1px solid var(--p-border);
  border-radius: 16px;
  background: var(--bg-white);
}

/* --- Галерея (1:1649) --- */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 420px;
  flex-shrink: 0;
}

.product-gallery__main {
  position: relative; /* якорь для клона при слайд-анимации смены фото */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
  border: 1px solid var(--p-border);
  border-radius: 12px;
  background: var(--bg-white);
  overflow: hidden;
}

.product-gallery__img {
  width: 280px;
  height: 280px;
  object-fit: contain;
}

.product-gallery__thumbs {
  display: flex;
  gap: 12px;
}

.product-gallery__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 80px;
  border: 1px solid var(--p-border);
  border-radius: 8px;
  background: var(--bg-white);
}

.product-gallery__thumb.is-active {
  border: 2px solid var(--p-yellow);
}

.product-gallery__thumb img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.product-gallery__dots {
  display: none;
  justify-content: center;
  gap: 6px;
}

.product-gallery__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 50%;
  background: var(--border-400);
}

.product-gallery__dot.is-active {
  width: 8px;
  height: 8px;
  background: var(--p-yellow);
}

/* --- Сводка (1:1661) --- */
.product-summary {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 0;
  min-width: 0;
}

.product-summary__title {
  font-weight: var(--fw-bold);
  font-size: 28px;
  line-height: 36px;
  letter-spacing: var(--ls-base);
  color: var(--text-dark-900);
}

.product-summary__rating {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-inter);
  letter-spacing: normal;
}

.product-summary__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.product-summary__stars img {
  width: 14px;
  height: 14px;
}

.product-summary__reviews {
  font-size: 14px;
  color: var(--text-gray-blue);
}

.product-summary__vline {
  width: 1px;
  height: 16px;
  background: var(--divider);
}

.product-summary__code {
  font-size: 13px;
  color: var(--text-gray-blue);
}

.product-summary__stock-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--p-green-bg);
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: normal;
  color: var(--green-dark);
}

.product-summary__stock-badge--top {
  display: none;
}

.product-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-inter);
  font-size: 14px;
  letter-spacing: normal;
  color: var(--text-gray-blue);
}

.product-summary__meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.product-summary__meta-row b {
  font-weight: 600;
  color: var(--text-dark-900);
}

.product-summary__copy {
  display: inline-flex;
  flex-shrink: 0;
}

.product-summary__copy.is-copied {
  opacity: 0.4;
}

.product-summary__meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.product-summary__qr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-dark-900);
}

.product-summary__qr span {
  text-decoration: underline;
}

.product-summary__meta-row--code {
  display: none;
}

.product-summary__divider {
  display: none;
  width: 100%;
  margin: 0;
  border: none;
  border-top: 1px solid var(--p-border);
}

/* --- Цена: покупатель (1:1954) --- */
.product-price {
  padding: 20px;
  border: 1px solid var(--p-border);
  border-radius: 12px;
  background: var(--bg-white);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.03));
}

.product-price__label {
  font-family: var(--font-inter);
  font-size: 13px;
  letter-spacing: normal;
  color: var(--text-gray-blue);
}

.product-price__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
}

.product-price__value {
  font-weight: var(--fw-bold);
  font-size: 32px;
  line-height: 1.2;
  color: var(--text-dark-900);
}

.product-price__note {
  font-family: var(--font-inter);
  font-size: 13px;
  letter-spacing: normal;
  color: var(--text-gray-blue);
}

.product-price__note--mobile {
  display: none;
}

/* --- Цена: дилер (1:1690) --- */
.product-price--dealer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-price__dealer-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 12px;
  border-radius: 8px;
  background: var(--p-green-bg);
}

.product-price__dealer-pill {
  display: inline-flex;
  flex-shrink: 0;
  padding: 4px 12px 4px 10px;
  border-radius: 100px;
  background: var(--p-green);
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: normal;
  color: var(--bg-white);
}

.product-price__dealer-note {
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: normal;
  color: var(--p-green-deep);
}

.product-price__cols {
  display: flex;
  align-items: center;
  gap: 32px;
}

.product-price__col--retail .product-price__old {
  margin-top: 4px;
  font-weight: var(--fw-bold);
  font-size: 22px;
  color: var(--text-gray-blue);
  text-decoration: line-through;
}

.product-price__vline {
  width: 1px;
  height: 40px;
  background: var(--divider);
}

.product-price__label--dealer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.product-price__discount {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--p-green-bg);
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 11px;
  color: var(--green-dark);
}

.product-price__value--dealer {
  color: var(--p-green);
}

/* --- Количество + кнопки (1:1708) --- */
.product-actions {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.product-actions__qty-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-actions__label {
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: normal;
  color: var(--text-dark-900);
}

.qty {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--p-border);
  border-radius: 8px;
  overflow: hidden;
}

.qty__btn {
  width: 40px;
  padding: 12px 0;
  background: var(--p-gray-bg);
  font-weight: var(--fw-bold);
  font-size: 16px;
  line-height: 1.3;
  color: var(--text-gray-blue);
}

.qty__value {
  width: 60px;
  padding: 12px 0;
  border: none;
  background: var(--bg-white);
  text-align: center;
  font-weight: var(--fw-bold);
  font-size: 16px;
  line-height: 1.3;
  color: var(--text-dark-900);
}

.product-actions__buttons {
  display: flex;
  gap: 16px;
  flex: 1 1 0;
  min-width: 0;
}

.product-actions__cart,
.product-actions__one-click {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: var(--fw-bold);
  font-size: 15px;
  line-height: 1.3;
  color: var(--text-dark-900);
}

.product-actions__cart {
  gap: 10px;
  background: var(--p-yellow);
}

.product-actions__one-click {
  padding: 12px 22px;
  border: 2px solid var(--text-dark-900);
  background: var(--bg-white);
}

/* --- Как проходит покупка (1:1724) --- */
.product-process {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: var(--p-info-bg);
}

.product-process__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-inter);
  font-size: 13px;
  letter-spacing: normal;
  color: var(--text-dark-900);
}

.product-process__item img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Вы юридическое лицо? (1:1989, только покупатель) --- */
.product-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--p-border);
  border-radius: 12px;
}

.product-legal__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--fw-bold);
  font-size: 14px;
  color: var(--text-dark-900);
}

.product-legal__text {
  font-family: var(--font-inter);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: normal;
  color: var(--text-gray-blue);
}

.product-legal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--p-green);
  border-radius: 6px;
  font-weight: var(--fw-bold);
  font-size: 13px;
  color: var(--p-green);
}

/* ============ Табы (1:1737) ============ */
.product-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--p-border);
  border-radius: 16px;
  background: var(--bg-white);
}

.product-tabs__bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  background: var(--bg-white);
}

.product-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 37px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: var(--fw-medium);
  font-size: 14px;
  color: #5c5c5c;
  white-space: nowrap;
}

.product-tabs__btn.is-active {
  border-color: var(--yellow-500);
  border-radius: 999px;
  background: var(--bg-white);
  color: var(--text-black);
}

.product-tabs__label-short {
  display: none;
}

.product-tabs__panel {
  width: 100%;
}

/* --- Таб: Описание (1:1742) --- */
.product-description {
  font-family: var(--font-inter);
  font-size: 15px;
  line-height: 26px;
  letter-spacing: normal;
  color: var(--text-gray-blue);
}

.product-description p + p {
  margin-top: 16px;
}

/* --- Таб: Характеристики (1:2262) --- */
.product-specs {
  width: 100%;
  border: 1px solid var(--p-border);
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-family: var(--font-inter);
  font-size: 14px;
  letter-spacing: normal;
}

.product-specs th,
.product-specs td {
  padding: 16px;
  border-bottom: 1px solid var(--p-border);
  background: var(--bg-white);
}

.product-specs tr:nth-child(even) th,
.product-specs tr:nth-child(even) td {
  background: var(--p-stripe);
}

.product-specs tr:last-child th,
.product-specs tr:last-child td {
  border-bottom: none;
}

.product-specs th {
  width: 50%;
  font-weight: 400;
  text-align: left;
  color: var(--text-gray-blue);
}

.product-specs td {
  font-weight: 600;
  text-align: right;
  color: var(--text-dark-900);
}

/* --- Таб: Комплектация и документы (1:2556) --- */
.product-docs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-docs__block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-docs__heading {
  font-weight: var(--fw-bold);
  font-size: 18px;
  color: var(--text-dark-900);
}

.product-docs__package {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-docs__package li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-inter);
  font-size: 14px;
  letter-spacing: normal;
  color: var(--text-dark-900);
}

.product-docs__package li::before {
  content: '';
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--p-yellow);
}

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

.product-doc {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--p-border);
  border-radius: 8px;
}

.product-doc__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--p-red-bg);
}

.product-doc__icon img {
  width: 20px;
  height: 20px;
}

.product-doc__pdf-label {
  display: none;
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: normal;
  color: var(--bg-white);
}

.product-doc__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--font-inter);
  letter-spacing: normal;
}

.product-doc__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-doc__size {
  font-size: 12px;
  color: var(--text-gray-blue);
}

.product-doc__dl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--p-gray-bg);
}

.product-doc__dl img {
  width: 16px;
  height: 16px;
}

/* --- Краткие характеристики (mobile, 1:2938) --- */
.product-mini-specs {
  display: none;
}

/* ============ Спасибо, что вы с нами (1:1745) ============ */
.product-thanks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 16px;
  background: var(--p-green);
}

.product-thanks__head {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 680px;
}

.product-thanks__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--p-yellow);
}

.product-thanks__icon img {
  width: 24px;
  height: 24px;
}

.product-thanks__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.product-thanks__title {
  font-weight: var(--fw-bold);
  font-size: 22px;
  color: var(--bg-white);
}

.product-thanks__text {
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: normal;
  color: var(--bg-white);
  opacity: 0.9;
}

.product-thanks__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--bg-white);
  font-weight: var(--fw-bold);
  font-size: 14px;
  color: var(--p-green);
  white-space: nowrap;
}

/* --- Траст-чипы (mobile, 1:2721) --- */
.product-trust {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
}

.product-trust__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: var(--p-gray-bg);
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: normal;
  color: var(--text-dark-900);
}

.product-trust__chip img {
  width: 18px;
  height: 18px;
}

/* ============ Адаптив ============ */

@media (max-width: 1023px) {
  /* Стек: галерея над сводкой */
  .product-hero {
    flex-direction: column;
    gap: 32px;
    padding: 24px;
  }

  .product-gallery {
    width: 100%;
    max-width: 420px;
    align-self: center;
  }

  .product-summary {
    width: 100%;
  }

  .product-actions {
    flex-wrap: wrap;
  }

  .product-actions__buttons {
    flex: 1 1 320px;
  }

  .product-thanks {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  /* Mobile 390 (1:2618 / 1:2787 / 1:2938 / 1:3124) */
  .product .breadcrumbs__inner {
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .product .breadcrumbs__inner::-webkit-scrollbar {
    display: none;
  }

  .product-crumb-current {
    display: inline;
    font-weight: var(--fw-bold);
    color: var(--text-dark-900);
  }

  .product-crumb-current-sep {
    display: inline;
  }

  .product__layout {
    gap: 20px;
    padding-bottom: 40px;
  }

  /* Карточки-обёртки исчезают, контент во всю ширину */
  .product-hero {
    gap: 20px;
    padding: 0;
    border: none;
    border-radius: 0;
  }

  .product-gallery {
    max-width: none;
    gap: 12px;
  }

  .product-gallery__main {
    height: 320px;
    border-radius: 14px;
  }

  .product-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .product-gallery__thumbs {
    display: none;
  }

  .product-gallery__dots {
    display: flex;
    align-items: center;
  }

  .product-summary {
    gap: 20px;
  }

  .product-summary__title {
    font-size: 18px;
    line-height: 1.3;
  }

  .product-summary__rating {
    gap: 4px;
  }

  .product-summary__stars img {
    width: 13px;
    height: 13px;
  }

  .product-summary__reviews {
    font-size: 12px;
  }

  .product-summary__vline,
  .product-summary__code {
    display: none;
  }

  .product-summary__stock-badge--top {
    display: inline-flex;
    margin-left: auto;
    padding: 4px 8px;
    font-weight: 700;
    font-size: 11px;
  }

  .product-summary__meta {
    gap: 6px;
    font-size: 12px;
  }

  .product-summary__meta-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .product-summary__qr {
    font-weight: 600;
    font-size: 13px;
  }

  .product-summary__meta-row--code {
    display: flex;
  }

  .product-summary__meta-row--stock {
    display: none;
  }

  .product-summary__divider {
    display: block;
  }

  /* Цена mobile: серые карточки (1:2650) */
  .product-price {
    padding: 16px;
    border: 1px solid var(--p-border);
    background: var(--p-gray-bg);
    filter: none;
  }

  .product-price__value {
    font-size: 28px;
  }

  .product-price__dealer-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px;
  }

  .product-price__dealer-pill {
    padding: 2px 8px;
    font-size: 11px;
  }

  .product-price__dealer-note {
    font-size: 12px;
    color: var(--p-green);
  }

  .product-price__cols {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .product-price__col--retail {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .product-price__col--retail .product-price__old {
    margin-top: 0;
    font-size: 16px;
  }

  .product-price__vline {
    width: 100%;
    height: 1px;
  }

  .product-price__row {
    gap: 8px;
    margin-top: 6px;
  }

  .product-price__note--desktop {
    display: none;
  }

  .product-price__note--mobile {
    display: inline;
    font-size: 12px;
  }

  /* Количество + кнопки в столбик (1:2667) */
  .product-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .product-actions__qty-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .product-actions__label {
    font-size: 14px;
  }

  .qty__btn {
    width: 36px;
    padding: 10px 0;
  }

  .qty__value {
    width: 44px;
    padding: 10px 0;
  }

  .product-actions__buttons {
    flex: 0 0 auto;
    flex-direction: column;
    gap: 8px;
  }

  .product-actions__cart img {
    width: 16px;
    height: 16px;
  }

  .product-actions__one-click {
    padding: 13px 23px;
    border-width: 1.5px;
  }

  /* Инфо о покупке (1:2684) */
  .product-process {
    gap: 10px;
    padding: 14px;
    border-radius: 8px;
    background: var(--p-gray-bg);
  }

  .product-process__item {
    gap: 8px;
    color: #545454;
  }

  .product-process__item img {
    width: 14px;
    height: 14px;
  }

  /* Табы: подчёркивание вместо пилюль (1:2701) */
  .product-tabs {
    gap: 12px;
    padding: 0;
    border: none;
    border-radius: 0;
  }

  .product-tabs__bar {
    width: 100%;
    gap: 16px;
    padding: 0;
    border: none;
    border-bottom: 1px solid var(--p-border);
    border-radius: 0;
  }

  .product-tabs__btn {
    height: auto;
    padding: 0 0 12px;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    margin-bottom: -1px;
    font-weight: var(--fw-bold);
    font-size: 13px;
    color: var(--text-gray-blue);
  }

  .product-tabs__btn.is-active {
    border: none;
    border-bottom: 2px solid var(--p-yellow);
    border-radius: 0;
    color: var(--text-dark-900);
  }

  .product-tabs__label-full {
    display: none;
  }

  .product-tabs__label-short {
    display: inline;
  }

  .product-description {
    font-size: 13px;
    line-height: 18px;
  }

  .product-description p + p {
    margin-top: 12px;
  }

  .product-specs {
    font-size: 13px;
  }

  .product-specs th,
  .product-specs td {
    padding: 12px 16px;
  }

  /* Комплектация и документы (1:3124) */
  .product-docs {
    gap: 24px;
  }

  .product-docs__block {
    gap: 12px;
  }

  .product-docs__heading {
    font-size: 16px;
  }

  .product-docs__package li {
    align-items: flex-start;
    font-size: 13px;
  }

  .product-docs__package li::before {
    margin-top: 6px;
  }

  .product-doc {
    gap: 12px;
    padding: 12px;
  }

  .product-doc__icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--p-red);
  }

  .product-doc__icon img {
    display: none;
  }

  .product-doc__pdf-label {
    display: inline;
  }

  .product-doc__name {
    font-size: 13px;
    white-space: normal;
  }

  .product-doc__dl {
    background: transparent;
  }

  /* Краткие характеристики после табов */
  .product-mini-specs {
    display: table;
  }

  /* Спасибо-баннер (1:2712) */
  .product-thanks {
    gap: 16px;
    padding: 20px;
  }

  /* Иконка + заголовок в одной строке, текст под ними (1:2713) */
  .product-thanks__head {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    gap: 12px;
    max-width: none;
  }

  .product-thanks__content {
    display: contents;
  }

  .product-thanks__text {
    grid-column: 1 / -1;
  }

  .product-thanks__icon {
    width: 32px;
    height: 32px;
  }

  .product-thanks__icon img {
    width: 16px;
    height: 16px;
  }

  .product-thanks__title {
    font-size: 16px;
  }

  .product-thanks__text {
    font-size: 12px;
    line-height: 16px;
  }

  .product-thanks__btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
  }

  .product-trust {
    display: flex;
  }
}

@media (max-width: 359px) {
  .product-gallery__main {
    height: 260px;
  }

  .product-price__value {
    font-size: 24px;
  }

  .product-tabs__bar {
    gap: 12px;
  }
}

/* «Спасибо, что вы с нами!» — видно авторизованному дилеру */
.product-price__dealer-thanks {
  display: block;
  font-weight: var(--fw-bold);
  color: var(--text-dark-900);
}
