/* layout */
.container-cart{
    max-width: 1700px !important;
    padding: 0 !important;
}

.page-content__body{
    margin-top: 30px;
}

.cart-wrapper{
    display: grid;
    grid-template-columns: minmax(0, 1100px) 500px;
    column-gap: 60px;
    align-items: start;
}

.cart-form__title{
    margin-bottom: 20px;
}

.woocommerce-message{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    margin-block: 20px;
}

@media screen and (max-width: 1025px) {
    .cart-form__title{
        font-size: 22px !important;
        line-height: 120% !important;
        text-align: center;
    }
}

@media screen and (max-width: 767px) {
    .cart-form__title{
        text-align: start !important;
        font-size: 22px !important;
    }
}








/* products wrapper */
.woocommerce-craft-form-header{
    border-radius: 10px;
    background: var(--white-color);
    box-shadow: 0px 0px 15px 0px rgba(18, 18, 115, 0.10);
    display: grid;
    align-items: center;
    grid-template-columns: 130px 1fr 210px;
    column-gap: 60px;
    padding: 20px 30px;
    margin-bottom: 20px;
}

.woocommerce-cart-form__products-wrapper{
    border-radius: 10px;
    background: #FAFAFC;
    padding: 20px 20px 10px 20px;
}

.cart__title-mobile{
    display: none;
    margin-bottom: 30px;
    font-size: 25px;
    line-height: 130%;
}

@media screen and (max-width: 1600px) {
    .woocommerce-craft-form-header{
        grid-template-columns: 80px 1fr 210px;
    }
}

@media screen and (max-width: 1350px) {
    .woocommerce-craft-form-header{
        grid-template-columns: 30px 1fr 210px;
    }
}

@media screen and (max-width: 1200px) {
    .woocommerce-craft-form-header{
        display: none;
    }

    .woocommerce-cart-form__products-wrapper .cart__title-mobile{
        display: block;
    }
}

@media screen and (max-width: 1025px) {
    .woocommerce-cart-form__products-wrapper{
        padding: 20px 10px;
    }

    .woocommerce-craft-form-header{
        display: grid;
        grid-template-columns: 70px 1fr 200px;
    }

    .woocommerce-craft-form-header__item{
        font-size: 20px !important;
        line-height: 150% !important;
    }

    .woocommerce-cart-form__products-wrapper .cart__title-mobile{
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .woocommerce-cart-form__products-wrapper{
        padding: 0;
        margin-inline: -15px;
    }

    .woocommerce-craft-form-header{
        display: none;
    }
    
    .cart__title-mobile{
        display: block;
        margin-bottom: 0;
    }

    .cart__title-mobile{
        display: block;
    }

    .woocommerce-cart-form__products-wrapper .cart__title-mobile{
        display: none;
    }
}





/* cart item */
.cart-product{
    display: grid;
    grid-template-columns: 130px 1fr 215px;
    padding: 20px 30px;
    align-items: center;
    column-gap: 60px;
}

.cart-product:nth-child(2n + 1){
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.80);
}

.cart-product__image img{
    width: 130px;
    height: 110px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-product__main{
    display: flex;
    flex-direction: column;
}

.variation{
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 10px !important;
}

.variation-item{
    list-style: none !important;
    margin-block: 0 !important;
}

.cart-product__brand{
    margin-bottom: 10px;
}

.cart-product__brand img{
    max-width: 130px;
    height: 31.2px;
    object-fit: contain;
}

.cart-product__title{
    font-size: 22px;
}

.cart-product__remove{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background: var(--white-color);
    box-shadow: 0px 0px 15px 0px rgba(18, 18, 115, 0.10);
}

.cart-product__quantity .quantity{
    display: flex;
    flex-direction: row-reverse;
}

.cart-product__quantity .quantity button{
    width: 40px;
    height: 40px;
    border-radius: 2px;
    background: var(--white-color);
    box-shadow: 0px 0px 15px 0px rgba(18, 18, 115, 0.10);
}

.cart-product__quantity .quantity .qty{
    font-size: 22px;
    font-weight: 600;
    pointer-events: none;
}

.cart-product__quantity .quantity button:after,
.cart-product__quantity .quantity button:before{
    width: 22px;
    height: 2.5px;
    border-radius: 2.5px;
}

.cart-product__other{
    display: flex;
    align-items: center;
    column-gap: 30px;
}

.footer{
    margin-top: 60px;
}


@media screen and (max-width: 1600px) {
    .cart-wrapper{
        column-gap: 45px;
    }

    .cart-product{
        grid-template-columns: 100px 1fr 215px;
        column-gap: 45px;
        padding: 20px;
    }

    .cart-product__title{
        font-size: 20px;
    }

    .cart-product__image img{
        width: 100px;
        height: 90px;
    }

    .cart-product__other{
        column-gap: 20px;
    }
}

@media screen and (max-width: 1500px) {
    .cart-wrapper{
        column-gap: 30px;
    }

    .cart-product{
        column-gap: 30px;
    }
}

@media screen and (max-width: 1400px) {
    .cart-wrapper{
        grid-template-columns: minmax(0, 1100px) 450px;;
    }
}

@media screen and (max-width: 1350px) {
    .cart-product{
        grid-template-columns: 80px 1fr 180px;
        column-gap: 20px;
    }

    .cart-product__image img{
        width: 80px;
        height: 80px;
    }

    .cart-product__quantity .quantity button,
    .cart-product__remove{
        width: 30px;
        height: 30px;
    }

    .cart-product__remove svg{
        width: 24px;
        height: 24px;
    }

    .cart-product__quantity .quantity button:after, .cart-product__quantity .quantity button:before{
        width: 18.5px;
    }
}

@media screen and (max-width: 1300px) {
    .cart-product{
        grid-template-columns: 80px 1fr 160px;
    }

    .cart-product__title{
        font-size: 18px;
        line-height: 20px;
    }

    .cart-product__quantity .quantity{
        column-gap: 7.5px;
    }
}

@media screen and (max-width: 1200px) {
    .cart-product{
        row-gap: 15px;
        column-gap: 15px;
        grid-template-columns: 60px 1fr 180px;
    }

    .cart-product__image{
        grid-row: 1/3;
    }

    .cart-product__image img{
        width: 60px;
        height: 60px;
    }

    .cart-product__main{
        grid-column: 2/4;
    }

    .cart-product__title{
        font-size: 16px;
        line-height: 20px;
    }

    .cart-product__other{
        grid-row: 2;
        grid-column: 2/4;
        justify-content: space-between;
    }
}

@media screen and (max-width: 1025px) {
    .cart-wrapper{
        grid-template-columns: 100%;
        row-gap: 30px;
    }

    .cart-product{
        grid-template-columns: 130px 1fr 215px;
    }

    .cart-product__image{
        grid-row: inherit;
    }

    .cart-product__image img{
        width: 130px;
        height: 110px;
    }

    .cart-product__main{
        grid-column: inherit;
    }

    .cart-product__title{
        font-size: 20px !important;
        line-height: 120%;
    }

    .cart-product__other{
        grid-row: auto;
        grid-column: auto;
        column-gap: 35px;
    }

    .cart-product__quantity .quantity button, .cart-product__remove{
        width: 40px;
        height: 40px;
    }

    .cart-product__quantity .quantity button:after,
    .cart-product__quantity .quantity button:before{
        width: 22px;
    }

    .cart-product__remove svg{
        width: 30px;
        height: 30px;
    }

    .footer{
        margin-top: 40px;
    }
}

@media screen and (max-width: 767px) {
    .cart-product{
        padding: 20px 10px;
        grid-template-columns: 100px 1fr;
        column-gap: 10px;
    }

    .cart-product__image img{
        width: 100px;
        height: 85px;
    }

    .cart-product__main{
        grid-column: 2/4;
    }

    .qty{
        max-width: 45px !important;
    }

    .cart-product__brand img{
        width: 100px;
        height: 25px;
    }

    .cart-product__title{
        font-size: 18px !important;
        line-height: 120% !important;
    }

    .cart-product__other{
        grid-row: 2;
        grid-column: 2/4;
        justify-content: space-between;
    }

    .footer{
        margin-top: 30px;
    }
}

@media screen and (max-width: 370px){
    .cart-product{
        grid-template-columns: 75px 1fr;
    }

    .cart-product__image img{
        width: 75px;
        height: 75px;
    }
}

