/*
Theme Name: Hello Elementor Child
Theme URI: https://yourwebsite.com/
Description: My custom child theme for Hello Elementor
Author: Your Name
Author URI: https://yourwebsite.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Cards ko center mein rakhen agar 3 se kam hon */
    gap: 25px; /* Cards ke darmiyan fasla */
    padding: 20px;
    max-width: 1200px; /* Grid ki ziyada se ziyada चौड़ाई */
    margin: 0 auto; /* Grid ko center mein rakhne ke liye */
}

.product-grid{
    margin-top: 100px;
}

.product-card {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 8px;
    margin-top: 50px;

    /* Fixed width for cards */
    width: 350px; /* Ya apni pasand ki koi bhi fixed width */
    flex-shrink: 0; /* Card ko shrink hone se roke */
    flex-grow: 0; /* Card ko grow hone se roke */

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    justify-content: space-center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-card .product-image {
    margin-bottom: 15px;
    height: 200px; /* Tasveer ko ek size mein lock karne ke liye */
    overflow: hidden; /* Extra hissa hide karein */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    max-width: 100%;
    max-height: 100%; /* Image ko div ke andar fit karne ke liye */
    display: block; /* Remove extra space below image */
    border-radius: 4px;
    object-fit: contain; /* Ya 'cover' use karein agar crop karna hai */
}

.product-card .product-name {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.3;
    flex-grow: 1; /* Product name ko jitni jagah chahiye, woh le le */
    display: flex; /* Name ko center karne ya top par rakhne ke liye */
    align-items: flex-start; /* Name ko card mein uper ki taraf rakhen */
    justify-content: center; /* Name ko horizontal center karein */
}

.whatsapp-button {
    display: inline-block;
    background-color: #3871c1;
    color: white !important;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 15px; /* Button se pehle thoda space */
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.whatsapp-button:hover {
    background-color: #F08114;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.page-header {
    text-align: center;
    padding: 30px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.page-header .page-title {
    font-size: 2.5em;
    color: #333;
    margin: 0;
}

.archive-description {
    font-size: 1.1em;
    color: #666;
    margin-top: 10px;
}

.site-main .navigation.pagination {
    text-align: center;
    padding: 20px;
}

.site-main .nav-links {
    display: inline-block;
}

.site-main .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.site-main .page-numbers.current,
.site-main .page-numbers:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* Media Queries for Responsiveness (Optional: You can adjust widths here if needed) */
@media (max-width: 1050px) { /* Jab screen 1050px se kam ho, toh cards thode chote ho jayen */
    .product-card {
        width: 300px;
    }
}

@media (max-width: 650px) { /* Tablet size par 2 cards */
    .product-grid {
        justify-content: space-around; /* Center ki bajaye fasla barabar rakhen */
    }
    .product-card {
        width: 45%; /* screen ka 45% (do cards ke liye) */
        min-width: 250px; /* zyada chota na ho */
    }
}

@media (max-width: 480px) { /* Mobile size par 1 card */
    .product-grid {
        justify-content: center;
    }
    .product-card {
        width: 90%; /* screen ka 90% (ek card ke liye) */
        max-width: 350px; /* boht bara na ho */
    }
}