:root {
    --bg-primary: #fff;
    --bg-secondary: #fff5f0;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --accent-orange: #ff6b35;
    --accent-red: #e63946;
    --accent-gradient: linear-gradient(135deg, #ff6b35 0%, #e63946 100%);
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 32px rgba(230,57,70,0.13);
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="dark"] {
    --bg-primary: #161616;
    --bg-secondary: #202124;
    --text-primary: #f5f5f5;
    --text-secondary: #bbb;
    --border-color: #404040;
    --shadow: 0 2px 8px rgba(0,0,0,0.33);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--accent-gradient);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}
.logo a { color: white; text-decoration: none; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.theme-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}
.theme-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.07);
}
.cart-link {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-red);
    color: white;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Hero */
.hero {
    text-align: center;
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin: 2rem 0;
}
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
}

/* Products */
.products { margin: 3rem 0; }
.products h3 { font-size: 2rem; margin-bottom: 2rem; color: var(--text-primary);}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
    color: var(--text-primary);
    display: block;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.product-image {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}
.product-card h4 { font-size: 1.25rem; margin-bottom: 0.5rem;}
.product-card p { color: var(--text-secondary); margin-bottom: 1rem; font-size: 0.9rem;}
.product-price { font-size: 1.5rem; font-weight: bold; color: var(--accent-red); margin-bottom: 1rem; }
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 3px;
}