/* fonts */
/* Font License: SQJ7F */
@font-face{font-family:'iransans';font-weight:normal;font-style:normal;font-display:fallback;src: url('../../../skins/sekeha/customer/new_styles/../styles/fonts/woff/IRANSansWeb.woff') format('woff');}
@font-face{font-family:'iransans';font-weight:300;font-style:normal;font-display:fallback;src: url('../../../skins/sekeha/customer/new_styles/../styles/fonts/woff/IRANSansWeb_Light.woff') format('woff');}
@font-face{font-family:'iransans';font-weight:bold;font-style:normal;font-display:fallback;src: url('../../../skins/sekeha/customer/new_styles/../styles/fonts/woff/IRANSansWeb_Bold.woff') format('woff');}


/* Reset و پایه */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'iransans', Tahoma, sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #1f2933;
    background: #f3f4f6;
    direction: rtl;
    overflow-x: hidden;
}

/* لینک‌ها */
a {
    text-decoration: none !important;
    transition: color 0.15s ease, background 0.15s ease;
    color: #2563eb;
}

a:hover {
    text-decoration: none !important;
    color: #2563eb;
}


/* تیترها */
h1, h2, h3, h4, h5, h6 {
    font-family: 'iransans', Tahoma, sans-serif;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    direction: rtl;
}

/* متن عمومی */
p {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: right;
}

.wysiwyg-content p {
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: #374151;
}

blockquote {
    margin: 16px 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f9fafb;
    border-right: 3px solid #d6b56d; /* طلایی سکه‌ای */
    color: #4b5563;
    font-size: 0.95rem;
}

blockquote p {
    margin: 0;
}

blockquote em {
    font-style: normal;
    color: #374151;
}

.center {
    text-align: center;
}

.hidden {
    display: none;
}

.invisible-view {
    display: none;
}

/* لودینگ AJAX — مخفی در حالت عادی */
.ajax-loading-box {
    display: none; /* مهم */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* تاریک نیمه‌شفاف */
    backdrop-filter: blur(3px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    direction: rtl;
}

/* باکس داخلی */
.right-inner-loading-box {
    background: #ffffff;
    padding: 22px 28px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    text-align: center;
    min-width: 240px;
    animation: fadeIn 0.25s ease;
}

/* متن لودینگ */
.ajax-inner-loading-box {
    font-size: 1rem;
    font-weight: 600;
    color: #8a5a12; /* طلایی سکه‌ای */
    margin-top: 12px;
}

/* اسپینر */
.ajax-inner-loading-box::before {
    content: "";
    display: block;
    width: 34px;
    height: 34px;
    margin: 0 auto 10px;
    border: 4px solid #e5e7eb;
    border-top-color: #8a5a12;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* انیمیشن‌ها */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ریسپانسیو */
@media (max-width: 480px) {
    .right-inner-loading-box {
        padding: 18px 20px;
        min-width: 180px;
    }
}

/* لیست سکه‌ای */
.compact ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

/* آیتم‌ها */
.compact ul li {
    background: #fff;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #f3e4b3; /* طلایی ملایم */
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    font-size: 0.95rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s ease;
}

/* آیکون طلایی سکه‌ای */
.compact ul li::before {
    content: "";
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #fbc72a 0%, #d4af37 70%, #b8860b 100%);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Hover */
.compact ul li:hover {
    background: #fff9e6;
    border-color: #fbc72a;
    box-shadow: 0 3px 10px rgba(251, 199, 42, 0.25);
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .compact ul li {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
}

.cm-notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px; /* برای موبایل */
    z-index: 99999;
    pointer-events: none; /* جلوگیری از پرش موبایل */
}

.notification-content {
    background: #1f1f1f;
    color: #fff;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    width: 100%;
    max-width: 320px;
    margin: 0 auto; /* وسط روی موبایل */
    cursor: pointer;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: auto; /* فقط خود پیام قابل لمس باشد */
    touch-action: manipulation; /* جلوگیری از رفتارهای عجیب موبایل */
}

.notification-content.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.notification-header-n {
    display: block;
    font-size: 14px;
    opacity: 0.7;
    margin-top: 8px;
}

.notification-n {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cm-notification-close {
    cursor: pointer;
    flex-shrink: 0;
}



/* کانتینر اصلی سایت */
#container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 12px;
}

/* چیدمان ستون‌ها */
#content .content-helper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* ترتیب ستون‌ها در دسکتاپ */
#content .content-helper .central-column {
    order: 2;   /* وسط */
    flex: 1;    /* بزرگ‌تر */
}

#content .content-helper .right-column {
    order: 1;   /* راست */
    flex: 0 0 240px;
}

#content .content-helper .left-column {
    order: 3;   /* چپ */
    flex: 0 0 240px;
}

/* موبایل */
@media (max-width: 768px) {
    #content .content-helper {
        flex-direction: column;
        gap: 16px;
    }

    /* ترتیب طبیعی موبایل */
    #content .content-helper .central-column {
        order: 1;
    }

    #content .content-helper .left-column,
    #content .content-helper .right-column {
        order: 2;
        flex: 1 1 auto;
        width: 100%;
    }
}

.central-column > div:first-child,
.right-column > div:first-child,
.left-column > div:first-child {
    margin-top: 18px !important;
}

.central-column > div:last-child,
.right-column > div:last-child,
.left-column > div:last-child {
    margin-bottom: 18px !important;
}


/* ورودی‌ها */
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    color: #111827;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* فیلدهای فرم */
.form-field {
    margin: 10px 0;
}

.form-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
}

/* پیام خطا */
.error-message.dsc_message {
    position: relative;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 6px;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* فلش کنار باکس */
.error-message.dsc_message .arrow {
    position: absolute;
    right: 12px;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fca5a5;
}

/* متن داخل پیام */
.error-message.dsc_message .message p {
    margin: 0;
    padding: 0;
}


/* دکمه‌ها */
.buttons-container {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.buttons-container .button,
.buttons-container .button-submit,
.buttons-container .button-submit input[type="submit"] {
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    font-family: inherit;
}

.buttons-container .button:hover,
.buttons-container .button-submit:hover,
.buttons-container .button-submit input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.45);
}

/* کانتینر اصلی */
.buttons-container {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* چک‌باکس */
.remember-me-chekbox label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
}

.remember-me-chekbox .checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* دکمه ورود */
.button-submit-action input[type="submit"] {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.1s ease;
}

.button-submit-action input[type="submit"]:hover {
    background: #1e4fc7;
}

.button-submit-action input[type="submit"]:active {
    transform: scale(0.97);
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .buttons-container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .remember-me-chekbox label {
        font-size: 0.85rem;
    }

    .button-submit-action input[type="submit"] {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }
}

.button {
    width: 100%;
    text-align: center;
    margin-top: 18px;
}

.button a {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: #10b981; /* سبز ملایم و حرفه‌ای */
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.button a:hover {
    background: #0e9f75;
}

.button a:active {
    transform: scale(0.97);
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .button a {
        padding: 14px 0;
        font-size: 1.05rem;
        border-radius: 12px;
    }
}


/* هدر اصلی */
#header {
	margin: 0 -12px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 999;
    direction: rtl;
}

/* کانتینر داخلی — ارتفاع کمتر */
.header-helper-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 16px; /* کاهش ارتفاع */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* لوگو به‌صورت background */
ul.navigation li a.logo-small {
    background: transparent url("../../../skins/sekeha/customer/new_styles/../images/small-logo-new-2018.png") no-repeat right center;
    background-size: contain;
    width: 180px;   /* کمی کمتر برای زیبایی */
    height: 48px;   /* ارتفاع کمتر */
    display: block;
    padding: 0;
    margin: 0;
}

.logo-small h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}


/* منوی اصلی */
.navigation {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px; /* کمی کمتر */
    margin: 0;
    padding: 0;
}

/* لینک‌های منو */
.navigation li a {
    font-size: 0.9rem; /* کمی کوچکتر */
    font-weight: 600;
    color: #374151;
    padding: 4px 8px; /* کاهش ارتفاع */
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.navigation li a:hover {
    background: #f3f4f6;
    color: #2563eb;
}

/* منوی موبایل */
.navigation li.menu {
    display: none;
}

/* کانتینر اصلی ابزارهای زیر هدر */
.content-tools {
    background: #fafafa;
    border-top: 1px solid #e5e7eb;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    direction: rtl;
}

/* بخش داخلی ابزارها */
.top-tools-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    position: relative;
}

/* حساب کاربری */
.account-signed {
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.account-signed:hover {
    background: #f3f4f6;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.top-account.hidden {
    display: none;
}

/* امتیاز کاربر */
.account-points-signed {
    font-size: 0.75rem;
    color: #8a5a12;
    font-weight: 700;
    white-space: nowrap;
}

/* ورود / ثبت نام */
.account-secure-signin,
.account-signup {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #111827;
    white-space: nowrap;
}

/* آیکون منوی دسته‌بندی */
.home-icon {
    width: 32px;
    height: 32px;
    background: url('../../../skins/sekeha/customer/new_styles/../images/icons/svg/menu-icon.svg') no-repeat center;
    background-size: 24px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.15s ease;
    display: none;
}

.home-icon:hover {
    background-color: #f3f4f6;
}

/* جستجو */
.top-search {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.search-form {
    position: relative;
}

.search-input {
    width: 240px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.9rem;
    transition: border-color 0.15s ease;
}

.search-input:focus {
    border-color: #2563eb;
}

.go-button {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 1rem;
}

/* ریسپانسیو */
@media (max-width: 768px) {

    .header-helper-container {
        padding: 6px 12px;
    }

    .content-tools {
        padding: 8px 12px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .top-tools-container {
        width: 100%;
        justify-content: space-between;
    }

    .search-input {
        width: 100%;
    }

    .top-search {
        width: 100%;
    }

}

@media (max-width: 768px) {

    /* هدر: بدون margin منفی، بدون بیرون‌زدگی */
    #header {
        margin: 0 !important;
        padding: 0;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    }

    .header-helper-container {
        max-width: 100%;
        padding: 8px 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* لوگو */
    .navigation .logo-small {
        width: 150px !important;
        height: 40px !important;
        background-size: contain !important;
        background-position: right center !important;
        display: block;
        padding: 0;
        margin: 0;
    }

    .logo-small h2 {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0,0,0,0);
    }

    .navigation {
        gap: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    /* دکمه منو (nav بازشو) */
    .navigation li.menu {
        display: block;
    }

    .content-tools {
        padding: 8px 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
    }

    .top-tools-container {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    /* آیکون دسته‌بندی (سه خط) */
    .home-icon {
        display: block !important;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background-color: #f3f4f6;
        background-size: 20px;
        background-position: center;
        box-shadow: none;
    }

    /* سرچ تمام‌عرض */
    .top-search {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    .search-form {
        width: 100%;
        position: relative;
    }

    .search-input {
        width: 100% !important;
        padding: 8px 12px;
        border-radius: 10px;
        font-size: 0.85rem;
    }

    .go-button {
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* وقتی منو باز می‌شود، ul.navigation به صورت ستون زیر هدر نمایش داده شود */
    .navigation li[itemprop="name"] {
        display: none;
    }

}

/* کانتینر اصلی منوی حساب */
.top-account {
    position: absolute;
    right: 0;
    top: 45px;
    width: 240px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    padding: 14px;
    z-index: 999;
    animation: fadeIn 0.25s ease;
}

/* متن خوش‌آمد */
.top-account .login-popup {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* لیست */
.top-account .arrows-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* آیتم‌های لیست */
.top-account .arrows-list li {
    margin: 0;
    padding: 0;
}

/* لینک‌ها */
.top-account .arrows-list li a {
    display: block;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
    transition: color 0.15s ease, background 0.15s ease;
}

/* آخرین آیتم بدون خط */
.top-account .arrows-list li:last-child a {
    border-bottom: none;
}

/* هاور */
.top-account .arrows-list li a:hover {
    background: #f3f4f6;
    color: #2563eb;
}

/* انیمیشن */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .top-account {
        width: 200px;
        top: 40px;
        right: 0;
        border-radius: 12px;
        padding: 12px;
    }

    .top-account .login-popup {
        font-size: 0.85rem;
    }

    .top-account .arrows-list li a {
        font-size: 0.85rem;
        padding: 8px 0;
    }
}


/* دکمه منو موبایل */
.mobile-menu-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #f3f4f6;
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: inline-flex;
    }
}

/* منوی موبایل */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px; /* مخفی */
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 18px rgba(0,0,0,0.15);
    z-index: 99999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* هدر منوی موبایل */
.mobile-menu .mobile-menu-header {
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu .close-menu {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
}

/* لیست منو */
.mobile-menu .mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu .mobile-menu-list li a {
    display: block;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}

.mobile-menu .mobile-menu-list li a:hover {
    background: #f3f4f6;
}

/* لایه تاریک */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    z-index: 99998;
    display: none;
}


/* کانتینر اصلی */
.arrowlistmenu {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    direction: rtl;
    overflow: hidden;
    font-family: inherit;
}

/* دسته‌های اصلی */
.arrowlistmenu .menuheader {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 700;
    background: #fdf7e3;
    color: #8a5a12;
    border-bottom: 1px solid #f3e8c8;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease, color 0.2s ease;
    text-wrap: nowrap;
}

/* آیکون سمت راست */
.arrowlistmenu .menuheader::before {
    content: "›";
    font-size: 1.1rem;
    color: #8a5a12;
    position: absolute;
    right: 15px;
    transition: transform 0.25s ease;
}

/* وقتی باز است */
.arrowlistmenu .menuheader.opensubheader::before {
    transform: rotate(90deg);
}

/* hover */
.arrowlistmenu .menuheader:hover {
    background: #f9e9c7;
    color: #7a4f10;
}

/* زیر دسته‌ها */
.arrowlistmenu .categoryitems {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    animation: fadeIn 0.25s ease;
}

/* لینک‌های زیر دسته */
.arrowlistmenu .categoryitems > a {
    display: flex;
    align-items: center;
    padding: 10px 22px;
    font-size: 0.9rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    transition: background 0.15s ease, color 0.15s ease;
    justify-content: flex-start;
    text-align: right;
}

/* آیکون زیر دسته‌ها */
.arrowlistmenu .categoryitems > a.subexpandable::before {
    content: "›";
    font-size: 0.9rem;
    color: #9ca3af;
    position: absolute;
    right: 12px;
    transition: transform 0.25s ease;
}

/* وقتی زیر دسته باز است */
.arrowlistmenu .categoryitems > a.opensubheader::before {
    transform: rotate(270deg);
    color: #2563eb;
}

/* hover */
.arrowlistmenu .categoryitems > a:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.arrowlistmenu .subcategoryitems {
    background: #f8f8f8;
    border-right: 4px solid #e6c98f;
    margin-right: 0;
    animation: fadeIn 0.25s ease;
}

/* لینک‌های سطح سوم */
.arrowlistmenu .subcategoryitems a {
    display: block;
    padding: 8px 25px 8px 10px;
    font-size: 0.85rem;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.15s ease, color 0.15s ease;
    position: relative;
    text-align: right;
}

/* آیکون کوچک برای سطح سوم (سمت راست) */
.arrowlistmenu .subcategoryitems a::before {
    content: "•";
    font-size: 0.75rem;
    color: #b0893c;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

/* hover سطح سوم */
.arrowlistmenu .subcategoryitems a:hover {
    background: #ececec;
    color: #2563eb;
}

/* انیمیشن */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .arrowlistmenu {
        border-radius: 10px;
    }

    .arrowlistmenu .menuheader {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .arrowlistmenu .categoryitems > a {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .arrowlistmenu .subcategoryitems {
        padding-right: 24px;
    }

    .arrowlistmenu .subcategoryitems a {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}


/* کانتینر اصلی بردکرامب */
.breadcrumbs {
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    margin-top: 18px;
    direction: rtl;
}

/* لیست اصلی */
.breadcrumbs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

/* آیتم‌ها */
.breadcrumbs li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #374151;
}

/* لینک‌ها */
.breadcrumbs li a {
    color: #2563eb;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.breadcrumbs li a:hover {
    background: #2563eb;
    color: #ffffff;
}

/* آیکون خانه */
.breadcrumbs li a .icon-home {
    font-size: 1rem;
    color: #6b7280;
    margin-left: 4px;
    transition: color 0.15s ease;
}

/* آیکون خانه */
.breadcrumbs li a:hover .icon-home {
    color: #fff;
}

/* فلش بین آیتم‌ها */
.bc-arrow {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0 4px;
}

/* آیتم آخر (صفحه فعلی) */
.breadcrumbs li:last-child span {
    font-weight: 600;
    color: #111827;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .breadcrumbs {
        padding: 10px 14px;
    }

    .breadcrumbs ul {
        gap: 4px;
    }

    .breadcrumbs li {
        font-size: 0.85rem;
    }

    .bc-arrow {
        font-size: 0.65rem;
    }
}


/* جعبه‌های اصلی محتوا */
.mainbox-container {
    overflow-x: hidden;
    position: relative;
    margin: 10px auto;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
}

/* عنوان جعبه */
.mainbox-title {
    overflow-x: hidden;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111827;
}

/* بدنه جعبه */
.mainbox-body {
    overflow-x: hidden;
    padding: 14px 16px 18px;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* کانتینر کلی سایدباکس */
.sidebox-wrapper {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    margin-bottom: 18px;
    overflow: hidden;
    direction: rtl;
}

/* عنوان سایدباکس */
.sidebox-wrapper .sidebox-title {
    background: #f9fafb;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

/* بدنه خالی – طراحی برای حالت بدون محتوا */
.sidebox-wrapper .sidebox-body {
    padding: 16px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.85rem;
    text-align: center;
}

/* بخش پایین */
.sidebox-wrapper .sidebox-bottom {
    padding: 6px 0;
    text-align: center;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.sidebox-wrapper .sidebox-bottom span {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .sidebox-wrapper .sidebox-title {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .sidebox-wrapper .sidebox-body {
        padding: 14px;
        font-size: 0.8rem;
    }
}

/* عنوان سایدباکس */
.sidebox-categories-wrapper .sidebox-title {
    background: #fdf7e3; /* طلایی خیلی ملایم */
    padding: 10px 14px;
    border-bottom: 1px solid #f3e8c8;
    font-size: 0.95rem;
    font-weight: 700;
    color: #8a5a12; /* قهوه‌ای طلایی */
}

/* بدنه اخبار */
.sidebox-categories-wrapper .sidebox-body {
    padding: 12px;
}

/* کانتینر اصلی محصول */
.mainbox-container {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    padding: 20px;
    margin-bottom: 24px;
    direction: rtl;
}

/* عنوان محصول */
.mainbox-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #8a5a12;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3e8c8;
}

/* گالری محصول */
.products-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.products-gallery__img--main {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    width: 250px;
    height: auto;
    object-fit: cover;
}

.cm-thumbnails-mini {
    margin: 5px;
}
.cm-thumbnails-mini img {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    width: 80px;
    height: 80px;
    object-fit: cover;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cm-thumbnails-mini img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

/* عنوان بخش‌ها */
.tab-list-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #374151;
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

/* توضیحات محصول */
#content_block_description {
    background: #fafafa;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: inset 0 0 10px rgba(15, 23, 42, 0.03);
}

/* لیست‌ها */
#content_block_description ul {
    margin: 10px 0;
    padding-right: 20px;
}

#content_block_description li {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 6px;
}

/* نظرات */
#content_discussion {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

#posts_list .no-items {
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
    padding: 12px 0;
}

/* فرم ارسال نظر */
#add_post_form .form-field {
    margin-bottom: 14px;
}

#add_post_form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

#add_post_form input[type="text"],
#add_post_form textarea,
#add_post_form select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px;
    font-size: 0.9rem;
    background: transparent;
}

/* برچسب‌ها */
#content_tags {
    background: #fafafa;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .products-gallery__img--main {
        width: 180px;
    }

    .cm-thumbnails-mini img {
        width: 60px;
        height: 60px;
    }

}


/* کانتینر اصلی */
.subcat {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

/* هر ردیف view */
.subcat .view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* کارت دسته‌بندی */
.subcat .category {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 12px;
    text-align: center;
    transition: 0.2s ease;
}

.subcat .category:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

/* لینک داخل کارت */
.subcat .category a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111827;
}

/* تصویر */
.subcat .category img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    background: #f3f3f3;
}

/* عنوان */
.subcat .category span.block {
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .subcat .view {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .subcat .view {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* چیدمان اصلی */
.product-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
}

/* عکس محصول */
.product-item-image {
    flex: 0 0 140px;
    text-align: center;
}

.product-item-image img {
    width: 140px;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* متن محصول */
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* عنوان */
.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 4px;
}

/* توضیحات */
.product-descr {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #374151;
}

/* جداکننده بین محصولات */
.pagination-container hr {
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    margin: 16px 0;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        gap: 14px;
    }

    .product-item-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .product-item-image img {
        width: 160px;
        margin: 0 auto;
    }
}

.carousel-skin {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    box-sizing: border-box;
    padding: 10px 0;
    margin: 0;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* آیتم‌ها */
.carousel-skin .carousel-item {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    transition: 0.2s ease;
    box-sizing: border-box;
}

.carousel-skin .carousel-item .product-container {
    display: block !important;
    padding: 0 10px;
}

/* آخرین آیتم فاصله نداشته باشد */
.carousel-skin .carousel-item:last-child {
    margin-right: 0;
}

/* هاور کارت */
.carousel-skin .carousel-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

/* تصویر */
.carousel-skin img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    background: #f3f3f3;
}

/* عنوان محصول */
.carousel-skin .product-title {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
    text-decoration: none;
}

/* قیمت */
.carousel-skin .product-prices {
    margin-top: 6px;
}

.view-all-list {
    position: absolute;
    left: 20px;
    top: 40px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #374151;
    text-decoration: none;
    transition: 0.2s ease;
    white-space: nowrap;
}

.view-all-list:hover {
    color: #7c5b1a;
}

@media (max-width: 768px) {
    .view-all-list {
        left: 10px;
        font-size: 0.8rem;
        max-width: 90%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


/* کانتینر اصلی فوتر */
#footer {
    background: #ffffff;
    margin-top: 24px;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.05);
    direction: rtl;
}

#footer footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 16px 30px;
}

/* لینک‌های سریع */
footer .quick-links {
    text-align: center;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

footer .quick-links a {
    color: #374151;
    padding: 4px 8px;
    border-radius: 8px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

footer .quick-links a:hover {
    background: #2563eb;
    color: #ffffff;
}

/* بخش کپی‌رایت */
.bottom-copyright {
    text-align: center;
    margin-top: 10px;
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.8;
}

/* متن کپی‌رایت */
.bottom-copyright .copyright-text {
    margin: 10px auto;
    float: none;
    font-size: 0.85rem;
    color: #374151;
}

.bottom-copyright strong {
    color: #111827;
}

/* لینک ایران آنتیک */
.bottom-copyright a {
    color: #2563eb;
    font-weight: 600;
}

.bottom-copyright a:hover {
    color: #1d4ed8;
}

/* شبکه‌های اجتماعی */
.social-media {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.social-media a:hover {
    background: #2563eb;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.social-media i {
    font-size: 1rem;
    color: #374151;
}

.social-media a:hover i {
    color: #ffffff;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    footer .quick-links {
        font-size: 0.85rem;
        line-height: 2;
    }

    .social-media {
        gap: 10px;
    }

    .social-media a {
        width: 30px;
        height: 30px;
    }

    .social-media i {
        font-size: 0.9rem;
    }
}


/* کانتینر بنر */
.top-banners {
    position: relative;
    background: #ffffff;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    margin: 18px 0;
    direction: rtl;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* تصویر بنر */
.top-banners img {
    width: 100%;
    max-width: 720px;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    object-fit: cover;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* حالت hover بنر */
.top-banners a:hover img {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

/* دکمه بستن */
#top-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

/* آیکون بستن */
#top-close i {
    font-size: 1rem;
    color: #374151;
}

/* حالت hover دکمه بستن */
#top-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.35);
}

#top-close:hover i {
    color: #ffffff;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .top-banners {
        padding: 10px;
    }

    #top-close {
        width: 28px;
        height: 28px;
        top: 8px;
        left: 8px;
    }

    #top-close i {
        font-size: 0.9rem;
    }
}


.icon-secure {
  display: inline-block;
  width: 26px;
  height: 26px;
}
.icon-home {
  display: inline-block;
  width: 24px;
  height: 24px;
}
.icon-pin {
  display: inline-block;
  width: 24px;
  height: 24px;
}
.icon-arrow-left {
  display: inline-block;
  width: 24px;
  height: 24px;
}
.icon-arrow-right {
  display: inline-block;
  width: 24px;
  height: 24px;
}
.icon-arrow-double-slim {
  display: inline-block;
  width: 24px;
  height: 24px;
}
.icon-search {
  display: inline-block;
  width: 26px;
  height: 26px;
}
.icon-close {
  display: inline-block;
  width: 26px;
  height: 26px;
}
.icon-comment {
  display: inline-block;
  width: 26px;
  height: 26px;
}
.icon-clock {
  display: inline-block;
  width: 26px;
  height: 26px;
}
.icon-vote-up {
  display: inline-block;
  width: 26px;
  height: 26px;
}
.icon-vote-down {
  display: inline-block;
  width: 26px;
  height: 26px;
}

.icon-telegram {
  display: inline-block;
  width: 34px;
  height: 34px;
}
.icon-instagram {
  display: inline-block;
  width: 34px;
  height: 34px;
}
.icon-facebook {
  display: inline-block;
  width: 34px;
  height: 34px;
}


/* کانتینر صفحه‌بندی */
.pagination.cm-pagination-wraper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 28px 0;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

/* لینک‌ها */
.pagination.cm-pagination-wraper a,
.pagination.cm-pagination-wraper strong {
    padding: 8px 14px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-block;
    min-width: 36px;
    text-align: center;
    font-weight: 600;
}

/* صفحه فعال */
.pagination.cm-pagination-wraper strong.pagination-selected-page {
    background: #1e3a8a;
    color: #fff;
    box-shadow: 0 3px 8px rgba(30, 58, 138, 0.35);
}

/* Hover */
.pagination.cm-pagination-wraper a:hover {
    background: #e5e7eb;
}

/* نسخه موبایل */
@media (max-width: 480px) {
    .pagination.cm-pagination-wraper {
        gap: 8px;
        font-size: 0.9rem;
    }

    .pagination.cm-pagination-wraper a,
    .pagination.cm-pagination-wraper strong {
        padding: 7px 12px;
        min-width: 32px;
    }
}


/* حذف کامل استایل‌های قدیمی و inline */
table[style] {
    all: unset !important;
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
    direction: rtl !important;
    font-family: "iransans", tahoma, sans-serif !important;
    margin: 24px 0 !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08) !important;
}

/* ردیف‌ها */
table tr {
    border-bottom: 1px solid #f0f0f0 !important;
}

/* سلول‌ها */
table td {
    padding: 12px 10px !important;
    font-size: 0.9rem !important;
    color: #333 !important;
    border: none !important;
    font-family: "iransans", tahoma !important;
}

/* عنوان‌ها */
table tr:first-child td,
table tr:nth-child(2) td {
    background: linear-gradient(90deg, #f7f3e8, #fff) !important;
    font-weight: 700 !important;
    color: #444 !important;
    border-bottom: 2px solid #e5e7eb !important;
}

/* شماره ردیف */
table td:first-child {
    font-weight: 700 !important;
    color: #b8860b !important;
}

/* ستون عنوان سکه */
table td .product-title {
    font-weight: 600 !important;
    color: #1e3a8a !important;
}

/* ستون ارزش (colspan 3) */
table td[colspan="3"],
table td[rowspan] {
    background: #fff9e6 !important;
    border-left: 2px solid #fbc72a !important;
    border-right: 2px solid #fbc72a !important;
    font-weight: 700 !important;
    text-align: center !important;
}

/* لینک ارزش */
table td[colspan="3"] a {
    color: #b8860b !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

/* Hover ردیف‌ها */
table tr:hover {
    background: #fafafa !important;
}

/* نسخه موبایل */
@media (max-width: 768px) {

    table,
    table tbody,
    table tr,
    table td {
        display: block !important;
        width: 100% !important;
    }

    table tr {
        background: #fff !important;
        margin-bottom: 12px !important;
        border-radius: 10px !important;
        padding: 10px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    }

    table td {
        display: flex !important;
        justify-content: space-between !important;
        padding: 8px 6px !important;
        border-bottom: 1px dashed #e5e7eb !important;
    }

    table td:last-child {
        border-bottom: none !important;
    }

    /* عنوان هر سلول در موبایل */
    table td::before {
        content: attr(data-label) !important;
        font-weight: 600 !important;
        color: #555 !important;
    }

    /* ستون ارزش */
    table td[colspan="3"],
    table td[rowspan] {
        display: block !important;
        background: #fff9e6 !important;
        border: none !important;
        padding: 12px !important;
        border-radius: 8px !important;
        text-align: center !important;
        margin-top: 10px !important;
    }
}


.verification-field {
    margin: 16px 0;
    padding: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.verification-field p.left span {
    display: block;
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ورودی کپچا */
.captcha-input-text {
    width: 120px;
    padding: 8px 10px;
    font-size: 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s ease;
}

.captcha-input-text:focus {
    border-color: #2563eb;
}

/* تصویر کپچا */
.image-captcha {
    margin-right: 12px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.image-captcha:hover {
    opacity: 0.8;
}

/* چیدمان ورودی + تصویر */
.verification-field label p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .verification-field {
        padding: 12px;
    }

    .captcha-input-text {
        width: 100px;
        font-size: 0.85rem;
    }

    .image-captcha {
        width: 90px;
        height: 25px;
    }
}


/* کانتینر اصلی مقاله */
.news-content {
    font-family: "IRANSans", tahoma;
    direction: rtl;
    color: #374151;
    line-height: 1.9;
    font-size: 1rem;
    margin-top: 20px;
}

/* عنوان اصلی */
.news-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

/* زیرعنوان‌ها */
.news-content h3,
.news-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
    margin-top: 22px;
    margin-bottom: 10px;
}

/* لیست‌ها */
.news-content ol {
    padding-right: 20px;
    margin-bottom: 20px;
}

.news-content ol li {
    margin-bottom: 8px;
    color: #374151;
}

/* لینک‌ها */
.news-content a {
    color: #169179;
    text-decoration: none;
    font-weight: 600;
}

.news-content a:hover {
    text-decoration: underline;
}

/* تصویر وسط */
.news-content img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin: 20px auto;
    display: block;
}

/* استایل نکته داخل بلاک‌کوت */
.news-content blockquote {
    margin: 16px 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f9fafb;
    border-right: 3px solid #d6b56d; /* طلایی سکه‌ای */
    color: #4b5563;
    font-size: 0.95rem;
}

.news-content blockquote p {
    margin: 0;
}

.news-content blockquote em {
    font-style: normal;
    color: #374151;
}


/* دکمه ثبت نام */
.news-content .button a {
    background: #169179;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: 0.2s ease;
}

.news-content .button a:hover {
    background: #0f6f5f;
    transform: translateY(-2px);
}

.news-content .posted-by {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: #5a5a5a;
    margin-bottom: 10px;
    padding: 0;
}

.news-content .posted-by .author {
    font-weight: 600;
    color: #7c5b1a;
}

.news-content .posted-by .author-name {
    color: #4b4b4b;
}

.news-content .posted-by::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7e7b4, #d6b56d);
    box-shadow: 0 0 2px rgba(0,0,0,0.15);
    display: inline-block;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .news-content h2 {
        font-size: 1.25rem;
    }

    .news-content h3,
    .news-content h4 {
        font-size: 1.1rem;
    }

    .news-content {
        font-size: 0.95rem;
    }

    .news-content .posted-by {
        flex-direction: column;
        gap: 6px;
        font-size: 0.9rem;
    }
}

/* لیست اخبار */
.site-news {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-news li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
}

.site-news li.delim {
    border-bottom: 1px solid #e5e7eb;
    margin: 6px 0;
}

/* لینک خبر */
.site-news a {
    display: flex;
    align-items: self-start;
    gap: 6px;
    font-size: .8rem;
    color: #374151;
    line-height: 1.6;
    transition: .15s color ease;
}

.site-news a:hover {
    color: #b45309;
}

/* تصویر خبر */
.site-news img {
    width: 85px;
    height: 85px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    object-fit: cover;
    background: #f3f3f3;
    transition: .15s transform ease, .15s box-shadow ease;
}

.site-news a:hover img {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, .12);
}

/* تاریخ */
.site-news .date {
    font-size: .8rem;
    color: #6b7280;
    padding-right: 90px;
    margin-top: -25px;
}

/* سایدباکس */
.sidebox-categories-wrapper {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
    margin-bottom: 18px;
    overflow: hidden;
    direction: rtl;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .site-news a {
        align-items: flex-start;
    }

    .site-news img {
        width: 65px;
        height: 65px;
    }

    .site-news .date {
        padding-right: 75px;
        font-size: .75rem;
    }
}

.news-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
}

/* دکمه‌ها */
.news-bottom a {
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    color: #1e3a8a; /* آبی تیره مدرن */
    transition: 0.2s ease;
}

/* دکمه سمت چپ */
.news-bottom a.left {
    color: #fff;
    background: #1e3a8a; /* آبی تیره */
}

/* دکمه سمت راست */
.news-bottom a.right {
    background: transparent;
    border: 1px solid #1e3a8a;
}

/* Hover */
.news-bottom a:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(30,58,138,0.15);
}

/* موبایل */
@media (max-width: 768px) {
    .news-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .news-bottom a {
        width: 100%;
        display: block;
    }
}

/* کانتینر اصلی هر خبر */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 18px;
    font-family: "IRANSans", tahoma;
}

/* تصویر */
.news-list img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin-left: 12px;
    float: right;
}

/* عنوان */
.news-list .btitle {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.news-list .btitle:hover {
    color: #7c5b1a; /* طلایی سکه‌ای */
}

/* تاریخ و بازدید */
.news-list .date {
    font-size: 0.9rem;
    color: #4b5563;
    padding-right: 112px; /* برای فاصله از تصویر */
}

/* لینک نظرات */
.news-list .date a {
    color: #7c5b1a; /* طلایی سکه‌ای */
    font-weight: 600;
    text-decoration: none;
}

.news-list .date a:hover {
    text-decoration: underline;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .news-list {
        padding: 12px;
    }

    .news-list img {
        width: 80px;
        height: 80px;
        margin-left: 10px;
    }

    .news-list .date {
        padding-right: 0;
        margin-top: 4px;
    }
}


/* کارت هر نظر */
#posts_list .posts {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    direction: rtl;
    font-family: "IRANSans", tahoma;
    transition: 0.2s ease;
}

/* Hover */
#posts_list .posts:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* بخش بالای نظر: نام + تاریخ */
#posts_list .comment-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* تاریخ و نام */
#posts_list .post-date {
    font-size: 0.9rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
}

#posts_list .post-date .strong {
    font-weight: 700;
    color: #111827;
}

/* ستاره‌ها */
#posts_list .stars img {
    width: 18px !important;
    filter: drop-shadow(0 0 0 transparent);
}

#posts_list .stars {
    display: flex;
    gap: 2px;
}

/* متن نظر */
#posts_list .post-message {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.7;
    margin-top: 10px;
}

/* نظرات مدیریت */
#posts_list .manage-post {
    border-left: 3px solid #d1d5db;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    #posts_list .comment-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    #posts_list .post-date {
        font-size: 0.85rem;
    }

    #posts_list .post-message {
        font-size: 0.9rem;
    }
}

.comments-rules {
    background: #f3f6ff; /* آبی خیلی روشن هماهنگ با قالب */
    border: 1px solid #dbe3ff;
    padding: 16px 18px;
    border-radius: 12px;
    margin-top: 18px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #374151;
}

/* تیتر */
.comments-rules h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a8a; /* آبی قالب */
    display: flex;
    align-items: center;
    gap: 8px;
}

/* نوار کوچک کنار تیتر */
.comments-rules h4 span {
    position: relative;
}

.comments-rules h4 span::before {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #1e3a8a;
    border-radius: 50%;
}

/* لیست */
.comments-rules ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comments-rules ul li {
    position: relative;
    padding-right: 16px;
    margin-bottom: 6px;
}

/* بولت مینیمال */
.comments-rules ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #1e3a8a;
    border-radius: 50%;
}

/* کانتینر اصلی */
.nowrap.stars {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 0;
}

/* بخش تعداد نظرات */
.nowrap.stars .strong {
    font-weight: 700;
    color: #7c5b1a; /* طلایی سکه‌ای */
    font-size: 0.95rem;
}

/* ستاره‌ها */
.nowrap.stars img {
    width: 18px !important;
    height: 18px;
    display: inline-block;
    margin-left: 2px;
}

/* جهت‌دهی */
.nowrap.stars {
    direction: ltr !important;
}

.nowrap.stars .strong {
    direction: rtl !important;
}

/* افکت hover */
.nowrap.stars:hover {
    opacity: 0.85;
    transition: 0.2s ease;
}


/* کانتینر اصلی */
.stats-digest {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    font-family: "IRANSans", tahoma;
}

/* ردیف آمار */
.stats-digest .signal {
    display: flex;
    gap: 22px;
}

/* هر آیتم */
.stats-digest .answer-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fafafa;
    padding: 14px 18px;
    border-radius: 12px;
    min-width: 90px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* عدد */
.stats-digest .answer-count .num span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
}

/* عنوان */
.stats-digest .answer-count .cap {
    margin-top: 4px;
    font-size: 0.9rem;
    color: #7c5b1a; /* طلایی سکه‌ای */
    font-weight: 600;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .stats-digest .signal {
        flex-direction: row;
        gap: 12px;
    }

    .stats-digest .answer-count {
        min-width: auto;
        width: 100%;
    }
}

/* کانتینر اصلی فرم */
#discussion_search_form {
    background: #fafafa;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin: 20px 0;
    font-family: "IRANSans", tahoma;
}

/* گروه‌ها */
#discussion_search_form .control-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ردیف سلکت‌ها */
#discussion_search_form .controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* سلکت‌ها */
#discussion_search_form select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
}

#discussion_search_form select:focus {
    border-color: #d6b56d; /* طلایی سکه‌ای */
    outline: none;
}

/* فیلد جستجو */
#discussion_search_form input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    color: #374151;
}

#discussion_search_form input[type="text"]:focus {
    border-color: #d6b56d;
    outline: none;
}

@media (min-width: 992px) {
    #discussion_search_form .control-group {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    /* ردیف سلکت‌ها افقی */
    #discussion_search_form .controls:first-child {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
    }

    #discussion_search_form select {
        width: auto;
        min-width: 140px;
    }

    /* فیلد جستجو کنار سلکت‌ها */
    #discussion_search_form .controls:nth-child(2) {
        flex: 1;
    }

    #discussion_search_form input[type="text"] {
        width: 100%;
    }

    /* دکمه جستجو در سمت چپ */
    #discussion_search_form .buttons-container {
        margin-left: 12px;
    }
}

/* نسخه موبایل */
@media (max-width: 768px) {
    #discussion_search_form .controls {
        flex-direction: column;
    }

    #discussion_search_form select {
        width: 100%;
    }
}

/* کانتینر اصلی */
#question_sorting {
    margin: 20px 0;
}

/* ردیف لینک‌ها */
.question-sorting {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* لینک‌ها */
.question-sorting a {
    padding: 8px 14px;
    background: #f3f4f6;
    border-radius: 8px;
    color: #374151;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.2s;
    border: 1px solid #e5e7eb;
}

/* hover */
.question-sorting a:hover {
    background: #e5e7eb;
}

/* آیتم فعال */
.question-sorting a.active {
    background: #d6b56d; /* طلایی سکه‌ای */
    color: #fff;
    border-color: #d6b56d;
    font-weight: 600;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .question-sorting {
        gap: 8px;
    }

    .question-sorting a {
        padding: 7px 12px;
        font-size: 0.85rem;
    }
}

/* عنوان بخش */
#sorting_list .subheader {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111827;
}

/* کانتینر اصلی هر پرسش */
.question-digest {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

.question-digest:hover {
    background: #faf7ef;
}

/* --- سه گزینه رأی / پاسخ / نمایش --- */
.question-digest .signal {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

/* هر آیتم آمار */
.question-digest .signal > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #eeeae3;
    padding: 14px 18px;
    border-radius: 12px;
    min-width: 70px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.09);
}

/* عدد */
.question-digest .num span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

/* عنوان آمار */
.question-digest .cap {
    font-size: 0.75rem;
    color: #7c5b1a;
    line-height: 1;
}

/* تصویر */
.question-digest .image img {
    align-items: center;
    display: flex;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}

/* خلاصه */
.question-digest .summary {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* آیکون دایره‌ای */
.question-digest .summary .by .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #7c5b1a;
    font-weight: 700;
    margin-left: 5px;
}

.question-digest .summary .by .reputation {
    font-weight: bold;
}

/* عنوان پرسش */
.question-digest .title a {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
}

.question-digest .title a:hover {
    color: #7c5b1a;
}

/* اطلاعات کاربر */
.question-digest .by {
    font-size: 0.85rem;
    color: #4b5563;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .question-digest {
        flex-direction: column;
        gap: 10px;
    }

    /* سه گزینه برن بالا */
    .question-digest .signal {
        justify-content: space-between;
        padding-bottom: 6px;
        border-bottom: 1px solid #f0f0f0;
    }
    .question-digest .image {
    	display: flex;
    	justify-content: center;
    }
}


/* کانتینر اصلی پرسش */
.question.qanda {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

/* ردیف بالایی: رأی + اطلاعات کاربر */
.question.qanda .flexbox {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

/* کانتینر رأی‌دهی */
.question.qanda .post-vote, section.answer .post-vote {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 12px;
    border-radius: 10px;
    width: 60px; /* جمع‌وجور و استاندارد */
}

.question.qanda .post-vote a, section.answer .post-vote a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 10px 0;
}

.question.qanda .post-vote a.voted i, section.answer .post-vote a.voted i {
    color: #999;
}

/* آیکون‌ها */
.question.qanda .post-vote i, section.answer .post-vote i {
    display: block;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

/* عدد رأی */
.question.qanda .post-vote .count, section.answer .post-vote .count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.6;
    margin: 10px 0;
}

/* اطلاعات کاربر */
.question.qanda .flexbox .post-date {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px 0;
}

.question.qanda .flexbox .post-date .icon {
    background: #d6b56d;
    color: #fff;
    padding: 4px 8px;
    border-radius: 50%;
    font-weight: 700;
    margin-left: 6px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.question.qanda .flexbox .post-date .reputation {
    font-weight: 600;
    color: #374151;
}

.question.qanda .flexbox .post-time {
    font-size: 0.85rem;
    color: #4b5563;
}

/* اشتراک‌گذاری */
.question.qanda .flexbox .share-click {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.question.qanda .flexbox .share-click i {
    font-size: 18px;
    color: #7c5b1a;
}

/* گالری تصاویر */
.question.qanda .products-gallery {
    margin: 20px 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

.question.qanda .products-gallery img {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    width: 120px;
    height: auto;
}

/* عنوان پرسش */
.question.qanda .post-title b {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    display: block;
    margin-bottom: 10px;
}

/* متن پرسش */
.question.qanda .post-message {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #374151;
    background: #fafafa;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

/* فرم کامنت */
.question.qanda .post-comment {
    margin-top: 20px;
}

.question.qanda .input-comment {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.75rem;
    font-family: inherit;
}

.question.qanda .post-comment .button-submit input {
    background: #d6b56d;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: 0.2s;
    margin-top: 5px;
}

.question.qanda .button-submit input:hover {
    background: #c4a25f;
}

.nav-prev-next {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-direction: row-reverse;
}
/* قبلی / بعدی */
.question.qanda .go-prev, .question.qanda .go-next {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #374151;
}

.question.qanda .go-prev:hover, .question.qanda .go-next:hover {
    background: #e5e7eb;
}

.question.qanda .go-prev i, .question.qanda .go-next i {
    color: #7c5b1a;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .question.qanda .flexbox {
        flex-direction: column;
        gap: 14px;
    }

    .question.qanda .products-gallery {
        justify-content: center;
    }
}

/* بخش کلی پاسخ‌ها */
section.answer {
    margin-top: 20px;
    padding: 0;
}

/* شمارنده پاسخ‌ها */
.answer-count {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 6px;
}

.answer-count strong {
    font-size: 1rem;
}

/* کارت هر پاسخ */
.answers {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.posts.answer {
    width: 100%;
    min-height: 182px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* بخش رأی‌دهی */
.post-vote {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.post-vote i {
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s ease;
}

.post-vote i:hover {
    color: #2563eb;
}

.post-vote .count {
    font-size: 0.9rem;
    color: #374151;
}

/* بخش نویسنده + زمان */
.posts.answer .post-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

/* آیکون نویسنده */
.posts.answer .post-date .icon {
    background: #2563eb;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-left: 8px;
}

/* نام نویسنده */
.posts.answer .reputation {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
}

/* زمان */
.posts.answer .inline-block.left {
    font-size: 0.85rem;
    color: #6b7280;
}

/* متن پاسخ */
.post-message {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #374151;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .answers {
        padding: 14px;
        border-radius: 12px;
    }

    .posts.answer .post-date {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .post-message {
        font-size: 0.9rem;
    }
}



/* کانتینر اصلی */
#ia--content-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 16px;
    margin: 18px 0;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    direction: rtl;
}

/* هر کارت محصول */
#ia--content-box a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f9fafb;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    color: #111827;
}

/* حالت hover کارت */
#ia--content-box a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

/* تصویر محصول */
#ia--content-box img {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* کد محصول */
#ia--content-box code {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
}

/* عنوان محصول */
#ia--content-box span {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 8px;
    min-height: 48px;
}

/* قیمت */
#ia--content-box b {
    font-size: 0.95rem;
    font-weight: 700;
    color: #16a34a;
    margin-top: auto;
}

/* لینک "نتایج بیشتر" */
#ia--content-box a.more {
    background: #2563eb;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
}

#ia--content-box a.more:hover {
    background: #1d4ed8;
}

/* متن داخل نتایج بیشتر */
#ia--content-box .more-result {
    font-size: 0.9rem;
}

/* آیکون فلش */
#ia--content-box a.more .bc-arrow {
    color: #ffffff;
    font-size: 0.85rem;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    #ia--content-box {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        padding: 12px;
        gap: 12px;
    }

    #ia--content-box a {
        padding: 12px;
    }

    #ia--content-box img {
        width: 130px;
        height: 130px;
    }
}

/* کانتینر اصلی */
#antik--content-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    direction: rtl;
}

/* کارت‌های آنتیک */
#antik--content-box a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fafafa;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    color: #111827;
}

/* حالت hover */
#antik--content-box a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

/* تصویر آنتیک */
#antik--content-box img {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
    background: #ffffff;
}

/* عنوان */
#antik--content-box span {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 8px;
    min-height: 48px;
}

/* قیمت توافقی */
#antik--content-box b {
    font-size: 0.95rem;
    font-weight: 700;
    color: #b45309; /* قهوه‌ای کلاسیک مناسب آنتیک */
    margin-top: auto;
}

/* لینک نتایج بیشتر */
#antik--content-box a.more {
    background: #2563eb;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
}

#antik--content-box a.more:hover {
    background: #1d4ed8;
}

/* متن نتایج بیشتر */
#antik--content-box .more-result {
    font-size: 0.9rem;
}

/* آیکون فلش */
#antik--content-box a.more .bc-arrow {
    color: #ffffff;
    font-size: 0.85rem;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    #antik--content-box {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        padding: 12px;
        gap: 12px;
    }

    #antik--content-box a {
        padding: 12px;
    }

    #antik--content-box img {
        width: 130px;
        height: 130px;
    }
}

.antik-ads {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff !important;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.15s ease;
    margin-bottom: 15px;
}

.antik-ads:hover {
    background: #1d4ed8;
}



/* ریسپانسیو عمومی برای متن و فاصله‌ها */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .mainbox-container {
        margin: 8px 0;
        padding: 8px 0;
    }

    .mainbox-body {
        padding: 10px 12px 14px;
    }

    .product-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}


#button_up {font: 300 140% 'iransans';text-align: center;text-shadow: 1px 1px 1px rgba(190, 190, 190, 1);color: white;bottom: 30px;right: 30px;width: 30px;height: 30px;position: fixed;border-radius: 50px;border: 1px solid black;background: gray;opacity: 0.55;padding: 3px;display: none;transition: all 150ms ease-in-out 150ms;}
#button_up:hover {border: 1px solid #555;background-color: #e39714 !important;cursor: pointer;opacity: 1;text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);}

