/**
 * ============================================================
 * MACHPOWERTOOLS.COM — Design System v2.0
 * Glacier Glassmorphism × Mach Cobalt Industrial Brand
 * ============================================================
 * Brand DNA (extracted from official MachPower Tools logo):
 *   — Cobalt Royal Blue  : #1e56c9  (logo body fill)
 *   — Electric Sky Blue  : #38bdf8  (logo highlight stroke)
 *   — Polar Frost White  : #e8f4ff  (logo text face)
 *   — Deep Obsidian      : #0b0f19  (dark canvas)
 *
 * File: assets/css/machpower-v2.css
 * Author: MachPower Tools Design System
 * Zero external node processors – Pure Vanilla CSS
 * Browser-cached for 1 year via .htaccess Expires header
 * ============================================================
 */

/* ============================================================
   0. GOOGLE FONTS IMPORT — Inter + Outfit
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   1. DESIGN TOKENS — CSS Custom Properties
   ============================================================ */
:root {
    /* --- Brand Palette (from MachPower Tools logo) --- */
    --brand-cobalt:        #1e56c9;   /* Logo primary cobalt blue */
    --brand-cobalt-dark:   #1a47a8;   /* Darker cobalt for depth */
    --brand-cobalt-light:  #2d6be4;   /* Lighter cobalt hover */
    --brand-sky:           #38bdf8;   /* Logo electric sky-blue highlight */
    --brand-sky-hover:     #60cafc;   /* Sky hover — slightly lighter */
    --brand-sky-dim:       rgba(56, 189, 248, 0.14); /* Glow tint */
    --brand-frost:         #e8f4ff;   /* Logo polar frost white text */

    /* --- Canvas & Surface Layers --- */
    --canvas:              #0b0f19;   /* Deep Industrial Obsidian */
    --surface-1:           rgba(14, 20, 36, 0.82);  /* Deepest card panel */
    --surface-2:           rgba(17, 27, 48, 0.72);  /* Standard card glass */
    --surface-3:           rgba(22, 34, 60, 0.60);  /* Subtle hover surface */
    --surface-header:      rgba(10, 14, 26, 0.96);  /* Sticky header glass */
    --surface-subnav:      rgba(8, 12, 22, 0.98);   /* Sub-nav solid dark */

    /* --- Glass Borders --- */
    --border-dim:          rgba(56, 189, 248, 0.12); /* Rest border */
    --border-default:      rgba(56, 189, 248, 0.20); /* Standard border */
    --border-hover:        rgba(56, 189, 248, 0.45); /* Hover glow border */
    --border-cobalt:       rgba(30, 86, 201, 0.35);  /* Cobalt panel border */
    --border-cobalt-hover: rgba(45, 107, 228, 0.60);

    /* --- Primary / CTA (Sky Blue) --- */
    --primary:             #38bdf8;
    --primary-hover:       #60cafc;
    --primary-dark:        #0ea5e9;
    --primary-glow:        rgba(56, 189, 248, 0.28);
    --primary-light:       rgba(56, 189, 248, 0.12);
    --primary-btn-text:    #04111d;   /* Dark text on cyan button */

    /* --- Secondary (Mach Cobalt) --- */
    --secondary:           #1e56c9;
    --secondary-hover:     #2d6be4;
    --secondary-light:     rgba(30, 86, 201, 0.18);

    /* --- Accent: Safety Amber (B2B pricing, badges, savings) --- */
    --accent:              #f59e0b;
    --accent-hover:        #fbbf24;
    --accent-dark:         #d97706;
    --accent-light:        rgba(245, 158, 11, 0.14);

    /* --- Status Telemetry --- */
    --green:               #10b981;   /* In Stock, GST Verified */
    --green-hover:         #34d399;
    --green-light:         rgba(16, 185, 129, 0.14);
    --amber:               #f59e0b;   /* Reorder, tier warnings */
    --red:                 #ef4444;   /* Low stock, errors */
    --red-light:           rgba(239, 68, 68, 0.14);

    /* --- Typography --- */
    --text-primary:        #f0f6ff;   /* Brand frost white — headings */
    --text-body:           #dae8f4;   /* Soft blue-white body */
    --text-muted:          #8ba4c0;   /* Muted telemetry grey-blue */
    --text-faint:          #4a6080;   /* Ultra-muted labels */

    /* --- Typography Scale --- */
    --font-display:        'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:           'JetBrains Mono', 'Cascadia Code', 'Consolas', monospace;

    /* --- Geometry --- */
    --radius-xs:   4px;
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-pill: 9999px;

    /* --- Spacing --- */
    --space-1:  4px;
    --space-2:  8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-5:  20px;
    --space-6:  24px;
    --space-8:  32px;
    --space-10: 40px;
    --space-12: 48px;

    /* --- Shadows --- */
    --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md:    0 8px 32px rgba(0, 0, 0, 0.45);
    --shadow-lg:    0 16px 48px rgba(0, 0, 0, 0.55);
    --shadow-glow:  0 0 20px rgba(56, 189, 248, 0.18);
    --shadow-cobalt: 0 4px 20px rgba(30, 86, 201, 0.30);

    /* --- Transitions --- */
    --ease-out-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-standard:   cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s var(--ease-standard);
    --transition-base: 0.22s var(--ease-standard);
    --transition-slow: 0.35s var(--ease-out-spring);

    /* --- Z-Index Stack --- */
    --z-base:    1;
    --z-sticky:  100;
    --z-subnav:  90;
    --z-drawer:  300;
    --z-overlay: 290;
    --z-toast:   500;
    --z-modal:   400;

    /* --- Layout --- */
    --max-width:    1320px;
    --header-h:     64px;
    --subnav-h:     44px;
    --topbar-h:     34px;
    --bottom-nav-h: 60px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background-color: var(--canvas);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: clamp(0.875rem, 0.85rem + 0.2vw, 1rem);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--primary-hover); }

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
}

input, textarea, select {
    font-family: var(--font-body);
    font-size: 0.9rem;
}

/* ============================================================
   3. ANNOUNCEMENT TOP BAR
   ============================================================ */
.v2-topbar {
    background: linear-gradient(90deg, #060c1a 0%, #0d1630 50%, #060c1a 100%);
    border-bottom: 1px solid rgba(30, 86, 201, 0.30);
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: var(--z-sticky);
}
.v2-topbar-inner {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
}
.v2-topbar-marquee {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    overflow: hidden;
}
.v2-topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.v2-topbar-badge.cobalt {
    background: var(--secondary-light);
    color: var(--brand-sky);
    border: 1px solid rgba(30, 86, 201, 0.35);
}
.v2-topbar-badge.amber {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.30);
}
.v2-topbar-badge.green {
    background: var(--green-light);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.v2-topbar-right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}
.v2-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 1px solid var(--border-hover);
    background: var(--primary-light);
    color: var(--primary);
    letter-spacing: 0.03em;
}
.v2-mode-toggle:hover {
    background: var(--primary);
    color: var(--primary-btn-text);
}
.v2-mode-toggle.b2b-active {
    background: var(--secondary-light);
    border-color: var(--border-cobalt);
    color: var(--brand-sky);
}

/* ============================================================
   4. STICKY HEADER — Glassmorphic Navbar
   ============================================================ */
.v2-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: var(--surface-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-default);
    height: var(--header-h);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5), 0 0 1px rgba(56, 189, 248, 0.10);
}
.v2-header-inner {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-4);
}

/* --- Logo --- */
.v2-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    outline: none;
}
.v2-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    /* Subtle drop-shadow that picks up the logo cobalt+sky palette */
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.35))
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.50));
    transition: filter var(--transition-base), transform var(--transition-base);
}
.v2-logo:hover .v2-logo-img {
    filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.55))
            drop-shadow(0 2px 8px rgba(0, 0, 0, 0.60));
    transform: translateY(-1px);
}
/* Mobile: slightly smaller */
@media (max-width: 640px) {
    .v2-logo-img { height: 32px; }
}

/* --- Search Bar --- */
.v2-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}
.v2-search-input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    background: rgba(22, 34, 60, 0.75);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}
.v2-search-input::placeholder { color: var(--text-faint); }
.v2-search-input:focus {
    border-color: var(--border-hover);
    background: rgba(17, 27, 48, 0.90);
    box-shadow: 0 0 0 3px var(--primary-glow), var(--shadow-sm);
}
.v2-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}
.v2-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 14px;
    background: var(--secondary);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}
.v2-search-btn:hover { background: var(--brand-cobalt-light); }

/* --- Header Actions --- */
.v2-header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}
.v2-hbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 1px solid transparent;
    white-space: nowrap;
    position: relative;
    color: var(--text-body);
}
.v2-hbtn:hover { color: var(--text-primary); }

.v2-hbtn-ghost {
    background: transparent;
    border-color: var(--border-dim);
}
.v2-hbtn-ghost:hover {
    background: var(--surface-3);
    border-color: var(--border-default);
}
.v2-hbtn-sky {
    background: var(--primary-light);
    border-color: var(--border-default);
    color: var(--primary);
}
.v2-hbtn-sky:hover {
    background: var(--primary);
    color: var(--primary-btn-text);
    box-shadow: var(--shadow-glow);
}
.v2-hbtn-cobalt {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff !important;
    font-weight: 700;
}
.v2-hbtn-cobalt:hover {
    background: var(--secondary-hover);
    box-shadow: var(--shadow-cobalt);
}
.v2-hbtn-wa {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
    color: var(--green);
}
.v2-hbtn-wa:hover {
    background: var(--green);
    color: #fff;
}
/* Cart badge */
.v2-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--canvas);
}

/* Mobile hamburger */
.v2-hamburger {
    display: none;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid var(--border-dim);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}
.v2-hamburger:hover {
    background: var(--surface-3);
    border-color: var(--border-default);
}
@media (max-width: 768px) {
    .v2-hamburger { display: flex; align-items: center; }
    .v2-header-inner { grid-template-columns: auto 1fr auto; gap: var(--space-2); }
    .v2-search { max-width: none; }
    /* Hide desktop-only header nav items on mobile */
    .v2-hbtn-desktop-only { display: none; }
}

/* ============================================================
   5. SUB-NAV — Department Mega Menu Bar
   ============================================================ */
.v2-subnav {
    background: var(--surface-subnav);
    border-bottom: 1px solid rgba(30, 86, 201, 0.20);
    height: var(--subnav-h);
    position: sticky;
    top: var(--header-h);
    z-index: var(--z-subnav);
    overflow: hidden;
}
.v2-subnav-inner {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.v2-subnav-inner::-webkit-scrollbar { display: none; }

.v2-subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}
.v2-subnav-link:hover {
    color: var(--text-primary);
    background: var(--surface-3);
    border-color: var(--border-dim);
}
.v2-subnav-link.active {
    color: var(--primary);
    background: var(--primary-light);
    border-color: var(--border-default);
}
/* Department mega trigger */
.v2-dept-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    background: var(--secondary);
    border: 1px solid var(--secondary-hover);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}
.v2-dept-trigger:hover {
    background: var(--secondary-hover);
    box-shadow: var(--shadow-cobalt);
}
.v2-subnav-divider {
    width: 1px;
    height: 20px;
    background: var(--border-dim);
    flex-shrink: 0;
}

/* ============================================================
   6. MEGA DROPDOWN — Category Tree
   ============================================================ */
.v2-mega-wrap {
    position: relative;
}
.v2-mega-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 720px;
    max-width: calc(100vw - 32px);
    background: var(--surface-1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-cobalt);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--shadow-cobalt);
    z-index: 200;
    overflow: hidden;
    animation: megaFadeIn 0.2s var(--ease-out-spring);
}
@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.v2-mega-wrap:hover .v2-mega-dropdown,
.v2-mega-wrap:focus-within .v2-mega-dropdown {
    display: flex;
}
.v2-mega-left {
    width: 200px;
    flex-shrink: 0;
    background: rgba(10, 15, 28, 0.60);
    border-right: 1px solid var(--border-dim);
    padding: var(--space-3) 0;
}
.v2-mega-dept {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
}
.v2-mega-dept:hover {
    color: var(--primary);
    background: var(--primary-light);
    border-left-color: var(--primary);
}
.v2-mega-dept-count {
    font-size: 10px;
    background: var(--surface-3);
    color: var(--text-faint);
    padding: 2px 7px;
    border-radius: var(--radius-pill);
}
.v2-mega-right {
    flex: 1;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.v2-mega-heading {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    margin-bottom: var(--space-2);
}
.v2-mega-subgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
}
.v2-mega-subcard {
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dim);
    background: var(--surface-3);
    text-decoration: none;
    transition: all var(--transition-base);
}
.v2-mega-subcard:hover {
    border-color: var(--border-hover);
    background: var(--primary-light);
    transform: translateY(-1px);
}
.v2-mega-subcard-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-body);
    line-height: 1.3;
}
.v2-mega-subcard:hover .v2-mega-subcard-title { color: var(--primary); }
.v2-mega-subcard-count {
    font-size: 10px;
    color: var(--text-faint);
    margin-top: 2px;
}
/* Brand pills strip in mega */
.v2-mega-brands {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-dim);
}
.v2-brand-pill-sm {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    background: var(--surface-3);
    color: var(--text-muted);
    border: 1px solid var(--border-dim);
    text-decoration: none;
    transition: all var(--transition-fast);
}
.v2-brand-pill-sm:hover {
    background: var(--secondary-light);
    color: var(--brand-sky);
    border-color: var(--border-cobalt);
}

/* ============================================================
   7. GLACIER GLASS CARD — Base Component
   ============================================================ */
.v2-card {
    background: var(--surface-2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition:
        transform var(--transition-slow),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}
.v2-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.v2-card.no-hover:hover {
    transform: none;
    border-color: var(--border-dim);
    box-shadow: var(--shadow-md);
}

/* ============================================================
   8. PRODUCT CARD
   ============================================================ */
.v2-product-card {
    background: var(--surface-2);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition:
        transform var(--transition-slow),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
    box-shadow: var(--shadow-sm);
}
.v2-product-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), 0 0 24px rgba(56, 189, 248, 0.12);
}

/* Image area */
.v2-product-img-wrap {
    position: relative;
    background: rgba(10, 15, 28, 0.70);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.v2-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform var(--transition-slow);
}
.v2-product-card:hover .v2-product-img-wrap img {
    transform: scale(1.04);
}

/* Stock badge */
.v2-stock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.03em;
}
.v2-stock-badge.in-stock {
    background: rgba(16, 185, 129, 0.18);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.v2-stock-badge.low-stock {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.v2-stock-badge.out-of-stock {
    background: var(--red-light);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.30);
}

/* Brand pill */
.v2-brand-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-xs);
    background: rgba(245, 158, 11, 0.18);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.35);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Product info */
.v2-product-info {
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex: 1;
}
.v2-product-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-display);
}
/* Retail price */
.v2-price-retail {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.v2-price-retail .strike {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-faint);
    text-decoration: line-through;
}
.v2-price-incl {
    font-size: 10.5px;
    color: var(--text-faint);
    font-weight: 500;
}
/* B2B price hint */
.v2-price-b2b {
    font-size: 10.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}
.v2-price-b2b .itc-badge {
    font-size: 9.5px;
    padding: 1px 6px;
    border-radius: 3px;
    background: var(--green-light);
    color: var(--green);
    font-weight: 700;
}
/* Rating row */
.v2-rating-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--text-muted);
}
.v2-stars {
    color: #fbbf24;
    letter-spacing: -1px;
    font-size: 12px;
}

/* Product card actions */
.v2-product-actions {
    display: flex;
    gap: var(--space-2);
    padding: 0 var(--space-3) var(--space-3);
    margin-top: auto;
}
.v2-btn-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    background: var(--primary);
    color: var(--primary-btn-text);
}
.v2-btn-cart:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}
.v2-btn-cart:active { transform: scale(0.98); }

.v2-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 11px;
    border-radius: var(--radius-sm);
    background: var(--green-light);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--green);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 13px;
}
.v2-btn-wa:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

/* ============================================================
   9. PRODUCT GRID LAYOUTS
   ============================================================ */
.v2-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-4);
}
@media (max-width: 480px) {
    .v2-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
}

/* ============================================================
   10. CATEGORY PILLS BAR (Horizontal Scroll)
   ============================================================ */
.v2-pills-bar {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-3) 0;
    -webkit-overflow-scrolling: touch;
}
.v2-pills-bar::-webkit-scrollbar { display: none; }

.v2-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid var(--border-dim);
    background: var(--surface-2);
    color: var(--text-muted);
    transition: all var(--transition-base);
    flex-shrink: 0;
}
.v2-pill:hover {
    border-color: var(--border-default);
    color: var(--text-primary);
    background: var(--surface-3);
}
.v2-pill.active {
    background: var(--primary-light);
    border-color: var(--border-hover);
    color: var(--primary);
    font-weight: 700;
}
.v2-pill-count {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 6px;
    border-radius: var(--radius-pill);
    color: var(--text-faint);
}
.v2-pill.active .v2-pill-count {
    background: var(--primary-glow);
    color: var(--primary);
}

/* ============================================================
   11. BUTTONS — Global System
   ============================================================ */
.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Touch target */
}
.v2-btn:active { transform: scale(0.98); }

/* Sky / Primary */
.v2-btn-primary {
    background: var(--primary);
    color: var(--primary-btn-text);
    box-shadow: 0 2px 12px rgba(56, 189, 248, 0.25);
}
.v2-btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-glow);
    color: var(--primary-btn-text);
}

/* Cobalt / Secondary */
.v2-btn-secondary {
    background: var(--secondary);
    color: #fff;
    box-shadow: var(--shadow-cobalt);
}
.v2-btn-secondary:hover {
    background: var(--secondary-hover);
    color: #fff;
}

/* Amber / Accent */
.v2-btn-accent {
    background: var(--accent);
    color: #0f172a;
}
.v2-btn-accent:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

/* WhatsApp */
.v2-btn-whatsapp {
    background: #128c7e;
    color: #fff;
}
.v2-btn-whatsapp:hover {
    background: #25d366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

/* Outline variants */
.v2-btn-outline-sky {
    background: transparent;
    border: 1.5px solid var(--border-default);
    color: var(--primary);
}
.v2-btn-outline-sky:hover {
    background: var(--primary-light);
    border-color: var(--border-hover);
    color: var(--primary);
}
.v2-btn-outline-amber {
    background: transparent;
    border: 1.5px solid rgba(245, 158, 11, 0.40);
    color: var(--accent);
}
.v2-btn-outline-amber:hover {
    background: var(--accent-light);
    border-color: rgba(245, 158, 11, 0.65);
}

/* Ghost */
.v2-btn-ghost {
    background: var(--surface-3);
    color: var(--text-muted);
    border: 1px solid var(--border-dim);
}
.v2-btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-default);
}

/* Sizes */
.v2-btn-sm { padding: 7px 14px; font-size: 12px; min-height: 36px; }
.v2-btn-lg { padding: 13px 28px; font-size: 15px; min-height: 50px; }
.v2-btn-full { width: 100%; }

/* ============================================================
   12. FORM ELEMENTS
   ============================================================ */
.v2-input {
    width: 100%;
    padding: 11px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.v2-input::placeholder { color: var(--text-faint); }
.v2-input:focus {
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: rgba(17, 27, 48, 0.90);
}
.v2-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 6px;
}
.v2-select {
    width: 100%;
    padding: 10px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238ba4c0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    transition: border-color var(--transition-base);
}
.v2-select:focus {
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
/* Toggle switch */
.v2-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.v2-toggle input { opacity: 0; width: 0; height: 0; }
.v2-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--surface-3);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-base);
}
.v2-toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all var(--transition-base);
}
.v2-toggle input:checked + .v2-toggle-slider {
    background: var(--primary-light);
    border-color: var(--border-default);
}
.v2-toggle input:checked + .v2-toggle-slider::before {
    transform: translateX(20px);
    background: var(--primary);
}

/* ============================================================
   13. BADGE & PILL SYSTEM
   ============================================================ */
.v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--radius-xs);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.v2-badge-sky    { background: var(--primary-light);  color: var(--primary);  border: 1px solid var(--border-default); }
.v2-badge-cobalt { background: var(--secondary-light); color: var(--brand-sky); border: 1px solid var(--border-cobalt); }
.v2-badge-green  { background: var(--green-light);     color: var(--green);    border: 1px solid rgba(16,185,129,0.30); }
.v2-badge-amber  { background: var(--accent-light);    color: var(--accent);   border: 1px solid rgba(245,158,11,0.30); }
.v2-badge-red    { background: var(--red-light);       color: var(--red);      border: 1px solid rgba(239,68,68,0.25); }
.v2-badge-pill   { border-radius: var(--radius-pill); }

/* ============================================================
   14. TRUST STRIP (5-Icon Row)
   ============================================================ */
.v2-trust-strip {
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
    background: rgba(10, 15, 28, 0.50);
    padding: var(--space-4) var(--space-4);
}
.v2-trust-strip-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
}
.v2-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    text-align: center;
}
.v2-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1px solid var(--border-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: all var(--transition-base);
}
.v2-trust-item:hover .v2-trust-icon {
    border-color: var(--border-hover);
    background: var(--primary-light);
    box-shadow: var(--shadow-glow);
}
.v2-trust-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1.3;
}
@media (max-width: 640px) {
    .v2-trust-strip-inner {
        grid-template-columns: repeat(3, 1fr);
    }
    .v2-trust-strip-inner .v2-trust-item:nth-child(4),
    .v2-trust-strip-inner .v2-trust-item:nth-child(5) {
        display: none;
    }
}

/* ============================================================
   15. MOBILE BOTTOM NAV (PWA-style)
   ============================================================ */
.v2-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    height: var(--bottom-nav-h);
    background: var(--surface-1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-cobalt);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.40);
}
.v2-bottom-nav-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 100%;
}
.v2-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    cursor: pointer;
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 600;
    transition: color var(--transition-fast);
    position: relative;
    border: none;
    background: none;
    padding: 8px 0;
}
.v2-bottom-nav-item svg, .v2-bottom-nav-item .nav-icon { font-size: 20px; }
.v2-bottom-nav-item.active { color: var(--primary); }
.v2-bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--primary);
    border-radius: 0 0 var(--radius-pill) var(--radius-pill);
}
.v2-bottom-nav-item:hover { color: var(--text-body); }
/* Cart badge on bottom nav */
.v2-bnav-badge {
    position: absolute;
    top: 6px;
    right: calc(50% - 16px);
    background: var(--accent);
    color: #fff;
    font-size: 8.5px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid var(--canvas);
}
@media (max-width: 768px) {
    .v2-bottom-nav { display: block; }
    /* Offset body to avoid content hiding behind bottom nav */
    body { padding-bottom: var(--bottom-nav-h); }
}

/* ============================================================
   16. MOBILE OFF-CANVAS DRAWER
   ============================================================ */
.v2-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(4px);
    z-index: var(--z-overlay);
    animation: fadeIn 0.2s ease;
}
.v2-drawer-overlay.open { display: block; }
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.v2-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: var(--surface-1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid var(--border-cobalt);
    z-index: var(--z-drawer);
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.v2-drawer.open { transform: translateX(0); }

.v2-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-dim);
    background: rgba(10, 15, 28, 0.80);
    flex-shrink: 0;
}
.v2-drawer-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.30));
}
.v2-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--surface-3);
    border: 1px solid var(--border-dim);
    color: var(--text-muted);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.v2-drawer-close:hover {
    background: var(--red-light);
    color: var(--red);
    border-color: rgba(239, 68, 68, 0.35);
}
.v2-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    scrollbar-width: thin;
    scrollbar-color: var(--border-dim) transparent;
}
.v2-drawer-section-title {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    padding: 0 0 var(--space-2);
    border-bottom: 1px solid var(--border-dim);
}
.v2-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-body);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}
.v2-drawer-link:hover {
    background: var(--surface-3);
    color: var(--text-primary);
    border-color: var(--border-dim);
}
.v2-drawer-footer {
    padding: var(--space-4);
    border-top: 1px solid var(--border-dim);
    flex-shrink: 0;
}

/* ============================================================
   17. CART DRAWER (Slide from Right)
   ============================================================ */
.v2-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 92vw);
    background: var(--surface-1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border-cobalt);
    z-index: var(--z-drawer);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
}
.v2-cart-drawer.open { transform: translateX(0); }
.v2-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-dim);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-display);
}
.v2-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
}
.v2-cart-footer {
    padding: var(--space-4);
    border-top: 1px solid var(--border-dim);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.v2-cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}
.v2-cart-total-row .amount {
    font-size: 20px;
    color: var(--primary);
    font-family: var(--font-display);
}
.v2-cart-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-dim);
}
.v2-cart-item-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dim);
    background: rgba(10, 15, 28, 0.60);
    padding: 4px;
    flex-shrink: 0;
}
.v2-cart-item-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}
.v2-cart-item-price {
    font-size: 13px;
    color: var(--green);
    font-weight: 800;
    margin-top: 3px;
}
.v2-qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    margin-top: var(--space-2);
}
.v2-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--surface-3);
    border: 1px solid var(--border-dim);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}
.v2-qty-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--border-default);
}
.v2-qty-value {
    min-width: 32px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    padding: 0 6px;
}

/* ============================================================
   18. SECTION LAYOUT HELPERS
   ============================================================ */
.v2-section {
    padding: var(--space-8) var(--space-4);
}
.v2-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}
.v2-section-heading {
    font-size: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.v2-section-heading .accent {
    background: linear-gradient(90deg, var(--primary), var(--brand-cobalt-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.v2-section-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: var(--space-2);
    max-width: 640px;
    line-height: 1.7;
}

/* ============================================================
   19. HERO SECTION
   ============================================================ */
.v2-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(30, 86, 201, 0.22) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
        var(--canvas);
    border-bottom: 1px solid var(--border-cobalt);
    padding: var(--space-12) var(--space-4) var(--space-10);
}
/* Subtle grid pattern overlay */
.v2-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.v2-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-8);
    align-items: center;
}
@media (max-width: 768px) {
    .v2-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
.v2-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: var(--secondary-light);
    border: 1px solid var(--border-cobalt);
    color: var(--brand-sky);
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-cobalt);
}
.v2-hero-title {
    font-size: clamp(1.8rem, 1.3rem + 2.5vw, 3.2rem);
    font-weight: 900;
    color: var(--text-primary);
    font-family: var(--font-display);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
}
.v2-hero-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--brand-cobalt-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.v2-hero-sub {
    font-size: clamp(0.9rem, 0.85rem + 0.3vw, 1.05rem);
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: var(--space-5);
}
.v2-hero-tagline {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 800;
    font-size: 12.5px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-6);
    border: 1px solid rgba(245, 158, 11, 0.30);
}
.v2-hero-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    align-items: center;
}
@media (max-width: 768px) {
    .v2-hero-actions { justify-content: center; }
    .v2-hero-sub { margin: 0 auto var(--space-5); }
    .v2-hero-eyebrow { margin-bottom: var(--space-3); }
}

/* ============================================================
   20. CATALOG STATUS BAR
   ============================================================ */
.v2-catalog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-3);
    padding: var(--space-3) 0 var(--space-4);
}
.v2-result-count {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}
.v2-result-count strong {
    color: var(--primary);
    font-size: 16px;
}
.v2-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 700;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.30);
}
.v2-filter-tag a {
    color: var(--accent);
    font-size: 12px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}
.v2-filter-tag a:hover { opacity: 1; }
.v2-sort-select {
    padding: 7px 32px 7px 12px;
    background: var(--surface-2);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-size: 12.5px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238ba4c0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color var(--transition-fast);
}
.v2-sort-select:focus { border-color: var(--border-default); }

/* ============================================================
   21. FILTER SIDEBAR (Desktop) / BOTTOM SHEET (Mobile)
   ============================================================ */
.v2-sidebar {
    background: var(--surface-2);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    position: sticky;
    top: calc(var(--header-h) + var(--subnav-h) + var(--space-4));
    max-height: calc(100vh - var(--header-h) - var(--subnav-h) - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-dim) transparent;
}
.v2-sidebar-section {
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--border-dim);
}
.v2-sidebar-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.v2-sidebar-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-faint);
    margin-bottom: var(--space-3);
}
/* Checkbox filter item */
.v2-filter-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 5px 0;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}
.v2-filter-item:hover { color: var(--text-primary); }
.v2-filter-item input[type="checkbox"] { accent-color: var(--primary); }
/* Price range slider */
.v2-range-slider {
    width: 100%;
    accent-color: var(--primary);
    cursor: pointer;
    margin-top: var(--space-2);
}
/* Bottom sheet (mobile) */
.v2-bottom-sheet {
    position: fixed;
    bottom: var(--bottom-nav-h);
    left: 0;
    right: 0;
    background: var(--surface-1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-cobalt);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: var(--z-drawer);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    max-height: 85vh;
    overflow-y: auto;
}
.v2-bottom-sheet.open { transform: translateY(0); }
.v2-bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--border-default);
    border-radius: var(--radius-pill);
    margin: var(--space-3) auto;
}

/* ============================================================
   22. ACTIVE FILTER PILL
   ============================================================ */
.v2-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--accent-light);
    border: 1px solid rgba(245, 158, 11, 0.30);
    color: var(--accent);
    font-size: 11.5px;
    font-weight: 700;
}
.v2-active-filter a {
    color: var(--accent);
    opacity: 0.65;
    font-size: 12px;
    margin-left: 1px;
    transition: opacity var(--transition-fast);
}
.v2-active-filter a:hover { opacity: 1; }

/* ============================================================
   23. GST / ITC TELEMETRY COMPONENTS
   ============================================================ */
.v2-gst-box {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.20);
    border-radius: var(--radius-sm);
    padding: var(--space-3) var(--space-4);
    font-size: 12px;
    color: var(--green);
}
.v2-gst-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 4px 0;
    color: var(--text-muted);
    border-bottom: 1px dashed var(--border-dim);
}
.v2-gst-row:last-child { border-bottom: none; }
.v2-gst-row .label { font-weight: 600; }
.v2-gst-row .value { font-weight: 700; color: var(--text-body); }
.v2-gst-row .itc   { color: var(--green); font-weight: 800; }
.v2-gst-total {
    display: flex;
    justify-content: space-between;
    padding: var(--space-3) 0 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-display);
}
.v2-gst-total .total-amount { color: var(--primary); }

/* ============================================================
   24. ESCROW & TRUST BADGES (Inline)
   ============================================================ */
.v2-escrow-strip {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.20);
    border-radius: var(--radius-sm);
    padding: var(--space-2) var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 12px;
    color: var(--green);
}
.v2-escrow-strip a { color: #34d399; font-weight: 700; }

/* ============================================================
   25. PRICE DISPLAY COMPONENTS
   ============================================================ */
.v2-pdp-price-box {
    background: var(--surface-2);
    border: 1px solid var(--border-cobalt);
    border-radius: var(--radius-md);
    padding: var(--space-4);
}
.v2-pdp-price-main {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
}
.v2-pdp-price-strike {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-faint);
    text-decoration: line-through;
}
.v2-pdp-savings {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.30);
    font-size: 11.5px;
    font-weight: 800;
}
.v2-pdp-incl-gst {
    font-size: 12px;
    color: var(--green);
    font-weight: 600;
    margin-top: 3px;
}
.v2-pdp-b2b-hint {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: var(--space-2);
    padding-top: var(--space-2);
    border-top: 1px dashed var(--border-dim);
}
/* Mode toggle tabs on PDP */
.v2-mode-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: var(--space-3);
}
.v2-mode-tab {
    flex: 1;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-base);
    border: 1.5px solid var(--border-dim);
    background: var(--surface-3);
    color: var(--text-muted);
}
.v2-mode-tab.active {
    background: var(--primary-light);
    border-color: var(--border-hover);
    color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* ============================================================
   26. VOLUME TIER DISPLAY
   ============================================================ */
.v2-tier-row {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: var(--space-2);
}
.v2-tier-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dim);
    background: var(--surface-3);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    min-width: 64px;
    transition: all var(--transition-fast);
}
.v2-tier-badge.active {
    background: var(--green-light);
    border-color: rgba(16, 185, 129, 0.35);
    color: var(--green);
}
.v2-tier-badge .tier-qty   { font-size: 10px; opacity: 0.75; }
.v2-tier-badge .tier-disc  { font-size: 13px; font-weight: 900; font-family: var(--font-display); }

/* ============================================================
   27. STICKY PRODUCT BOTTOM BAR (Mobile PDP)
   ============================================================ */
.v2-pdp-sticky-bar {
    display: none;
    position: fixed;
    bottom: var(--bottom-nav-h);
    left: 0;
    right: 0;
    z-index: calc(var(--z-sticky) + 5);
    background: var(--surface-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-cobalt);
    padding: var(--space-3) var(--space-4);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.40);
}
.v2-pdp-sticky-bar-inner {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    max-width: var(--max-width);
    margin: 0 auto;
}
.v2-pdp-sticky-price {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}
@media (max-width: 768px) {
    .v2-pdp-sticky-bar { display: block; }
    body.pdp-page { padding-bottom: calc(var(--bottom-nav-h) + 80px); }
}

/* ============================================================
   28. TOAST NOTIFICATIONS
   ============================================================ */
.v2-toast-container {
    position: fixed;
    bottom: calc(var(--bottom-nav-h) + 16px);
    right: var(--space-4);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column-reverse;
    gap: var(--space-2);
    pointer-events: none;
}
.v2-toast {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    background: var(--surface-1);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-cobalt);
    box-shadow: var(--shadow-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    max-width: 320px;
    pointer-events: all;
    animation: toastSlide 0.3s var(--ease-out-spring);
}
@keyframes toastSlide {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}
.v2-toast.success { border-color: rgba(16, 185, 129, 0.40); }
.v2-toast.error   { border-color: rgba(239, 68, 68, 0.40); }

/* ============================================================
   29. FOOTER
   ============================================================ */
.v2-footer {
    background: rgba(6, 9, 18, 0.98);
    border-top: 1px solid var(--border-cobalt);
    padding: var(--space-10) var(--space-4) var(--space-6);
    margin-top: var(--space-10);
}
.v2-footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
}
.v2-footer-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--space-4);
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.25));
}
.v2-footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}
.v2-footer-heading {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    margin-bottom: var(--space-4);
}
.v2-footer-link {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: var(--space-2);
    transition: color var(--transition-fast);
}
.v2-footer-link:hover { color: var(--primary); }
.v2-footer-bottom {
    max-width: var(--max-width);
    margin: var(--space-8) auto 0;
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-dim);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: 12px;
    color: var(--text-faint);
}
@media (max-width: 768px) {
    .v2-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .v2-footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .v2-footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   30. UTILITY CLASSES
   ============================================================ */
.v2-text-primary  { color: var(--text-primary) !important; }
.v2-text-muted    { color: var(--text-muted) !important; }
.v2-text-sky      { color: var(--primary) !important; }
.v2-text-cobalt   { color: var(--secondary) !important; }
.v2-text-green    { color: var(--green) !important; }
.v2-text-amber    { color: var(--accent) !important; }
.v2-text-red      { color: var(--red) !important; }
.v2-fw-700  { font-weight: 700 !important; }
.v2-fw-800  { font-weight: 800 !important; }
.v2-fw-900  { font-weight: 900 !important; }
.v2-font-display { font-family: var(--font-display) !important; }
.v2-flex    { display: flex; }
.v2-flex-center { display: flex; align-items: center; justify-content: center; }
.v2-gap-2   { gap: var(--space-2); }
.v2-gap-3   { gap: var(--space-3); }
.v2-gap-4   { gap: var(--space-4); }
.v2-mt-2    { margin-top: var(--space-2); }
.v2-mt-4    { margin-top: var(--space-4); }
.v2-mt-6    { margin-top: var(--space-6); }
.v2-mb-4    { margin-bottom: var(--space-4); }
.v2-p-4     { padding: var(--space-4); }
.v2-hidden  { display: none !important; }
.v2-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Dividers */
.v2-divider {
    height: 1px;
    background: var(--border-dim);
    border: none;
    margin: var(--space-4) 0;
}

/* Skeleton loader */
.v2-skeleton {
    background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

/* ============================================================
   31. SCROLLBAR GLOBAL STYLE
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--canvas); }
::-webkit-scrollbar-thumb {
    background: var(--border-default);
    border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* ============================================================
   32. PRINT STYLES (for GST invoices / proforma)
   ============================================================ */
@media print {
    .v2-header, .v2-topbar, .v2-subnav,
    .v2-bottom-nav, .v2-drawer, .v2-cart-drawer,
    .v2-drawer-overlay, .v2-toast-container { display: none !important; }
    body { background: #fff; color: #000; padding: 0; }
    .v2-card { box-shadow: none; border: 1px solid #e2e8f0; }
}

/* ============================================================
   33. PWA MOBILE BOTTOM NAV
   ============================================================ */
.v2-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-h);
    background: var(--surface-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-default);
    z-index: var(--z-sticky);
    padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 768px) {
    .v2-bottom-nav { display: block; }
    body { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
}
.v2-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}
.v2-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    flex: 1;
    height: 100%;
    transition: color var(--transition-fast);
}
.v2-bottom-nav-item span {
    font-size: 10px;
    font-weight: 600;
}
.v2-bottom-nav-item.active,
.v2-bottom-nav-item:hover {
    color: var(--primary);
}
.v2-bnav-badge {
    position: absolute;
    top: 4px;
    right: 50%;
    transform: translateX(12px);
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--surface-header);
}

/* ============================================================
   34. DRAWERS (Mobile Nav, Cart, Filter)
   ============================================================ */
.v2-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}
.v2-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}
.v2-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--surface-1);
    box-shadow: 4px 0 32px rgba(0,0,0,0.6);
    border-right: 1px solid var(--border-dim);
    z-index: var(--z-drawer);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
}
.v2-drawer.open {
    transform: translateX(0);
}
.v2-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-dim);
}
.v2-drawer-logo {
    height: 32px;
}
.v2-drawer-close {
    color: var(--text-muted);
    font-size: 20px;
    transition: color var(--transition-fast);
}
.v2-drawer-close:hover {
    color: var(--text-primary);
}
.v2-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.v2-drawer-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: var(--space-2);
}
.v2-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--surface-3);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-dim);
    transition: all var(--transition-fast);
}
.v2-drawer-link:hover {
    border-color: var(--border-hover);
    background: var(--primary-light);
    color: var(--primary);
}
.v2-drawer-footer {
    padding: var(--space-4);
    border-top: 1px solid var(--border-dim);
}

/* Slide-Over Cart Drawer (Right Side) */
.v2-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: 90vw;
    background: var(--surface-1);
    box-shadow: -4px 0 32px rgba(0,0,0,0.6);
    border-left: 1px solid var(--border-dim);
    z-index: var(--z-drawer);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
}
.v2-cart-drawer.open {
    transform: translateX(0);
}
.v2-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-dim);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}
.v2-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
}
.v2-cart-footer {
    padding: var(--space-4);
    border-top: 1px solid var(--border-dim);
    background: rgba(10, 15, 28, 0.95);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.v2-cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}
.v2-cart-total-row .amount {
    color: var(--primary);
}
.v2-cart-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--surface-2);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
}
.v2-cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: rgba(10, 15, 28, 0.5);
    border-radius: var(--radius-xs);
    padding: 4px;
}
.v2-cart-item-title {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.v2-cart-item-price {
    font-size: 12px;
    color: var(--text-muted);
}
.v2-qty-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.v2-qty-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-3);
    border: 1px solid var(--border-dim);
    border-radius: 4px;
    color: var(--text-primary);
}
.v2-qty-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}
.v2-qty-value {
    font-size: 12px;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

/* ============================================================
   35. CATALOG SIDEBAR & MOBILE BOTTOM SHEET (index.php)
   ============================================================ */
.v2-sidebar {
    background: var(--surface-2);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    position: sticky;
    top: calc(var(--header-h) + var(--subnav-h) + var(--space-4));
    max-height: calc(100vh - var(--header-h) - var(--subnav-h) - var(--space-8));
    overflow-y: auto;
}
.v2-sidebar-section {
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--border-dim);
}
.v2-sidebar-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.v2-sidebar-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.v2-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13.5px;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.v2-filter-item:hover {
    color: var(--primary) !important;
}
.v2-filter-item input[type="checkbox"],
.v2-filter-item input[type="radio"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.v2-pill-count {
    border-radius: var(--radius-pill);
    font-weight: 600;
}

@media (max-width: 768px) {
    #catalogLayout {
        grid-template-columns: 1fr;
    }
    #btnFilterMobile {
        display: inline-flex !important;
    }
    .v2-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        max-height: 85vh;
        width: 100%;
        background: var(--surface-1);
        border: none;
        border-top: 1px solid var(--border-dim);
        border-radius: 20px 20px 0 0;
        z-index: var(--z-drawer);
        padding: var(--space-4);
        transform: translateY(100%);
        transition: transform var(--transition-slow);
    }
    .v2-sidebar.open {
        transform: translateY(0);
    }
    #mobileSidebarHeader,
    #mobileSidebarApply {
        display: block !important;
    }
}

/* ============================================================
   36. CATALOG TOOLBAR & PILLS (index.php)
   ============================================================ */
.v2-pills-bar {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    overflow-x: auto;
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-3);
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.v2-pills-bar::-webkit-scrollbar { display: none; }
.v2-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition-fast);
}
.v2-pill:hover {
    background: var(--surface-3);
    border-color: var(--border-default);
    color: var(--text-primary);
}
.v2-pill.active {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}
.v2-catalog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-4);
    background: var(--surface-1);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
    gap: var(--space-4);
}
.v2-result-count {
    font-size: 13.5px;
    color: var(--text-muted);
}
.v2-result-count strong {
    color: var(--text-primary);
    font-weight: 800;
}
.v2-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: var(--accent-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
}
.v2-active-filter a {
    color: var(--accent);
    text-decoration: none;
    font-size: 10px;
    opacity: 0.8;
}
.v2-active-filter a:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .v2-catalog-search {
        display: none !important;
    }
}
