.cart-empty {
 padding: 30px 0 60px;
}

.container {}

.cart-empty__wrapper {
 text-align: center;
}

.cart-empty__image {
 min-width: 404px;
 width: 404px;
 height: 240.422px;
 object-fit: cover;
}

.cart-empty__bottom {
 margin-top: 30px;
}

.cart-empty__bottom-icon {
 line-height: 0;
}

.cart-empty__bottom-icon svg {
 width: 29px;
 height: 29px;
 aspect-ratio: 1/1;
}

.cart-empty__bottom-title {
 margin-bottom: 6px;
}

.cart-empty__bottom-text {
 color: rgba(54, 54, 54, 0.6);
 text-align: center;
 font-size: 14px;
 font-weight: 300;
 line-height: 140%;
}

.cart-empty__bottom-btn {
 width: 100%;
 margin-top: 20px;
 display: flex;
 justify-content: center;
}

.cart-empty__bottom-btn a {
 width: fit-content;
}

.viewed-slider-cart {
 background: #F9F9F9;
}


.cart-page-title {
 background: #F9F9F9;
}

.cart {
 padding: 30px 0 60px;
 background: #F9F9F9;
}

.cart__header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 14px;
 width: 100%;
 max-width: calc(100% - 325px);
 padding: 12px 15px;
 border-radius: 15px;
 background: #FFF;
}

.cart__select-all {
 display: flex;
 align-items: center;
}

.cart__select-all .checkbox__label {
 margin-left: 17px;
 color: #363636;
 font-size: 13px;
 font-weight: 500;
 line-height: 140%;
 margin-bottom: -2px;
}

.cart__remove-selected {
 display: flex;
 align-items: center;
 gap: 6px;
 background: none;
 border: none;
 cursor: pointer;
 color: #E63737;
 font-size: 14px;
 font-weight: 500;
 line-height: 140%;
 padding: 0;
}

.cart__remove-icon {
 width: 18px;
 height: 18px;
}

.cart__remove-text {
 border-bottom: 1px solid rgba(230, 55, 55, 0.22);
 transition: all .3s;
}

.cart__remove-selected:hover .cart__remove-text {
 border-bottom: 1px solid rgba(230, 55, 55, 1);
}



/* Checkbox стили */
.cart .checkbox {
 display: flex;
 align-items: center;
 cursor: pointer;
 user-select: none;
}

.cart .checkbox__input {
 position: absolute;
 opacity: 0;
 cursor: pointer;
}

.cart .checkbox__box {
 width: 22px;
 height: 22px;
 border: 1px solid #EFEFEF;
 border-radius: 6px;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.3s;
 position: relative;
}

.cart .checkbox__input:checked+.checkbox__box {
 background: #E63737;
 border-color: #E63737;
}

.cart .checkbox__input:checked+.checkbox__box::after {
 content: '';
 position: absolute;
 top: 4px;
 width: 6px;
 height: 9px;
 border: solid white;
 border-width: 0 2px 2px 0;
 transform: rotate(45deg);
}

.cart .checkbox__label,
.cart .checkbox__text {
 margin-left: 10px;
 font-size: 14px;
 color: #363636;
}

.cart__content {
 display: flex;
 gap: 20px;
}

.cart__main {
 flex: 1;
 max-width: calc(100% - 325px);
}

.cart__table-header {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1fr;
 padding: 9px 15px 9px 0px;
 border-radius: 9px;
 background: #EFEFEF;
 margin-bottom: 7px;
}

.cart__table-cell {
 color: #363636;
 font-size: 14px;
 font-weight: 500;
 line-height: 140%;
}

.cart__table-cell--price {
 padding-left: 10px;
}

.cart__table-cell--quantity {
 padding-left: 7px;
}

.cart__table-cell--product {
 padding-left: 54px;
}

.cart-item {
 display: grid;
 grid-template-columns: 2fr 1fr 1fr 1fr;
 padding: 10px 15px;
 border-radius: 15px;
 background: #FFF;
 box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.03);
 margin-bottom: 15px;
 align-items: center;
}

.cart-item:last-child {
 margin-bottom: 0;
}

.cart-item-left {
 display: flex;
 align-items: center;
 gap: 15px;
 padding-right: 25px;
}

.cart-item__product {
 display: flex;
 align-items: center;
 gap: 15px;
}

.cart-item__image {
 min-width: 78px;
 width: 78px;
 height: 92px;
 flex-shrink: 0;
 object-fit: cover;
 border-radius: 10px;
}

.cart-item__name {
 color: #000;
 font-size: 16px;
 font-weight: 600;
 line-height: 140%;
 transition: all .3s;
}

.cart-item__name:hover {
 color: #E63737;
}

.cart-item__weight {
 margin-top: 3px;
 display: block;
 color: rgba(54, 54, 54, 0.6);
 font-size: 14px;
 font-weight: 300;
 line-height: 140%;
}

.cart-item__price-current {
 color: #000;
 font-size: 16px;
 font-weight: 600;
 line-height: 140%;
 white-space: nowrap;
}

.cart-item__price-sale {
 display: flex;
 align-items: center;
 gap: 7px;
}

.cart-item__price-old {
 color: #CDCDCD;
 font-size: 13px;
 font-weight: 500;
 line-height: 140%;
 position: relative;
 white-space: nowrap;
}

.cart-item__price-old::after {
 content: "";
 position: absolute;
 top: 48%;
 left: 0;
 display: block;
 width: 100%;
 height: 1px;
 background: #CDCDCD;
}

.cart-item__discount {
 color: #fff;
 font-size: 12px;
 font-weight: 700;
 line-height: 140%;
 padding: 2px 5px;
 border-radius: 8px;
 background: #E63737;
}

.cart-item__quantity {
 display: flex;
}

.quantity__btn {
 width: 47px;
 height: 47px;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 13px;
 background: #EFEFEF;
 transition: all .3s;
}

.quantity__btn:hover {
 background: #E63737;
}

.quantity__btn path {
 transition: all .3s;
}

.quantity__btn:hover path {
 stroke: #fff;
}


.quantity__input {
 width: 46px;
 text-align: center;
 color: rgba(0, 0, 0, 0.8);
 font-size: 18px;
 font-weight: 400;
 line-height: 140%;
}


.cart-item-right {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 5px;
}

.cart-item__total {
 color: #000;
 font-size: 16px;
 font-weight: 600;
 line-height: 140%;
}

.cart-item__actions {
 display: flex;
 align-content: center;
 gap: 8px;
}

.cart-item__favorite {
 width: 42px;
 height: 42px;
 border-radius: 9px;
 border: 2px solid #EFEFEF;
 display: flex;
 align-items: center;
 justify-content: center;
 background: #fff;
}

.cart-item__remove {
 width: 42px;
 height: 42px;
 border-radius: 9px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: #F4F4F4;
 transition: all 0.3s ease;
 cursor: pointer;
}

.cart-item__remove:hover {
 background: #E5E5E5;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.cart-item__remove:active {
 background: #DADADA;
 box-shadow: none;
}

.cart-item__favorite {
 transition: all 0.2s ease;
 cursor: pointer;
}

.cart-item__favorite:hover {
 background: #FFF5F5;
 border-radius: 9px;
}

.cart-item__favorite:active {
 transform: scale(0.92);
}

.cart-item__favorite--active path {
 fill: #E63737;
}


.cart-item__promo {
 display: flex;
 margin-top: 7px;
 gap: 4px;
 flex-wrap: wrap;
}

.cart-item__promo-label {
 color: #363636;
 font-size: 12px;
 font-weight: 300;
 line-height: 140%;
 padding: 3px 7px;
 border-radius: 900px;
 background: #F2F2F2;
 backdrop-filter: blur(10.5px);
}

.cart-item__promo-more {
 padding: 3px 7px;
 border-radius: 900px;
 background: #F2F2F2;
 backdrop-filter: blur(10.5px);
 display: flex;
 align-items: center;
 justify-content: center;
}

.cart__sidebar {
 flex: 1;
 max-width: 305px;
}

.order-summary {
 padding: 20px;
 border-radius: 15px;
 background: #FFF;
}

.order-summary__title {
 margin-bottom: 20px;
}

.order-summary__row {
 display: flex;
 align-items: center;
 margin-bottom: 10px;
}

.order-summary__row:last-child {
 margin-bottom: 0;
}

.order-summary__label {
 color: rgba(54, 54, 54, 0.5);
 font-size: 15px;
 font-weight: 300;
 line-height: 132%;
 flex: 0;
 margin-right: 10px;
 white-space: nowrap;
}

.order-summary__row-line {
 flex-grow: 1;
 height: 1px;
 background-image: linear-gradient(to right, #CDCDCD 33%, rgba(255, 255, 255, 0) 0%);
 background-position: bottom;
 background-size: 3px 1px;
 background-repeat: repeat-x;
}

.order-summary__value {
 color: #000;
 font-size: 15px;
 font-weight: 300;
 line-height: 132%;
 margin-left: 10px;
}

.order-summary__value--bonus {
 color: #5F9F4F;
 font-size: 14px;
 font-weight: 600;
 line-height: 140%;
 display: flex;
 align-items: center;
 gap: 4px;
}

.order-summary__row--total {
 color: #000;
 font-size: 16px;
 font-weight: 600;
 line-height: 140%;
}

.order-summary__info {
 margin-top: 20px;
 padding: 12px 13px;
 border-radius: 15px;
 border: 1px solid #5F9F4F;
 display: flex;
 gap: 7px;
}

.order-summary__info-text {
 color: #363636;
 font-size: 13px;
 font-weight: 400;
 line-height: 140%;
}

.order-summary__btn {
 margin-top: 20px;
}

.cart-notification {
 width: 375px;
 background: #fff;
 border-radius: 15px;
 box-shadow: 0 350px 98px 0 rgba(0, 0, 0, 0.00), 0 224px 90px 0 rgba(0, 0, 0, 0.01), 0 126px 76px 0 rgba(0, 0, 0, 0.03), 0 56px 56px 0 rgba(0, 0, 0, 0.04), 0 14px 31px 0 rgba(0, 0, 0, 0.05);
 padding: 15px;
 position: fixed;
 top: 74px;
 right: 100px;
 z-index: 23;
}

.cart-notification__close {
 position: absolute;
 top: 10px;
 right: 10px;
 padding: 12px;
 border-radius: 9px;
 border: 1px solid rgba(0, 0, 0, 0.36);
 opacity: 0.3;
 line-height: 0;
 cursor: pointer;
 transition: all .3s;
}

.cart-notification__close:hover {
 opacity: 1;
}

.cart-notification__close-icon {
 width: 13px;
 height: 13px;
 aspect-ratio: 1/1;
}

.cart-notification__title {
 color: #000;
 font-size: 17px;
 font-weight: 600;
 line-height: 140%;
 margin-bottom: 10px;
}

.cart-notification__product {
 display: flex;
 gap: 12px;
 align-items: center;
}

.cart-notification__product-image {
 min-width: 54px;
 width: 54px;
 height: 64px;
 flex-shrink: 0;
 object-fit: cover;
 border-radius: 10px;
}

.cart-notification__product-name {
 color: #000;
 font-size: 13px;
 font-weight: 400;
 line-height: 146%;
}

.cart-notification__price {
 display: flex;
 margin-top: 4px;
 align-items: center;
 gap: 7px;
}

.cart-notification__price-new {
 color: #000;
 font-size: 13px;
 font-weight: 500;
 line-height: 140%;
}

.cart-notification__price-old {
 color: #CDCDCD;
 font-size: 12px;
 font-weight: 500;
 line-height: 140%;
 position: relative;
}

.cart-notification__price-old::after {
 content: "";
 position: absolute;
 top: 49%;
 width: 100%;
 left: 0;
 height: 1px;
 background: #CDCDCD;
}

.cart-notification__price-discount {
 color: #FFF;
 font-size: 12px;
 font-weight: 500;
 line-height: 140%;
 padding: 1px 4px;
 border-radius: 7px;
 background: #E63737;
}

.cart-notification__undo-btn {
 position: relative;
 width: 100%;
 padding: 11px;
 border: 1px solid #E63737;
 border-radius: 10px;
 background: transparent;
 cursor: pointer;
 overflow: hidden;
 margin-top: 10px;
}

.cart-notification__undo-text {
 position: relative;
 z-index: 2;
 color: #E63737;
 font-size: 14px;
 font-weight: 500;
 line-height: 140%;
}

.cart-notification__undo-btn::before {
 content: "";
 position: absolute;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100%;
 background: #FFF3F3;
 z-index: 1;
 animation: slideIn 2s forwards;
}

@keyframes slideIn {
 to {
  left: 0;
 }
}


@media(max-width: 1222px) {
 .cart__header {
  max-width: 100%;
 }

 .cart__content {
  flex-direction: column;
 }

 .cart__main {
  flex: 1;
  max-width: 100%;
 }

 .cart__sidebar {
  flex: 1;
  max-width: 100%;
 }
}

@media (max-width: 900px) {
 .cart__table-header {
  display: none;
 }

 .cart-item {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
 }

 .cart-item> :first-child {
  grid-column: 1 / -1;
 }

 .cart-item__price {
  padding-left: 35px;
 }
}

@media (max-width: 768px) {
 .cart-empty__image {
  min-width: 264px;
  width: 264px;
  height: 157px;
 }

 .cart-empty__bottom {
  margin-top: 20px;
 }

 .cart-empty__bottom-text {
  font-size: 13px;
 }

 .cart-empty {
  padding: 30px 0 0px;
 }

 .cart {
  padding: 25px 0 30px
 }

 .cart__header {
  margin-bottom: 10px;
  padding-inline: 0;
  background: transparent;
  border-radius: 0;
 }

 .cart .checkbox__label,
 .cart .checkbox__text {
  margin-left: 8px;
  font-size: 12px;
 }

 .cart__remove-selected {
  font-size: 13px;
 }

 .cart-item__checkbox {
  order: 5;
 }

 .cart-item {
  padding: 10px;
  border-radius: 12px;
  gap: 7px;
  grid-template-columns: 2fr 2fr 1fr;
  margin-bottom: 10px;
 }

 .cart-item__image {
  min-width: 48px;
  width: 48px;
  height: 56px;
  border-radius: 7px;
 }

 .cart-item__product {
  gap: 10px;
  padding-right: 25px;
  max-width: calc(100% - 59px);
 }

 .cart-item-left {
  gap: 5px;
  justify-content: space-between;
  padding: 0;
  align-items: flex-start;
 }

 .cart-item__name {
  font-size: 13px;
 }

 .cart .checkbox__box {
  width: 29px;
  height: 29px;
 }

 .cart .checkbox__input:checked+.checkbox__box::after {
  top: 6px;
  width: 7px;
  height: 12px;
 }

 .cart-item__price {
  order: 3;
  padding-inline: 15px;
 }

 .cart-item-right {
  order: 4;
 }

 .quantity__input {
  font-size: 14px;
 }

 .cart-item__total {
  display: none;
 }

 .cart-item__price-current {
  font-size: 15px;
 }

 .cart-item__price-old {
  font-size: 12px;
 }

 .cart-item__discount {
  padding: 1px 3px;
 }

 .cart-item__actions {
  gap: 5px;
  flex-direction: column;
  margin-left: auto;
  margin-top: -20px;
 }

 .cart-item__favorite {
  width: 30px;
  height: 30px;
  border-radius: 7px;
 }

 .cart-item__remove {
  width: 30px;
  height: 30px;
  border-radius: 7px;
 }

 .cart-item__remove svg {
  width: 14px;
  height: 14px;
 }

 .cart__content {
  gap: 25px;
 }

 .order-summary {
  padding: 14px;
 }

 .order-summary__title {
  margin-bottom: 15px;
 }

 .order-summary__info {
  margin-top: 15px;
 }

 .cart-notification {
  width: 100%;
  border-radius: 0;
  box-shadow: 0 -178px 50px 0 rgba(0, 0, 0, 0.00), 0 -114px 46px 0 rgba(0, 0, 0, 0.01), 0 -64px 39px 0 rgba(0, 0, 0, 0.03), 0 -29px 29px 0 rgba(0, 0, 0, 0.04), 0 -7px 16px 0 rgba(0, 0, 0, 0.05);
  top: auto;
  right: 0;
  bottom: 38px;
 }

 .cart-notification__close {
  padding: 11px;
 }

 .cart-notification__title {
  font-size: 16px;
 }

 .cart-item__favorite svg,
 .cart-item__remove svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
 }

}

.cart-loading section.cart {
    opacity: 0.75;
    pointer-events: none;
}

.tool-btn.cart {
    padding: 0;
    background: none;
}

section.cart:not(.has-checked) .cart__remove-selected {
    display: none;
}