body{
    background-color: #f5f5f5;
}
.product-container{
    padding: 0 5%;

}
.product-container div h3{
    font-size: 2.4rem;
    text-align: center;
   
}
.product-category-box{
   justify-content: flex-end;
}
.product-category-box .p-category{
   background-color: #e4e2e2;
   border-radius: 16px;
   padding: 4px 12px;
   color: #000;
   font-size: 0.875rem;
}
.p-category a{
    color: #3e4b5f !important;
    font-weight: 500;
}
.p-category a:hover{
    color: #7c8492 !important;
    font-weight: 500;
}
.product-grid{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}
.product-box{
    width: 23%;
    cursor: pointer;
    border-radius: 15px;
    background: linear-gradient(133.21deg, #F7F7F7 -2.44%, #F9F9F9 135.62%);
    box-shadow: -6px -6px 8px rgba(255, 255, 255, 0.8), -2px -1px 8px #FFFFFF,
        2px 2px 10px rgba(255, 255, 255, 0.25),
        -4px -4px 20px rgba(255, 255, 255, 0.8),
        1px 1px 5px rgba(185, 185, 185, 0.6), 4px 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    box-sizing: border-box;
   transition: all cubic-bezier(0.445, 0.05, 0.55, 0.95) 0.4s;
}
.product-grid .product-box:hover{
    /* transform: scale(1.03);  */
    box-shadow: -6px -6px 8px rgb(179 155 155 / 80%), -2px -1px 8px #8e8b8b, 2px 2px 10px rgb(145 135 135 / 25%), -4px -4px 20px rgba(255, 255, 255, 0.8), 1px 1px 5px rgb(219 204 204 / 60%), 4px 4px 15px rgb(255 255 255 / 10%);
}
.product-box .p-img{
    overflow: hidden;
    height: 250px;
}
.product-box .p-img img{
    object-fit: cover;
    width: 100%;
     /*height: -webkit-fill-available; */
    /*height: 250px;*/
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.product-box .p-content{
    padding: 10px ;
}
.p-content .p-title{
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}
.p-content .p-price .sel-price{
    font-size: 20px;
    font-weight: 600;
}
.p-content .p-price .mrp-price{
    margin-left: 5px;
    color: #6c6c6c;
    font-size: 1rem;
}
.p-content .p-price .dis-percent{
    margin-left: 11px;
    color: #006838;
    font-weight: 500;
    font-size: 0.875rem;
}
.p-content .add-cart-btn{
    margin-top: 0.6rem;
    padding: 7px 14px;
    border-radius: 8px;
    background-color: #006838;
    color: #fff;
    transition: all 0.4s ease-in;
    width: 100%;
    text-align: center;
    margin-bottom: 0.7rem;
    position: relative;
    border:0.7px solid #006838;
}
.p-content .add-to-cart::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #033e23;
    transition: left 0.4s ease-in-out;
}


.p-content .add-cart-btn:hover{
    color: #006838;
    background-color:transparent;
    border:0.7px solid #006838;
}
/* mobile view */
@media screen and (max-width:576px) {
    .product-grid{
        flex-direction: row;
    }
    .product-box{
        width: 47%;
    }
    .product-box .p-img{
        height: 130px;
    }
    .product-box .p-content{
        padding: 10px ;
    }
    .p-content .p-title{
        font-size: 16px;
    }
    .p-content .p-price .sel-price{
        font-size: 16px;
    }
    .p-content .p-price .mrp-price{
        font-size: 0.875rem;
    }
    .p-content .p-price .dis-percent{
        font-size: 0.78rem;
    }
    .p-content .add-cart-btn{
        font-size: 14px;
        margin-bottom: 0.1rem;
        padding: 0.35rem 12px;
    }
}
@media screen and (min-width:576px) and (max-width:767px) {
    .product-grid{
        flex-direction: row;
    }
    .product-box{
        width: 46%;
    }
    .product-category-box{
        justify-content: center;
     }
}
@media screen and (min-width:767px) and (max-width:1050px) {
    .product-grid{
        flex-direction: row;
    }
    .product-box{
        width: 31%;
       
    }
    .product-category-box{
        justify-content: center;
     }
}

/* Product Detail Page */
.p-detail-container{
    margin: 0 7%;
    justify-content: flex-start;
    gap: 25px;
    background: linear-gradient(133.21deg, #F7F7F7 -2.44%, #F9F9F9 135.62%);
    box-shadow: -6px -6px 8px rgba(255, 255, 255, 0.8), -2px -1px 8px #FFFFFF,
        2px 2px 10px rgba(255, 255, 255, 0.25),
        -4px -4px 20px rgba(255, 255, 255, 0.8),
        1px 1px 5px rgba(185, 185, 185, 0.6), 4px 4px 15px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
}
.p-dtl-brodcum{
    padding: 0 7%;
}
.p-dtl-brodcum a{
   color: #555557;
   text-transform: capitalize;
}

.left-product-img{
    width: 43%;
    display: flex;
    flex-direction: row-reverse;
}
.left-product-img .main-img{
    width: 100%;
    height: 350px;
    overflow: hidden;
    padding-top: 10px;
}
.left-product-img .main-img img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.left-product-img .add-img {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width:22%;
    height: 120px;
    padding: 10px;
    gap: 10px;
}
.left-product-img .add-img img{
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* .left-product-img .add-img img:first-of-type{
   border-bottom-left-radius: 8px;
} */
.left-product-img .add-img img:hover{
    border: 0.5px solid #006838;
    padding: 5px;
}
.right-product-detail{
    width: 48%;
}
.p-dt-title{
    text-transform: capitalize;
    font-size: 32px;
    padding-top: 0.4rem;
    color: #000;
}
.right-product-detail h4.p-category-name{
    font-size: 16px;
    font-weight: 600;
    color: #4a4949;
    text-transform: capitalize;
}
.right-product-detail .sp-text{
    margin-bottom: 0.4rem;
    font-size: 14px;
    font-weight: 500;
    color: #006838;
}
.p-dt-price .sel-dt-price{
    margin-bottom: 0.4rem;
    font-size: 30px;
    font-weight: 600;
    color: #000;
}
.p-dt-price .mrp-dt-price{
    font-size: 15px;
    font-weight: 400;
    color: #696767;
}
.p-dt-price .dis-dt-percent{
    font-size: 16px;
    font-weight: 500;
    background-color: #006838;
    margin-left: 1rem;
    color: #fff;
    padding: 0.18rem 0.5rem;
    border-radius: 15px;
    vertical-align: text-bottom;
}
.right-product-detail .p-desc{
    font-size: 15px;
    width: 70%;
    line-height: 22px;
    margin-top: 1rem;
}
.right-product-detail .p-dt-quantity{
    font-size: 16px;
   font-weight: 500;
   border: 0.4px solid #006838;
   width: fit-content;
   padding: 0.2rem 0.3rem;
}
.right-product-detail .dt-add-cart-btn{
    background-color: #006838;
    color: #fff;
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: -6px -6px 8px rgba(255, 255, 255, 0.8), -2px -1px 8px #FFFFFF,
    2px 2px 10px rgba(255, 255, 255, 0.25),
    -4px -4px 20px rgba(255, 255, 255, 0.8),
    1px 1px 5px rgba(185, 185, 185, 0.6), 4px 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out;
    margin-bottom: 1rem;
}
.right-product-detail .dt-add-cart-btn:hover{
    background-color: #000;
}
/* mobile view of product detail page*/
@media screen and (max-width:576px) {

    .p-detail-container{
        justify-content:center;
        flex-direction: column;
        margin: 0 5%;
    }
    .p-dtl-brodcum{
        padding: 0 5%;
    }
    .p-dtl-brodcum a{
        font-size: 13px;
    }

    .left-product-img{
        width: 100%;
        flex-direction: column;
        padding-bottom: 0;
    }
    .left-product-img .main-img{
        height: 240px;
        padding: 10px;
        padding-bottom: 0;
    }
    .left-product-img .main-img img{
        border-top-left-radius: 0;
    }
    .left-product-img .add-img {
        height: 75px;
        flex-direction: row;
        justify-content: space-between;
    }
    .left-product-img .add-img img{
        width: 100%;
    }
    .left-product-img .add-img img:first-of-type{
        border-bottom-left-radius: 0;
    }

    
    .right-product-detail{
        width: 100%;
        padding-left: 10px;
    }
    .p-dt-title{
        font-size: 20px;
        padding-top: 0;
    }
    .right-product-detail h4.p-category-name{
        font-size: 14px;
    }
    .right-product-detail .sp-text{
        margin-bottom: 0;
        font-size: 12px;
    }
    .p-dt-price .sel-dt-price{
        font-size: 24px;
    }
    .p-dt-price .mrp-dt-price{
        font-size: 14px;
    }
    .p-dt-price .dis-dt-percent{
        font-size: 14px;
    }
    .right-product-detail .p-desc{
        font-size: 14px;
        width: 92%;
    }
    .right-product-detail .p-dt-quantity{
        font-size: 14px;
         padding: 0.2rem 0.3rem;
    }
    .right-product-detail .dt-add-cart-btn{
        font-size: 14px;
        margin-bottom: 1rem;
    }   
}
/* Tab view of product detail  */
@media  (min-width:576px) and (max-width:767px) {

    .left-product-img{
        width: 100%;
    }
    .left-product-img .main-img{
        height: 250px;
    }

    .left-product-img .add-img {
        margin-top: 0.5rem;
        justify-content: space-between;
    }
    .left-product-img .add-img img{
        width: 48%;
    }
    .left-product-img .add-img img:first-of-type{
       border-radius: 0;
    }

    .left-product-img .add-img{
        height: 100px;
    }
    .right-product-detail{
        width: 100%;
        padding-left: 10px;
    }
    .p-dt-title{
        font-size: 22px;
    }
    .right-product-detail h4.p-category-name{
        font-size: 14px;
    }
    .right-product-detail .sp-text{
        margin-bottom: 0;
        font-size: 12px;
    }
    .p-dt-price .sel-dt-price{
        font-size: 24px;
    }
    .p-dt-price .mrp-dt-price{
        font-size: 14px;
    }
    .p-dt-price .dis-dt-percent{
        font-size: 14px;
    }
    .right-product-detail .p-desc{
        font-size: 14px;
        width: 98%;
    }
    .right-product-detail .p-dt-quantity{
        font-size: 14px;
         padding: 0.2rem 0.3rem;
    }
    .right-product-detail .dt-add-cart-btn{
        font-size: 14px;
        margin-bottom: 1rem;
    }   
}
/* Cart page css */
.offcanvas{
    background-color:#e9f4e8 !important;
}
.offcanvas-header{
    box-shadow: 8px -4px 6px 4px #696969;
}
.offcanvas-body {
 padding: 0;
}
.cart-product{
    flex-direction: row;
    gap: 10px;
    background-color: #fff;
    padding-right: 5px;
   margin: 1rem 1rem;
   border-radius: 12px;
   box-shadow: 2px 2px 2px #6969;
   overflow:hidden;
}
.cart-product .cart-p-img{
    width: 35%;
    overflow: hidden;
}
.cart-product .cart-p-img img{
    width:100%;
    height: 100%;
}
.cart-product .cart-p-content{
    width: 62%;
}
.cart-p-content p:first-of-type{
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    width:87%;
    padding-top:8px;
}
.cart-p-content{
    position: relative;
    padding-top: 3px;
}
.cart-p-content .cart-inc-dec{
    border: 0.4px solid #000;
    width: 70px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding:0 5px;
    border-radius: 4px;
}
.cart-inc-dec .cart-dec-btn{
 
}
.cart-inc-dec span{
 font-size: 1rem;
 padding-top: 3%;
 font-weight: 500;
}
.cart-p-content  .item-delete{
    position: absolute;
    top: 7px;
    right: 5px;
    cursor: pointer;
}
.total-price-div{
    position: fixed;
    bottom: 0;
    background-color: #fbfbfb;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
    width: -webkit-fill-available;
  align-items: center;
      box-shadow: 3px 4px 10px 0px #e2e2e2;
}
.total-price-div .subtotal{
    color: #000;
    font-weight: 700;
}
.checkout-btn {
    padding: 7px 14px;
    border-radius: 8px;
    background-color: #006838;
    color: #fff;
    transition: all 0.4s;
    width: 45%;
    text-align: center;
     border:1px solid #006838;
}
.checkout-btn:hover{
    background-color:transparent;
    color:#006838;
    border:1px solid #006838;
}
.flow-info{
    display: flex;
    display: inline-flex;
    margin-left: 30px;
}
.flow-info p{
    font-size: 14px;
    line-height: 32px;
    margin-bottom: 0;
    padding-right: 6px;
}
.flow-info span{
  padding-right: 6px;
  font-weight: 400;
}

/* checkout model css */
/* .ck-email-form input:focus{
    box-shadow: none;
    outline: none;
} */
.ck-email-form .email-box{
    min-height: 250px;
}
.ck-p-content{
    font-size: 14px;
    line-height: 18px;
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 420px!important;
        margin: 1.75rem auto;
    }
}

/*css for coupon*/
.coupon-box{
    background-color:#fff;
    display:flex;
    flex-direction:row;
    justify-content:space-between;    
    position:fixed;
    bottom:87px;
   width: -webkit-fill-available;
    padding:11px;
    border:0.5px solid #ded5d5;
    margin:0 12px;
    border-radius:10px;
    cursor:pointer;
}


.cart-coupon_offer-input{
    margin:0 15px;
    width: 92%;
    border: 1px solid #dad2d2;
    border-radius: 12px;
    padding: 10px;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    background:#fff;
}
.cart-coupon_offer-input_field{
    width:100%;
    border:none;
}
.cart-coupon_offer-input_submit{
    background-color:#006838;
    padding:0px 14px;
    color:#fff;
    border-radius:12px;
    height: 27px;
    font-size:14px;
}
.coupun-items{
    margin-bottom:20px!important;
   border: 1px solid #006838;
   
}

