:root {
    --bg-page: #0a0a0c;
    --bg-surface: #14141a;
    --bg-surface-2: #1c1c24;
    --border: #2a2a33;
    --border-accent: #8a8f9a;
    --accent-gradient: linear-gradient(180deg, #f4f6f9 0%, #b7bcc6 45%, #7d838f 100%);
    --accent: #c7cbd4;
    --accent-strong: #eef0f3;
    --text-primary: #f1f2f4;
    --text-secondary: #b7bcc6;
    --text-muted: #7d818c;
    --success: #6abf6e;
    --danger: #d97862;
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    direction: rtl;
}
a { color: inherit; text-decoration: none; }

.site-header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-logo {
    font-size: 20px;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.site-nav { display: flex; gap: 18px; font-size: 13px; color: var(--text-secondary); }
.site-nav a:hover { color: var(--accent-strong); }

.container { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }

.category-bar { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 20px; }
.category-chip {
    flex-shrink: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.category-chip.active, .category-chip:hover { border-color: var(--border-accent); color: var(--accent-strong); background: var(--bg-surface-2); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.2s;
}
.product-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.product-card .thumb { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-surface-2); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 32px; }
.product-card .body { padding: 12px; }
.product-card .cat-label { font-size: 10px; color: var(--text-muted); margin-bottom: 4px; }
.product-card .name { font-size: 14px; font-weight: bold; margin-bottom: 6px; color: var(--text-primary); }
.product-card .price { font-size: 13px; color: var(--accent-strong); font-weight: bold; }
.badge-wholesale { display: inline-block; background: rgba(150,155,165,0.15); color: var(--accent-strong); font-size: 9px; padding: 2px 8px; border-radius: 10px; margin-top: 6px; }
.badge-custom { display: inline-block; background: rgba(106,191,110,0.15); color: var(--success); font-size: 9px; padding: 2px 8px; border-radius: 10px; margin-top: 6px; margin-right: 4px; }

.section-title { font-size: 18px; font-weight: bold; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }

.site-footer { border-top: 1px solid var(--border); padding: 24px 16px; text-align: center; color: var(--text-muted); font-size: 12px; margin-top: 40px; }

.btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent-gradient); color: #0d0d10; border: none;
    padding: 10px 20px; border-radius: 22px; font-weight: bold; font-size: 13px; cursor: pointer;
}
.btn-outline { background: none; border: 1px solid var(--border); color: var(--text-secondary); }

.white-text { color: var(--text-primary); }
.muted-text { color: var(--text-muted); }

@media (max-width: 640px) {
    .site-nav { display: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================= انیمیشن‌ها و افکت‌های حرفه‌ای ================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.1s; }
.reveal-delay-2.in-view { transition-delay: 0.2s; }
.reveal-delay-3.in-view { transition-delay: 0.3s; }
.reveal-delay-4.in-view { transition-delay: 0.4s; }

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer-text {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-strong) 25%, var(--accent) 50%, var(--accent-strong) 75%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.float-anim { animation: floaty 4s ease-in-out infinite; }

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}
.fade-scale-in { animation: fadeInScale 0.9s cubic-bezier(0.16,1,0.3,1) both; }

.hover-lift { transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }

.counter-num { font-variant-numeric: tabular-nums; }

.glow-line { position: relative; }
.glow-line::after { content: ''; position: absolute; bottom: -6px; right: 0; width: 48px; height: 3px; background: var(--accent-gradient); border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .shimmer-text, .float-anim, .fade-scale-in, .hover-lift { animation: none !important; transition: none !important; opacity: 1!important; transform: none!important; }
}
