/*
Theme Name: Solar Kart Custom
Theme URI: http://www.anodes.in
Author: Anodes Incorporate
Description: A premium, fast custom WooCommerce theme crafted specifically for the Solar Kart marketplace. Optimized for selling Solar Panels, Inverters, and Batteries with seamless Razorpay UPI integrations.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: solar-kart
Tags: e-commerce, custom-colors, custom-menu, featured-images, full-width-template
*/

/* -----------------------------------------
   1. CSS Reset & Variables
----------------------------------------- */
:root {
    --primary: #FDB813; /* Solar Sun */
    --secondary: #005A9C; /* Deep Tech Blue */
    --accent: #00C853; /* Safe Green for CTA */
    --bg-light: #F4F7F6;
    --text-dark: #2C3E50;
    --card-bg: #FFFFFF;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary);
}

/* -----------------------------------------
   2. Header & Navigation
----------------------------------------- */
.site-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-title {
    margin: 0;
}

.site-title a {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.site-title span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}
.nav-links a:hover {
    color: var(--primary);
}

.cart-icon {
    font-weight: bold;
    color: var(--secondary);
}

/* -----------------------------------------
   3. WooCommerce Overrides
----------------------------------------- */
.woocommerce ul.products li.product {
    background-color: var(--card-bg) !important;
    border-radius: 12px;
    padding: 20px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.woocommerce ul.products li.product h2 {
    font-size: 18px !important;
    font-weight: 700;
    color: var(--text-dark);
    padding-top: 15px;
}

.woocommerce ul.products li.product .price {
    color: var(--secondary) !important;
    font-weight: 800;
    font-size: 16px;
}

.woocommerce span.onsale {
    background-color: #E74C3C !important;
    color: #FFF !important;
    border-radius: 4px !important;
    font-weight: 700;
    padding: 4px 8px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
    font-size: 12px !important;
}

.woocommerce ul.products li.product .button {
    background-color: var(--secondary) !important;
    color: #FFF !important;
    border-radius: 6px !important;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.woocommerce ul.products li.product .button:hover {
    background-color: var(--primary) !important;
    color: var(--text-dark) !important;
}

/* -----------------------------------------
   4. Hero Section
----------------------------------------- */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #003B6F 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-radius: 0 0 40px 40px;
    margin-bottom: 50px;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.hero .btn {
    background-color: var(--primary);
    color: var(--text-dark);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
}

/* Footer */
.site-footer {
    background-color: #1A1A1A;
    color: #AAAAAA;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}
