﻿
:root {
    --text: #1f2937;
    --muted: #4b5563;
    --green: #166534;
    --yellow: #a16207;
    --blue: #1d4ed8;
    --purple: #6d28d9;
}
.section-divider {
    margin: 30px 0 10px;
    border-top: 1px solid #e5e7eb;
}

/* 🔹 Title */
/* ===========================
   SECTION HEADER
=========================== */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.section-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg,#fff8e1,#ffe082);
    font-size: 20px;
    box-shadow: 0 6px 15px rgba(255,193,7,.20);
}

.section-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #202124;
    line-height: 1.2;
}

.section-subtitle {
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
}

.section-btn {
    text-decoration: none;
    padding: 9px 18px;
    border: 1px solid #2E7D32;
    border-radius: 30px;
    color: #2E7D32;
    font-weight: 600;
    transition: .25s;
}

    .section-btn:hover {
        background: #2E7D32;
        color: #fff;
    }
.row.g-3 {
    margin-top: 0;
}

    .row.g-3 > div {
        display: flex;
    }

    .row.g-3 .product-card {
        width: 100%;
        height: 100%;
    }

.shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 15px 0 10px;
    font-size: 13px;
}

    .shop-breadcrumb a {
        color: #168136;
        text-decoration: none;
        font-weight: 600;
    }

    .shop-breadcrumb span {
        color: #777;
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
    margin-top: 20px;
}


/* 🔹 Card */
.category-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.25s ease;
}

    /* 🔥 Hover */
    .category-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

        /* 🔥 Image zoom */
        .category-card:hover .cat-img img {
            transform: scale(1.05);
        }

.cat-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

    .cat-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.3s ease;
    }

/* 🔹 Body (NEW) */
.cat-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* 🔥 Title (highlight improved) */
.cat-title {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

/* 🔹 Count */
.cat-count {
    font-size: 12px;
    color: var(--muted);
}

/* 🔥 CTA */
.cat-cta {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
    transition: 0.2s;
}

/* hover pe CTA highlight */
.category-card:hover .cat-cta {
    text-decoration: underline;
}

/* 🔥 Category colors (identity) */
.category-card.plants .cat-title {
    color: var(--green);
}

.category-card.seeds .cat-title {
    color: #b45309;
}

.category-card.tools .cat-title {
    color: #1565c0;
}

.category-card.pots .cat-title {
    color: #6a1b9a;
}

.category-card::after {
    content: "";
    display: block;
    height: 3px;
    background: transparent;
    transition: 0.2s;
}

.category-card.plants:hover::after {
    background: #2e7d32;
}

.category-card.seeds:hover::after {
    background: #f9a825;
}

.category-card.tools:hover::after {
    background: #1565c0;
}

.category-card.pots:hover::after {
    background: #6a1b9a;
}






@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .shop-breadcrumb {
        margin: 10px 5px 8px;
        font-size: 11px;
    }

}
@media (max-width: 576px) {
    .section-header {
        margin-bottom: 14px;
    }

    .section-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .section-title {
        font-size: 18px;
    }

    .section-subtitle {
        font-size: 11px;
    }

    .section-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-img {
        aspect-ratio: 1/1;
    }

    .cat-title {
        font-size: 14px;
    }

    .cat-cta {
        font-size: 12px;
    }
  
}

.search-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0 22px;
}

    .search-actions .btn {
        border-radius: 8px;
        padding: 9px 15px;
        font-size: 14px;
    }

@media(max-width: 480px) {
    .search-actions .btn {
        flex: 1;
        text-align: center;
    }
}