:root {
    --bg-body: #0a0a0f;
    --bg-dark: #0d0d14;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --bg-elevated: #15151f;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --neon-blue: #00f0ff;
    --neon-blue-dim: rgba(0, 240, 255, 0.1);
    --neon-blue-glow: rgba(0, 240, 255, 0.5);    
    --neon-pink: #ff00ff;
    --neon-pink-dim: rgba(255, 0, 255, 0.1);
    --neon-pink-glow: rgba(255, 0, 255, 0.5);   
    --neon-purple: #bd00ff;
    --neon-purple-dim: rgba(189, 0, 255, 0.1);
    --neon-purple-glow: rgba(189, 0, 255, 0.5);    
    --neon-green: #00ff88;
    --neon-green-dim: rgba(0, 255, 136, 0.1);
    --neon-green-glow: rgba(0, 255, 136, 0.5);
    --neon-orange: #ff8800;
    --neon-orange-dim: rgba(255, 136, 0, 0.1);
    --neon-orange-glow: rgba(255, 136, 0, 0.5);
    --neon-red: #ff003c;
    --neon-red-dim: rgba(255, 0, 60, 0.1);
    --neon-red-glow: rgba(255, 0, 60, 0.5);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 240, 255, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.8);
    --shadow-neon: 0 0 20px rgba(0, 240, 255, 0.3);
    --shadow-neon-lg: 0 0 40px rgba(0, 240, 255, 0.4);
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse at 10% 10%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 90%, rgba(255, 0, 255, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(189, 0, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue-glow);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: 32px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

.text-gradient {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.main-content {
    flex: 1;
    padding: 32px 0;
}

.glass-panel {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.05), transparent);
    transition: var(--transition);
}

.glass-panel:hover::before {
    left: 100%;
}

.glass-panel:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-neon);
    transform: translateY(-4px);
}

.glass-header {
    background: linear-gradient(180deg, rgba(13, 13, 20, 0.98) 0%, rgba(18, 18, 26, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.1);
}

.glass-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.header-container {
    display: flex;
    align-items: center;
    padding: 14px 0;
    gap: 20px;
    flex-wrap: nowrap;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    flex-shrink: 0;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    transition: var(--transition);
}

.logo:hover {
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
}

.logo span {
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue-glow);
}

.search-container {
    flex: 1;
    max-width: 480px;
    min-width: 200px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue-dim), inset 0 0 10px rgba(0, 240, 255, 0.05);
    background: var(--bg-dark);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue-glow);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 240, 255, 0.15);
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.search-result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--neon-blue);
    transform: scaleY(0);
    transition: var(--transition);
}

.search-result-item:hover::before {
    transform: scaleY(1);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-card-hover);
    padding-left: 22px;
}

.search-result-item img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

.search-result-category {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.search-result-price {
    font-weight: 700;
    color: var(--neon-green);
    white-space: nowrap;
    font-size: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.search-no-results {
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
}

/* ===== BURGER MENU ===== */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    z-index: 9999;
}

.burger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neon-blue);
    border-radius: 2px;
    transition: var(--transition);
    box-shadow: 0 0 8px var(--neon-blue-glow);
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 14px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transition: var(--transition);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--neon-blue-glow);
}

.main-nav a:hover::before,
.main-nav a.active::before {
    width: 80%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
    background: var(--neon-blue-dim);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 16px;
}

.cart-btn {
    position: relative;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.cart-btn:hover {
    color: var(--neon-blue);
    background: var(--neon-blue-dim);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue-dim);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 0 15px var(--neon-pink-glow);
    animation: pulse-count 2s ease-in-out infinite;
}

@keyframes pulse-count {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px var(--neon-pink-glow); }
}

.notifications-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 20px;
    padding: 10px 14px;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.notifications-btn:hover {
    background: var(--neon-purple-dim);
    color: var(--neon-purple);
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.2);
}

.notif-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: linear-gradient(135deg, var(--neon-red) 0%, var(--neon-orange) 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 0 12px rgba(255, 0, 60, 0.5);
}

.notifications-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(189, 0, 255, 0.2);
    z-index: 1000;
    display: none;
    max-height: 480px;
    overflow: hidden;
    flex-direction: column;
}

.notifications-dropdown.active {
    display: flex;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.notif-list {
    overflow-y: auto;
    flex: 1;
}

.notif-item {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.notif-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--neon-purple);
    transform: scaleY(0);
    transition: var(--transition);
}

.notif-item:hover::before {
    transform: scaleY(1);
}

.notif-item:hover {
    background: var(--bg-card-hover);
    padding-left: 22px;
}

.notif-item.unread {
    background: var(--neon-purple-dim);
    border-left: 3px solid var(--neon-purple);
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-size: 14px;
}

.notif-message {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.notif-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

.notif-empty {
    padding: 50px 20px;
    text-align: center;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 11px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 