/*
Theme Name: Neen
Theme URI: https://neeen.net
Author: Neen Team
Description: A modern responsive theme for account-selling websites.
Version: 1.0
Tags: responsive, custom-header, custom-background
*/



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
  }
  
  body {
    font-family: Tahoma, sans-serif;
    background-color: #f6f7f8;
    color: #333;
    line-height: 1.6;
  }
  /* 🟦 Hero Section Styles */
.hero {
    position: relative;
    height: 80vh; /* ارتفاع هیرو (80 درصد ارتفاع صفحه) */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex; /* برای وسط‌چین کردن محتوا */
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px; /* به اندازه ارتفاع هدر فاصله میدهیم تا زیر هدر نرود */
}

/* لایه تاریک روی عکس برای خوانایی بهتر متن */
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* سیاهی 60 درصد */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* روی لایه تاریک قرار بگیرد */
    color: #fff;
    max-width: 700px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

/* 🔍 استایل باکس جستجو */
.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.hero-content input.search-field {
    width: 100%;
    padding: 15px 50px 15px 20px; /* فضای خالی سمت چپ برای دکمه */
    border-radius: 50px;
    border: 2px solid transparent;
    outline: none;
    font-size: 1rem;
    font-family: inherit; /* ارث‌بری فونت فارسی */
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.hero-content input.search-field:focus {
    background: #fff;
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.4);
    border-color: #b026ff;
}

.search-submit {
    position: absolute;
    left: 10px; /* دکمه جستجو سمت چپ */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #555;
    transition: color 0.3s;
}

.search-submit:hover {
    color: #b026ff;
}

/* 📱 ریسپانسیو موبایل */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* در موبایل کوتاه‌تر باشد */
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}
/* کانتینر اصلی که وسط چین باشد */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    padding: 120px 20px 60px; /* فاصله از هدر */
}

/* باکس اصلی با حاشیه گرادیان */
.auth-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1;
}

/* ساخت بوردر گرادیان معروف */
.auth-box::before {
    content: "";
    position: absolute;
    inset: -3px; /* ضخامت بوردر */
    border-radius: 24px;
    
    z-index: -1;
}

/* تب‌ها */
.auth-tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: #b026ff;
    border-bottom-color: #b026ff;
}

/* فرم‌ها */
.input-group {
    margin-bottom: 15px;
    text-align: right;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #b026ff;
    box-shadow: 0 0 8px rgba(176, 38, 255, 0.2);
}

/* دکمه ارسال با گرادیان */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(176, 38, 255, 0.4);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 13px;
}

/* پیام‌های خطا و موفقیت */
.msg {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
}
.msg.error { background: #ffe6e6; color: #d63031; border: 1px solid #ffcece; }
.msg.success { background: #e6fffa; color: #00b894; border: 1px solid #ccfbf1; }
  
/* =========================================
   استایل صفحه پنل کاربری (Account Page)
   ========================================= */
   /* ==========================================================================
   پنل کاربری اختصاصی (Account Page) - نسخه اصلاح شده و هماهنگ
   ========================================================================== */

.layout {
    display: flex;
    min-height: 100vh;
    background-color: #f4f7fc;
    direction: rtl;
}

/* --- سایدبار اختصاصی --- */
.sidebar {
    width: 280px;
    background: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #eee;
    position: sticky;
    top: 0;
    height: 100vh;
}

.logo-area {
    margin-bottom: 40px;
    text-align: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
    font-weight: 600;
}

.sidebar .nav-item:hover {
    background: #f8f9fa;
    color: #b026ff;
}

.nav-item.active {
    background: linear-gradient(90deg, #00b3ff, #b026ff);
    color: #fff;
    box-shadow: 0 5px 15px rgba(176, 38, 255, 0.3);
}

.nav-item.logout {
    color: #ff4757;
    margin-top: auto;
}

/* --- بخش محتوای اصلی --- */
.main-content {
    flex: 1;
    padding: 40px;
}

.top-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.user-text { text-align: left; }
.greeting { font-size: 11px; color: #999; margin: 0; }
.username { font-weight: bold; font-size: 14px; margin: 0; }
.avatar img { border-radius: 50%; border: 2px solid #b026ff; }

/* --- جدول حساب‌ها --- */
.table-section {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #333;
}

.account-table {
    width: 100%;
    border-collapse: collapse;
}

.account-table th {
    text-align: right;
    padding: 15px;
    color: #888;
    font-size: 14px;
    border-bottom: 2px solid #f0f0f0;
}

.account-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f9f9f9;
}

.p-name { font-weight: bold; color: #333; }

.status-badge.active {
    background: #e6fffa;
    color: #00b894;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.action-btn {
    padding: 8px 15px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.action-btn:hover {
    background: #b026ff;
    color: #fff;
}

/* --- گرید تنظیمات --- */
Ne en, [2/20/2026 4:57 AM]
/* --- ریسپانسیو موبایل --- */
@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        padding: 20px;
        border-bottom: 1px solid #eee;
        border-left: none;
    }
    .main-content {
        padding: 20px;
    }
}
    /* تنظیمات کلی صفحه */
    html { margin-top: 0 !important; }
    body { margin: 0; padding: 0; overflow-x: hidden; font-family: 'Inter', sans-serif; background-color: #f4f7fc; }
    
    .layout { display: flex; min-height: 100vh; }
    
    /* --- استایل سایدبار (منوی راست) --- */
    .sidebar {
        width: 260px;
        background: #fff;
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        border-left: 1px solid #eee;
    }
    .menu { display: flex; flex-direction: column; gap: 8px; flex: 1; margin-top: 30px; }
    .menu-item {
        display: flex; align-items: center; gap: 10px; padding: 10px 15px;
        color: #666; text-decoration: none; border-radius: 10px; transition: 0.3s; font-size: 14px;
    }
    .menu-item:hover { background: #f5f5f5; color: #333; }
    .menu-item.active {
        background: linear-gradient(90deg, #00b3ff, #b026ff);
        color: #fff;
        box-shadow: 0 4px 15px rgba(176, 38, 255, 0.25);
    }
    .menu-item.logout { margin-top: auto; color: #ff4757; }
    
    .user-box { display: flex; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid #eee; }
    .user-avatar img { border-radius: 50%; }

    /* --- بخش اصلی محتوا (چپ) --- */
    .main-content {
        flex: 1;
        padding: 40px;
        padding-top: 140px !important

    }

    .page-title { font-size: 24px; font-weight: 800; color: #333; margin-bottom: 5px; }
    .page-desc { color: #888; font-size: 13px; margin-bottom: 30px; }

    /* --- جدول --- */
    .account-table-wrapper {
        background: #fff; border-radius: 20px; padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03); margin-bottom: 50px;
        overflow-x: auto;
    }
    table { width: 100%; border-collapse: collapse; }
    th { text-align: right; padding: 15px; color: #999; font-size: 13px; border-bottom: 2px solid #f9f9f9; }
    td { padding: 15px; border-bottom: 1px solid #f9f9f9; font-size: 14px; vertical-align: middle; }
    
    /* استایل پیام خالی بودن */
    td.empty-message {
        padding: 50px 20px !important;
        text-align: center;
        background-color: #fff;
        border-radius: 15px;
        border: 2px dashed #ddd;
        color: #888;
    }

    /* --- 🌟 بخش جدید: دسترسی سریع (گرادیانی و کنار هم) --- */
    
/* ==========================================================================
   بخش دسترسی سریع (پنل کاربری) - 4 ستونه با کادر گرادیانی
   ========================================================================== */

/* 1. عنوان گرادیانی و کوچک */
.settings-grid h2 {
    font-size: 18px; 
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* 2. چیدمان کنار هم (Grid 4 ستونه) */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 ستون مساوی */
    gap: 20px;
    margin-top: 30px;
}

/* 3. باکس‌های نئونی (گرادیان دور) */
.setting-item {
    position: relative;
    background: #fff;
    padding: 20px 25px;
    border-radius: 18px; 
    text-decoration: none;
    color: inherit;
    min-height: 100px;
    
    /* 🔴 چیدمان افقی: متن و آیکون کنار هم 🔴 */
    display: flex;
    flex-direction: row; /* حالت ردیفی به جای ستونی */
    justify-content: space-between; /* متن یک سمت، آیکون سمت دیگر */
    align-items: center; 
    text-align: right;
    
    /* ترفند بوردر گرادیانی */
    border: 2px solid transparent !important; /* important برای جلوگیری از تداخل */
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

/* 🔴 حل مشکل هاور: سایه نئونی درخشان و حرکت به بالا 🔴 */
.setting-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(176, 38, 255, 0.25);
}

/* آیکون داخل باکس‌ها */
.setting-item .material-symbols-outlined {
    font-size: 34px; /* کمی بزرگتر برای زیباتر شدن در حالت افقی */
    margin-bottom: 0; /* حذف فاصله پایینی */
    color: #b026ff;
    transition: transform 0.3s ease;
}

/* یک افکت جذاب: بزرگ شدن آیکون موقع هاور روی کل باکس */
.setting-item:hover .material-symbols-outlined {
    transform: scale(1.15);
}

/* تنظیمات متن داخل باکس */
.setting-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.setting-text .title {
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    color: #333;
}

.setting-text .desc {
    font-size: 11px;
    color: #999;
    margin: 0;
}

/* --- ریسپانسیو (موبایل و تبلت) --- */
@media (max-width: 992px) {
    .settings-grid {
        grid-template-columns: repeat(2, 1fr); /* در تبلت 2 ستونه */
    }
}

@media (max-width: 576px) {
    .settings-grid {
        grid-template-columns: 1fr; /* در موبایل 1 ستونه زیر هم */
    }
}

/* استایل نشانگر تعداد آیتم‌های سبد خرید در منو */
.cart-badge {
    background: #ff4757;
    color: white;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    margin-right: auto; /* کشیدن به سمت چپ در منوی راست‌چین */
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(255, 71, 87, 0.3);
}

.nav-item:hover .cart-badge {
    background: #fff;
    color: #ff4757;
}


/* ==========================================================================
   ویرایش پروفایل و تنظیمات حساب ووکامرس (Edit Account)
   ========================================================================== */

/* باکس اصلی فرم ویرایش پروفایل با حاشیه نئونی */
.woocommerce-EditAccountForm {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 30px auto;
    max-width: 800px;
    
    /* حاشیه گرادیان با داخل سفید */
    border: 3px solid transparent; 
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
}

/* عناوین داخل فرم (مثل "تغییر گذرواژه") */
.woocommerce-EditAccountForm legend {
    font-size: 1.4rem;
    font-weight: 800;
    color: #333;
    margin-top: 30px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px dashed #eee;
    width: 100%;
    display: block;
}

/* چیدمان نام و نام خانوادگی در یک خط */
.woocommerce-EditAccountForm .form-row-first,
.woocommerce-EditAccountForm .form-row-last {
    width: 48%;
    float: right;
}
.woocommerce-EditAccountForm .form-row-last {
    float: left;
}
.woocommerce-EditAccountForm .clear {
    clear: both;
}

/* لیبل فیلدها */
.woocommerce-EditAccountForm label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
    font-size: 0.95rem;
}

/* استایل کادرهای ورود اطلاعات (مشابه صفحه پرداخت و تماس) */
.woocommerce-EditAccountForm input.input-text {
    width: 100%;
    padding: 14px 15px;
    background-color: #fdfdfd;
    border: 2px solid #b026ff !important;
    border-radius: 12px;
    outline: none;
    color: #333;
    font-family: inherit;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* افکت هنگام کلیک روی کادرها */
.woocommerce-EditAccountForm input.input-text:focus {
    background-color: #fff;
    box-shadow: 0 0 12px rgba(176, 38, 255, 0.15) !important;
}

/* متن‌های راهنمای زیر فیلدها (مثل نحوه نمایش نام) */
.woocommerce-EditAccountForm span.description {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: -15px;
    margin-bottom: 20px;
    font-style: normal;
}

/* دکمه ذخیره تغییرات */
.woocommerce-EditAccountForm button[name="save_account_details"] {
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 16px 40px !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    border: none !important;
    cursor: pointer;
    transition: 0.3s !important;
    width: 100%; /* دکمه عریض برای زیبایی بیشتر */
    margin-top: 20px;
}

.woocommerce-EditAccountForm button[name="save_account_details"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(176, 38, 255, 0.3) !important;
}


/* ==========================================================================
   سابقه سفارشات ووکامرس (Orders Page) - هماهنگ با جدول اختصاصی
   ========================================================================== */

/* 1. استایل کلی جدول سفارشات */
table.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

/* 2. هدرهای جدول (ردیف بالا) */
table.woocommerce-orders-table th {
    text-align: right;
    padding: 15px;
    color: #888;
    font-size: 14px;
    border-bottom: 2px solid #f0f0f0;
    background: transparent;
    font-weight: 700;
}

/* 3. سلول‌های جدول */
table.woocommerce-orders-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f9f9f9;
    color: #333;
    vertical-align: middle;
}

/* 4. استایل دکمه "نمایش" (مشاهده جزئیات فاکتور) */
table.woocommerce-orders-table td .woocommerce-button.view {
    padding: 8px 15px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    border: none;
}

table.woocommerce-orders-table td .woocommerce-button.view:hover {
    background: #b026ff;
    color: #fff;
}

/* 5. بج‌های رنگی برای وضعیت سفارش (تکمیل شده، در انتظار و...) */
table.woocommerce-orders-table td mark.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    background: #f3f4f6; /* رنگ پیش‌فرض */
    color: #555;
}

/* رنگ اختصاصی برای هر وضعیت در ووکامرس */
table.woocommerce-orders-table td mark.status-completed { background: #e6fffa; color: #00b894; } /* تکمیل شده (سبز) */
table.woocommerce-orders-table td mark.status-processing { background: #fff3cd; color: #856404; } /* در حال انجام (زرد) */
table.woocommerce-orders-table td mark.status-on-hold { background: #f8d7da; color: #721c24; } /* در انتظار بررسی (قرمز) */
table.woocommerce-orders-table td mark.status-cancelled { background: #e2e3e5; color: #383d41; } /* لغو شده (خاکستری) */

/* ==========================================================================
   استایل پیام "شما تا به حال خریدی نداشته‌اید"
   ========================================================================== */

.woocommerce-account .woocommerce-Message--info,
.woocommerce-account .woocommerce-info {
    background: transparent !important;
    border: 2px dashed #ddd !important;
    border-radius: 20px !important;
    padding: 50px 20px !important;
    text-align: center !important;
    color: #888 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: none !important;
}

/* مخفی کردن آیکون پیش‌فرض ووکامرس */
.woocommerce-account .woocommerce-info::before {
    display: none !important;
}

/* دکمه "رفتن به فروشگاه" در حالت بدون خرید */
.woocommerce-account .woocommerce-info .woocommerce-Button {
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8) !important;
    color: #fff !important;
    padding: 12px 30px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    transition: 0.3s !important;
    font-size: 14px !important;
    border: none !important;
}

.woocommerce-account .woocommerce-info .woocommerce-Button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(176, 38, 255, 0.3) !important;
}
/* کد های صفحه سینگل                                                                 */
/* ---------- Reset ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* ---------- Body ---------- */
  body {
    font-family: "Vazir", sans-serif;
    background-color: #f6f7f8;
    color: #222;
    direction: rtl;
    line-height: 1.8;
  }
  
  /* ---------- Header ---------- */
  .site-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background-color: #fff;
    padding: 15px 30px;
    border-radius: 0 0 30px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
  }
  
  /* ---------- Logo ---------- */
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .logo img {
    height: 60px;
  }
  
  /* ---------- Navigation ---------- */
  .nav {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex: 1;
  }
  
  .nav a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: 0.3s;
  }
  .nav a:hover {
    color: #b026ff;
  }
  
  /* ---------- Header Buttons ---------- */
  .header-buttons {
    display: flex;
    gap: 10px;
  }
  .header-buttons button {
    padding: 8px 20px;
    font-weight: bold;
    color: #000;
    background: white;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    background-image: linear-gradient(white, white),
      linear-gradient(45deg, #00b3ff, #b026ff, #ff4fd8);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
  }


  
  /* ---------- Container ---------- */
  .container {
    max-width: 1200px;
    margin: 140px auto 0;
    padding: 0 20px;
  }
  
  /* ---------- Product Section ---------- */
  .product {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  
  /* ---------- Product Gallery ---------- */
  .product-gallery {
    flex: 1;
    min-width: 320px;
  }
  .main-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* ---------- Product Details ---------- */
  .product-details {
    flex: 1;
    min-width: 320px;
  }
  
  .title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
  }
  
  .desc {
    color: #555;
    margin-bottom: 20px;
  }
  
  /* ---------- Features ---------- */
  .features {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    line-height: 2;
    margin-bottom: 20px;
  }
  
  /* ---------- Price ---------- */
  .price {
    font-size: 28px;
    font-weight: bold;
    color: #1173d4;
    margin: 20px 0;
  }
  
  /* ---------- Buy Button ---------- */
  .buy-btn {
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 26px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
  }
  .buy-btn:hover {
    opacity: 0.9;
  }
  
  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .product {
      flex-direction: column;
    }
    .product-gallery,
    .product-details {
      width: 100%;
    }
    .title {
      font-size: 26px;
    }
  }
  /* ---------- Plans Selection ---------- */
.plans-section {
    margin: 20px 0;
}
.plans-label {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
}
.plans-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.plan-btn {
    background: #fff;
    border: 2px solid #eee;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    color: #555;
    transition: 0.3s;
}

.plan-btn:hover {
    border-color: #b026ff;
    color: #b026ff;
}

/* دکمه فعال (انتخاب شده) */
.plan-btn.active {
    background: #fff;
    color: rgb(4, 4, 4);
    border-color: #b026ff;
    color: #b026ff;
}
   /* کد مربوط به کامنت ها                                  */
   /* ---------- Comments Section (CSS شما هماهنگ شده با وردپرس) ---------- */

/* باکس نگهدارنده نظرات که الان بیرون آوردیم */
.comments-container-full {
    width: 100%;       /* گرفتن کل عرض */
    margin-top: 50px;  /* فاصله از بخش بالا */
    clear: both;       /* جلوگیری از تداخل با شناورها */
}

/* خود باکس رنگی نظرات */
.comments-section {
    width: 100% !important; /* زورکی ۱۰۰ درصد شود */
    max-width: 100% !important;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    padding: 3px;
    border-radius: 20px;
    box-sizing: border-box; /* که پدینگ باعث بیرون زدگی نشود */
}
.comments-inner {
    background-color: #fff;
    border-radius: 17px; /* کمی کمتر از والد تا حاشیه دیده شود */
    padding: 30px;
}

.comments-inner h2 {
    margin-bottom: 30px;
    text-align: center;
    color: #333;
    font-size: 22px;
    font-weight: 800;
}

/* --- استایل هر نظر (قبلاً comment-card بود) --- */
.comment-body {
    margin-bottom: 15px;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-radius: 15px;
    border: 1px solid #eee;
    position: relative;
}

/* نام نویسنده و آواتار */
.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    margin-bottom: 10px;
    font-style: normal;
}

.comment-author img {
    border-radius: 50%; /* گرد کردن آواتار */
    width: 50px;
    height: 50px;
}

.fn {
    color: #333;
    font-size: 16px;
}

.says { display: none; } /* حذف کلمه "می‌گوید" */

/* متن نظر */
.comment-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* لینک پاسخ */
.reply {
    text-align: left;
    margin-top: 10px;
}
.comment-reply-link {
    font-size: 12px;
    color: #b026ff;
    text-decoration: none;
    border: 1px solid #b026ff;
    padding: 3px 12px;
    border-radius: 15px;
    transition: 0.3s;
}
.comment-reply-link:hover {
    background: #b026ff;
    color: #fff;
}

/* --- فرم ارسال نظر --- */
.comment-form-wrapper {
    margin-top: 40px;
    border-top: 2px dashed #eee;
    padding-top: 30px;
}

/* ورودی‌ها (Input & Textarea) */
.comment-form p {
    margin-bottom: 15px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #f4f7fc;
    outline: none;
    font-family: inherit;
    transition: 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #b026ff;
    background: #fff;
    box-shadow: 0 0 10px rgba(176, 38, 255, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* دکمه ارسال (قبلاً submit-comment بود) */
.submit-btn {
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, #00b3ff, #b026ff);
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(176, 38, 255, 0.2);
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(176, 38, 255, 0.4);
}
/* سبد خرید   صفحه چک اوت                   */
/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
  }
  
  body {
    background-color: #f9f9f9;
    direction: rtl;
  }
  
  /* Container */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  /* Header */
  .header {
    position: fixed; /* هدر همیشه بالای صفحه باشد */
    top: 0; /* بالای صفحه */
    width: 100%; /* عرض کل صفحه */
    height: 80px; /* ارتفاع هدر */
    z-index: 1000; /* روی همه چیز باشد */
    background-color: #fff; /* رنگ پس‌زمینه هدر */
    padding: 15px 30px; /* فاصله داخلی هدر */
    border-radius: 0 0 30px 30px; /* گوشه‌های پایین گرد */
    box-sizing: border-box; /* padding داخل اندازه لحاظ شود */
    display: flex;
    align-items: center; /* وسط چین عمودی محتوا */
}

/* ---------- Gradient پشت هدر ---------- */
header::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8); /* گرادیان برند */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1; /* پشت المان‌های هدر */
}

/* ---------- کانتینر داخلی هدر ---------- */
.container.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* فاصله مساوی بین سه بخش */
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    position: relative;
    direction: rtl; /* راست چین برای فارسی */
}

/* ---------- دکمه‌ها سمت چپ ---------- */
.header-buttons {
    display: flex;
    gap: 10px;
    order: 1; /* اول در flex */
}

/* ---------- منو / متن وسط ---------- */
.main-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex: 1; /* فضای باقی مانده را بگیرد و وسط قرار گیرد */
    order: 2;
}

/* ---------- لوگو سمت راست ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 3; /* آخر در flex */
}

/* ---------- لوگو ---------- */
.logo {
    display: flex;
    align-items: center; /* وسط چین عمودی لوگو و متن */
    gap: 10px; /* فاصله بین آیکون و متن */
}

.logo img {
    height: 60px; /* ارتفاع تصویر لوگو */
}


/* ---------- منو ---------- */
.main-nav a {
    margin: 0 15px; /* فاصله بین لینک‌ها */
    text-decoration: none; /* حذف زیرخط */
    color: #444; /* رنگ پیش‌فرض لینک */
    font-weight: 500; /* ضخامت متوسط */
}

.main-nav a:hover {
    color: #b026ff; /* رنگ لینک هنگام هاور */
}

/* ---------- Main Content ---------- */
.container {
    max-width: 1200px;
    margin: 140px auto 0; /* فاصله از بالای هدر */
    padding: 0 20px;}

  /* Navigation */
  .main-nav {
    display: flex;
    gap: 1rem;
  }
  
  .nav-link {
    text-decoration: none;
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
  }
  
  /* Main Content */
  .checkout-content {
    margin-top: 120px;
    padding-bottom: 50px;
  }
  
  .checkout-content h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #111;
  }
  
  /* Product Card */
  .checkout-product .product-card {
    position: relative; /* برای pseudo-element */
    display: flex;
    gap: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 30px;
    z-index: 1;
  }
  
  .checkout-product .product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px; /* ضخامت حاشیه */
    border-radius: 12px;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
  }
  
  
  .product-image {
    width: 150px;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
  }
  
  .product-info h2,
  .product-info p {
    margin-bottom: 8px;
  }
  
  /* Form */
  .checkout-form form {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    z-index: 1;
  }
  
  .checkout-form form::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: 12px;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
  }
  
  
  .checkout-form h2 {
    margin-bottom: 15px;
    color: #111;
  }
  
  .form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
  }
  
  .form-group-inline {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .form-group label {
    margin-bottom: 5px;
    font-weight: 500;
  }
  
  .form-group input {
    padding: 10px 15px;
    border-radius: 8px;
    border: 3px solid transparent;
    background-color: #fff;
    box-shadow: 1px 1px 1px 1px #aaa;
    position: relative;
    z-index: 1;
    outline: none;
  }
  
  .form-group input::placeholder {
    color: #aaa;
  }
  
  /* Gradient border */
  .form-group input::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 3px;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
  }
  
  /* Checkout Button */
  .checkout-btn {
    position: relative;
    padding: 12px 25px;
    border-radius: 10px;
    border: none;
    background-color: #fff;
    font-weight: bold;
    color: #111;
    cursor: pointer;
    z-index: 1;
    margin-top: 10px;
  }
  
  .checkout-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 3px;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
  }
  
  .checkout-btn:hover {
    background-color: #f9f9f9;
    transform: translateY(-1px);
    transition: all 0.3s ease;
  }
  /* کد های مربوط به ووکامرس           */
  /* استایل نئونی صفحه پرداخت ووکامرس */
/* ==========================================================================
   10. ووکامرس - تسویه حساب (Checkout) - استایل مینیمال با کادرهای بنفش
   ========================================================================== */
/* ==========================================================================
   10. ووکامرس - تسویه حساب (Checkout) - فرم عریض با کادرهای بنفش و فیلدهای جدید
   ========================================================================== */

/* پس‌زمینه سایت در صفحه پرداخت */
body.woocommerce-checkout { background-color: #f6f7f8 !important; }

/* 1. باکس اصلی فرم پرداخت با حاشیه گرادیان نئونی */
.woocommerce-checkout .woocommerce {
    max-width: 1000px;
    margin: 140px auto 80px;
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    
    /* حاشیه گرادیان با داخل سفید */
    border: 3px solid transparent; 
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
}

/* 2. استایل زیبای بخش کد تخفیف */
.woocommerce-form-coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #fdfdfd;
    border: 2px dashed #b026ff;
    border-radius: 15px;
    margin-bottom: 30px !important;
}
.woocommerce-form-coupon p { margin: 0; width: 100%; }
.woocommerce-form-coupon input.input-text {
    width: 100%; padding: 12px 15px; border: 2px solid #eee !important; border-radius: 10px; outline: none; transition: 0.3s; background: #fff;
}
.woocommerce-form-coupon input.input-text:focus { border-color: #00b3ff !important; }
.woocommerce-form-coupon button {
    background: linear-gradient(90deg, #00b3ff, #b026ff) !important; color: #fff !important; padding: 12px 25px !important; border-radius: 10px !important; border: none !important; font-weight: bold !important; white-space: nowrap; cursor: pointer; transition: 0.3s !important;
}
.woocommerce-form-coupon button:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 179, 255, 0.3) !important; }

/* 3. حل مشکل کوچک بودن کادر "جزئیات پرداخت" (عریض کردن فرم) */
.woocommerce-checkout .col2-set .col-1 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    background: transparent;
    padding: 0;
    border: none;
}
.woocommerce-checkout .col2-set .col-2 { display: none !important; } /* مخفی کردن بخش حمل و نقل */

/* 4. استایل کادرهای ورود اطلاعات - با حاشیه بنفش */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row input[type="email"], 
.woocommerce form .form-row input[type="tel"], 
.woocommerce form .form-row textarea {
    width: 100%; padding: 14px 15px; background-color: #fdfdfd; border: 2px solid #b026ff !important; border-radius: 12px; outline: none; color: #333; font-family: inherit; transition: all 0.3s ease;
}
.woocommerce form .form-row input:focus, .woocommerce form .form-row textarea:focus {
    background-color: #fff; box-shadow: 0 0 12px rgba(176, 38, 255, 0.15) !important;
}

/* 5. مدیریت فیلدها (مخفی کردن آدرس و شهر / نمایش تلفن و تلگرام) */
#billing_country_field, #billing_address_1_field, #billing_address_2_field, #billing_city_field, #billing_state_field, #billing_postcode_field, #billing_company_field { 
    display: none !important; 
}

/* چیدمان نام و نام خانوادگی در یک خط، بقیه در خطوط جداگانه */
#billing_first_name_field, #billing_last_name_field { width: 48% !important; float: right !important; clear: none !important; }
#billing_last_name_field { float: left !important; }
#billing_email_field, #billing_phone_field, #billing_telegram_field { width: 100% !important; clear: both !important; margin-top: 15px; }

/* عناوین */
.woocommerce-checkout h3 { font-size: 1.3rem; color: #333; margin-bottom: 25px; border-right: 4px solid #b026ff; padding-right: 15px; }

/* 6. باکس سفارش شما (فاکتور نهایی) */
#order_review { background: #fcfcfc; padding: 25px; border-radius: 15px; border: 1px solid #eee; margin-top: 30px; }
.woocommerce-checkout table.shop_table th, .woocommerce-checkout table.shop_table td { padding: 15px; border-bottom: 1px solid #f0f0f0; text-align: right; }

/* دکمه ثبت نهایی سفارش */
button#place_order {
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8) !important; color: white !important; border-radius: 12px !important; padding: 16px 30px !important; width: 100%; font-size: 1.2rem !important; font-weight: bold !important; margin-top: 25px !important; border: none !important; transition: 0.3s !important; cursor: pointer;
}
button#place_order:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(176, 38, 255, 0.3) !important; }
/* --                                                  - استایل‌های صفحه 404 --            - */

/* --- استایل‌های جدید صفحه 404 (سازگار با هدر و فوتر) --- */

/* کانتینر اصلی که فاصله بین هدر و فوتر را پر می‌کند */
.page-404-wrapper {
    background-color: #f9f9f9;
    display: flex;       /* فعال‌سازی فلکس باکس */
    align-items: center; /* وسط‌چین عمودی */
    justify-content: center; /* وسط‌چین افقی */
    min-height: 70vh;    /* حداقل ارتفاع (تا فوتر نچسبد به بالا) */
    padding: 40px 20px;
    width: 100%;
}

/* باکس اصلی خطا */
.error-container {
    text-align: center;
    background-color: #fff;
    padding: 50px 60px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
}

/* حاشیه رنگی دور باکس */
.error-container::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 22px;
    z-index: -1;
}

.error-container h1 {
    font-size: 6rem;
    color: #222;
    margin-bottom: 10px;
    line-height: 1;
    font-weight: 900;
}

.error-container p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

/* دکمه بازگشت */
.home-btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    background: linear-gradient(90deg, #00b3ff, #b026ff,#ff4fd8);
    color: #fff !important; /* رنگ سفید اجباری */
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(176, 38, 255, 0.3);
    transition: transform 0.2s;
}

.home-btn:hover {
    transform: scale(1.05);
}

/* =========================================
   استایل‌های صفحه فروشگاه اکانت (Accounts Store)
   ========================================= */

/* تنظیمات پایه */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
body { background-color: #f9f9f9; }

/* کانتینر اصلی */
.container { width: 90%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* فاصله از بالا برای محتوای اصلی (چون هدر ثابت است) */
.main-content {
    margin-top: 140px; /* تنظیم دقیق فاصله از هدر */
    min-height: 60vh;
}

/* --- هدر (Header) --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background-color: #fff;
    padding: 15px 30px;
    border-radius: 0 0 30px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); /* سایه نرم */
}

/* گرادیان دور هدر */
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

/* --- تب‌ها (Tabs) --- */
.tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 2rem;
    padding-bottom: 10px;
    overflow-x: auto; /* اسکرول افقی در موبایل */
    white-space: nowrap;
}

.tab {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #5d626d;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab:hover {
    color: #b026ff;
}

.tab.active {
    color: #b026ff;
    border-bottom-color: #b026ff;
}

/* --- گرید محصولات (Accounts Grid) --- */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.account-card {
    position: relative;
    border-radius: 12px;
    background-color: #fff;
    padding: 10px;
    z-index: 1;
    transition: transform 0.3s ease;
}

.account-card:hover {
    transform: translateY(-5px);
}

/* حاشیه گرادیان کارت‌ها */
.account-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 12px;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.account-image {
    width: 100%;
    padding-top: 100%; /* مربع کامل */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 10px;
}

.account-title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
    text-align: right;
}

.account-game {
    font-size: 0.8rem;
    color: #666;
    text-align: right;
}

/* دکمه‌های صفحه */
.page-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    width: 36px;
    border-radius: 0.5rem;
}


/* =========================================
                                                       رفع تداخلات ووکامرس در صفحه محصول
========================================= */

/* 1. اصلاح سایز لوگو در هدر */
.site-header .header-logo img {
    height: 60px !important;
    width: auto !important;
    max-width: none !important;
}

/* 2. جلوگیری از رفتن محتوا به زیر هدر (جبران ارتفاع هدر ثابت) */
body.single-product main.container {
    margin-top: 140px !important; 
    padding-top: 20px;
    display: block !important; 
}

/* 3. اصلاح عکس اصلی محصول در صورت نیاز */
.product-gallery img.main-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px;
}
/* پنهان کردن سبد خرید                */
/* مخفی کردن فیلدهای اضافی آدرس در صفحه تسویه حساب */
/* کدی که تلگرام و شماره تماس را مخفی می‌کرد از اینجا پاک شد تا فیلدها نمایان شوند */

/* اگر هنوز کادر کشور یا استان دیده می‌شود، این را هم اضافه کن */
#billing_country_field, 
#billing_address_1_field, 
#billing_address_2_field, 
#billing_city_field, 
#billing_state_field, 
#billing_postcode_field {
    display: none !important;
}

/* اصلاح چیدمان فیلدهای باقی‌مانده (نام و نام خانوادگی) */
#billing_first_name_field, #billing_last_name_field {
    width: 50% !important;
    float: right !important;
}

/* نمایش صحیح فیلد تلگرام و موبایل در یک خط کامل */
#billing_phone_field, #billing_telegram_field {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin-top: 15px;
}

/*
Theme Name: Neen
Version: 1.1
*/

/* 1. اصلاحات کلی و پس‌زمینه سفید صفحه */
body.woocommerce-checkout {
    background-color: #ffffff !important;
}

/* 2. اصلاح هدر و جلوگیری از چسبیدن المان‌ها */
header {
    background: #ffffff;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo img {
    height: 45px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px; /* ایجاد فاصله بین گزینه‌های منو */
    margin: 0;
}

.auth-buttons {
    margin-right: 20px; /* فاصله دادن دکمه ورود از منو */
}

/* 3. استایل نئونی و گرادیان دور کادر تسویه حساب */
.woocommerce-checkout form.checkout {
    max-width: 1100px;
    margin: 120px auto 50px; /* فاصله از هدر */
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ایجاد حاشیه گرادیان دور کل فرم */
.woocommerce-checkout form.checkout::before {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #b026ff, #00e5ff, #b026ff);
    border-radius: 22px;
    z-index: -1;
}

/* استایل فیلدها و کادرهای داخلی */
.woocommerce-checkout .col-1, 
.woocommerce-checkout .col-2,
#order_review {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

/* 4. اصلاح دکمه پرداخت */
#place_order {
    background: linear-gradient(45deg, #b026ff, #7a1fd1) !important;
    color: white !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    transition: 0.3s !important;
    width: 100%;
}

#place_order:hover {
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.4) !important;
    transform: translateY(-2px);
}

/* تایپوگرافی */
h3#order_review_heading, .woocommerce-billing-fields h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #222;
    border-right: 4px solid #b026ff;
    padding-right: 15px;
}/* =========================================
   WooCommerce Cart Page - Neen Style
   ========================================= */
/* ==========================================================================
   9. ووکامرس - سبد خرید (Cart) - بک‌گراند سفید با کادر نئونی دور
   ========================================================================== */

/* تضمین پس‌زمینه طوسی روشن برای کل صفحه سایت */
body.woocommerce-cart {
    background-color: #f6f7f8 !important;
}

/* باکس اصلی سبد خرید با استایل نئونی */
.woocommerce-cart .woocommerce { 
    max-width: 1100px; 
    margin: 140px auto 80px; 
    padding: 40px; 
    border-radius: 25px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.05); 
    
    /* تکنیک حاشیه گرادیان با داخل سفید */
    border: 3px solid transparent; 
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
}

/* جداول سبد خرید */
.woocommerce-cart table.shop_table { border: none !important; width: 100%; border-collapse: collapse; }
.woocommerce-cart table.shop_table th { font-weight: 700; border-bottom: 2px solid #f0f0f0; padding: 15px; color: #555; text-align: right; }
.woocommerce-cart table.shop_table td { padding: 20px 15px; border-bottom: 1px solid #f5f5f5; vertical-align: middle; }
.woocommerce-cart table.shop_table img { border-radius: 12px; width: 80px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.woocommerce-cart table.shop_table a { color: #333; text-decoration: none; font-weight: bold; transition: 0.3s; }
.woocommerce-cart table.shop_table a:hover { color: #b026ff; }
.woocommerce-cart input.qty { width: 60px; padding: 8px; border-radius: 8px; border: 2px solid #eee; text-align: center; outline: none; }
.woocommerce-cart input.qty:focus { border-color: #b026ff; }

/* دکمه حذف محصول */
.woocommerce-cart a.remove { color: #ff4757 !important; font-size: 26px; text-decoration: none; font-weight: bold; transition: 0.3s;}
.woocommerce-cart a.remove:hover { color: #d63031 !important; transform: scale(1.1); }

/* دکمه بروزرسانی سبد خرید */
button[name="update_cart"] {
    padding: 10px 20px;
    border-radius: 10px;
    background: #f0f0f0;
    border: none;
    color: #555;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
button[name="update_cart"]:hover { background: #e0e0e0; }

/* باکس مجموع کل سبد خرید با استایل نئونی */
.cart_totals { 
    margin-top: 40px; 
    padding: 30px; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

    /* تکنیک حاشیه گرادیان با داخل سفید */
    border: 3px solid transparent; 
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
}

.cart_totals h2 { margin-bottom: 20px; font-size: 1.5rem; color: #333; }
.cart_totals table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cart_totals table th, .cart_totals table td { padding: 15px; border-bottom: 1px solid #eee; text-align: right; }

/* دکمه ادامه جهت تسویه حساب */
.checkout-button { 
    display: block !important; 
    width: 100% !important; 
    text-align: center; 
    padding: 15px !important; 
    border-radius: 12px !important; 
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8) !important; 
    color: #fff !important; 
    font-weight: bold !important; 
    font-size: 1.1rem !important;
    text-decoration: none;
    transition: 0.3s !important; 
    border: none !important;
}
.checkout-button:hover {
    box-shadow: 0 10px 20px rgba(176, 38, 255, 0.3) !important;
    transform: translateY(-2px);
}

/* پیام و دکمه بازگشت به فروشگاه (هنگام خالی بودن سبد) */
.woocommerce-cart .cart-empty { text-align: center; padding: 50px; font-size: 18px; font-weight: 600; color: #555;}
.return-to-shop .button {
    background: linear-gradient(90deg,#00b3ff,#b026ff,#ff4fd8) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 12px 25px !important;
    text-decoration: none;
}
/*                          صفحه ارتباط با ما                   */
/* ==========================================================================
   صفحه تماس با ما - استایل مشابه فرم تسویه حساب (Checkout)
   ========================================================================== */
/* هیرو تماس با ما */
.hero.contact-hero {
    height: 55vh;
    margin-top: 80px; 
    background: #ffffff !important; /* پس‌زمینه کاملا سفید با اولویت بالا */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* 🔴 این کد جدید است: مخفی کردن لایه تاریک (overlay) در صفحه تماس 🔴 */
.hero.contact-hero .overlay {
    display: none !important;
}

/* عنوان اصلی هیرو با رنگ گرادیان نئونی */
.hero.contact-hero h1 { 
    font-size: 3rem;
    margin-bottom: 15px; 
    font-weight: 900;
    
    /* افکت متن گرادیانی */
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    
    /* سایه ملایم‌تر برای درخشش روی پس‌زمینه سفید */
    filter: drop-shadow(0px 4px 10px rgba(176, 38, 255, 0.2));
}

/* کانتینر توضیحات */
.contact-description { 
    color: #333; 
    font-size: 1.2rem; 
    opacity: 0.9; 
    max-width: 600px; 
    margin: 0 auto;
}

/* استایل‌دهی به متن‌های جدید هیرو (زیرعنوان و پاراگراف) */
.contact-description h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222 !important; /* رنگ کاملا مشکی */
    text-shadow: none !important; /* حذف سایه مزاحم */
}

.contact-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555 !important; /* خاکستری خوانا برای پاراگراف */
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.contact-form-section {
    max-width: 1000px;
    margin: -50px auto 80px; /* کشیدن فرم به سمت بالا روی هیرو */
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    
    /* حاشیه گرادیان با داخل سفید */
    border: 3px solid transparent; 
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
}

/* عنوان داخل فرم با خط بنفش */
h3.contact-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 30px;
    border-right: 4px solid #b026ff;
    padding-right: 15px;
    text-align: right;
}

/* ساختار فرم */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    direction: rtl;
    text-align: right;
}

/* چیدمان نام و تلفن در یک خط (برای زیبایی بیشتر) */
.form-row-group {
    display: flex;
    gap: 20px;
    width: 100%;
}
.form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (max-width: 768px) {
    .form-row-group { flex-direction: column; gap: 20px; }
}

/* لیبل فیلدها */
.contact-form label {
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
    margin-bottom: -10px; /* نزدیک کردن لیبل به کادر */
}

/* کادرهای ورود اطلاعات - با حاشیه بنفش (دقیقا مثل پرداخت) */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    background-color: #fdfdfd;
    border: 2px solid #b026ff !important;
    border-radius: 12px;
    outline: none;
    color: #333;
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 1rem;
}

/* افکت فوکوس کادرها */
.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #fff;
    box-shadow: 0 0 12px rgba(176, 38, 255, 0.15) !important;
}

/* دکمه ارسال پیام (مشابه دکمه پرداخت) */
button#place_order_contact {
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 16px 30px !important;
    width: 100%;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    margin-top: 15px !important;
    border: none !important;
    transition: 0.3s !important;
    cursor: pointer;
}

button#place_order_contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(176, 38, 255, 0.3) !important;
}
/* ==========================================================================
   انیمیشن‌های صفحه تماس با ما
   ========================================================================== */

/* تعریف حرکت انیمیشن (از پایین به بالا + ظاهر شدن) */
@keyframes fadeUpAnim {
    from {
        opacity: 0;
        transform: translateY(40px); /* شروع از 40 پیکسل پایین‌تر */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* رسیدن به جایگاه اصلی */
    }
}

/* اعمال انیمیشن به کلاس پایه */
.animate-fade-up {
    opacity: 0; /* قبل از شروع انیمیشن نامرئی باشد */
    animation: fadeUpAnim 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* زمان‌بندی (تاخیر) برای ظاهر شدن به ترتیب المان‌ها */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.7s;
}

/* استایل‌دهی به متن‌های جدید هیرو */
.contact-description h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* سایه متن برای خوانایی بیشتر */
}

.contact-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   صفحه سوالات متداول (FAQ Page)
   ========================================================================== */

/* هیرو صفحه سوالات */
.hero.faq-hero {
    height: 40vh;
    margin-top: 85px; 
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero.faq-hero h1 { 
    font-size: 3rem;
    margin-bottom: 15px; 
    font-weight: 900;
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.faq-description h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.faq-description p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* بخش اصلی لیست سوالات */
.faq-section {
    max-width: 800px;
    margin: -30px auto 100px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden; /* برای انیمیشن باز شدن */
}

/* هاور و حالت فعال (نئونی شدن کادر) */
.faq-item:hover, .faq-item.active {
    box-shadow: 0 10px 25px rgba(176, 38, 255, 0.15);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: #fff;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    direction: rtl;
    text-align: right;
    transition: 0.3s;
}

.faq-item.active .faq-question h4 {
    color: #b026ff;
}

/* استایل دکمه کوچک "پاسخ" */
.faq-question .faq-toggle-text {
    font-size: 13px;
    font-weight: 700;
    color: #b026ff;
    background: rgba(176, 38, 255, 0.1);
    padding: 6px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* وقتی باکس باز می‌شود، دکمه رنگی‌تر می‌شود */
.faq-item.active .faq-question .faq-toggle-text {
    background: linear-gradient(90deg, #00b3ff, #b026ff);
    color: #fff;
    box-shadow: 0 4px 10px rgba(176, 38, 255, 0.3);
}

/* باکس جواب‌ها (پنهان به صورت پیش‌فرض) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fdfdfd;
}

.faq-answer p {
    padding: 0 25px 25px;
    margin: 0;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    direction: rtl;
    text-align: right;
    border-top: 1px dashed #eee;
    margin-top: 10px;
    padding-top: 15px;
}

/* ==========================================================================
   رفع مشکل چسبیدن محتوا به هدر ثابت در تمام صفحات
   ========================================================================== */

/* 1. اصلاح فاصله در صفحه ارور 404 */
.page-404-wrapper {
    padding-top: 150px !important;
}

/* 2. اصلاح فاصله در صفحه فروشگاه (پایین آوردن تب‌های دسته‌بندی) */
.tabs {
    margin-top: 130px !important;
}



/* 4. یک فاصله احتیاطی برای سایر کانتینرهای اصلی که زیر هدر می‌روند */
.main-content {
    padding-top: 130px !important;
}

/* ==========================================================================
   تنظیم دقیق فاصله بین گزینه‌های منوی هدر
   ========================================================================== */
.header-nav ul, 
.site-header nav ul,
.nav-list,
.nav ul,
.main-nav ul {
    display: flex !important;
    gap: 40px !important; /* 🔴 این عدد فاصله بین کلمات منو را تعیین می‌کند */
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
}

.header-nav ul li a, 
.site-header nav ul li a,
.nav-list li a,
.nav ul li a {
    display: inline-block !important;
    padding: 5px 10px !important; /* فضای کلیک‌پذیر اطراف هر کلمه */
}

/* ==========================================================================
   تنظیم جایگاه دقیق لوگو، منو و دکمه در هدر (راست، وسط، چپ)
   ========================================================================== */

/* ==========================================================================
   تنظیم جایگاه دقیق لوگو، منو و دکمه در هدر (نسخه تمام‌عرض و فیکس)
   ========================================================================== */

/* کانتینر اصلی هدر (تمام‌صفحه) */
.site-header .header-inner,
header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important; /* 🔴 این خط هدر را دوباره تمام‌عرض می‌کند */
    margin: 0 !important;
    padding: 15px 30px !important; /* فاصله داخلی استاندارد از لبه‌های مانیتور */
    direction: rtl !important;
}

/* 1. بخش لوگو (کاملاً چسبیده به راست) */
.header-logo, .logo {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-start !important; 
    align-items: center !important;
}

/* 2. بخش منوها (کاملاً فیکس در وسط) */
.header-nav, .main-nav, .nav {
    flex: 2 !important; 
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* 3. بخش دکمه پنل کاربری (کاملاً چسبیده به چپ) */
.header-actions, .header-buttons, .auth-buttons {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

/* ==========================================================================
   حل قطعی مشکل هدر و رفتن متن‌ها به زیر آن در حالت موبایل (ریسپانسیو)
   ========================================================================== */

/* 1. اجبار به ثابت ماندن هدر در همه دستگاه‌ها (موبایل و تبلت) */
header, .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important; /* بالاترین لایه ممکن تا چیزی روی آن نیاید */
}

/* 2. تنظیمات مخصوص موبایل و تبلت */
@media (max-width: 992px) {
    
    /* جلوگیری از رفتن نوشته‌ها و بخش‌های مختلف به زیر هدر */
    .main-content, 
    .container, 
    .hero, 
    .contact-hero,
    .faq-hero,
    .page-404-wrapper,
    .layout {
        margin-top: 110px !important; /* ایجاد یک فاصله امن و استاندارد از زیر هدر */
    }
    
    /* اصلاح چیدمان داخلی هدر در موبایل (تا لوگو و دکمه‌ها در موبایل فشرده نشوند) */
    .site-header .header-inner, header {
        padding: 10px 15px !important;
    }
    
    /* اصلاح سایز لوگو در موبایل که فضای زیادی نگیرد */
    .logo img, .header-logo img {
        height: 45px !important;
    }
}
/* حذف کامل مستطیل‌های رنگی و خاکستری از روی گزینه‌های منو */
.site-header nav ul li a:hover,
.header-nav ul li a:hover, 
.nav a:hover, 
.main-nav a:hover {
    background: transparent !important; /* این خط مستطیل مزاحم را کاملاً حذف می‌کند */
    color: #b026ff !important; /* رنگ نوشته را بنفش نگه می‌دارد */
}
/* ==========================================================================
   حذف قطعی کادر طوسی از منوهای هدر (جلوگیری از تداخل با پنل کاربری)
   ========================================================================== */
.site-header li.menu-item:hover,
.site-header li.nav-item:hover,
header li.menu-item:hover,
.header-nav ul li.menu-item:hover,
.main-nav ul li.menu-item:hover,
.nav ul li.menu-item:hover {
    background: transparent !important;
    box-shadow: none !important;
}
/* ==========================================================================
   استایل جامع، قطعی و نئونی برای بخش نظرات (نقد و بررسی) ووکامرس
   ========================================================================== */

/* 1. باکس اصلی کل نظرات ووکامرس (حاشیه گرادیان نئونی) */
#reviews {
    margin-top: 60px !important;
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    
    /* حاشیه گرادیان با داخل سفید (تضمینی) */
    border: 3px solid transparent !important; 
    background-clip: padding-box, border-box !important;
    background-origin: padding-box, border-box !important;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8) !important;
    clear: both !important;
    display: block !important;
}

/* رفع مشکل تب‌ها (اجبار به نمایش کامل بخش نظرات) */
.woocommerce-Tabs-panel--reviews {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* عنوان بخش نظرات */
#reviews h2.woocommerce-Reviews-title {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    margin-bottom: 30px !important;
    color: #333 !important;
    border-right: 4px solid #b026ff !important;
    padding-right: 15px !important;
}

/* 2. لیست نظرات و کارت هر نظر */
#reviews ol.commentlist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#reviews ol.commentlist li.review .comment_container {
    background: #fdfdfd !important;
    border: 1px solid #eee !important;
    border-radius: 15px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    gap: 15px !important;
    transition: 0.3s !important;
}

/* آواتار کاربر */

/* محتوا و متن نظر (کاملا خوانا) */
#reviews ol.commentlist li.review .comment-text {
    flex: 1 !important;
    border: none !important;
    padding: 0 15px 0 0 !important;
    margin: 0 !important;
}

#reviews ol.commentlist li.review .comment-text p.meta {
    font-size: 12px !important;
    color: #888 !important;
    border-bottom: 1px dashed #eee !important;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

#reviews ol.commentlist li.review .comment-text .description,
#reviews ol.commentlist li.review .comment-text .description p {
    color: #444 !important;
    font-size: 15px !important;
    line-height: 1.9 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ستاره‌های امتیازدهی */
.woocommerce .star-rating {
    float: left !important; 
    color: #b026ff !important; 
    font-size: 14px !important;
}

/* 3. فرم ثبت نظر جدید */
#review_form_wrapper {
    margin-top: 40px !important;
    padding-top: 30px !important;
    border-top: 2px dashed #eee !important;
}

#review_form_wrapper span#reply-title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin-bottom: 20px !important;
    display: block !important;
}

/* استایل فیلدهای فرم */
#review_form_wrapper form input[type="text"],
#review_form_wrapper form input[type="email"],
#review_form_wrapper form textarea {
    width: 100% !important;
    padding: 14px 15px !important;
    background-color: #fdfdfd !important;
    border: 2px solid #b026ff !important;
    border-radius: 12px !important;
    outline: none !important;
    color: #333 !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
    margin-bottom: 15px !important;
}

#review_form_wrapper form input:focus,
#review_form_wrapper form textarea:focus {
    background-color: #fff !important;
    box-shadow: 0 0 12px rgba(176, 38, 255, 0.15) !important;
}

/* ستاره‌های امتیازدهی فرم */
p.stars a { color: #b026ff !important; }

/* دکمه ثبت نظر */
#review_form_wrapper form p.form-submit input#submit {
    background: linear-gradient(90deg, #00b3ff, #b026ff, #ff4fd8) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 14px 35px !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    border: none !important;
    transition: 0.3s !important;
    cursor: pointer !important;
    margin-top: 10px !important;
}

#review_form_wrapper form p.form-submit input#submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(176, 38, 255, 0.3) !important;
}
/* ==========================================================================
   استایل دکمه "پاسخ" و نظرات تو در تو (Reply) در ووکامرس
   ========================================================================== */

/* 1. تنظیم جایگاه باکس پاسخ */
#reviews ol.commentlist li.review .reply {
    margin-top: 15px !important;
    text-align: left !important; /* قرارگیری دکمه در سمت چپ */
    display: block !important;
}

/* 2. استایل خود دکمه پاسخ (نئونی و توخالی) */
#reviews ol.commentlist li.review .reply a.comment-reply-link {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #b026ff !important;
    text-decoration: none !important;
    border: 2px solid #b026ff !important;
    padding: 6px 22px !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
}

/* افکت هاور دکمه پاسخ (پر شدن با گرادیان) */
#reviews ol.commentlist li.review .reply a.comment-reply-link:hover {
    color: #040404 !important;
    border-color: transparent !important;
    box-shadow: 0 5px 15px rgba(176, 38, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* 3. استایل پاسخ‌های ثبت شده (نظرات تو در تو) */
#reviews ol.commentlist ul.children {
    margin-top: 20px !important;
    margin-right: 40px !important; /* ایجاد تورفتگی برای اینکه مشخص شود پاسخ است */
    padding: 0 !important;
    list-style: none !important;
    border-right: 3px solid rgba(176, 38, 255, 0.2) !important; /* یک خط بنفش ملایم در سمت راست */
    padding-right: 20px !important;
}

/* کوچکتر کردن عکس پروفایل در پاسخ‌ها */
#reviews ol.commentlist ul.children li.review img.avatar {
    width: 45px !important;
    height: 45px !important;
}
/