/* ============================================
   Battery Ecommerce - Energy Theme
   Red/Orange with Dark Accents
   ============================================ */

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --accent: #ff6b35;
    --accent-light: #ff8c42;
    --dark: #1a1a2e;
    --dark-mid: #16213e;
    --dark-light: #1f2b47;
    --text: #2d2d2d;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg: #f8f7f4;
    --bg-card: #ffffff;
    --bg-warm: #fef7f0;
    --border: #e5e5e5;
    --border-light: #f0f0f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

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

/* ---- TOP BAR ---- */
.top-bar {
    background: var(--dark);
    color: #aaa;
    font-size: 12px;
    padding: 6px 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-left span, .top-right a { margin-right: 16px; }
.top-left i, .top-right i { margin-right: 4px; color: var(--accent); }
.top-right a { color: #ccc; }
.top-right a:hover { color: var(--accent); }

/* ---- HEADER ---- */
.main-header {
    background: #fff;
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-icon { font-size: 28px; }
.logo-text { font-size: 22px; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }

.search-bar {
    flex: 1;
    display: flex;
    max-width: 520px;
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.search-bar:focus-within { border-color: var(--accent); }
.search-bar input {
    flex: 1;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    outline: none;
    background: transparent;
}
.search-bar button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 15px;
}
.search-bar button:hover { background: var(--primary-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-btn {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    position: relative;
}
.header-btn:hover { background: var(--bg-warm); color: var(--primary); }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text);
}

/* ---- CATEGORY NAV ---- */
.cat-nav {
    background: var(--dark);
    overflow-x: auto;
}
.cat-nav-list {
    display: flex;
    gap: 0;
    white-space: nowrap;
}
.cat-nav-list a {
    display: block;
    padding: 12px 20px;
    color: #ccc;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}
.cat-nav-list a:hover, .cat-nav-list a.active {
    color: #fff;
    background: rgba(255,107,53,0.1);
    border-bottom-color: var(--accent);
}

/* ---- FLASH MESSAGES ---- */
.flash-msg {
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
.flash-success { background: #ecfdf5; color: #065f46; }
.flash-error { background: #fef2f2; color: #991b1b; }
.flash-info { background: #eff6ff; color: #1e40af; }

/* ---- HERO BANNER ---- */
.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 50%, #2d1810 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(230,57,70,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-tag {
    display: inline-block;
    background: rgba(255,107,53,0.2);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.hero-content h1 {
    color: #fff;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p { color: #aab; font-size: 17px; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 15px rgba(230,57,70,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(230,57,70,0.4); }
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.btn-dark {
    background: var(--dark);
    color: #fff;
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---- SECTIONS ---- */
.section { padding: 50px 0; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 12px;
}
.section-header h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.section-header h2 span { color: var(--primary); }
.section-header a { color: var(--primary); font-size: 14px; font-weight: 600; }
.section-header a:hover { color: var(--accent); }

/* ---- CATEGORY CARDS ---- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.cat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.cat-card .cat-icon {
    width: 60px; height: 60px;
    margin: 0 auto 12px;
    background: var(--bg-warm);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
}
.cat-card h3 { font-size: 14px; font-weight: 600; color: var(--text); }
.cat-card p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ---- PRODUCT GRID ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border-light);
    position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.product-card .badge-row {
    position: absolute; top: 12px; left: 12px; right: 12px;
    display: flex; justify-content: space-between; z-index: 2;
}
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}
.badge-discount { background: var(--primary); color: #fff; }
.badge-new { background: var(--success); color: #fff; }
.badge-out { background: var(--text-muted); color: #fff; }

.product-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 20px;
    overflow: hidden;
}
.product-img img { max-height: 160px; object-fit: contain; transition: transform 0.4s; }
.product-card:hover .product-img img { transform: scale(1.08); }

.product-info { padding: 16px; }
.product-brand { font-size: 11px; color: var(--text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 4px; }
.product-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-name a:hover { color: var(--primary); }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.product-rating .stars { color: var(--warning); font-size: 12px; }
.product-rating span { font-size: 12px; color: var(--text-muted); }

.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.price-current { font-size: 20px; font-weight: 800; color: var(--primary); font-family: var(--font-mono); }
.price-mrp { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }

.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; font-size: 12px; padding: 8px 12px; }

/* ---- PRODUCT DETAIL ---- */
.product-detail { padding: 40px 0; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pd-gallery { position: relative; }
.pd-main-img {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border: 1px solid var(--border);
}
.pd-main-img img { max-height: 350px; object-fit: contain; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.pd-thumb {
    width: 70px; height: 70px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: border-color 0.2s;
}
.pd-thumb.active, .pd-thumb:hover { border-color: var(--primary); }
.pd-thumb img { max-height: 55px; object-fit: contain; }

.pd-info h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 8px; }
.pd-info .pd-brand { font-size: 13px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 16px; }
.pd-price-box {
    background: var(--bg-warm);
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.pd-price-box .price-current { font-size: 30px; }
.pd-price-box .save-tag { color: var(--success); font-size: 14px; font-weight: 600; }

.pd-specs { margin-bottom: 20px; }
.pd-specs table { width: 100%; }
.pd-specs td { padding: 8px 12px; font-size: 14px; border-bottom: 1px solid var(--border-light); }
.pd-specs td:first-child { color: var(--text-muted); width: 140px; font-weight: 500; }

.pd-qty { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-control button {
    width: 38px; height: 38px;
    background: var(--bg);
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.qty-control input {
    width: 50px; height: 38px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-weight: 600;
}

.pd-actions { display: flex; gap: 12px; margin-bottom: 24px; }

.pd-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}
.pd-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
}
.pd-feature i { color: var(--accent); font-size: 18px; }

/* ---- TABS ---- */
.tabs { margin: 40px 0; }
.tab-btns { display: flex; gap: 0; border-bottom: 2px solid var(--border); }
.tab-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; padding: 24px 0; }
.tab-content.active { display: block; }

/* ---- CART PAGE ---- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 12px; font-size: 13px; color: var(--text-muted); border-bottom: 2px solid var(--border); }
.cart-table td { padding: 16px 12px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 16px; }
.cart-product-img { width: 70px; height: 70px; background: var(--bg); border-radius: var(--radius); padding: 4px; }
.cart-product-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-product-name { font-size: 14px; font-weight: 600; }
.cart-remove { color: var(--danger); font-size: 13px; cursor: pointer; border: none; background: none; }
.cart-remove:hover { text-decoration: underline; }

.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
.cart-summary {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
    height: fit-content;
}
.cart-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.summary-row.total { font-size: 18px; font-weight: 700; border-top: 2px solid var(--border); padding-top: 16px; margin-top: 8px; }
.summary-row.total .val { color: var(--primary); font-family: var(--font-mono); }

.coupon-box { display: flex; gap: 8px; margin: 16px 0; }
.coupon-box input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; }
.coupon-box button { padding: 10px 18px; }

/* ---- CHECKOUT ---- */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 30px; }
.form-section { margin-bottom: 24px; }
.form-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-light); margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form-full { grid-column: 1 / -1; }

.payment-options { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}
.payment-option:hover, .payment-option.selected { border-color: var(--primary); background: var(--bg-warm); }
.payment-option input { accent-color: var(--primary); }
.payment-option .pm-name { font-weight: 600; font-size: 14px; }
.payment-option .pm-desc { font-size: 12px; color: var(--text-muted); }

/* ---- AUTH PAGES ---- */
.auth-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-box {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-md);
}
.auth-box h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.auth-box .auth-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-divider { text-align: center; margin: 20px 0; color: var(--text-muted); font-size: 13px; }

/* ---- MY ORDERS ---- */
.order-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.order-number { font-weight: 700; font-family: var(--font-mono); font-size: 14px; }
.order-status {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}
.status-pending { background: #fef3cd; color: #856404; }
.status-confirmed { background: #d1e7dd; color: #0f5132; }
.status-processing { background: #cff4fc; color: #055160; }
.status-shipped { background: #e0d4f5; color: #432874; }
.status-delivered { background: #d1e7dd; color: #0f5132; }
.status-cancelled { background: #f8d7da; color: #842029; }

.order-items { margin-top: 12px; }
.order-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border-light); }
.order-item-img { width: 50px; height: 50px; background: var(--bg); border-radius: var(--radius-sm); padding: 4px; }
.order-item-img img { width: 100%; height: 100%; object-fit: contain; }

/* ---- SHOP SIDEBAR ---- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; }
.sidebar {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border);
}
.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.filter-option input { accent-color: var(--primary); }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 90px; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.shop-toolbar .results-count { font-size: 14px; color: var(--text-muted); }
.shop-toolbar select { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; }

/* ---- PAGINATION ---- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination a, .pagination span {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.pagination a:hover { background: var(--bg-warm); border-color: var(--accent); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- FEATURES BAR ---- */
.features-bar { background: var(--bg-card); border-top: 1px solid var(--border-light); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
    border-right: 1px solid var(--border-light);
}
.feature-item:last-child { border-right: none; }
.feature-item i { font-size: 28px; color: var(--accent); }
.feature-item h4 { font-size: 14px; font-weight: 600; }
.feature-item p { font-size: 12px; color: var(--text-muted); }

/* ---- BRANDS SECTION ---- */
.brands-slider { display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 20px 0; }
.brand-logo {
    padding: 12px 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s;
}
.brand-logo:hover { border-color: var(--accent); color: var(--text); box-shadow: var(--shadow-sm); }

/* ---- FOOTER ---- */
.site-footer {
    background: var(--dark);
    color: #aaa;
    padding: 50px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-col h3 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col p { font-size: 13px; line-height: 1.7; margin-bottom: 8px; }
.footer-col p i { color: var(--accent); margin-right: 8px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: #aaa; font-size: 13px; }
.footer-col ul a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #aaa;
    transition: all 0.3s;
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ---- EMPTY STATE ---- */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 60px; color: var(--border); margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ---- BREADCRUMB ---- */
.breadcrumb { padding: 16px 0; }
.breadcrumb ul { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li:last-child { color: var(--text); font-weight: 500; }

/* ---- ADMIN STYLES ---- */
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar {
    background: var(--dark);
    color: #fff;
    padding: 20px 0;
}
.admin-sidebar .admin-logo { padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 10px; }
.admin-sidebar .admin-logo h2 { font-size: 18px; }
.admin-sidebar .admin-logo span { font-size: 12px; color: var(--accent); }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #aab;
    font-size: 14px;
    transition: all 0.2s;
}
.admin-nav a:hover, .admin-nav a.active {
    background: rgba(255,107,53,0.1);
    color: #fff;
    border-left: 3px solid var(--accent);
}
.admin-nav a i { width: 20px; text-align: center; }
.admin-content { padding: 24px; background: var(--bg); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-header h1 { font-size: 24px; font-weight: 700; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
}
.stat-card .stat-value { font-size: 28px; font-weight: 800; font-family: var(--font-mono); }
.stat-card .stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.admin-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table th { padding: 12px 16px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); background: var(--bg); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--border-light); }
.admin-table tr:hover td { background: var(--bg); }
.admin-table .actions { display: flex; gap: 8px; }
.admin-table .actions a { font-size: 14px; padding: 4px 8px; border-radius: var(--radius-sm); }
.admin-table .actions .edit { color: var(--accent); }
.admin-table .actions .delete { color: var(--danger); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .shop-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .pd-grid { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .search-bar { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content h1 { font-size: 30px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-item { border-bottom: 1px solid var(--border-light); }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .pd-features { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .cart-table .hide-mobile { display: none; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-img { height: 150px; }
    .product-info { padding: 10px; }
    .price-current { font-size: 16px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
