/* CSS for the popup */

/*
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    max-width: 1200px;
    max-height: 800px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    overflow: auto; 
    z-index: 1000; 
}


.popup-content {
    padding: 20px;
    box-sizing: border-box; 
    height: 100%; 
    overflow: auto; 
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


.product {
    flex: 1 1 calc(25% - 20px); 
    box-sizing: border-box;
    max-width: calc(25% - 20px); 
    margin: 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}


.product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-title, .product-price {
    text-align: center;
    padding: 10px;
}

@media (max-width: 1200px) {
    .product {
        flex: 1 1 calc(33.33% - 20px); 
        max-width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .product {
        flex: 1 1 calc(50% - 20px); 
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .product {
        flex: 1 1 100%; 
        max-width: 100%;
    }

    .close-btn {
        font-size: 20px;
    }
}
*/
