@charset "UTF-8";
/* =====================================================================
   КОРЗИНА И ОФОРМЛЕНИЕ ЗАКАЗА (страница корзины Shop2 2.141)
   Шаблоны: shop2.2.141-cart.tpl, -cart-product.tpl, -cart.order.tpl, -cart.order-payments.tpl
   Подключение: header.custom.assets.tpl (корзина — первый экран страницы)

   Слева — шаги с номерами (CSS-счётчик .lpc-cart-step):
     1 Проверьте товары · 2 Доставка · (Оплата) · Форма заказа
   Справа — липкий блок «Ваш заказ»: итог, шкала до минимальной суммы, кнопка.

   Специфичность: правила Shop2 для корзины начинаются с #shop2-cart и
   [data-media-source]. Корень :is(#lpc-cart, .lpc-cart) даёт вес ID без !important.
   Цвета — переменные проекта, размеры шрифтов — классы lp-header-*
   ===================================================================== */
:is(#lpc-cart, .lpc-cart) {
  --lc-radius: 20px;
  /* панели */
  --lc-radius-sm: 10px;
  /* поля, кнопки */
  --lc-pad: 32px;
  /* внутренний отступ панелей */
  --lc-gap: 24px;
  /* между панелями */
  --lc-control-h: 48px;
  /* высота полей и кнопок */
  --lc-qty-w: 180px;
  /* колонка «количество»: одинаковая во всех строках */
  --lc-success: #2e9e5b;
  /* «сумма набрана» */
  --lc-sticky-top: 24px;
  /* отступ липкого «Ваш заказ» от верха экрана */
}
/* если шапка с липкой панелью магазина — «Ваш заказ» встаёт ниже неё */
body:has(.lpc-site-header-bar--sticky) :is(#lpc-cart, .lpc-cart) {
  --lc-sticky-top: 104px;
}
/* =====================================================================
   1. СЕТКА СТРАНИЦЫ
   ===================================================================== */
:is(#lpc-cart, .lpc-cart) .cart-page__inner {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}
:is(#lpc-cart, .lpc-cart) .cart-page__left {
  counter-reset: lpc-cart-step;
  min-width: 0;
}
:is(#lpc-cart, .lpc-cart) .cart-page__right-inner {
  top: var(--lc-sticky-top);
}
/* =====================================================================
   2. ПАНЕЛИ И ШАГИ
   ===================================================================== */
:is(#lpc-cart, .lpc-cart) .lpc-cart-panel, :is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-cart-order-form__item, :is(#lpc-cart, .lpc-cart) .cart-page__right-content, :is(#lpc-cart, .lpc-cart) .cart-page .cart-page-right-inner .has-materials {
  padding: var(--lc-pad);
  border: 1px solid var(--text-color-a-01);
  border-radius: var(--lc-radius);
  background: var(--lpc_site_bg);
  box-shadow: 0 2px 12px -6px rgba(0, 0, 0, 0.08);
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-cart-order-form__item {
  margin-bottom: var(--lc-gap);
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-cart-order-form__item:empty, :is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-cart-order-form__item:not(:has(*)) {
  display: none;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-order-options.shop2-order-in-one-page-form {
  margin: var(--lc-gap) 0 0;
}
/* номер шага — счётчик, выводится перед заголовком */
:is(#lpc-cart, .lpc-cart) .lpc-cart-step {
  counter-increment: lpc-cart-step;
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-step__head {
  margin: 0 0 24px;
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-step__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--text-color-base);
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-step__title::before {
  content: counter(lpc-cart-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color-base);
  color: var(--lpc-primary-contrast, var(--text-color-base));
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-step__title b {
  font-weight: inherit;
}
/* =====================================================================
   3. ШАГ 1 — ТОВАРЫ
   ===================================================================== */
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table {
  margin: 0;
}
/* шапка таблицы Shop2 не нужна — подписи есть у каждой строки */
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table__heading {
  display: none;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .cart-products {
  margin: 0;
}
/* строка товара: товар | количество | сумма | удалить */
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-products__item {
  display: grid;
  /* каждая строка — отдельная сетка, поэтому колонки фиксированные,
     иначе ширина «шт»/«кг» или подписи «мин.» сдвигает количество */
  grid-template-columns: minmax(0, 1fr) var(--lc-qty-w) 120px 40px;
  grid-template-areas: "prod qty sum del";
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--text-color-a-01);
  border-radius: 0;
  background: none;
  box-shadow: none;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-products__item:first-child {
  padding-top: 0;
  border-top: 0;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-products__right {
  display: contents;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-products__left {
  grid-area: prod;
  min-width: 0;
  width: auto;
  margin: 0;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-amount {
  grid-area: qty;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-sums {
  grid-area: sum;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-delete {
  grid-area: del;
}
/* цена за единицу выводится под названием (.lpc-cart-item__meta) */
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-price {
  display: none;
}
/* товар: миниатюра + название */
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product__left {
  flex: 0 0 64px;
  width: 64px;
  max-width: none;
  margin: 0;
  float: none;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product__image {
  margin: 0;
  border: 1px solid var(--text-color-a-01);
  border-radius: 12px;
  background-color: var(--lpc_site_bg);
  overflow: hidden;
}
/*:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product__image a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}*/
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product__image a::before {
  display: none;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product__image a img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product__right {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-details .clear {
  display: none;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product-name a {
  color: var(--text-color-base);
  text-decoration: none;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product-name a[href]:hover {
  color: var(--text-color-a-07);
}
/* «160 ₽/шт · ТМ Бэрэкэтле» */
:is(#lpc-cart, .lpc-cart) .lpc-cart-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--text-color-a-06);
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-item__meta b {
  color: var(--text-color-base);
  font-weight: 700;
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-item__unit-price + .lpc-cart-item__vendor::before {
  content: "·";
  margin: 0 6px;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product-action {
  color: var(--text-color-a-07);
}
/* параметры товара: производитель уже в строке под названием */
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-params {
  margin-top: 6px;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-params .gr_vendor_name {
  display: none;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-params:not(:has(li:not(.gr_vendor_name))) {
  display: none;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-params__item {
  color: var(--text-color-a-06);
}
/* количество */
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-amount {
  justify-self: start;
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-amount .cart-product-amount {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-amount .cart-product-amount .shop2-product-amount {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 44px;
  margin: 0;
  border: 1px solid var(--text-color-a-01);
  border-radius: var(--lc-radius-sm);
  background: var(--lpc_site_bg);
  overflow: hidden;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-amount .shop2-product-amount button {
  width: 40px;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-color-base);
  box-shadow: none;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-amount .shop2-product-amount button:hover {
  background: var(--primary-color-a-01);
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-amount .shop2-product-amount button:disabled {
  opacity: 0.35;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-amount .shop2-product-amount button .gr-mask-icon {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-amount .shop2-product-amount input {
  width: 48px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--text-color-base);
  text-align: center;
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-item__unit {
  flex: 0 0 auto;
  min-width: 24px;
  color: var(--text-color-a-06);
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-amount .cart-product-amount .amount-min {
  flex-basis: 100%;
  margin: 0;
  color: var(--text-color-a-05);
}
/* сумма по строке */
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-sums {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: auto;
  margin: 0;
  padding: 0;
  text-align: right;
  white-space: nowrap;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-sums .cart-sum, :is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-sums .cart-sum__price {
  color: var(--text-color-base);
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-sums .cart-sum__old-price {
  margin-top: 2px;
  color: var(--text-color-a-05);
  text-decoration: line-through;
}
/* удалить — иконка-кнопка */
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-delete {
  position: static;
  width: 40px;
  margin: 0;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-delete a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--lc-radius-sm);
  background: transparent;
  color: var(--text-color-a-05);
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-delete a:hover {
  background: var(--error-background-color, rgba(235, 87, 87, 0.1));
  color: var(--error-text-color, #eb5757);
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-delete a > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-delete a ins {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-delete a .gr-mask-icon, :is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-delete a:hover .gr-mask-icon {
  width: 30px;
  height: 30px;
  margin: 0;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
}
/* кнопки под списком */
:is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .lpc-cart-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--text-color-a-01);
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .shop2-cart-table__cleanup {
  margin: 0;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .shop2-cart-table__cleanup a, :is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .lpc-cart-actions__add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  min-height: 0;
  margin: 0;
  padding: 0 16px;
  border-radius: var(--lc-radius-sm);
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s, border-color 0.2s;
}
/* «Очистить корзину» — мягкая красная */
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .shop2-cart-table__cleanup a {
  border: 0;
  background: var(--error-background-color, rgba(235, 87, 87, 0.1));
  color: var(--error-text-color, #eb5757);
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .shop2-cart-table__cleanup a:hover {
  background: color-mix(in srgb, var(--error-text-color, #eb5757) 18%, transparent);
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .shop2-cart-table__cleanup a > span {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .shop2-cart-table__cleanup a i {
  display: flex;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .shop2-cart-table__cleanup a svg {
  fill: currentColor;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .shop2-cart-table__cleanup a .gr_small_icon {
  display: none;
}
/* «Добавить товары» — контурная */
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .lpc-cart-actions__add {
  margin-left: auto;
  border: 1.5px solid var(--primary-color-base);
  background: var(--lpc_site_bg);
  color: var(--text-color-base);
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .lpc-cart-actions__add:hover {
  background: var(--primary-color-a-01);
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .lpc-cart-actions__add::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
:is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .shop2-cart-update {
  margin: 0;
}
/* =====================================================================
   4. ПЛАШКИ: ВХОД, ПРИМЕЧАНИЕ К ЗАКАЗУ
   ===================================================================== */
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-cart-auth, :is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-cart-registration .shop2-info, :is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop-cart-text {
  margin: var(--lc-gap) 0 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--text-color-a-01);
  color: var(--text-color-a-08, var(--text-color-base));
  box-shadow: none;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-cart-auth a, :is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop-cart-text a {
  color: var(--text-color-base);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--primary-color-base);
}
/* =====================================================================
   5. ШАГИ 2+ — ДОСТАВКА, ОПЛАТА, ФОРМА
   ===================================================================== */
/* варианты доставки / оплаты — карточки с радиокнопкой */
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .option-type {
  margin: 0 0 12px;
  padding: 14px 18px;
  border: 1.5px solid var(--text-color-a-01);
  border-radius: 12px;
  background: var(--lpc_site_bg);
  transition: border-color 0.2s, background 0.2s;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .option-type:last-child {
  margin-bottom: 0;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .option-type:hover {
  border-color: var(--text-color-a-03);
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .option-type.active-type {
  border-color: var(--primary-color-base);
  background: var(--primary-color-a-01);
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .option-type .option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
/* системный input скрыт темой, но занимает 30px — убираем из потока */
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .option-type .option-label > input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .option-type .option-label .lp-form-tpl__field-radio--input {
  flex: 0 0 auto;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .option-type .option-details {
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--text-color-a-01);
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .option-type .option-item {
  max-width: none;
  margin: 0;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .option-type .option-item + .option-item {
  margin-top: 12px;
}
/* поле под подписью */
:is(#lpc-cart, .lpc-cart) .cart-page__bottom label > .lp-form-tpl__field-text, :is(#lpc-cart, .lpc-cart) .cart-page__bottom label > .suggestions-input--wrapper {
  display: block;
  margin-top: 8px;
}
/* поля формы */
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .lp-form-tpl__field-text {
  width: 100%;
  height: var(--lc-control-h);
  padding: 0 14px;
  border: 1.5px solid var(--text-color-a-01);
  border-radius: var(--lc-radius-sm);
  background: var(--lpc_site_bg);
  color: var(--text-color-base);
  box-shadow: none;
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom textarea.lp-form-tpl__field-text {
  height: auto;
  min-height: 104px;
  padding: 12px 14px;
  resize: vertical;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .lp-form-tpl__field-text::placeholder {
  color: var(--text-color-a-04);
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .lp-form-tpl__field-text:hover {
  border-color: var(--text-color-a-03);
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .lp-form-tpl__field-text:focus {
  border-color: var(--primary-color-base);
  box-shadow: 0 0 0 3px var(--primary-color-a-02);
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .lp-form-tpl__item-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--text-color-base);
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .required {
  color: var(--error-text-color, #eb5757);
}
/* форма заказа — две колонки, длинные поля во всю ширину */
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-order-form .form-item {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-order-form .form-item:has(textarea, .type-radio_group, .type-checkbox, .lp-form-tpl__field-checkbox, select[multiple]), :is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-order-form .form-item__personal_data, :is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-order-form .form-item__captcha {
  grid-column: 1 / -1;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-order-form .form-item > label {
  display: block;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-order-form small {
  display: block;
  margin-top: 6px;
  color: var(--text-color-a-05);
}
/* кнопка отправки формы */
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .form-item-submit {
  max-width: none;
  margin: 24px 0 0;
  padding: 0;
}
:is(#lpc-cart, .lpc-cart) .cart-page__bottom .form-item-submit button {
  width: 100%;
  height: 52px;
  border-radius: 12px;
}
/* =====================================================================
   6. «ВАШ ЗАКАЗ»
   ===================================================================== */
:is(#lpc-cart, .lpc-cart) .cart-total {
  margin: 0;
}
:is(#lpc-cart, .lpc-cart) .cart-total__header {
  margin: 0 0 20px;
  color: var(--text-color-base);
}
:is(#lpc-cart, .lpc-cart) .cart-total__items {
  margin: 0;
}
:is(#lpc-cart, .lpc-cart) .cart-total__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  padding: 6px 0;
  border: 0;
}
:is(#lpc-cart, .lpc-cart) .cart-total__title {
  color: var(--text-color-a-06);
}
:is(#lpc-cart, .lpc-cart) .cart-total__title > span {
  display: none;
  /* двоеточие после подписи */
}
:is(#lpc-cart, .lpc-cart) .cart-total__body {
  color: var(--text-color-a-07);
  text-align: right;
  white-space: nowrap;
}
:is(#lpc-cart, .lpc-cart) .cart-total__item:not(.last_item) .cart-total__body {
  font-size: inherit;
  font-weight: 600;
}
/* «Итого» */
:is(#lpc-cart, .lpc-cart) .cart-total__item.last_item {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--text-color-a-01);
}
:is(#lpc-cart, .lpc-cart) .cart-total__item.last_item .cart-total__title, :is(#lpc-cart, .lpc-cart) .cart-total__item.last_item .cart-total__body {
  color: var(--text-color-base);
}
/* шкала до минимальной суммы */
:is(#lpc-cart, .lpc-cart) .lpc-cart-progress {
  margin-top: 20px;
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-progress__track {
  height: 8px;
  border-radius: 999px;
  background: var(--text-color-a-01);
  overflow: hidden;
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-progress__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary-color-base);
  transition: width 0.4s ease;
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-progress--done .lpc-cart-progress__fill {
  background: var(--lc-success);
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-progress__text {
  margin-top: 8px;
  color: var(--text-color-a-06);
}
:is(#lpc-cart, .lpc-cart) .lpc-cart-progress__text b {
  color: var(--text-color-base);
}
/* предупреждение о минимальной сумме */
:is(#lpc-cart, .lpc-cart) .cart-page__right .lpc-cart-alert {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--primary-color-a-02);
  color: var(--text-color-base);
  box-shadow: none;
}
:is(#lpc-cart, .lpc-cart) .cart-page__right .lpc-cart-alert a {
  color: var(--text-color-base);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--primary-color-base);
}
/* кнопки */
:is(#lpc-cart, .lpc-cart) .cart-total__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
:is(#lpc-cart, .lpc-cart) .cart-total__btns.no_btns {
  display: none;
}
:is(#lpc-cart, .lpc-cart) .cart-total__btns .lp-button, :is(#lpc-cart, .lpc-cart) .cart-total .cart-total-checkout.cart_total_checkout, :is(#lpc-cart, .lpc-cart) .cart-total .cart-total-order-checkout.cart_total_order_checkout {
  width: 100%;
  height: 52px;
  min-height: 0;
  margin: 0;
  border-radius: 12px;
}
:is(#lpc-cart, .lpc-cart) .cart-total__btns .lpc-cart-submit {
  cursor: pointer;
}
:is(#lpc-cart, .lpc-cart) .cart-total div.shop2-cart-update {
  margin: 0;
}
/* купон */
:is(#lpc-cart, .lpc-cart) .cart-total .shop-coupon {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--text-color-a-01);
}
:is(#lpc-cart, .lpc-cart) .cart-total .shop-coupon__title {
  margin-bottom: 12px;
}
:is(#lpc-cart, .lpc-cart) .cart-total .shop-coupon__body {
  display: flex;
  gap: 8px;
}
:is(#lpc-cart, .lpc-cart) .cart-total .shop-coupon__body .gr-field-style {
  flex: 1 1 auto;
  margin: 0;
}
:is(#lpc-cart, .lpc-cart) .cart-total .shop-coupon__body .lp-form-tpl__field-text {
  height: var(--lc-control-h);
  border: 1.5px solid var(--text-color-a-01);
  border-radius: var(--lc-radius-sm);
}
:is(#lpc-cart, .lpc-cart) .cart-total .shop-coupon__body .coupon-btn {
  flex: 0 0 var(--lc-control-h);
  width: var(--lc-control-h);
  height: var(--lc-control-h);
  border-radius: var(--lc-radius-sm);
  background: var(--primary-color-base);
}
/* бонусы */
:is(#lpc-cart, .lpc-cart) .cart-total__bonuses, :is(#lpc-cart, .lpc-cart) .cart-bonuses {
  margin-top: 16px;
}
/* =====================================================================
   7. ОДНА КНОПКА «ОФОРМИТЬ ЗАКАЗ»
   На ПК — в «Ваш заказ» (нажимает системную кнопку формы), в форме скрыта.
   На планшете и мобильном «Ваш заказ» идёт после формы — остаётся кнопка формы.
   ===================================================================== */
@media (min-width: 1024px) {
  .lpc-cart--summary-submit .cart-page__bottom .form-item-submit {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}
@media (max-width: 1023px) {
  /* в блоке больше ничего нет — убираем пустой отступ */
  :is(#lpc-cart, .lpc-cart) .cart-total__btns .lpc-cart-submit {
    display: none;
  }
  :is(#lpc-cart, .lpc-cart) .cart-total__btns:not(:has(> :not(.lpc-cart-submit))) {
    display: none;
  }
}
/* =====================================================================
   8. АДАПТИВ
   ===================================================================== */
@media (max-width: 1260px) {
  :is(#lpc-cart, .lpc-cart) {
    --lc-pad: 24px;
  }
  :is(#lpc-cart, .lpc-cart) .cart-page__inner {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
  }
}
/* планшет: одна колонка, «Ваш заказ» после формы */
@media (max-width: 1023px) {
  :is(#lpc-cart, .lpc-cart) .cart-page__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  :is(#lpc-cart, .lpc-cart) .cart-page__right {
    margin-top: 0;
  }
  :is(#lpc-cart, .lpc-cart) .cart-page__right-inner {
    position: static;
  }
}
/* мобильный */
@media (max-width: 767px) {
  /* строка товара: товар + удалить / количество + сумма */
  :is(#lpc-cart, .lpc-cart) {
    --lc-pad: 16px;
    --lc-radius: 16px;
    --lc-gap: 16px;
  }
  :is(#lpc-cart, .lpc-cart) .lpc-cart-step__head {
    margin-bottom: 16px;
  }
  :is(#lpc-cart, .lpc-cart) .lpc-cart-step__title::before {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  :is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-products__item {
    grid-template-columns: minmax(0, 1fr) auto 32px;
    grid-template-areas: "prod prod del" "qty  sum  sum";
    gap: 12px;
  }
  :is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-delete {
    align-self: start;
    justify-self: end;
    margin: -8px -8px 0 0;
  }
  :is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product {
    align-items: flex-start;
    gap: 12px;
  }
  :is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product__left, :is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .cart-product__image {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
  :is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .lpc-cart-actions .shop2-cart-table__cleanup, :is(#lpc-cart, .lpc-cart) #shop2-cart .shop2-cart-table .lpc-cart-actions .lpc-cart-actions__add {
    flex: 1 1 0;
  }
  :is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .shop2-cart-table__cleanup a, :is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .lpc-cart-actions__add {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
  :is(#lpc-cart, .lpc-cart) #shop2-cart .lpc-cart-actions .shop2-cart-table__cleanup a > span {
    white-space: nowrap;
  }
  :is(#lpc-cart, .lpc-cart) .cart-page__bottom .shop2-order-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  :is(#lpc-cart, .lpc-cart) .cart-page__bottom .option-type {
    padding: 12px 14px;
  }
}
.cart-page__right {
  position: sticky;
  top: 100px;
}
.cart-page .cart-params, .cart-page .cart-product-article, .cart-page .lpc-cart-item__meta {
  display: none;
}
body .shop-lpc-content-wrap[data-media-source="media-xs"] #shop2-cart .shop2-cart-table .cart-product .cart-product-name {
  padding-right: 10px;
}
