/*
Theme Name: Rad Pajouhan Mandegar
Theme URI: https://rpm-co.ir
Author: Hesam | Rad Pajouhan Web Team
Author URI: https://rpm-co.ir
Description: قالب اختصاصی شرکت راد پژوهان ماندگار - راهکارهای تخصصی مخابرات، انرژی و تجهیزات ICT. طراحی RTL با هویت طلایی/مشکی/سرمه‌ای، پشتیبانی از CMB2 و Fluent Forms.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rpm
Tags: rtl, custom-menu, featured-images, translation-ready
*/
/* ==========================================================
   RAD PAJOHAN MANDAGAR (RPM) - MAIN STYLESHEET
   Palette: Black / Gold / White / Dark Red
   ========================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
    --color-black: #0a0a0a;
    --color-dark: #1a1a1a;
    --color-dark-2: #2a2a2a;
    --color-gold: #d4a017;
    --color-gold-light: #f0c040;
    --color-white: #ffffff;
    --color-gray: #f5f5f5;
    --color-gray-2: #e0e0e0;
    --color-text: #333333;
    --color-text-light: #777777;
    --color-red-dark: #6e1414;
    --font-main: 'Vazirmatn', Tahoma, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ---------- RESET & BASE ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

 

html, body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.7;
    background: var(--color-white);
    overflow-x: hidden;          /* ✅ فقط همین — نه 100vw، نه scrollbar-gutter */
    scroll-behavior: smooth;
}

body {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* نوار بالا: هرگز بیرون نزن، جا بشو */
.top-bar .row { flex-wrap: wrap; }
.top-info,
.top-social {
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
}
.top-social li { flex: 0 0 auto; }
/* ۱) بنر CTA: شکل‌های تزئینی داخل خودش حبس بشن */
.brand-banner {
    overflow: hidden;
    position: relative;
}
.banner-shape { pointer-events: none; }

/* ۲) بنر عنوان صفحه هم همین‌طور */
.page-hero {
    overflow: hidden;
    position: relative;
}

/* ۳) جدول مشخصات سینگل: اسکرول داخلی به‌جای شکستن صفحه */
.sp-specs-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ۴) تایم‌لاین و نوار آمار: بیرون نزنن */
.timeline-section,
.stats-band {
    overflow-x: clip;
}

/* ۵) تصاویر و iframe ها هرگز بیرون نزنن */
img, iframe, svg, video {
    max-width: 100%;
    height: auto;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-main); }

/* ---------- TYPOGRAPHY ---------- */
.text-gold { color: var(--color-gold); }

.section-subtitle {
    display: inline-block;
    color: var(--color-gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 8px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--color-gold);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 15px;
    line-height: 1.4;
}

.section-desc {
    color: var(--color-text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.section-header { margin-bottom: 60px; }

/* ---------- TOP BAR ---------- */
.top-bar {
    background: var(--color-black);
    color: var(--color-white);
    padding: 10px 0;
    font-size: 13px;
}

.top-info { display: flex; gap: 25px; }
.top-info li { display: flex; align-items: center; gap: 8px; }
.top-info i { color: var(--color-gold); }

.top-social { display: flex; gap: 10px; justify-content: flex-end; }
.top-social a {
    color: var(--color-white);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}
.top-social a:hover {
    background: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-2px);
}

/* ---------- HEADER ---------- */
.main-header {
    background: var(--color-white);
    padding: 18px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}


.header-search { position: relative; max-width: 500px; margin-right: auto; }
.header-search input {
    width: 100%;
    padding: 12px 22px 12px 55px;
    border: 2px solid var(--color-gray-2);
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 14px;
    transition: var(--transition);
    background: var(--color-white);
}
.header-search input:focus { outline: none; border-color: var(--color-gold); }
.header-search button {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-gold);
    color: var(--color-black);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.header-search button:hover { background: var(--color-black); color: var(--color-gold); }

.btn-cta {
    align-items: center;
    gap: 8px;
    background: var(--color-gold);
    color: var(--color-black);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
}
.btn-cta:hover { background: var(--color-black); color: var(--color-gold); transform: translateY(-2px); }

/* Hamburger */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
}
.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-black);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- NAVIGATION (3 LEVELS - FIXED) ---------- */
.main-nav {
    background: var(--color-dark);
    position: relative;
    z-index: 90;
}

.nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
}

/* همه li ها relative تا submenu درست позиسیون بشه */
.nav-list li { position: relative; }

.nav-list > li > a {
    display: block;
    padding: 18px 20px;
    color: var(--color-white);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--color-gold);
    transition: var(--transition);
}

.nav-list > li:hover > a::after,
.nav-list > li > a.active::after { width: 100%; }
.nav-list > li > a.active { color: var(--color-gold); }

.submenu-arrow { font-size: 11px; margin-right: 4px; transition: var(--transition); }
.nav-list li:hover > a .submenu-arrow { transform: rotate(180deg); }

/* ---------- SUBMENU (LEVEL 2 & 3) ---------- */
.submenu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-white);
    min-width: 220px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 1000;
}

/* سطح ۳: سمت چپِ سطح ۲ باز میشه */
.submenu .submenu {
    top: -3px;
    right: 100%;
    border-top: none;
    border-right: 3px solid var(--color-gold);
    transform: translateX(-15px);
}

/* 🔥 فیکس اصلی: قانون hover برای همه سطوح */
.nav-list li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}

.submenu li { border-bottom: 1px solid var(--color-gray); }
.submenu li:last-child { border-bottom: none; }

.submenu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--color-text);
    font-size: 14px;
}
.submenu li a:hover {
    background: var(--color-gray);
    color: var(--color-gold);
    padding-right: 26px;
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: var(--color-white);
    z-index: 1050;
    overflow-y: auto;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}
.mobile-menu.active { right: 0; }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-gray);
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 5;
}
.mobile-logo { max-height: 40px; width: auto; }
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--color-black);
    padding: 5px;
}

.mobile-nav-list > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: var(--color-text);
    font-weight: 500;
    border-bottom: 1px solid var(--color-gray);
}
.mobile-nav-list > li > a:hover { background: var(--color-gray); color: var(--color-gold); }
.mobile-nav-list > li > a i { transition: var(--transition); font-size: 14px; }
.mobile-nav-list > li > a i.rotated { transform: rotate(180deg); }

.mobile-submenu {
    display: none;
    background: var(--color-gray);
}
.mobile-submenu.active { display: block; }
.mobile-submenu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 35px 12px 20px;
    color: var(--color-text);
    font-size: 14px;
    border-bottom: 1px solid var(--color-gray-2);
}
/* سطح ۳ موبایل: تورفتگی بیشتر */
.mobile-submenu .mobile-submenu li a { padding-right: 50px; background: var(--color-white); }

/* ---------- HERO SLIDER (IMG BASED - FIXED) ---------- */
.hero-slider {
    position: relative;
    background: var(--color-dark);
}

.hero-slide {
    position: relative;
    height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* عکس پس‌زمینه با تگ img - همیشه لود میشه */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.88) 0%, rgba(26, 26, 26, 0.65) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--color-white);
    max-width: 700px;
    padding: 60px 0;
}

.hero-tag {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-black);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.9;
}

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.btn-hero-primary {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-black);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
}
.btn-hero-primary:hover {
    background: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 160, 23, 0.4);
}

.btn-hero-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--color-white);
}
.btn-hero-secondary:hover { background: var(--color-white); color: var(--color-black); transform: translateY(-3px); }

/* ناوبری یونیک اسلایدر */
/* ناوبری یونیک اسلایدر - بالاتر از نوار ویژگی‌ها */
.hero-nav {
    position: absolute;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 30;
}

.hero-prev,
.hero-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}
.hero-prev:hover,
.hero-next:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-black);
    transform: scale(1.1);
}

/* دات‌های مستطیلی یونیک */
.hero-dots { display: flex; gap: 8px; }
.hero-dots .owl-dot {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.hero-dots .owl-dot::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: var(--color-gold);
    transition: width 0.4s ease;
}
.hero-dots .owl-dot.active { width: 55px; background: rgba(255, 255, 255, 0.2); }
.hero-dots .owl-dot.active::after { width: 100%; }

/* ---------- FEATURES STRIP (COUNTERS) ---------- */
.features-strip {
    background: var(--color-dark);
    padding: 30px 0;
    margin-top: -60px;
    position: relative;
    z-index: 20;
    border-radius: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    color: var(--color-white);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.feature-item:last-child { border-left: none; }

.feature-icon { font-size: 36px; color: var(--color-gold); }

.feature-item h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--color-gold);
}
.feature-item p { font-size: 13px; opacity: 0.8; margin: 0; }

/* ---------- ABOUT ---------- */
.about-section { padding: 110px 0 100px; background: var(--color-white); }

.about-image-wrapper { position: relative; }
.about-main-img { border-radius: 12px; box-shadow: var(--shadow); height: 420px; object-fit: cover; width: 100%; }

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    left: 30px;
    background: var(--color-gold);
    color: var(--color-black);
    padding: 22px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}
.exp-number { display: block; font-size: 46px; font-weight: 800; line-height: 1; }
.exp-text { font-size: 14px; font-weight: 700; }

.about-text { color: var(--color-text-light); margin-bottom: 25px; font-size: 16px; }

.about-list { margin-bottom: 30px; }
.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    color: var(--color-text);
    font-weight: 500;
}
.about-list i { color: var(--color-gold); font-size: 20px; }

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-black);
    color: var(--color-white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
}
.btn-primary-custom:hover {
    background: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}


/* ==========================================================
🗂️ بخش دسته‌بندی‌ها — جایگزین بخش خدمات (سبک RPM)
========================================================== */
.rpm-cats-section {
    padding: 100px 0;
    background: var(--color-gray);
}
.rpm-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.rpm-cat-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}
/* نوار طلایی امضای راد موقع هاور */
.rpm-cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
    z-index: 2;
}
.rpm-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.rpm-cat-card:hover::before { transform: scaleX(1); }
.rpm-cat-media {
    position: relative;
    height: 170px;
    overflow: hidden;
    background: var(--color-dark);
}
.rpm-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.rpm-cat-card:hover .rpm-cat-media img { transform: scale(1.08); }
/* fallback وقتی عکس نیست */
.rpm-cat-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-black);
    font-size: 44px;
}
/* بج شمارنده محصول */
.rpm-cat-count {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10, 10, 10, 0.75);
    color: var(--color-gold-light);
    backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.rpm-cat-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.rpm-cat-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--color-black);
    margin: 0;
}
.rpm-cat-link {
    margin-top: auto;
    color: var(--color-text-light);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.rpm-cat-card:hover .rpm-cat-link {
    color: var(--color-gold);
    gap: 12px;
}
.rpm-cats-all {
    text-align: center;
    margin-top: 44px;
}
/* ---------- ریسپانسیو ---------- */
@media (max-width: 1199px) {
    .rpm-cats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .rpm-cats-grid { grid-template-columns: repeat(2, 1fr); }
    .rpm-cats-section { padding: 80px 0; }
}
@media (max-width: 575px) {
    .rpm-cats-grid { gap: 14px; }
    .rpm-cat-media { height: 130px; }
    .rpm-cat-body { padding: 14px 14px 16px; }
    .rpm-cat-title { font-size: 14px; }
    .rpm-cat-link { font-size: 11px; }
}
/* ==========================================================
🎯 گرید دسته‌بندی‌ها: ۳ تا ۳ تا (جایگزین چیدمان ۴تایی)
========================================================== */
@media (min-width: 992px) {
    .rpm-cats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    /* کارت‌ها عریض‌تر شدن → تصویر کمی بلندتر تا تناسب حفظ بشه */
    .rpm-cat-media { height: 200px; }
}
/* فاصله تمیز بین عنوان و قسمت طلایی در همه سکشن‌ها */
.section-title .text-gold {
    margin-right: 10px;
}
/* ---------- PRODUCTS ---------- */
.products-section { padding: 100px 0; background: var(--color-white); }

.product-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.product-image { position: relative; overflow: hidden; height: 220px; background: var(--color-gray); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.1); }

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }

.btn-view-product {
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: scale(0);
    transition: var(--transition);
}
.product-card:hover .btn-view-product { transform: scale(1); }

.product-info { padding: 25px; flex: 1; display: flex; flex-direction: column; }

.product-category {
    display: inline-block;
    background: var(--color-gray);
    color: var(--color-text-light);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    margin-bottom: 12px;
    width: fit-content;
}

.product-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--color-black); flex: 1; }

.btn-inquiry {
    display: block;
    text-align: center;
    background: var(--color-black);
    color: var(--color-white);
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}
.btn-inquiry:hover { background: var(--color-gold); color: var(--color-black); }

/* ---------- BRAND BANNER (NEW - REPLACED CATALOG CTA) ---------- */
.brand-banner {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark) 60%, var(--color-red-dark) 130%);
    overflow: hidden;
}

/* شکل‌های تزئینی مورب */
.banner-shape {
    position: absolute;
    background: repeating-linear-gradient(
        45deg,
        rgba(212, 160, 23, 0.08) 0px,
        rgba(212, 160, 23, 0.08) 2px,
        transparent 2px,
        transparent 14px
    );
    border-radius: 20px;
}
.banner-shape-1 { width: 350px; height: 350px; top: -120px; left: -80px; transform: rotate(15deg); }
.banner-shape-2 { width: 250px; height: 250px; bottom: -100px; right: -60px; transform: rotate(-10deg); }

.banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.banner-tag {
    display: inline-block;
    color: var(--color-gold);
    border: 1px solid rgba(212, 160, 23, 0.5);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.banner-title {
    color: var(--color-white);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 15px;
}
.banner-title span { color: var(--color-gold); }

.banner-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    max-width: 560px;
    margin-bottom: 30px;
}

.banner-actions { display: flex; gap: 15px; flex-wrap: wrap; }

.btn-banner-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-gold);
    color: var(--color-black);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
}
.btn-banner-primary:hover { background: var(--color-white); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(212, 160, 23, 0.35); }

.btn-banner-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--color-white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.35);
}
.btn-banner-secondary:hover { border-color: var(--color-gold); color: var(--color-gold); transform: translateY(-3px); }

/* خط پالس انیمیشنی (الهام از لوگو) */
.banner-visual {
    position: relative;
    flex: 0 0 320px;
    max-width: 320px;
}
.banner-pulse { width: 100%; height: 120px; color: var(--color-gold); }
.banner-pulse polyline {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: pulseDraw 4s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(212, 160, 23, 0.6));
}
@keyframes pulseDraw {
    0%   { stroke-dashoffset: 1200; }
    60%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}

.banner-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--color-gold);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 0 0 10px rgba(212, 160, 23, 0.15), 0 0 40px rgba(212, 160, 23, 0.4);
    animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 10px rgba(212, 160, 23, 0.15), 0 0 40px rgba(212, 160, 23, 0.4); }
    50%      { box-shadow: 0 0 0 18px rgba(212, 160, 23, 0.08), 0 0 60px rgba(212, 160, 23, 0.55); }
}
/* ---------- PARTNERS ---------- */
.partners-section { padding: 80px 0; background: var(--color-white); }

.partner-item {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray);
    border-radius: 12px;
    margin: 5px;
    transition: var(--transition);
}
.partner-item:hover { background: var(--color-white); box-shadow: var(--shadow); transform: translateY(-5px); }

.partner-item span {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-text-light);
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}
.partner-item:hover span { filter: none; opacity: 1; color: var(--color-gold); }

/* ---------- BLOG ---------- */
.blog-section { padding: 0 0 100px 0; background: var(--color-gray); }

.blog-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.blog-image { position: relative; overflow: hidden; height: 220px; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.1); }

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-gold);
    color: var(--color-black);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.blog-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.blog-category { color: var(--color-gold); font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.blog-title { font-size: 17px; font-weight: 700; color: var(--color-black); margin-bottom: 15px; line-height: 1.6; flex: 1; }

.blog-link {
    color: var(--color-black);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.blog-link:hover { color: var(--color-gold); gap: 10px; }

/* ---------- CONTACT ---------- */
.contact-section { padding: 100px 0; background: var(--color-white); }

.contact-box { background: var(--color-gray); padding: 60px; border-radius: 16px; }

.contact-desc { color: var(--color-text-light); margin-bottom: 25px; }

.contact-info-list { margin-top: 25px; }
.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    color: var(--color-text);
    font-size: 15px;
    border-bottom: 1px solid var(--color-gray-2);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list i {
    flex: 0 0 40px;
    height: 40px;
    background: var(--color-gold);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.form-control-custom {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--color-gray-2);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 14px;
    background: var(--color-white);
    transition: var(--transition);
}
.form-control-custom:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.12);
}

.btn-submit {
    width: 100%;
    background: var(--color-black);
    color: var(--color-white);
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-submit:hover { background: var(--color-gold); color: var(--color-black); transform: translateY(-2px); }

/* ---------- FOOTER ---------- */
.main-footer { background: var(--color-black); color: var(--color-white); }
.footer-top { padding: 40px 0 40px; }

.footer-logo {     max-height: 97px; width: auto; }
.footer-desc { color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.9; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--color-gold); color: var(--color-black); transform: translateY(-3px); }

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--color-gold);
}

.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
}
.footer-links a:hover { color: var(--color-gold); padding-right: 5px; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}
.footer-contact i { color: var(--color-gold); font-size: 18px; margin-top: 3px; }

.footer-bottom { background: var(--color-dark); padding: 20px 0; text-align: center; }
.copyright { color: rgba(255, 255, 255, 0.6); font-size: 13px; margin: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .mobile-menu-toggle { display: inline-block; }
    .main-nav { display: none; }
    .footer-top { padding: 0; }

    .hero-slide { height: 520px; }
    .hero-title { font-size: 36px; }
    .section-title { font-size: 28px; }

    .features-strip { margin-top: 0; border-radius: 0; max-width: none; }
    .feature-item { border-left: none; justify-content: center; text-align: center; }

    .about-experience-badge { left: 15px; bottom: -20px; padding: 18px 25px; }
    .exp-number { font-size: 34px; }

    .contact-box { padding: 30px; }

    .banner-visual { display: none; }
}

@media (max-width: 767px) {
    .top-info { flex-direction: column; gap: 6px; }
    .top-social { justify-content: flex-start; margin-top: 8px; }

    .hero-slide { height: 480px; }
    .hero-title { font-size: 28px; }
    .hero-desc { font-size: 15px; }
    .hero-buttons { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { text-align: center; }

    .banner-title { font-size: 24px; }
    .contact-box { padding: 25px 18px; }
}
/* ==========================================================
   FIX - منوی اصلی (۱۴۰۳/۰۶/۱۵)
   ========================================================== */

/* ---------- 1) حذف فوکوس دائمی صفحه اصلی ---------- */
/* حالا فقط روی hover خط طلایی ظاهر می‌شه */
.nav-list > li > a.active {
    color: var(--color-white);
}

.nav-list > li > a.active::after {
    width: 0;
}

/* ---------- 2) فیکس چرخش فلش زیرمنو (دسکتاپ) ---------- */
/* ترفند: transform روی inline کار نمی‌کنه → inline-block */
.submenu-arrow {
    display: inline-block;
}

.nav-list li:hover > a .submenu-arrow {
    transform: rotate(180deg);
}

/* ---------- 3) فیکس چرخش فلش منوی موبایل ---------- */
.mobile-nav-list li a i {
    display: inline-block;
}
/* ==========================================================
   FIX 3 - فلش سطح ۳ + ریسپانسیو موبایل
   ========================================================== */

/* ---------- 1) چرخش فلش در همه سطوح موبایل ---------- */
/* بدون > یعنی همه اعماق رو شامل می‌شه */
.mobile-nav-list li a i {
    display: inline-block;
    transition: var(--transition);
}

.mobile-nav-list li a i.rotated {
    transform: rotate(180deg);
}

/* تورفتگی بیشتر برای سطح ۳ (تمیزی بصری) */
.mobile-submenu .mobile-submenu li a {
    padding-right: 55px;
    background: var(--color-white);
}

/* ---------- 2) نوار بالا: یک ردیف جمع‌وجور ---------- */
@media (max-width: 767px) {
    .top-bar { padding: 8px 0; }

    .top-bar .row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .top-bar .row > div {
        width: auto;
        flex: 0 0 auto;
    }

    .top-info {
        flex-direction: row;
        gap: 14px;
        font-size: 12px;
    }

    .top-social {
        justify-content: flex-end;
        margin-top: 0;
        gap: 8px;
    }

    .top-social a {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
}

/* صفحه خیلی کوچیک → ایمیل مخفی بشه تا جا نشه */
@media (max-width: 575px) {
    .top-info li:nth-child(2) { display: none; }
}

/* ---------- 3) هدر موبایل: همبرگری گوشه چپ ---------- */
@media (max-width: 991px) {
    .main-header .col-6.col-md-4 {
        display: flex;
        align-items: center;
        justify-content: flex-end; /* توی RTL یعنی گوشه چپ */
    }

    .mobile-menu-toggle { margin-right: 0; }
}

/* ---------- 4) جلوگیری از تداخل دکمه‌های هیرو و ناوبری ---------- */
@media (max-width: 767px) {
    .hero-content { padding: 40px 0 100px; }
    .hero-nav { bottom: 18px; }
    .hero-prev, .hero-next { width: 42px; height: 42px; font-size: 16px; }
}
/* ==========================================================
   FIX 4 - دکمه‌های هیرو در موبایل: کوچک و جمع‌وجور
   ========================================================== */
@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: row;      /* کنار هم به‌جای زیر هم */
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 11px 24px;       /* به‌جای 15px 35px */
        font-size: 14px;          /* به‌جای وزن غول‌پیکر */
        border-width: 1.5px;
    }
}
/* ==========================================================
   FIX 5 - تنفس متن هیرو در موبایل (عینک لازم نیست! 😎)
   ========================================================== */
@media (max-width: 767px) {
    .hero-slide .container {
        padding-right: 22px;
        padding-left: 22px;
    }

    .hero-title {
        font-size: 26px;      /* کمی جمع‌وجورتر */
    }

    .hero-desc {
        font-size: 14px;
    }
}

/* دکمه درخواست مشاوره → گوشه چپ کانتینر */
.main-header .col-6.col-md-4 {
    display: flex;
    align-items: center;
    justify-content: flex-end;   /* توی RTL یعنی گوشه چپ */
}
/* ==========================================================
   FIX 7 - افکت پالس بنر در موبایل (زنده و وسط‌چین)
   ========================================================== */
@media (max-width: 991px) {
    .banner-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* افکت دیگه مخفی نمی‌شه — میاد زیر متن */
    .banner-visual {
        display: block;
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 40px auto 0;
    }

    .banner-desc {
        margin-right: auto;
        margin-left: auto;
    }

    .banner-actions {
        justify-content: center;
    }
}

/* موبایل کوچیک: کمی جمع‌وجورتر */
@media (max-width: 575px) {
    .banner-visual { max-width: 240px; }
    .banner-badge { width: 56px; height: 56px; font-size: 24px; }
    .banner-title { font-size: 22px; }
}
/* ---------- لوگوی برندها به‌جای متن ---------- */
.partner-item img {
    max-height: 70px;          /* لوگوها هم‌اندازه و یکدست */
    max-width: 85%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);   /* سیاه‌وسفیدِ شیک */
    opacity: 0.6;
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0);      /* روی هاور: رنگی و شفاف */
    opacity: 1;
}
/* ==========================================================
   FIX 8 - لوگو بزرگ، هدر قفل (ارتفاع ثابت)
   ========================================================== */

/* پدینگ حذف → ارتفاع کاملاً قفل */
.main-header {
    padding: 0;
}

.main-header .container {
    height: 95px;              /* ارتفاع ثابت سفیدِ هدر */
}

.main-header .row {
    height: 100%;
    align-items: center;       /* همه چی عمودی وسط‌چین */
}


/* ==========================================================
   SCROLL TO TOP - دکمه بازگشت به بالا
   ========================================================== */
.scroll-top {
    position: fixed;
    bottom: 25px;
    left: 25px;               /* توی RTL گوشه چپ پایین */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-black);
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--color-black);
    color: var(--color-gold);
    transform: translateY(-4px);
}
/* ==========================================================
   FIX 9 - هدر سفید: فیکس نیست، بالای صفحه می‌مونه
   ========================================================== */
.main-header {
    position: static;   /* دیگه sticky نیست */
    top: auto;
    z-index: auto;
}
/* ==========================================================
   FIX 10 - هدر: موبایل فیکس | دسکتاپ شناور
   ========================================================== */

/* دسکتاپ: هدر با اسکرول می‌ره بالا (فیکس نیست) */
@media (min-width: 992px) {
    .main-header {
        position: static;
        top: auto;
        z-index: auto;
    }
}

/* موبایل و تبلت: هدر بالای صفحه می‌چسبه */
@media (max-width: 991px) {
    .main-header {
        position: sticky;
        top: 0;
        z-index: 990;
    }
}
/* ==========================================================
   PRODUCTS SLIDER - ناوبری اسلایدر محصولات
   ========================================================== */
.products-carousel {
    padding: 10px 5px 15px;
}

.products-section .owl-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.products-section .owl-nav button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--color-gold) !important;
    background: transparent !important;
    color: var(--color-gold) !important;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.products-section .owl-nav button:hover {
    background: var(--color-gold) !important;
    color: var(--color-black) !important;
}


/* ==========================================================
   PAGE HERO - بنر عنوان صفحات داخلی
   چرا: ساده، یک‌پارچه با هویت بصری، بدون پیچیدگی اضافی
   ========================================================== */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, #101f4c 0%, #0a1538 100%);
    padding: 80px 0 70px;
    overflow: hidden;
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.page-hero .breadcrumb {
    margin: 0;
    justify-content: center;
}

.page-hero .breadcrumb-item a {
    color: #d4a017;
    text-decoration: none;
    transition: var(--transition);
}

.page-hero .breadcrumb-item a:hover { color: #fff; }

.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.7); }

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    content: '\2039'; /* ‹ */
    color: rgba(255,255,255,0.5);
    padding-left: 0.75rem;
    padding-right: 0.5rem;
}

/* ==========================================================
   ARCHIVE PRODUCTS SECTION
   ========================================================== */
.archive-products-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

/* --- سایدبار --- */
.archive-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #101f4c;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title i { color: #d4a017; font-size: 1.1rem; }

/* سرچ سایدبار */
.sidebar-search {
    position: relative;
    display: flex;
}

.sidebar-search input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.sidebar-search input:focus { border-color: #d4a017; }

.sidebar-search button {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #d4a017;
    cursor: pointer;
    padding: 6px 10px;
}

/* آکاردئون دسته‌ها */
.accordion-flush .accordion-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    background: transparent;
}

.accordion-flush .accordion-item:last-child { border-bottom: none; }

.accordion-button {
    background: transparent !important;
    box-shadow: none !important;
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4a017'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) { color: #d4a017; }

.cat-name { flex: 1; }
.cat-count {
    background: #f0f0f0;
    color: #666;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 8px;
}

.accordion-button:not(.collapsed) .cat-count {
    background: #d4a017;
    color: #fff;
}

.accordion-body { padding: 8px 0 18px 20px; }

.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategory-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.subcategory-list li:last-child { border-bottom: none; }

.subcategory-list a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

.subcategory-list a:hover {
    color: #d4a017;
    padding-right: 6px;
}

.subcategory-list a span {
    color: #999;
    font-size: 12px;
}

/* فیلتر موجودی */
.filter-group { padding: 4px 0; }

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d4a017;
    cursor: pointer;
}

/* ویجت تماس سایدبار */
.sidebar-cta {
    background: linear-gradient(135deg, #101f4c 0%, #0a1538 100%);
    text-align: center;
    color: #fff;
    border: none;
}

/* فقط آیکون اصلی ویجت (فرزند مستقیم) */
.sidebar-cta > i {
    font-size: 2.5rem;
    color: #d4a017;
    margin-bottom: 12px;
}

/* آیکون تلفن داخل دکمه: سایز معمولی + رنگ ارثی */
.sidebar-cta-btn i {
    font-size: 16px;
    color: inherit;
    margin: 0;
}
/* فقط آیکون اصلی ویجت (فرزند مستقیم) */
.sidebar-cta > i {
    font-size: 2.5rem;
    color: #d4a017;
    margin-bottom: 12px;
}

/* آیکون تلفن داخل دکمه: سایز معمولی + رنگ ارثی */
.sidebar-cta-btn i {
    font-size: 16px;
    color: inherit;
    margin: 0;
}
/* فقط آیکون اصلی ویجت (فرزند مستقیم) */
.sidebar-cta > i {
    font-size: 2.5rem;
    color: #d4a017;
    margin-bottom: 12px;
}

/* آیکون تلفن داخل دکمه: سایز معمولی + رنگ ارثی */
.sidebar-cta-btn i {
    font-size: 16px;
    color: inherit;
    margin: 0;
}
/* فقط آیکون اصلی ویجت (فرزند مستقیم) */
.sidebar-cta > i {
    font-size: 2.5rem;
    color: #d4a017;
    margin-bottom: 12px;
}

/* آیکون تلفن داخل دکمه: سایز معمولی + رنگ ارثی */
.sidebar-cta-btn i {
    font-size: 16px;
    color: inherit;
    margin: 0;
}
/* فقط آیکون اصلی ویجت (فرزند مستقیم) */
.sidebar-cta > i {
    font-size: 2.5rem;
    color: #d4a017;
    margin-bottom: 12px;
}

/* آیکون تلفن داخل دکمه: سایز معمولی + رنگ ارثی */
.sidebar-cta-btn i {
    font-size: 16px;
    color: inherit;
    margin: 0;
}

.sidebar-cta h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.sidebar-cta p {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 18px;
    line-height: 1.7;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d4a017;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.sidebar-cta-btn:hover {
    background: #fff;
    color: #101f4c;
}

/* ==========================================================
   نوار کنترل (نتایج + مرتب‌سازی)
   ========================================================== */
.archive-toolbar {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.archive-result-count {
    color: #555;
    font-size: 14px;
}

.archive-result-count strong {
    color: #d4a017;
    font-size: 15px;
}

.archive-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-sort label {
    font-size: 14px;
    color: #555;
    margin: 0;
    white-space: nowrap;
}

.form-select-custom {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    min-width: 180px;
    outline: none;
    cursor: pointer;
}

.form-select-custom:focus { border-color: #d4a017; }

/* ==========================================================
   بج وضعیت موجودی
   ========================================================== */
.stock-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.stock-badge.out-of-stock {
    background: #ff4757;
    color: #fff;
}

/* ==========================================================
   صفحه‌بندی
   ========================================================== */
.archive-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.archive-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
}

.archive-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
}

.archive-pagination a:hover {
    border-color: #d4a017;
    color: #d4a017;
}

.archive-pagination a.active {
    background: #d4a017;
    color: #fff;
    border-color: #d4a017;
}

/* ==========================================================
   ریسپانسیو
   ========================================================== */
@media (max-width: 991px) {
    .page-hero { padding: 60px 0 50px; }
    .page-hero-title { font-size: 1.8rem; }

    .archive-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .archive-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .form-select-custom { width: 100%; min-width: auto; }
}


/* ==========================================================
   SINGLE PRODUCT - صفحه سینگل محصول
   ========================================================== */
.single-product-section {
    padding: 60px 0;
    background: #fff;
}

/* --- گالری --- */
.gallery-main {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #f8f9fa;
    display: block;
}

.gallery-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main:hover img {
    transform: scale(1.04);
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.gallery-thumbs img {
    width: 96px;
    height: 74px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: var(--transition);
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    border-color: #d4a017;
    opacity: 1;
}

/* --- خلاصه محصول --- */
.sp-category {
    display: inline-block;
    background: rgba(212, 160, 23, 0.12);
    color: #b8860b;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.sp-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.sp-desc {
    color: #666;
    line-height: 2;
    font-size: 15px;
    margin-bottom: 22px;
}

.sp-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.sp-features li {
    padding: 7px 0;
    color: #444;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-features li i {
    color: #d4a017;
    font-size: 17px;
}

/* کادر استعلام قیمت (فقط آیکون مستقیم خودش بزرگ!) */
.sp-inquiry-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 1px solid #e8c547;
    border-right: 5px solid #d4a017;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 24px;
}

.sp-inquiry-box > i {
    font-size: 24px;
    color: #d4a017;
    margin-top: 2px;
}

.sp-inquiry-box strong {
    display: block;
    color: #101f4c;
    font-size: 14.5px;
    margin-bottom: 4px;
}

.sp-inquiry-box span {
    color: #6b5900;
    font-size: 13.5px;
    line-height: 1.9;
}

.sp-inquiry-box a {
    color: #d4a017;
    font-weight: 700;
    text-decoration: none;
}

.sp-inquiry-box a:hover { text-decoration: underline; }

/* دکمه‌ها */
.sp-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.sp-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: #fff;
    padding: 12px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
    transition: var(--transition);
}

.sp-btn-call:hover {
    background: #d4a017;
    color: #fff;
}

/* متا */
.sp-meta {
    list-style: none;
    padding: 16px 0 0 0;
    margin: 0;
    border-top: 1px dashed #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sp-meta li {
    color: #777;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-meta li i { color: #d4a017; }
.sp-meta li strong { color: #333; }

/* ==========================================================
   بخش توضیحات + مشخصات
   ========================================================== */
.sp-details-section {
    padding: 70px 0;
    background: #f8f9fa;
}

.sp-block-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-block-title i { color: #d4a017; }

.sp-description p {
    color: #555;
    line-height: 2.1;
    font-size: 15px;
    margin-bottom: 18px;
}

.sp-sub-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 26px 0 14px 0;
}

.sp-usage-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sp-usage-list li {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-usage-list li i { color: #d4a017; font-size: 17px; }

/* کارت مشخصات فنی */
.sp-specs-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr { border-bottom: 1px dashed #e5e5e5; }
.specs-table tr:last-child { border-bottom: none; }

.specs-table td {
    padding: 12px 6px;
    font-size: 14px;
}

.specs-table td:first-child {
    color: #888;
    width: 42%;
}

.specs-table td:last-child {
    color: #222;
    font-weight: 700;
}

/* ==========================================================
   CATALOG DOWNLOAD - بخش دانلود کاتالوگ محصول
   ========================================================== */
.sp-catalog-band {
    margin-top: 50px;
    background: #fff;
    border: 2px dashed #d4a017;
    border-radius: 16px;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    transition: var(--transition);
}

.sp-catalog-band:hover {
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.15);
    transform: translateY(-3px);
}

.catalog-icon {
    flex: 0 0 auto;
    width: 66px;
    height: 66px;
    border-radius: 16px;
    background: linear-gradient(135deg, #101f4c 0%, #0a1538 100%);
    color: #d4a017;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-info {
    flex: 1;
    min-width: 240px;
}

.catalog-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.catalog-info p {
    color: #777;
    font-size: 13.5px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.catalog-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.catalog-meta li {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalog-meta li i { color: #d4a017; }

.catalog-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #d4a017;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.catalog-download-btn:hover {
    background: #101f4c;
    color: #fff;
}

.catalog-download-btn i { font-size: 18px; }

@media (max-width: 575px) {
    .sp-catalog-band { padding: 20px; gap: 16px; }
    .catalog-download-btn { width: 100%; justify-content: center; }
}

/* فاصله بیشتر بخش مرتبط */
.related-section { padding: 70px 0 80px; }

/* ==========================================================
   ریسپانسیو
   ========================================================== */
@media (max-width: 991px) {
    .gallery-main img { height: 320px; }
    .sp-title { font-size: 1.6rem; }
}

@media (max-width: 575px) {
    .gallery-main img { height: 240px; }
    .gallery-thumbs img { width: 74px; height: 58px; }
    .sp-usage-list { grid-template-columns: 1fr; }
    .sp-actions { flex-direction: column; }
    .sp-actions a { justify-content: center; text-align: center; }
}

/* ==========================================================
   BLOG ARCHIVE - آرشیو وبلاگ
   ========================================================== */
.blog-archive-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

/* --- چکیده مقاله (فقط آرشیو؛ کارت صفحه اصلی دست‌نخورده) --- */
.blog-excerpt {
    color: #777;
    font-size: 13.5px;
    line-height: 1.9;
    margin: 10px 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* دقیقاً ۲ خط، نه بیشتر */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- متای مقاله (نویسنده + بازدید) --- */
.blog-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px dashed #e5e5e5;
    margin-bottom: 14px;
}

.blog-meta span {
    color: #999;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta span i { color: #d4a017; font-size: 13px; }

/* --- لیست دسته‌های وبلاگ --- */
.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cat-list li { border-bottom: 1px dashed #f0f0f0; }
.sidebar-cat-list li:last-child { border-bottom: none; }

.sidebar-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 4px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.sidebar-cat-list a:hover {
    color: #d4a017;
    padding-right: 8px;
}

.sidebar-cat-list a span {
    background: #f0f0f0;
    color: #777;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 12px;
}

.sidebar-cat-list a:hover span {
    background: #d4a017;
    color: #fff;
}

/* --- پربازدیدها --- */
.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-list li { border-bottom: 1px dashed #f0f0f0; }
.popular-list li:last-child { border-bottom: none; }

.popular-list a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
}

.popular-list img {
    flex: 0 0 auto;
    width: 72px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
}

.popular-list h6 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.popular-list a:hover h6 { color: #d4a017; }

.popular-list span {
    color: #999;
    font-size: 11.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popular-list span i { color: #d4a017; }

/* --- ابر برچسب‌ها --- */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    color: #666;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: #d4a017;
    border-color: #d4a017;
    color: #fff;
}

/* --- هم‌ارتفاع‌سازی کارت‌ها --- */
.blog-grid .blog-card {
    display: flex;
    flex-direction: column;
}

.blog-grid .blog-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-grid .blog-link { margin-top: auto; }  /* لینک ادامه مطلب همیشه چسبیده به پایین کارت */

/* ==========================================================
   SINGLE BLOG - صفحه سینگل مقاله
   ========================================================== */
.single-blog-section {
    padding: 60px 0 80px;
    background: #fff;
}

.single-blog-article {
    max-width: 880px;
    margin: 0 auto;
}

/* --- هدر مقاله --- */
.sb-header { text-align: center; margin-bottom: 40px; }

.sb-category {
    display: inline-block;
    background: rgba(212, 160, 23, 0.12);
    color: #b8860b;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.sb-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 22px;
}

.sb-meta {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px dashed #e5e5e5;
}

.sb-meta span {
    color: #777;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sb-meta span i { color: #d4a017; }

.sb-meta a {
    color: #777;
    text-decoration: none;
    transition: var(--transition);
}

.sb-meta a:hover { color: #d4a017; }

/* --- تصویر شاخص --- */
.sb-featured-image {
    margin: 0 0 40px 0;
    border-radius: 16px;
    overflow: hidden;
}

.sb-featured-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.sb-featured-image figcaption {
    background: #f8f9fa;
    padding: 12px 20px;
    font-size: 13px;
    color: #777;
    font-style: italic;
    text-align: center;
    border-top: 3px solid #d4a017;
}

/* --- بدنه محتوا (تایپوگرافی حرفه‌ای) --- */
.sb-content {
    font-size: 16px;
    line-height: 2.1;
    color: #333;
}

.sb-content .sb-lead {
    font-size: 18px;
    color: #555;
    font-weight: 500;
    line-height: 2;
    padding: 20px 26px;
    background: #f8f9fa;
    border-right: 4px solid #d4a017;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sb-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #101f4c;
    margin: 40px 0 16px 0;
    padding-right: 16px;
    border-right: 3px solid #d4a017;
}

.sb-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 30px 0 14px 0;
}

.sb-content p { margin-bottom: 18px; }

.sb-content ul, .sb-content ol {
    margin: 16px 0 24px 0;
    padding-right: 24px;
}

.sb-content li {
    margin-bottom: 10px;
    color: #444;
}

.sb-content blockquote {
    background: linear-gradient(135deg, #101f4c 0%, #0a1538 100%);
    color: #fff;
    padding: 28px 32px;
    border-radius: 12px;
    margin: 30px 0;
    position: relative;
    font-size: 17px;
    line-height: 2;
    font-style: italic;
}

.sb-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 80px;
    color: #d4a017;
    font-family: Georgia, serif;
    line-height: 1;
}

.sb-content blockquote cite {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    color: #d4a017;
    font-style: normal;
    font-weight: 700;
}

.sb-content strong { color: #101f4c; font-weight: 700; }

/* --- فوتر مقاله: تگ‌ها + اشتراک‌گذاری --- */
.sb-footer {
    margin-top: 40px;
    padding: 24px 0;
    border-top: 1px dashed #e5e5e5;
    border-bottom: 1px dashed #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.sb-tags, .sb-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sb-tags .label, .sb-share .label {
    font-size: 13px;
    color: #777;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sb-tags .label i, .sb-share .label i { color: #d4a017; }

.sb-tags a {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    color: #555;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.sb-tags a:hover {
    background: #d4a017;
    border-color: #d4a017;
    color: #fff;
}

.sb-share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.sb-share a:hover {
    background: #d4a017;
    color: #fff;
    transform: translateY(-3px);
}

/* --- باکس نویسنده --- */
.sb-author-box {
    max-width: 880px;
    margin: 50px auto 0 auto;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 24px;
    align-items: center;
    border: 1px solid #eee;
}

.author-avatar {
    flex: 0 0 auto;
}

.author-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4a017;
}

.author-info h4 {
    font-size: 12px;
    color: #d4a017;
    font-weight: 700;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-info h5 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.author-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 12px;
}

.author-more {
    color: #d4a017;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.author-more:hover { color: #101f4c; }

/* --- مقالات مرتبط --- */
.sb-related {
    max-width: 1100px;
    margin: 70px auto 0 auto;
}

.sb-related-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sb-related-title i { color: #d4a017; }

/* ==========================================================
   ریسپانسیو
   ========================================================== */
@media (max-width: 991px) {
    .sb-title { font-size: 1.9rem; }
    .sb-featured-image img { height: 360px; }
}

@media (max-width: 575px) {
    .sb-title { font-size: 1.55rem; }
    .sb-featured-image img { height: 240px; }
    .sb-meta { gap: 10px; }
    .sb-content { font-size: 15px; }
    .sb-content blockquote { padding: 24px 20px; font-size: 15px; }
    .sb-content blockquote::before { font-size: 60px; right: 14px; }
    .sb-author-box { flex-direction: column; text-align: center; }
    .sb-footer { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   ABOUT PAGE - صفحه درباره ما (نسخه نهایی)
   ========================================================== */

/* --- داستان ما --- */
.about-intro-section {
    padding: 80px 0;
    background: #fff;
}

.about-intro-text {
    color: #555;
    line-height: 2.1;
    font-size: 15.5px;
    margin-bottom: 18px;
}

.about-intro-text strong { color: #101f4c; }

.about-quote {
    background: #f8f9fa;
    border-right: 4px solid #d4a017;
    border-radius: 10px;
    padding: 22px 26px;
    margin: 26px 0 0 0;
    font-size: 15px;
    line-height: 2;
    color: #444;
    font-style: italic;
}

.about-quote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 700;
    color: #d4a017;
    font-size: 13.5px;
}

/* --- نوار آمار --- */
.stats-band {
    background: linear-gradient(135deg, #101f4c 0%, #0a1538 100%);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-item i {
    font-size: 40px;
    color: #d4a017;
    margin-bottom: 14px;
    display: block;
}

.stat-item h3 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.stat-item p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin: 0;
}

/* --- ارزش‌ها --- */
.values-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.value-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(212, 160, 23, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.12);
    color: #d4a017;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.value-card p {
    color: #666;
    font-size: 14px;
    line-height: 2;
    margin: 0;
}

/* --- خط زمانی --- */
.timeline-section {
    padding: 80px 0;
    background: #fff;
}

.timeline {
    position: relative;
    max-width: 720px;
    margin: 40px auto 0 auto;
    padding-right: 34px;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 8px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(180deg, #d4a017 0%, rgba(212,160,23,0.25) 100%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 42px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
    content: '';
    position: absolute;
    right: -34px;
    top: 4px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #d4a017;
    box-shadow: 0 0 0 5px rgba(212, 160, 23, 0.15);
}

.timeline-year {
    display: inline-block;
    background: #d4a017;
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.timeline-item h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.timeline-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

/* --- CTA پایانی --- */
.about-cta {
    padding: 0 0 80px 0;
    background: #fff;
}

.about-cta-inner {
    background: linear-gradient(135deg, #101f4c 0%, #0a1538 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15% 50%, rgba(212,160,23,0.12) 0%, transparent 45%);
    pointer-events: none;
}

.about-cta-inner h2 {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.about-cta-inner p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 28px;
    position: relative;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
}

/* --- ریسپانسیو --- */
@media (max-width: 991px) {
    .about-intro-section { padding: 60px 0; }
    .stat-item h3 { font-size: 1.9rem; }
    .about-cta-inner { padding: 46px 26px; }
    .about-cta-inner h2 { font-size: 1.5rem; }
}

@media (max-width: 575px) {
    .timeline { padding-right: 28px; }
    .timeline-item::before { right: -28px; width: 16px; height: 16px; }
}

/* ==========================================================
   CONTACT PAGE - صفحه تماس با ما
   ========================================================== */
.contact-page-section {
    padding: 70px 0 80px;
    background: #f8f9fa;
}

/* --- کارت‌های اطلاعات تماس --- */
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(212, 160, 23, 0.15);
}

.contact-info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.12);
    color: #d4a017;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-card h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-info-card p {
    color: #666;
    font-size: 13.5px;
    line-height: 1.9;
    margin: 0;
}

.contact-info-card p a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-card p a:hover { color: #d4a017; }

/* --- کارت فرم تماس --- */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    height: 100%;
}

.contact-form-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.contact-form-desc {
    color: #777;
    font-size: 14px;
    margin-bottom: 26px;
    line-height: 1.9;
}

.form-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #999;
    margin: 14px 0 0 0;
}

.form-note i { color: #d4a017; }

/* --- کارت ساعات کاری --- */
.hours-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.hours-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hours-card h4 i { color: #d4a017; }

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
    color: #555;
}

.hours-list li:last-child { border-bottom: none; }

.hours-list .time {
    color: #101f4c;
    font-weight: 700;
}

.hours-list .time.closed { color: #e74c3c; }

/* --- کارت شبکه‌های اجتماعی --- */
.contact-social-card {
    background: linear-gradient(135deg, #101f4c 0%, #0a1538 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    color: #fff;
}

.contact-social-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.contact-social-card p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.contact-social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #d4a017;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.contact-social-icons a:hover {
    background: #d4a017;
    color: #101f4c;
    transform: translateY(-4px);
}

/* --- نقشه --- */
.contact-map {
    margin-top: 45px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.contact-map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

/* --- ریسپانسیو --- */
@media (max-width: 991px) {
    .contact-form-card { padding: 28px; }
}

@media (max-width: 575px) {
    .contact-map iframe { height: 260px; }
    .contact-form-card { padding: 22px; }
}

/* ==========================================================
   ERROR 404 - صفحه یافت نشد
   ========================================================== */
.error-section {
    padding: 90px 0 110px;
    background: #f8f9fa;
    text-align: center;
}

/* خط پالس برند با انیمیشن رسم شدن */
.error-pulse {
    max-width: 420px;
    margin: 0 auto 6px auto;
    color: #d4a017;
}

.error-pulse svg {
    width: 100%;
    height: 90px;
    display: block;
}

.error-pulse polyline {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: errorDrawLine 2.2s ease forwards;
}

@keyframes errorDrawLine {
    to { stroke-dashoffset: 0; }
}

.error-code {
    font-size: 7rem;
    font-weight: 900;
    color: #101f4c;
    line-height: 1;
    margin: 0;
}

.error-code span { color: #d4a017; }

.error-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 16px 0 12px 0;
}

.error-desc {
    color: #777;
    max-width: 540px;
    margin: 0 auto 32px auto;
    line-height: 2;
    font-size: 15px;
}

/* جستجوی نجات */
.error-search {
    position: relative;
    max-width: 460px;
    margin: 0 auto 32px auto;
}

.error-search input {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 15px 24px;
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: var(--transition);
}

.error-search input:focus {
    border-color: #d4a017;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.12);
}

.error-search button {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #d4a017;
    color: #fff;
    border: none;
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition);
}

.error-search button:hover { background: #101f4c; }

/* دکمه‌های بازگشت */
.error-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid #d4a017;
    color: #b8860b;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: #d4a017;
    color: #fff;
}

/* ریسپانسیو */
@media (max-width: 575px) {
    .error-section { padding: 60px 0 80px; }
    .error-code { font-size: 4.6rem; }
    .error-pulse svg { height: 60px; }
    .error-buttons { flex-direction: column; align-items: center; }
}

/* ==========================================================
   CALL FAB - دکمه شناور تماس (نسخه راد پژوهان)
   ========================================================== */
.call-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;               /* قرینه اسکرول‌تاپ سمت چپ */
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #1a1a1a;       /* مشکی برند */
    color: #d4a017;            /* آیکون طلایی */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.call-fab:hover {
    background: #d4a017;
    color: #1a1a1a;
    transform: scale(1.1);
}

/* هاله پالس طلایی */
.call-fab-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: callFabPulse 2s infinite;
}

@keyframes callFabPulse {
    0%   { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.5); }
    70%  { box-shadow: 0 0 0 18px rgba(212, 160, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); }
}

/* آیکون تلفن: هر چند ثانیه زنگ می‌خوره 📞 */
.call-fab > i {
    position: relative;
    z-index: 2;
    animation: callRing 3s infinite;
}

@keyframes callRing {
    0%, 80%, 100% { transform: rotate(0); }
    84% { transform: rotate(-14deg); }
    88% { transform: rotate(14deg); }
    92% { transform: rotate(-9deg); }
    96% { transform: rotate(9deg); }
}

/* حباب شماره روی هاور */
.call-fab-label {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a1a;
    color: #d4a017;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.call-fab:hover .call-fab-label {
    opacity: 1;
    visibility: visible;
}

/* موبایل: جمع‌وجورتر */
@media (max-width: 575px) {
    .call-fab { width: 52px; height: 52px; font-size: 21px; bottom: 22px; right: 22px; }
    .call-fab-label { display: none; }
}
/* لوگوی سفید برای پس‌زمینه تیره (فوتر + منوی موبایل) */
.footer-logo,
.mobile-logo {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* ==========================================================
   فوتر موبایل: وسط‌چین + ستون هم‌تراز (نسخه ۳)
   ========================================================== */
@media (max-width: 767px) {

    .footer-widget {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 20px auto;
    }

    .footer-social {
        justify-content: center;
    }

    /* ترفند طلایی: خودِ لیست وسط، آیتم‌هاش ستونی از راست */
    .footer-links,
    .footer-contact {
        display: inline-block;   /* لیست به عرض محتوا جمع می‌شه */
        text-align: right;       /* RTL: نقطه‌ها/آیکون‌ها می‌افتن روی یک ستون */
        padding: 0;
        margin: 0;
    }

    .footer-contact li {
        justify-content: flex-start;  /* آیکون تماس اول خط، زیر هم */
    }

    .footer-title::after,
    .footer-title::before {
        position: static !important;
        display: block !important;
        margin: 10px auto 0 auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }
}

/* ==========================================================
   فوتر موبایل: دسترسی سریع + خدمات ما کنار هم
   ========================================================== */
@media (max-width: 767px) {

    /* ستون دوم (دسترسی سریع) و سوم (خدمات ما) → هر کدوم نصف عرض */
    .footer-top .row > div:nth-child(2),
    .footer-top .row > div:nth-child(3) {
        width: 50%;
    }

    /* لیست‌ها توی ستون باریک: جمع‌وجورتر */
    .footer-top .row > div:nth-child(2) .footer-links li,
    .footer-top .row > div:nth-child(3) .footer-links li {
        margin-bottom: 8px;
        font-size: 13px;
    }
}

/* ==========================================================
   آیکون همبرگری: مورف نرم به X هنگام باز/بسته شدن
   ========================================================== */
.mobile-menu-toggle span {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* حس لمس: وقتی انگشت روشه یه ذره جمع می‌شه */
.mobile-menu-toggle:active {
    transform: scale(0.88);
}

/* حالت باز: خط بالا و پایین می‌شن X، خط وسط محو می‌شه */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.author-avatar img.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* تطبیق wp_list_categories با استایل طراحی‌شده */
.sidebar-cat-list .cat-item {
    list-style: none;
    margin-bottom: 0.5rem;
}
.sidebar-cat-list .cat-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}
.sidebar-cat-list .cat-item a:hover {
    color: #d4af37;
    padding-right: 0.5rem;
}
.sidebar-cat-list .cat-item .count {
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* تطبیق wp_tag_cloud */
.tag-cloud a {
    display: inline-block;
    padding: 5px 14px;
    margin: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px !important;
}
.tag-cloud a:hover {
    background: #d4af37;
    color: #000;
}

/* پربازدیدها: تصویر کنار متن */
.popular-list li {
    list-style: none;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.popular-list li:last-child {
    border-bottom: none;
}
.popular-list li a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}
.popular-list li a:hover {
    opacity: 0.8;
}
.popular-list li img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.popular-list li h6 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    line-height: 1.4;
}
.popular-list li span {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* عنوان کارت = لینک */
.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.blog-title a:hover {
    color: #d4af37;
}

/* استایل pagination */
.archive-pagination ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}
.archive-pagination li a,
.archive-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}
.archive-pagination li a:hover,
.archive-pagination li .current {
    background: #d4af37;
    color: #000;
}

/* placeholder */
img[src*="placeholder"] {
    background: #1a1a1a;
    object-fit: cover;
}

/* دکمه «مشاهده همه مقالات» - بخش وبلاگ صفحه اصلی */
.blog-all-wrap {
    text-align: center;
    margin-top: 2.5rem;
}
.blog-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 36px;
    background: #d4af37;
    color: #000;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.blog-all-btn:hover {
    background: #b8962e;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* لینک‌های کارت وبلاگ بدون زیرخط */
.blog-category {
    text-decoration: none;
}

/* لینک عنوان محصول: هم‌رنگ طرح اصلی */
.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.product-title a:hover {
    color: #d4af37;
}

/* بج دسته محصول بدون زیرخط */
.product-category {
    text-decoration: none;
}

/* دسته مادر بدون زیردسته: لینک ساده */
.accordion-item.no-sub {
    border: none;
}
.accordion-item.no-sub .simple-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: inherit;
    text-decoration: none;
    text-align: right;
    transition: all 0.3s;
    cursor: pointer;
}
.accordion-item.no-sub .simple-cat-link:hover,
.accordion-item.no-sub .simple-cat-link.active-cat {
    background: rgba(212, 175, 55, 0.08);
    color: #d4af37;
}
.accordion-item.no-sub .simple-cat-link::after {
    display: none;
}

/* لینک "مشاهده همه" در بالای زیردسته‌ها */
.subcategory-list .parent-link {
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.subcategory-list .parent-link a {
    font-weight: 600;
    color: #d4af37;
}

/* زیردسته فعال */
.subcategory-list li.active a {
    color: #d4af37;
    font-weight: 600;
}

/* 🟠 برچسب "در حال تأمین" — نارنجی متمایز */
.stock-badge.on-backorder {
    background: linear-gradient(135deg, #ff8c42, #e67e22);
    color: #fff;
    box-shadow: 0 4px 12px rgba(230, 126, 34, .35);
}
.stock-badge.on-backorder::before {
    content: '🔄';
    margin-left: 4px;
    font-size: .85em;
}

/* 🔴 تأیید برچسب "ناموجود" — قرمز */
.stock-badge.out-of-stock {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 4px 12px rgba(231, 76, 60, .35);
}

.form-message {
    margin-top: 15px;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-message.success {
    background: rgba(39, 174, 96, .12);
    color: #1e8449;
    border: 1px solid rgba(39, 174, 96, .3);
}
.form-message.error {
    background: rgba(231, 76, 60, .12);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, .3);
}
.btn-submit:disabled { opacity: .7; cursor: not-allowed; }


/* ========== حالت استاتیک برندها: GRID تضمینی ========== */
.partners-carousel.partners-static {
    display: grid;
    grid-template-columns: repeat(5, 1fr);   /* ۵ ستون در دسکتاپ */
    gap: 20px;
}
@media (max-width: 999px) {
    .partners-carousel.partners-static { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 599px) {
    .partners-carousel.partners-static { grid-template-columns: repeat(2, 1fr); }  /* 🎯 موبایل: ۲ تا کنار هم */
}

/* ========== حالت استاتیک محصولات: GRID تضمینی ========== */
.products-carousel.products-static {
    display: grid;
    grid-template-columns: repeat(4, 1fr);   /* ۴ ستون در دسکتاپ */
    gap: 24px;
}
@media (max-width: 1199px) {
    .products-carousel.products-static { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .products-carousel.products-static { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .products-carousel.products-static { grid-template-columns: 1fr; }
}

/* ============================================================
   📋 Fluent Forms = همان فرم قبلی راد (پیکسل به پیکسل)
   ============================================================ */

/* چیدمان: ۲ ستون مثل فرم قدیم */
.rad-form-wrap .ff-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* لیبل‌ها مخفی (دیزاین فقط placeholder داره) */
.rad-form-wrap .ff-el-form-label { display: none !important; }

/* ---------- اینپوت‌ها / سلکت / تکست‌اریا ---------- */
.rad-form-wrap .ff-form input[type="text"],
.rad-form-wrap .ff-form input[type="tel"],
.rad-form-wrap .ff-form input[type="email"],
.rad-form-wrap .ff-form select,
.rad-form-wrap .ff-form textarea {
    width: 100%;
    background: #fbfbfc;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    padding: 15px 16px;
    font-size: .95rem;
    font-family: inherit;
    color: #333;
    box-shadow: none !important;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.rad-form-wrap .ff-form ::placeholder { color: #9aa0a6; }
.rad-form-wrap .ff-form input:focus,
.rad-form-wrap .ff-form select:focus,
.rad-form-wrap .ff-form textarea:focus {
    border-color: #c9a227;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, .12);
    outline: none;
}
.rad-form-wrap .ff-form textarea { min-height: 150px; resize: vertical; }
.rad-form-wrap .ff-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
}

/* ---------- سلکت / تکست‌اریا / دکمه: تمام‌عرض ---------- */
.rad-form-wrap .ff-form .ff-el-group:has(select),
.rad-form-wrap .ff-form .ff-el-group:has(textarea),
.rad-form-wrap .ff-form .ff_submit,
.rad-form-wrap .ff-form .rad-col-12 {
    grid-column: 1 / -1;
}

/* ---------- دکمه ارسال: سیاه تمام‌عرض مثل قبل ---------- */
.rad-form-wrap .ff-btn-submit {
    width: 100%;
    background: #111111 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}
.rad-form-wrap .ff-btn-submit:hover {
    background: #c9a227 !important;
    color: #111 !important;
    transform: translateY(-2px);
}

/* ---------- پیام موفقیت / خطا ---------- */
.rad-form-wrap .ff-message-success {
    background: #fff8e7 !important;
    border: 1px solid #c9a227 !important;
    color: #7a6210 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-weight: 600;
}
.rad-form-wrap .ff-el-is-error .error {
    color: #dc3545;
    font-size: .78rem;
    margin-top: 6px;
}
.rad-form-wrap .ff-el-is-error input,
.rad-form-wrap .ff-el-is-error select,
.rad-form-wrap .ff-el-is-error textarea {
    border-color: #dc3545 !important;
}

/* ---------- موبایل: تک‌ستون ---------- */
@media (max-width: 767px) {
    .rad-form-wrap .ff-form { grid-template-columns: 1fr; }
}

/* تکست‌اریا همیشه دیده بشه و تمام‌عرض */
.rad-form-wrap .ff-form textarea {
    display: block !important;
    width: 100% !important;
    min-height: 150px !important;
    background: #fbfbfc !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 8px !important;
    padding: 15px 16px !important;
}
/* اگه باز لیبل اضافه‌ای دیدی */
.rad-form-wrap .ff-el-form-label { display: none !important; }

/* ============================================================
   📋 کارت فرم تماس — دقیقاً مثل نسخه استاتیک
   ============================================================ */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, .06);
    height: 100%;
}
.contact-form-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}
.contact-form-desc {
    color: #64748b;
    font-size: .92rem;
    line-height: 1.9;
    margin-bottom: 28px;
}
.contact-form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    color: #94a3b8;
    font-size: .8rem;
}
.contact-form-note i {
    color: #c9a227;
    font-size: .95rem;
}

/* داخل کارت: پس‌زمینه اینپوت‌ها کمی روشن‌تر از کارت سفید */
.contact-form-card .rad-form-wrap .ff-form input[type="text"],
.contact-form-card .rad-form-wrap .ff-form input[type="tel"],
.contact-form-card .rad-form-wrap .ff-form input[type="email"],
.contact-form-card .rad-form-wrap .ff-form select,
.contact-form-card .rad-form-wrap .ff-form textarea {
    background: #fafbfc;
}

/* موبایل: پدینگ کارت کمتر */
@media (max-width: 767px) {
    .contact-form-card { padding: 28px 20px; }
}

/* ============================================================
   🎯 فوکوس طلایی فیلدهای Fluent (مثل نسخه استاتیک)
   ============================================================ */
.rad-form-wrap .ff-form input[type="text"]:focus,
.rad-form-wrap .ff-form input[type="tel"]:focus,
.rad-form-wrap .ff-form input[type="email"]:focus,
.rad-form-wrap .ff-form select:focus,
.rad-form-wrap .ff-form textarea:focus,
.rad-form-wrap .ff-form .ff-el-form-control:focus,
.rad-form-wrap .ff-form .ff-el-group:focus-within input,
.rad-form-wrap .ff-form .ff-el-group:focus-within select,
.rad-form-wrap .ff-form .ff-el-group:focus-within textarea {
    border-color: #c9a227 !important;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, .14) !important;
    outline: none !important;
    background: #fff !important;
}



/* ==========================================================
FIX FINAL - لوگوی بزرگ با ارتفاع هدر قفل (75px)
========================================================== */

/* 1. قفل کردن ارتفاع هدر روی 75 پیکسل */
.main-header {
    padding: 0 !important;
    height: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
}

.main-header .container {
    height: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
}

.main-header .row {
    height: 100%;
    align-items: center;
}


/* 3. متن کنار لوگو (بدون تغییر ارتفاع) */
.logo-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    height: 75px; /* هم‌اندازه هدر */
}

.site-name-text {
    font-size: 14px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.3;
    white-space: nowrap;
}

/* 4. موبایل: همان استراتژی */
@media (max-width: 991px) {
    .main-header,
    .main-header .container {
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
    }
    
    .logo-group {
        height: 60px;
        gap: 8px;
    }
    
    .site-name-text {
        font-size: 13px;
        max-width: 90px;
    }
}

.main-header {
    position: relative;
    z-index: 95;
}

/* ==========================================================
FIX FINAL - صفحه‌بندی روی پس‌زمینه روشن (آرشیو محصولات و وبلاگ)
========================================================== */
.archive-pagination li a,
.archive-pagination li span,
.archive-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    background: #fff;                 /* پس‌زمینه سفیدِ دیده‌شدنی */
    color: #333;                      /* متن تیره */
    border: 1px solid #e0e0e0;        /* حاشیه مشخص */
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

/* هاور: طلایی */
.archive-pagination li a:hover,
.archive-pagination a:hover {
    background: #fff;
    border-color: #d4a017;
    color: #d4a017;
}

/* صفحه فعلی: طلایی پررنگ */
.archive-pagination li .current,
.archive-pagination a.active {
    background: #d4a017;
    color: #fff;
    border-color: #d4a017;
}

/* فلش‌های غیرفعال (قبلی/بعدیِ خاموش): کم‌رنگ ولی دیده بشن */
.archive-pagination li.disabled a,
.archive-pagination a.disabled {
    opacity: 0.45;
    pointer-events: none;
    color: #999;
}
/* ==========================================================
FIX FINAL v3 - نام برند زیر لوگو، خالص با CSS (بدون span)
========================================================== */
.main-header {
    padding: 14px 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    position: relative;
    z-index: 95;
}
.main-header .container,
.main-header .row {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

/* ستون لوگو: چیدمان عمودی */
.logo-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
}

.logo-img {
    height: 60px !important;
    max-height: 60px !important;
    max-width: 100% !important;
    width: auto !important;
}

/* ✨ نام برند زیر لوگو + خط طلایی ظریف بالای متن */
.logo-link::after {
    content: 'راد پژوهان ماندگار';
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 800;
    color: #b8860b;
    line-height: 1;
    white-space: nowrap;
    padding-top: 9px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent) top center / 54px 2px no-repeat;
}

/* ---------- موبایل ---------- */
@media (max-width: 991px) {
    .main-header { padding: 10px 0 !important; }
    .logo-img {
        height: 50px !important;
        max-height: 50px !important;
    }
    .logo-link::after {
        font-size: 11px;
        padding-top: 7px;
        background-size: 46px 2px;
    }
    .main-header { position: static !important; }
}

/* ---------- منوی کشویی موبایل ---------- */
.mobile-logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.mobile-logo-group::after {
    content: 'راد پژوهان ماندگار';
    font-size: 10px;
    font-weight: 700;
    color: #b8860b;
    line-height: 1;
}
/* ==========================================================
FOREIGN PARTNERS - شرکای خارجی (صفحه اصلی + صفحه اختصاصی)
========================================================== */
.partners-section {
    padding: 90px 0;
    background: var(--color-gray);
}
.fp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
/* 🎯 صفحه اصلی: ۴ شریک کنار هم در یک ردیف */
.partners-home .fp-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
/* کارت‌های صفحه اصلی کمی جمع‌وجورتر تا ۴تا جا بشن */
.partners-home .fp-card { padding: 28px 18px; gap: 12px; }
.partners-home .fp-logo { height: 70px; }
.partners-home .fp-logo img { max-height: 70px; }
.partners-home .fp-name { font-size: 17px; }
.partners-home .fp-desc { font-size: 12.5px; }
.partners-home .fp-btn { padding: 9px 18px; font-size: 12.5px; }

.fp-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 34px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.fp-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}
.fp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.fp-card:hover::before { transform: scaleX(1); }
.fp-logo {
    height: 90px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fp-logo img {
    max-height: 90px;
    max-width: 80%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: var(--transition);
}
.fp-card:hover .fp-logo img {
    filter: grayscale(0);
    opacity: 1;
}
.fp-logo-fallback {
    font-size: 52px;
    color: #ccc;
}
.fp-name {
    font-size: 19px;
    font-weight: 800;
    color: #101f4c;
    margin: 0;
}
.fp-country {
    font-size: 12px;
    color: #777;
    background: #f5f5f5;
    border: 1px solid #eee;
    padding: 3px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.fp-country i { color: var(--color-gold); font-size: 11px; }
.fp-desc {
    color: var(--color-text-light);
    font-size: 13.5px;
    line-height: 1.9;
    margin: 0;
    flex: 1;
}
.fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-black);
    color: #fff;
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
}
.fp-btn:hover {
    background: var(--color-gold);
    color: var(--color-black);
}
.fp-all-wrap {
    text-align: center;
    margin-top: 44px;
}
/* ---------- صفحه اختصاصی شرکا ---------- */
.partners-page-section {
    padding: 80px 0 90px;
    background: #fff;
}
.partners-page-desc {
    max-width: 640px;
    margin: 0 auto 50px;
    color: var(--color-text-light);
    text-align: center;
    line-height: 2;
    font-size: 15.5px;
}
.fp-page-cta {
    text-align: center;
    margin-top: 55px;
}
/* ---------- ریسپانسیو ---------- */
@media (max-width: 1199px) {
    .partners-home .fp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .fp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .fp-grid,
    .partners-home .fp-grid { grid-template-columns: 1fr; }
    .partners-section { padding: 70px 0; }
}
/* ==========================================================
🔸 بازگرداندن نقطه‌های لیست — فقط داخل محتوای مقالات (راد)
========================================================== */
.sb-content ul {
    list-style: disc;
    padding-right: 26px;
    margin: 18px 0 26px;
}
.sb-content ul li {
    list-style: disc !important;
    margin-bottom: 8px;
}
.sb-content ol {
    list-style: decimal;
    padding-right: 26px;
    margin: 18px 0 26px;
}
.sb-content ol li {
    list-style: decimal !important;
    margin-bottom: 8px;
}
.sb-content ul ul,
.sb-content ul ul li {
    list-style: circle !important;
}
.sb-content ul li::marker,
.sb-content ol li::marker {
    color: #d4a017;
    font-weight: 700;
}

/* ==========================================================
💓 ادغام نام RPM با ضربان قلب بنر (SVG + CSS — بدون JS)
========================================================== */
/* نقطه‌ی درخشانی که روی خط ECG سفر می‌کنه */
.banner-pulse .pulse-head {
    fill: #ffd76a;
    filter: drop-shadow(0 0 8px rgba(255, 215, 106, 0.9));
}

/* دایره طلایی با نام RPM داخلش (جایگزین بج برق) */
.banner-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 118px;
    height: 118px;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 60%, #b8860b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 0 0 10px rgba(212, 160, 23, 0.15), 0 0 40px rgba(212, 160, 23, 0.4);
    animation: badgePulse 2.5s ease-in-out infinite, brandBeat 4s ease-in-out infinite;
    z-index: 2;
}

/* حروف RPM */
.brand-letter {
    font-family: var(--font-main);
    font-size: 34px;
    font-weight: 900;
    color: var(--color-black);
    line-height: 1;
    animation: letterGlint 4s ease-in-out infinite;
}
.brand-letter:nth-child(2) { animation-delay: 0.12s; }
.brand-letter:nth-child(3) { animation-delay: 0.24s; }

/* تپش قلب، دقیقاً وقتی نقطه به مرکز می‌رسه */
@keyframes brandBeat {
    0%, 44%   { transform: translate(-50%, -50%) scale(1); }
    50%       { transform: translate(-50%, -50%) scale(1.12); }
    56%       { transform: translate(-50%, -50%) scale(0.98); }
    62%, 100% { transform: translate(-50%, -50%) scale(1); }
}

/* برق زدن حروف در لحظه‌ی رسیدن انرژی */
@keyframes letterGlint {
    0%, 46%   { color: var(--color-black); text-shadow: none; }
    52%       { color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, 0.8); }
    60%, 100% { color: var(--color-black); text-shadow: none; }
}

/* ---------- موبایل ---------- */
@media (max-width: 991px) {
    .banner-brand { width: 96px; height: 96px; }
    .brand-letter { font-size: 27px; }
}

/* ==========================================================
🎯 فیکس ترتیب حروف RPM (جلوگیری از برعکس شدن در RTL)
========================================================== */
.banner-brand {
    direction: ltr;
}

/* ==========================================================
💓 دایره RPM: کمرنگ و شیشه‌ای (خط نبض از زیرش دیده می‌شه)
========================================================== */
.banner-brand {
    background: rgba(212, 160, 23, 0.12);      /* ✅ طلایی خیلی کمرنگ، نه توپر */
    border: 2px solid rgba(212, 160, 23, 0.55); /* حلقه ظریف طلایی */
    backdrop-filter: blur(2px);                 /* خط زیرش نرم ولی دیده می‌شه */
    box-shadow: 0 0 30px rgba(212, 160, 23, 0.22);
}

/* حروف RPM: طلایی روشن روی زمینه شیشه‌ای */
.brand-letter {
    color: var(--color-gold-light);
    text-shadow: 0 0 12px rgba(212, 160, 23, 0.45);
}

/* برق زدن حروف: پایه طلایی، فلش سفید سرِ ضربان */
@keyframes letterGlint {
    0%, 46%   { color: var(--color-gold-light); text-shadow: 0 0 12px rgba(212, 160, 23, 0.45); }
    52%       { color: #fff; text-shadow: 0 0 16px rgba(255, 255, 255, 0.9); }
    60%, 100% { color: var(--color-gold-light); text-shadow: 0 0 12px rgba(212, 160, 23, 0.45); }
}

/* هاله ضربان: ملایم و کمرنگ (نه رینگ ضخیم قبلی) */
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(212, 160, 23, 0.10), 0 0 30px rgba(212, 160, 23, 0.22); }
    50%      { box-shadow: 0 0 0 12px rgba(212, 160, 23, 0.05), 0 0 45px rgba(212, 160, 23, 0.38); }
}

/* ==========================================================
📊 جداول در محتوای مقالات (Single Post) — نسخه یکپارچه
========================================================== */

/* ===== Wrapper برای اسکرول افقی (از functions.php اضافه می‌شه) ===== */
.table-scroll-wrapper {
    position: relative;
    width: 100%;
    margin: 28px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: #fff;
    border: 1px solid #eee;
}

.table-scroll-wrapper .table-inner {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ===== استایل پایه جدول ===== */
.sb-content table,
.post-body table,
.page-body table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14.5px;
}

/* ===== سرستون‌ها (هدر طلایی-سرمه‌ای برند) ===== */
.sb-content table thead,
.post-body table thead,
.page-body table thead {
    background: linear-gradient(135deg, #101f4c 0%, #0a1538 100%);
    color: #fff;
}

.sb-content table thead th,
.post-body table thead th,
.page-body table thead th {
    padding: 16px 18px;
    font-weight: 700;
    font-size: 14.5px;
    text-align: right;
    border: none;
    white-space: nowrap;
    color: #fff;
}

/* ===== ردیف‌های بدنه ===== */
.sb-content table tbody tr,
.post-body table tbody tr,
.page-body table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.25s ease;
}

.sb-content table tbody tr:last-child,
.post-body table tbody tr:last-child,
.page-body table tbody tr:last-child {
    border-bottom: none;
}

.sb-content table tbody tr:hover,
.post-body table tbody tr:hover,
.page-body table tbody tr:hover {
    background: rgba(212, 160, 23, 0.08);
}

/* ===== سلول‌ها ===== */
.sb-content table tbody td,
.post-body table tbody td,
.page-body table tbody td {
    padding: 14px 18px;
    font-size: 14.5px;
    color: #444;
    line-height: 1.7;
    vertical-align: top;
}

.sb-content table tbody td strong,
.post-body table tbody td strong,
.page-body table tbody td strong {
    color: #101f4c;
    font-weight: 700;
}

/* ===== جداول بدون thead (ردیف اول = هدر) ===== */
.sb-content table:not(:has(thead)) tr:first-child,
.post-body table:not(:has(thead)) tr:first-child,
.page-body table:not(:has(thead)) tr:first-child {
    background: linear-gradient(135deg, #101f4c 0%, #0a1538 100%);
    color: #fff;
}

.sb-content table:not(:has(thead)) tr:first-child td,
.post-body table:not(:has(thead)) tr:first-child td,
.page-body table:not(:has(thead)) tr:first-child td {
    font-weight: 700;
    color: #fff;
    padding: 16px 18px;
}

/* ===== حالت Striped (زوج و فرد) ===== */
.sb-content table.striped tbody tr:nth-child(even),
.post-body table.striped tbody tr:nth-child(even),
.page-body table.striped tbody tr:nth-child(even) {
    background: #fafafa;
}

.sb-content table.striped tbody tr:nth-child(even):hover,
.post-body table.striped tbody tr:nth-child(even):hover,
.page-body table.striped tbody tr:nth-child(even):hover {
    background: rgba(212, 160, 23, 0.08);
}

/* ===== حالت Bordered (با حاشیه) ===== */
.sb-content table.bordered td,
.sb-content table.bordered th,
.post-body table.bordered td,
.post-body table.bordered th,
.page-body table.bordered td,
.page-body table.bordered th {
    border: 1px solid #e5e5e5;
}

/* ===== لینک‌ها و اعداد داخل سلول (شکستن درست) ===== */
.sb-content table td a,
.post-body table td a,
.page-body table td a {
    color: #d4a017;
    word-break: break-word;
    text-decoration: none;
    border-bottom: 1px dashed #d4a017;
    transition: 0.25s;
}

.sb-content table td a:hover,
.post-body table td a:hover,
.page-body table td a:hover {
    color: #101f4c;
    border-bottom-color: #101f4c;
}

/* ===== حالت کارت‌مانند برای جداول ۲ ستونه ===== */
@media (max-width: 575px) {
    .sb-content table.two-col,
    .post-body table.two-col,
    .page-body table.two-col {
        width: 100% !important;
        min-width: 0 !important;
        display: block;
    }
    
    .sb-content table.two-col thead,
    .post-body table.two-col thead,
    .page-body table.two-col thead {
        display: none;
    }
    
    .sb-content table.two-col tbody,
    .post-body table.two-col tbody,
    .page-body table.two-col tbody {
        display: block;
    }
    
    .sb-content table.two-col tbody tr,
    .post-body table.two-col tbody tr,
    .page-body table.two-col tbody tr {
        display: block;
        margin-bottom: 12px;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #eee;
        border-right: 3px solid #d4a017;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        padding: 0;
    }
    
    .sb-content table.two-col tbody td,
    .post-body table.two-col tbody td,
    .page-body table.two-col tbody td {
        display: block;
        padding: 10px 14px;
        border: none;
        border-bottom: 1px dashed #eee;
        width: 100%;
    }
    
    .sb-content table.two-col tbody td:first-child,
    .post-body table.two-col tbody td:first-child,
    .page-body table.two-col tbody td:first-child {
        background: #101f4c;
        color: #d4a017;
        font-weight: 700;
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .sb-content table.two-col tbody td:last-child,
    .post-body table.two-col tbody td:last-child,
    .page-body table.two-col tbody td:last-child {
        border-bottom: none;
    }
}

/* ===== تبلت ===== */
@media (max-width: 991px) and (min-width: 768px) {
    .sb-content table thead th,
    .post-body table thead th,
    .page-body table thead th {
        padding: 13px 15px;
        font-size: 13.5px;
    }
    
    .sb-content table tbody td,
    .post-body table tbody td,
    .page-body table tbody td {
        padding: 11px 15px;
        font-size: 13.5px;
    }
}

/* ===== موبایل (کمتر از ۷۶۸) ===== */
@media (max-width: 767px) {
    .table-scroll-wrapper {
        margin: 22px 0;
        border-radius: 10px;
    }
    
    .sb-content table,
    .post-body table,
    .page-body table {
        min-width: 520px;
        font-size: 13px;
    }
    
    .sb-content table thead th,
    .post-body table thead th,
    .page-body table thead th {
        padding: 11px 14px;
        font-size: 12.5px;
    }
    
    .sb-content table tbody td,
    .post-body table tbody td,
    .page-body table tbody td {
        padding: 10px 14px;
        font-size: 13px;
        line-height: 1.6;
    }
    
    /* نشانگر «بکشید» زیر wrapper */
    .table-scroll-wrapper::after {
        content: '← برای مشاهده کامل بکشید →';
        display: block;
        text-align: center;
        font-size: 11px;
        color: #d4a017;
        padding: 8px 0;
        font-weight: 600;
        opacity: 0.85;
        background: #faf8f2;
        border-top: 1px dashed #e5e0d0;
        font-family: var(--font-main, 'Vazirmatn', Tahoma, sans-serif);
    }
    
    /* جداول two-col در موبایل → نشانگر نداشته باشن */
    .table-scroll-wrapper:has(table.two-col)::after {
        display: none;
    }
}

/* ===== موبایل کوچک (کمتر از ۴۸۰) ===== */
@media (max-width: 480px) {
    .sb-content table,
    .post-body table,
    .page-body table {
        min-width: 460px;
        font-size: 12.5px;
    }
    
    .sb-content table thead th,
    .post-body table thead th,
    .page-body table thead th {
        padding: 9px 12px;
        font-size: 12px;
    }
    
    .sb-content table tbody td,
    .post-body table tbody td,
    .page-body table tbody td {
        padding: 8px 12px;
        font-size: 12.5px;
    }
}

/* ===== حالت چاپ ===== */
@media print {
    .table-scroll-wrapper {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    .table-scroll-wrapper::after { display: none; }
    .sb-content table thead,
    .post-body table thead,
    .page-body table thead {
        background: #eee !important;
        color: #000 !important;
    }
}

/* ==========================================================
📊 جدول‌های ریسپانسیو راد پژوهان — نسخه نهایی
فقط خود جدول اسکرول می‌خوره، نه کل صفحه
========================================================== */

/* ===== Wrapper (خودش overflow نداره، فقط استایل بیرونی) ===== */
.rpm-table-scroll-wrapper {
    position: relative;
    width: 100%;
    margin: 28px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 4px solid #d4a017;  /* خط طلایی بالای جدول */
}

/* ===== inner: جایی که اسکرول اتفاق می‌افته ===== */
.rpm-table-scroll-wrapper .rpm-table-inner {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ===== خود جدول ===== */
.rpm-table-scroll-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 !important;
    background: #fff;
    font-size: 14.5px;
    min-width: 480px;  /* حداقل عرض در حالت اسکرول */
}

/* ===== سرستون طلایی ===== */
.rpm-table-scroll-wrapper table thead {
    background: linear-gradient(135deg, #101f4c 0%, #0a1538 100%);
    color: #fff;
}

.rpm-table-scroll-wrapper table thead th {
    padding: 14px 16px;
    font-weight: 700;
    font-size: 14px;
    text-align: right;
    color: #fff;
    border: none;
    white-space: nowrap;
}

/* ===== ردیف‌های بدنه ===== */
.rpm-table-scroll-wrapper table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.25s ease;
}

.rpm-table-scroll-wrapper table tbody tr:last-child {
    border-bottom: none;
}

.rpm-table-scroll-wrapper table tbody tr:hover {
    background: rgba(212, 160, 23, 0.08);
}

/* ===== سلول‌ها ===== */
.rpm-table-scroll-wrapper table tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    vertical-align: top;
}

.rpm-table-scroll-wrapper table tbody td strong {
    color: #101f4c;
    font-weight: 700;
}

/* ===== Striped (زوج و فرد) ===== */
.rpm-table-scroll-wrapper table tbody tr:nth-child(even) {
    background: #fafafa;
}

.rpm-table-scroll-wrapper table tbody tr:nth-child(even):hover {
    background: rgba(212, 160, 23, 0.08);
}

/* ===== لینک‌ها داخل جدول ===== */
.rpm-table-scroll-wrapper table td a {
    color: #d4a017;
    text-decoration: none;
    border-bottom: 1px dashed #d4a017;
    word-break: break-word;
    transition: 0.25s;
}

.rpm-table-scroll-wrapper table td a:hover {
    color: #101f4c;
    border-bottom-color: #101f4c;
}

/* ===== جداول بدون thead (ردیف اول = هدر) ===== */
.rpm-table-scroll-wrapper table:not(:has(thead)) tr:first-child {
    background: linear-gradient(135deg, #101f4c 0%, #0a1538 100%);
    color: #fff;
}

.rpm-table-scroll-wrapper table:not(:has(thead)) tr:first-child td {
    color: #fff;
    font-weight: 700;
    padding: 14px 16px;
}

/* ===== نشانگر اسکرول در موبایل ===== */
.rpm-table-scroll-wrapper::after {
    content: '← برای مشاهده کامل بکشید →';
    display: none;
    text-align: center;
    font-size: 11px;
    color: #d4a017;
    padding: 8px 0;
    font-weight: 600;
    opacity: 0.9;
    background: #faf8f2;
    border-top: 1px dashed #e5e0d0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

/* ===== تبلت ===== */
@media (max-width: 991px) and (min-width: 768px) {
    .rpm-table-scroll-wrapper table {
        min-width: 520px;
    }
    .rpm-table-scroll-wrapper table thead th,
    .rpm-table-scroll-wrapper table tbody td {
        padding: 11px 14px;
        font-size: 13.5px;
    }
}

/* ===== موبایل ===== */
@media (max-width: 767px) {
    .rpm-table-scroll-wrapper {
        margin: 22px 0;
        border-radius: 10px;
    }
    .rpm-table-scroll-wrapper table {
        min-width: 520px;
        font-size: 13px;
    }
    .rpm-table-scroll-wrapper table thead th {
        padding: 11px 14px;
        font-size: 12.5px;
    }
    .rpm-table-scroll-wrapper table tbody td {
        padding: 10px 14px;
        font-size: 13px;
        line-height: 1.6;
    }
    /* نمایش نشانگر */
    .rpm-table-scroll-wrapper::after {
        display: block;
    }
}

/* ===== موبایل کوچک ===== */
@media (max-width: 480px) {
    .rpm-table-scroll-wrapper table {
        min-width: 460px;
        font-size: 12.5px;
    }
    .rpm-table-scroll-wrapper table thead th {
        padding: 9px 12px;
        font-size: 12px;
    }
    .rpm-table-scroll-wrapper table tbody td {
        padding: 8px 12px;
        font-size: 12.5px;
    }
}

/* ===== چاپ ===== */
@media print {
    .rpm-table-scroll-wrapper {
        box-shadow: none;
        border: 1px solid #ccc;
        border-top: 4px solid #d4a017;
    }
    .rpm-table-scroll-wrapper::after { display: none; }
    .rpm-table-scroll-wrapper table { min-width: 0; }
}

/* ===== Override استایل‌های قبلی که تداخل داشتن ===== */
.sb-content table,
.post-body table,
.page-body table {
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: table !important;
    overflow: visible !important;
    white-space: normal !important;
}

.sb-content,
.post-body,
.page-body {
    overflow-x: visible !important;
}
/* ==========================================================
📝 FIX 11 - justify متن‌های سینگل محصول (هر دو لبه صاف)
چرا: پاراگراف‌ها الان start هستن و لبه چپ دندونه‌دار می‌افته
========================================================== */
/* توضیح خلاصه محصول (ستون بالای صفحه، کنار گالری) */
.sp-desc {
    text-align: justify;
    text-justify: inter-word;
    text-align-last: right;   /* خط آخر کش نیاد، سرِ جای خودش بمونه */
}

/* پاراگراف‌های بخش «توضیحات محصول» (خروجی the_content) */
.sp-description p {
    text-align: justify;
    text-justify: inter-word;
    text-align-last: right;
}

/* اگه داخل توضیحات لیست هم گذاشتی، اونم مرتب بشه */
.sp-description li {
    text-align: justify;
    text-justify: inter-word;
    text-align-last: right;
}

/* ===== کاتالوگ‌های چندگانه: فاصله بین بندهای پشت‌سرهم ===== */
.rpm-catalog-band + .rpm-catalog-band { margin-top: 18px; }



/* ==========================================================
   🗂️ معرفی دسته + کاتالوگ‌های دسته (آرشیو محصولات)
   پالت: طلایی #D4A017 + سرمه‌ای تیره + خاکستری روشن
========================================================== */

.rpm-cat-intro-section {
	padding: 45px 0 5px;
	background: #f7f8fa;
}

/* ---------- کارت توضیحات دسته ---------- */
.rpm-cat-intro {
	position: relative;
	background: #ffffff;
	border: 1px solid #eceff3;
	border-radius: 18px;
	padding: 30px 34px 32px;
	box-shadow: 0 12px 34px rgba(16, 26, 43, 0.06);
	overflow: hidden;
}

/* نوار طلایی بالای کارت — امضای بصری برند */
.rpm-cat-intro::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, #d4a017 0%, #f0c75a 50%, #d4a017 100%);
}

/* برچسب کوچک بالای بخش */
.rpm-cat-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
	color: #b8860b;
	background: rgba(212, 160, 23, 0.10);
	border: 1px solid rgba(212, 160, 23, 0.25);
	border-radius: 999px;
	padding: 6px 14px;
	margin-bottom: 16px;
}

.rpm-cat-eyebrow i {
	font-size: 14px;
}

/* ---------- بدنهٔ متن توضیحات ---------- */
.rpm-cat-intro-body {
	color: #4b5563;
	font-size: 15.5px;
	line-height: 2.15;
	text-align: right;
}

.rpm-cat-intro-body p {
	margin-bottom: 14px;
}

.rpm-cat-intro-body p:last-child {
	margin-bottom: 0;
}

.rpm-cat-intro-body h2,
.rpm-cat-intro-body h3,
.rpm-cat-intro-body h4 {
	color: #101a2b;
	font-weight: 800;
	font-size: 18px;
	margin: 24px 0 12px;
	padding-right: 12px;
	border-right: 3px solid #d4a017;
	line-height: 1.7;
}

.rpm-cat-intro-body strong,
.rpm-cat-intro-body b {
	color: #101a2b;
	font-weight: 700;
}

.rpm-cat-intro-body a {
	color: #b8860b;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px dashed rgba(184, 134, 11, 0.5);
}

.rpm-cat-intro-body a:hover {
	color: #d4a017;
	border-bottom-style: solid;
}

.rpm-cat-intro-body ul,
.rpm-cat-intro-body ol {
	padding-right: 22px;
	margin-bottom: 14px;
}

.rpm-cat-intro-body li {
	margin-bottom: 8px;
}

.rpm-cat-intro-body ul li::marker {
	color: #d4a017;
}

/* ---------- تصویر داخل توضیحات دسته ---------- */
.rpm-cat-intro-body img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 20px auto;
	border-radius: 14px;
	box-shadow: 0 10px 26px rgba(16, 26, 43, 0.12);
}

.rpm-cat-intro-body .wp-caption {
	max-width: 100%;
	margin: 20px auto;
	text-align: center;
}

.rpm-cat-intro-body .wp-caption img {
	margin: 0 auto 10px;
}

.rpm-cat-intro-body .wp-caption-text {
	font-size: 13px;
	color: #7b8794;
	line-height: 1.9;
}

/* ---------- بخش کاتالوگ‌های دسته ---------- */
.rpm-cat-catalogs {
	margin-top: 28px;
}

.rpm-cat-catalogs-head {
	margin-bottom: 18px;
	text-align: right;
}

.rpm-cat-catalogs-title {
	color: #101a2b;
	font-size: 21px;
	font-weight: 800;
	margin: 0 0 8px;
}

.rpm-cat-catalogs-desc {
	color: #6b7280;
	font-size: 14.5px;
	line-height: 2;
	margin: 0;
}

/* بندهای کاتالوگ همان کامپوننت سینگل محصول‌اند */
.rpm-cat-catalogs .sp-catalog-band {
	background: #ffffff;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 767.98px) {
	.rpm-cat-intro-section {
		padding: 28px 0 0;
	}

	.rpm-cat-intro {
		padding: 22px 18px 24px;
		border-radius: 14px;
	}

	.rpm-cat-intro-body {
		font-size: 14.5px;
		line-height: 2.05;
	}

	.rpm-cat-intro-body h2,
	.rpm-cat-intro-body h3,
	.rpm-cat-intro-body h4 {
		font-size: 16.5px;
	}

	.rpm-cat-catalogs-title {
		font-size: 18px;
	}
}