.closed-text {
    display: block;
}
.closed-text.hidden {
    display: none !important;
}
.product-box{
    position: relative;
    padding: 10px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    transition: all .3s ease-in-out;
}
.product-stock{
    position: absolute;
    padding: 3px 15px;
    font-size: 12px;
    border: 1px solid;
    border-radius: 4px;
    z-index: 10;
}
.in-stock.product-stock{
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.out-of-stock.product-stock{
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.hidden-stock{
    display: none;
}
.product-box .product-image{
    position: relative;
    text-align: center;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 5px;
}
.product-box .product-image img{
    border-radius: 8px;
    height: 215px;
    object-fit: cover;
}
.product-box .product-content h3{
    font-size: 18px;
    line-height: 23px;
    margin-top: 5px;
    font-weight: 600;
}
.product-box .product-content .category-bange{
    font-size: 14px;
    font-weight: 500;    
    display: inline-block;
    margin-top: 16px;
    border-radius: 30px;
}

.product-box .product-content .descriptions{
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    color: var(--body-txt-color);
    font-size: 14px !important;
    font-weight: 400;
}

.product-price-box {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 10px;
}

.product-price-box .selling-price{
    font-size: 16px !important;
    color: #000;
    font-weight: 600;
}

.product-btns {
    position: absolute;
    top: 20px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
}

.cart-btn{
    background: #ffffff;
    display: flex;
    padding: 0;
    font-size: 14px;
    height: 40px;
    color: #000;
    width: 40px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    border: 0;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: all .3s ease-in-out;
}

.product-view-btn {
    background: #ffffff;
    display: flex;
    padding: 0;
    font-size: 14px;
    height: 40px;
    color: #000;
    width: 40px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    border: 0;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: all .3s ease-in-out;
}
.product-view-btn:hover{
    background: #111827;
    color: #ffffff;
}

.product-box .product-btns li {
    opacity: 0;
    visibility: hidden;
    transform: translate(20px);
    transition: all .3s ease-in-out;
}
.product-box:hover .product-btns li {
    opacity: 1;
    visibility: visible;
}
.product-box:hover .product-btns li:nth-child(1) {
    transform: translate(0);
}
.product-box:hover .product-btns li:nth-child(2) {
    transform: translate(0);
    transition-delay: .1s;
}

.net-price {
    text-decoration: line-through;
}
.product-details-popup{
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: fixed;
    background: #0000005c;
    top: 0;
    left: 0;
    z-index: 99;
}
.product-details-content{
    display: flex;
    flex-direction: column;
}
.product-details-content .header{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: -10px;
    top: -10px;
    background: #000000;
    width: 35px;
    height: 35px;
    cursor: pointer;
    border-radius: 50px;
}
.product-details-content .header button{
    color: #ffffff;
    opacity: 1;
    font-size: 18px;
    font-weight: 300;
    line-height: 18px;
}
.product-details-box {
    position: relative;
    background: #ffffff;
    width: 700px;
    padding: 30px;
    border-radius: 16px;
}
.product-details-content {
    display: flex;
    flex-direction: column;
}
.details-box {
    display: flex;
    gap: 16px;
}
.details-img-box img {
    width: 280px;
}
.popup-cart-btn{
    margin-top: 15px;
}
.details-content .price-box{
    display: flex;
    gap: 3px;
    align-items: center;
    margin-top: 15px;
}
.details-content .price-box #popup-price{
    font-size: 18px !important; 
    color: #000;
    font-weight: 600;
}
.details-content .price-box #popup-netprice{
    text-decoration: line-through;
}
.details-content #popup-name{
    font-size: 21px;
    font-weight: 600;
    color: #000;
    margin-top: 8px;
    margin-bottom: 15px;
}
.details-content .cart-btn{
    margin-top: 16px;
}
.product-setting-bar{
    padding: 30px 0;    
}

.product-navbar-right{
    display: flex;
    justify-content: end;
    gap: 50px;
}
.product-setting-buttons .view-cart{
    position: relative;
    margin-right: 15px;
    padding-right: 13px;
} 
.product-setting-buttons .view-cart span{
    position: absolute;
    top: -10px;
    right: -9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px !important;
    background: red;
    border-radius: 50px;
    height: 20px;
    width: 20px;
}
.view-cart-modal, .checkout-modal{
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: fixed;
    background: #0000005c;
    top: 0;
    left: 0;
    z-index: 99;
}
.view-cart-modal .cart-box, .checkout-box{
    position: relative;
    background: #ffffff;
    width: 700px;
    padding: 30px;
    border-radius: 16px;
}
.view-cart-modal .cart-box .close{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: -10px;
    top: -10px;
    background: #000000;
    width: 35px;
    height: 35px;
    cursor: pointer;
    border-radius: 50px;
    color: #ffffff;
    opacity: 1;
    font-size: 18px;
    font-weight: 300;
    line-height: 18px;
}
.category-tabs {
    margin-bottom: 35px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.category-tabs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.category-tabs li {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.category-tabs li .count {
    background: #000;
    display: inline-flex;
    align-items: center;
    color: #fff;
    justify-content: center;
    font-size: 12px !important;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 30px;
    margin-left: 5px;
}

.category-tabs li.active {
    color: #2563eb;
}

.category-tabs li.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #2563eb;
    border-radius: 2px;
}
.view-cart-modal .cart-box .cart-item{
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 16px;
    margin-bottom: 15px;
}
.view-cart-modal .cart-box .cart-item img{
    height: 95px;
    padding: 5px;
}
.view-cart-modal .cart-box .cart-item .cart-info{
    flex: 1;
}
.view-cart-modal .cart-box h3{
    font-size: 21px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 18px;
}
.view-cart-modal .cart-box .cart-item .cart-title{
    display: flex;
    justify-content: space-between;
}
.view-cart-modal .cart-box .cart-item h4{
    margin-top: 0;
    font-weight: 600;
    margin-bottom: 10px;
}
.qty-box {
    display: flex;
    align-items: center;
}
.qty-box span{
    font-size: 14px;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
}
.qty-box .qty-minus, .qty-box .qty-plus{
    font-size: 18px;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
}
.view-cart-modal .cart-box .cart-item .remove-item{
    background: #f9f9f9;
    border: 0;
    padding: 0;
    color: #dc2626;
}
.subtotal-box{
    text-align: right;
}
.subtotal-box h3{
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}
.checkout-container .checkout-title-h3{
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 35px;
}
.checkout-cart-box{
    padding: 30px;
}
.checkout-cart-box .chk-item:first-child {
    padding-top: 0;
}
.checkout-cart-box .chk-item{
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #d3d3d3;
}
.checkout-cart-box .chk-item img{
    height: 60px;
}
.checkout-cart-box .chk-item .cart-details span{
    display: block;
    margin-top: 6px;
}
.checkout-container h2.checkout-title-h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 500;
}
.checkout-cart-total{
    margin-top: 30px;
}
.checkout-cart-total h3{
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
}
.place-order-btn{
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 15px 0;
}
.cart-alert {
    position: fixed;
    top: 95px;
    right: 55px;
    height: 45px;
    background: #28a745;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    opacity: 0;
    transition: 0.3s;
    z-index: 99999;
}
.cart-alert.show {
    opacity: 1;
    bottom: 30px;
}
@media (max-width: 768px){
    .category-tabs ul{
        flex-wrap: wrap;
    }
    .product-box{
        margin-bottom: 30px;
    }
    .view-cart-modal .cart-box{
        margin: 0 15px;
    }
    .view-cart-modal .cart-box h3{
        font-size: 18px;
    }
    .view-cart-modal .cart-box .cart-item{
        padding: 10px 10px;
    }
    .view-cart-modal .cart-box .cart-item h4{
        font-size: 16px;
    }
    .product-details-box{
        margin: 0 15px;
    }
    .details-box{
        flex-direction: column;
    }
    .product-details-box{
        padding: 20px;
        text-align: center;
        margin: 0 15px;
    }
    .details-content .price-box{
        justify-content: center;
    }
    .thankyou-box img{
        width: 100%;
    }
}