/* PRODUCTS HERO 
.products-hero {
    background: #ffffff;
    padding: 100px 24px 80px;
    text-align: center;
}

.products-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #144a33;
    margin-bottom: 16px;
}

.products-hero p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* CATEGORY SECTIONS */
.products-categories {
    background: #ffffff;
    padding: 0 0 120px;
}

/* INDIVIDUAL CATEGORY */
.product-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;

    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* Alternate layout */
.product-category.reverse {
    direction: rtl;
}

.product-category.reverse > * {
    direction: ltr;
}

/* IMAGE */
.category-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
}

/* CONTENT */
.category-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #144a33;
    margin-bottom: 16px;
}

.category-content h2 span {
    font-size: 16px;
    font-weight: 500;
    color: #777;
}

.category-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 28px;
}

/* CTA */
.category-link {
    font-size: 15px;
    font-weight: 600;
    color: #1f6b4a;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: border-color 0.25s ease;
}

.category-link:hover {
    border-color: #1f6b4a;
}

.products-mobile {
    display: none;
}

@media (max-width: 900px) {
    .products-mobile {
        display: block;
        padding: 20px;
    }

    .product-group {
        border-bottom: 1px solid #ddd;
    }

    .group-title {
        width: 100%;
        padding: 16px 0;
        font-size: 16px;
        font-weight: 600;
        background: none;
        border: none;
        text-align: left;
        cursor: pointer;
    }

    .group-content {
        display: none;
        padding-bottom: 12px;
    }

    .group-content a {
        display: block;
        padding: 10px 0;
        color: #1f6b4a;
        text-decoration: none;
    }
}

@media (max-width: 900px) {

    .products-hero {
        padding: 70px 20px 60px;
    }

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

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

    .product-category {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 60px 20px;
    }

    .category-image img {
        height: 260px;
    }

    .category-content h2 {
        font-size: 28px;
    }
}








/* CATEGORY HERO */
.category-grid {
    background: #ffffff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    padding: 80px;
    border-radius: 16px;     /* default, but we make it explicit */
    justify-content: start;   /* ensures grid starts from left */
}

.category-card {
    position: relative;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    transition: transform 0.35s ease;
}

/* Dark overlay */
.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.28),
        rgba(0, 0, 0, 0.06)
    );
}
/* hover lift */
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}
/* Content */
.card-content {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    z-index: 2;
}

.category-card h3 {
    font-size: 15px;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1.3;
}

/* CTA */
.category-card .cta {
    font-size: 12px;
    /*font-weight: 500;*/
    color: #9fe3c2;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover */
.category-card:hover .cta,
.category-card.active .cta {
    opacity: 1;
    transform: translateY(0);
}


.category-card .subtext {
    position: relative;
    font-size: 12px;
    opacity: 0.75;
    padding: 0 24px 4px;
    z-index: 2;
}
/*
.products-hero {
    background: #ffffff;
    padding: 100px 24px 80px;
    text-align: center;
}
*/
/* FULL-WIDTH CATEGORY HERO */
.category-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 120px 0 90px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.25)
    );
}

.category-hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    color: #ffffff;
}

.category-hero-inner h1 {
    font-size: 48px;
    font-weight: 700;
    /*color: #1f6b4a;*/
    margin-bottom: 16px;
}

.category-hero-inner p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}


@media (max-width: 900px) {

    
    .category-hero {
        padding: 90px 0 70px;
    }

    .category-hero-inner h1 {
        font-size: 34px;
    }

    .category-hero-inner p {
        font-size: 16px;
    }
    

    .category-grid {
        grid-template-columns: 1fr;
        padding: 40px 24px 80px;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .category-grid {
        padding: 40px 24px;
        gap: 20px;
    }

    .category-card {
        height: 220px;
    }
}
