.woocommerce-cart .cart-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
  column-gap: 3rem;
  row-gap: 38px;
  justify-content: space-between;
  align-items: start;
}

.woocommerce-cart .woocommerce-cart-form {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: 733px;
}

.woocommerce-cart .cart-update-notice {
  margin-bottom: 1rem;
  color: #c0180b;
  font-size: 0.875rem;
  line-height: 1.35;
}

.woocommerce-cart .cart-order-summary-wrap {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  min-width: 0;
}

.woocommerce-cart .cart-order-summary {
  position: sticky;
  top: calc(100px + 1.5rem);
  padding: 30px;
  border-radius: 12px;
  background: #fff;
  width: 100%;
  max-width: 363px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.woocommerce-cart .cart-order-summary .redBtn {
  max-width: 100% !important;
}

.cart-order-summary__title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 22px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 0;
}

.cart-order-summary__items {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-order-summary__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.cart-order-summary__item-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.cart-order-summary__item-name,
.cart-order-summary__item-total {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--black);
}

.cart-order-summary__item-quantity {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--grey);
}

.cart-order-summary__item-total {
  font-weight: 500;
  white-space: nowrap;
}

.cart-order-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 22px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-top: 20px;
}

.cart-order-summary__total .total-item {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 22px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--red);
}

.woocommerce-cart .cart-order-summary__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.woocommerce-cart .cart-item.is-updating {
  opacity: 0.65;
}

.woocommerce-cart .cart-item__quantity button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.woocommerce-cart .cart-extras {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.woocommerce-cart .cart-extras__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--black);
}

.woocommerce-cart .cart-extras__option--unavailable {
  cursor: not-allowed;
  opacity: 0.5;
}

.woocommerce-cart .cart-extras__input {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.woocommerce-cart .cart-extras__price {
  color: var(--black);
  white-space: nowrap;
}

.woocommerce-cart .product-remove .remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: #ee3727;
  cursor: pointer;
  line-height: 1;
}

.woocommerce-cart .product-remove .remove:hover,
.woocommerce-cart .product-remove .remove:focus-visible {
  color: #fff;
  background: #ee3727;
}

.cart-empty {
  border: none !important;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--black);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.cart-empty::before {
  display: none;
}

.return-to-shop {
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Cart product cards. These rules are scoped to the cart to avoid affecting catalog cards. */
.woocommerce-cart .woocommerce-cart-items {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.woocommerce-cart .cart-item {
  position: relative;
  border-bottom: 1px solid var(--grey-elements);
  padding-bottom: 25px;
}

.woocommerce-cart .cart-item__info {
  display: flex;
  align-items: stretch;
  gap: 44px;
}

.woocommerce-cart .cart-item__image {
  flex: 0 0 236px;
  width: 236px;
}

.woocommerce-cart .cart-item__image img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.woocommerce-cart .cart-item__content {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.woocommerce-cart .cart-item__title {
  margin-bottom: 12px !important;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--black);
}

.woocommerce-cart .cart-item__title a {
  color: inherit;
  text-decoration: none;
}

.woocommerce-cart .cart-item__description,
.woocommerce-cart .cart-item__meta {
  max-width: 366px;
}

.woocommerce-cart .cart-item__description p,
.woocommerce-cart .cart-item__meta p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 15px;
}

.woocommerce-cart .cart-item__unit-price,
.woocommerce-cart .cart-recommendation-card__price {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--red);
  display: flex;
  flex-direction: reverse;
  align-items: flex-end;
  gap: 8px;
}

.woocommerce-cart .cart-item__unit-price del,
.woocommerce-cart .cart-recommendation-card__price del {
  order: 2;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-decoration: line-through;
  color: var(--grey);
}

.woocommerce-cart .cart-item__unit-price ins,
.woocommerce-cart .cart-recommendation-card__price ins {
  order: 1;
  color: inherit;
  text-decoration: none;
}

.woocommerce-cart .cart-order-summary__item-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
  white-space: nowrap;
}

.woocommerce-cart .cart-order-summary__item-regular-total {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-decoration: line-through;
  color: var(--grey);
}

.woocommerce-cart .cart-item__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  margin-top: auto;
}

.woocommerce-cart .cart-item__quantity {
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 33px;
  border-radius: 8px;
  background: var(--red);
}

.woocommerce-cart .cart-item__quantity button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 33px;
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white);
  transition: background-color 0.3s linear;
}

.woocommerce-cart .cart-item__quantity button:hover:not(:disabled) {
  background-color: rgba(0, 0, 0, 0.12);
}

.woocommerce-cart .cart-item__quantity input.quantity-input {
  width: 36px;
  height: 33px;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white);
  background-color: transparent;
  -moz-appearance: textfield;
}

.woocommerce-cart .cart-item__quantity input.quantity-input::-webkit-outer-spin-button,
.woocommerce-cart .cart-item__quantity input.quantity-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.woocommerce-cart .cart-item__wishlist,
.woocommerce-cart .cart-recommendation-card__wishlist {
  display: flex;
}

.woocommerce-cart .cart-item__wishlist .yith-wcwl-add-to-wishlist,
.woocommerce-cart .cart-recommendation-card__wishlist .yith-wcwl-add-to-wishlist {
  margin: 0;
}

.woocommerce-cart .cart-item__wishlist a,
.woocommerce-cart .cart-recommendation-card__wishlist a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 33px;
  border: 2px solid var(--red);
  border-radius: 6px;
  color: var(--red);
}

.woocommerce-cart .cart-recommendation-card__wishlist a {
  border: none;
}

.woocommerce-cart .cart-item__wishlist a svg,
.woocommerce-cart .cart-recommendation-card__wishlist a svg {
  width: 16px;
  height: 16px;
  color: var(--red) !important;
}

.woocommerce-cart .cart-item__wishlist a.remove_from_wishlist svg {
  color: var(--red) !important;
}

.woocommerce-cart .product-remove {
  position: absolute;
  top: 0;
  right: 0;
}

.woocommerce-cart .product-remove .remove {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.woocommerce-cart .cart-item.is-removing {
  opacity: 0.6;
  pointer-events: none;
}

.woocommerce-cart .cart-item.is-removing .product-remove .remove {
  cursor: wait;
}

.woocommerce-cart .cart-item.is-removing .product-remove .remove svg {
  opacity: 0;
}

.woocommerce-cart .cart-item.is-removing .product-remove .remove::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--red);
  border-right-color: transparent;
  border-radius: 50%;
  animation: moscowtea-cart-spinner 0.7s linear infinite;
}

@keyframes moscowtea-cart-spinner {
  to {
    transform: rotate(360deg);
  }
}

.woocommerce-cart .product-remove .remove:hover,
.woocommerce-cart .product-remove .remove:focus-visible {
  color: #ee3727;
  background: transparent;
}

.woocommerce-cart .cart-extras {
  border-top: 0;
}

.woocommerce-cart .cart-extras__checkbox {
  display: inline-flex;
  flex: 0 0 19px;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 4px;
  background-color: var(--grey-elements);
  color: var(--white);
  transition: background-color 0.2s linear, box-shadow 0.2s linear;
}

.woocommerce-cart .cart-extras__checkbox svg {
  opacity: 0;
  transition: opacity 0.2s linear;
}

.woocommerce-cart .cart-extras__input:checked+.cart-extras__checkbox {
  background-color: var(--black);
}

.woocommerce-cart .cart-extras__input:checked+.cart-extras__checkbox svg {
  opacity: 1;
}

.woocommerce-cart .cart-extras__input:focus-visible+.cart-extras__checkbox {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--red);
}

.woocommerce-cart .cart-extras__input:disabled+.cart-extras__checkbox {
  cursor: not-allowed;
}

.woocommerce-cart .actions {
  display: none;
}

.woocommerce-cart .cart-recommendations {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  margin-top: 0;
}

.woocommerce-cart .cart-recommendations__title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 22px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 30px;
}

.woocommerce-cart .cart-recommendations__slider-hint {
  display: none;
}

.woocommerce-cart .cart-recommendations__slider {
  display: flex;
  align-items: stretch;
}

.woocommerce-cart .cart-recommendations__slide {
  display: flex;
  height: auto;
  min-width: 0;
}

.woocommerce-cart .cart-recommendation-card__thumbnail {
  position: relative;
}

.woocommerce-cart .cart-recommendation-card__image {
  display: block;
  width: 100%;
  height: 198px;
  object-fit: cover;
  border-radius: 12px;
}

.woocommerce-cart .cart-recommendation-card__wishlist {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.woocommerce-cart .cart-recommendation-card__wishlist a {
  width: 1.75rem;
  height: 1.75rem;
  background: #fff;
}

.woocommerce-cart .cart-recommendation-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 12px;
}

.woocommerce-cart .cart-recommendation-card__title {
  min-height: var(--cart-recommendation-title-height, 44px);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px !important;
  line-height: 120%;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.woocommerce-cart .cart-recommendation-card__title a {
  text-decoration: none;
  color: var(--black);
}

.woocommerce-cart .cart-recommendation-card__actions {
  margin-top: auto;
  padding-top: 10px;
}

.woocommerce-cart .cart-recommendation-card__actions .button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important; 
  font-family: var(--font-family);
  font-weight: 600 !important;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white);
  background: var(--grey);
  border-radius: 8px;
  height: 100%;
  padding: 10px;
  min-height: 38px;
}

.woocommerce-cart .cart-recommendation-card__actions .button:hover,
.woocommerce-cart .cart-recommendation-card__actions .button:focus-visible {
  background: #272727;
  color: #fff;
}

.yith-wcwl-add-to-wishlist-button__label {
  display: none;
}



@media screen and (max-width: 1023px) {
  .woocommerce-cart .cart-item__image {
    flex: 0 0 197px;
    width: 197px;
  }

  .woocommerce-cart .cart-item__image img {
    height: 167px;
  }

  .woocommerce-cart .cart-page-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart-recommendations,
  .woocommerce-cart .cart-order-summary-wrap {
    grid-column: 1;
    grid-row: auto;
  }

  .woocommerce-cart .woocommerce-cart-form {
    width: 100%;
    max-width: none;
  }

  .woocommerce-cart .cart-order-summary {
    position: static;
    max-width: none;
    padding: 25px;
  }

  .woocommerce-cart .cart-recommendations {
    width: calc(50% + 50vw);
    max-width: none;
  }

  .woocommerce-cart .cart-recommendations__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-right: 30px;
  }

  .woocommerce-cart .cart-recommendations__slider-hint {
    display: flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
  }

  .woocommerce-cart .cart-recommendations__slider-hint img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .woocommerce-cart .cart-item {
    padding-bottom: 30px;
  }

  .woocommerce-cart .woocommerce-cart-items {
    gap: 30px;
  }

  .yith-add-to-wishlist-button-block {
    margin: 0 !important;
  }

  .woocommerce-cart .cart-item__info {
    gap: 25px;
  }

  .woocommerce-cart .cart-item__title {
    margin-bottom: 10px !important;
    font-size: 16px;
  }

  .woocommerce-cart .cart-item__description p,
  .woocommerce-cart .cart-item__meta p {
    font-size: 14px;
  }

  .woocommerce-cart .cart-item__unit-price,
  .woocommerce-cart .cart-recommendation-card__price {
    font-size: 16px;
  }

  .woocommerce-cart .cart-item__unit-price del,
  .woocommerce-cart .cart-recommendation-card__price del {
    font-size: 12px;
  }

  .woocommerce-cart .cart-recommendations__title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .woocommerce-cart .cart-recommendation-card__title a {
    font-size: 16px;
  }

  .cart-order-summary__title {
    font-size: 20px;
  }

  .cart-order-summary__item-name,
  .cart-order-summary__item-total {
    font-size: 16px;
  }

  .cart-order-summary__item-quantity {
    font-size: 14px;
  }

  .cart-order-summary__total {
    font-size: 20px;
  }

  .cart-order-summary__total .total-item {
    font-size: 20px;
  }

  .cart-order-summary__checkout {
    align-self: center;
  }
}

@media screen and (max-width: 959px) {
  .cart-empty {
    font-size: 16px;
  }
}


@media screen and (max-width: 767px) {
  .cart-empty {
    font-size: 14px;
  }

  .woocommerce-cart .woocommerce-cart-items {
    gap: 25px;
  }

  .woocommerce-cart .cart-item {
    padding-right: 8px;
    padding-bottom: 25px;
  }

  .woocommerce-cart .cart-item__info {
    gap: 18px;
  }

  .woocommerce-cart .cart-item__image {
    width: 130px;
    flex-basis: 130px;
  }

  .woocommerce-cart .cart-item__image img {
    height: 142px;
  }

  .woocommerce-cart .cart-item__title {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .woocommerce-cart .cart-item__description p,
  .woocommerce-cart .cart-item__meta p {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .woocommerce-cart .cart-item__unit-price,
  .woocommerce-cart .cart-recommendation-card__price {
    font-size: 14px;
  }

  .woocommerce-cart .cart-item__unit-price del,
  .woocommerce-cart .cart-recommendation-card__price del {
    font-size: 12px;
  }

  .woocommerce-cart .cart-item__actions {
    min-width: 0;
    max-width: none;
  }

  .woocommerce-cart .cart-extras {
    gap: 10px;
  }

  .woocommerce-cart .cart-extras__option {
    font-size: 12px;
  }

  .woocommerce-cart .cart-extras__checkbox {
    flex-basis: 19px;
    width: 19px;
    height: 19px;
  }

  .woocommerce-cart .cart-recommendations {
    grid-column: 1;
    grid-row: auto;
  }

  .woocommerce-cart .cart-recommendations__header {
    padding-right: 15px;
  }

  .woocommerce-cart .cart-recommendations__title {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .woocommerce-cart .cart-recommendation-card {
    gap: 10px;
  }

  .woocommerce-cart .cart-recommendation-card__image {
    height: 178px;
  }

  .woocommerce-cart .cart-recommendation-card__title {
    min-height: var(--cart-recommendation-title-height, 34px);
    font-size: 13px !important;
  }

  .woocommerce-cart .cart-recommendation-card__actions {
    margin-top: auto;
    padding-top: 4px;
  }

  .woocommerce-cart .cart-recommendation-card__actions .button {
    min-height: 38px;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
  }

  .cart-order-summary__title,
  .cart-order-summary__total,
  .cart-order-summary__total .total-item {
    font-size: 16px;
  }

  .cart-order-summary__item-name,
  .cart-order-summary__item-total {
    font-size: 14px;
  }

  .cart-order-summary__item-quantity,
  .woocommerce-cart .cart-order-summary__item-regular-total {
    font-size: 12px;
  }

  .cart-order-summary__item-details {
    gap: 7px;
  }

  .cart-order-summary__items {
    gap: 16px;
  }

  .cart-order-summary__total {
    margin-top: 10px;
  }

  .woocommerce-cart .cart-item__title {
    margin-bottom: 8px !important;
    font-size: 14px;
  }

  .woocommerce-cart .cart-item__description p,
  .woocommerce-cart .cart-item__meta p {
    font-size: 10px;
    margin-bottom: 21px;
  }

  .woocommerce-cart .cart-item__quantity input.quantity-input,
  .woocommerce-cart .cart-item__quantity {
    min-height: 28px;
  }

  .woocommerce-cart .cart-item__quantity button,
  .woocommerce-cart .cart-item__quantity input.quantity-input {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .woocommerce-cart .cart-item__wishlist a,
  .woocommerce-cart .cart-recommendation-card__wishlist a {
    width: 30px;
    height: 28px;
  }

  .woocommerce-cart .product-remove .remove {
    width: 8px;
    height: 8px;
  }

  .woocommerce-cart .cart-recommendation-card__title a {
    font-size: 14px;
  }

  .woocommerce-cart .cart-page-layout {
    gap: 25px;
  }
}

@media screen and (max-width: 499px) {
  .woocommerce-cart .cart-item__image {
    flex-basis: 148px;
    width: 148px;
  }

  .woocommerce-cart .cart-item__image img {
    height: 124px;
  }

  .woocommerce-cart .cart-recommendation-card__image {
    height: 147px;
  }

  .woocommerce-cart .cart-order-summary .redBtn {
    max-width: 100% !important;
    width: 100% !important;
  }
}
