:root {
    --primary-organic: #2e7d32;
    --primary-organic-dark: #1b5e20;
    --primary-organic-light: #4caf50;
    --accent-organic: #81c784;
    --bg-organic-soft: #f1f8e9;
    --bg-organic-subtle: #e8f5e9;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

body {
    color: #2c3e50;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8faf9;
}

/* Organic Gradient Backgrounds */
.bg-gradient-organic {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #43a047 100%);
}

.text-success {
    color: #2e7d32 !important;
}

.btn-success {
    background-color: #2e7d32;
    border-color: #2e7d32;
}

.btn-success:hover, .btn-success:focus {
    background-color: #1b5e20;
    border-color: #1b5e20;
}

.btn-outline-success {
    color: #2e7d32;
    border-color: #2e7d32;
}

.btn-outline-success:hover {
    background-color: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

/* Product Card Styling */
.product-card {
    transition: all 0.25s ease-in-out;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(46, 125, 50, 0.12) !important;
}

.product-image-wrapper {
    height: 200px;
    background-color: #f9fbf9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

/* Category Sidebar */
.category-sidebar .list-group-item {
    border: none;
    border-bottom: 1px solid #f1f3f1;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: #495057;
    transition: all 0.2s ease;
}

.category-sidebar .list-group-item:last-child {
    border-bottom: none;
}

.category-sidebar .list-group-item:hover:not(.active) {
    background-color: #f1f8e9;
    color: #2e7d32;
    padding-left: 1.25rem;
}

.category-sidebar .list-group-item.active {
    background-color: #2e7d32 !important;
    border-color: #2e7d32 !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.25);
}

/* Card Hover Lift */
.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Footer Link Hover */
.hover-white:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Focus Outline */
.btn:focus, .form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.2);
    border-color: #81c784;
}

/* Utility Helpers */
.max-w-400 {
    max-width: 400px;
}

.max-w-600 {
    max-width: 600px;
}

.object-fit-cover {
    object-fit: cover;
}