/* General Styling for the Body */
body {
    font-family: Arial, sans-serif;
    background-color: whitesmoke;
    margin: 0;
    padding: 0;
    color: #5F0042;
    overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* Shop Section Styling */
.shop {
    padding: 2rem;
    text-align: center;
}

.shop h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* ===== DEFAULT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Product Card Styling */
.product-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card h3,
.product-card p {
    color: #000000;
}

.product-card h4 {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0.2rem 0;
}

.product-card button {
    background-color: #5F0042;
    color: #ffffff;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.product-card button:hover {
    background-color: #5f0043bd;
    color: #000000;
}

/* Price Block Styling */
.price-block {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.price-block .mrp-price {
    font-size: 1rem;
    color: #979696;
    text-decoration: line-through;
    opacity: 0.7;
}

.price-block .offer-price {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #8f0064;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* ============================ */
/*         RESPONSIVE          */
/* ============================ */

/* ===== FORCE 2 COLUMNS ON MOBILE ===== */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-card {
        padding: 0.8rem;
        border-radius: 10px;
        height: auto;
    }

    .product-card img {
        aspect-ratio: 1 / 1;
        max-height: 120px;
        object-fit: cover;
        border-radius: 6px;
        margin-bottom: 0.6rem;
    }

    .product-card h3 {
        font-size: 0.9rem;
        margin: 0.2rem 0 0.1rem;
    }

    .product-card p {
        font-size: 0.8rem;
        margin: 0 0 0.4rem;
    }

    .product-card button {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .price-block .offer-price {
        font-size: 1.1rem;
    }

    .price-block .mrp-price {
        font-size: 0.85rem;
    }

    .popup-content {
        width: 100%;
        max-width: 95vw;
        box-sizing: border-box;
    }

    .popup-info-section {
        text-align: center;
    }

    .popup-info-section h3 {
        font-size: 1.5rem;
    }

    .popup-info-section p {
        font-size: 0.95rem;
    }

    .popup-image-section img {
        max-height: 400px;
    }
}
