.total-cart-wrapper{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    transition: all var(--transition-time) ease;
}
.total-cart-wrapper.open{
    z-index: 10;
     opacity: 1;
     visibility: visible;
}
.total-cart-content{
    max-width: 50%;
    margin-left: auto;
    background: var(--white);
    height: 100%;
    padding: 0;
    overflow: auto;
    transform: translateX(100%);
    transition: all var(--transition-time) ease;
}
.total-cart-wrapper.open .total-cart-content{
     transform: translateX(0);
}
.total-cart-close{
    position: absolute;
    right: 40px;
    top: 20px;
    cursor: pointer;
}
.total-cart-close svg circle{
    transition: all var(--transition-time) ease;
}
.total-cart-close:hover svg  circle{
    stroke: var(--black)
}
.total-cart-title{
    font-weight: 600;
    font-size: 35px;
    line-height: 103%;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 40px;
}
.total-cart-info{
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.total-cart-info-item{
    font-weight: 400;
    font-size: 14px;
    line-height: 103%;
    letter-spacing: -0.01em;
    color: var(--black);
}
.total-cart-info-order__clear-basket{
    color: var(--color-text-second);
    background: transparent;
    border: none;
    margin-left: auto;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-time) ease;
    padding: 0;
    padding-bottom: 2px;
}
.total-cart-info-order__clear-basket:hover{
    border-color: var(--color-text-second);
}
.total-cart-content-container{
    padding: 40px 90px 40px 40px;
}
.total-cart-products{
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
.total-cart-product{
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--stroke-white-bg);;
}
.total-cart-product:first-child{
    border-top: 1px solid var(--stroke-white-bg);
}
.total-cart-product__info{
    display: flex;
    flex-direction: column;
}
.total-cart-product__image img{
    height: 100%;
}
.total-cart-product__info-title{
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--black);
    margin-bottom: 15px;
}
.total-cart-product__info-properies-list{
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.total-cart-product__info-properies-list__item-name{
    font-weight: 400;
    font-size: 15px;
    color: var(--color-text-second);
}
.total-cart-product__info-properies-list__item-value{
    color: var(--black);
    font-weight: 400;
    font-size: 15px;
}
.total-cart-product-buttons{
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}
.total-cart-product-count{
    font-weight: 400;
    font-size: 15px;
    text-align: center;
    color: var(--black);
}
.total-cart-product-button{
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-bg);
    border: none;
    padding: 0;
}
.total-cart-product__price{
    margin-left: auto;
    align-self: flex-end;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.01em;
    text-align: right;
    color: var(--black);
    flex: 1 0 auto;
}
.total-cart-product--disabled{
    opacity: 0.7;
}
.total-cart-product-end{
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.total-cart-product-end span{
    font-weight: 500;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: var(--black);
}
.total-cart-product__price--end{
    font-weight: 500;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: var(--black);
}
.total-cart-promocod-title{
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 10px;
}
.total-cart-promocod-form{
    display: flex;
    align-items: center;
    gap: 10px 20px;
}
.total-cart-promocod-form input{
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--black);
    border: 1px solid var(--stroke-white-bg);
    padding: 20px 25px;  
    transition: all var(--transition-time) ease;
}
.total-cart-promocod-form input:focus{
    outline: none;
    border-color: var(--black);
}
.total-cart-promocod-form input::placeholder{
 color: var(--color-text-second);
}
.total-cart-promocod-form button{
    min-width: 217px;
}
.total-cart-total-block{
    background: var(--gray-bg);
}
.total-cart-total-block-info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}
.total-cart-total-block-title{
    font-weight: 500;
    font-size: 17px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--black);
}
.total-cart-total-block-price{
    font-weight: 600;
    font-size: 26px;
    letter-spacing: -0.01em;
    text-align: right;
    color: var(--black);
}
.total-cart-total-block-submit{
    width: 100%;
    max-width: 100%;
    cursor: pointer;
}
.total-cart-product-button .clear,.total-cart-product-button .remove{
    display:none;
}

.total-cart-product-button--clear .clear{
    display:block;
}
.total-cart-product-button--remove .remove{
    display: block;
}
@media(max-width:1399px){
    .total-cart-content-container{
        padding: 40px 70px 40px 40px;
    }
    
}
@media(max-width:1199px){
    .total-cart-content{
        max-width: 80%;
    }
}
@media(max-width:767px){
    .total-cart-content{
        max-width: 100%;
    }
    .total-cart-product__price{
        text-align: left;
    }
}

@media(max-width:575px){
    .total-cart-promocod-form input{
        font-size: 14px;
    }
}
@media(max-width:360px){
    .total-cart-promocod-form input{
        font-size: 14px;
    }
}