.fw-500 {
  font-weight: 500;
}

.wrp {
  position: relative;
}

.cart {
  padding-bottom: 70px;
}

.group-input input[type="text"],
.group-input input[type="email"],
.group-input input[type="tel"] {
  border: 1.5px solid var(--Neutral-200);
  border-radius: 4px;
  height: 48px;
  width: 100%;
  background: transparent;
  color: var(--Neutral-1000);
  font-family: "Museo Sans Cyrl", sans-serif;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

@media (max-width: 767px) {
  .group-input input[type="text"],
  .group-input input[type="email"],
  .group-input input[type="tel"] {
    border: 0.385vw solid var(--Neutral-200);
    border-radius: 1.026vw;
    height: 12.308vw !important;
    font-size: 3.59vw;
    padding: 0 5.128vw;
  }
}

.group-input input[type="text"]::placeholder,
.group-input input[type="email"]::placeholder,
.group-input input[type="tel"]::placeholder {
  font-weight: 300;
  color: var(--Neutral-500);
}

.group-input input[type="text"]:focus,
.group-input input[type="email"]:focus,
.group-input input[type="tel"]:focus {
  border-color: var(--Primary-700);
  caret-color: var(--Primary-700);
}

.group-input input[type="text"]:focus::placeholder,
.group-input input[type="email"]:focus::placeholder,
.group-input input[type="tel"]:focus::placeholder {
  opacity: 0;
}

.group-input.error input,
.cart-products__promocode-form label.error input {
  border-color: #e55465;
  caret-color: #e55465;
}

.group-input.valid input,
.cart-products__promocode-form label.valid input {
  border-color: #058e6e;
  caret-color: #058e6e;
}

.group-input.error label,
.group-input.valid label,
.cart-products__promocode-form label {
  position: relative;
  display: block;
  width: 100%;
}

.group-input.error label::before,
.cart-products__promocode-form label.error::before {
  content: "";
  position: absolute;
  background-image: url(../img/cart/icon-close.svg);
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 12px;
  right: 20px;
  width: 24px;
  height: 24px;
  display: block;
  z-index: 1;
}

.cart-products__promocode-form label.error::before {
  bottom: 8px;
}

@media (max-width: 767px) {
  .group-input.error label::before,
  .cart-products__promocode-form label.error::before {
    bottom: 3.077vw;
    right: 5.128vw;
    width: 6.154vw;
    height: 6.154vw;
  }
}

.group-input.valid label::after,
.cart-products__promocode-form label.valid::after {
  content: "";
  position: absolute;
  background-image: url(../img/cart/icon-check.svg);
  background-repeat: no-repeat;
  background-size: cover;
  bottom: 12px;
  right: 20px;
  width: 24px;
  height: 24px;
  display: block;
  z-index: 1;
}

.cart-products__promocode-form label.valid::after {
  bottom: 8px;
}

@media (max-width: 767px) {
  .group-input.valid label::after,
  .cart-products__promocode-form label.valid::after {
    bottom: 3.077vw;
    right: 5.128vw;
    width: 6.154vw;
    height: 6.154vw;
  }
}

.radio span::after {
  left: 5.5px;
  width: 10px;
  height: 10px;
}

/* result-block */
.cart .result-block {
  margin-top: 32px;
  text-align: center;
}

.cart .result-block p.text-2 {
  margin: 20px auto 0;
}

.cart .result-block p.text-2.w-358 {
  width: 358px;
}

.cart .result-block p.text-2.fw-500 {
  margin-top: 16px;
}

.cart .result-block a.default-button {
  margin: 32px auto 0;
  width: 201px;
  height: 46px;
  background: var(--Neutral-1000);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

/* cart-products */
.cart-products {
  margin-top: 32px;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: start;
}

.cart-products__content {
  float: left;
  flex: 1;
}

.cart-products__standart-block {
  border-radius: 4px;
  padding: 24px 24px 32px;
  box-shadow: 0 4px 45px 0 rgba(62, 59, 52, 0.05);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-products__standart-block:not(:last-child) {
  margin-bottom: 32px;
}

.cart-products__top-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-products__top-cart .top-cart {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-products__top-cart .top-cart .filter-label {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 19px 0 2px;
}

.cart-products__top-cart .top-cart__delete-all {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding-right: 24px;
  cursor: pointer;
}

.cart-products__top-cart .top-cart__delete-all p {
  color: var(--Neutral-500);
}

.cart-products__top-cart .top-cart__delete-all img {
  width: 28px;
  min-width: 28px;
}

.cart-products__top-cart .top-cart__min-amount {
  position: relative;
}

#min-amount-tooltip {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
  color: var(--Neutral-500);
  cursor: default;
}

.top-cart__min-amount div[data-tippy-root] {
  inset: auto 0px 0px auto !important;
  width: 484px;
  transform: translate(0, -30px) !important;
}

.top-cart__min-amount .tippy-box {
  max-width: 484px !important;
}

.cart-products__one-product {
  position: relative;
  padding-right: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-products__one-product:not(:first-child) {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(207, 207, 207, 0.5);
}

.cart-products__one-product .cart-products__delete-product {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  min-width: 28px;
  cursor: pointer;
}

.cart-products__one-product:not(:first-child) .cart-products__delete-product {
  top: 28px;
}

.cart-products__one-product .cart-products__delete-product img {
  width: 100%;
}

.cart-products__one-product .one-product__info {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 773px;
}

.cart-products__one-product .one-product__info .one-product__checkbox {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-left: 2px;
}

.cart-products__one-product .one-product__info .one-product__img {
  width: 60px;
  min-width: 60px;
  height: 60px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cart-products__one-product .one-product__info .one-product__img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.cart-products__one-product .one-product__info .one-product__text {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 482px;
}

.cart-products__one-product .one-product__info .one-product__number {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-products__one-product .one-product__value .product-item {
  width: 281px;
  min-width: 281px;
}

.cart-products__one-product .one-product__value .product-in-value {
  margin-bottom: 0;
}

.product-in-value input[type="text"] {
  height: 32px;
  padding: 0;
}

.cart-products__one-product .one-product__price-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 134px;
}

.cart-products__one-product .one-product__price-block .one-product__price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-products__one-product
  .one-product__price-block
  .one-product__price
  .text-2 {
  color: var(--Neutral-500);
  text-decoration: line-through;
  font-weight: 500;
}

.cart-products__one-product .one-product__price-block .one-product__total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cart-products__one-product
  .one-product__price-block
  .one-product__total
  .text-2 {
  color: var(--Neutral-600);
  font-weight: 500;
}

.cart-products__dyn-block .cart-products__tabs {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-products__dyn-block .cart-products__tabs label:last-child span::after {
  left: 6.5px;
}

.cart-products__form-contents {
  margin-top: 20px;
}

.cart-products__form-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

.cart-products__form-field label {
  position: relative;
}

.cart-products__form-field label input {
  margin-top: 8px;
}

.cart-products__form-field label span,
.cart-products__promocode-form label span {
  position: absolute;
  right: 0;
  bottom: -20px;
  color: #ff3b30;
  opacity: 0;
}

.cart-products__delivery-option {
  display: flex;
  align-items: start;
  gap: 12px;
  width: 906px;
}

.cart-products__delivery-option label.radio {
  padding: 0;
  min-width: 240px;
}

.cart-products__delivery-option label span {
  padding: 20px 16px 20px 48px;
  border: 1px solid var(--Neutral-200);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  white-space: nowrap;
  width: 100%;
}

.cart-products__delivery-option label span a.text-2 {
  color: var(--Neutral-500);
}

.cart-products__delivery-option label input:checked + span {
  border: 1px solid var(--Primary-700);
}

.cart-products__delivery-option label.radio span::before {
  left: 17px;
  top: 20px;
  width: 18px;
  height: 18px;
  transform: none;
}

.cart-products__delivery-option label.radio span::after {
  left: 22.5px;
  top: 25.5px;
  transform: scale(0);
}

.cart-products__delivery-option label.radio:last-of-type span::after {
  left: 23.5px;
}

.cart-products__delivery-option label.radio input:checked + span::after {
  transform: scale(1);
}

.cart-products__delivery .cart-products__form-field {
  width: 906px;
}

.cart-products__sidebar {
  width: 440px;
  float: right;
}

.cart-products__result {
  width: 100%;
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 4px 45px 0 rgba(62, 59, 52, 0.05);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-products__result .cart-products__result-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-products__result .cart-products__result-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-products__result .cart-products__result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-products__result .cart-products__result-item span {
  color: var(--Neutral-500);
}

.cart-products__result
  .cart-products__result-sale
  .cart-products__result-item
  span {
  color: #34c759;
}

.cart-products__result .cart-products__result-promocode {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-products__result .cart-products__promocode-form {
  position: relative;
}

.cart-products__result .cart-products__promocode-form label {
  width: calc(100% - 110px);
}

.cart-products__result .cart-products__promocode-form input[type="text"] {
  height: 40px;
}

.cart-products__result .cart-products__promocode-form button {
  background: var(--Neutral-1000);
  border-radius: 4px;
  height: 40px;
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.cart-products__result-total .text-1 {
  font-weight: bold;
}

.cart-products__result-total span.h3 {
  color: var(--Neutral-1000);
}

.cart-products__result-action {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-products__result-action button {
  background: var(--Neutral-1000);
  border-radius: 4px;
}

.cart-products__result-action .filter-checkbox-label {
  display: block;
  max-width: 100%;
  font-size: 14px;
  font-weight: 300;
}

.cart-form-policy.error .filter-checkbox-label:before {
  background: url(../img/cart/icon-check-error.svg) no-repeat center center / cover;
  filter: none;
}

.cart-mobile-fix {
  display: none;
}

/* responsive */
@media (max-width: 1919px) {
  /* cart-products */
  .cart-products {
    gap: 20px;
  }
  .cart-products__one-product {
    padding-right: 40px;
  }
  .cart-products__one-product .one-product__info {
    width: 470px;
  }
  .cart-products__one-product .one-product__text a {
    font-size: 16px;
  }
  .cart-products__sidebar {
    width: 323px;
  }
}

@media (max-width: 1439px) {
  /* result-block */
  .cart .result-block {
    margin-top: 20px;
  }

  /* cart-products */
  .cart-products {
    gap: 32px;
    flex-direction: column;
  }
  .cart-products__content {
    width: 100%;
  }
  .cart-products__one-product {
    gap: 12px;
  }
  .cart-products__sidebar {
    width: 100%;
  }
  .cart-products__result .cart-products__promocode-form input[type="text"] {
    height: 48px;
  }
  .cart-products__promocode-form label.error::before,
  .cart-products__promocode-form label.valid::after {
    bottom: 12px;
  }
  .cart-products__result .cart-products__promocode-form label {
    width: calc(100% - 360px);
  }
  .cart-products__result .cart-products__promocode-form button {
    height: 48px;
    width: 364px;
    justify-content: center;
  }
  .cart-mobile-fix {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    box-shadow:
      0 4px 45px 0 rgba(62, 59, 52, 0.05),
      0 4px 45px 0 rgba(62, 59, 52, 0.05);
    background: #fff;
    border-radius: 4px;
    padding: 16px;
  }
  .cart-mobile-fix__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .cart-mobile-fix__info span {
    color: var(--Neutral-500);
  }
  .cart-mobile-fix__btn {
    width: 300px;
    height: 100%;
    background: var(--Neutral-1000);
    border-radius: 4px;
  }
}

@media (max-width: 1023px) {
  /* result-block */
  .cart .result-block p.text-2.w-358 {
    width: 100%;
  }

  /* cart-products */
  .cart-products__top-cart {
    align-items: start;
    flex-direction: column-reverse;
    gap: 12px;
  }
  .cart-products__one-product {
    flex-wrap: wrap;
    align-items: start;
  }
  .one-product__value {
    width: 100%;
    order: 2;
  }
  .cart-products__one-product .one-product__info {
    align-items: start;
  }
  .cart-products__one-product .one-product__price-block {
    align-items: end;
  }
  .cart-products__one-product .one-product__price-block .one-product__total {
    position: absolute;
    bottom: 0;
    right: 44px;
  }
  .cart-products__delivery-option {
    width: 400px;
    flex-wrap: wrap;
  }
  .cart-products__delivery-option label.radio {
    min-width: 100%;
  }
  .cart-products__delivery .cart-products__form-field {
    width: 100%;
  }
  .top-cart__min-amount div[data-tippy-root] {
    width: 100%;
  }
  .top-cart__min-amount .tippy-box {
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  #breadcrumbs {
    padding: 3.077vw 0 6.154vw;
  }
  .cart {
    padding-bottom: 10.256vw;
  }
  /* result-block */
  .cart h1 {
    font-size: 6.154vw;
  }
  .cart .result-block {
    margin-top: 6.154vw;
  }
  .cart .result-block .h3 {
    font-size: 5.128vw;
  }
  .cart .result-block p.text-2 {
    margin-top: 4.103vw;
    font-size: 3.59vw;
  }
  .cart .result-block p.text-2.fw-500 {
    margin-top: 4.103vw;
  }
  .cart .result-block a.default-button {
    margin: 6.154vw auto 0;
    width: 51.538vw;
    height: 11.795vw;
    font-size: 3.59vw;
  }
  /* cart-products */
  .cart-products {
    gap: 5.128vw;
  }
  .cart-products__standart-block {
    border-radius: 1.026vw;
    padding: 4.103vw 4.103vw 5.128vw;
    box-shadow: 0 1.026vw 11.538vw 0 rgba(62, 59, 52, 0.05);
    gap: 5.128vw;
  }
  .cart-products__standart-block:not(:last-child) {
    margin-bottom: 8.205vw;
  }
  .tooltip:before {
    width: 4.103vw;
    height: 4.103vw;
  }
  #min-amount-tooltip {
    gap: 2.051vw;
  }
  .cart-products__top-cart .top-cart {
    gap: 3.077vw;
  }
  .cart-products__top-cart .top-cart .filter-label {
    height: 9.744vw;
    gap: 0;
    padding: 0;
  }
  .filter-checkbox-label {
    padding-left: 7.179vw;
    gap: 0;
    max-width: fit-content;
  }
  .cart-products__top-cart .top-cart__delete-all {
    gap: 1.538vw;
    height: 9.744vw;
    padding-right: 0;
  }
  .cart-products__top-cart .top-cart__delete-all img {
    width: 5.641vw;
    min-width: 5.641vw;
  }
  .text-1 {
    font-size: 4.103vw;
  }
  .filter-checkbox-label:before,
  .filter-checkbox-label:after {
    width: 4.615vw;
    height: 4.615vw;
  }
  .cart-products__one-product {
    padding-right: 0;
    gap: 4.103vw;
  }
  .cart-products__one-product .one-product__info {
    width: 100%;
    gap: 3.077vw;
    padding-right: 8.718vw;
  }
  .cart-products__one-product .one-product__info .one-product__checkbox {
    width: 4.615vw;
    min-width: 4.615vw;
    height: 4.615vw;
    margin-left: 0;
  }
  .cart-products__one-product .one-product__info .one-product__img {
    width: 14.359vw;
    min-width: 14.359vw;
    height: 14.359vw;
    border-radius: 0.513vw;
  }
  .cart-products__one-product .one-product__info .one-product__text {
    gap: 2.051vw;
    max-width: 100%;
  }
  .cart-products__one-product .one-product__text a {
    font-size: 3.59vw;
  }
  .cart-products__one-product .one-product__info .one-product__number {
    font-size: 3.077vw;
    gap: 1.026vw;
    color: var(--Neutral-500);
  }
  .cart-products__one-product .cart-products__delete-product {
    width: 5.641vw;
    min-width: 5.641vw;
  }
  .one-product__value {
    order: 0;
  }
  .cart-products__one-product .one-product__value .product-item {
    width: 100%;
    min-width: 100%;
  }
  .cart-products__one-product .product-in-value .value-select > span {
    font-size: 3.59vw;
  }
  .group-input input[type="text"],
  .group-input input[type="email"],
  .group-input input[type="tel"] {
    font-size: 3.59vw;
  }
  .cart-products__one-product .product-in-value .counter input[type="text"] {
    font-weight: bold;
    height: 8.205vw !important;
  }
  .cart-products__one-product .one-product__price-block .one-product__total {
    position: relative;
    right: 0;
  }
  .cart-products__one-product .one-product__price-block {
    align-items: center;
    width: 100%;
    min-width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
  .cart-products__one-product
    .one-product__price-block
    .one-product__price
    .text-2 {
    font-size: 3.59vw;
  }
  .cart-products__one-product .one-product__price-block .one-product__price {
    align-items: start;
    gap: 2.051vw;
  }
  .cart-products__one-product .one-product__price-block .one-product__total {
    gap: 1.026vw;
    align-items: end;
  }
  .cart-products__one-product
    .one-product__price-block
    .one-product__total
    .text-2 {
    font-size: 3.077vw;
  }
  .cart-products__dyn-block .cart-products__tabs {
    align-items: start;
    gap: 3.077vw;
    flex-direction: column;
  }
  .radio span {
    padding-left: 7.692vw;
    line-height: 5.128vw;
  }
  .radio {
    padding: 0.769vw;
  }
  .radio span::before {
    width: 4.615vw;
    height: 4.615vw;
    border: 0.513vw solid var(--Neutral-500);
  }
  .radio span::after {
    left: 1.41vw;
    width: 2.564vw;
    height: 2.564vw;
  }
  .cart-products__dyn-block .cart-products__tabs label:last-child span::after {
    left: 1.41vw;
  }
  .text-2 {
    font-size: 3.59vw;
  }
  .cart-products__form-group {
    grid-template-columns: 1fr;
    gap: 4.103vw;
  }
  .cart-products__form-field label input {
    margin-top: 2.051vw;
  }
  .cart-products__delivery-option {
    width: 100%;
    gap: 3.077vw;
  }
  .cart-products__delivery-option label span {
    padding: 5.128vw 4.103vw 5.128vw 12.308vw;
    border: 0.256vw solid var(--Neutral-200);
    border-radius: 1.026vw;
    gap: 2.051vw;
    white-space: normal;
  }
  .cart-products__delivery-option label input:checked + span {
    border: 0.256vw solid var(--Primary-700);
  }
  .cart-products__delivery-option label.radio span::before {
    left: 4.359vw;
    top: 5.128vw;
    width: 4.615vw;
    height: 4.615vw;
  }
  .cart-products__delivery-option label.radio span::after {
    left: 5.897vw;
    top: 6.538vw;
    width: 2.564vw;
    height: 2.564vw;
  }
  .cart-products__delivery-option label.radio:last-of-type span::after {
    left: 5.897vw;
  }
  .cart-products__form-field label span {
    bottom: -5.128vw;
  }
  .cart-products__result .cart-products__promocode-form label {
    width: calc(100% - 28.205vw);
  }
  .cart-products__result .cart-products__promocode-form button {
    border-radius: 1.026vw;
    height: 10.256vw;
    width: auto;
  }
  .cart-products__result .cart-products__promocode-form input[type="text"] {
    height: 10.256vw !important;
  }
  .cart-products__promocode-form label.error::before,
  .cart-products__promocode-form label.valid::after {
    bottom: 2.051vw;
  }
  .cart-products__result .cart-products__result-promocode {
    gap: 2.051vw;
  }
  .default-button {
    padding: 4.103vw;
    font-size: 3.59vw;
    border-radius: 1.026vw;
  }
  .cart-products__form-field label span, .cart-products__promocode-form label span {
    font-size: 3.077vw;
  }
  .cart-products__result .cart-products__result-body {
    gap: 5.128vw;
  }
  .cart-products__result .cart-products__result-main {
    gap: 2.051vw;
  }
  .cart-products__result-action {
    gap: 4.103vw;
  }
  .cart-products__result-action .filter-checkbox-label,
  .cart-products__result-action .filter-checkbox-label a {
    font-size: 3.59vw;
  }
  .cart-mobile-fix {
    box-shadow:
      0 1.026vw 11.538vw 0 rgba(62, 59, 52, 0.05),
      0 1.026vw 11.538vw 0 rgba(62, 59, 52, 0.05);
    border-radius: 1.026vw;
    padding: 4.103vw;
    flex-direction: column;
    gap: 6.154vw;
  }
  .cart-mobile-fix__text {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.051vw;
  }
  .cart-mobile-fix__btn {
    width: 100%;
  }
}

.group-input.error span,
.cart-products__promocode-form label.error span {
  opacity: 1;
}


