/* ------------------------------
   PRODUCT GRID LAYOUT
------------------------------ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 per row */
    gap: 25px;
    padding: 20px 10px;
    max-width: 1400px;
    margin: 0 auto;
}
.product-grid-center {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* flexible columns */
    justify-content: center; /* centers if fewer cards than columns */
    gap: 25px;
    padding: 20px 10px;
    max-width: 500px;
    margin: 0 auto;
}
.product-grid-0 {
    display: grid;
grid-template-columns: repeat(2, 1fr); /* 4 per row */
    justify-content: center; /* centers if fewer cards than columns */
    gap: 25px;
    padding: 20px 10px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Tablet (2 per row) */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (1 per row) */
@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------
   PRODUCT CARD STYLING
------------------------------ */
.product-card {
    border: 1px solid #ddd;
    background: #ffffff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Hover effect */
.product-card:hover {
    border-color: #1e90ff;
    transform: translateY(-4px);
}

/* ------------------------------
   PRODUCT IMAGE STYLE
------------------------------ */
.product-card img {
    width: 100%;
    height: 290px;
    object-fit: cover;         /* keeps images uniform */
    border-radius: 6px;
    margin-bottom: 20px;
}

/* ------------------------------
   PRODUCT TITLE & TEXT
------------------------------ */
.product-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 10px 0 8px 0;
    color: #222;
}

.product-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 15px;
    flex-grow: 1;   /* pushes button to bottom for perfect alignment */
}

/* ------------------------------
   QUOTE BUTTON
------------------------------ */
.product-card .cta-button {
    padding: 10px 20px;
    background: #1e90ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.2s ease;
    margin-top: auto;
}

.product-card .cta-button:hover {
    background: #0056b3;
}


#products-description .products-title {
    padding: 10px 0;
    text-align: center;
    margin-bottom: 5px; /* space between title and products */
}

#products-description .products-title h3 {
    font-size: 1.8rem; /* smaller than h2 */
    font-weight: 700;
    color: #1e90ff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}


