@font-face {
    font-family: 'Lalezar';
    src: url('../fonts/Digi%20Lalezar%20Plus.ttf') format('truetype'),
         url('../fonts/Digi%20Lalezar%20Plus.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/PoppinsLatin-Medium.ttf') format('truetype'),
         url('../fonts/PoppinsLatin-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   1. متغیرها و پالت رنگی (Green & Organic Vibes)
   ========================================================= */
:root {
    /* --- رنگ اصلی (سبز فرش و سرزنده) --- */
    --primary-color: #80b918;       /* سبز لیمویی روشن */
    --primary-dark: #4f772d;        /* سبز جنگلی (برای سایه و عمق) */
    --primary-glow: rgba(128, 185, 24, 0.5);
    
    /* --- رنگ‌های مکمل --- */
    --highlight: #eec213;           /* زرد لیمویی (فقط برای جرقه‌های کوچک) */
    
    /* --- پس‌زمینه (تیره و شیک) --- */
    --dark-bg: #121212;             /* مشکی خالص‌تر */
    --card-bg: #1e1e1e;
    --card-gradient-start: #252525;
    --card-gradient-end: #252525;
    
    /* --- تایپوگرافی --- */
    --text-light: #f1f8e9;          /* سفید مایل به سبز خیلی روشن */
    --text-dark: #a0a0a0;           /* طوسی */
    --border-color: #333333;
}

/* --- تنظیمات کلی --- */
* {
    margin: 0; padding: 0; box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Lalezar', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    direction: rtl;
    overflow-x: hidden;
    padding-top: 100px;
    position: relative;
    z-index: 1;
}

/* --- اسکرول بار سبز --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* =========================================================
   2. انیمیشن‌ها
   ========================================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes move {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-120vh) rotate(360deg); }
}

@keyframes rotateIn3D {
    from { opacity: 0; transform: translateY(50px) rotateY(90deg); }
    to { opacity: 1; transform: translateY(0) rotateY(0deg); }
}

@keyframes blinkCursor { 50% { opacity: 0; } }

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =========================================================
   3. بکگراند متحرک (دایره‌های نورانی و شفاف بوکه)
   ========================================================= */
.background-animation {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; overflow: hidden; pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    animation: move linear infinite;
    bottom: -250px;
}

/* دایره ۱: بزرگ و درخشان */
.circle.c1 { 
    width: 240px; height: 240px; left: 8%; 
    background: radial-gradient(circle, rgba(128, 185, 24, 0.28) 0%, rgba(128, 185, 24, 0) 70%);
    animation-duration: 32s; 
}

/* دایره ۲: متوسط و روشن */
.circle.c2 { 
    width: 160px; height: 160px; left: 28%; 
    background: radial-gradient(circle, rgba(180, 240, 60, 0.32) 0%, rgba(180, 240, 60, 0) 70%);
    animation-duration: 24s; animation-delay: 2s;
}

/* دایره ۳: کوچک و سریع */
.circle.c3 { 
    width: 100px; height: 100px; left: 52%; 
    background: radial-gradient(circle, rgba(150, 220, 30, 0.35) 0%, rgba(150, 220, 30, 0) 70%);
    animation-duration: 38s; 
}

/* دایره ۴: بزرگ و آهسته */
.circle.c4 { 
    width: 200px; height: 200px; left: 74%; 
    background: radial-gradient(circle, rgba(128, 185, 24, 0.25) 0%, rgba(128, 185, 24, 0) 70%);
    animation-duration: 28s; animation-delay: 4s;
}

/* دایره ۵: متوسط */
.circle.c5 { 
    width: 130px; height: 130px; left: 88%; 
    background: radial-gradient(circle, rgba(160, 230, 50, 0.3) 0%, rgba(160, 230, 50, 0) 70%);
    animation-duration: 22s; animation-delay: 1s;
}

/* =========================================================
   4. صفحه ورودی (Splash Screen)
   ========================================================= */
#splash-screen {
    position: fixed; inset: 0; width: 100%; height: 100dvh;
    background-color: var(--dark-bg);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; transition: opacity 0.8s ease-out;
}

.splash-content {
    text-align: center; display: flex; flex-direction: column;
    align-items: center; transform: translateY(-30px);
}

/* =========================================================*
   4. صفحه ورودی (Splash Screen) - بروزرسانی لوگو
   ========================================================= */
.splash-logo {
    width: 110px;
    height: 110px; /* برای اطمینان از دایره بودن، عرض و ارتفاع را برابر قرار دهید */
    margin-bottom: 30px;
    opacity: 0;
    animation: rotateIn3D 1s ease-out 0.4s forwards;
    filter: drop-shadow(0 0 15px var(--primary-glow));

    /* --- کدهای جدید برای دایره‌ای کردن --- */
    border-radius: 50%;   /* این خط عکس را کاملا گرد می‌کند */
    object-fit: cover;    /* این خط باعث می‌شود عکس تمام فضای دایره را پر کند بدون اینکه کشیده شود */
    border: 3px solid var(--primary-color); /* یک حاشیه سبز برای زیبایی بیشتر (اختیاری) */
}


.splash-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 10vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
    
    /* گرادینت سبز شیک */
    background: linear-gradient(90deg, #ffffff 0%, var(--primary-color) 50%, #ffffff 100%);
    background-size: 200% auto;
    
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    opacity: 0;
    animation: 
        fadeInUp 1s ease-out 1.2s forwards,
        gradientFlow 4s ease-in-out 3s infinite;
}

.splash-slogan {
    font-family: 'Lalezar', sans-serif; font-size: 1.4rem;
    color: var(--primary-color); text-align: center; direction: rtl;
    white-space: pre; margin-top: 0.5rem;
}

.splash-slogan::after {
    content: '|'; color: var(--primary-dark); margin-right: 5px;
    animation: blinkCursor 0.8s step-end infinite;
}

/* =========================================================
   5. هدر اصلی (Header)
   ========================================================= */
.main-header {
    position: fixed; top: 0; right: 0; left: 0;
    display: flex; justify-content: center; align-items: center;
    padding: 1rem;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(128, 185, 24, 0.1); /* خط نازک سبز */
    z-index: 1000;
    animation: fadeInUp 0.6s ease-out;
}

.brand-name {
    font-family: 'Poppins', sans-serif; 
    font-size: 2.5rem;
    /* رنگ همیشه سبز */
    color: var(--primary-color); 
    /* درخشش همیشگی */
    text-shadow: 0 0 15px var(--primary-glow);
    transition: color 0.3s ease;
}

/* این بخش دیگر ضروری نیست اما اگر می‌خواهید در هاور افکت تشدید شود می‌توانید نگه دارید */
.brand-name:hover { 
    /* مثلا در هاور کمی روشن‌تر شود یا سایه بیشتر شود */
    text-shadow: 0 0 25px var(--primary-glow), 0 0 10px var(--primary-color);
}


/* =========================================================
   6. فیلترها (Category Filters)
   ========================================================= */
.category-filters {
    display: flex; overflow-x: auto; white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem 1rem 1rem; margin-bottom: 1rem;
    scrollbar-width: none;
}
.category-filters::-webkit-scrollbar { display: none; }

.filter-btn {
    font-family: 'Lalezar', sans-serif; font-size: 1rem;
    padding: 8px 26px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-dark);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0; margin-left: 10px;
}

.filter-btn:hover {
    background-color: rgba(128, 185, 24, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    /* دکمه فعال سبز */
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000; /* متن مشکی روی زمینه سبز */
    font-weight: bold;
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* =========================================================
   7. کانتینرها
   ========================================================= */
.swiper-container, .vertical-menu-container {
    display: none;
    animation: scaleIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.swiper-container { width: 100%; padding: 40px 0 80px; position: relative; }

/* اسلاید غیرفعال */
.swiper-slide {
    width: 300px; height: 450px; position: relative;
    filter: blur(3px) grayscale(90%); /* سیاه‌سفید کامل */
    opacity: 0.5; transform: scale(0.9);
    transition: all 0.4s ease; pointer-events: none;
}

/* اسلاید فعال */
.swiper-slide-active {
    filter: none; opacity: 1; transform: scale(1);
    z-index: 10; pointer-events: auto; will-change: transform;
}

.vertical-menu-container {
    padding: 2rem 1rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* دکمه‌های اسلایدر */
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color) !important;
    transform: scale(0.9);
    text-shadow: 0 0 10px rgba(0,0,0,1);
}
.swiper-pagination-bullet-active { 
    background: var(--primary-color) !important; 
}

/* =========================================================
   8. کارت محصول (Product Card)
   ========================================================= */
.product-card {
    background: linear-gradient(145deg, var(--card-gradient-start), var(--card-gradient-end));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden; text-align: center; padding: 1.5rem;
    height: 100%;
    display: flex; flex-direction: column; justify-content: space-around;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.vertical-menu-container .product-card {
    height: 480px; filter: none !important; opacity: 1 !important;
}

/* هاور با حاشیه سبز */
.swiper-slide-active .product-card:hover,
.vertical-menu-container .product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(128, 185, 24, 0.2);
}

.product-image {
    height: 200px; width: 100%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; overflow: visible;
}

.product-card img {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
    transform: translateZ(0);
}

.swiper-slide-active .product-card:hover img,
.vertical-menu-container .product-card:hover img {
    transform: scale(1.12);
}
.swiper-slide-active .product-card img { transform: scale(1.1); }

.product-card h3 {
    font-size: 1.7rem; color: var(--text-light);
    margin-bottom: 0.5rem; transition: color 0.3s ease;
    text-rendering: optimizeLegibility;
}

.swiper-slide-active .product-card:hover h3,
.vertical-menu-container .product-card:hover h3 {
    color: var(--primary-color);
}

/* مواد اولیه */
.product-card .ingredients {
    font-size: 0.95rem; color: var(--text-dark);
    line-height: 1.6;
    flex-grow: 1; min-height: 0; margin-bottom: 0.8rem;
    overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

/* قیمت */
.product-card .price {
    margin-top: auto; padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex; justify-content: center; align-items: center;
    gap: 10px; flex-wrap: wrap; width: 100%;
}

.price .new-price {
    font-size: 1.25rem;
    color: #fff;
    /* دکمه سبز جذاب */
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 6px 18px; border-radius: 14px;
    font-weight: bold; transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(79, 119, 45, 0.4);
}

.swiper-slide-active .product-card:hover .price .new-price,
.vertical-menu-container .product-card:hover .price .new-price {
    transform: scale(1.05);
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
}

.price .old-price {
    color: var(--text-dark); text-decoration: line-through; 
    font-size: 1rem; opacity: 0.7;
}

.swiper-slide-active .product-card img { transform: scale(1.15) rotate(-5deg); }

/* =========================================================
   9. فوتر و دکمه‌ها
   ========================================================= */
.simple-footer {
    border-top: 1px solid var(--border-color);
    background: transparent; padding: 3rem 1rem;
    text-align: center; margin-top: 3rem;
}

.footer-icons { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; }

.footer-icon {
    color: var(--text-dark); transition: all 0.3s ease; padding: 0.5rem;
}
.footer-icon:hover { color: var(--primary-color); transform: translateY(-5px); }
.footer-address p { font-size: 1rem; color: var(--text-dark); margin: 0; }

/* دکمه شناور بازی (موقعیت: پایین-چپ) */
.floating-game-btn {
    position: fixed;
    bottom: 25px; /* فاصله از پایین */
    left: 25px;   /* فاصله از چپ */
    z-index: 999;
    
    width: 75px;   /* عرض دایره */
    height: 75px;  /* ارتفاع دایره */
    
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-color), #aacc00);
    color: #fff; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.5), 0 0 15px rgba(128, 185, 24, 0.4);
    transition: transform 0.3s;

    /* برای وسط‌چینی عکس داخل دکمه */
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-game-btn:hover {
    /* از اینجا transform: translateX(-50%) حذف شد */
    transform: scale(1.15) rotate(20deg); 
}

/* استایل برای عکس داخل دکمه */
.floating-game-btn img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

/* مودال بازی */
.game-modal {
    position:fixed; inset:0; display:none; align-items:center; 
    justify-content:center; background:rgba(0,0,0,0.95);
    padding:16px; z-index:1000;
}
.game-modal[aria-hidden="false"] { display:flex; }

.game-wrap {
    width:min(920px,100%); border-radius:24px;
    border:2px solid var(--primary-color);
    background: #1e1e1e;
    box-shadow:0 0 50px rgba(128, 185, 24, 0.2);
    padding:16px 16px 10px; position:relative;
}

.close-btn {
    position:absolute; top:-15px; right:-15px; width:45px; height:45px;
    border-radius:50%; border:none; cursor:pointer;
    background: var(--primary-color);
    color: #fff; font-size:22px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.hud-item {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; padding:6px 12px; border-radius:12px; 
    font-family:'Lalezar', cursive;
}

.canvas-holder {
    position:relative; width:100%; height: clamp(260px, 56vh, 380px);
    background: linear-gradient(to bottom, #89f7fe 0%, #66a6ff 100%);
    border-radius:16px; overflow:hidden; margin-top: 10px;
    border: 2px solid #fff;
}

#gameCanvas { width:100%; height:100%; display:block; }
.controls { display:flex; gap:10px; justify-content:center; align-items:center; margin-top:15px; }
.ctrl {
    background: var(--primary-color); border:none; color: #000; 
    border-radius:999px; padding:10px 20px; cursor:pointer;
    font-weight:700; font-family: 'Lalezar', sans-serif;
    box-shadow: 0 5px 15px rgba(128, 185, 24, 0.4);
}
/* دکمه شناور ساندکلاد (موقعیت: پایین-راست) */
.floating-sound-btn {
    position: fixed;
    bottom: 25px; /* فاصله از پایین */
    right: 25px;  /* فاصله از راست */
    z-index: 999;
    
    width: 75px;  /* عرض دایره */
    height: 75px; /* ارتفاع دایره */
    
    border-radius: 50%;
    border: none;
    cursor: pointer;
    
    /* همان گرادینت سبز */
    background: linear-gradient(135deg, var(--primary-color), #aacc00);
    color: #fff; 
    
    /* سایه و افکت درخشش */
    box-shadow: 0 8px 20px rgba(0,0,0,0.5), 0 0 15px rgba(128, 185, 24, 0.4);
    transition: transform 0.3s;
    
    /* وسط‌چینی آیکون */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* افکت هاور (بزرگنمایی و کمی چرخش) */
.floating-sound-btn:hover {
    transform: scale(1.15) rotate(-10deg); 
}

/* =========================================================
   10. ریسپانسیو (Mobile)
   ========================================================= */
@media (max-width: 768px) {
    .brand-name { font-size: 2rem; }
    .splash-brand { font-size: 2.8rem; }
    
    .swiper-slide { width: 270px; height: 440px; }
    .vertical-menu-container { gap: 1.5rem; }
    .vertical-menu-container .product-card { height: auto; min-height: 420px; }
    
    .product-image { height: 170px; }
    .product-card h3 { font-size: 1.5rem; }
    .price .new-price { font-size: 1.15rem; padding: 6px 14px; }
    
    .simple-footer { padding: 1.5rem; }
    .footer-icons { gap: 1.5rem; }
}
/* =========================================================
   11. گزینه‌های سفارشی (Custom Options)
   ========================================================= */
.custom-options {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 2rem 1rem;
    animation: fadeInUp 0.6s ease-out;
}

.custom-options h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.option-item {
    background: linear-gradient(145deg, var(--card-gradient-start), var(--card-gradient-end));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.option-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(128, 185, 24, 0.2);
}

.option-name {
    color: var(--text-light);
    font-size: 1rem;
}

.option-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    background: rgba(128, 185, 24, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .custom-options {
        margin: 1.5rem 0.5rem;
        padding: 1rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}/* =========================================================
   11. گزینه‌های سفارشی (Custom Options)
   ========================================================= */
.custom-options {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 2rem 1rem;
    animation: fadeInUp 0.6s ease-out;
}

.custom-options h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.option-item {
    background: linear-gradient(145deg, var(--card-gradient-start), var(--card-gradient-end));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.option-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(128, 185, 24, 0.2);
}

.option-name {
    color: var(--text-light);
    font-size: 1rem;
}

.option-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    background: rgba(128, 185, 24, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .custom-options {
        margin: 1.5rem 0.5rem;
        padding: 1rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}
/* ... کدهای قبلی (قسمت هدر رو با کد زیر جایگزین کن) ... */

/* =========================================================
   5. هدر اصلی (Header)
   ========================================================= */
.main-header {
    position: fixed; top: 0; right: 0; left: 0;
    display: flex; justify-content: center; /* وسط چین */
    align-items: center;
    padding: 1rem;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(128, 185, 24, 0.1);
    z-index: 1000;
    animation: fadeInUp 0.6s ease-out;
}

.brand-name {
    font-family: 'Poppins', sans-serif; 
    font-size: 2rem; /* کمی کوچکتر کردم که تو موبایل جا بشه */
    color: var(--primary-color); 
    text-shadow: 0 0 15px var(--primary-glow);
    margin: 0;
}

/* =========================================================
   بخش جستجوی جدید (داخل بدنه)
   ========================================================= */
.search-container {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px; /* فاصله تا دسته ها */
    display: flex;
    justify-content: center;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px; /* حداکثر عرض در دسکتاپ */
}

.main-search-input {
    width: 100%;
    padding: 14px 50px 14px 20px; /* پدینگ راست برای آیکون */
    border-radius: 50px; /* کاملا گرد */
    border: 1px solid var(--border-color);
    background: #1e1e1e;
    color: #fff;
    font-family: 'Lalezar', sans-serif;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.5rem;
    transition: color 0.3s;
    pointer-events: none;
}

/* افکت فوکوس (Glow) */
.main-search-input:focus {
    border-color: var(--primary-color);
    background: #252525;
    box-shadow: 0 0 15px var(--primary-glow), inset 0 2px 5px rgba(0,0,0,0.5);
    transform: scale(1.02); /* کمی بزرگ شدن */
}

.main-search-input:focus + .search-icon {
    color: var(--primary-color);
}

/* متن نگهدارنده (Placeholder) */
.main-search-input::placeholder {
    color: #555;
    font-size: 0.9rem;
}

/* ... بقیه کدهای CSS (دکمه‌های شناور و وب مانیا و ...) همون قبلی‌ها باشن ... */
/* فقط مطمئن شو کدهای Web Mania که دفعه قبل دادم رو داری */
.web-mania-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #333;
    font-size: 0.9rem;
    color: #666;
    animation: fadeInUp 1s ease-out;
}

.wm-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(90deg, #ff00cc, #333399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.wm-brand:hover {
    transform: scale(1.1) rotate(-3deg);
    text-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
}
/* =========================================================
   5. هدر اصلی (Header)
   ========================================================= */
.main-header {
    position: fixed; top: 0; right: 0; left: 0;
    display: flex; 
    justify-content: space-between; /* تغییر به space-between برای چیدمان آیکون و متن */
    align-items: center;
    padding: 0.8rem 1rem;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(128, 185, 24, 0.1);
    z-index: 1000;
    animation: fadeInUp 0.6s ease-out;
}

.brand-name {
    font-family: 'Poppins', sans-serif; 
    font-size: 1.8rem;
    color: var(--primary-color); 
    text-shadow: 0 0 15px var(--primary-glow);
    margin: 0;
    /* برای اینکه برند دقیقاً وسط باشه */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
}

/* دکمه آیکون سرچ در هدر */
.header-search-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2; /* بالاتر از برند */
}

.header-search-btn .material-icons-round {
    font-size: 1.8rem;
}

.header-search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* =========================================================
   بخش جستجوی باز شونده (Collapsible)
   ========================================================= */
.search-container {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden; /* برای مخفی کردن محتوا هنگام بسته بودن */
    
    /* تنظیمات انیمیشن بسته بودن */
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    margin-bottom: 0;
    
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* کلاس فعال برای باز شدن */
.search-container.active {
    max-height: 100px; /* ارتفاع کافی برای نمایش */
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 15px; /* فاصله با پایین */
    padding-top: 10px;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 0 15px; /* فاصله از لبه‌های صفحه */
}

/* ... بقیه استایل‌های اینپوت که قبلاً دادم سرجاش باشه ... */
.main-search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: #1e1e1e;
    color: #fff;
    font-family: 'Lalezar', sans-serif;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s;
}
/* ... */
/* ... کدهای قبلی ... */

/* اصلاح هدر برای فاصله دکمه سرچ */
.header-search-btn {
    /* ... استایل‌های قبلی ... */
    margin-left: 15px; /* فاصله از لوگو در حالت RTL */
}

/* =========================================================
   9. بروزرسانی دکمه‌های شناور (کوچکتر: 45px)
   ========================================================= */
.floating-game-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;   /* کوچکتر شد */
    height: 45px;  /* کوچکتر شد */
    z-index: 999;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-color), #aacc00);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.floating-game-btn img { width: 24px; height: 24px; } /* آیکون هم کوچکتر */

.floating-sound-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;   /* کوچکتر شد */
    height: 45px;  /* کوچکتر شد */
    z-index: 999;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-color), #aacc00);
    color: #fff; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.floating-sound-btn svg { width: 22px; height: 22px; }

/* =========================================================
   12. امضای تیم وب مانیا (نسخه سبز و انیمیت شده)
   ========================================================= */
.web-mania-signature {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: default;
    opacity: 0.9;
}

.wm-text {
    font-family: 'Lalezar', sans-serif;
    font-size: 0.9rem;
    color: #888;
}

.wm-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    
    /* گرادینت سبز برای هماهنگی با تم */
    background: linear-gradient(135deg, #80b918 0%, #d4ff00 100%);
    background-size: 200% auto; /* برای حرکت */
    
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    position: relative;
    /* انیمیشن درخشش ملایم */
    animation: shineGreen 3s linear infinite;
}

@keyframes shineGreen {
    0% { background-position: 0% 50%; filter: drop-shadow(0 0 2px rgba(128, 185, 24, 0.3)); }
    50% { background-position: 100% 50%; filter: drop-shadow(0 0 8px rgba(128, 185, 24, 0.6)); }
    100% { background-position: 0% 50%; filter: drop-shadow(0 0 2px rgba(128, 185, 24, 0.3)); }
}


/* --- حالت جایگزین وقتی سوایپر لود نمی‌شود --- */
.swiper.fallback-mode {
    overflow: visible; /* حذف پنهان‌سازی اسکرول */
}
.swiper.fallback-mode .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* چیدمان شبکه‌ای */
    gap: 15px;
    transform: none !important; 
    padding: 0;
}
.swiper.fallback-mode .swiper-slide {
    width: 100% !important; /* پر کردن فضای گرید */
    opacity: 1 !important;
    transform: none !important;
}
/* مخفی کردن دکمه‌های سوایپر وقتی لود نشده */
.swiper.fallback-mode .swiper-button-prev,
.swiper.fallback-mode .swiper-button-next,
.swiper.fallback-mode .swiper-pagination {
    display: none !important;
}








/* ================== CAFE CLUB MODAL (GLASSMORPHISM) ================== */
.cafe-club-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(12px); /* افکت بلر عمیق پس‌زمینه */
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    perspective: 1000px;
}

.cafe-club-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* کارت شیشه‌ای با انیمیشن سه‌بعدی و فنری */
.cafe-club-card {
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(128, 185, 24, 0.2); /* حاشیه سبز لیمویی محو */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(128, 185, 24, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    position: relative;
    /* وضعیت قبل از انیمیشن: پایین، کمی چرخیده و کوچکتر */
    transform: translateY(60px) scale(0.85) rotateX(20deg);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); /* افکت فنری جذاب */
    direction: rtl;
}

.cafe-club-overlay.active .cafe-club-card {
    /* وضعیت نمایش کامل */
    transform: translateY(0) scale(1) rotateX(0);
}

.close-btn {
    position: absolute;
    top: 15px; right: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    color: var(--text-dark, #a0a0a0);
    cursor: pointer;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.3s ease;
}
.close-btn:hover {
    background: rgba(238, 194, 19, 0.2); /* هاور با رنگ طلایی */
    color: var(--highlight, #eec213);
    transform: rotate(90deg);
}

.card-header .icon-glow {
    width: 60px; height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color, #80b918), var(--primary-dark, #4f772d));
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #121212;
    box-shadow: 0 0 20px rgba(128, 185, 24, 0.4);
}
.coffee-icon { width: 32px; height: 32px; }

.card-header h2 {
    color: var(--text-light, #f1f8e9);
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}
.card-header p {
    color: var(--text-dark, #a0a0a0);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* اینپوت‌های شناور (Floating Labels) */
.input-group {
    position: relative;
    margin-bottom: 25px;
    text-align: right;
}
.input-group input {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light, #f1f8e9);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}
.input-group label {
    position: absolute;
    right: 0;
    top: 10px;
    color: var(--text-dark, #a0a0a0);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}
.input-group .line {
    position: absolute;
    bottom: 0; right: 0;
    height: 2px; width: 0;
    background: var(--primary-color, #80b918);
    transition: width 0.4s ease;
}

/* انیمیشن لیبل هنگام تایپ یا فوکوس */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--primary-color, #80b918);
}
.input-group input:focus ~ .line { width: 100%; }

.submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-dark, #4f772d), var(--primary-color, #80b918));
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(128, 185, 24, 0.3);
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 185, 24, 0.5);
}
.submit-btn svg { width: 20px; height: 20px; transition: 0.3s; }
.submit-btn:hover svg { transform: translateX(-5px); } /* حرکت فلش به چپ (راست‌چین) */

/* استایل بخش موفقیت */
.hidden { display: none !important; }
.success-animation svg { width: 80px; height: 80px; margin-bottom: 20px; }
#vipSuccessContainer h3 { color: var(--primary-color, #80b918); margin-bottom: 10px; font-size: 1.5rem;}
#vipSuccessContainer p { color: var(--text-dark, #a0a0a0); }





/* =========================
   Desktop improvements only
   ========================= */
@media (min-width: 769px) {
  body {
    padding-top: 120px;
  }

  .main-header {
    height: 90px;
    padding: 0 40px;
    justify-content: space-between;
  }

  #main-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
  }

  .category-filters {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px 32px;
    gap: 12px;
    justify-content: center;
    overflow-x: visible;
    white-space: normal;
    flex-wrap: wrap;
  }

  .filter-btn {
    min-height: 48px;
    padding: 12px 22px;
    font-size: 1rem;
  }

  .vertical-menu-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 32px 80px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
  }

  .vertical-menu-container .product-card {
    min-height: 460px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .product-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border-radius: 20px 20px 0 0;
}


  .product-card:hover {
    transform: translateY(-6px);
  }

  .swiper-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 32px 100px;
  }

  .options-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}









/* =========================================================
   11. بازآفرینی کامل و حرفه‌ای ظاهر منو (Specialty Coffee Redesign)
   ========================================================= */

/* پس‌زمینه تمیز و عمیق تیره بدون نور سبز لجنی */
body {
    background-color: #0d0e0c !important;
    background-image: none !important;
}

/* =========================================================
   بکگراند متحرک (دایره‌های نورانی بوکه و واضح‌تر)
   ========================================================= */
.background-animation {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; overflow: hidden; pointer-events: none;
}
.circle {
    position: absolute;
    border-radius: 50%;
    animation: move linear infinite;
    bottom: -250px;
}
/* دایره‌های درخشان و واضح که در پس‌زمینه مشکی به زیبایی دیده می‌شوند */
.circle.c1 { 
    width: 250px; height: 250px; left: 8%; 
    background: radial-gradient(circle, rgba(128, 185, 24, 0.28) 0%, rgba(128, 185, 24, 0) 70%);
    animation-duration: 32s; 
}
.circle.c2 { 
    width: 170px; height: 170px; left: 28%; 
    background: radial-gradient(circle, rgba(170, 235, 50, 0.32) 0%, rgba(170, 235, 50, 0) 70%);
    animation-duration: 25s; animation-delay: 2s;
}
.circle.c3 { 
    width: 110px; height: 110px; left: 52%; 
    background: radial-gradient(circle, rgba(150, 220, 30, 0.35) 0%, rgba(150, 220, 30, 0) 70%);
    animation-duration: 38s; 
}
.circle.c4 { 
    width: 210px; height: 210px; left: 74%; 
    background: radial-gradient(circle, rgba(128, 185, 24, 0.26) 0%, rgba(128, 185, 24, 0) 70%);
    animation-duration: 28s; animation-delay: 4s;
}
.circle.c5 { 
    width: 140px; height: 140px; left: 88%; 
    background: radial-gradient(circle, rgba(160, 230, 50, 0.32) 0%, rgba(160, 230, 50, 0) 70%);
    animation-duration: 22s; animation-delay: 1s;
}

/* =========================================================
   دکمه‌های فیلتر دسته‌بندی با حس انسانی و لوکس
   ========================================================= */
.category-filters {
    gap: 10px;
    padding: 10px 16px 24px;
}
.filter-btn {
    font-family: 'Lalezar', Tahoma, sans-serif;
    font-size: 1.05rem;
    padding: 10px 24px;
    border-radius: 50px;
    background: rgba(30, 34, 25, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a0a89a;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.filter-btn:hover {
    background: rgba(128, 185, 24, 0.18);
    border-color: rgba(128, 185, 24, 0.5);
    color: #fff;
    transform: translateY(-2px);
}
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #5f8a18);
    border-color: var(--primary-color);
    color: #000;
    font-weight: bold;
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 8px 22px rgba(128, 185, 24, 0.42);
}

/* =========================================================
   بخش پرفروش‌ها (Swiper با افکت دایره‌ای و سه‌بعدی روان)
   ========================================================= */
.bestSellerSwiper {
    width: 100%;
    padding: 25px 0 65px !important;
    position: relative;
    overflow: hidden;
    perspective: 1100px !important;
    contain: layout style;
}
.bestSellerSwiper .swiper-wrapper {
    align-items: center;
    transform-style: preserve-3d;
    will-change: transform;
}
.bestSellerSwiper .swiper-slide {
    width: 330px;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}
/* اسلاید غیرفعال در سوایپر (محو و ایجاد عمق سه‌بعدی بدون بلر سنگین برای پردازش ۶۰ فریم بر ثانیه) */
.bestSellerSwiper .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.45 !important;
    pointer-events: none;
}
.bestSellerSwiper .swiper-slide-active {
    opacity: 1 !important;
    z-index: 10;
    pointer-events: auto;
}

/* =========================================================
   کارت حرفه‌ای محصولات (بدون چرخش عکس + قیمت در وسط پایین)
   ========================================================= */
.product-card {
    width: 100%;
    height: 100%;
    min-height: 450px;
    background: linear-gradient(155deg, #1f2219 0%, #151712 100%);
    border: 1px solid rgba(128, 185, 24, 0.2);
    border-radius: 24px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(128, 185, 24, 0.65);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(128, 185, 24, 0.2);
}

/* بج تخفیف کپسولی و شیک */
.discount-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ff4757, #ff2e43);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: bold;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.45);
}

/* جایگاه عکس با نورپردازی استودیویی (بدون هیچ‌گونه چرخش در هاور) */
.product-image {
    width: 100%;
    height: 220px;
    background: radial-gradient(circle at center, #2b3022 0%, #171913 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* حذف کامل چرخش از تمامی تصاویر کارت‌ها در هر حالتی */
.product-card img,
.product-card:hover img,
.swiper-slide-active .product-card img,
.swiper-slide-active .product-card:hover img,
.vertical-menu-container .product-card img,
.vertical-menu-container .product-card:hover img {
    max-width: 100%;
    max-height: 195px;
    width: auto;
    height: auto;
    object-fit: contain;
    rotate: 0deg !important;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.product-card img {
    transform: scale(1) !important;
}
.product-card:hover img,
.swiper-slide-active .product-card:hover img {
    transform: scale(1.08) !important; /* فقط کمی بزرگ می‌شود، بدون چرخش */
}

/* عنوان و محتویات */
.product-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin: 4px 0 6px 0;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    line-height: 1.3;
}
.product-card .ingredients {
    font-size: 0.88rem;
    color: #98a28e;
    text-align: center;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* جایگذاری قیمت دقیقاً در پایین و وسط کارت */
.product-card .price {
    margin-top: auto !important;
    padding-top: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
}
.product-card .price .new-price {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 90% !important;
    max-width: 240px !important;
    background: linear-gradient(135deg, #80b918, #5a8814) !important;
    color: #000 !important;
    font-size: 1.15rem !important;
    font-weight: bold !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 16px rgba(128, 185, 24, 0.35) !important;
    transition: all 0.25s ease !important;
}
.product-card:hover .price .new-price {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(128, 185, 24, 0.55) !important;
}
.product-card .price .old-price {
    font-size: 0.88rem !important;
    color: #888 !important;
    text-decoration: line-through !important;
    margin-bottom: 5px !important;
}

/* =========================================================
   دکمه‌های حرفه‌ای ناوبری (شناور در وسط عمودی دو طرف اسلایدر)
   ========================================================= */
.bestSellerSwiper .custom-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    background: rgba(18, 22, 14, 0.88) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(128, 185, 24, 0.55) !important;
    border-radius: 50% !important;
    color: var(--primary-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    z-index: 50 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.75), 0 0 18px rgba(128, 185, 24, 0.25);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bestSellerSwiper .swiper-button-prev.custom-nav-btn { left: 16px !important; right: auto !important; }
.bestSellerSwiper .custom-nav-btn {
    position: absolute !important;
    top: calc(50% - 20px) !important;
    transform: translateY(-50%) !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    background: rgba(18, 22, 14, 0.88) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(128, 185, 24, 0.55) !important;
    border-radius: 50% !important;
    color: var(--primary-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    z-index: 50 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.75), 0 0 18px rgba(128, 185, 24, 0.25);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bestSellerSwiper .swiper-button-prev.custom-nav-btn { left: 16px !important; right: auto !important; }
.bestSellerSwiper .swiper-button-next.custom-nav-btn { right: 16px !important; left: auto !important; }
.custom-nav-btn::after { display: none !important; }
.custom-nav-btn:hover {
    background: var(--primary-color) !important;
    color: #000 !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-50%) scale(1.15) !important;
    box-shadow: 0 12px 30px rgba(128, 185, 24, 0.65);
}

.bestSellerSwiper .swiper-pagination {
    position: absolute !important;
    bottom: 18px !important; /* فاصله شیک و راحت ۳۰-۴۰ پیکسلی از زیر کارت‌ها */
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    z-index: 40 !important;
}
.bestSellerSwiper .swiper-pagination-bullet {
    background: #666;
    opacity: 0.6;
    width: 9px;
    height: 9px;
    margin: 0 3px !important;
}
.bestSellerSwiper .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1;
    width: 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px var(--primary-glow);
}

/* =========================================================
   کانتینر عمودی برای سایر دسته‌ها (شیک و جادار)
   ========================================================= */
.vertical-menu-container {
    padding: 10px 16px 80px;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* =========================================================
   بهینه‌سازی فوق‌العاده برای موبایل (Mobile Experience)
   ========================================================= */
@media (max-width: 768px) {
    .bestSellerSwiper .swiper-slide {
        width: 68vw !important;
        max-width: 260px !important;
        height: 435px !important;
    }

    .vertical-menu-container {
        grid-template-columns: 1fr !important; /* یک ستون کاملاً خوانا و شیک روی موبایل */
        gap: 20px;
        padding: 10px 14px 85px;
    }
    .vertical-menu-container .product-card {
        min-height: 410px;
    }
    .product-image {
        height: 190px;
    }
    .product-card h3 {
        font-size: 1.3rem;
    }

    /* دکمه‌های ناوبری روی موبایل */
    .bestSellerSwiper .custom-nav-btn {
        width: 42px !important;
        height: 42px !important;
    }
    .bestSellerSwiper .swiper-button-prev.custom-nav-btn { left: 6px !important; }
    .bestSellerSwiper .swiper-button-next.custom-nav-btn { right: 6px !important; }
}

/* امضا و فوتر */
.signature {
    margin-top: 35px; padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center; font-size: 12px; color: #8a8a8a;
}
.sig-name {
    font-weight: 600;
    background: linear-gradient(90deg, #80b918, #4f772d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
