
        
        
        body {
            font-family: 'Vazirmatn', sans-serif;
            margin: 0;
            padding: 0;
            background: linear-gradient(135deg, #EA4335, #FBBC05, #34A853, #4285F4); /* گرادیانت پس‌زمینه زیر جعبه‌ها */
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            min-height: 100vh;
            direction: rtl; /* راست‌چین کردن تمامی صفحه */
        }

        .logo-link {
            display: block;
            text-align: center;
            margin-top: 50px;
             max-width: 400px; /* سایز لوگو */

        }
.category-image-wrapper {
    position: relative;
    display: inline-block;
}

.category-image {
    width: 250px; /* اندازه تصویر دسته‌بندی */
    height: 250px; /* اندازه تصویر دسته‌بندی */
}

.special-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 65px; /* عرض تصویر ویژه */
    height: 95px; /* ارتفاع تصویر ویژه */
    z-index: 1; /* اطمینان از این‌که تصویر ویژه روی تصویر دسته‌بندی قرار بگیرد */
}



        .logo-link img {
            max-width: 400px; /* سایز لوگو */
        }

        .search-box {
            text-align: center;
            margin-top: 20px;
            width: 100%;
        }

        .search-input {
            width: 100%;
            max-width: 600px;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 25px; /* گوشه‌های خمیده */
            font-size: 16px;
            font-family: 'Vazirmatn', sans-serif;
        }

        .container {
            width: 50%; /* وسط صفحه */
            padding: 0 20px;
            margin-top: 10px;
        }

        .content-box {
            background-color: #f2f2f2; /* رنگ خاکستری برای بکگراند جعبه */
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            margin-bottom: 20px;
            transition: transform 0.3s;
            display: flex;
            flex-direction: row; /* تنظیم چیدمان افقی */
            align-items: center;
            background: #fff; /* پس‌زمینه سفید */
            color: #000; /* رنگ متن مشکی */
        }

        .content-box:hover {
            transform: scale(1.05);
        }

        .content-title {
            font-size: 20px;
            font-weight: bold;
            color: #000;
            margin-bottom: 10px;
            text-align: right;
        }

        .content-summary {
            font-size: 16px;
            color: #000;
            margin-bottom: 15px;
            text-align: right; /* راست‌چین کردن متن */
            white-space: pre-line; /* برای نمایش توضیحات کامل */
            text-align: justify;
        }

/* کلاس برای دکمه "لینک خرید" */
.content-btn {
    background-color: #4285F4;
    color: white;
    padding: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    width: 25%; /* عرض 55% برای دکمه */
    height: 100px; /* ارتفاع 40 پیکسل */
    margin-right: 2%; /* فاصله 2% از دکمه بعدی */
    font-family: 'Vazirmatn', sans-serif; /* فونت وزیر */
}

.content-btn:hover {
    background-color: #34A853; /* رنگ پس‌زمینه هنگام hover قرمز */
}

/* کلاس برای دکمه "کپی کد تخفیف" */
.copy-btn {
    background-color: #4285F4;
    color: white;
    padding: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    width: 25%; /* عرض 55% برای دکمه */
    height: 10px; /* ارتفاع 40 پیکسل */
    font-family: 'Vazirmatn', sans-serif; /* فونت وزیر */
}

.copy-btn:hover {
    background-color: #34A853; /* رنگ پس‌زمینه هنگام hover قرمز */
}





/* برای صفحه‌های کوچکتر (موبایل و تبلت) */
@media (max-width: 768px) {
    .container {
        width: 90%; /* عرض جعبه‌ها در موبایل */
        padding: 0 10px;
    }

    .content-box {
        width: 100%; /* عرض جعبه‌ها در موبایل */
        margin-bottom: 15px; /* فاصله بین جعبه‌ها */
        flex-direction: column; /* تغییر جهت جعبه‌ها از افقی به عمودی */
    }

    .search-input {
        width: 100%; /* عرض سرچ باکس در موبایل */
    }

    /* تنظیمات برای جعبه‌های ریسپانسیو */
    .category-image {
        width: 100%; /* تنظیم عرض تصویر دسته‌بندی */
        height: auto; /* ارتفاع خودکار */
        margin-left: 0;
        margin-bottom: 10px;
    }

    .content-btn, .copy-btn {
        width: 35%; /* عرض دکمه‌ها در موبایل */
        height: 0px; /* ارتفاع بیشتر دکمه‌ها */
        font-size: 14px; /* کاهش سایز فونت دکمه‌ها */
        margin: 10px 0; /* فاصله بین دکمه‌ها */
    }

    /* تنظیمات دیگر */
    .content-title {
        font-size: 18px; /* کاهش سایز فونت عنوان در موبایل */
    }

    .content-summary {
        font-size: 14px; /* کاهش سایز فونت توضیحات در موبایل */
    }
}

/* برای صفحات بزرگتر از 768px */
@media (min-width: 769px) {
    .container {
        width: 70%; /* عرض کانتینر در دسکتاپ */
    }

    .content-box {
        display: flex; /* چیدمان افقی برای دسکتاپ */
        flex-direction: row;
    }

    .category-image {
        width: 250px;
        height: 250px;
        margin-left: 20px;
    }

    .content-btn, .copy-btn {
        width: 20%; /* تنظیم عرض دکمه‌ها در صفحه‌های بزرگ */
        height: 2px;
    }
}


        .expired {
            color: red;
        }

        .container {
            padding: 20px;
            margin-top: 10px; /* فاصله از بالا */
        }

        /* موقعیت واتساپ */
        .whatsapp-icon {
            position: fixed;
            bottom: 20px;
            right: 20px;
        }

        /* ریسپانسیو */
        @media (max-width: 768px) {
            .container {
                width: 90%; /* عرض جعبه‌ها در موبایل */
                padding: 0 10px;
            }

            .content-box {
                width: 100%; /* عرض جعبه‌ها در موبایل */
            }

            .search-input {
                width: 100%; /* عرض سرچ باکس در موبایل */
            }
        }

        /* تنظیمات تصویر دسته‌بندی */
        .category-image {
            width: 250px;
            height: 250px;
            object-fit: cover;
            border-radius: 10px; /* گوشه‌های گرد */
            margin-left: 20px;
        }

        /* دکمه‌های لایک و دیسلایک */
        .like-dislike-btn {
            display: inline-block;
            margin: 10px;
        }

        .like-dislike-btn img {
            width: 30px;
            height: 30px;
        }

        .like-dislike-btn span {
            font-size: 14px;
            font-family: 'Vazirmatn', sans-serif;
            margin-left: 5px;
            font-weight: bold;
        }
        .content-paiin {
        max-width: 1330px; /* حداکثر عرض محتوا */
    margin: 0 auto; /* وسط‌چین کردن محتوا */
    padding: 20px; /* فاصله داخلی */
    background-color: #fff; /* پس‌زمینه سفید */
    box-sizing: border-box; /* تنظیم برای در نظر گرفتن فاصله داخلی در اندازه‌ها */
    line-height: 1.6; /* فاصله خطوط */
    text-align: justify; /* جاستیفای کردن متن */
    border-radius: 10px; /* گوشه‌های گرد */
}



/* طراحی پاپ‌آپ */
.popup {
    display: none; /* پنهان بودن پاپ‌آپ به طور پیش‌فرض */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* پس‌زمینه نیمه‌شفاف */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #6493cb;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.input-container {
    margin-bottom: 20px;
    text-align: right;
}

.input-container input[type="text"] {
    width: 50%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 25px;
}

.input-container input[type="checkbox"] {
    display: inline-block; /* قرار دادن چک‌باکس و متن در کنار هم */
    margin-right: 5px; /* فاصله کمی بین چک‌باکس و متن */
}

.input-container label {
    display: inline-block; /* قرار دادن چک‌باکس و متن در کنار هم */
    font-size: 14px; /* تنظیم اندازه فونت متن */
    margin-right: 10px; /* فاصله از چپ */
}

.popup-content button {
    background-color: #34A853;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.popup-content button:hover {
    background-color: #4285F4;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
}

.result-message {
    margin-top: 20px;
    color: green;
}

/* نمایش پاپ‌آپ هنگام باز شدن */
.popup.show {
    display: flex;
}


    .slider-container {
        margin-top: 15px; /* فاصله از بالا */
        border-radius: 10px; /* گوشه‌های گرد */
    }

    /* مخفی کردن تصویر در موبایل و تبلت */
    @media (max-width: 768px) {
        .slider-container {
            display: none; /* پنهان کردن تصویر در صفحات موبایل و تبلت */
        }
    }
    
    
    
    
    
    
    
    
.pagination a {
    padding: 10px 15px; /* افزایش فضای داخلی */
    margin: 0 5px;
    text-decoration: none;
    background-color: #4285F4;
    color: white;
    border-radius: 50%; /* گرد کردن کامل دکمه‌ها */
    display: inline-block;
    text-align: center;
}

.pagination a:hover {
    background-color: #34A853;
}

.pagination .active {
    background-color: #FBBC05;
    cursor: default;
    font-weight: bold; /* نمایان‌تر کردن صفحه فعال */
}





footer {
    padding: 40px 20px;
    color: #333;
    margin-top: 15px; /* فاصله از بالا */
        width: 72%;
        

}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 10px;
    padding: 20px;
    background-color: #fff; /* پس‌زمینه سفید برای جعبه‌ها */
    border-radius: 8px; /* گوشه‌های گرد */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* سایه برای جعبه‌ها */
                text-align: justify; 


}

.footer-logo {
    max-width: 150px;
    margin-bottom: 10px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: #4285F4;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #34A853;
}

.certifications img {
    width: 80px;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}














/* استفاده از فونت وزیر */
body {
    font-family: 'Vazir', sans-serif;
    direction: rtl; /* راست‌چین کردن صفحه */
    text-align: right; /* تنظیم متن به راست */
}

/* دکمه معلق */
.floating-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
    cursor: pointer;
}

.floating-btn img {
    width: 75px;
    height: 75px;
    border-radius: 15%;
}

/* پاپ‌آپ فرم */
.popup-form {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #e8e8e8;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.popup-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2a8355;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #2a8355;
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

form input, form textarea {
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    text-align: right; /* راست‌چین کردن متن در داخل فرم */
}

form button {
    padding: 12px;
    background-color: #2a8355;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

form button:hover {
    background-color: #1e6f3f;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: #2a8355;
}


















  /* استایل اسلایدر */
        #slider-container {
            width: 100%;
            max-width: 1350px;
            margin: 10px;
            overflow: hidden;
            position: relative;
            border-radius: 25px;
        }

        .slide {
            display: none;
            text-align: center;
        }

        .slide img {
            width: 100%;
            max-height: 400px;
            object-fit: cover;
        }

        .active {
            display: block;
        }

        .slide h3, .slide p {
            color: white;
            position: absolute;
            bottom: 20px;
            left: 20px;
        }

        .slide a {
            color: white;
            background-color: rgba(0, 0, 0, 0.6);
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
        }

        .slide a:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        /* انیمیشن اسلایدر */
        @keyframes slideShow {
            0% { opacity: 1; }
            25% { opacity: 1; }
            50% { opacity: 0; }
            75% { opacity: 0; }
            100% { opacity: 1; }
        }

        /* اسلاید انیمیشنی */
        .slide {
            animation: slideShow 5s infinite;
        }

        /* دکمه‌ها */
        .btn {
            padding: 10px 20px;
            background-color: #2a8355;
            color: white;
            border: none;
            border-radius: 5px;
            text-decoration: none;
            font-size: 16px;
            margin-bottom: 20px;
        }
        .btn:hover {
            background-color: #1e6f3f;
        }
        
        
        
        
        
        
        
        
        
        
        
  #slider-container-final {
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1350px;
  height: 359px;
  display: flex;
  flex-direction: row;
  padding-right: 20px; /* ایجاد فاصله داخلی از سمت راست */
}
.slide-final {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px; /* گوشه‌های گرد */
  left: 0;
}

.slide-final.active {
  opacity: 1;
  transform: translateX(0); /* اسلاید فعلی نمایش داده می‌شود */
}

.slide-final img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px; /* گوشه‌های گرد برای تصویر */
}

#slider-container-final a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none; /* حذف زیرخط از لینک */
}

/* Media Query برای صفحات کوچک‌تر */
@media (max-width: 768px) {
  #slider-container-final {
    height: 250px; /* تنظیم ارتفاع برای صفحات کوچک‌تر */
  }
}

@media (max-width: 480px) {
  #slider-container-final {
    height: 200px; /* تنظیم ارتفاع برای صفحات بسیار کوچک */
  }
}












        .code-box {
            background-color: #f7f7f7;
            padding: 15px 25px;
            font-size: 20px;
            border: 2px dashed #333;
            border-radius: 12px;
            cursor: pointer;
            user-select: all;
            display: inline-block;
            transition: background-color 0.3s ease;
            font-weight: 600;
            color: #222;
        }

        .code-box:hover {
    background-color: #cdcdcd;
    border-color: #000000;
        }








.arefi {
    background-color: #f0f0f0; /* رنگ زمینه سبز */
    padding: 15px 25px;
    font-size: 20px;
    border: 2px dashed #000000; /* نقطه‌چین به رنگ زمینه */
    border-radius: 12px;
    color: #000000;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    font-weight: 600;
}
.arefi:hover {
    background-color: #cdcdcd;
    border-color: #000000;
}





.aref1 {
    background-color: #f0f0f0; /* رنگ زمینه سبز */
    padding: 15px 25px;
    font-size: 15px;
    border: 2px dashed #000000; /* نقطه‌چین به رنگ زمینه */
    border-radius: 12px;
    color: #000000;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    font-weight: 600;


}
.aref1:hover {
    background-color: #cdcdcd;
    border-color: #000000;
}















.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.close-btn {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
