:root {
    --primary: #FF3B30;     /* Vibrant Red */
    --primary-dark: #cc2f26;
    --secondary: #FF9500;   /* Vibrant Orange */
    --secondary-dark: #cc7700;
    --background: #ffffff;
    --surface: #f8f9fa;
    --surface-dark: #e9ecef;
    --text-main: #1c1c1e;
    --text-muted: #6c757d;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .badge {
    font-family: var(--font-heading);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
button, input, textarea { font-family: inherit; }

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

.section { padding: 80px 0; }
.bg-light { background-color: var(--surface); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255,59,48,0.3); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255,149,0,0.3); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: 10px 24px; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-large { padding: 16px 40px; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 8px;}
.logo .highlight { color: var(--primary); }
.logo-icon { color: var(--secondary); font-size: 1.8rem; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-family: var(--font-heading); }
.nav-links a:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.cart-btn {
    position: relative;
    background: none; border: none; cursor: pointer; color: var(--text-main);
}
.cart-btn svg { width: 28px; height: 28px; }
.cart-count {
    position: absolute; top: -5px; right: -8px;
    background: var(--primary); color: white;
    font-size: 0.75rem; font-weight: bold;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-menu-btn span { width: 25px; height: 3px; background: var(--text-main); transition: var(--transition); }
.mobile-nav {
    display: none; position: fixed; top: 60px; left: 0; right: 0;
    background: white; padding: 20px; box-shadow: var(--shadow-md);
    flex-direction: column; gap: 15px; z-index: 99; border-top: 1px solid var(--surface-dark);
}
.mobile-nav.active { display: flex; }

/* Hero */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--surface) 0%, #fff 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; text-align: center; margin: 0 auto; }
.hero .badge {
    background: rgba(255,149,0,0.15); color: var(--secondary-dark);
    padding: 8px 16px; border-radius: 50px; font-weight: 600; display: inline-block; margin-bottom: 20px;
}
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; background: -webkit-linear-gradient(45deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;}
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 30px; }

/* Categories */
.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.category-grid { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.category-card {
    padding: 12px 30px; background: var(--surface);
    border-radius: 50px; font-weight: 600; cursor: pointer;
    border: 2px solid transparent; transition: var(--transition); font-size: 1rem;
}
.category-card:hover { border-color: var(--primary); color: var(--primary); }
.category-card.active { background: var(--primary); color: white; border-color: var(--primary); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.product-card {
    background: white; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    position: relative; padding-bottom: 20px;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product-badge {
    position: absolute; top: 15px; left: 15px;
    background: var(--primary); color: white;
    padding: 5px 12px; border-radius: 5px; font-size: 0.8rem; font-weight: bold;
}
.product-img { width: 100%; height: 220px; object-fit: cover; background: var(--surface); display:block; }
.product-info { padding: 20px; }
.product-cat { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.product-title { font-size: 1.2rem; margin: 8px 0; line-height: 1.4; }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.price-new { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.price-old { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }
.product-card .btn { margin: 0 20px; width: calc(100% - 40px); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card {
    background: white; padding: 30px; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 15px; }
.testimonial-card p { font-style: italic; color: var(--text-muted); margin-bottom: 15px; }
.testimonial-card h4 { font-size: 1.1rem; }

/* Forms */
.contact-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .contact-flex { grid-template-columns: 1fr; } }
.newsletter-card, .contact-card {
    background: white; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.newsletter-card h3, .contact-card h3 { font-size: 2rem; margin-bottom: 10px; color: var(--primary); }
.newsletter-card p, .contact-card p { color: var(--text-muted); margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px; border: 1px solid var(--surface-dark);
    border-radius: 8px; font-size: 1rem; transition: var(--transition);
    background: var(--surface); outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(255,59,48,0.1); }
.form-message { margin-top: 15px; font-weight: 500; font-size: 0.95rem; }
.msg-success { color: #28a745; }
.msg-error { color: var(--primary); }

/* Footer */
.footer { background: var(--text-main); color: white; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { color: white; display: inline-block; margin-bottom: 20px; }
.footer h4 { color: white; margin-bottom: 20px; font-size: 1.2rem; }
.footer p, .footer a, .footer address { color: #a1a1aa; line-height: 1.8; font-style: normal; }
.footer a { display: block; margin-bottom: 10px; }
.footer a:hover { color: var(--secondary); padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; color: #a1a1aa; }

/* Responsive */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero { padding: 120px 0 60px; }
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: var(--transition);
}
.cart-sidebar {
    position: fixed; top:0; right:-400px; width: 100%; max-width: 400px; height: 100vh;
    background: white; z-index: 1001; box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; transition: right 0.4s ease;
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar.active { right: 0; }
.cart-header { padding: 20px; border-bottom: 1px solid var(--surface-dark); display: flex; justify-content: space-between; align-items: center; }
.cart-header h2 { font-size: 1.5rem; }
.close-cart { background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--text-muted); }
.close-cart:hover { color: var(--primary); }
.cart-items { flex-grow: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; gap: 15px; margin-bottom: 20px; background: var(--surface); padding: 10px; border-radius: 8px; position:relative;}
.cart-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 5px; }
.cart-item-info h4 { font-size: 1rem; font-family: var(--font-body); margin-bottom: 5px; padding-right: 20px;}
.cart-item-price { color: var(--primary); font-weight: bold; margin-bottom: 5px; }
.qty-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn { background: white; border: 1px solid #ccc; width: 24px; height: 24px; border-radius: 4px; cursor: pointer; display: flex; justify-content: center; align-items: center;}
.remove-item { position: absolute; top: 10px; right: 10px; color: var(--text-muted); background:none; border:none; cursor:pointer;}
.remove-item:hover { color: var(--primary); }
.cart-footer { padding: 20px; border-top: 1px solid var(--surface-dark); background: white; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: bold; margin-bottom: 20px; }
.empty-cart-msg { text-align: center; color: var(--text-muted); margin-top: 50px; font-size: 1.1rem; }
