/*
Theme Name: BuySmartNG
Theme URI: https://buysmartng.com
Author: BuySmartNG Team
Author URI: https://buysmartng.com
Description: A premium Nigerian e-commerce marketplace theme connecting buyers to local sellers. Built for WooCommerce and Dokan Multivendor. Features mega menu, seller onboarding, location-based shopping, and mobile-first design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buysmartng
Domain Path: /languages
Tags: e-commerce, marketplace, multivendor, responsive, mega-menu, nigeria, woocommerce, dokan
*/

/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. CSS Variables & Reset
   2. Base Styles & Typography
   3. Header & Navigation (Mega Menu)
   4. Hero Section
   5. Categories Section
   6. Featured Products
   7. Brands Section
   8. How to Become a Seller
   9. Footer
   10. WooCommerce Overrides
   11. Dokan Customizations
   12. Auth Pages (Login/Register)
   13. Responsive Design
   ============================================ */

/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */
:root {
    --bs-primary: #1a4db5;
    --bs-primary-dark: #0f2d6b;
    --bs-primary-light: #e8f0fe;
    --bs-accent: #ff6b35;
    --bs-accent-hover: #e55a2b;
    --bs-secondary: #2c3e50;
    --bs-success: #27ae60;
    --bs-warning: #f39c12;
    --bs-danger: #e74c3c;
    --bs-info: #3498db;
    --bs-white: #ffffff;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-black: #000000;
    --bs-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bs-font-heading: 'Poppins', 'Inter', sans-serif;
    --bs-spacing-xs: 0.25rem;
    --bs-spacing-sm: 0.5rem;
    --bs-spacing-md: 1rem;
    --bs-spacing-lg: 1.5rem;
    --bs-spacing-xl: 2rem;
    --bs-spacing-2xl: 3rem;
    --bs-spacing-3xl: 4rem;
    --bs-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --bs-shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --bs-shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --bs-shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --bs-radius-sm: 4px;
    --bs-radius-md: 8px;
    --bs-radius-lg: 12px;
    --bs-radius-xl: 16px;
    --bs-radius-full: 9999px;
    --bs-transition-fast: 0.15s ease;
    --bs-transition-base: 0.3s ease;
    --bs-transition-slow: 0.5s ease;
    --bs-container-max: 1400px;
    --bs-header-height: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--bs-font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--bs-gray-800);
    background-color: var(--bs-gray-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bs-primary); text-decoration: none; transition: color var(--bs-transition-fast); }
a:hover { color: var(--bs-primary-dark); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--bs-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--bs-gray-900);
    margin-bottom: var(--bs-spacing-md);
}

/* Utility Classes */
.container { max-width: var(--bs-container-max); margin: 0 auto; padding: 0 var(--bs-spacing-lg); }
.container-narrow { max-width: 1200px; margin: 0 auto; padding: 0 var(--bs-spacing-lg); }
.section-padding { padding: var(--bs-spacing-3xl) 0; }
.section-header { text-align: center; margin-bottom: var(--bs-spacing-2xl); }
.section-header h2 { font-size: 2.25rem; margin-bottom: var(--bs-spacing-sm); }
.section-header p { color: var(--bs-gray-600); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--bs-spacing-sm);
    padding: 0.75rem 1.5rem; font-family: var(--bs-font-primary); font-size: 0.9375rem;
    font-weight: 600; border: none; border-radius: var(--bs-radius-md); cursor: pointer;
    transition: all var(--bs-transition-base); text-decoration: none;
}
.btn-primary { background: var(--bs-primary); color: var(--bs-white); }
.btn-primary:hover { background: var(--bs-primary-dark); color: var(--bs-white); transform: translateY(-2px); box-shadow: var(--bs-shadow-md); }
.btn-accent { background: var(--bs-accent); color: var(--bs-white); }
.btn-accent:hover { background: var(--bs-accent-hover); color: var(--bs-white); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--bs-primary); color: var(--bs-primary); }
.btn-outline:hover { background: var(--bs-primary); color: var(--bs-white); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

.badge { display: inline-block; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; border-radius: var(--bs-radius-full); text-transform: uppercase; letter-spacing: 0.5px; }
.badge-new { background: var(--bs-success); color: var(--bs-white); }
.badge-sale { background: var(--bs-danger); color: var(--bs-white); }

/* ============================================
   3. HEADER & NAVIGATION (MEGA MENU)
   ============================================ */
.site-header {
    background: var(--bs-white); box-shadow: var(--bs-shadow-sm); position: sticky; top: 0; z-index: 1000; height: var(--bs-header-height);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-branding { display: flex; align-items: center; gap: var(--bs-spacing-sm); }
.site-logo { height: 45px; width: auto; }
.site-title { font-family: var(--bs-font-heading); font-size: 1.5rem; font-weight: 800; color: var(--bs-primary); letter-spacing: -0.5px; }
.site-title span { color: var(--bs-accent); }

.location-selector {
    display: flex; align-items: center; gap: var(--bs-spacing-sm); padding: 0.5rem 1rem;
    background: var(--bs-gray-100); border-radius: var(--bs-radius-md); cursor: pointer; transition: background var(--bs-transition-fast);
}
.location-selector:hover { background: var(--bs-gray-200); }
.location-selector i { color: var(--bs-primary); font-size: 1.125rem; }
.location-selector .location-text { font-size: 0.875rem; font-weight: 500; color: var(--bs-gray-700); }
.location-selector .location-text strong { display: block; color: var(--bs-gray-900); font-size: 0.9375rem; }

.header-search { flex: 1; max-width: 600px; margin: 0 var(--bs-spacing-xl); }
.search-form { display: flex; position: relative; }
.search-form input {
    width: 100%; padding: 0.75rem 1rem 0.75rem 3rem; border: 2px solid var(--bs-gray-200);
    border-radius: var(--bs-radius-full); font-size: 0.9375rem; transition: border-color var(--bs-transition-fast); background: var(--bs-gray-100);
}
.search-form input:focus { outline: none; border-color: var(--bs-primary); background: var(--bs-white); }
.search-form button { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--bs-gray-500); cursor: pointer; font-size: 1rem; }

.main-navigation { display: flex; align-items: center; gap: var(--bs-spacing-lg); }
.nav-menu { display: flex; list-style: none; gap: var(--bs-spacing-lg); align-items: center; }
.nav-menu a { font-weight: 500; font-size: 0.9375rem; color: var(--bs-gray-700); padding: 0.5rem 0; position: relative; }
.nav-menu a:hover { color: var(--bs-primary); }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--bs-primary); transition: width var(--bs-transition-base); }
.nav-menu a:hover::after { width: 100%; }

.mega-menu-trigger { position: relative; }
.mega-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); width: 900px;
    background: var(--bs-white); border-radius: var(--bs-radius-lg); box-shadow: var(--bs-shadow-xl); padding: var(--bs-spacing-xl);
    opacity: 0; visibility: hidden; transition: all var(--bs-transition-base); z-index: 1001;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--bs-spacing-lg);
}
.mega-menu-trigger:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-menu-column h4 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; color: var(--bs-primary); margin-bottom: var(--bs-spacing-md); padding-bottom: var(--bs-spacing-sm); border-bottom: 2px solid var(--bs-primary-light); }
.mega-menu-column ul { list-style: none; }
.mega-menu-column li { margin-bottom: var(--bs-spacing-sm); }
.mega-menu-column a { font-size: 0.875rem; color: var(--bs-gray-600); display: flex; align-items: center; gap: var(--bs-spacing-sm); padding: 0.25rem 0; }
.mega-menu-column a:hover { color: var(--bs-primary); padding-left: var(--bs-spacing-sm); }
.mega-menu-column a i { font-size: 1.125rem; width: 24px; text-align: center; }

.header-actions { display: flex; align-items: center; gap: var(--bs-spacing-md); }
.header-action-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--bs-gray-700); font-size: 0.75rem; font-weight: 500; position: relative; }
.header-action-btn i { font-size: 1.25rem; }
.header-action-btn:hover { color: var(--bs-primary); }
.header-action-btn .count { position: absolute; top: -5px; right: -5px; background: var(--bs-accent); color: var(--bs-white); font-size: 0.625rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.sell-btn { background: var(--bs-success); color: var(--bs-white); padding: 0.5rem 1.25rem; border-radius: var(--bs-radius-md); font-weight: 600; font-size: 0.875rem; }
.sell-btn:hover { background: #219a52; color: var(--bs-white); }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--bs-gray-800); cursor: pointer; }

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    color: var(--bs-white); padding: var(--bs-spacing-3xl) 0; position: relative; overflow: hidden;
}
.hero-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.hero-section::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: rgba(255,255,255,0.03); border-radius: 50%; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--bs-spacing-3xl); align-items: center; position: relative; z-index: 1; }
.hero-content h1 { font-size: 3rem; font-weight: 800; color: var(--bs-white); margin-bottom: var(--bs-spacing-lg); line-height: 1.1; }
.hero-content h1 span { color: var(--bs-accent); }
.hero-content p { font-size: 1.125rem; opacity: 0.9; margin-bottom: var(--bs-spacing-xl); max-width: 500px; }
.hero-stats { display: flex; gap: var(--bs-spacing-xl); margin-top: var(--bs-spacing-2xl); }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2rem; font-weight: 800; color: var(--bs-accent); display: block; }
.hero-stat .label { font-size: 0.875rem; opacity: 0.8; }
.hero-image { position: relative; }
.hero-image img { border-radius: var(--bs-radius-xl); box-shadow: var(--bs-shadow-xl); }

/* ============================================
   5. CATEGORIES SECTION
   ============================================ */
.categories-section { background: var(--bs-white); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--bs-spacing-lg); }
.category-card {
    background: var(--bs-white); border: 1px solid var(--bs-gray-200); border-radius: var(--bs-radius-lg);
    padding: var(--bs-spacing-xl); text-align: center; transition: all var(--bs-transition-base); cursor: pointer;
}
.category-card:hover { border-color: var(--bs-primary); transform: translateY(-5px); box-shadow: var(--bs-shadow-lg); }
.category-icon {
    width: 64px; height: 64px; background: var(--bs-primary-light); border-radius: var(--bs-radius-lg);
    display: flex; align-items: center; justify-content: center; margin: 0 auto var(--bs-spacing-md);
    font-size: 1.75rem; color: var(--bs-primary); transition: all var(--bs-transition-base);
}
.category-card:hover .category-icon { background: var(--bs-primary); color: var(--bs-white); }
.category-card h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: var(--bs-spacing-xs); color: var(--bs-gray-800); }
.category-card .count { font-size: 0.75rem; color: var(--bs-gray-500); }

/* ============================================
   6. FEATURED PRODUCTS
   ============================================ */
.products-section { background: var(--bs-gray-100); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--bs-spacing-lg); }
.product-card {
    background: var(--bs-white); border-radius: var(--bs-radius-lg); overflow: hidden;
    box-shadow: var(--bs-shadow-sm); transition: all var(--bs-transition-base); position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--bs-shadow-lg); }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bs-gray-100); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--bs-transition-slow); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badges { position: absolute; top: var(--bs-spacing-md); left: var(--bs-spacing-md); display: flex; gap: var(--bs-spacing-xs); z-index: 2; }
.product-actions {
    position: absolute; top: var(--bs-spacing-md); right: var(--bs-spacing-md); display: flex;
    flex-direction: column; gap: var(--bs-spacing-sm); opacity: 0; transform: translateX(10px);
    transition: all var(--bs-transition-base); z-index: 2;
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
    width: 36px; height: 36px; border-radius: 50%; background: var(--bs-white); border: none;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    box-shadow: var(--bs-shadow-md); color: var(--bs-gray-700); transition: all var(--bs-transition-fast);
}
.product-action-btn:hover { background: var(--bs-primary); color: var(--bs-white); }
.product-info { padding: var(--bs-spacing-lg); }
.product-category { font-size: 0.75rem; color: var(--bs-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--bs-spacing-xs); }
.product-title { font-size: 1rem; font-weight: 600; color: var(--bs-gray-900); margin-bottom: var(--bs-spacing-sm); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--bs-spacing-sm); }
.product-price { display: flex; align-items: center; gap: var(--bs-spacing-sm); }
.price-current { font-size: 1.125rem; font-weight: 700; color: var(--bs-primary); }
.price-original { font-size: 0.875rem; color: var(--bs-gray-500); text-decoration: line-through; }
.product-rating { display: flex; align-items: center; gap: var(--bs-spacing-xs); font-size: 0.875rem; color: var(--bs-gray-600); }
.product-rating .stars { color: var(--bs-warning); }
.product-location { display: flex; align-items: center; gap: var(--bs-spacing-xs); font-size: 0.8125rem; color: var(--bs-gray-500); padding-top: var(--bs-spacing-sm); border-top: 1px solid var(--bs-gray-200); }
.product-location i { color: var(--bs-primary); }

/* ============================================
   7. BRANDS SECTION
   ============================================ */
.brands-section { background: var(--bs-white); }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--bs-spacing-lg); align-items: center; }
.brand-card {
    background: var(--bs-gray-100); border-radius: var(--bs-radius-md); padding: var(--bs-spacing-xl);
    display: flex; align-items: center; justify-content: center; height: 100px;
    transition: all var(--bs-transition-base); filter: grayscale(100%); opacity: 0.7;
}
.brand-card:hover { filter: grayscale(0%); opacity: 1; box-shadow: var(--bs-shadow-md); }
.brand-card img { max-height: 50px; width: auto; object-fit: contain; }

/* ============================================
   8. HOW TO BECOME A SELLER
   ============================================ */
.seller-section { background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%); }
.steps-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--bs-spacing-xl); position: relative; }
.steps-container::before {
    content: ''; position: absolute; top: 60px; left: 12.5%; right: 12.5%; height: 3px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-accent) 100%); z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-number {
    width: 80px; height: 80px; background: var(--bs-white); border: 4px solid var(--bs-primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; font-weight: 800; color: var(--bs-primary); margin: 0 auto var(--bs-spacing-lg);
    box-shadow: var(--bs-shadow-lg); position: relative;
}
.step-number::after { content: ''; position: absolute; inset: -8px; border: 2px dashed var(--bs-primary-light); border-radius: 50%; animation: spin 20s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.step-icon { font-size: 2.5rem; color: var(--bs-primary); margin-bottom: var(--bs-spacing-md); }
.step-card h3 { font-size: 1.125rem; margin-bottom: var(--bs-spacing-sm); }
.step-card p { font-size: 0.9375rem; color: var(--bs-gray-600); line-height: 1.6; }
.seller-cta { text-align: center; margin-top: var(--bs-spacing-3xl); }
.seller-cta p { font-size: 1.125rem; color: var(--bs-gray-600); margin-bottom: var(--bs-spacing-lg); }

/* ============================================
   9. FOOTER
   ============================================ */
.site-footer { background: var(--bs-gray-900); color: var(--bs-gray-400); padding-top: var(--bs-spacing-3xl); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: var(--bs-spacing-2xl); margin-bottom: var(--bs-spacing-3xl); }
.footer-brand .site-title { color: var(--bs-white); margin-bottom: var(--bs-spacing-md); }
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; margin-bottom: var(--bs-spacing-lg); }
.footer-social { display: flex; gap: var(--bs-spacing-md); }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: var(--bs-white); transition: all var(--bs-transition-fast);
}
.footer-social a:hover { background: var(--bs-primary); transform: translateY(-3px); }
.footer-column h4 { color: var(--bs-white); font-size: 1rem; margin-bottom: var(--bs-spacing-lg); font-weight: 600; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: var(--bs-spacing-sm); }
.footer-column a { color: var(--bs-gray-400); font-size: 0.9375rem; transition: color var(--bs-transition-fast); }
.footer-column a:hover { color: var(--bs-white); }
.footer-newsletter input {
    width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--bs-gray-700); border-radius: var(--bs-radius-md);
    background: var(--bs-gray-800); color: var(--bs-white); margin-bottom: var(--bs-spacing-md); font-size: 0.9375rem;
}
.footer-newsletter input::placeholder { color: var(--bs-gray-500); }
.footer-newsletter .btn { width: 100%; }
.footer-bottom { border-top: 1px solid var(--bs-gray-800); padding: var(--bs-spacing-lg) 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; }
.footer-payment { display: flex; gap: var(--bs-spacing-sm); align-items: center; }
.footer-payment img { height: 30px; width: auto; opacity: 0.8; }

/* ============================================
   10. WOO COMMERCE OVERRIDES
   ============================================ */
.woocommerce .products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--bs-spacing-lg); }
.woocommerce .product { background: var(--bs-white); border-radius: var(--bs-radius-lg); overflow: hidden; box-shadow: var(--bs-shadow-sm); transition: all var(--bs-transition-base); }
.woocommerce .product:hover { transform: translateY(-5px); box-shadow: var(--bs-shadow-lg); }
.woocommerce .product img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.woocommerce .product .woocommerce-loop-product__title { font-family: var(--bs-font-heading); font-size: 1rem; font-weight: 600; padding: var(--bs-spacing-md) var(--bs-spacing-lg) 0; color: var(--bs-gray-900); }
.woocommerce .product .price { padding: 0 var(--bs-spacing-lg); font-size: 1.125rem; font-weight: 700; color: var(--bs-primary); }
.woocommerce .product .price del { color: var(--bs-gray-500); font-weight: 400; font-size: 0.875rem; margin-right: var(--bs-spacing-sm); }
.woocommerce .product .button { margin: var(--bs-spacing-md) var(--bs-spacing-lg) var(--bs-spacing-lg); background: var(--bs-primary); color: var(--bs-white); border-radius: var(--bs-radius-md); font-weight: 600; transition: all var(--bs-transition-fast); }
.woocommerce .product .button:hover { background: var(--bs-primary-dark); }

.single-product .product { display: grid; grid-template-columns: 1fr 1fr; gap: var(--bs-spacing-3xl); background: var(--bs-white); padding: var(--bs-spacing-2xl); border-radius: var(--bs-radius-lg); }
.woocommerce-product-gallery { border-radius: var(--bs-radius-lg); overflow: hidden; }
.product-summary .product_title { font-size: 1.75rem; margin-bottom: var(--bs-spacing-md); }
.product-summary .price { font-size: 1.5rem; font-weight: 700; color: var(--bs-primary); margin-bottom: var(--bs-spacing-lg); }

/* ============================================
   11. DOKAN CUSTOMIZATIONS
   ============================================ */
.dokan-store-wrap { background: var(--bs-gray-100); padding: var(--bs-spacing-2xl) 0; }
.dokan-store-header { background: var(--bs-white); border-radius: var(--bs-radius-lg); overflow: hidden; box-shadow: var(--bs-shadow-md); margin-bottom: var(--bs-spacing-xl); }
.dokan-store-banner {
    height: 300px; background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    position: relative; display: flex; align-items: flex-end; padding: var(--bs-spacing-xl);
}
.dokan-store-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dokan-store-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); }
.store-info { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: var(--bs-spacing-lg); color: var(--bs-white); }
.store-avatar { width: 100px; height: 100px; border-radius: 50%; border: 4px solid var(--bs-white); overflow: hidden; background: var(--bs-white); flex-shrink: 0; }
.store-avatar img { width: 100%; height: 100%; object-fit: cover; }
.store-details h1 { color: var(--bs-white); font-size: 1.75rem; margin-bottom: var(--bs-spacing-xs); }
.store-meta { display: flex; gap: var(--bs-spacing-lg); font-size: 0.875rem; opacity: 0.9; }
.store-meta i { margin-right: var(--bs-spacing-xs); }
.dokan-store-tabs { background: var(--bs-white); border-bottom: 1px solid var(--bs-gray-200); display: flex; gap: var(--bs-spacing-xl); padding: 0 var(--bs-spacing-xl); }
.dokan-store-tabs a { padding: var(--bs-spacing-md) 0; font-weight: 600; color: var(--bs-gray-600); border-bottom: 3px solid transparent; transition: all var(--bs-transition-fast); }
.dokan-store-tabs a:hover, .dokan-store-tabs a.active { color: var(--bs-primary); border-bottom-color: var(--bs-primary); }
.dokan-store-content { padding: var(--bs-spacing-xl); background: var(--bs-white); }

.dokan-dashboard-wrap { background: var(--bs-gray-100); min-height: calc(100vh - var(--bs-header-height)); }
.dokan-dashboard-menu { background: var(--bs-white); border-radius: var(--bs-radius-lg); box-shadow: var(--bs-shadow-sm); overflow: hidden; }
.dokan-dashboard-menu ul { list-style: none; }
.dokan-dashboard-menu li a { display: flex; align-items: center; gap: var(--bs-spacing-md); padding: var(--bs-spacing-md) var(--bs-spacing-lg); color: var(--bs-gray-700); font-weight: 500; transition: all var(--bs-transition-fast); border-left: 3px solid transparent; }
.dokan-dashboard-menu li a:hover, .dokan-dashboard-menu li.active a { background: var(--bs-primary-light); color: var(--bs-primary); border-left-color: var(--bs-primary); }
.dokan-dashboard-menu li a i { font-size: 1.125rem; width: 24px; text-align: center; }
.dokan-dashboard-content { background: var(--bs-white); border-radius: var(--bs-radius-lg); box-shadow: var(--bs-shadow-sm); padding: var(--bs-spacing-xl); }
.dokan-dashboard-content h1 { font-size: 1.5rem; margin-bottom: var(--bs-spacing-xl); padding-bottom: var(--bs-spacing-md); border-bottom: 2px solid var(--bs-gray-200); }

/* ============================================
   12. AUTH PAGES (LOGIN / REGISTER)
   ============================================ */
.auth-page {
    min-height: calc(100vh - var(--bs-header-height)); display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bs-primary-light) 0%, var(--bs-gray-100) 100%); padding: var(--bs-spacing-2xl);
}
.auth-container { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; width: 100%; background: var(--bs-white); border-radius: var(--bs-radius-xl); overflow: hidden; box-shadow: var(--bs-shadow-xl); }
.auth-visual {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%); color: var(--bs-white);
    padding: var(--bs-spacing-3xl); display: flex; flex-direction: column; justify-content: center;
}
.auth-visual h2 { color: var(--bs-white); font-size: 2rem; margin-bottom: var(--bs-spacing-lg); }
.auth-visual p { opacity: 0.9; margin-bottom: var(--bs-spacing-xl); }
.auth-visual .features { list-style: none; }
.auth-visual .features li { display: flex; align-items: center; gap: var(--bs-spacing-md); margin-bottom: var(--bs-spacing-md); font-size: 0.9375rem; }
.auth-visual .features li i { width: 32px; height: 32px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; }
.auth-form { padding: var(--bs-spacing-3xl); display: flex; flex-direction: column; justify-content: center; }
.auth-form h2 { font-size: 1.75rem; margin-bottom: var(--bs-spacing-xs); }
.auth-form .subtitle { color: var(--bs-gray-600); margin-bottom: var(--bs-spacing-xl); }
.form-group { margin-bottom: var(--bs-spacing-lg); }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--bs-gray-700); margin-bottom: var(--bs-spacing-sm); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--bs-gray-200); border-radius: var(--bs-radius-md);
    font-size: 0.9375rem; transition: border-color var(--bs-transition-fast); background: var(--bs-gray-50);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--bs-primary); background: var(--bs-white); }
.form-group .hint { font-size: 0.75rem; color: var(--bs-gray-500); margin-top: var(--bs-spacing-xs); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--bs-spacing-md); }
.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--bs-spacing-lg); font-size: 0.875rem; }
.remember-me { display: flex; align-items: center; gap: var(--bs-spacing-sm); cursor: pointer; }
.remember-me input { width: 18px; height: 18px; accent-color: var(--bs-primary); }
.forgot-password { color: var(--bs-primary); font-weight: 500; }
.auth-form .btn { width: 100%; margin-bottom: var(--bs-spacing-lg); }
.auth-divider { display: flex; align-items: center; gap: var(--bs-spacing-md); margin-bottom: var(--bs-spacing-lg); color: var(--bs-gray-500); font-size: 0.875rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--bs-gray-200); }
.social-login { display: flex; gap: var(--bs-spacing-md); margin-bottom: var(--bs-spacing-lg); }
.social-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: var(--bs-spacing-sm); padding: 0.75rem; border: 2px solid var(--bs-gray-200); border-radius: var(--bs-radius-md); background: var(--bs-white); cursor: pointer; font-weight: 500; transition: all var(--bs-transition-fast); }
.social-btn:hover { border-color: var(--bs-primary); background: var(--bs-primary-light); }
.auth-switch { text-align: center; font-size: 0.9375rem; color: var(--bs-gray-600); }
.auth-switch a { font-weight: 600; }

.seller-registration .auth-container { max-width: 800px; }
.seller-registration .auth-form { padding: var(--bs-spacing-2xl); }
.seller-type-selector { display: grid; grid-template-columns: 1fr 1fr; gap: var(--bs-spacing-md); margin-bottom: var(--bs-spacing-xl); }
.seller-type-card { border: 2px solid var(--bs-gray-200); border-radius: var(--bs-radius-lg); padding: var(--bs-spacing-lg); text-align: center; cursor: pointer; transition: all var(--bs-transition-fast); }
.seller-type-card:hover, .seller-type-card.active { border-color: var(--bs-primary); background: var(--bs-primary-light); }
.seller-type-card i { font-size: 2rem; color: var(--bs-primary); margin-bottom: var(--bs-spacing-md); }
.seller-type-card h4 { font-size: 1rem; margin-bottom: var(--bs-spacing-xs); }
.seller-type-card p { font-size: 0.8125rem; color: var(--bs-gray-600); }

/* ============================================
   13. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .mega-menu { width: 800px; grid-template-columns: repeat(3, 1fr); }
    .steps-container { grid-template-columns: repeat(2, 1fr); }
    .steps-container::before { display: none; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto var(--bs-spacing-xl); }
    .hero-stats { justify-content: center; }
    .hero-image { display: none; }
    .mega-menu { display: none; }
    .mobile-menu-toggle { display: block; }
    .main-navigation { position: fixed; top: var(--bs-header-height); left: 0; right: 0; bottom: 0; background: var(--bs-white); flex-direction: column; padding: var(--bs-spacing-xl); transform: translateX(-100%); transition: transform var(--bs-transition-base); }
    .main-navigation.active { transform: translateX(0); }
    .nav-menu { flex-direction: column; width: 100%; }
    .header-search { display: none; }
    .auth-container { grid-template-columns: 1fr; }
    .auth-visual { display: none; }
    .single-product .product { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    :root { --bs-header-height: 60px; }
    .section-padding { padding: var(--bs-spacing-2xl) 0; }
    .section-header h2 { font-size: 1.75rem; }
    .hero-content h1 { font-size: 2rem; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-container { grid-template-columns: 1fr; }
    .step-number::after { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: var(--bs-spacing-md); text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .seller-type-selector { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: var(--bs-spacing-md); }
    .header-actions { gap: var(--bs-spacing-sm); }
    .sell-btn { display: none; }
}

/* ============================================
   14. ANIMATIONS & UTILITIES
   ============================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.animate-pulse { animation: pulse 2s ease infinite; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bs-gray-100); }
::-webkit-scrollbar-thumb { background: var(--bs-gray-400); border-radius: var(--bs-radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--bs-gray-500); }
::selection { background: var(--bs-primary); color: var(--bs-white); }

/* ============================================
   HERO BANNER SLIDER
   ============================================ */
.hero-slider-section {
    position: relative;
}

.hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: var(--bs-primary-dark);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
}

.hero-slide-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 77, 181, 0.85) 0%, rgba(15, 45, 107, 0.75) 50%, rgba(26, 77, 181, 0.6) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--bs-white);
    padding: var(--bs-spacing-xl) 0;
}

.hero-slide-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bs-white);
    margin-bottom: var(--bs-spacing-lg);
    line-height: 1.1;
    animation: slideInLeft 0.8s ease forwards;
    opacity: 0;
}

.hero-slide.active .hero-slide-content h1 {
    animation-delay: 0.2s;
}

.hero-slide-content h1 span {
    color: var(--bs-accent);
}

.hero-slide-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--bs-spacing-xl);
    line-height: 1.6;
    animation: slideInLeft 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.hero-slide.active .hero-slide-content p {
    animation-delay: 0.4s;
}

.hero-slide-content .btn {
    animation: slideInLeft 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

.hero-slide.active .hero-slide-content .btn {
    animation-delay: 0.6s;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--bs-white);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--bs-accent);
    border-color: var(--bs-accent);
}

.slider-prev {
    left: var(--bs-spacing-xl);
}

.slider-next {
    right: var(--bs-spacing-xl);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: var(--bs-spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--bs-spacing-sm);
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--bs-accent);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: var(--bs-white);
}

/* Stats Bar */
.hero-stats-bar {
    background: var(--bs-primary-dark);
    padding: var(--bs-spacing-lg) 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stats-bar .hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--bs-spacing-3xl);
}

.hero-stats-bar .hero-stat {
    text-align: center;
}

.hero-stats-bar .number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--bs-accent);
    display: block;
}

.hero-stats-bar .label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-slider {
        height: 450px;
    }
    .hero-slide-content h1 {
        font-size: 2.25rem;
    }
    .slider-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    .hero-slide-content h1 {
        font-size: 1.75rem;
    }
    .hero-slide-content p {
        font-size: 1rem;
    }
    .hero-stats-bar .hero-stats {
        gap: var(--bs-spacing-xl);
    }
    .hero-stats-bar .number {
        font-size: 1.25rem;
    }
}
