/*
Theme Name: VibrantStore Theme
Theme URI: https://example.com
Author: Custom Theme Developer
Description: Modern, colorful, full-screen edge-to-edge WooCommerce Theme.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: vibrantstore
*/

/* --- CSS RESET & VARIABLES --- */
:root {
    --primary-grad: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --accent-grad: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #0f172a;
    --border-color: #e2e8f0;
    --radius: 16px;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.site-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- ROW 1: TOP BAR (DARK BLUE) --- */
.top-bar {
    background: #1e1b4b !important;
    color: #ffffff;
    font-size: 0.88rem;
    padding: 10px 0;
    width: 100%;
}

.top-bar-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: #cbd5e1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* --- MAIN HEADER (STACKED ROWS) --- */
.site-header {
    width: 100%;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.header-row {
    width: 100%;
}

/* ROW 2: LOGO LEFT & CART RIGHT (WHITE BG) */
.header-row-logo {
    background-color: #ffffff !important;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.logo-row-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.site-logo a {
    font-size: 2rem;
    font-weight: 900;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.header-cart-btn {
    background: var(--accent-grad) !important;
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

/* ROW 3: BLANK SPACE LINE (LIGHT GRAY BG) */
.header-row-cart {
    background-color: #f1f5f9 !important;
    min-height: 45px; /* Empty blank row height */
    border-bottom: 1px solid #e2e8f0;
}

/* ROW 4: MENU LINE (DARK SLEEK BG) */
.header-row-menu {
    background-color: #0f172a !important;
    padding: 14px 0;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-navigation a {
    text-decoration: none;
    font-weight: 700;
    color: #ffffff !important;
    font-size: 0.95rem;
    transition: var(--transition);
}

.main-navigation a:hover {
    color: #38bdf8 !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #ffffff;
    cursor: pointer;
}

/* --- HERO BANNER --- */
.hero-banner {
    width: 100%;
    background: var(--primary-grad);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-banner h1 { font-size: 3rem; font-weight: 900; margin-bottom: 16px; }

/* --- WOOCOMMERCE GRID STYLING --- */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 32px !important;
    margin: 40px 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product {
    background: var(--card-bg) !important;
    border-radius: var(--radius) !important;
    padding: 20px !important;
    border: 1px solid var(--border-color) !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 8px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        width: 100%;
        margin-top: 10px;
    }

    .main-navigation.is-active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 12px;
        background: #1e293b;
        padding: 16px;
        border-radius: 8px;
    }
}