:root{--bg:#020202;--surface:#0a0a0a;--surface-2:#141414;--border:#1f1f1f;--text:#f5f5f5;--text-sec:#a1a1aa;--accent:#ffffff;--accent-sec:#3f3f46;--accent-glow:rgba(255,255,255,0.1);--danger:#ef4444;--nav-h:72px;--header-h:64px;--radius:8px;}
*{box-sizing:border-box;margin:0;padding:0;outline:none;-webkit-tap-highlight-color:transparent;font-family:'Inter',system-ui,-apple-system,sans-serif;}
body{background:var(--bg);color:var(--text);height:100vh;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;letter-spacing:-0.01em;}
button{cursor:pointer;user-select:none;font-size:inherit;}
.fade-in{animation:fadeIn 0.4s cubic-bezier(0.4,0,0.2,1) forwards;}
@keyframes fadeIn{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}
.app-header{height:var(--header-h);background:rgba(2,2,2,0.8);backdrop-filter:blur(20px);border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 24px;z-index:50;}
.header-inner{width:100%;max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;}
.logo-area{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.15rem;letter-spacing:-0.02em;text-transform:uppercase;}.logo-icon{color:var(--accent);width:20px;height:20px;}
.accent{color:var(--accent);font-weight:900;}
.actions{display:flex;gap:8px;}
.icon-btn{background:transparent;border:none;color:var(--text);padding:10px;border-radius:var(--radius);transition:0.2s;display:flex;align-items:center;justify-content:center;}.icon-btn:hover{background:var(--surface-2);}
.relative{position:relative;}
.badge{position:absolute;top:2px;right:2px;background:var(--accent);color:var(--bg);font-size:10px;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-weight:800;}.hidden{display:none;}
.content-area{overflow-y:auto;padding:32px 24px;scroll-behavior:smooth;}
.content-area::-webkit-scrollbar{width:0px;}
.section-title{font-size:1.5rem;font-weight:700;margin:32px 0 20px;display:flex;justify-content:space-between;align-items:baseline;letter-spacing:-0.03em;}
.link-more{font-size:0.9rem;color:var(--text-sec);text-decoration:none;transition:0.2s;}.link-more:hover{color:var(--accent);}
.hero-banner{background:var(--surface);border-radius:12px;padding:40px;border:1px solid var(--border);margin-bottom:40px;position:relative;overflow:hidden;background-image:radial-gradient(circle at top right,rgba(255,255,255,0.05),transparent);}
.hero-title{font-size:2rem;font-weight:800;margin-bottom:12px;letter-spacing:-0.04em;line-height:1.1;}
.hero-desc{color:var(--text-sec);font-size:1rem;margin-bottom:24px;max-width:400px;line-height:1.5;}
.btn-primary{background:var(--accent);color:var(--bg);border:none;padding:12px 24px;border-radius:var(--radius);font-weight:600;transition:0.2s;display:inline-flex;align-items:center;gap:8px;}
.btn-primary:hover{opacity:0.9;transform:translateY(-1px);}
.grid-products{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
.product-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:0.3s cubic-bezier(0.4,0,0.2,1);display:flex;flex-direction:column;cursor:pointer;}
.product-card:hover{border-color:var(--text-sec);background:var(--surface-2);}
.card-img{height:160px;background:var(--surface);display:flex;align-items:center;justify-content:center;position:relative;padding:20px;}
.card-img img,.card-img i{max-width:60%;max-height:60%;object-fit:contain;color:var(--text-sec);transition:0.3s;}
.product-card:hover .card-img i{color:var(--accent);transform:scale(1.1);}
.card-body{padding:16px;flex:1;display:flex;flex-direction:column;gap:12px;}
.card-title{font-size:0.95rem;font-weight:600;line-height:1.4;color:var(--text);}
.card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;}
.card-price{font-size:1.1rem;font-weight:700;letter-spacing:-0.02em;}
.btn-add{background:var(--surface-2);color:var(--text);border:1px solid var(--border);width:36px;height:36px;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;transition:0.2s;}.btn-add:hover{background:var(--text);color:var(--bg);}
.filter-bar{display:flex;gap:8px;overflow-x:auto;padding-bottom:16px;margin-bottom:16px;scrollbar-width:none;}.filter-bar::-webkit-scrollbar{display:none;}
.filter-chip{padding:8px 16px;background:var(--surface);border:1px solid var(--border);border-radius:20px;font-size:0.85rem;white-space:nowrap;color:var(--text-sec);transition:0.2s;}
.filter-chip.active{background:var(--text);color:var(--bg);border-color:var(--text);}
.details-page{display:grid;grid-template-columns:1fr;gap:32px;}
.details-img{background:var(--surface);border-radius:12px;height:300px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border);}.details-img i{width:100px;height:100px;opacity:0.5;}
.details-info{display:flex;flex-direction:column;gap:16px;}
.details-tag{font-size:0.75rem;text-transform:uppercase;letter-spacing:0.1em;color:var(--text-sec);font-weight:700;}
.details-title{font-size:2.4rem;font-weight:800;letter-spacing:-0.03em;}
.details-price{font-size:1.8rem;font-weight:700;margin-top:8px;}
.details-desc{color:var(--text-sec);line-height:1.6;font-size:1rem;}
.cart-item{display:flex;gap:16px;background:var(--surface);padding:16px;border-radius:12px;margin-bottom:12px;border:1px solid var(--border);align-items:center;}
.cart-info{flex:1;display:flex;flex-direction:column;gap:4px;}
.cart-controls{display:flex;align-items:center;gap:16px;}
.qty-btn{width:28px;height:28px;border-radius:4px;background:var(--surface-2);border:1px solid var(--border);color:#fff;display:flex;align-items:center;justify-content:center;}
.profile-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:32px;text-align:center;margin-bottom:24px;}
.avatar{width:96px;height:96px;border-radius:50%;background:linear-gradient(45deg,var(--surface-2),var(--border));margin:0 auto 20px;display:flex;align-items:center;justify-content:center;font-size:2.5rem;border:1px solid var(--border);}
.profile-name{font-size:1.5rem;font-weight:700;margin-bottom:4px;}
.profile-email{color:var(--text-sec);font-size:0.9rem;margin-bottom:24px;}
.menu-list{background:var(--surface);border-radius:12px;overflow:hidden;border:1px solid var(--border);}
.menu-item{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid var(--border);color:var(--text);text-decoration:none;transition:0.2s;}.menu-item:hover{background:var(--surface-2);}
.bottom-nav{height:var(--nav-h);background:rgba(2,2,2,0.9);backdrop-filter:blur(20px);border-top:1px solid var(--border);display:flex;justify-content:space-around;align-items:center;z-index:50;}
.nav-item{background:none;border:none;color:var(--text-sec);display:flex;flex-direction:column;align-items:center;gap:6px;font-size:0.7rem;width:100%;height:100%;justify-content:center;transition:0.3s cubic-bezier(0.4,0,0.2,1);font-weight:500;}
.nav-item.active{color:var(--text);}.nav-item svg{width:20px;height:20px;transition:0.3s;}
.nav-item.active svg{transform:translateY(-2px);}
#toast-container{position:fixed;top:24px;right:24px;z-index:100;display:flex;flex-direction:column;gap:12px;}
.toast{background:var(--text);color:var(--bg);padding:12px 20px;border-radius:var(--radius);font-weight:600;font-size:0.9rem;display:flex;align-items:center;gap:12px;box-shadow:0 20px 40px rgba(0,0,0,0.4);animation:toastIn 0.4s cubic-bezier(0.175,0.885,0.32,1.275);}
@keyframes toastIn{from{opacity:0;transform:translateX(100px);}to{opacity:1;transform:translateX(0);}}
@media(min-width:768px){.grid-products{grid-template-columns:repeat(3,1fr);}.details-page{grid-template-columns:1fr 1fr;}.content-area{padding:48px 120px;}}
@media(min-width:1024px){.grid-products{grid-template-columns:repeat(4,1fr);}}
