body{background-color: #fff;}

/* ===== EMPTY CART STYLES ===== */
.empty-cart{
    width: 100%;
    padding: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 5px;
    border: 1px dashed #ddd;
}
.empty-cart .icon{
    width: 50px;
    height: 50px;
    padding: 12px;
    box-sizing: border-box;
    background-color: #f6f7f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}
.empty-cart .icon i{
    display: flex;
    align-items: center;
    font-size: 24px;
    color: var(--color-success);
}
.empty-cart .title{
    color: #000;
    font-size: 22px;
    font-weight: 700;
    margin-top: 15px;
}
.empty-cart .text{
    color: #708086;
    margin-top: 5px;
}
.empty-cart a{
    padding: 12px 24px;
    color: #fff;
    background-color: var(--color-success);
    border-radius: 5px;
    margin-top: 25px;
}
.empty-cart a:hover{opacity: .85;}
@media screen and (max-width: 480px){
    .empty-cart{padding: 24px;}
    .empty-cart .title{font-size: 20px;}
    .empty-cart .text{font-size: 14px;text-align: left;}
}
/* ===== END EMPTY CART STYLES ===== */





/* ===== LAYOUTS STYLES ===== */
.grid-col-2{
    box-shadow: var(--box-shadow);
    border-radius: 10px;
}
.grid-col-2 .group{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 35px 40px;
    box-sizing: border-box;
}
.grid-col-2 .page-header{
    display: flex;
    gap: 20px;
    align-items: center;
}
.grid-col-2 .form-number{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 3px solid var(--color-success);
    font-size: 18px;
    color: var(--color-success);
}
@media screen and (max-width: 767px){
    .grid-col-2{grid-template-columns: 1fr !important;}
    .grid-col-2 .group{padding: 35px 10px;}
}
/* ===== END LAYOUTS STYLES ===== */






/* ===== CART STYLES ===== */
#cart{
    background-color: #fff;
}
#cart .cart-list{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    border-radius: 8px;
    background-color: rgb(252, 252, 252);
    padding: 12px 20px;
    box-sizing: border-box;
    border: 1px dashed var(--color-border);
}


#cart .item{
    width: 100%;
    display: grid;
    grid-template-columns: 80px 1fr 30px;
    gap: 12px;
    justify-content: space-between;
    padding-bottom: 10px;
    box-sizing: border-box;
}
#cart .item .image{
    width: 80px;
    height: 80px;
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background-color: #fff;
}
#cart .item .data{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
#cart .item .title{
    color: var(--color-black);
    max-width: 100%;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-weight: 600;
}
#cart .item .sub-title{
    display: flex;
    align-items: center;
    color: var(--color-black);
    font-size: 14px;
}
#cart .item .sub-title i{
    font-size: 12px;
    color: var(--color-text-gray);
}
#cart .remove{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 100px;
    color: #999;
    border: 1px solid #999;
    cursor: pointer;
}
#cart .remove:hover{border-color: var(--color-black); color: var(--color-black)}



@media screen and (max-width: 767px){
    .item{
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .item .image{
        width: 60px;
        height: 60px;
    }
    .item .title{width: 100%;}
    .item .quantity{width: 120px;}
}

.continue{
    color: var(--color-blue-link);
    text-decoration: none;
    font-size: 14px;
    border-radius: 3px;
}
.continue:hover{text-decoration: underline;}

.promo-code{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.promo-code label{
    font-weight: 600;
}
.promo-code .wrapper{
    display: flex;
    position: relative;
}
.promo-code .wrapper input{
    width: 100%;
    flex: 1;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid var(--color-border);
    border-radius: 4px;
}
.promo-code .wrapper button{
    padding: 8px;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    background-color: #e0e0e0;
    cursor: pointer;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
}
.promo-code .wrapper button:hover{opacity: .85;}
.promo-code .error{
    width: 100%;
    color: var(--color-error);
    text-align: center;
    font-size: 14px;
}
/* ===== CART STYLES ===== */





/* ===== CHECKOUT STYLES ===== */
#checkout{
    background-color: #f9fbfc;
}

#checkout-form{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-list{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.check-list .list{
    margin: 0;
    padding: 0;
    list-style: none;
}
.check-list .list li{
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-secondary);
}
.check-list .list li.total-price{
    margin-top: 15px;
    font-size: 18px;
    color: var(--color-black);
}
.check-list .do-order{
    padding: 15px 22px;
    box-sizing: border-box;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 4px;
    background: var(--color-success);
    cursor: pointer;
    text-decoration: none;
    letter-spacing: .2px;
}
.check-list .do-order:hover{opacity: .85;}
/* ===== END CHECKOUT STYLES ===== */