:root {
    --bg: #07090f;
    --bg2: #0c0f1a;
    --bg3: #111527;
    --surface: #141828;
    --surface2: #1a1f33;
    --border: rgba(255,255,255,0.07);
    --border2: rgba(255,255,255,0.12);
    --neon: #00d4ff;
    --neon2: #7c3aed;
    --neon3: #f97316;
    --neon-glow: rgba(0,212,255,0.3);
    --neon2-glow: rgba(124,58,237,0.3);
    --text: #f1f5f9;
    --text2: #94a3b8;
    --text3: #475569;
    --green: #10b981;
    --pink: #ec4899;
}

html {
    scroll-behavior: smooth;
}

* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color: transparent; }

button, input, select, textarea {
    font-family: 'Vazirmatn', sans-serif;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../vendor/vazir/Vazirmatn.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* ═══════════════════════════════════════════
   افکت نویز روی صفحه
═══════════════════════════════════════════ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
}

/* ═══════════════════════════════════════════
   گوی‌های متحرک پس‌زمینه
═══════════════════════════════════════════ */
.blob-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: blobFloat 12s ease-in-out infinite;
}
.blob-1 { width: 600px; height: 600px; background: var(--neon); top: -200px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 500px; height: 500px; background: var(--neon2); bottom: 10%; left: -150px; animation-delay: -4s; }
.blob-3 { width: 400px; height: 400px; background: var(--neon3); top: 40%; left: 30%; animation-delay: -8s; opacity: 0.06; }

@keyframes blobFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(30px,-30px) scale(1.05); }
    66% { transform: translate(-20px,20px) scale(0.95); }
}

/* ═══════════════════════════════════════════
   هدر سایت
═══════════════════════════════════════════ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 40px;
    background: rgba(7,9,15,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 900;
    white-space: nowrap;
    letter-spacing: -0.5px;
}
.logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--neon), var(--neon2));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 0 20px var(--neon-glow);
}
.logo span { background: linear-gradient(90deg, var(--neon), var(--neon2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.search-wrap {
    flex: 1;
    max-width: 480px;
    position: relative;
}
.search-wrap input {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 14px;
    padding: 11px 48px 11px 20px;
    color: var(--text);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: 0.3s;
}
.search-wrap input::placeholder { color: var(--text3); }
.search-wrap input:focus {
    border-color: var(--neon);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.1), 0 0 20px rgba(0,212,255,0.05);
}
.search-wrap button {
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: var(--text3); cursor: pointer;
    font-size: 0.95rem; transition: color 0.2s;
}
.search-wrap button:hover { color: var(--neon); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.icon-btn {
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.2s;
    position: relative;
}
.icon-btn:hover { border-color: var(--neon); color: var(--neon); box-shadow: 0 0 15px var(--neon-glow); }
.badge {
    position: absolute;
    top: -6px; left: -6px;
    width: 18px; height: 18px;
    background: var(--neon);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* ═══════════════════════════════════════════
   منوی ناوبری
═══════════════════════════════════════════ */
.nav {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    position: relative; z-index: 99;
}
.nav-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 40px;
    display: flex; gap: 4px;
}
.nav-link {
    padding: 14px 20px;
    color: var(--text2);
    font-size: 0.93rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
    display: flex; align-items: center; gap: 8px;
}
.nav-link i { font-size: 0.85rem; opacity: 0.7; }
.nav-link:hover, .nav-link.active { color: var(--neon); border-bottom-color: var(--neon); }
.nav-link.active { color: var(--neon); }

/* دکمه منوی موبایل */
.mobile-menu-btn {
    display: none;
    width: 44px; height: 44px;
    border: none;
    background: var(--surface);
    border-radius: 12px;
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    margin-left: 12px;
}
.mobile-menu-btn:hover {
    background: var(--surface2);
    color: var(--neon);
}
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

/* ═══════════════════════════════════════════
   کانتینر اصلی
═══════════════════════════════════════════ */
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   بخش اصلی سایت
═══════════════════════════════════════════ */
.hero {
    padding: 80px 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.25);
    color: var(--neon);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon);
    animation: pulse 1.5s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 20px;
    animation: fadeUp 0.6s ease 0.1s both;
}
.hero h1 .accent { 
    background: linear-gradient(90deg, var(--neon), var(--neon2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
    color: var(--text2);
    font-size: 1.1rem;
    max-width: 480px;
    margin-bottom: 36px;
    animation: fadeUp 0.6s ease 0.2s both;
}
.hero-btns {
    display: flex; gap: 14px;
    animation: fadeUp 0.6s ease 0.3s both;
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--neon), #0ea5e9);
    color: #000;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.25s;
    box-shadow: 0 8px 30px rgba(0,212,255,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,212,255,0.45); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--surface);
    color: var(--text);
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid var(--border2);
    transition: 0.25s;
}
.btn-secondary:hover { border-color: var(--neon); color: var(--neon); transform: translateY(-3px); }

.hero-stats {
    display: flex; gap: 32px; margin-top: 48px;
    animation: fadeUp 0.6s ease 0.4s both;
}
.stat-item { text-align: center; }
.stat-num {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--neon), var(--neon2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    display: block;
}
.stat-label { font-size: 0.8rem; color: var(--text3); }

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease 0.3s both;
}
.hero-glow-ring {
    width: 400px; height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(0,212,255,0.15);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    animation: spin 20s linear infinite;
}
.hero-glow-ring::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: conic-gradient(transparent 270deg, rgba(0,212,255,0.4) 360deg);
    animation: spin 3s linear infinite;
}
.hero-glow-ring-inner {
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(124,58,237,0.2);
    display: flex; align-items: center; justify-content: center;
    animation: spin 15s linear infinite reverse;
    background: radial-gradient(circle at center, rgba(0,212,255,0.05), transparent);
}
.hero-icon-wrap {
    width: 160px; height: 160px;
    background: linear-gradient(135deg, var(--surface2), var(--surface));
    border-radius: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem;
    color: var(--neon);
    box-shadow: 0 0 60px var(--neon-glow), inset 0 1px 0 rgba(255,255,255,0.1);
    border: 1px solid rgba(0,212,255,0.2);
    animation: spinReverse 20s linear infinite;
}
.hero-floating-card {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex; align-items: center; gap: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    animation: floatCard 4s ease-in-out infinite;
}
.hero-floating-card:nth-child(2) { top: 30px; left: 0; animation-delay: -1s; }
.hero-floating-card:nth-child(3) { bottom: 50px; right: -10px; animation-delay: -2.5s; }
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.fc-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.fc-icon.cyan { background: rgba(0,212,255,0.15); color: var(--neon); }
.fc-icon.purple { background: rgba(124,58,237,0.15); color: var(--neon2); }
.fc-icon.orange { background: rgba(249,115,22,0.15); color: var(--neon3); }
.fc-icon.green { background: rgba(16,189,129,0.15); color: var(--green); }
.fc-icon.pink { background: rgba(236,73,153,0.15); color: var(--pink); }
.fc-title { font-size: 0.82rem; color: var(--text2); }
.fc-val { font-size: 1.05rem; font-weight: 700; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* ═══════════════════════════════════════════
   دسته‌بندی‌ها
═══════════════════════════════════════════ */
.cats-section { padding: 20px 0 40px; }
.cats-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon);
    font-weight: 700;
}
.cats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.carousel .cats-grid {
    flex-wrap: nowrap;
    gap: 10px;
}
.cat-pill {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text2);
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
    transition: 0.2s;
}
.cat-pill i { color: var(--neon); font-size: 0.85rem; }
.cat-pill:hover {
    background: var(--surface2);
    border-color: var(--neon);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,212,255,0.1);
}

/* ═══════════════════════════════════════════
   تیتر بخش‌ها
═══════════════════════════════════════════ */
.sec-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-top: 40px;
}
.sec-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.sec-title span { color: var(--neon); }
.see-all {
    font-size: 0.88rem;
    color: var(--neon);
    text-decoration: none;
    display: flex; align-items: center; gap: 6px;
    transition: 0.2s;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
}
.see-all:hover { border-bottom-color: var(--neon); }

/* ═══════════════════════════════════════════
   Carousel- حلقه‌
═══════════════════════════════════════════ */
.carousel {
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    direction: rtl;
    scrollbar-width: none;
    padding: 2px 52px 14px;
    overscroll-behavior-x: contain;
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
    scroll-behavior: smooth;
    scroll-snap-type: none;
}

.carousel-track.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex-shrink: 0;
    direction: rtl;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(20,24,40,0.85);
    color: var(--text2);
    position: absolute;
    top: 50%;
    transform: translateY(-55%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.carousel-btn:hover {
    border-color: var(--neon);
    color: var(--neon);
    box-shadow: 0 0 15px var(--neon-glow);
}

.carousel-btn.prev { right: 8px; }
.carousel-btn.next { left: 8px; }

.carousel .cats-grid {
    flex-wrap: nowrap;
    gap: 10px;
}

.carousel .product-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    margin-bottom: 0;
}

.carousel .product-card {
    flex: 0 0 280px;
}

/* ═══════════════════════════════════════════
   گرید محصولات
═══════════════════════════════════════════ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 16px;
}

.carousel .product-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    margin-bottom: 0;
}

.carousel .product-card {
    flex: 0 0 280px;
}

@media (max-width: 900px) {
    .carousel .product-card { flex-basis: 240px; }
}

@media (max-width: 600px) {
    .carousel .product-card { flex-basis: 86%; }
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    display: flex; flex-direction: column;
    position: relative;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,212,255,0.04), transparent);
    opacity: 0;
    transition: 0.3s;
}
.product-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(0,212,255,0.3);
    box-shadow: 0 24px 50px -8px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,255,0.1);
}
.product-card:hover::before { opacity: 1; }

.product-img {
    padding: 32px 20px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg3);
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}
.product-img::after {
    content: '';
    position: absolute;
    width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(0,212,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    transition: 0.4s;
    opacity: 0;
}
.product-card:hover .product-img::after { opacity: 1; transform: scale(2); }

.product-img.purple-tint { background: linear-gradient(135deg, #110d1e, #1a1330); }
.product-img.cyan-tint { background: linear-gradient(135deg, #071416, #0c1f22); }
.product-img.orange-tint { background: linear-gradient(135deg, #160e05, #1e1508); }
.product-img.green-tint { background: linear-gradient(135deg, #071510, #0c201a); }

.product-img i { filter: drop-shadow(0 0 20px currentColor); }
.product-img i.cyan { color: var(--neon); }
.product-img i.purple { color: var(--neon2); }
.product-img i.orange { color: var(--neon3); }
.product-img i.green { color: var(--green); }
.product-img i.pink { color: var(--pink); }

.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-cat-tag {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(0,212,255,0.08);
    color: var(--neon);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 10px;
}
.product-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.product-desc { font-size: 0.82rem; color: var(--text3); margin-bottom: 16px; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.price-label { font-size: 0.72rem; color: var(--text3); }
.price-num { font-size: 1.45rem; font-weight: 800; color: var(--text); direction: ltr; display: block; }
.price-unit { font-size: 0.75rem; color: var(--text3); }
.cart-btn {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.2);
    color: var(--neon);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.2s;
    font-size: 1rem;
}
.cart-btn:hover {
    background: var(--neon);
    color: #000;
    border-color: var(--neon);
    box-shadow: 0 6px 20px var(--neon-glow);
    transform: scale(1.1);
}

/* نشانه سیستم اسمبل شده */
.assembled-tag {
    position: absolute;
    top: 14px; right: 14px;
    background: linear-gradient(135deg, var(--green), #059669);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════
   بنر تخفیف
═══════════════════════════════════════════ */
.promo-banner {
    margin: 60px 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 50px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}
.promo-banner::before {
    content: '';
    position: absolute;
    right: -100px; top: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,212,255,0.12), transparent 60%);
    pointer-events: none;
}
.promo-banner::after {
    content: '';
    position: absolute;
    left: -50px; bottom: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(124,58,237,0.1), transparent 60%);
    pointer-events: none;
}
.promo-text { position: relative; z-index: 1; }
.promo-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.3);
    color: var(--neon3);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.promo-title { font-size: 2.4rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 8px; }
.promo-sub { color: var(--text2); font-size: 1rem; }
.promo-cta {
    position: relative; z-index: 1;
    flex-shrink: 0;
    text-align: center;
}
.countdown {
    display: flex; gap: 12px; margin-bottom: 20px;
}
.cd-block {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 62px; height: 62px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.cd-num { font-size: 1.5rem; font-weight: 900; color: var(--neon); line-height: 1; }
.cd-label { font-size: 0.65rem; color: var(--text3); margin-top: 2px; }
.promo-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--neon3), #ea580c);
    color: white;
    padding: 13px 28px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.25s;
    box-shadow: 0 8px 30px rgba(249,115,22,0.3);
}
.promo-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(249,115,22,0.45); }

/* ═══════════════════════════════════════════
   فوتر سایت
═══════════════════════════════════════════ */
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    margin-top: 80px;
    padding: 60px 40px 30px;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text2); font-size: 0.9rem; max-width: 280px; line-height: 1.8; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text2);
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.2s;
}
.social-btn:hover { background: var(--surface2); border-color: var(--neon); color: var(--neon); }

.footer-col h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text2); text-decoration: none; font-size: 0.9rem; transition: 0.2s; }
.footer-col ul li a:hover { color: var(--neon); padding-right: 4px; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    color: var(--text3);
    font-size: 0.85rem;
}
.footer-bottom a { color: var(--text3); text-decoration: none; transition: 0.2s; }
.footer-bottom a:hover { color: var(--neon); }

/* ═══════════════════════════════════════════
   افکت نمایش با اسکرول
═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
   ریسپانسیو
═══════════════════════════════════════════ */
@media (max-width: 1200px) {
    .header { padding: 0 20px; }
    .container { padding: 0 20px; }
    .nav-inner { padding: 0 20px; }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding: 40px 0; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 2.6rem; }
    .hero p { font-size: 1rem; }
    .hero-btns { flex-wrap: wrap; }
    .hero-stats { flex-wrap: wrap; gap: 20px; justify-content: center; }
    
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .promo-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
    .countdown { justify-content: center; }
    
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg2);
        border-left: 1px solid var(--border);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        padding: 20px 0;
        z-index: 2000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav.open { right: 0; }
    
    .nav-inner {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .nav-link {
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
        transition: background 0.2s;
    }
    
    .nav-link:hover, .nav-link:active {
        background: var(--surface);
        color: var(--neon);
    }
    
    .mobile-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(4px);
    }
    
    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .header-inner { 
        justify-content: space-between;
        position: relative;
    }
    .header .search-wrap { display: none; }
    .header .logo-icon { display: none; }
    .header .logo { 
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
    .header .logo span { display: block; font-size: 1.1rem; }
    .header-actions .icon-btn { width: 40px; height: 40px; border: none; background: transparent; }
    .header-actions .icon-btn:nth-child(1), .header-actions .icon-btn:nth-child(2) { display: none; }
    
    .sec-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
    .sec-title { font-size: 1.5rem; }
    
    .cats-grid { gap: 8px; }
    .cat-pill { padding: 10px 20px; font-size: 0.85rem; }
    
    .carousel-track { padding: 2px 16px 12px; }
    .carousel-btn { display: none !important; }
}

@media (max-width: 600px) {
    .header { padding: 0 16px; }
    .container { padding: 0 16px; padding-bottom: 80px; }
    
    .hero h1 { font-size: 2rem; letter-spacing: -0.5px; line-height: 1.2; }
    .hero p { font-size: 0.95rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns a { width: 100%; justify-content: center; }
    
    /* چیدمان سه ستونه فوتر در موبایل */
    .footer-top { 
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; /* سه ستون در یک ردیف */
        gap: 20px; 
        padding: 0 10px 24px; 
    }
    
    .footer-brand { 
        grid-column: span 3; /* بخش برند کل عرض را بگیرد */
        text-align: center; 
        margin-bottom: 10px;
    }
    .footer-brand .logo { justify-content: center; margin-bottom: 10px; transform: scale(1.1); }
    .footer-brand .logo-icon { display: none; }
    .footer-brand p { margin: 0 auto; font-size: 0.95rem; line-height: 1.8; max-width: 95%; }
    .social-row { justify-content: center; margin-top: 30px; margin-bottom: 30px; gap: 15px; }
    .social-btn { width: 44px; height: 44px; border-radius: 12px; font-size: 1.1rem; }

    .footer-col {
        text-align: right;
    }
    
    .footer-col h5 { font-size: 0.72rem; margin-bottom: 10px; white-space: nowrap; }
    .footer-col ul li { margin-bottom: 6px; }
    .footer-col ul li a { font-size: 0.75rem; display: flex; align-items: center; gap: 4px; }
    .footer-col ul li a i { font-size: 0.7rem; }
    
    .footer-bottom { 
        flex-direction: column; 
        gap: 10px; 
        text-align: center; 
        padding-top: 18px;
        padding-bottom: 80px; /* فضای برای دیده شدن بالای Bottom Nav */
    }
    .footer-bottom div { display: none !important; }
    
    .promo-title { font-size: 1.6rem; }
    
    .product-grid { grid-template-columns: 1fr; gap: 16px; }
    
    .promo-banner { margin: 20px 0; padding: 28px 20px; }
    .countdown { gap: 8px; }
    .cd-block { width: 54px; height: 54px; }
    .cd-num { font-size: 1.3rem; }
    
    .stat-num { font-size: 1.6rem; }
    .stat-label { font-size: 0.75rem; }

    footer { margin-top: 20px; padding-bottom: env(safe-area-inset-bottom); }
}

@media (max-width: 480px) {
    .header-inner { height: 64px; }
    .nav { top: 64px; height: calc(100vh - 64px); }
    
    .hero h1 { font-size: 1.7rem; }
    .hero p { font-size: 0.9rem; }
    
    .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 0.95rem; }
    
    .promo-title { font-size: 1.4rem; }
    .promo-sub { font-size: 0.9rem; }
}

/* ═══════════════════════════════════════════
   صفحه محصولات و فیلترها
   ═══════════════════════════════════════════ */
.products-layout {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.products-content {
    flex: 1;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.products-title {
    font-size: 1.8rem;
    font-weight: 800;
}

.sort-select {
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 8px;
    color: var(--text);
    outline: none;
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 20px;
    background: var(--surface);
    border: 1px solid var(--border2);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    transition: 0.2s;
}

.page-btn.active {
    background: var(--neon);
    border-color: var(--neon);
    color: #000;
    font-weight: 700;
}

.page-btn:hover:not(.active) {
    border-color: var(--neon);
    color: var(--neon);
}

/* سایدبار فیلتر */
.filters-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.filters-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.filters-header {
    display: none;
}

.filter-section {
    margin-bottom: 30px;
}

.filter-title {
    background: var(--surface2);
    color: var(--text);
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border);
}

.filter-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text2);
    font-size: 0.9rem;
    cursor: pointer;
}

.price-range-slider {
    position: relative;
    height: 4px;
    background: var(--surface2);
    margin: 30px 10px;
    border-radius: 2px;
}

.slider-track {
    position: absolute;
    height: 100%;
    background: var(--neon);
    left: 0;
    right: 0;
    box-shadow: 0 0 10px var(--neon-glow);
}

.slider-handle {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--neon);
    border-radius: 50%;
    transform: translate(50%, -50%);
    cursor: pointer;
    box-shadow: 0 0 10px var(--neon-glow);
}

.price-display {
    text-align: center;
    font-size: 0.85rem;
    margin-bottom: 15px;
    direction: rtl;
    color: var(--text2);
}

.price-range-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.price-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-input-group span {
font-size: 0.8rem;
color: var(--text2);
}

.price-input-group input::-webkit-outer-spin-button,
.price-input-group input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

.price-input-group input[type=number] {
-moz-appearance: textfield;
appearance: textfield;
}

.price-input-group input {
width: 100%;
background: var(--bg3);
border: 1px solid var(--border);
border-radius: 8px;
padding: 8px;
color: var(--text);
font-family: 'Vazirmatn', sans-serif;
text-align: center;
}

.price-input-group input:focus {
border-color: var(--neon);
outline: none;
}

.filter-apply-btn {
    width: 70px;
    height: 35px;
    background: linear-gradient(135deg, var(--neon), var(--neon2));
    color: #000;
    border: none;
    border-radius: 8px;
    margin-right: auto;
    display: block;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--neon-glow);
}

.brand-search {
    position: relative;
    margin-bottom: 15px;
}

.brand-search input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid var(--border2);
    border-radius: 12px;
    background: var(--surface2);
    color: var(--text);
    font-family: 'Vazirmatn', sans-serif;
    outline: none;
}

.brand-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text3);
}

.brand-list {
    max-height: 300px;
    overflow-y: auto;
    padding-left: 5px;
}

.brand-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
    color: var(--text2);
}

.brand-count {
    min-width: 35px;
    height: 22px;
    background: var(--surface2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-left: 15px;
    border: 1px solid var(--border);
    color: var(--neon);
}

.brand-name {
    flex: 1;
    font-size: 0.9rem;
}

.mobile-filters-btn {
    display: none;
}

@media (max-width: 768px) {
    .products-layout {
        flex-direction: column;
        gap: 20px;
    }

    .filters-sidebar {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        z-index: 2000;
        background: rgba(7, 9, 15, 0);
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    background 0.4s ease, 
                    backdrop-filter 0.4s ease;
        border: none;
        pointer-events: none;
    }
    
    .filters-sidebar.open {
        right: 0;
        background: rgba(7, 9, 15, 0.6);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        pointer-events: auto;
    }
    
    .filters-container {
        width: 100%;
        height: 100%;
        background: var(--bg);
        margin-right: auto;
        padding: 20px;
        overflow-y: auto;
        border-radius: 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .filters-sidebar.open .filters-container {
        transform: translateX(0);
    }
    
    .filters-header {
        display: flex;
        align-items: center;
        padding-bottom: 20px;
        margin-bottom: 25px;
        border-bottom: 1px solid var(--border);
        cursor: pointer;
        color: var(--neon);
        font-weight: 700;
        font-size: 1.1rem;
    }
    
    .filters-header i {
        margin-left: 12px;
        font-size: 1.3rem;
    }

    .mobile-filters-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background: var(--neon);
        border: none;
        border-radius: 8px;
        color: #000;
        cursor: pointer;
        font-weight: 700;
        box-shadow: 0 4px 15px var(--neon-glow);
    }

    .products-title {
        font-size: 1.5rem;
    }
}