:root {
            --primary-dark: #1b4332;
            --primary-medium: #2d6a4f;
            --accent-green: #52b788;
            --light-mint: #d8f3dc;
            --light-bg: #f4f7f5;
            --card-border: #e2ece9;
            --text-muted: #556b63;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--light-bg);
            color: #2b2b2b;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .heading-font {
            font-family: 'Playfair Display', serif;
        }

        /* Navbar Styling */
        .navbar-custom {
            background-color: var(--primary-dark);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .brand-logo {
            color: #fff;
            font-size: 1.5rem;
            font-weight: 700;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .brand-logo i {
            color: var(--accent-green);
        }

        /* Category Filter Sidebar */
        .category-pill {
            cursor: pointer;
            border-radius: 10px;
            padding: 12px 16px;
            background-color: #ffffff;
            color: #333;
            border: 1px solid var(--card-border);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.25s ease;
            font-weight: 500;
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
        }

        .category-pill:hover, .category-pill.active {
            background-color: var(--primary-medium);
            color: #fff;
            border-color: var(--primary-medium);
            transform: translateX(4px);
        }

        .category-pill.active i {
            color: var(--light-mint);
        }

        /* Product Cards */
        .product-card {
            border: 1px solid var(--card-border);
            border-radius: 16px;
            background: #fff;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .product-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 25px rgba(27, 67, 50, 0.12);
        }

        .product-img-wrapper {
            position: relative;
            height: 220px;
            background-color: #f8faf9;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .product-img {
           
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .product-card:hover .product-img {
            transform: scale(1.05);
        }

        .img-fallback {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #e8f5e9, #d8f3dc);
            color: var(--primary-medium);
            font-size: 2.8rem;
        }

        .btn-green {
            background-color: var(--primary-medium);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 8px 16px;
            font-weight: 600;
            transition: all 0.25s ease;
        }

        .btn-green:hover {
            background-color: var(--primary-dark);
            color: #fff;
            box-shadow: 0 4px 10px rgba(27, 67, 50, 0.2);
        }

        .btn-outline-green {
            border: 1.5px solid var(--primary-medium);
            color: var(--primary-medium);
            background: transparent;
            border-radius: 8px;
            padding: 8px 16px;
            font-weight: 600;
            transition: all 0.25s ease;
        }

        .btn-outline-green:hover {
            background-color: var(--primary-medium);
            color: #fff;
        }

        /* Pagination Styling */
        .pagination .page-item .page-link {
            color: var(--primary-dark);
            border-color: var(--card-border);
            padding: 10px 18px;
            border-radius: 8px;
            margin: 0 3px;
            font-weight: 600;
        }

        .pagination .page-item.active .page-link {
            background-color: var(--primary-medium);
            border-color: var(--primary-medium);
            color: #fff;
        }

        /* Detail View Hero Section */
        .detail-hero-img {
          
            max-height: 420px;
            object-fit: cover;
            border-radius: 16px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        }

        .detail-card-box {
            background: #fff;
            border-radius: 16px;
            padding: 24px;
            border: 1px solid var(--card-border);
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            margin-bottom: 20px;
        }

        .badge-category {
            background-color: var(--light-mint);
            color: var(--primary-dark);
            font-size: 0.85rem;
            font-weight: 700;
            padding: 6px 14px;
            border-radius: 20px;
        }

        /* View Switching Animations */
        .view-section {
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        .view-section.active-view {
            display: block;
            opacity: 1;
        }

        footer {
            margin-top: auto;
            background-color: var(--primary-dark);
            color: #d8f3dc;
        }