.product-quick-view-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-quick-view-popup-content {
    position: relative;
    background: #FFFFF5;
    width: 600px;
    margin: 20px auto;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
    overflow-y: auto;
}

.product-quick-view-popup-content::-webkit-scrollbar {
        width: 6px;
}
.product-quick-view-popup-content::-webkit-scrollbar-track{
        background: transparent;
        margin: 20px 0;
}
.product-quick-view-popup-content::-webkit-scrollbar-thumb {
        background: #005959;
        border-radius: 10px;
}

.popup-product-image {
        width: 100%;
        height: auto;
        position: relative;
        overflow: hidden;
        padding: 20px;
}

.popup-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
}

.popup-product-details {
        padding: 20px;
        height: auto;
        overflow-y: auto;
}
.popup-product-details::-webkit-scrollbar { width: 6px; }
.popup-product-details::-webkit-scrollbar-track { background: transparent; }
.popup-product-details::-webkit-scrollbar-thumb { background: #005959; border-radius: 10px; }

.grouped-qty-wrapper {
        display: flex;
        width: fit-content;
        border: none;
        margin-top: 12px;
        margin-bottom: 12px;
}
.grouped-qty-wrapper button, .quantity-wrapper button {
        border: none;
        padding: 3px 5px 7px 5px;
        font-size: 24px;
        font-weight: 600;
        color: #000000;
        background: #00595900 !important;
        height: auto;
        line-height: 0;
        border-radius: 200px;
}
button.minus-grouped-qty { padding: 3px 8px 7px 8px; }
.grouped-qty-wrapper input, .quantity-wrapper input.qty-input {
        font-size: 15px;
        font-weight: 800;
        padding: 0 !important;
        text-align: center;
        border: none !important;
        background: transparent;
        color: #005959;
        margin-left: 13px;
}

.popup-product-details h2 {
        font-size: 36px;
        font-family: 'Roboto';
        color: #005959;
}
.description-and-ingredients {
        color: #666666;
        font-size: 14px;
        margin: 5px 0 15px;
        font-family: 'Poppins', sans-serif;
}
.popup-product-details .price {
        font-size: 16px;
        font-weight: 700;
        color: #005959;
        font-family: 'Poppins';
}

.close-popup, .close-popup-reviews {
        position: absolute;
        right: 15px;
        top: 15px;
        font-size: 24px;
        color: white;
        cursor: pointer;
        background: #005959;
        border: none;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 1;
        align-items: flex-end;
}
.close-popup:hover, .close-popup-reviews:hover { background: rgba(0, 0, 0, 0.5); }

/* Variations and quantity */
.variation-checkboxes { margin: 15px 0; }
.variation-item {
        background: white;
        border: 1px solid #E5E7EB;
        border-radius: 8px;
        margin-bottom: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
}
input[type="radio"]:checked, input[type="checkbox"]:checked { accent-color: #005959; }
.variation-item.selected { border-color: #005959; background: #F8FFE3; }

.quantity-wrapper {
        display: flex;
        align-items: center;
        border: 0;
        border-radius: 4px;
        overflow: hidden;
        height: 42px;
        background: transparent;
}
.minus-qty, .plus-qty {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #005959;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.2s ease;
}
.qty-input {
        width: 40px;
        height: 40px;
        border: none;
        text-align: center;
        font-size: 16px;
        color: #005959;
        background: transparent;
        font-weight: 600;
}

/* Add to Cart */
.add-to-cart-popup {
    height: auto;
    background: #8DC63F;
    color: white;
    border: none;
    border-radius: 43px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 30px;
    font-family: 'Poppins', sans-serif;
    white-space: inherit !important;
}
.add-to-cart-popup:hover { background: #7AB62E; }

.add-to-cart-container {
       display: flex;
        flex-direction: row;
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 15px 20px;
        border-top: 1px solid #e5e5e5;
        z-index: 5;
        width: 100%;
}
.add-to-cart-container .quantity-controls { margin: 0; }
.add-to-cart-container .quantity-wrapper { height: 100%; }
.add-to-cart-container .add-to-cart-popup { flex: 1; }

@media (max-width: 768px) {
    .popup-product-details h2 { font-size: 30px; }
    .product-quick-view-popup { padding: 0px 17px 0 17px; }
}

/* popup custom fields (kept from original) */
.popup-custom-field { margin: 15px 0; }
.popup-custom-field label { display: block; margin-bottom: 5px; font-weight: bold; }
.popup-custom-field input[type="text"] { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 4px; }
.popup-custom-field input[type="text"]:focus { border-color: #2196F3; outline: none; box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2); }


