
/* =========================================================
   CLOVEBAY - SIMPLE PRODUCTS PAGE
========================================================= */

.products-page {
    background: #ffffff;
    color: #263b30;
}

/* HERO */

.products-hero {
    padding: 75px 0;
    background: linear-gradient(120deg, #f0f7f1, #f9fbf8);
    border-bottom: 1px solid #e7eee7;
}

.products-hero-content {
    max-width: 850px;
    text-align: center;
    margin: auto;
}

.products-hero .eyebrow,
.eyebrow {
    display: inline-block;
    color: #287548;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.products-hero h1 {
    color: #183e2c;
    font-size: clamp(32px, 5vw, 49px);
    line-height: 1.2;
    margin: 0 0 20px;
    font-weight: 750;
}

.products-hero h1 span {
    color: #287548;
}

.products-hero p {
    max-width: 700px;
    margin: 0 auto 25px;
    color: #66766b;
    font-size: 16px;
    line-height: 1.85;
}

.products-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 25px;
    background: #287548;
    color: #ffffff;
    text-decoration: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.products-hero-btn:hover {
    background: #185632;
    color: #ffffff;
    transform: translateY(-2px);
}

/* PRODUCT LISTING */

.products-listing {
    padding: 65px 0 75px;
}

.products-listing .section-heading {
    max-width: 750px;
    margin: 0 auto 35px;
    text-align: center;
}

.products-listing .section-heading h2 {
    color: #183e2c;
    font-size: clamp(26px, 4vw, 36px);
    margin: 0 0 13px;
}

.products-listing .section-heading p {
    color: #68776d;
    line-height: 1.8;
    margin: 0;
}

/* SEARCH */

.product-search-wrap {
    position: relative;
    width: min(100%, 520px);
    margin: 0 auto 18px;
}

.product-search {
    width: 100%;
    min-height: 51px;
    padding: 13px 48px 13px 17px;
    border: 1px solid #dfe8df;
    border-radius: 9px;
    background: #ffffff;
    color: #263b30;
    font: inherit;
    outline: none;
    box-shadow: 0 6px 20px rgba(20, 55, 35, .05);
}

.product-search:focus {
    border-color: #287548;
    box-shadow: 0 0 0 3px rgba(40, 117, 72, .10);
}

.product-search-icon {
    position: absolute;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
    color: #287548;
    font-size: 25px;
    pointer-events: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* PRODUCT COUNT */

.products-count {
    max-width: 1200px;
    margin: 0 auto 20px;
    color: #758278;
    font-size: 13px;
}

/* GRID */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.product-card[hidden] {
    display: none !important;
}

.product-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8eee8;
    border-radius: 13px;
    transition: 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #c9ddce;
    box-shadow: 0 12px 30px rgba(26, 75, 43, .09);
}

/* PRODUCT IMAGE */

.product-card .product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 245px;
    padding: 22px;
    background: #f7faf7;
    overflow: hidden;
    text-decoration: none;
}

.product-card .product-image img {
    width: 100%;
    height: 210px;
    object-fit: contain;
    transition: transform .3s ease;
}

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

.product-image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 200px;
    color: #287548;
    font-weight: 700;
    text-align: center;
}

/* PRODUCT INFORMATION */

.product-info {
    padding: 22px;
}

.product-category {
    display: inline-block;
    margin-bottom: 10px;
    color: #287548;
    background: #edf6ef;
    padding: 6px 11px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
}

.product-info h3 {
    margin: 0 0 10px;
    color: #183e2c;
    font-size: 19px;
    line-height: 1.45;
}

.product-info h3 a {
    color: inherit;
    text-decoration: none;
}

.product-info h3 a:hover {
    color: #287548;
}

.product-info p {
    margin: 0 0 18px;
    color: #738076;
    font-size: 13px;
    line-height: 1.7;
}

.product-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #287548;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.product-view-btn:hover {
    color: #164e2d;
    text-decoration: underline;
}

/* EMPTY STATES */

.product-search-empty,
.no-products {
    padding: 35px 20px;
    text-align: center;
    color: #6b796e;
    background: #f7faf7;
    border-radius: 12px;
}

.product-search-empty h3,
.no-products h3 {
    color: #183e2c;
    margin: 0 0 10px;
}

.product-search-empty p,
.no-products p {
    line-height: 1.7;
}

/* BUSINESS ENQUIRY */

.products-enquiry-section {
    padding: 55px 0;
    background: #f1f7f2;
}

.products-enquiry-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.products-enquiry-content h2 {
    color: #183e2c;
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 12px;
}

.products-enquiry-content p {
    max-width: 650px;
    color: #68776d;
    line-height: 1.8;
    margin: 0;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

}

@media (max-width: 600px) {

    .products-hero {
        padding: 50px 0;
    }

    .products-hero h1 {
        font-size: 31px;
    }

    .products-hero p {
        font-size: 14px;
    }

    .products-listing {
        padding: 45px 0 55px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card .product-image {
        min-height: 230px;
    }

    .product-card .product-image img {
        height: 200px;
    }

    .products-enquiry-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .products-enquiry-content .products-hero-btn {
        width: 100%;
    }

}
