:root {
            --background-color: #ffffff;
            --default-color: #444444;
            --heading-color: #273d4e;
            --accent-color: #ff4a17;
            --surface-color: #ffffff;
            --contrast-color: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Open Sans', sans-serif;
            background-color: #f5f5f5;
            color: var(--default-color);
            line-height: 1.6;
            letter-spacing: 0.01em;
            background-color: #f1f4fa;
        }

        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 80px 32px;
        }

        .section-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 2rem;
            color: var(--heading-color);
            text-align: center;
            margin-bottom: 48px;
            letter-spacing: 0.01em;
            line-height: 1.2;
        }

        .category-tabs {
            display: flex;
            justify-content: center;
            gap: 0;
            margin-bottom: 48px;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(34,34,34,0.08);
        }

        .tab-button {
            background: var(--surface-color);
            border: 1px solid var(--accent-color);
            border-right: none;
            padding: 12px 24px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 16px;
            color: var(--accent-color);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .tab-button:last-child {
            border-right: 1px solid var(--accent-color);
        }

        .tab-button.active,
        .tab-button:hover {
            background: var(--accent-color);
            color: var(--contrast-color);
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 32px;
            margin-bottom: 48px;
        }

        .product-card {
            background: var(--surface-color);
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(34,34,34,0.08);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
           max-width: 600px;
        }

        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(34,34,34,0.12);
        }

        .product-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, var(--accent-color), #f6c700);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-image .placeholder-icon {
            font-size: 48px;
            color: var(--contrast-color);
            opacity: 0.8;
        }

        .product-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: #f6c700;
            color: var(--heading-color);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .product-content {
            padding: 24px;
        }

        .product-category {
            font-size: 12px;
            color: var(--accent-color);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 8px;
        }

        .product-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 18px;
            color: var(--heading-color);
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .product-description {
            font-size: 14px;
            color: var(--default-color);
            margin-bottom: 16px;
            line-height: 1.5;
        }

        .product-specs {
            margin-bottom: 20px;
        }

        .spec-item {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            margin-bottom: 4px;
        }

        .spec-label {
            color: var(--accent-color);
            font-weight: 600;
        }

        .spec-value {
            color: var(--heading-color);
        }

        .product-price {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .price {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 20px;
            color: var(--accent-color);
        }

        .price-unit {
            font-size: 14px;
            color: var(--default-color);
            font-weight: 400;
        }

        .stock-status {
            font-size: 12px;
            padding: 4px 8px;
            border-radius: 4px;
            font-weight: 600;
        }

        .in-stock {
            background: #e8f5e8;
            color: #2e5e15;
        }

        .low-stock {
            background: #fff3e0;
            color: #f7931e;
        }

        .out-of-stock {
            background: #ffe8e8;
            color: #d32f2f;
        }

        .product-actions {
            display: flex;
            gap: 12px;
        }

        .btn {
            padding: 12px 20px;
            border-radius: 6px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 14px;
            letter-spacing: 0.05em;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            text-decoration: none;
            text-align: center;
            flex: 1;
        }

        .btn-primary {
            background: var(--accent-color);
            color: var(--contrast-color);
        }

        .btn-primary:hover {
            background: #e03f12;
            box-shadow: 0 4px 12px rgba(255, 74, 23, 0.3);
        }

        .btn-secondary {
            background: var(--contrast-color);
            color: var(--accent-color);
            border: 2px solid var(--accent-color);
        }

        .btn-secondary:hover {
            background: #f5f5f5;
        }

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .btn:disabled:hover {
            transform: none;
            box-shadow: none;
        }

        /* Category-specific styling */
        .category-fertiliser .product-image {
            background: linear-gradient(135deg, var(--accent-color), #f6c700);
        }

        .category-seed .product-image {
            background: linear-gradient(135deg, #f6c700, var(--accent-color));
        }

        .category-chemicals .product-image {
            background: linear-gradient(135deg, var(--heading-color), var(--accent-color));
        }

        .category-tiles .product-image {
            background: linear-gradient(135deg, var(--heading-color), var(--default-color));
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                padding: 40px 16px;
            }

            .category-tabs {
                flex-wrap: wrap;
                gap: 8px;
                justify-content: center;
            }

            .tab-button {
                border-radius: 6px;
                border: 1px solid var(--accent-color);
            }

            .products-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .product-actions {
                flex-direction: column;
            }

    
        }