

/* Start:/local/templates/main_store/cart-figma.css?177150647726897*/
/* Корзина — вёрстка по Figma (node 1-688, 1-689, 1-735 и др.) */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500&display=swap');

@font-face {
  font-family: 'Adderley';
  src: url('/local/templates/main/assets/cart-new/adderley_bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --primary-text: #353535;
  --secondary-text: #727272;
  --Primary-text: #353535;
  --Secondary-text: #727272;
  --tetriary-text: #B3B3B3;
  --accent: #cf0a12;
  --accent-hover: #b00910;
  --bg-page: #f7f6f5;
  --bg-card: #ffffff;
  --bg-bonus: #f5f5f5;
  --bg-alert: #ffdcdc;
  --radius-card: 20px;
  --radius-btn: 8px;
  --font-title: Adderley, "Adderley-Bold", sans-serif;
  --font-body: "Inter Tight", "InterTight-Regular", sans-serif;
  --font-medium: "Inter Tight", "InterTight-Medium", sans-serif;
}

body.cart-page,
.cart-wrap {
  background: var(--bg-page);
  font-family: var(--font-body);
  color: var(--primary-text);
  -webkit-font-smoothing: antialiased;
}

.cart-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px;
}

/* Шапка: Назад к покупкам (строка 1), КОРЗИНА + Очистить корзину (строка 2) */
.cart-header {
  margin-bottom: 24px;
}

.cart-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-text);
  font-size: 14px;
  line-height: 1.33;
  margin-bottom: 8px;
}
.cart-back:hover { color: var(--primary-text); }
.cart-back-icon {
  width: 7px;
  height: 11px;
  transform: rotate(180deg);
}

.cart-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.cart-title-wrap {
  position: relative;
  overflow: hidden;
  height: 72px;
  flex: 1;
  min-width: 0;
}
.cart-title-wrap .cart-title {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--Primary-text, #353535);
  font-family: Adderley, var(--font-title);
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 72px;
  margin: 0;
  white-space: nowrap;
  transition: transform 0.4s ease;
}
.cart-title--main { transform: translateX(0); }
.cart-title--checkout { transform: translateX(110%); visibility: hidden; }
.cart-wrap.cart-checkout-open .cart-title--main { transform: translateX(-110%); visibility: hidden; }
.cart-wrap.cart-checkout-open .cart-title--checkout { transform: translateX(0); visibility: visible; }

.cart-clear {
  font-size: 16px;
  color: var(--accent);
}
.cart-clear:hover { color: var(--accent-hover); }

/* Баннер минимальной суммы */
.cart-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alert);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
  font-size: 18px;
  color: var(--primary-text);
  transition: opacity 0.35s ease, max-height 0.35s ease, margin 0.35s ease, padding 0.35s ease;
  max-height: 120px;
  overflow: hidden;
}
.cart-alert.cart-min-alert--hidden {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}
.cart-alert-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Общий контейнер: корзина + баннер + форма оформления — единый gap */
.cart-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Левая колонка в потоке (высота только по контенту), сумма заказа справа — absolute, чтобы не растягивать ряд */
.cart-main {
  position: relative;
  margin-bottom: 0;
  padding-right: 365px;
  box-sizing: border-box;
  min-height: 580px;
}

.cart-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
  max-height: 3000px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.45s ease, opacity 0.4s ease, margin 0.45s ease;
}

.cart-main > .basket_form {
  position: absolute;
  right: 0;
  top: 0;
  width: 325px;
}

.cart-main > .cart-make-block {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 24px 0;
  position: relative;
  z-index: 2;
  background: var(--bg-card);
}

.cart-main > .cart-make-expand {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.cart-wrap.cart-checkout-open #basket-root.cart-main .cart-list {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
}
.cart-wrap.cart-checkout-open #basket-root.cart-main > .cart-make-block {
  margin: 0 0 24px 0;
}
.cart-wrap.cart-checkout-open #basket-root.cart-main > .cart-make-expand {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding-top: 0;
}
.cart-wrap.cart-checkout-open #basket-root.cart-main > .cart-make-expand .order_make_form,
.cart-wrap.cart-checkout-open #basket-root.cart-main > .cart-make-expand .make-form-col {
  margin-top: 0;
}
.cart-wrap.cart-checkout-open #basket-root.cart-main > .cart-make-expand .make-form-card:first-child {
  margin-top: 0;
}

/* Карточка товара в корзине — по Figma: 1015×200px, абсолютные координаты */
.cart-item {
  position: relative;
  width: 100%;
  max-width: 1015px;
  height: 200px;
  box-sizing: border-box;
  border-radius: 20px;
  background: #FFF;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.cart-item-img-link {
  position: absolute;
  left: 20px;
  top: 20px;
  display: block;
}
.cart-item-img {
  width: 179px;
  height: 160px;
  aspect-ratio: 179 / 160;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
@keyframes bonusPop {
  0% { opacity: 0; transform: scale(0.8); }
  60% { opacity: 1; transform: scale(1.05); }
  100% { transform: scale(1); }
}
/* Плашка бонусов — внутри .cart-item-info; высота под шрифт 18px, чтобы не вылезало */
.cart-item-bonus {
  position: absolute;
  left: 0;
  top: -50px;
  display: flex;
  min-width: 125px;
  width: max-content;
  max-width: 160px;
  min-height: 36px;
  height: 36px;
  padding: 6px 20px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  border-radius: 4px;
  background: #F5F5F5;
  font-family: "Inter Tight", var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #727272;
  white-space: nowrap;
  animation: bonusPop 0.35s ease-out;
}
.cart-item-bonus-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: #F66060;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-bonus-icon img {
  width: 14px;
  height: 11px;
  object-fit: contain;
}
.cart-item-bonus img { width: 14px; height: 11px; }
/* Название и упаковка: под плашкой бонусов, 230px, 75px */
.cart-item-info {
  position: absolute;
  left: 230px;
  top: 75px;
  max-width: 318px;
  min-width: 0;
}
.cart-item-name {
  color: #353535;
  font-family: Adderley, var(--font-title);
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  margin: 0 0 4px 0;
}
.cart-item-pack {
  color: #727272;
  font-family: "Inter Tight", var(--font-body);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 133%;
  margin: 0;
  display: flex;
  align-items: center;
}
/* Switch (количество): 575px, по вертикали по центру; вес под ним: 629px, 128px */
.cart-item-qty {
  position: absolute;
  left: 575px;
  top: calc(50% - 40px / 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cart-qty-row {
  display: flex;
  width: 152px;
  height: 40px;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  border: 1px solid #F5F5F5;
  background: #F5F5F5;
  padding: 0;
  gap: 18px;
  box-sizing: border-box;
}
.cart-qty-btn, .cart-qty-minus, .cart-qty-plus {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--primary-text);
  font-size: 18px;
  border-radius: 4px;
}
.cart-item--qty-1 .cart-qty-minus { display: none; }
.cart-item--qty-many .cart-qty-btn { display: none; }
input.cart-qty-value,
.cart-qty-value {
  min-width: 34px;
  text-align: center;
  font-size: 16px;
  font-family: "Inter Tight", var(--font-body);
  line-height: 20px;
  color: #353535;
  border: none;
  background: transparent;
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
input.cart-qty-value::-webkit-outer-spin-button,
input.cart-qty-value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-item-qty .cart-qty-weight {
  position: absolute;
  left: 54px;
  top: 100%;
  margin-top: 4px;
  width: 44px;
  text-align: center;
  color: #727272;
  font-family: "Inter Tight", var(--font-body);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 133%;
}
.cart-item-name-link { text-decoration: none; color: inherit; display: block; }
.cart-item-name-link:hover .cart-item-name { color: var(--accent); }
/* Цена: 804px, по вертикали по центру */
.cart-item-price {
  position: absolute;
  left: 804px;
  top: 50%;
  transform: translateY(-50%);
  color: #CF0A12;
  font-family: "Inter Tight", var(--font-medium);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 29px;
}
.cart-item .bonus_text,
.cart-item-price .bonus_text,
.cart-item-price ~ .bonus_text,
.cart-item-price br,
.cart-item-price small,
.cart-item .bonus_item_cart,
.cart-item .bonus.bonus_item_cart,
.cart-item [id^="bonus_item_"] {
  display: none !important;
}
/* Кнопка удаления справа — по центру по вертикали, как цена */
.cart-item-delete {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #727272;
  border-radius: 4px;
}
.cart-item-delete:hover { color: var(--primary-text); background: #F5F5F5; }
.cart-item-delete svg { width: 20px; height: 20px; display: block; }
.cart-item-delete svg path { fill: #727272; }
.cart-item-delete:hover svg path { fill: #353535; }
/* Промокод в блоке суммы */
.cart-summary-promo { margin-bottom: 16px; }
.cart-summary-promo-input {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  border: 1px solid #D9D9D9;
  border-radius: 4px;
  font-family: "Inter Tight", var(--font-body);
  font-size: 14px;
  background: #fff;
  outline: none;
}
.cart-summary-promo-input:focus { border-color: var(--accent); }
.cart-summary-promo-reset {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}
/* Минимальная сумма заказа (внутри summary) */
.cart-alert--min-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #FFDCDC;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--primary-text);
}
.cart-alert--min-inline svg { flex-shrink: 0; }
/* Бонус чекбокс внутри summary */
.cart-summary-row--bonus-toggle { margin-top: 4px; }
.cart-summary-bonus-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
}
.cart-summary-bonus-check {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.cart-summary-discount { color: var(--accent); }
/* Сумма заказа — по Figma (как надо): заголовок, строки, итого красным, предупреждение, кнопка, чекбокс */
.cart-summary {
  width: 325px;
  flex-shrink: 0;
  background: #FFF;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  position: sticky;
  top: 24px;
}
.cart-summary-title {
  color: #353535;
  font-family: Adderley, var(--font-title);
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: normal;
}
.cart-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Inter Tight", var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 133%;
}
.cart-summary-row span:first-child { color: var(--Secondary-text, #727272); }
.cart-summary-row span:last-child { color: var(--Primary-text, #353535); }
.cart-summary-row span[data-entity],
.cart-summary-row--total .price_new,
.cart-item-price {
  font-variant-numeric: tabular-nums;
}
.cart-summary-row--total {
  align-items: center;
}
.cart-summary-row--total span:first-child {
  color: #353535;
  font-family: "Inter Tight", var(--font-body);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 133%;
}
.cart-summary-row--total span:last-child {
  color: #CF0A12;
  font-family: "Inter Tight", var(--font-medium);
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
}

.cart-alert--weight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border-radius: 10px;
  background: #FFEFF2;
  margin-bottom: 20px;
  font-family: "Inter Tight", var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #CF0A12;
}
.cart-alert--weight .cart-alert-icon { width: 20px; height: 20px; flex-shrink: 0; }

.cart-submit-desktop { display: inline; }
.cart-submit-mobile { display: none; }
.cart-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #CF0A12;
  color: #FFF;
  text-align: center;
  font-family: "Inter Tight", var(--font-body);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
  transition: opacity 0.2s;
  text-decoration: none;
}
.cart-submit:hover { opacity: 0.9; }
.cart-submit--disabled,
.cart-submit:disabled {
  background: #E8E8E8;
  color: #9E9E9E;
  cursor: not-allowed;
  opacity: 1;
}
.cart-submit--disabled:hover,
.cart-submit:disabled:hover { opacity: 1; }

.cart-submit--updating {
  opacity: 0.75;
  cursor: wait;
  pointer-events: none;
}

/* Блокировка слайдера +/- и удаления пока идёт запрос к серверу */
#basket-root.basket-updating [data-entity="basket-item-quantity-minus"],
#basket-root.basket-updating [data-entity="basket-item-quantity-plus"],
#basket-root.basket-updating [data-entity="basket-item-quantity-field"],
#basket-root.basket-updating [data-entity="basket-item-delete"] {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

.cart-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  font-family: "Inter Tight", var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 133%;
  color: var(--Secondary-text, #727272);
  cursor: pointer;
}
.cart-privacy-input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; }
.cart-privacy-checkbox-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  margin-top: 2px;
}
.cart-privacy-checkbox-icon img { display: block; }
.cart-privacy a { text-decoration: underline; color: var(--Secondary-text, #727272); }
.cart-privacy a:hover { color: var(--primary-text); }

/* Блок "Оформление заказа" — по макету: 1015×110px, padding 40px, контент 935px */
.cart-make-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1015px;
  min-height: 110px;
  height: 110px;
  padding: 40px;
  box-sizing: border-box;
  background: #FFF;
  border-radius: 20px;
  margin-bottom: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  color: #353535;
  text-decoration: none;
  cursor: pointer;
}
.cart-make-block:hover { background: #f9f9f9; text-decoration: none; color: #353535; }
.cart-make-block:visited,
.cart-make-block:focus,
.cart-make-block:active { text-decoration: none; color: #353535; }
.cart-make-block-arrow { transition: transform 0.3s ease; }

.cart-make-expand {
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition: max-height 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}
.cart-make-expand.cart-make-expand--open {
  max-height: 4000px;
  opacity: 1;
  transform: translateY(0);
}
.make-inline-summary {
  background: var(--bg-card, #fff);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  margin-top: 24px;
  max-width: 480px;
}
/* Текст баннера: Adderley 30px, выравнивание по центру (flex родителя) */
.cart-make-block-title {
  flex-shrink: 0;
  color: #353535;
  font-family: Adderley, var(--font-title);
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.cart-make-block-arrow {
  width: 23px;
  height: 12px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}

/* Акционные товары */
.cart-promo-title {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-text);
  margin: 0 0 24px 0;
}
.cart-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cart-promo-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.cart-promo-badge {
  position: absolute;
  left: 20px;
  top: 20px;
  background: #FFD54F;
  color: var(--primary-text);
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.cart-promo-img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
.cart-promo-name {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-text);
  margin: 0 0 8px 0;
}
.cart-promo-price {
  font-size: 20px;
  margin: 0 0 4px 0;
}
.cart-promo-price strong { color: var(--accent); }
.cart-promo-price s { color: #c2c2c2; font-size: 14px; }
.cart-promo-pack {
  font-size: 14px;
  color: var(--secondary-text);
  margin: 0 0 12px 0;
}
.cart-promo-add {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 65px;
  height: 65px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cart-promo-add:hover { background: var(--accent-hover); }
.cart-promo-add img { width: 30px; height: 30px; }

/* ========== Мобильная версия корзины (один в один с макетом) ========== */
@media (max-width: 1450px) {
  /* Контейнеры — полная ширина, сброс конфликтов Bitrix-темы */
  .cart-wrap {
    padding: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .cart-header { margin-bottom: 16px; }
  .cart-back span { display: inline; }
  .cart-title-wrap {
    height: 40px !important;
    overflow: visible !important;
    padding-left: 0 !important;
    min-width: 0 !important;
  }
  .cart-title-wrap .cart-title {
    position: relative !important;
    left: 0 !important;
    transform: none !important;
  }
  .cart-title { font-size: 30px; width: auto; line-height: 40px; }
  .cart-title--checkout { display: none; }
  .cart-header-row { flex-wrap: wrap; }
  .cart-clear { font-size: 14px; }

  .bx-basket.cart-main,
  .cart-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    padding-right: 0 !important;
  }
  .cart-main > .basket_form {
    position: static !important;
    width: 100% !important;
  }
  .cart-list {
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }
  .basket_form {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Карточка товара — мобильная сетка */
  .cart-item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 100px auto 1fr !important;
    grid-template-rows: auto auto !important;
    padding: 16px !important;
    gap: 8px 12px !important;
    min-height: auto !important;
    height: auto !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  .cart-item-img-link {
    position: static !important;
    left: auto !important;
    top: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .cart-item-img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 8px !important;
    max-width: 100px !important;
  }

  .cart-item-bonus {
    position: absolute !important;
    left: 12px !important;
    top: 12px !important;
    min-width: 70px !important;
    width: max-content !important;
    max-width: 100px !important;
    min-height: 26px !important;
    height: 26px !important;
    padding: 3px 8px !important;
    font-size: 12px !important;
    gap: 2px !important;
    z-index: 2 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }
  .cart-item-bonus-icon {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
  }
  .cart-item-bonus-icon img,
  .cart-item-bonus img { width: 10px !important; height: 8px !important; }
  .cart-bonus-word { display: none !important; }

  .cart-item-info {
    grid-column: 2 / -1 !important;
    grid-row: 1 !important;
    max-width: none !important;
    position: static !important;
    width: auto !important;
  }
  .cart-item-name { font-size: 16px !important; line-height: 1.25 !important; }
  .cart-item-pack { font-size: 14px !important; }

  /* Цена: слева внизу */
  .cart-item-price {
    position: static !important;
    transform: none !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: center !important;
    justify-self: start !important;
    font-size: 18px !important;
    white-space: nowrap !important;
  }

  /* Количество: разбиваем контейнер чтобы вес и кнопки были в разных ячейках */
  .cart-item-qty {
    display: contents !important;
  }

  /* Вес: рядом с ценой */
  .cart-item-qty .cart-qty-weight {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin-top: 0 !important;
    width: auto !important;
  }
  .cart-qty-weight {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    font-size: 14px !important;
    color: var(--Secondary-text, #727272) !important;
    white-space: nowrap !important;
  }

  /* Кнопки +/- : справа внизу */
  .cart-qty-row {
    grid-column: 3 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: center !important;
    width: auto !important;
    max-width: 140px !important;
    padding: 4px 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    border-radius: 4px !important;
    border: 1px solid #F5F5F5 !important;
    background: #F5F5F5 !important;
    box-sizing: border-box !important;
    height: 36px !important;
  }
  .cart-qty-btn,
  .cart-qty-minus,
  .cart-qty-plus {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    overflow: hidden !important;
  }
  .cart-qty-btn img {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
  }
  input.cart-qty-value,
  .cart-qty-value {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 40px !important;
    height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    line-height: 28px !important;
  }
  /* Прячем стрелки у input[type=number] */
  input.cart-qty-value::-webkit-outer-spin-button,
  input.cart-qty-value::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
  }

  .cart-item-delete { display: none !important; }

  /* Сумма заказа — мобильная */
  .cart-summary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 0 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    position: static !important;
    float: none !important;
  }
  .cart-summary-title { display: none !important; }
  .cart-summary-rows { gap: 12px !important; margin-bottom: 16px !important; }
  .cart-summary-row { font-size: 15px !important; }
  .cart-summary-row--total span:first-child { font-size: 24px !important; }
  .cart-summary-row--total span:last-child { font-size: 20px !important; }
  .cart-alert--weight { display: none !important; }
  .cart-privacy { display: none !important; }

  .cart-submit-mobile { display: inline !important; }
  .cart-submit-desktop { display: none !important; }
  .cart-submit {
    height: 50px !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    width: 100% !important;
  }

  .cart-make-block { display: none !important; }
  .cart-make-expand { display: none !important; }
  .cart-promo { display: none !important; }
}


/* End */


/* Start:/local/templates/main_store/cart-mobile.css?17715044791828*/
/* Мобильная версия — один в один с макетами (шапка: лого, поиск, меню) */
@media (min-width: 1451px) {
    .mobile-header { display: none !important; }
}

@media (max-width: 1450px) {
    .mobile-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: #FFF;
        border-bottom: 1px solid #eee;
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .mobile-logo {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        background: var(--accent, #CF0A12);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FFF;
        font-family: Adderley, sans-serif;
        font-weight: 700;
        font-size: 22px;
        text-decoration: none;
    }
    .mobile-search {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        background: #f5f5f5;
        border-radius: 8px;
        border: none;
        font-size: 14px;
        color: #353535;
    }
    .mobile-search::placeholder { color: #727272; }
    .mobile-search-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        opacity: 0.6;
    }
    .mobile-menu {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        border: none;
        background: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }
    .mobile-menu span {
        display: block;
        width: 22px;
        height: 2px;
        background: #353535;
        border-radius: 1px;
    }
}

/* End */


/* Start:/local/templates/main_store/cart-make-verstka.css?177150448531003*/
/* Оформление заказа — по Figma. Шрифты: Adderley (заголовки), Inter Tight (текст) */

@font-face {
    font-family: 'Adderley';
    src: url('/local/templates/main/assets/cart-new/adderley_bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('/local/templates/main/assets/cart-new/Inter Tight/InterTight-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('/local/templates/main/assets/cart-new/Inter Tight/InterTight-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

:root {
    --Primary-text: #353535;
    --Secondary-text: #727272;
    --Tetriary-text: #B3B3B3;
    --Accent: #CF0A12;
    --make-primary: #353535;
    --make-secondary: #727272;
    --make-accent: #cf0a12;
    --make-icon-contrast: #ffffff;
    --make-accent-hover: #b00910;
    --make-bg-page: #f7f6f5;
    --make-bg-card: #ffffff;
    --make-border: #e5e5e5;
    --make-warning-bg: #ffdcdc;
    --make-toggle-off: #ffe5e8;
    --make-font: "Inter Tight", sans-serif;
    --make-font-bold: "Adderley", sans-serif;
}

.make-page-wrap {
    background: var(--make-bg-page);
    min-height: 100vh;
    padding: 40px 0 60px;
    font-family: var(--make-font);
    color: var(--make-primary);
}

.make-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 40px 60px;
    background: var(--make-bg-page);
    font-family: var(--make-font);
    color: var(--make-primary);
}

.make-header { margin-bottom: 24px; }
.make-back {
    display: inline-block;
    font-size: 14px;
    color: var(--make-secondary);
    margin-bottom: 8px;
}
.make-back:hover { color: var(--make-primary); }
.make-title {
    font-family: Adderley, var(--make-font-bold);
    font-size: 60px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    color: var(--Primary-text, #353535);
    width: 416px;
}

.make-layout {
    display: grid;
    grid-template-columns: 1fr 325px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 1024px) {
    .make-layout { grid-template-columns: 1fr; }
}

.make-cart-card {
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 24px;
    overflow: hidden;
}

.make-cart-panel { border: none; }
.make-cart-panel-head {
    display: flex;
    width: 100%;
    max-width: 935px;
    height: 110px;
    padding: 40px;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
}
.make-cart-panel-head:hover { opacity: 0.85; }
.make-cart-panel-title {
    color: var(--Primary-text, #353535);
    font-family: Adderley, var(--make-font-bold);
    font-size: 30px;
    font-weight: 700;
    line-height: normal;
}
.make-cart-panel-arrow { flex-shrink: 0; }
.make-cart-panel.collapsed .make-cart-panel-body { display: none; }
.make-cart-panel-body { padding: 0 40px 40px; }
.make-cart-list { display: flex; flex-direction: column; gap: 12px; }
.make-cart-list-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    font-size: 16px;
}
.make-cart-name { font-weight: 500; color: var(--make-primary); }
.make-cart-pack { font-size: 14px; color: var(--make-secondary); }
.make-cart-qty { color: var(--make-secondary); }
.make-cart-price { font-weight: 500; color: var(--make-primary); }

.make-form-card {
    background: var(--make-bg-card);
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    padding: 40px;
    margin-bottom: 32px;
    width: 100%;
}
.make-form-card[hidden] { display: none !important; }

.make-flow-section { margin-bottom: 32px; width: 100%; }
.make-flow-section:last-of-type { margin-bottom: 0; }
.make-flow-title {
    color: #353535;
    font-family: Adderley, var(--make-font-bold);
    font-size: 30px;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 16px 0;
}

.make-form-col input[type="text"],
.make-form-col input[type="tel"],
.make-form-col input[type="email"],
.make-form-col select,
.make-form-col textarea {
    width: 100%;
    height: 50px;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    font-family: "Inter Tight", var(--make-font);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #353535;
    box-sizing: border-box;
    cursor: text;
    caret-color: var(--Primary-text, #353535);
}
.make-form-col select { cursor: pointer; }
.make-form-col input[type="text"],
.make-form-col input[type="tel"],
.make-form-col input[type="email"],
.make-form-col textarea { cursor: text !important; }
.make-form-col input::placeholder,
.make-form-col textarea::placeholder { color: #7F7F7F; }
.make-form-col textarea { min-height: 80px; resize: vertical; }
.make-form-col .make-field-row input,
.make-form-col .make-field-row textarea,
.make-form-col .make-contact-row input {
    cursor: text !important;
    caret-color: var(--Primary-text, #353535);
}

/* Поле промокода — одно общее поле (.make-promo-row), инпут без своей рамки */
.make-form-col .make-promo-row input[type="text"] {
    width: auto;
    min-width: 0;
    height: auto;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.make-contact-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 10px;
    width: 100%;
}
@media (max-width: 1450px) { .make-contact-row { grid-template-columns: 1fr; } }

.make-add-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: #CF0A12;
    font-family: "Inter Tight", var(--make-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}
.make-add-address:hover { opacity: 0.9; }
.make-add-address-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #CF0A12;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}
.make-address-saved {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.make-address-saved-text {
    font-size: 16px;
    color: var(--make-primary);
}
.make-address-edit-btn {
    background: none;
    border: none;
    color: var(--make-accent);
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.make-address-saved[hidden] { display: none !important; }
.make-address-fields { margin-top: 20px; }
.make-address-fields[hidden] { display: none !important; }
.make-field-row { margin-bottom: 16px; }
.make-field-row--inline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 576px) { .make-field-row--inline { grid-template-columns: 1fr 1fr; } }

.make-date-time-row {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}
.make-select-wrap {
    display: flex;
    width: 302px;
    height: 50px;
    padding: 15px;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    box-sizing: border-box;
    overflow: hidden;
}
.make-select-wrap input,
.make-select-wrap select {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    outline: none;
    box-shadow: none;
    color: #353535;
    font-family: "Inter Tight", var(--make-font);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    -webkit-appearance: none;
    appearance: none;
}
.make-select-wrap input::-webkit-calendar-picker-indicator,
.make-select-wrap input::-webkit-inner-spin-button { display: none; opacity: 0; }
.make-select-wrap .make-select-arrow {
    width: 12px;
    height: 6px;
    flex-shrink: 0;
    margin-left: 8px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.make-select-wrap .make-select-arrow svg {
    width: 12px;
    height: 6px;
    flex-shrink: 0;
}
.make-select-wrap .make-select-arrow path {
    stroke: #E4E4E4;
    stroke-width: 2px;
}
.make-select-wrap select { appearance: none; cursor: pointer; }
@media (max-width: 660px) { .make-select-wrap { width: 100%; } }

.make-date-trigger { cursor: pointer; }
.make-date-value {
    flex: 1;
    min-width: 0;
    font-family: "Inter Tight", var(--make-font);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #353535;
}

.make-time-wrap { position: relative; }
.make-time-trigger { cursor: pointer; }
.make-time-value {
    flex: 1;
    min-width: 0;
    font-family: "Inter Tight", var(--make-font);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #353535;
}
.make-time-wrap.is-open .make-select-arrow,
.make-date-wrap.is-open .make-select-arrow { transform: rotate(180deg); }
.make-time-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 4px;
    width: 302px;
    border-radius: 4px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 10;
    overflow: hidden;
    box-sizing: border-box;
}
.make-time-dropdown[hidden] { display: none !important; }
.make-time-option {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border: none;
    background: #FFF;
    color: var(--Primary-text, #353535);
    font-family: "Inter Tight", var(--make-font);
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.make-time-option:hover,
.make-time-option.selected { background: #CF0A12; color: #FFF; }
@media (max-width: 660px) { .make-time-dropdown { width: 100%; } }

.make-date-wrap { position: relative; }
.make-calendar {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 4px;
    width: 320px;
    height: 290px;
    border-radius: 4px;
    border: 1px solid var(--Primary-text, #353535);
    background: #FFF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 16px;
    box-sizing: border-box;
}
.make-calendar[hidden] { display: none !important; }
.make-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.make-calendar-month {
    color: #353535;
    font-family: Adderley, var(--make-font-bold);
    font-size: 30px;
    font-weight: 700;
    line-height: normal;
}
.make-calendar-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.make-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
    text-align: center;
    font-size: 12px;
    color: var(--Secondary-text, #727272);
}
.make-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    flex: 1;
    align-content: start;
}
.make-calendar-day {
    aspect-ratio: 1;
    max-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--make-font);
    font-size: 16px;
    color: var(--Primary-text, #353535);
    cursor: pointer;
    border-radius: 50%;
    border: none;
    background: none;
}
.make-calendar-day:hover { background: rgba(207, 10, 18, 0.1); }
.make-calendar-day.weekend { color: var(--Accent, #CF0A12); }
.make-calendar-day.selected { background: var(--Accent, #CF0A12); color: #FFF; }
.make-calendar-day.other-month { color: #D9D9D9; cursor: pointer; }
.make-calendar-day--empty { pointer-events: none; cursor: default; }

.make-payment-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.make-payment-list label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    color: var(--make-primary);
}
.make-payment-list input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--make-accent);
}

.make-flow-section--toggles {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
.make-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 320px;
}
.make-toggle-row:last-child { margin-bottom: 0; }
.make-toggle-label { font-size: 16px; color: var(--make-primary); }
.make-toggle-bonus-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--make-accent);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}
.make-toggle-bonus-icon img { width: 12px; height: 9px; object-fit: contain; }
.make-toggle {
    width: 52px;
    height: 28px;
    border: none;
    border-radius: 14px;
    background: var(--make-toggle-off);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s;
}
.make-toggle::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--make-icon-contrast);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: left 0.2s;
}
.make-toggle.on { background: var(--make-accent); }
.make-toggle.on::after { left: 26px; }

.make-bonus-detail[hidden],
.make-promo-input-wrap[hidden] { display: none !important; }
.make-bonus-detail {
    width: 100%;
    max-width: 320px;
    margin-top: 12px;
}
.make-bonus-balance-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.make-bonus-balance,
.make-bonus-spend {
    color: var(--Primary-text, #353535);
    font-family: "Inter Tight", var(--make-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 133%;
    text-align: right;
}
.make-bonus-sep {
    flex: 0 0 94px;
    width: 94px;
    height: 1px;
    background: var(--Tetriary-text, #B3B3B3);
}
.make-bonus-hint {
    margin: 0;
    color: var(--Tetriary-text, #B3B3B3);
    font-family: "Inter Tight", var(--make-font);
    font-size: 12px;
    font-weight: 400;
    line-height: 120%;
    white-space: nowrap;
}

/* Промокод по Figma: одно поле 302×50 (поле + иконка), текст сообщения — снизу */
.make-promo-input-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 302px;
    margin-top: 12px;
}
.make-promo-row {
    display: flex;
    width: 302px;
    height: 50px;
    padding: 15px;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    box-sizing: border-box;
}
.make-promo-input {
    flex: 1;
    min-width: 0;
    height: auto;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    outline: none;
    color: var(--Primary-text, #353535);
    font-family: "Inter Tight", var(--make-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    box-sizing: border-box;
}
.make-promo-input::placeholder {
    color: var(--Tetriary-text, #B3B3B3);
    font-size: 16px;
    line-height: 20px;
}
.make-promo-row .make-promo-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.make-promo-row .make-promo-icon[hidden] { display: none !important; }
.make-promo-row .make-promo-icon svg { display: block; }
.make-promo-msg {
    margin: 8px 0 0 0;
    padding: 0;
    width: 302px;
    color: var(--Secondary-text, #727272);
    font-family: "Inter Tight", var(--make-font);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-align: right;
}
.make-promo-msg[hidden] { display: none !important; }
@media (max-width: 660px) {
    .make-promo-row { width: 100%; max-width: none; }
    .make-promo-msg { width: 100%; }
}

.make-summary {
    background: var(--make-bg-card);
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 24px;
}
.make-summary-title {
    color: var(--Primary-text, #353535);
    font-family: Adderley, var(--make-font-bold);
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 24px 0;
}
.make-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}
.make-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    line-height: 133%;
}
.make-summary-row span:first-child { color: var(--Secondary-text, #727272); }
.make-summary-row span:last-child { color: var(--Primary-text, #353535); }
.make-summary-row--total {
    font-family: "Inter Tight", var(--make-font);
    font-size: 24px;
    font-weight: 500;
    line-height: 133%;
}
.make-summary-warning {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 15px 16px;
    border-radius: 10px;
    background: #FFDCDC;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(207, 10, 18, 0.56);
    font-family: "Inter Tight", var(--make-font);
}
.make-summary-warning-icon { width: 20px; height: 20px; flex-shrink: 0; }
.make-summary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: var(--Accent, #CF0A12);
    color: #FFF;
    font-family: "Inter Tight", var(--make-font);
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
}
.make-summary-btn:hover { opacity: 0.9; }
.make-summary-agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    cursor: pointer;
}
.make-summary-checkbox-input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; }
.make-summary-checkbox-icon { width: 16px; height: 16px; flex-shrink: 0; display: inline-flex; }
.make-summary-agree-text {
    color: var(--Secondary-text, #727272);
    font-family: "Inter Tight", var(--make-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
}
.make-summary-agree-text a { color: var(--Secondary-text); text-decoration: underline; }

/* Модальное окно успеха — скрыто по умолчанию, jQuery fadeIn() покажет */
.order_make_form .modal_over { display: none; }

/* ========== Мобильная версия оформления заказа ========== */
.make-back-mobile { display: none; }
.make-back-desktop { display: inline; }
.make-mobile-next-wrap { display: none; }

@media (max-width: 1450px) {
    .make-back-mobile { display: inline; }
    .make-back-desktop { display: none; }
    .make-page-wrap { padding: 0 0 24px 0; }
    .make-wrap { padding: 16px; max-width: none; }
    .make-title { font-size: 30px; width: auto; }
    .make-layout { grid-template-columns: 1fr; gap: 16px; }

    /* Скрываем десктопную сайдбар-сумму */
    .make-summary { display: none !important; }

    /* Скрываем сворачиваемый блок корзины на мобиле */
    .make-cart-card { display: none; }

    /* Карточка формы */
    .make-form-card { padding: 20px 16px; margin-bottom: 16px; }
    .make-flow-title { font-size: 20px; margin-bottom: 12px; }
    .make-flow-section { margin-bottom: 24px; }

    /* Контактная информация — одна колонка */
    .make-contact-row { grid-template-columns: 1fr; gap: 12px; }

    /* Адрес — все поля одна колонка */
    .make-field-row--inline { grid-template-columns: 1fr; gap: 12px; }
    .make-address-saved { flex-direction: column; align-items: flex-start; gap: 8px; }

    /* Дата и время — в одну строку на 50/50 */
    .make-date-time-row { flex-direction: row; gap: 10px; }
    .make-select-wrap { width: 100%; flex: 1; min-width: 0; }
    .make-date-wrap { flex: 1; min-width: 0; }
    .make-time-wrap { flex: 1; min-width: 0; }
    .make-time-dropdown { width: 100%; }

    /* Переключатели бонус/промо */
    .make-toggle-row { width: 100%; max-width: none; }
    .make-flow-section--toggles { width: 100%; }
    .make-bonus-detail { max-width: none; }
    .make-promo-input-wrap { max-width: none; }
    .make-promo-row { width: 100%; }
    .make-promo-msg { width: 100%; }

    /* Кнопка оформления — внизу */
    .make-mobile-next-wrap {
        display: block;
        margin-top: 24px;
        padding: 0 0 env(safe-area-inset-bottom, 0);
    }
    .make-mobile-next {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 50px;
        background: var(--Accent, #CF0A12);
        color: #FFF;
        font-family: "Inter Tight", var(--make-font);
        font-size: 16px;
        border: none;
        border-radius: 8px;
        text-decoration: none;
        cursor: pointer;
    }
    .make-mobile-next:hover { opacity: 0.9; }

    /* Инпуты: чуть меньше высота */
    .make-form-col input[type="text"],
    .make-form-col input[type="tel"],
    .make-form-col input[type="email"],
    .make-form-col select,
    .make-form-col textarea {
        height: 48px;
        font-size: 15px;
        padding: 12px;
    }

    /* Модальное окно успеха — скрыто по умолчанию, jQuery fadeIn покажет */
    .order_make_form .modal_over {
        display: none;
    }
    /* Когда jQuery показывает modal_over (display:block через fadeIn) —
       стилизуем как bottom-sheet через позиционирование внутренних элементов */
    .order_make_form .modal_over .fade_overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0,0,0,0.4) !important;
        z-index: 999 !important;
    }
    .order_make_form .modal_over .order_callback {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        background: #FFF !important;
        border-radius: 20px 20px 0 0 !important;
        padding: 40px 24px 48px !important;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
        z-index: 1000 !important;
    }
    .order_make_form .modal_over .modal_body {
        position: relative !important;
        z-index: 2 !important;
    }
    .order_make_form .modal_over .modal_header {
        font-family: Adderley, var(--make-font-bold) !important;
        font-size: 24px !important;
        font-weight: 700 !important;
        color: #353535 !important;
        text-align: center !important;
        text-transform: uppercase !important;
        margin-bottom: 32px !important;
        line-height: 1.2 !important;
    }
    .order_make_form .modal_over .modal_min_center {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 28px !important;
    }
    .order_make_form .modal_over .success_text {
        font-family: "Inter Tight", sans-serif !important;
        font-size: 14px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        color: #727272 !important;
        line-height: 140% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .order_make_form .modal_over .button_reset.button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 50px !important;
        background: var(--Accent, #CF0A12) !important;
        color: #FFF !important;
        font-family: "Inter Tight", sans-serif !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        border: none !important;
        cursor: pointer !important;
        margin: 0 !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }
}

/* ========== Мобильное подтверждение заказа (шаг 2 внутри формы) ========== */
.make-confirm-mobile[hidden] { display: none !important; }
.make-confirm-mobile { display: none; }

@media (max-width: 1450px) {
    .make-confirm-mobile {
        display: block;
        width: 100%;
    }
    .make-confirm-mobile[hidden] { display: none !important; }
    .make-confirm-mobile-back { margin-bottom: 16px; }
    .make-confirm-back-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: none;
        border: none;
        color: var(--make-secondary, #727272);
        font-family: "Inter Tight", var(--make-font);
        font-size: 14px;
        padding: 0;
        cursor: pointer;
    }
    .make-confirm-back-btn:hover { color: var(--make-primary, #353535); }
    .make-confirm-mobile-title {
        font-family: Adderley, var(--make-font-bold);
        font-size: 24px;
        font-weight: 700;
        color: var(--Primary-text, #353535);
        margin: 0 0 20px 0;
    }
    .make-confirm-mobile .make-confirm-summary {
        margin-bottom: 20px;
    }
    .make-confirm-mobile .make-confirm-submit {
        margin-top: 0;
    }
}

/* ========== Страница подтверждения заказа ========== */
.make-confirm-layout { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
.make-confirm-col { width: 100%; }
.make-confirm-blocks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.make-confirm-block {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.make-confirm-block--link { cursor: pointer; transition: background 0.2s; }
.make-confirm-block--link:hover { background: #eee; }
.make-confirm-block-title {
    font-family: "Inter Tight", var(--make-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--Secondary-text, #727272);
    margin: 0 0 4px 0;
}
.make-confirm-block-value { font-size: 16px; color: var(--Primary-text, #353535); margin: 0; }
.make-confirm-block--link .make-confirm-block-title { margin: 0; color: var(--Primary-text, #353535); }
.make-confirm-block-arrow { font-size: 20px; color: #999; }
.make-confirm-block:not(.make-confirm-block--link) { flex-direction: column; align-items: flex-start; }
.make-confirm-summary {
    background: var(--make-bg-card);
    border-radius: 12px;
    padding: 20px 16px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.make-confirm-spend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 16px;
}
.make-confirm-spend-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--Primary-text, #353535);
}
.make-toggle--small { transform: scale(0.85); transform-origin: left center; }
.make-confirm-spend-value { color: var(--Secondary-text, #727272); }
.make-confirm-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background: var(--Accent, #CF0A12);
    color: #FFF;
    font-family: "Inter Tight", var(--make-font);
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.make-confirm-submit:hover { opacity: 0.9; }

.make-thankyou-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}
.make-thankyou-modal[hidden] { display: none !important; }
.make-thankyou-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.make-thankyou-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #FFF;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px 32px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.make-thankyou-title {
    font-family: Adderley, var(--make-font-bold);
    font-size: 28px;
    font-weight: 700;
    color: var(--Primary-text, #353535);
    text-align: center;
    margin: 0 0 24px 0;
}
.make-thankyou-details { margin-bottom: 24px; }
.make-thankyou-details p { margin: 0 0 16px 0; font-size: 15px; color: var(--Primary-text, #353535); }
.make-thankyou-label { font-size: 13px; color: var(--Secondary-text, #727272); }
.make-thankyou-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background: var(--Accent, #CF0A12);
    color: #FFF;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 400;
    text-decoration: none;
}
.make-thankyou-btn:hover { opacity: 0.9; }

.make-success-wrap { max-width: 480px; margin: 0 auto; padding: 16px; }
.make-success-card {
    background: #FFF;
    border-radius: 12px;
    padding: 24px 20px 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.make-success-title {
    font-family: Adderley, var(--make-font-bold);
    font-size: 28px;
    font-weight: 700;
    color: var(--Primary-text, #353535);
    text-align: center;
    margin: 0 0 24px 0;
}
.make-success-details { margin-bottom: 24px; }
.make-success-details p { margin: 0 0 16px 0; font-size: 15px; color: var(--Primary-text, #353535); }
.make-success-label { font-size: 13px; color: var(--Secondary-text, #727272); }
.make-success-value { font-size: 16px; }
.make-success-contact {
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.make-success-contact-title { font-size: 16px; font-weight: 500; color: var(--Primary-text, #353535); margin: 0 0 8px 0; }
.make-success-phone { font-size: 18px; margin: 0 0 4px 0; }
.make-success-hours { font-size: 14px; color: var(--Secondary-text, #727272); margin: 0; }
.make-success-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background: var(--Accent, #CF0A12);
    color: #FFF;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 400;
    text-decoration: none;
}
.make-success-btn:hover { opacity: 0.9; }

/* End */


/* Start:/local/templates/main_store/components/bitrix/sale.basket.basket/ms.cart/style.css?16708539842394*/
box-shadow:  0px 0px 0px 9999px rgba(0, 0, 0, 0.5);.bonus_alert {
    font-family: Lato;
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 170.5%;
    letter-spacing: 0.15em;
    color: #999999;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin-top: 20px;
}

.all_bonus {
    display: inline-block;
    background-color: #FAF6F3;
    color: #16120F;
    font-size: 14px;
    padding: 10px;
}


/* .promo_input {
    height: 60px;
    padding: 18px 25px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .15em;
    border: 1px solid rgba(255, 255, 255, .3);
    background: 0 0;
    width: 100%;
    color: #fff;
    outline: 0;
} */

.promo_input.error {
    border-color: red;
}

.promo_container{
    margin-bottom: 25px;
    padding: 0;
    position: relative;
}
.promo_bonus_container{
    width: 50%;
    max-width: 600px;
}

.promo_container .btn_arrow{
    position: absolute;
    right: 10px;
    top: 50%;
    height: 24px;
    transform: translateY(-50%);
    /* content: url("/imgs/eva_arrow-forward-outline.svg"); */
}
.promo_container .btn_arrow:hover{
	cursor: pointer;
    transform: scale(1.2) translateY(-40%);
    /*height: 36px;*/
}



/*.promo_input::-webkit-input-placeholder {*/
/*    color: #fff!important;*/
/*}*/

/*.promo_input::-moz-placeholder {*/
/*    color: #fff!important;*/
/*}*/

/*.promo_input:-ms-input-placeholder {*/
/*    color: #fff!important;*/
/*}*/

/*.promo_input::-ms-input-placeholder {*/
/*    color: #fff!important;*/
/*}*/

/*.promo_input::placeholder {*/
/*    color: #fff!important;*/
/*}*/

.price_row_bask{
    position: relative;
}

.disc_price_bask{
    /* color: white!important;
    position: absolute;
    top: -20px;
    font-size: 12px;
    line-height: 20px; */
    text-decoration: line-through;
}

/* .total_bask_disc{
    color: white!important;
}
 */
.reset_promo, .auth_alert span, .auth_alert span a{
    color: #D2AB76;
}
.auth_alert span{
    font-size: 12px;
}
.bonus_text > span{
    display: block;
}

.hiden{
    display: none;
}

.popup-overlay {
	z-index: 1000;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.popup-content {
    width: 600px;
    background: #e5e5e5;
    margin: auto;
    position: relative;
    top: 20%;
    border: 1px #000 solid;
    box-shadow:  0px 0px 0px 9999px rgba(0, 0, 0, 0.5);
    padding: 30px;
}
/* End */
/* /local/templates/main_store/cart-figma.css?177150647726897 */
/* /local/templates/main_store/cart-mobile.css?17715044791828 */
/* /local/templates/main_store/cart-make-verstka.css?177150448531003 */
/* /local/templates/main_store/components/bitrix/sale.basket.basket/ms.cart/style.css?16708539842394 */
