/** Shopify CDN: Minification failed

Line 480:0 Expected "}" to go with "{"

**/
.cart {
  position: relative;
  display: block;
}

.cart__empty-text,
.is-empty .cart__contents,
cart-items.is-empty .title-wrapper-with-link,
.is-empty .cart__footer {
  display: none;
}

.is-empty .cart__empty-text,
.is-empty .cart__warnings {
  display: block;
}

.cart__warnings {
  display: none;
  text-align: center;
  padding: 3rem 0 1rem;
}

.cart__empty-text {
  margin: 4.5rem 0 2rem;
}

.cart__contents > * + * {
  margin-top: 2.5rem;
}

.cart__login-title {
  margin: 5.5rem 0 0.5rem;
}

.cart__login-paragraph {
  margin-top: 0.8rem;
}

.cart__login-paragraph a {
  font-size: inherit;
}

@media screen and (min-width: 990px) {
  .cart__warnings {
    padding: 7rem 0 1rem;
  }

  .cart__empty-text {
    margin: 0 0 3rem;
  }
}

cart-items {
  display: block;
}

.cart__items {
  position: relative;
  padding-bottom: 3rem;
  border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

.cart__items--disabled {
  pointer-events: none;
}

.cart__footer-wrapper:last-child .cart__footer {
  padding-bottom: 5rem;
}

.cart__footer > div:only-child {
  margin-left: auto;
}

.cart__footer > * + * {
  margin-top: 6.5rem;
}

.cart__footer .discounts {
  margin-bottom: 1rem;
}

.cart__note {
  height: fit-content;
  top: 2.5rem;
}

.cart__note label {
  display: flex;
  align-items: flex-end;
  position: absolute;
  line-height: 1;
  height: 1.8rem;
  top: -3rem;
  color: rgba(var(--color-foreground), 0.75);
}

.cart__note .field__input {
  height: 100%;
  position: relative;
  border-radius: var(--inputs-radius);
  padding: 1rem 2rem;
}

.cart__note .text-area {
  resize: vertical;
}

.cart__note:after,
.cart__note:hover.cart__note:after,
.cart__note:before,
.cart__note:hover.cart__note:before,
.cart__note .field__input:focus,
.cart__note .field__input {
  border-bottom-right-radius: 0;
}

@media screen and (min-width: 750px) {
  .cart__items {
    grid-column-start: 1;
    grid-column-end: 3;
    padding-bottom: 4rem;
  }

  .cart__contents > * + * {
    margin-top: 0;
  }

  .cart__items + .cart__footer {
    grid-column: 2;
  }

  .cart__footer {
    display: flex;
    justify-content: space-between;
    border: 0;
  }

  .cart__footer-wrapper:last-child {
    padding-top: 0;
  }

  .cart__footer > * {
    width: 35rem;
  }

  .cart__footer > * + * {
    margin-left: 4rem;
    margin-top: 0;
  }
}

.cart__ctas button {
  width: 100%;
}

.cart__ctas > * + * {
  margin-top: 1rem;
}

.cart__update-button {
  margin-bottom: 1rem;
}

.cart__dynamic-checkout-buttons {
  max-width: 36rem;
  margin: 0 auto;
}

.cart__dynamic-checkout-buttons:has(.dynamic-checkout__content:empty) {
  margin: 0;
}

.cart__blocks > * + * {
  margin-top: 1rem;
}

.cart-note__label {
  display: inline-block;
  margin-bottom: 1rem;
  line-height: calc(1 + 1 / var(--font-body-scale));
}

.tax-note {
  margin: 2.2rem 0 1.6rem auto;
  text-align: center;
  display: block;
}

.cart__checkout-button {
  max-width: 36rem;
}

.cart__ctas {
  text-align: center;
}

@media screen and (min-width: 750px) {
  .cart-note {
    max-width: 35rem;
  }

  .cart__update-button {
    margin-bottom: 0;
    margin-right: 0.8rem;
  }

  .tax-note {
    margin-bottom: 2.2rem;
    text-align: right;
  }

  [data-shopify-buttoncontainer] {
    justify-content: flex-end;
  }

  .cart__ctas {
    display: flex;
    gap: 1rem;
  }
}


/* =========================================================
   DM — DESKTOP CART: PRODUCTS ABOVE, CHECKOUT BELOW RIGHT
   Заменяет предыдущий блок "DM — refined desktop cart layout"
========================================================= */

@media screen and (min-width: 990px) {

  /* Главная область корзины — одна колонка */
  #MainContent.content-for-layout {
    display: block;
    width: 100%;
    max-width: 150rem;
    margin: 0 auto;
    padding: 5rem clamp(3rem, 5vw, 8rem) 8rem;
  }

  /* Секции товаров и итогов занимают всю доступную ширину */
  #MainContent > cart-items,
  #MainContent > #main-cart-footer {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  /* Убираем внутренние ограничения стандартного page-width */
  #MainContent > cart-items .page-width,
  #MainContent > #main-cart-footer .page-width {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
  }

  /* Область с товарами */
  #MainContent > cart-items {
    padding: 0 !important;
  }

  /* Заголовок корзины и Continue shopping */
  cart-items .title-wrapper-with-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 5rem;
  }

  cart-items .title-wrapper-with-link .title {
    margin: 0;
    font-family: var(--font-body-family);
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
  }

  cart-items .underlined-link {
    font-family: var(--font-body-family);
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
  }

  /* Таблица товаров на всю ширину */
  cart-items .cart__contents {
    width: 100%;
  }

  cart-items .cart__items {
    width: 100%;
    padding-bottom: 4rem;
  }

  /* Footer располагается ниже товаров */
  #main-cart-footer {
    clear: both;
    width: 100%;
    padding-top: 5rem;
  }

  #main-cart-footer .cart__footer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 0 !important;
    border: 0;
  }

  /* Если слева присутствует поле примечания, оно не ломает layout */
  #main-cart-footer .cart__note {
    width: 35rem;
    max-width: 100%;
    margin-right: auto;
  }

  /* Блок Total / Shipping / Checkout справа */
  #main-cart-footer .cart__blocks {
    width: 42rem;
    max-width: 100%;
    margin-right: 0;
    margin-left: auto;
  }

  /* Строка Shipping */
  #main-cart-footer .dm-cart-shipping-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    margin: 0;
    font-family: var(--font-body-family);
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
  }

  /* Строка Total */
  #main-cart-footer .totals {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    margin: 1.2rem 0 0;
    font-family: var(--font-body-family);
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
  }

  #main-cart-footer .totals__total,
  #main-cart-footer .totals__total-value {
    margin: 0;
    font-family: var(--font-body-family) !important;
    font-size: 1.4rem !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
  }

  /* Налоговая информация */
  #main-cart-footer .tax-note {
    display: block;
    width: 100%;
    margin: 1.8rem 0 0;
    font-family: var(--font-body-family);
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: right;
  }

  /* Контейнер кнопки Checkout */
  #main-cart-footer .cart__ctas {
    display: block;
    width: 100%;
    margin-top: 2.4rem;
    text-align: center;
  }

  /* Кнопка Checkout */
  #main-cart-footer #checkout.cart__checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    height: 4.8rem;

    margin: 0;
    padding: 0 2rem;

    border: 0 !important;
    border-radius: 0;

    background: #111111 !important;
    color: #ffffff !important;

    opacity: 1 !important;
    visibility: visible !important;

    font-family: var(--font-body-family);
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: none;
  }

  /* Иконки способов оплаты */
  #main-cart-footer .dm-cart-payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;

    width: 100%;
    margin-top: 1.6rem;
  }

/* Условия оформления */
#main-cart-footer .dm-cart-terms {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;

  width: 100%;
  max-width: 42rem;
  margin-top: 1.6rem;

  font-family: var(--font-body-family);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

#main-cart-footer .dm-cart-terms > *:first-child {
  flex: 0 0 auto;
}

#main-cart-footer .dm-cart-terms > *:last-child {
  flex: 0 0 31rem;
  max-width: 31rem;
  margin: 0;

  text-align: left !important;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.45;
}
