.product-popup {
    width: 100%;
    max-height: 60vh;
    background: #fff;
    z-index: 10000;
    border-radius: 20px 20px 0px 0px;
    padding: 20px;
    position: fixed;
    bottom: -100%;
    opacity: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    overflow-y: scroll;
    transition: all .4s ease-in-out;
}

.product-popup.active {
    opacity: 1;
    bottom: 0;
}

.pp-header h3 {
    font-size: 17px;
    font-weight: 700;
}

.product-varient-grid {
    width: 100%;
    margin-top: var(--mt);
}

.varient-card {
    background: var(--bg-clr);
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.vc-img-box {
    position: relative;
    width: 50px;
    min-width: 50px;
    height: 50px;
}

.vc-img-box img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.vc-offer {
    position: absolute;
    top: 0;
    left: -5px;
    padding: 1px 5px;
    border-radius: 100vw;
    border: 1px solid #fff;
    /* background: linear-gradient(180deg, #FFB800 0%, #FFDD85 100%); */
    background: var(--main-clr);
  
}

.vc-offer p {
    font-size: 6px;
    font-weight: 400;
    color: var(--txt-clr);
}

.vc-btn{
    background: var(--main-clr);
    padding: 3px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 72px;
    color: var(--txt-clr);
    border-radius: 5px;
}
.grocery .vc-btn{
    color: var(--txt-clr);
}
.vc-btn i{
    font-size: 14px;
    line-height: 16px;
}
.vc-btn p{
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
}
.vc-btn button {
    text-wrap: nowrap;
    font-size: 11px;
    line-height: 16px;
    font-weight: 500;
    background: transparent;
    border-radius: 5px;
    border: none;
    outline: none;
    color: var(--txt-clr);
}
.vc-btn-section{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
    line-height: 16px;
    font-weight: 500;
    color: var(--txt-clr);
    display: none;
}

.grocery .vc-btn button{
    color: var(--txt-clr);
}

.vc-qty h3 {
    font-size: 11px;
    font-weight: 700;
}

.vc-info p {
    font-size: 10px;
    width: 100%;
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
}

.vc-info h3 {
    font-size: 11px;
    font-weight: 700;
}

.vc-info span {
    font-size: 8px;
    font-weight: 400;
    color: #666565;
}

.confirm-btn button {
    width: 100%;
    text-wrap: nowrap;
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    border-radius: 100vw;
    border: none;
    outline: none;
    background: var(--main-clr);
    color: var(--txt-clr);
}

.grocery .confirm-btn button{
    color: var(--txt-clr);
}



/* ============== filter-popup =================== */




.filter-popup {
    width: 100%;
    background: #fff;
    z-index: 10000;
    border-radius: 20px 20px 0px 0px;
    padding: 20px 0px 0px 0px;
    position: fixed;
    bottom: -100%;
    opacity: 0;
    left: 0;
    right: 0;
    transition: all .4s ease-in-out;
}

.filter-popup.active {
    opacity: 1;
    bottom: 0;
}

.fp-header {
    padding: 10px 20px;
}

.fp-header h3 {
    font-size: 17px;
    font-weight: 700;
}

.fp-cancel {
    box-shadow: 0px 0.83px 3.33px 0px #00000040;
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.fp-cancel i {
    font-size: 18px;
}

.popup-filter-section {
    width: 100%;
    border-top: 0.5px solid #0000004D;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.popup-filter-section-left {
    width: 25%;
    height: 100%;
    border-right: 0.5px solid #0000004D;
    min-height: 30vh;
}

.filter-type {
    width: 100%;
    margin-top: 15px;
    padding: 8px 20px;
    position: relative;
    cursor: pointer;
}

.filter-type:nth-child(2) {
    margin-top: 5px;
}

.filter-type p {
    font-size: 12px;
    font-weight: 500;
}

.filter-type.active {
    color: var(--main-clr);
}

.filter-type.active::after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    content: "";
    width: 5px;
    height: 100%;
    background: var(--main-clr);
    border-radius: 0px 5px 5px 0px;
}

.popup-filter-section-right {
    width: 75%;
    max-height: 30vh;
    overflow: hidden;
    overflow-y: scroll;
}

.p-brand-filter {
    padding: 15px 20px;
}

.p-brand-filter-search {
    width: 100%;
    border: 0.5px solid #00000040;
    padding: 5px 10px;
    border-radius: 5px;
}

.p-brand-filter-search input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 12px;
    font-weight: 400;
    color: #4B4A4A;
}

.filter-select-grid {
    width: 100%;
    margin-top: 10px;
}

.filter-select-box {
    width: 100%;
    margin-bottom: 10px;
}

.filter-select-box p {
    font-size: 12px;
    font-weight: 500;
}

.fsb1 {
    width: 15px;
    height: 15px;
    border-radius: 5px;
    border: 1px solid #444242;
    cursor: pointer;
}

.fsb1.active {
    border: 1px solid var(--main-clr);
}

.fsb1.active .fsb2 {
    width: 10px;
    height: 10px;
    background: var(--main-clr);
    border-radius: 50%;
}

.byshort {
    display: none;
}

.pf-footer {
    width: 100%;
    padding: 20px 20px 30px 20px;
    box-shadow: 0px 0px 4px 0px #00000040;
}

.pf-footer button {
    padding: 8px 34px;
    min-width: 140px;
    border: none;
    outline: none;
    border-radius: 100vw;
    font-size: 17px;
    color: #0000004D;
    background: #0000001A;
}

.pf-footer.active button {
    background: var(--main-clr);
    color: #fff;
}



@media (min-width:1024px) {

    .product-popup {
        max-height: fit-content;
        max-width: 500px;
        border-radius: 20px;
        left: 50%;
        transform: translate(-50%, 0);
    }


    .product-popup.active {
        bottom: 50%;
        transform: translate(-50%, 50%);
    }

    .confirm-btn button {
        border-radius: 10px;
    }
    .varient-card {
        border-radius: 10px;
    }




    /* ============== filter-popup =================== */

    .filter-popup {
        bottom:0 !important;
        left: unset !important;
        right: -100% !important;
        height: 100%;
        max-width: 400px;
        border-radius: 10px !important;
    }

    .filter-popup.active {
        right: 0 !important;
    }

    .popup-filter-section {
        height: 80%;
    }

    .popup-filter-section-left {
        min-height: 100% !important;
    }
    
    .popup-filter-section-right {
        min-height: 100%;
    }

/* /// */

}