@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #8b5cf6;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --gold: #f59e0b;
    --bg: #050510;
    --surface: rgba(255,255,255,0.03);
    --border: rgba(255,255,255,0.08);
    --text: #f1f5f9;
    --text2: #94a3b8;
    --text3: #64748b;
    --radius: 0.7rem;
    --radius-xl: 1.2rem;
    --radius-full: 9999px;
    --tr: 0.3s ease;
    --shadow: 0 8px 40px rgba(0,0,0,0.5);
    --glow: 0 0 50px rgba(139,92,246,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; direction: ltr; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; background: none; }
img { max-width: 100%; display: block; }
input, select, textarea { font-family: inherit; outline: none; border: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--secondary)); border-radius: 10px; }

/* ========== BACKGROUND ========== */
.bg-animated {
    position: fixed; inset: 0; z-index: -2;
    background: radial-gradient(ellipse at 30% 40%, rgba(139,92,246,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 60%, rgba(236,72,153,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(6,182,212,0.06) 0%, transparent 50%),
                var(--bg);
}
#particlesCanvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ========== HEADER ========== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(5,5,16,0.88); backdrop-filter: blur(35px); border-bottom: 1px solid var(--border); height: 56px; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 1rem; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon { width: 34px; height: 34px; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; background: transparent; border: none; box-shadow: none; overflow: hidden; }
.logo-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 0.5rem; }
.logo-text { font-size: 1.1rem; font-weight: 900; background: linear-gradient(135deg, #a78bfa, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }

/* ========== CURRENCY ========== */
.currency-selector { position: relative; }
.currency-btn { display: flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.7rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-full); color: var(--text); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: var(--tr); }
.currency-btn:hover { border-color: rgba(139,92,246,0.4); }
.currency-dropdown { position: absolute; top: 110%; right: 0; background: rgba(10,10,26,0.98); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.4rem; min-width: 180px; display: none; z-index: 50; box-shadow: var(--shadow); }
.currency-dropdown.show { display: block; }
.currency-option { display: flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.7rem; border-radius: 0.4rem; cursor: pointer; transition: var(--tr); font-size: 0.8rem; }
.currency-option:hover { background: rgba(255,255,255,0.05); }
.currency-option.active { background: rgba(139,92,246,0.15); color: #a78bfa; font-weight: 700; }

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 1.2rem; border-radius: var(--radius-full); font-weight: 700; font-size: 0.85rem; transition: var(--tr); white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, #6d28d9, var(--primary)); color: #fff; box-shadow: 0 4px 15px rgba(139,92,246,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(139,92,246,0.45); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: #a78bfa; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-gold { background: linear-gradient(135deg, #b45309, var(--gold)); color: #fff; border-radius: var(--radius); padding: 0.55rem; font-weight: 700; font-size: 0.85rem; width: 100%; }
.btn-admin { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); color: var(--gold); font-size: 0.75rem; padding: 0.4rem 0.8rem; border-radius: var(--radius-full); font-weight: 600; transition: var(--tr); }
.btn-admin:hover { background: rgba(245,158,11,0.2); }
.btn-danger { background: rgba(239,68,68,0.1); color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); padding: 0.4rem 0.8rem; border-radius: 0.5rem; font-size: 0.75rem; }
.btn-accept { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); padding: 0.4rem 0.8rem; border-radius: 0.5rem; cursor: pointer; font-weight: 600; font-size: 0.75rem; }
.btn-reject { background: rgba(239,68,68,0.15); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); padding: 0.4rem 0.8rem; border-radius: 0.5rem; cursor: pointer; font-weight: 600; font-size: 0.75rem; }
.btn-delete { background: rgba(239,68,68,0.1); color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); padding: 0.35rem 0.7rem; border-radius: 0.5rem; cursor: pointer; font-weight: 600; font-size: 0.75rem; }

/* ========== COMPACT HERO ========== */
.hero-compact { padding: 4.5rem 1rem 1rem; text-align: center; }
.hero-compact-content { max-width: 450px; margin: 0 auto; }
.hero-title-small { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 900; color: #fff; margin-bottom: 0.2rem; line-height: 1.3; }
.hero-subtitle-small { font-size: 0.85rem; color: var(--text2); margin-bottom: 0.75rem; }

/* ========== OLD HERO (compatibility) ========== */
.hero { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1rem 1.5rem; }
.hero-content { max-width: 550px; }
.hero-icon { font-size: 3.5rem; margin-bottom: 0.75rem; animation: float 3s ease-in-out infinite; }
.hero-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: #fff; margin-bottom: 0.3rem; }
.hero-subtitle { font-size: 1rem; color: var(--text2); margin-bottom: 1.25rem; }
.hero-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ========== PRODUCTS ========== */
.products-section { padding: 2rem 1rem 3rem; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 1.5rem; }
.section-badge { display: inline-block; padding: 0.2rem 0.8rem; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.25); border-radius: var(--radius-full); color: #a78bfa; font-size: 0.7rem; font-weight: 600; margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 900; color: #fff; }
.section-subtitle { color: var(--text2); font-size: 0.85rem; }
.products-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.loading-state { grid-column: 1/-1; display: flex; flex-direction: column; align-items: center; padding: 2.5rem; color: var(--text2); }

/* ========== PRODUCT CARD ========== */
.product-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: var(--tr); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.4); box-shadow: var(--shadow), var(--glow); }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; background: rgba(255,255,255,0.02); cursor: pointer; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badges { position: absolute; top: 0.6rem; left: 0.6rem; right: 0.6rem; display: flex; justify-content: space-between; z-index: 2; pointer-events: none; flex-wrap: wrap; gap: 0.2rem; }
.badge { padding: 0.2rem 0.6rem; border-radius: var(--radius-full); font-size: 0.6rem; font-weight: 700; }
.badge-sale { background: rgba(239,68,68,0.9); color: #fff; }
.badge-featured { background: rgba(245,158,11,0.9); color: #fff; }
.badge-stock { background: rgba(16,185,129,0.9); color: #fff; }
.badge-low { background: rgba(245,158,11,0.9); color: #fff; }
.badge-out { background: rgba(239,68,68,0.9); color: #fff; }
.product-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,16,0.95), rgba(5,5,16,0.3), transparent); display: flex; align-items: flex-end; justify-content: center; padding: 1rem; opacity: 0; transition: opacity 0.4s; }
.product-card:hover .product-overlay { opacity: 1; }
.product-info { padding: 0.9rem; flex: 1; display: flex; flex-direction: column; }
.product-category { display: inline-block; padding: 0.15rem 0.5rem; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.2); border-radius: var(--radius-full); font-size: 0.65rem; color: #a78bfa; margin-bottom: 0.5rem; width: fit-content; }
.product-name { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.75rem; color: var(--text2); }
.product-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price { font-size: 1.15rem; font-weight: 900; background: linear-gradient(135deg, #a78bfa, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.product-old-price { font-size: 0.7rem; color: var(--text3); text-decoration: line-through; margin-left: 0.3rem; }
.btn-cart { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #6366f1); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; transition: var(--tr); flex-shrink: 0; }
.btn-cart:hover { transform: scale(1.1); }
.btn-cart:disabled { opacity: 0.4; cursor: not-allowed; }

/* ========== CART ========== */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.active { opacity: 1; pointer-events: auto; }
.cart-sidebar { position: fixed; top: 0; right: -400px; width: 100%; max-width: 380px; height: 100vh; z-index: 201; background: rgba(10,10,30,0.98); backdrop-filter: blur(35px); border-left: 1px solid var(--border); transition: right 0.35s cubic-bezier(0.22,1,0.36,1); display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-size: 1rem; font-weight: 800; }
.cart-header button { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--text2); display: flex; align-items: center; justify-content: center; }
.cart-body { flex: 1; overflow-y: auto; padding: 0.75rem; }
.cart-footer { padding: 1rem; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; font-size: 1rem; }
.cart-total-amount { font-weight: 900; font-size: 1.15rem; background: linear-gradient(135deg, #a78bfa, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.btn-checkout { width: 100%; padding: 0.75rem; background: linear-gradient(135deg, #059669, #10b981); color: #fff; border-radius: var(--radius); font-weight: 700; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.btn-checkout:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-clear { width: 100%; padding: 0.5rem; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #fca5a5; border-radius: var(--radius); font-size: 0.75rem; cursor: pointer; margin-top: 0.4rem; }
.cart-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.4rem; }
.cart-item-img { width: 45px; height: 45px; border-radius: 0.6rem; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 0.75rem; color: #a78bfa; font-weight: 700; }
.cart-item-actions { display: flex; align-items: center; gap: 0.4rem; }
.qty-btn { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.8rem; }
.qty-value { font-weight: 700; min-width: 20px; text-align: center; font-size: 0.85rem; }
.cart-empty-state { text-align: center; padding: 2rem 1rem; color: var(--text3); }
.cart-empty-state .icon { font-size: 3rem; opacity: 0.3; margin-bottom: 0.75rem; }

/* ========== CHECKOUT ========== */
.checkout-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 0.75rem; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.checkout-modal.active { opacity: 1; pointer-events: auto; }
.checkout-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); }
.checkout-form { position: relative; width: 100%; max-width: 460px; max-height: 85vh; overflow-y: auto; background: rgba(15,15,35,0.98); border: 1px solid var(--border); border-radius: 1.2rem; padding: 1.5rem; z-index: 1; }
.checkout-form h3 { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 0.2rem; }
.checkout-form > p { color: var(--text2); font-size: 0.8rem; margin-bottom: 1rem; }
.checkout-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.05); color: var(--text3); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; }
.field { margin-bottom: 0.75rem; }
.field label { display: block; font-weight: 600; font-size: 0.8rem; color: #e2e8f0; margin-bottom: 0.3rem; }
.field input, .field textarea, .checkout-select { width: 100%; padding: 0.65rem 0.85rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.7rem; color: #fff; font-size: 0.85rem; transition: var(--tr); }
.field input:focus, .field textarea:focus, .checkout-select:focus { border-color: var(--primary); }
.field textarea { resize: vertical; min-height: 55px; }
.checkout-select { appearance: none; cursor: pointer; }
.checkout-select option { background: #1a1a2e; color: #fff; }
.checkout-summary { background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.15); border-radius: 0.75rem; padding: 0.75rem; margin: 0.75rem 0; color: var(--text2); font-size: 0.8rem; }
.btn-submit { width: 100%; padding: 0.75rem; background: linear-gradient(135deg, #059669, #10b981); color: #fff; border-radius: 0.75rem; font-weight: 700; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }

/* ========== FLOATING NAV ========== */
.floating-nav { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; gap: 0.4rem; padding: 0.5rem 0.9rem; border-radius: var(--radius-full); background: rgba(10,10,26,0.9); backdrop-filter: blur(35px); border: 1px solid var(--border); box-shadow: var(--shadow); }
.nav-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text2); transition: var(--tr); position: relative; }
.nav-btn:hover { background: rgba(255,255,255,0.05); color: #fff; }
.cart-count { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: var(--radius-full); font-size: 0.6rem; font-weight: 800; color: #fff; display: flex; align-items: center; justify-content: center; }
.hidden { display: none !important; }

/* ========== FOOTER ========== */
.footer { padding: 1.25rem; text-align: center; border-top: 1px solid var(--border); color: var(--text3); font-size: 0.75rem; }

/* ========== TOAST ========== */
.toast { position: fixed; top: 0.75rem; left: 50%; transform: translateX(-50%); padding: 0.7rem 1.4rem; border-radius: var(--radius-full); font-weight: 600; font-size: 0.8rem; z-index: 1000; animation: toastIn 0.35s; }
.toast-success { background: rgba(16,185,129,0.9); color: #fff; }
.toast-error { background: rgba(239,68,68,0.9); color: #fff; }

/* ========== SPINNER ========== */
.spinner { width: 36px; height: 36px; border: 3px solid rgba(139,92,246,0.1); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.7s linear infinite; }

/* ========== ADMIN ========== */
.admin-layout { display: flex; min-height: 100vh; padding-top: 56px; }
.admin-sidebar { width: 230px; padding: 0.75rem; background: rgba(255,255,255,0.02); border-right: 1px solid var(--border); position: fixed; top: 56px; left: 0; bottom: 0; z-index: 30; overflow-y: auto; }
.admin-main { flex: 1; padding: 1.25rem; margin-left: 230px; }
.tab-btn { display: flex; align-items: center; gap: 0.6rem; width: 100%; padding: 0.7rem 0.85rem; border-radius: 0.6rem; font-weight: 600; font-size: 0.85rem; color: var(--text2); transition: var(--tr); background: transparent; border: 1px solid transparent; cursor: pointer; margin-bottom: 0.3rem; }
.tab-btn:hover { background: rgba(255,255,255,0.04); color: #fff; }
.tab-btn.active { background: rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.3); color: #a78bfa; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; padding: 1rem; text-align: center; }
.stat-value { font-size: 1.5rem; font-weight: 900; background: linear-gradient(135deg, #a78bfa, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--text3); font-size: 0.7rem; text-transform: uppercase; }
.glass-card { background: var(--surface); border: 1px solid var(--border); border-radius: 1.2rem; padding: 1.25rem; }
.login-card { max-width: 400px; margin: 3rem auto; background: var(--surface); border: 1px solid var(--border); border-radius: 1.5rem; padding: 2rem; text-align: center; }
.login-icon { font-size: 3rem; margin-bottom: 1rem; }
.admin-input { width: 100%; padding: 0.7rem 0.85rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.7rem; color: #fff; font-size: 0.9rem; transition: var(--tr); }
.admin-input:focus { border-color: var(--primary); }
select.admin-input { appearance: none; }
.admin-label { display: block; font-weight: 600; font-size: 0.8rem; color: #e2e8f0; margin-bottom: 0.3rem; }
.input-group { position: relative; margin-bottom: 0.75rem; }
.input-icon { position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); color: var(--text3); }
.input-group .admin-input { padding-left: 2.5rem; }
.img-preview { width: 80px; height: 80px; border: 2px dashed rgba(255,255,255,0.2); border-radius: 0.7rem; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; overflow: hidden; }
.img-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 0.7rem; }
.product-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.product-row-img { width: 50px; height: 50px; border-radius: 0.6rem; object-fit: cover; flex-shrink: 0; }
.product-row-info { flex: 1; min-width: 150px; }
.product-row-header { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.product-row-header strong { color: #fff; font-size: 0.9rem; }
.product-row-meta { color: var(--text3); font-size: 0.75rem; }
.product-row-actions { display: flex; align-items: center; gap: 0.5rem; }
.product-row-price { color: #a78bfa; font-weight: 700; font-size: 0.9rem; }
.badge-featured { font-size: 0.6rem; background: rgba(139,92,246,0.2); color: #a78bfa; padding: 0.15rem 0.4rem; border-radius: 9999px; }
.badge-sale { font-size: 0.6rem; background: rgba(239,68,68,0.2); color: #fca5a5; padding: 0.15rem 0.4rem; border-radius: 9999px; }
.badge-status { font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 9999px; text-transform: uppercase; }
.order-card { background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1rem; margin-bottom: 0.6rem; }
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.order-id { color: #a78bfa; font-weight: 700; font-family: monospace; font-size: 0.8rem; }
.order-body p { font-size: 0.8rem; color: var(--text2); margin-bottom: 0.2rem; }
.order-body strong { color: #e2e8f0; }
.order-actions { display: flex; gap: 0.4rem; margin-top: 0.6rem; border-top: 1px solid var(--border); padding-top: 0.6rem; }
.recent-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem; background: var(--surface); border-radius: 0.6rem; margin-bottom: 0.4rem; }
.recent-img { width: 40px; height: 40px; border-radius: 0.5rem; object-fit: cover; }
.recent-info { flex: 1; }
.recent-name { color: #fff; font-weight: 700; font-size: 0.85rem; }
.recent-meta { color: var(--text3); font-size: 0.7rem; }
.recent-price { color: #a78bfa; font-weight: 700; font-size: 0.85rem; }
.notif-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem; background: var(--surface); border-radius: 0.5rem; margin-bottom: 0.4rem; font-size: 0.8rem; }
.empty-text { color: var(--text3); text-align: center; padding: 1.5rem; }
.msg-box { padding: 0.75rem; border-radius: 0.6rem; margin-bottom: 0.75rem; font-size: 0.85rem; display: none; }
.msg-box.show { display: block; }
.msg-success { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.msg-error { background: rgba(239,68,68,0.15); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.msg-info { background: rgba(59,130,246,0.15); color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }
.mob-btn { display: none; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: 0.6rem; color: #fff; cursor: pointer; }

/* ========== ANIMATIONS ========== */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(-15px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; transform: translateY(25px); transition: opacity 0.6s, transform 0.6s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .cart-sidebar { max-width: 100%; right: -100%; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
    .admin-sidebar { transform: translateX(-100%); width: 250px; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; padding: 0.75rem; }
    .mob-btn { display: flex; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.5rem; }
    .floating-nav { padding: 0.4rem 0.6rem; }
    .nav-btn { width: 32px; height: 32px; font-size: 0.85rem; }
    .checkout-form { padding: 1rem; }
}