/*  ==========  #INFO  ==========  */

/* Ipad, laptop Devices < 1024px */
/* Tablet Devices < 767px */
/* Mobile Devices < 480px */
/* MINI Devices < 480px */

/*  ==========  END #INFO  ==========  */




/* ========== EMPTY CART STYLES ========== */
#empty-cart .content-medium{padding: 50px 0;}

#empty-cart .icon{
    width: 120px;
    height: 120px;
    padding: 12px;
    box-sizing: border-box;
    background-image: url('../assets/icons/empty-cart-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 100px;
}
#empty-cart .title{
    text-align: center;
    color: var(--color-black);
    font-size: 22px;
    font-weight: 700;
    margin-top: 15px;
}
#empty-cart .text{
    text-align: center;
    color: var(--color-text-secondary);
    margin-top: 5px;
}
#empty-cart .button{font-weight: 600;}
@media screen and (max-width: 767px){
    #empty-cart .title{font-size: 20px;}
    #empty-cart .text{font-size: 14px;}
}
/* ========== END EMPTY CART STYLES ========== */





/* ========== CART STYLES ========== */
#cart .cart-actions{
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-6);
}
#cart .cart-actions .item{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
#cart .cart-actions .clear-cart{
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
}
#cart .cart-actions .clear-cart:hover,
#cart .cart-actions .clear-cart:hover i{color: var(--color-main);}

#cart .cart-items{
    flex-direction: column;
    align-items: start;
    gap: 10px;
}
#cart .cart-item-skeleton-loading{
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    height: 90px;
    padding: 12px 24px;
    box-sizing: border-box;
    border: 1px solid var(--color-border-6);
    border-radius: 12px;
    margin-top: 12px;
}
#cart .cart-item-skeleton-loading .image{
    width: 45px;
    height: 45px;
    border-radius: 50%;
}
#cart .cart-item-skeleton-loading .details{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 8px;
    width: 210px;
    height: 100%;
}
#cart .cart-item{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-6);
    position: relative;
}
#cart .cart-item .info{
    flex: 1;
    max-width: 380px;
    display: flex;
    align-items: center;
    gap: 24px;
}
#cart .cart-item .image{
    width: 90px;
    height: 90px;
    object-fit: contain;
}
#cart .cart-item .details{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
}
#cart .cart-item  .code,
#cart .cart-item  .company{
    color: var(--color-text-secondary) !important;
}
#cart .cart-item .title{
    font-size: 16px;
    color: #131313;
    font-weight: 500;
    margin-bottom: 5px;
    
    color: #131313;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
#cart .cart-item .actions{
    max-width: 280px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}
#cart .cart-item .quantity-cart{width: 140px;}
#cart .cart-item .price{
    width: 80px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
}
#cart .cart-item .close{
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #f6f7f8;
    cursor: pointer;
}
#cart .cart-item .close:hover i{color: var(--color-light-red);}

@media screen and (max-width: 1024px) {
    #cart .cart-item {flex-direction: column;}
    #cart .cart-item .info{
        padding-right: 50px;
        box-sizing: border-box;
        max-width: unset;
        width: 100%;
    }
    #cart .cart-item .actions{
        max-width: unset;
        width: 100%;
        justify-content: space-between;
    }
    #cart .cart-item .close{
        position: absolute;
        top: 5px;
        right: 5px;
    }
}
/* ========== END CART STYLES ========== */





/* ========== SIDEBAR STYLES ========== */
#cart .promo-button{
    width: 100%;
    padding: 18px 32px;
    margin-top: 20px;
    border-radius: 12px;
    background-color: var(--color-gray-bg);
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-secondary);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    border: none;
}
#cart .promo-button:hover{opacity: .85;}


#cart .advantages .item{
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    height: 25px;
    font-size: 14px;
}


#cart .check-list{margin-top: 25px;}
#cart .check-list li{
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding-bottom: 12px;
    font-size: 14px;
}
#cart .check-list li span{color: var(--color-text-secondary);}
#cart .check-list li span:last-child{color: var(--color-black);}
#cart .check-list li .sum{
    font-size: 16px;
    font-weight: 500;
    color: var(--color-black);
}
#cart .layout-default-bar .button{
    width: 100%;
    margin-top: 12px;
}
/* ========== END SIDEBAR STYLES ========== */