/*
Theme Name: EcoCommerce Pro
Description: Advanced sustainability e-commerce theme for eco-friendly home products with integrated marketing tools, SEO optimization, and conversion-focused design.
Version: 2.0
Author: Sustainability Expert
Tags: sustainability, ecommerce, woocommerce, seo-optimized, conversion-focused
*/

:root {
    --eco-primary: #2d5a27;
    --eco-secondary: #4a7c59;
    --eco-accent: #7fb069;
    --eco-light: #f8fbf6;
    --eco-dark: #1a3317;
    --eco-warning: #d4a574;
    --eco-success: #5cb85c;
}

/* Performance-optimized base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-display: swap;
    color: var(--eco-dark);
    line-height: 1.6;
    background: var(--eco-light);
}

/* Advanced Grid System */
.eco-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Product Card Optimization */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.sustainability-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--eco-success);
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* SEO-Optimized Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--eco-primary);
    line-height: 1.2;
}

/* Conversion-Focused CTA Buttons */
.cta-primary {
    background: linear-gradient(135deg, var(--eco-primary), var(--eco-secondary));
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.3);
}

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
    .eco-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-primary {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}
