.pop-up{
    position: fixed;
    top:0;
    left: 0;
    height:100%;
    width: 100%;
    overflow: hidden;
    display: none;
    backdrop-filter: blur(5px) brightness(20%);
    z-index: calc(9999*99);
    opacity: 0;
    transition: .5s ease;
}

.p-container{
    padding: 20px;
    width: 40%;
    height: auto;
    background-color: white;
    align-self: center;
    margin:auto;
    border-radius: 5px;
}

.p-container .order-msg{
    font-size: small;
    text-align: center;
}

.p-container .title{
    margin: auto;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.title .main-icon{
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:#f89406 ;
    color: white;
    padding: 20px;
    border-radius: 50%;
}

.title .main-icon .load{
    position: absolute;
    top: 0;
    width: 102%;
    height: 102%;
    border: 3.5px solid green;
    border-radius: 50%;
    border-right:2px solid transparent;
    transition: .5s ease;
    animation: spin 2s linear infinite;
    display: none;
}

@keyframes spin {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}


.p-container #error-msg{
    color: red;
}

.p-container .pay-methods{
    display: flex;
    flex-direction: column;
    gap:10px;
}    

.p-container .pay-methods .method{
    display: flex;
    margin-bottom: 10px;
    cursor: pointer;
}

.p-container .pay-methods .method .icon{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.p-container .pay-methods .method .icon i{
    transition: .2s ease;
}

.p-container .pay-methods .method small{
    color: #828282;
}
#next-checkout{
    width: 100%;
    background: #f89406;
    padding: 3px;
    border-radius: 5px;
    border: 2px solid #f89406;
    color: white;
    font-weight: bold;
}

#next-checkout i{    
    margin-left: 8px;
}

.section{
    display: none;
}
.active{
    display: block;
}

.p-container #sec-2 input,
.p-container #sec-3 input{
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 1px solid #f89406;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

.p-container #sec-2 p:first-child{
    font-size: 14px;
    text-align: center;
}
.p-container #sec-4 {
    text-align: center;
}

.p-container #sec-4 .fail-options{
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgb(149, 148, 148);
    font-weight: bold;
    transition: .5s ease;
    opacity: 0;
}

.fail-options div{
    cursor: pointer;
}

.error-msg{
    color: red;
}

.success-msg{
    color: green;
}

.delivery{
    display: none;
}

.mobile-cart{
    flex-direction: column;
    gap: 30px;
}
.mobile-cart-footer{
    display: flex;
    gap: 3%;
}

.mobile-cart-footer .whatsapp{
    text-decoration: none;
    width: 20%;
    color: white;
    display: grid;
    place-items: center;
    background-color: green;
    font-weight: bolder;
    border-radius: 5px;
    font-size: 30px;
}

.mobile-cart-footer .check-out{
    text-align: center;
    text-decoration: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    padding: 10px;
    width: 77%;
    font-weight: 600;
    color: white;
    border-radius: 5px;
    background-color: #f89406;
}
.cart-item .prod-main{
    display: flex;
    gap:40px
}
.cart-item .product-img {
    position: relative;
    max-width: 20%;
}

.discount-percentage{
    position: absolute;
    background: #fbe0ae;
    font-size: 12px;
    right: -31px;
    padding: 4px 6px;
    color: orange;
    font-weight: bold;
    border-radius: 5px;
}

.cart-item .product-details{
    position: relative;
    width: 80%;
}

.cart-item .product-details .product-name .gray{
    color: grey;
}

.counter{
    display: flex;
    align-items: center;
    gap: 7px;
}
.counter small{
    margin-bottom: 3px;
}
.counter .red{ 
    color: rgb(201, 23, 23);
}

.cart-item .product-details .product-name p {
    margin: 0;
    font-weight: bold;
    max-width: 80%;
    font-size: 14px;
}


.cart-item .product-footer .remove-item{
    display: flex;
    place-items: center;
    gap:10px;
    font-weight: bold;
    width: 20%;
    color: rgba(255, 157, 0, 0.649);
    cursor: pointer;
}

.cart-item .product-footer .calculations{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
}

.cart-item .product-footer .calculations .price{
    font-weight: bold;
    width: 69%;
    text-align: right;
}
.cart-item .product-footer .calculations .calculator{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* width: 26%; */
    width: 80%;
}

.ic-bg{
    padding: 4px 10px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    color: white;
    background-color: #f89406;
    display: grid;
    place-items: center;
    transition: .5s ease;
    cursor: pointer;
}

.ic-bg:hover{
    opacity: 80%;
}
.ic-bg p{
    margin: 0;
}
.prev_price{
    color: gray;
    text-decoration: line-through;
}
.product-footer{
    display: flex;
    width: 100%;
    gap: 40px;
    padding: 20px;
}
@media only screen and (max-width:814px) {
    .p-container{
        width: 60%;
    }
}

@media only screen and (max-width:500px) {
    .p-container{
        width: 80%;
    }
}

@media only screen and (max-width:500px) {
    .table{
    }
    .table-btns{
    }
    .mobile-cart{
        
    }

    .cart-item {
    }

   
    
}
