:root {
            --radius: 0.9rem;
            --background: #12172a;
            --foreground: #f4f6fb;
            --panel: #1c2340;
            --card: #1a213a;
            --primary: #4aa3ff;
            --primary-foreground: #0b1220;
            --secondary: #232b4a;
            --secondary-foreground: #f4f6fb;
            --muted: #2a3355;
            --muted-foreground: #9aa5c5;
            --accent: #7eeaf9;
            --destructive: #ff6b6b;
            --success: #5ee9a9;
            --border: rgba(140, 170, 230, 0.22);
            --shadow-card: 0 22px 60px rgba(0, 0, 0, 0.45);
            --shadow-panel: 0 18px 50px rgba(0, 0, 0, 0.5);
            --shadow-glow: 0 0 60px rgba(74, 163, 255, 0.28);
            --gradient-primary: linear-gradient(120deg, #4aa3ff, #7eeaf9);
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            background-color: var(--background);
            background-image:
                radial-gradient(circle at 12% -8%, rgba(74, 112, 255, 0.38), transparent 42%),
                radial-gradient(circle at 92% 4%, rgba(74, 163, 255, 0.18), transparent 38%),
                linear-gradient(transparent 0 31px, rgba(140, 170, 230, 0.05) 31px 32px),
                linear-gradient(90deg, transparent 0 31px, rgba(140, 170, 230, 0.05) 31px 32px);
            background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
            background-attachment: fixed;
            color: var(--foreground);
            font-family: 'Rubik', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            line-height: 1.5;
        }
        .font-display { font-family: 'Space Mono', ui-monospace, monospace; letter-spacing: 0.01em; }
        .gradient-text { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
        .chip {
            display: inline-flex; align-items: center; gap: 0.4rem;
            border: 1px solid var(--border); border-radius: 999px;
            background: rgba(74, 163, 255, 0.1); padding: 0.3rem 0.75rem;
            font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
            color: var(--accent);
        }
        .neon-card {
            position: relative; overflow: hidden;
            border: 1px solid var(--border); border-radius: calc(var(--radius) + 8px);
            background: linear-gradient(165deg, var(--panel), var(--background));
            box-shadow: var(--shadow-card);
            transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
        }
        .neon-card::before {
            content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
            background: var(--gradient-primary); opacity: 0.6;
        }
        .neon-card:hover {
            border-color: rgba(74, 163, 255, 0.55);
            box-shadow: var(--shadow-card), 0 0 40px rgba(74, 163, 255, 0.22);
        }
        .neon-panel {
            position: relative;
            border: 1px solid var(--border); border-radius: calc(var(--radius) + 8px);
            background: linear-gradient(160deg, var(--panel), var(--background));
            box-shadow: var(--shadow-panel);
        }
        .neon-glow { box-shadow: var(--shadow-glow); }
        .container { width: 92%; max-width: 72rem; margin-left: auto; margin-right: auto; }
        .btn-primary {
            display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
            background: var(--primary); color: var(--primary-foreground);
            border: none; border-radius: var(--radius); padding: 0.65rem 1.25rem;
            font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: opacity 0.2s, transform 0.2s;
        }
        .btn-primary:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
        .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
        .btn-secondary {
            display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
            background: var(--secondary); color: var(--secondary-foreground);
            border: 1px solid var(--border); border-radius: var(--radius); padding: 0.65rem 1.25rem;
            font-weight: 600; font-size: 0.9rem; cursor: pointer; text-decoration: none; transition: opacity 0.2s;
        }
        .btn-secondary:hover { opacity: 0.9; }
        .text-primary { color: var(--primary); }
        .text-accent { color: var(--accent); }
        .text-muted { color: var(--muted-foreground); }
        .text-success { color: var(--success); }
        .text-destructive { color: var(--destructive); }
        .bg-primary/10 { background: rgba(74, 163, 255, 0.1); }
        .bg-secondary/30 { background: rgba(35, 43, 74, 0.3); }
        .border-border { border-color: var(--border); }
        .border-primary { border-color: var(--primary); }
        .border-success/40 { border-color: rgba(94, 233, 169, 0.4); }
        .grid-cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
        .grid-cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
        .grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
        .grid-cols-1 { display: grid; grid-template-columns: 1fr; }
        .gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
        .flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; }
        .justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
        .flex-wrap { flex-wrap: wrap; }
        .hidden { display: none; }
        .sticky { position: sticky; } .top-0 { top: 0; } .z-40 { z-index: 40; }
        .backdrop-blur { backdrop-filter: blur(16px); }
        .rounded-full { border-radius: 9999px; } .rounded-xl { border-radius: 0.75rem; }
        .rounded-2xl { border-radius: 1rem; } .rounded-lg { border-radius: var(--radius); }
        .p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; } .p-4 { padding: 1rem; }
        .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; } .p-8 { padding: 2rem; }
        .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
        .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
        .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
        .py-8 { padding-top: 2rem; padding-bottom: 2rem; }
        .py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
        .px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
        .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
        .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
        .px-4 { padding-left: 1rem; padding-right: 1rem; }
        .my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
        .my-4 { margin-top: 1rem; margin-bottom: 1rem; }
        .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; }
        .mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; } .mt-7 { margin-top: 1.75rem; }
        .mt-8 { margin-top: 2rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; }
        .mb-6 { margin-bottom: 1.5rem; } .ml-auto { margin-left: auto; } .mr-auto { margin-right: auto; }
        .min-h-screen { min-height: 100vh; }
        .h-9 { height: 2.25rem; } .w-9 { width: 2.25rem; }
        .h-18 { height: 4.5rem; } .min-w-5 { min-width: 1.25rem; }
        .size-4 { width: 1rem; height: 1rem; } .size-5 { width: 1.25rem; height: 1.25rem; }
        .text-xs { font-size: 0.75rem; } .text-sm { font-size: 0.875rem; } .text-base { font-size: 1rem; }
        .text-lg { font-size: 1.125rem; } .text-xl { font-size: 1.25rem; } .text-2xl { font-size: 1.5rem; }
        .text-3xl { font-size: 1.875rem; } .text-4xl { font-size: 2.25rem; } .text-5xl { font-size: 3rem; }
        .text-6xl { font-size: 3.75rem; } .text-10xl { font-size: 6rem; }
        .font-bold { font-weight: 700; } .font-extrabold { font-weight: 800; }
        .font-semibold { font-weight: 600; }
        .tracking-widest { letter-spacing: 0.1em; } .tracking-wide { letter-spacing: 0.025em; }
        .uppercase { text-transform: uppercase; }
        .leading-tight { line-height: 1.25; } .leading-snug { line-height: 1.375; }
        .leading-relaxed { line-height: 1.625; }
        .text-center { text-align: center; } .text-left { text-align: left; }
        .border-b { border-bottom: 1px solid var(--border); }
        .border-t { border-top: 1px solid var(--border); }
        .border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
        .border-dashed { border-style: dashed; }
        .border { border: 1px solid var(--border); }
        .place-items-center { place-items: center; }
        .shrink-0 { flex-shrink: 0; }
        .self-start { align-self: flex-start; }
        .self-end { align-self: flex-end; }
        .relative { position: relative; } .absolute { position: absolute; }
        .-top-24 { top: -6rem; } .-left-32 { left: -8rem; }
        .-z-10 { z-index: -10; } .-z-20 { z-index: -20; }
        .h-80 { height: 20rem; } .w-80 { width: 20rem; }
        .rounded-full { border-radius: 9999px; }
        .blur-3xl { filter: blur(64px); }
        .pointer-events-none { pointer-events: none; }
        .opacity-50 { opacity: 0.5; }
        .line-through { text-decoration: line-through; }
        .w-full { width: 100%; }
        .cursor-pointer { cursor: pointer; }
        .transition { transition: all 0.25s ease; }
        .hover:-translate-y-1:hover { transform: translateY(-0.25rem); }
        .hover:border-primary/50:hover { border-color: rgba(74, 163, 255, 0.5); }

        header {
            border-bottom: 1px solid var(--border);
            background: rgba(18, 23, 42, 0.8);
            backdrop-filter: blur(16px);
        }
        .header-inner {
            display: flex; height: 4.5rem; align-items: center; justify-content: space-between; gap: 1rem;
            width: 92%; max-width: 72rem; margin: 0 auto; padding: 0.75rem 0;
        }

        .hero-grid {
            display: grid; align-items: center; gap: 2rem; padding: 3.5rem 0;
        }
        .hero-title { font-size: 2.25rem; line-height: 1.05; font-weight: 800; }
        .hero-glow {
            position: absolute; top: -6rem; left: -8rem; z-index: -10;
            height: 20rem; width: 20rem; border-radius: 9999px;
            background: rgba(74, 163, 255, 0.2); filter: blur(64px); pointer-events: none;
        }

        .category-btn {
            border: 1px solid var(--border); border-radius: 0.75rem;
            background: rgba(35, 43, 74, 0.3); color: var(--muted-foreground);
            padding: 0.75rem; text-align: left; cursor: pointer; transition: all 0.25s ease;
        }
        .category-btn:hover { border-color: rgba(74, 163, 255, 0.5); }
        .category-btn.active {
            border-color: var(--primary); background: rgba(74, 163, 255, 0.1); color: var(--foreground);
        }

        .search-input {
            width: 100%; background: rgba(35, 43, 74, 0.5); border: 1px solid var(--border);
            border-radius: var(--radius); color: var(--foreground); padding: 0.65rem 1rem;
            font-size: 0.9rem; outline: none;
        }
        .search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(74, 163, 255, 0.2); }

        .product-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
        .product-card { height: 100%; }

        .cart-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 50;
            display: none; opacity: 0; transition: opacity 0.3s;
        }
        .cart-overlay.open { display: block; opacity: 1; }
        .cart-drawer {
            position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 420px;
            background: var(--background); border-left: 1px solid var(--border);
            box-shadow: var(--shadow-panel); z-index: 51;
            transform: translateX(100%); transition: transform 0.3s ease;
            display: flex; flex-direction: column;
        }
        .cart-drawer.open { transform: translateX(0); }
        .cart-header { border-bottom: 1px solid var(--border); padding: 1rem 1.25rem; }
        .cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
        .cart-footer { border-top: 1px solid var(--border); padding: 1rem 1.25rem; }
        .cart-item {
            display: flex; justify-content: space-between; align-items: center;
            padding: 0.75rem; border: 1px solid var(--border); border-radius: 0.75rem; margin-bottom: 0.5rem;
        }
        .qty-btn {
            width: 1.5rem; height: 1.5rem; border-radius: 0.35rem; border: 1px solid var(--border);
            background: transparent; color: var(--foreground); cursor: pointer;
        }
        .close-btn {
            background: transparent; border: none; color: var(--muted-foreground); cursor: pointer;
            font-size: 1.25rem; line-height: 1;
        }

        .modal-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 60;
            display: none; align-items: center; justify-content: center; padding: 1rem;
        }
        .modal-overlay.open { display: flex; }
        .modal {
            width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
            background: var(--panel); border: 1px solid var(--border); border-radius: calc(var(--radius) + 8px);
            box-shadow: var(--shadow-panel); padding: 1.5rem;
        }
        .modal-input {
            width: 100%; background: rgba(18, 23, 42, 0.6); border: 1px solid var(--border);
            border-radius: var(--radius); color: var(--foreground); padding: 0.65rem 0.75rem;
            font-size: 0.9rem; outline: none; margin-top: 0.25rem;
        }
        .modal-input:focus { border-color: var(--primary); }
        .modal-label { display: block; font-size: 0.85rem; color: var(--muted-foreground); margin-top: 0.75rem; }
        .textarea { min-height: 80px; resize: vertical; }

        .toast {
            position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 70;
            background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 0.75rem 1.25rem; box-shadow: var(--shadow-panel);
            transform: translateY(120%); transition: transform 0.3s ease;
        }
        .toast.show { transform: translateY(0); }
        .toast.success { border-left: 3px solid var(--success); }
        .toast.error { border-left: 3px solid var(--destructive); }

        footer { border-top: 1px solid var(--border); padding: 2rem 0; text-align: center; color: var(--muted-foreground); font-size: 0.875rem; }

        @media (min-width: 640px) {
            .product-grid { grid-template-columns: repeat(2, 1fr); }
            .sm:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
            .sm:inline { display: inline; }
        }
        @media (min-width: 768px) {
            .hero-grid { grid-template-columns: 1fr 0.95fr; }
            .hero-title { font-size: 3.75rem; }
            .md:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
            .md:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
            .md:flex-row { flex-direction: row; }
            .md:items-end { align-items: flex-end; }
            .md:w-80 { width: 20rem; }
        }
        @media (min-width: 1024px) {
            .product-grid { grid-template-columns: repeat(4, 1fr); }
            .lg:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
        }


/* E&E SYSTEMS hardening + visual refinement */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body.drawer-open { overflow: hidden; }
.brand-link { text-decoration: none; }
.brand-mark { box-shadow: 0 0 24px rgba(74,163,255,.14); }

header { box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.hero-grid { min-height: 38rem; }
.hero-title { max-width: 11ch; text-wrap: balance; letter-spacing: -0.035em; }
.hero-title .gradient-text { filter: drop-shadow(0 0 24px rgba(74,163,255,.12)); }
.hero-glow { background: rgba(74,163,255,.24); }

.btn-primary, .btn-secondary, .category-btn, .qty-btn, .close-btn { -webkit-tap-highlight-color: transparent; }
.btn-primary { min-height: 2.75rem; box-shadow: 0 8px 24px rgba(74,163,255,.16); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 12px 32px rgba(74,163,255,.25); }
.btn-secondary:hover { border-color: rgba(126,234,249,.36); background: rgba(35,43,74,.65); }

.category-btn { min-height: 5.25rem; }
.category-btn.active { box-shadow: inset 0 0 0 1px rgba(74,163,255,.18), 0 8px 22px rgba(74,163,255,.08); }
.search-input { min-height: 2.9rem; }
.product-card { min-height: 15.5rem; content-visibility: auto; contain-intrinsic-size: 250px; }
.product-card .btn-primary { margin-top: auto; }
.product-card:hover { transform: translateY(-3px); }
.checkout-summary-name { max-width: 68%; overflow-wrap: anywhere; }

.cart-drawer { background: linear-gradient(180deg, #11182d 0%, #0d1325 100%); }
.cart-overlay, .modal-overlay { backdrop-filter: blur(5px); }
.modal { border-color: rgba(126,234,249,.18); }
.modal-input::placeholder, .search-input::placeholder { color: #7582a4; }

button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

[hidden] { display: none !important; }

@media (max-width: 767px) {
    .container, .header-inner { width: min(94%, 72rem); }
    .hero-grid { min-height: auto; padding: 2.5rem 0 3rem; }
    .hero-title { max-width: 12ch; font-size: clamp(2.5rem, 13vw, 4rem); }
    .hero-grid > div:last-child { padding: 1.35rem !important; }
    .category-btn { min-height: 4.75rem; }
    .cart-drawer { max-width: 100%; }
    .toast { left: 1rem; right: 1rem; bottom: 1rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
