/* =====================================================
   PSPICO - استایل اصلی سایت
   شرکت پیشگامان راه و صنعت سیرجان
   ===================================================== */

/* ============================================
   ریست و تنظیمات پایه
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Tahoma, "Segoe UI", "Iranian Sans", sans-serif;
    color: #17283d;
    background: #fff;
    line-height: 1.8;
    font-size: 15px;
}

body.rtl {
    direction: rtl;
    text-align: right;
}

/* ============================================
   Products Page (صفحه لیست محصولات)
   ============================================ */

.products-hero {
    background: linear-gradient(135deg, #071b30, #0b5e9d);
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
}
/* ==========================================
   استایل‌های اسلایدر جدید (بنر و فروشگاه)
   ========================================== */
.hero-slider-section {
    width: 100%;
    background: #071f3b;
    padding: 20px 0;
    overflow: hidden;
}

.mainSlider {
    width: 88%;
    max-width: 1240px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.mainSlider .swiper-slide {
    position: relative;
    width: 100%;
    height: auto;
    line-height: 0;
}

.mainSlider .slide-inner {
    position: relative;
    width: 100%;
}

.mainSlider .slide-inner img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mainSlider .hero-banner-actions {
    position: absolute;
    inset-inline-start: max(4%, calc((100% - 1160px) / 2));
    bottom: 7%;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    line-height: 1.5;
    z-index: 10;
}

.mainSlider .hero-banner-actions .cta {
    background: #ffc400;
    border: 1px solid #ffc400;
    color: #102b4b;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 800;
}

.mainSlider .hero-banner-actions .ghost {
    background: rgba(5, 31, 59, .82);
    border: 1px solid rgba(255,255,255,.75);
    color: #fff;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 800;
}

.mainSlider .swiper-pagination {
    bottom: 15px !important;
}

.mainSlider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
    transition: all 0.3s;
}

.mainSlider .swiper-pagination-bullet-active {
    background: #ffc400;
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 850px) {
    .mainSlider {
        width: 96%;
    }
    .mainSlider .slide-inner img {
        max-height: none;
    }
    .mainSlider .hero-banner-actions {
        inset-inline-start: 4%;
        bottom: 4%;
        gap: 7px;
    }
    .mainSlider .hero-banner-actions .cta,
    .mainSlider .hero-banner-actions .ghost {
        padding: 7px 12px;
        font-size: 11px;
    }
}
.products-hero h1 {
    font-size: 42px;
    margin: 10px 0 15px;
    color: #fff;
}

.products-hero p {
    color: #dbe8f4;
    font-size: 14px;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* سایدبار فیلترها */
.products-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.filter-box {
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 14px;
    padding: 20px;
}

.filter-box h3 {
    font-size: 15px;
    color: #17283d;
    margin: 0 0 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f4f8;
    font-weight: 800;
}

.search-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1dce7;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    margin-bottom: 10px;
}

.search-input:focus {
    border-color: #0b64b1;
    box-shadow: 0 0 0 3px rgba(11, 100, 177, 0.1);
}

.cta.full-width {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* لیست فیلترها */
.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.filter-list li a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #4a5568;
    transition: all 0.2s;
    text-decoration: none;
}

.filter-list li a:hover {
    background: #f0f7ff;
    color: #0b64b1;
}

.filter-list li a.active {
    background: #0b64b1;
    color: #fff;
    font-weight: 700;
}

/* گرید محصولات */
.products-content {
    min-height: 400px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product {
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(12, 43, 75, 0.12);
    border-color: #0b64b1;
}

.product-link {
    display: block;
    text-decoration: none;
}

.product-img {
    height: 200px;
    background: linear-gradient(135deg, #f7f9fb, #eef4f9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s;
}

.product:hover .product-img img {
    transform: scale(1.08);
}

.image-placeholder {
    font-size: 60px;
    color: #a0b8d0;
}

.product-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product .tag {
    display: inline-block;
    background: #edf5fc;
    color: #0b64b1;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    align-self: flex-start;
}

.product h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #17283d;
    line-height: 1.5;
    /* محدود کردن به 2 خط */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.product h3 a {
    color: inherit;
    text-decoration: none;
}

.product h3 a:hover {
    color: #0b64b1;
}

.product p {
    font-size: 12px;
    color: #718096;
    line-height: 1.7;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product .cta {
    margin-top: auto;
    font-size: 12px;
    padding: 10px;
}

/* حالت خالی */
.no-products {
    text-align: center;
    padding: 80px 20px;
    background: #f7f9fb;
    border-radius: 14px;
    border: 1px dashed #d1dce7;
}

.no-products i {
    font-size: 60px;
    color: #a0b8d0;
    margin-bottom: 20px;
}

.no-products h3 {
    color: #17283d;
    font-size: 20px;
    margin: 0 0 10px;
}

.no-products p {
    color: #718096;
    margin-bottom: 20px;
}

/* ریسپانسیو */
@media (max-width: 1000px) {
    .products-layout {
        grid-template-columns: 240px 1fr;
        gap: 20px;
    }
    .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr;
    }
    .products-sidebar {
        position: static;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
}

body.ltr {
    direction: ltr;
    text-align: left;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   Container
   ============================================ */
.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

/* ============================================
   Topbar (نوار بالا)
   ============================================ */
.topbar {
    background: #0b1f35;
    color: #d9e4ef;
    font-size: 12px;
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.topbar-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.topbar-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   Language Switcher (دکمه تغییر زبان)
   ============================================ */
.lang-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px;
    border-radius: 6px;
}

.lang-switcher a {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #d9e4ef;
    transition: all 0.2s;
}

.lang-switcher a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.lang-switcher a.active {
    background: #0b64b1;
    color: #fff;
}

.lang-switcher .flag {
    margin-right: 4px;
}

body.ltr .lang-switcher .flag {
    margin-right: 0;
    margin-left: 4px;
}

/* ============================================
   Navigation (منوی اصلی)
   ============================================ */
.nav {
    background: #fff;
    border-bottom: 1px solid #e7edf3;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(11, 31, 53, 0.05);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 14px 0;
}

/* لوگو برند */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    text-decoration: none;
}

body.ltr .brand {
    margin-left: 0;
    margin-right: auto;
}

.brand-mark {
    background: linear-gradient(135deg, #0b4f91, #0b64b1);
    color: #fff;
    font-weight: 900;
    padding: 10px 12px;
    border-radius: 8px;
    letter-spacing: 1px;
    font-size: 16px;
    box-shadow: 0 3px 8px rgba(11, 100, 177, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-text b {
    color: #17283d;
    font-size: 14px;
}

.brand-text small {
    font-size: 9px;
    color: #718096;
    direction: ltr;
    letter-spacing: 0.5px;
}

/* منو */
.menu {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
}

.menu a {
    color: #17283d;
    padding: 5px 0;
    position: relative;
}

.menu a:hover {
    color: #0b64b1;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    height: 2px;
    background: #0b64b1;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.menu a:hover::after {
    transform: scaleX(1);
}

/* دکمه‌ها */
.cta {
    display: inline-block;
    background: linear-gradient(135deg, #0b64b1, #0b4f91);
    color: #fff;
    border: 0;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 3px 8px rgba(11, 100, 177, 0.25);
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 100, 177, 0.4);
}

.cta.small {
    padding: 8px 16px;
    font-size: 13px;
}

.ghost {
    display: inline-block;
    border: 1px solid #b8c7d8;
    padding: 11px 18px;
    border-radius: 8px;
    background: transparent;
    font-weight: 600;
    transition: all 0.3s;
}

.ghost:hover {
    background: rgba(11, 100, 177, 0.08);
    border-color: #0b64b1;
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    color: #17283d;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, #071b30 0%, #0b5e9d 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 211, 91, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 45px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    color: #f0b72f;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.35;
    margin: 12px 0 20px;
    font-weight: 800;
}

.hero p {
    color: #dbe8f4;
    max-width: 650px;
    font-size: 16px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero .ghost {
    border-color: #7da6c8;
    color: #fff;
}

.hero .ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffd35b;
    color: #ffd35b;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 18px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    backdrop-filter: blur(10px);
}

.pump-icon {
    font-size: 55px;
    line-height: 1;
}

.hero-card b {
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

.hero-card p {
    font-size: 13px;
    color: #cbd8e5;
    margin-bottom: 12px;
}

.hero-card a {
    color: #ffd35b;
    font-weight: 700;
    font-size: 13px;
}

.hero-card a:hover {
    color: #fff;
}

/* ============================================
   Trust Section (اعتماد)
   ============================================ */
.trust {
    background: #f7f9fb;
    border-bottom: 1px solid #e8eef4;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.trust-grid > div {
    padding: 24px 18px;
    border-left: 1px solid #e1e8ef;
}

.trust-grid > div:first-child {
    border-left: 0;
}

body.ltr .trust-grid > div {
    border-left: 0;
    border-right: 1px solid #e1e8ef;
}

body.ltr .trust-grid > div:first-child {
    border-right: 0;
}

.trust-grid b {
    display: block;
    font-size: 14px;
    color: #17283d;
    margin-bottom: 3px;
}

.trust-grid span {
    font-size: 12px;
    color: #718096;
}

/* ============================================
   Sections (بخش‌های اصلی)
   ============================================ */
.section {
    padding: 70px 0;
}

.section.alt {
    background: #f6f8fb;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
    gap: 20px;
}

body.ltr .section-head {
    flex-direction: row-reverse;
}

.section-head > div {
    flex: 1;
}

.section h2 {
    font-size: 30px;
    margin: 5px 0 0;
    color: #17283d;
    font-weight: 800;
}

.muted {
    color: #718096;
    font-size: 12px;
}

/* ============================================
   Brand Cards (کارت‌های برند)
   ============================================ */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.brand-card {
    border: 1px solid #e2e9f0;
    border-radius: 16px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(12, 43, 75, 0.05);
    transition: all 0.3s;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(12, 43, 75, 0.12);
    border-color: #0b64b1;
}

.brand-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.brand-logo.abara {
    color: #0b4f91;
}

.brand-logo.hyundai {
    color: #143f75;
}

.brand-card h3 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #17283d;
}

.brand-card p {
    color: #607086;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.brand-card a {
    color: #0b64b1;
    font-weight: 700;
    font-size: 13px;
}

.brand-card a:hover {
    color: #0b4f91;
}

/* ============================================
   Products (محصولات)
   ============================================ */
.search {
    width: 300px;
    border: 1px solid #ccd8e4;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.search:focus {
    border-color: #0b64b1;
    box-shadow: 0 0 0 3px rgba(11, 100, 177, 0.1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product {
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(12, 43, 75, 0.12);
    border-color: #0b64b1;
}

.product-img {
    height: 180px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
    border-bottom: 1px solid #eef4f9;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s;
}

.product:hover .product-img img {
    transform: scale(1.05);
}

.product-img.image-error::after {
    content: '🖼️';
    font-size: 42px;
    color: #a0b8d0;
}

.product-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product h3 {
    margin: 8px 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #17283d;
    line-height: 1.5;
}

.product p {
    font-size: 12px;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 12px;
    flex: 1;
}

.product .tag {
    display: inline-block;
    background: #edf5fc;
    color: #0b64b1;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    align-self: flex-start;
}

.product .cta {
    width: 100%;
    margin-top: auto;
    text-align: center;
    font-size: 13px;
    padding: 10px;
}

/* ============================================
   Assistant (دستیار هوشمند)
   ============================================ */
.assistant-section {
    background: #0c2036;
    color: #fff;
}

.assistant-section h2 {
    color: #fff;
}

.assistant {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.assistant p {
    color: #cbd8e5;
    line-height: 1.9;
    margin: 15px 0;
}

.assistant-note {
    background: #172f49;
    padding: 15px;
    border-radius: 8px;
    font-size: 12px;
    color: #dce7f0;
    line-height: 1.7;
    border-right: 3px solid #f0b72f;
}

body.ltr .assistant-note {
    border-right: 0;
    border-left: 3px solid #f0b72f;
}

.assistant-form {
    background: #fff;
    color: #17283d;
    padding: 28px;
    border-radius: 15px;
    display: grid;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.assistant-form label {
    font-size: 13px;
    font-weight: 700;
    color: #17283d;
}

.assistant-form select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1dce7;
    border-radius: 8px;
    background: #fff;
    margin-top: 6px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.assistant-form select:focus {
    border-color: #0b64b1;
    box-shadow: 0 0 0 3px rgba(11, 100, 177, 0.1);
}

.result {
    background: #eef7ff;
    border-right: 4px solid #0b64b1;
    padding: 15px;
    font-size: 13px;
    line-height: 1.8;
    border-radius: 6px;
    color: #17283d;
}

body.ltr .result {
    border-right: 0;
    border-left: 4px solid #0b64b1;
}

/* ============================================
   About (درباره ما)
   ============================================ */
.about {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.about p {
    color: #617184;
    line-height: 2;
    font-size: 15px;
}

/* ============================================
   Contact (تماس با ما)
   ============================================ */
.contact-section {
    background: #f6f8fb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form {
    background: #fff;
    color: #17283d;
    padding: 30px;
    border-radius: 15px;
    display: grid;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(12, 43, 75, 0.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1dce7;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0b64b1;
    box-shadow: 0 0 0 3px rgba(11, 100, 177, 0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.success {
    font-size: 13px;
    color: #157347;
    background: #e9f7ef;
    padding: 12px;
    border-radius: 8px;
    border-right: 3px solid #157347;
}

body.ltr .success {
    border-right: 0;
    border-left: 3px solid #157347;
}

/* ============================================
   Modal (پنجره شناور استعلام قیمت)
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 31, 53, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 18px;
    max-width: 480px;
    width: 100%;
    padding: 35px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f0f4f8;
    border: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    color: #718096;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

body.ltr .modal-close {
    left: auto;
    right: 15px;
}

.modal-close:hover {
    background: #e2e9f0;
    color: #17283d;
}

.modal h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #17283d;
}

.modal-subtitle {
    font-size: 13px;
    color: #718096;
    margin-bottom: 22px;
    line-height: 1.7;
}

.modal-form {
    display: grid;
    gap: 15px;
}

.modal-form label {
    font-size: 13px;
    font-weight: 700;
    color: #17283d;
    display: block;
    margin-bottom: 6px;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1dce7;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.modal-form input:focus,
.modal-form textarea:focus {
    border-color: #0b64b1;
    box-shadow: 0 0 0 3px rgba(11, 100, 177, 0.1);
}

.modal-form .required {
    color: #e53e3e;
    margin-right: 3px;
}

/* دکمه‌های تماس سریع */
.contact-methods {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.contact-methods a {
    flex: 1;
    min-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s;
}

.contact-methods .whatsapp {
    background: #25D366;
}

.contact-methods .whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.contact-methods .telegram {
    background: #0088cc;
}

.contact-methods .telegram:hover {
    background: #006699;
    transform: translateY(-2px);
}

.contact-methods .phone {
    background: #0b64b1;
}

.contact-methods .phone:hover {
    background: #0b4f91;
    transform: translateY(-2px);
}

/* ============================================
   Footer (فوتر)
   ============================================ */
.footer {
    background: #081b2d;
    color: #c8d5e2;
    padding: 50px 0 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    font-size: 35px;
    color: #fff;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-grid b {
    display: block;
    color: #fff;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-grid a,
.footer-grid span {
    display: block;
    font-size: 13px;
    margin: 6px 0;
    color: #c8d5e2;
    transition: color 0.2s;
}

.footer-grid a:hover {
    color: #ffd35b;
}

.footer p {
    font-size: 13px;
    line-height: 1.8;
}

.copyright {
    text-align: center;
    border-top: 1px solid #19334c;
    margin-top: 35px;
    padding-top: 18px;
    font-size: 12px;
    color: #8295a8;
}

/* ============================================
   Social Icons (شبکه‌های اجتماعی)
   ============================================ */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s;
    margin: 0 !important;
}

.social-icons a:hover {
    background: #0b64b1;
    transform: translateY(-3px);
}

/* ============================================
   Responsive (واکنش‌گرایی)
   ============================================ */
@media (max-width: 850px) {
    .menu {
        display: none;
    }
    
    .menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }
    
    .menu-btn {
        display: block;
    }
    
    .nav-inner .cta.small {
        margin-right: auto;
    }
    
    body.ltr .nav-inner .cta.small {
        margin-right: 0;
        margin-left: auto;
    }
    
    .hero-grid,
    .assistant,
    .contact-grid,
    .about {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brand-grid {
        grid-template-columns: 1fr;
    }
    
    .topbar-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    
    body.ltr .section-head {
        flex-direction: column;
    }
    
    .search {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid > div {
        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 1px solid #e1e8ef;
    }
    
    .hero {
        padding: 55px 0;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions > * {
        text-align: center;
        width: 100%;
    }
    
    .nav-inner {
        gap: 8px;
    }
    
    .brand-text {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .modal {
        padding: 25px 20px;
    }
}
/* ============================================
   Page Header (سرصفحه صفحات داخلی)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #071b30 0%, #0b5e9d 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.page-header .eyebrow {
    display: block;
    margin-bottom: 8px;
}

.page-header h1 {
    font-size: 38px;
    margin: 8px 0;
    font-weight: 800;
}

.page-header p {
    font-size: 14px;
    color: #cbd8e5;
    margin: 0;
}

/* ============================================
   Products Layout (چیدمان صفحه محصولات)
   ============================================ */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

body.ltr .products-layout {
    grid-template-columns: 1fr 260px;
}

/* ============================================
   Products Sidebar (نوار کنار فیلترها)
   ============================================ */
.products-sidebar {
    position: sticky;
    top: 90px;
}

.filter-box {
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(12, 43, 75, 0.04);
}

.filter-box h3 {
    font-size: 15px;
    color: #17283d;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef4f9;
    font-weight: 700;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin: 3px 0;
}

.filter-list a {
    display: block;
    padding: 8px 12px;
    color: #4a5568;
    font-size: 13px;
    border-radius: 6px;
    transition: all 0.2s;
}

.filter-list a:hover {
    background: #f0f7ff;
    color: #0b64b1;
}

.filter-list a.active {
    background: #0b64b1;
    color: #fff;
    font-weight: 700;
}

/* ============================================
   Products Main (بخش اصلی محصولات)
   ============================================ */
.products-main {
    min-height: 400px;
}

/* ============================================
   Product Placeholder (جای عکس)
   ============================================ */
.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 52px;
    color: #a0b8d0;
    background: linear-gradient(135deg, #eef4f9, #d9e5ef);
}

/* ============================================
   Empty State (حالت خالی)
   ============================================ */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 15px;
}

.empty-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.empty-state h3 {
    font-size: 22px;
    color: #17283d;
    margin: 15px 0;
}

.empty-state p {
    color: #718096;
    margin-bottom: 20px;
}

/* ============================================
   Pagination (صفحه‌بندی)
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #d1dce7;
    border-radius: 8px;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.page-link:hover {
    background: #f0f7ff;
    border-color: #0b64b1;
    color: #0b64b1;
}

.page-link.active {
    background: #0b64b1;
    border-color: #0b64b1;
    color: #fff;
}

/* ============================================
   Responsive (واکنش‌گرایی صفحه محصولات)
   ============================================ */
@media (max-width: 850px) {
    .products-layout,
    body.ltr .products-layout {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        position: static;
    }
    
    .filter-box {
        margin-bottom: 15px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
}
/* ============================================
   Breadcrumb (مسیر ناوبری)
   ============================================ */
.breadcrumb-bar {
    background: #f6f8fb;
    border-bottom: 1px solid #e2e9f0;
    padding: 15px 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #718096;
}

.breadcrumb a {
    color: #0b64b1;
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #a0b0c0;
}

.breadcrumb .current {
    color: #17283d;
    font-weight: 700;
}

/* ============================================
   Product Detail (جزئیات محصول)
   ============================================ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    border: 1px solid #e2e9f0;
    box-shadow: 0 8px 30px rgba(12, 43, 75, 0.06);
    margin-bottom: 50px;
}

/* ============ گالری ============ */
.product-detail-gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f6f9fc, #e8eff7);
    border-radius: 15px;
    border: 1px solid #e2e9f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 30px;
    position: relative;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-placeholder-large {
    font-size: 120px;
    color: #a0b8d0;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #e2e9f0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #f6f9fc;
}

.thumbnail:hover {
    border-color: #0b64b1;
    transform: translateY(-2px);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============ اطلاعات ============ */
.product-detail-info {
    padding-top: 10px;
}

.product-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-detail-tags .tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: #edf5fc;
    color: #0b64b1;
    border: 1px solid #d0e5f5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-detail-tags .tag:hover {
    background: #d0e5f5;
}

.product-detail-tags .tag-brand {
    background: #0b64b1;
    color: #fff;
    border-color: #0b64b1;
}

.product-detail-tags .tag-brand:hover {
    background: #0b4f91;
}

.product-detail-tags .tag-success {
    background: #e9f7ef;
    color: #157347;
    border-color: #c3e6cb;
}

.product-detail-tags .tag-danger {
    background: #fff5f5;
    color: #c53030;
    border-color: #feb2b2;
}

.product-detail-title {
    font-size: 32px;
    font-weight: 800;
    color: #17283d;
    line-height: 1.4;
    margin: 0 0 15px;
}

.product-detail-model {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #718096;
    padding: 12px 15px;
    background: #f6f9fc;
    border-radius: 8px;
    margin-bottom: 20px;
    border-right: 3px solid #0b64b1;
}

body.ltr .product-detail-model {
    border-right: 0;
    border-left: 3px solid #0b64b1;
}

.product-detail-model b {
    color: #17283d;
    font-family: monospace;
    font-size: 15px;
    letter-spacing: 1px;
}

.product-detail-description {
    color: #4a5568;
    line-height: 2;
    font-size: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eef4f9;
}

.product-detail-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.cta-large {
    padding: 16px 32px;
    font-size: 15px;
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-detail-contact {
    background: #f6f9fc;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #e2e9f0;
}

.product-detail-contact p {
    margin: 8px 0;
    font-size: 14px;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-detail-contact i {
    color: #0b64b1;
    width: 18px;
    text-align: center;
}

/* ============================================
   Specifications (مشخصات فنی)
   ============================================ */
.product-specs-section {
    background: #fff;
    padding: 35px;
    border-radius: 18px;
    border: 1px solid #e2e9f0;
    margin-bottom: 50px;
    box-shadow: 0 4px 15px rgba(12, 43, 75, 0.04);
}

.product-specs-section h2 {
    font-size: 24px;
    color: #17283d;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef4f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-specs-section h2 i {
    color: #0b64b1;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #e2e9f0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e9f0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    transition: background 0.2s;
    gap: 15px;
}

.spec-item:hover {
    background: #f6f9fc;
}

.spec-key {
    font-weight: 700;
    color: #4a5568;
    font-size: 14px;
    flex-shrink: 0;
}

.spec-value {
    color: #17283d;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

body.ltr .spec-value {
    text-align: right;
}

/* ============================================
   Related Products (محصولات مشابه)
   ============================================ */
.related-products {
    margin-top: 50px;
}

.related-products h2 {
    font-size: 24px;
    color: #17283d;
    margin: 0 0 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-products h2 i {
    color: #0b64b1;
}

/* ============================================
   Responsive (واکنش‌گرایی)
   ============================================ */
@media (max-width: 850px) {
    .product-detail {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 30px;
    }
    
    .product-detail-gallery {
        position: static;
    }
    
    .product-detail-title {
        font-size: 24px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .product-specs-section {
        padding: 25px 20px;
    }
    
    .cta-large {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .product-detail {
        padding: 20px 15px;
    }
    
    .product-detail-title {
        font-size: 20px;
    }
    
    .product-placeholder-large {
        font-size: 80px;
    }
}
/* ============================================
   About Intro (معرفی شرکت)
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-intro-text h2 {
    font-size: 32px;
    color: #17283d;
    margin: 10px 0 20px;
    font-weight: 800;
}

.about-intro-text p {
    color: #4a5568;
    line-height: 2;
    font-size: 15px;
    margin-bottom: 18px;
}

.about-intro-text b {
    color: #0b64b1;
}

.about-intro-card {
    background: linear-gradient(135deg, #071b30 0%, #0b5e9d 100%);
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    box-shadow: 0 15px 40px rgba(7, 27, 48, 0.2);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: #ffd35b;
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: #cbd8e5;
    margin-top: 5px;
}

/* ============================================
   Mission & Vision (مأموریت و چشم‌انداز)
   ============================================ */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.mv-card {
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(12, 43, 75, 0.04);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(12, 43, 75, 0.12);
    border-color: #0b64b1;
}

.mv-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b64b1, #0b4f91);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(11, 100, 177, 0.25);
}

.mv-card h3 {
    font-size: 20px;
    color: #17283d;
    margin: 0 0 12px;
    font-weight: 800;
}

.mv-card p {
    color: #4a5568;
    line-height: 1.9;
    font-size: 14px;
    margin: 0;
}

/* ============================================
   Features Grid (ویژگی‌ها)
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(12, 43, 75, 0.1);
    border-color: #0b64b1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #edf5fc;
    color: #0b64b1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #0b64b1, #0b4f91);
    color: #fff;
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 15px;
    color: #17283d;
    margin: 0 0 10px;
    font-weight: 800;
}

.feature-card p {
    color: #718096;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CTA Section (دعوت به اقدام)
   ============================================ */
.cta-section {
    background: #f6f8fb;
}

.cta-box {
    background: linear-gradient(135deg, #071b30 0%, #0b5e9d 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 50px rgba(7, 27, 48, 0.2);
}

.cta-box h2 {
    font-size: 28px;
    margin: 0 0 15px;
    font-weight: 800;
    color: #fff;
}

.cta-box p {
    font-size: 15px;
    color: #cbd8e5;
    margin: 0 0 25px;
}

.cta-box-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-box .ghost-light {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 22px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-box .ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffd35b;
    color: #ffd35b;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 850px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-intro-text h2 {
        font-size: 26px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-box {
        padding: 35px 25px;
    }
    
    .cta-box h2 {
        font-size: 22px;
    }
}

@media (max-width: 520px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box-actions > * {
        width: 100%;
        text-align: center;
    }
}
/* ============================================
   Contact Cards (کارت‌های تماس)
   ============================================ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(12, 43, 75, 0.04);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(12, 43, 75, 0.12);
    border-color: #0b64b1;
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b64b1, #0b4f91);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(11, 100, 177, 0.25);
    transition: all 0.3s;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.contact-card h3 {
    font-size: 16px;
    color: #17283d;
    margin: 0 0 12px;
    font-weight: 800;
}

.contact-card p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

.contact-card a {
    color: #0b64b1;
    font-weight: 700;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ============================================
   Contact Layout (چیدمان تماس)
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 35px;
    align-items: start;
}

/* ============================================
   Contact Form (فرم تماس)
   ============================================ */
.contact-form-wrapper {
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    border: 1px solid #e2e9f0;
    box-shadow: 0 8px 25px rgba(12, 43, 75, 0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #17283d;
    margin-bottom: 8px;
    display: block;
}

.form-group label .required {
    color: #e53e3e;
    margin-right: 3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d1dce7;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: #fff;
    color: #17283d;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0b64b1;
    box-shadow: 0 0 0 4px rgba(11, 100, 177, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.8;
}

.contact-form .cta-large {
    margin-top: 10px;
}

/* ============================================
   Quick Contact (تماس سریع)
   ============================================ */
.quick-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.quick-contact-box {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    border: 1px solid #e2e9f0;
    box-shadow: 0 8px 25px rgba(12, 43, 75, 0.06);
}

.quick-contact-box h3 {
    font-size: 17px;
    color: #17283d;
    margin: 0 0 10px;
    font-weight: 800;
}

.quick-contact-box > p {
    color: #718096;
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 20px;
}

.quick-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 18px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    border: 0;
}

.quick-btn i {
    font-size: 26px;
    width: 30px;
    text-align: center;
}

.quick-btn div {
    display: flex;
    flex-direction: column;
    text-align: right;
}

body.ltr .quick-btn div {
    text-align: left;
}

.quick-btn b {
    font-size: 14px;
    font-weight: 800;
}

.quick-btn span {
    font-size: 12px;
    opacity: 0.9;
}

.quick-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #1da851);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.quick-btn.whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.quick-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

.quick-btn.telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}

.quick-btn.phone {
    background: linear-gradient(135deg, #0b64b1, #0b4f91);
    box-shadow: 0 5px 15px rgba(11, 100, 177, 0.3);
}

.quick-btn.phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11, 100, 177, 0.4);
}

/* ============================================
   Working Hours (ساعات کاری)
   ============================================ */
.working-hours {
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    border: 1px solid #e2e9f0;
    box-shadow: 0 8px 25px rgba(12, 43, 75, 0.06);
}

.working-hours h3 {
    font-size: 15px;
    color: #17283d;
    margin: 0 0 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.working-hours h3 i {
    color: #0b64b1;
}

.working-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.working-hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eef4f9;
    font-size: 13px;
}

.working-hours li:last-child {
    border-bottom: 0;
}

.working-hours li span {
    color: #4a5568;
}

.working-hours li b {
    color: #17283d;
    font-weight: 700;
}

/* ============================================
   Map Section (نقشه)
   ============================================ */
.map-section {
    padding: 0 0 70px;
}

.map-wrapper {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e9f0;
    box-shadow: 0 8px 30px rgba(12, 43, 75, 0.06);
}

.map-placeholder {
    padding: 60px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f6f9fc, #e8eff7);
}

.map-placeholder i {
    font-size: 60px;
    color: #0b64b1;
    margin-bottom: 20px;
    display: block;
}

.map-placeholder h3 {
    font-size: 22px;
    color: #17283d;
    margin: 0 0 15px;
    font-weight: 800;
}

.map-placeholder p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.8;
    margin: 8px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.map-placeholder .cta {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 850px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .quick-contact {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
}

@media (max-width: 520px) {
    .contact-card {
        padding: 25px 20px;
    }
    
    .contact-card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* ============================================
   Contact Page (صفحه تماس با ما)
   ============================================ */

.contact-page {
    background: #f7f9fb;
}

.contact-info-box,
.contact-form-box {
    background: #fff;
    padding: 35px 30px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(12, 43, 75, 0.07);
    border: 1px solid #e8eef4;
}

.contact-info-box h3,
.contact-form-box h3 {
    font-size: 20px;
    color: #17283d;
    margin: 0 0 10px;
    font-weight: 800;
}

.contact-desc {
    color: #718096;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 22px;
}

/* آیتم‌های اطلاعات تماس */
.contact-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f4f8;
    align-items: flex-start;
}

.contact-item:last-of-type {
    border-bottom: 0;
}

.contact-item i {
    font-size: 20px;
    color: #0b64b1;
    width: 26px;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item > div {
    flex: 1;
}

.contact-item b {
    display: block;
    font-size: 12px;
    color: #718096;
    font-weight: 700;
    margin-bottom: 3px;
}

.contact-item span {
    display: block;
    font-size: 14px;
    color: #17283d;
    line-height: 1.7;
    word-break: break-word;
}

/* راه‌های ارتباط سریع */
.quick-contact-title {
    font-size: 14px;
    color: #17283d;
    font-weight: 800;
    margin: 28px 0 14px;
    padding-top: 20px;
    border-top: 1px solid #f0f4f8;
}

.quick-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s;
    font-size: 13px;
}

.quick-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body.ltr .quick-btn:hover {
    transform: translateX(5px);
}

.quick-btn i {
    font-size: 22px;
    width: 28px;
    text-align: center;
}

.quick-btn div {
    flex: 1;
}

.quick-btn b {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.quick-btn small {
    display: block;
    font-size: 11px;
    opacity: 0.85;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.phone-btn {
    background: linear-gradient(135deg, #0b64b1, #0b4f91);
}

/* ساعات کاری */
.work-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 18px;
    background: #f7f9fb;
    border-radius: 10px;
    border-right: 3px solid #0b64b1;
}

body.ltr .work-hours {
    border-right: 0;
    border-left: 3px solid #0b64b1;
}

.work-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 5px 0;
}

.work-hours-row span {
    color: #4a5568;
}

.work-hours-row b {
    color: #17283d;
    font-weight: 700;
}

.work-hours-row.closed b {
    color: #e53e3e;
}

/* فرم تماس */
.contact-form {
    display: grid;
    gap: 18px;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 13px;
    font-weight: 700;
    color: #17283d;
    margin-bottom: 8px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1dce7;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0b64b1;
    box-shadow: 0 0 0 3px rgba(11, 100, 177, 0.1);
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.cta.full-width {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 850px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FAQ Page (صفحه سوالات متداول)
   ============================================ */

.page-hero {
    background: linear-gradient(135deg, #071b30, #0b5e9d);
    color: #fff;
    padding: 60px 0 50px;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    margin: 10px 0 15px;
    color: #fff;
    font-weight: 800;
}

.page-hero p {
    color: #dbe8f4;
    font-size: 16px;
    margin: 0;
}

/* جستجو در FAQ */
.faq-search {
    max-width: 600px;
    margin: 0 auto 40px;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #d1dce7;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
    background: #fff;
}

.faq-search input:focus {
    border-color: #0b64b1;
    box-shadow: 0 0 0 4px rgba(11, 100, 177, 0.1);
}

/* لیست FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #0b64b1;
    box-shadow: 0 5px 20px rgba(11, 100, 177, 0.08);
}

.faq-item.active {
    border-color: #0b64b1;
    box-shadow: 0 8px 30px rgba(11, 100, 177, 0.15);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 15px;
    color: #17283d;
    transition: background 0.3s;
    user-select: none;
}

.faq-question:hover {
    background: #f7f9fb;
}

.faq-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: #edf5fc;
    color: #0b64b1;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.3s;
}

.faq-item.active .faq-number {
    background: #0b64b1;
    color: #fff;
}

.faq-text {
    flex: 1;
    line-height: 1.6;
}

.faq-icon {
    font-size: 22px;
    color: #0b64b1;
    font-weight: 300;
    width: 24px;
    text-align: center;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f7f9fb;
    color: #4a5568;
    font-size: 14px;
    line-height: 2;
    padding: 0 25px;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    border-top-color: #e2e9f0;
}

/* بخش تماس پایین FAQ */
.faq-cta {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px 30px;
    background: linear-gradient(135deg, #0c2036, #0b4f91);
    border-radius: 18px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(11, 79, 145, 0.2);
}

.faq-cta h3 {
    font-size: 24px;
    margin: 0 0 10px;
    color: #fff;
    font-weight: 800;
}

.faq-cta p {
    color: #cbd8e5;
    margin: 0 0 25px;
    font-size: 15px;
}

.faq-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.faq-cta-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    color: #fff;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.btn-phone {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-phone:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.faq-cta-buttons .cta {
    background: #f0b72f;
    color: #17283d;
}

.faq-cta-buttons .cta:hover {
    background: #e0a720;
    transform: translateY(-2px);
}

/* ریسپانسیو FAQ */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 30px;
    }
    
    .faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }
    
    .faq-number {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .faq-answer {
        font-size: 13px;
    }
    
    .faq-item.active .faq-answer {
        padding: 16px 18px;
    }
    
    .faq-cta {
        padding: 30px 20px;
    }
    
    .faq-cta h3 {
        font-size: 20px;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
    }
    
    .faq-cta-buttons a {
        justify-content: center;
        width: 100%;
    }
}

/* ============================================
   About Page (صفحه درباره ما)
   ============================================ */

.about-hero {
    background: linear-gradient(135deg, #071b30, #0b5e9d);
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
}

.about-hero h1 {
    font-size: 38px;
    margin: 10px 0 15px;
    color: #fff;
    font-weight: 800;
    line-height: 1.4;
}

.about-hero p {
    color: #dbe8f4;
    font-size: 16px;
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
}

/* درباره شرکت */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    color: #17283d;
    margin: 10px 0 25px;
    font-weight: 800;
}

.about-content p {
    color: #4a5568;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 18px;
}

.about-content strong {
    color: #0b64b1;
    font-weight: 800;
}

/* کارت‌های آمار */
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e9f0;
    box-shadow: 0 8px 25px rgba(12, 43, 75, 0.06);
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(11, 100, 177, 0.15);
    border-color: #0b64b1;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: #0b64b1;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #718096;
    font-weight: 600;
}

/* مأموریت و چشم‌انداز */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.mv-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 18px;
    border: 1px solid #e2e9f0;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(12, 43, 75, 0.05);
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(12, 43, 75, 0.12);
    border-color: #0b64b1;
}

.mv-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}

.mv-icon.mission {
    background: linear-gradient(135deg, #0b64b1, #0b4f91);
}

.mv-icon.vision {
    background: linear-gradient(135deg, #F57C00, #E65100);
}

.mv-icon.values {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.mv-card h3 {
    font-size: 20px;
    color: #17283d;
    margin: 0 0 15px;
    font-weight: 800;
}

.mv-card p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

/* چرا ما */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #e2e9f0;
    transition: all 0.3s;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(12, 43, 75, 0.1);
    border-color: #0b64b1;
}

.why-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: #edf5fc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0b64b1;
    flex-shrink: 0;
}

.why-item h4 {
    font-size: 16px;
    color: #17283d;
    margin: 0 0 8px;
    font-weight: 800;
}

.why-item p {
    color: #718096;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

/* برندها */
.brands-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.brand-showcase-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    border: 2px solid #e2e9f0;
    transition: all 0.3s;
}

.brand-showcase-item:hover {
    transform: translateY(-8px);
    border-color: #0b64b1;
    box-shadow: 0 15px 40px rgba(11, 100, 177, 0.15);
}

.brand-showcase-item .brand-logo {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.brand-showcase-item .brand-logo.abara {
    color: #0b4f91;
}

.brand-showcase-item .brand-logo.hyundai {
    color: #143f75;
}

.brand-showcase-item h3 {
    font-size: 22px;
    color: #17283d;
    margin: 0 0 10px;
    font-weight: 800;
}

.brand-showcase-item p {
    color: #718096;
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

/* CTA پایانی */
.about-cta-section {
    background: #f6f8fb;
}

.about-cta {
    background: linear-gradient(135deg, #0c2036, #0b4f91);
    color: #fff;
    padding: 60px 40px;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(11, 79, 145, 0.25);
}

.about-cta h2 {
    font-size: 30px;
    color: #fff;
    margin: 0 0 15px;
    font-weight: 800;
}

.about-cta p {
    color: #cbd8e5;
    font-size: 16px;
    margin: 0 0 30px;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.about-cta-buttons .cta {
    background: #f0b72f;
    color: #17283d;
    padding: 14px 28px;
    font-size: 15px;
}

.about-cta-buttons .cta:hover {
    background: #e0a720;
    transform: translateY(-2px);
}

.about-cta-buttons .ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 13px 28px;
    font-size: 15px;
}

.about-cta-buttons .ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ریسپانسیو */
@media (max-width: 1000px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .why-grid,
    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 26px;
    }
    .about-hero p {
        font-size: 14px;
    }
    .about-content h2 {
        font-size: 24px;
    }
    .stat-number {
        font-size: 32px;
    }
    .mv-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    .brands-showcase {
        grid-template-columns: 1fr;
    }
    .about-cta {
        padding: 40px 25px;
    }
    .about-cta h2 {
        font-size: 22px;
    }
    .about-cta-buttons {
        flex-direction: column;
    }
    .about-cta-buttons > * {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Blog Page (وبلاگ)
   ============================================ */

/* Hero وبلاگ */
.blog-hero {
    background: linear-gradient(135deg, #071b30, #0b5e9d);
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 42px;
    margin: 10px 0 15px;
    color: #fff;
    font-weight: 800;
}

.blog-hero p {
    color: #dbe8f4;
    font-size: 16px;
    margin: 0;
}

/* فیلترها */
.blog-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #d1dce7;
    border-radius: 25px;
    color: #4a5568;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: #0b64b1;
    color: #0b64b1;
}

.filter-btn.active {
    background: #0b64b1;
    color: #fff;
    border-color: #0b64b1;
}

.filter-btn .count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

/* گرید مقالات */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.post-card {
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(12, 43, 75, 0.12);
    border-color: #0b64b1;
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-image {
    height: 200px;
    background: linear-gradient(135deg, #f7f9fb, #eef4f9);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-placeholder {
    font-size: 60px;
    color: #a0b8d0;
}

.post-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(11, 100, 177, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.post-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f0b72f;
    color: #17283d;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.post-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #718096;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-body h3 {
    font-size: 16px;
    color: #17283d;
    margin: 0;
    line-height: 1.6;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-body p {
    font-size: 13px;
    color: #718096;
    line-height: 1.8;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: #0b64b1;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.post-card:hover .read-more {
    gap: 12px;
}

/* صفحه‌بندی */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #d1dce7;
    border-radius: 10px;
    color: #4a5568;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.page-link:hover {
    background: #0b64b1;
    color: #fff;
    border-color: #0b64b1;
}

.page-link.active {
    background: #0b64b1;
    color: #fff;
    border-color: #0b64b1;
}

/* ============================================
   Single Post (صفحه مقاله)
   ============================================ */

.post-hero {
    background: linear-gradient(135deg, #071b30, #0b5e9d);
    color: #fff;
    padding: 50px 0 40px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #a0b8d0;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #dbe8f4;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
}

.post-category-badge {
    display: inline-block;
    background: #f0b72f;
    color: #17283d;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 15px;
}

.post-hero h1 {
    font-size: 36px;
    line-height: 1.5;
    margin: 15px 0 25px;
    color: #fff;
    font-weight: 800;
}

.post-hero-meta {
    display: flex;
    gap: 25px;
    font-size: 13px;
    color: #dbe8f4;
    flex-wrap: wrap;
}

.post-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Layout مقاله */
.post-container {
    padding: 50px 0;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.post-content-box {
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(12, 43, 75, 0.05);
}

.post-featured-img {
    margin: -40px -40px 30px;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

.post-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    color: #4a5568;
    font-size: 15px;
    line-height: 2.1;
}

.post-content h2 {
    color: #17283d;
    font-size: 22px;
    margin: 35px 0 15px;
    font-weight: 800;
    padding-bottom: 10px;
    border-bottom: 2px solid #edf5fc;
}

.post-content h3 {
    color: #17283d;
    font-size: 18px;
    margin: 25px 0 12px;
    font-weight: 700;
}

.post-content p {
    margin: 0 0 18px;
}

.post-content ul,
.post-content ol {
    margin: 15px 0 20px;
    padding-right: 25px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content strong {
    color: #0b64b1;
    font-weight: 800;
}

.post-content a {
    color: #0b64b1;
    text-decoration: underline;
}

/* اشتراک‌گذاری */
.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eef4f9;
    flex-wrap: wrap;
}

.post-share > span {
    color: #718096;
    font-size: 13px;
    font-weight: 700;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn.whatsapp { background: #25D366; }
.share-btn.telegram { background: #0088cc; }
.share-btn.copy { background: #718096; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* سایدبار مقاله */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: #fff;
    border: 1px solid #e2e9f0;
    border-radius: 16px;
    padding: 25px;
}

.sidebar-box h3 {
    font-size: 16px;
    color: #17283d;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef4f9;
    font-weight: 800;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-post {
    display: flex;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s;
    padding: 8px;
    border-radius: 10px;
}

.related-post:hover {
    background: #f7f9fb;
}

.related-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    color: #a0b8d0;
    font-size: 24px;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-body {
    flex: 1;
}

.related-body h4 {
    font-size: 13px;
    color: #17283d;
    margin: 0 0 5px;
    line-height: 1.5;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-body span {
    font-size: 11px;
    color: #718096;
}

/* CTA سایدبار */
.cta-box {
    background: linear-gradient(135deg, #0c2036, #0b4f91);
    color: #fff;
}

.cta-box h3 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.cta-box p {
    color: #cbd8e5;
    font-size: 13px;
    margin: 0 0 20px;
    line-height: 1.8;
}

.btn-whatsapp.full-width {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #25D366;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-whatsapp.full-width:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.cta.full-width {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px;
    text-decoration: none;
}

/* بازگشت */
.post-back {
    text-align: center;
    margin-top: 40px;
}

.post-back .cta.ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ریسپانسیو */
@media (max-width: 1000px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .post-layout {
        grid-template-columns: 1fr;
    }
    .post-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 28px;
    }
    .post-hero h1 {
        font-size: 24px;
    }
    .posts-grid {
        grid-template-columns: 1fr;
    }
    .post-content-box {
        padding: 25px 20px;
    }
    .post-featured-img {
        margin: -25px -20px 20px;
    }
    .post-hero-meta {
        gap: 15px;
        font-size: 12px;
    }
    .post-content {
        font-size: 14px;
    }
    .post-content h2 {
        font-size: 18px;
    }
    .pagination {
        gap: 5px;
    }
    .page-link {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ============================================
   Inquiry View & Reply (مشاهده و پاسخ استعلام)
   ============================================ */

.inquiry-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 25px;
    align-items: start;
}

.inquiry-info,
.inquiry-reply {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* اطلاعات مشتری */
.info-row {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid #f0f4f8;
    align-items: center;
}

.info-row:last-child {
    border-bottom: 0;
}

.info-label {
    width: 160px;
    color: #718096;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
    color: #17283d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

.info-value.highlight {
    background: #edf5fc;
    color: #0b64b1;
    padding: 8px 12px;
    border-radius: 8px;
    border-right: 3px solid #0b64b1;
}

.contact-link {
    color: #0b64b1;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.contact-link:hover {
    color: #0b4f91;
    text-decoration: underline;
}

/* اقدامات سریع */
.quick-actions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    background: #f7f9fb;
    color: #17283d;
    border: 1px solid #e2e9f0;
}

.btn-action:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(11, 100, 177, 0.15);
}

body.ltr .btn-action:hover {
    transform: translateX(5px);
}

.btn-action i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.btn-action.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-color: transparent;
}

.btn-action.whatsapp:hover {
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-action.phone {
    background: linear-gradient(135deg, #0b64b1, #0b4f91);
    color: #fff;
    border-color: transparent;
}

.btn-action.phone:hover {
    box-shadow: 0 5px 15px rgba(11, 100, 177, 0.3);
}

/* قالب‌های آماده */
.templates-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f4f8;
}

.templates-section > label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #17283d;
    margin-bottom: 12px;
}

.templates-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.template-btn {
    padding: 8px 14px;
    border: 1px solid #d1dce7;
    border-radius: 20px;
    background: #fff;
    color: #4a5568;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.template-btn:hover {
    background: #edf5fc;
    border-color: #0b64b1;
    color: #0b64b1;
    transform: translateY(-2px);
}

.template-btn.clear {
    background: #fff5f5;
    border-color: #feb2b2;
    color: #c53030;
}

.template-btn.clear:hover {
    background: #fed7d7;
    border-color: #c53030;
}

/* فرم پاسخ */
#replyForm {
    display: grid;
    gap: 18px;
}

#replyForm .form-group {
    display: flex;
    flex-direction: column;
}

#replyForm label {
    font-size: 13px;
    font-weight: 700;
    color: #17283d;
    margin-bottom: 8px;
}

#replyForm input[type="text"],
#replyForm textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1dce7;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: #fff;
    line-height: 1.8;
}

#replyForm input[type="text"]:focus,
#replyForm textarea:focus {
    border-color: #0b64b1;
    box-shadow: 0 0 0 3px rgba(11, 100, 177, 0.1);
}

#replyForm textarea {
    min-height: 250px;
    resize: vertical;
    font-size: 13px;
    line-height: 1.9;
}

#replyForm small {
    display: block;
    margin-top: 5px;
    color: #718096;
    font-size: 11px;
}

#replyForm .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4a5568;
    cursor: pointer;
    padding: 10px;
    background: #f7f9fb;
    border-radius: 8px;
}

#replyForm .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0b64b1;
}

.form-actions {
    margin-top: 10px;
}

.form-actions .btn-primary.full-width {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* دکمه سبز */
.btn-success {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: #fff !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #1da851, #0e6b5f) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* دکمه‌های جدول */
.table-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.table-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    padding: 0;
}

.btn-primary {
    background: #0b64b1;
    color: #fff;
}

.btn-primary:hover {
    background: #0b4f91;
    transform: translateY(-2px);
}

.btn-danger {
    background: #e53e3e;
    color: #fff;
}

.btn-danger:hover {
    background: #c53030;
    transform: translateY(-2px);
}

.btn-warning {
    background: #f0b72f;
    color: #17283d;
}

.btn-warning:hover {
    background: #e0a720;
    transform: translateY(-2px);
}

/* ریسپانسیو */
@media (max-width: 1000px) {
    .inquiry-layout {
        grid-template-columns: 1fr;
    }
    
    .info-label {
        width: 130px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-label {
        width: auto;
    }
    
    .templates-buttons {
        justify-content: center;
    }
    
    .template-btn {
        font-size: 11px;
        padding: 7px 12px;
    }
}

}
/* ===================================================== */
/* FAQ Accordion Styles                                  */
/* ===================================================== */

.faq-item {
    border: 1px solid #e2e9f0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #fff;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: #fff;
    border: none;
    text-align: right;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    font-family: inherit;
}

body.ltr .faq-question {
    text-align: left;
}

.faq-question:hover {
    background: #f0f7ff;
}

.faq-question i {
    transition: transform 0.3s;
    font-size: 14px;
    color: #0b64b1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
    background: #f8fafc;
    border-top: 1px solid transparent;
}

.faq-answer.active {
    max-height: 1000px;
    padding: 20px;
    border-top-color: #e2e9f0;
}

.faq-answer p {
    margin: 0;
    line-height: 2;
    color: #475569;
    font-size: 15px;
}

/* Search Box */
.faq-search {
    max-width: 600px;
    margin: 0 auto 30px;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e2e9f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-search input:focus {
    border-color: #0b64b1;
    box-shadow: 0 0 0 3px rgba(11, 100, 177, 0.1);
}

/* =====================================================
   PSPI HOMEPAGE SHOWCASE REDESIGN — 2026-11-11
   Only affects the homepage hero and showroom image.
   Existing product, admin, forms and assistant styles remain intact.
   ===================================================== */
.hero.hero-showcase {
    padding: 0;
    margin: 0;
    background: #071f3b;
    overflow: hidden;
}
.hero.hero-showcase::before { display: none; }
.hero-banner {
    width: 100%;
    position: relative;
    line-height: 0;
    background: #08284c;
}
.hero-banner > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    object-position: center;
}
.hero-banner-actions {
    position: absolute;
    inset-inline-start: max(4%, calc((100% - 1160px) / 2));
    bottom: 7%;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    line-height: 1.5;
}
.hero-banner-actions .cta,
.hero-banner-actions .ghost {
    min-height: 42px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 5px 18px rgba(0,0,0,.18);
}
.hero-banner-actions .cta {
    background: #ffc400;
    border: 1px solid #ffc400;
    color: #102b4b;
}
.hero-banner-actions .cta:hover { background: #ffda45; color: #102b4b; }
.hero-banner-actions .ghost {
    background: rgba(5, 31, 59, .82);
    border: 1px solid rgba(255,255,255,.75);
    color: #fff;
}
.hero-banner-actions .ghost:hover { background: #fff; color: #0b3157; }
.showroom-showcase {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #071f3b;
    overflow: hidden;
}
.showroom-image { width: 100%; line-height: 0; }
.showroom-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
    object-position: center;
}
@media (min-width: 1500px) {
    .hero-banner > img { max-height: 620px; }
    .showroom-image img { max-height: 700px; }
}
@media (max-width: 768px) {
    .hero-banner > img {
        width: 100%;
        max-height: none;
        object-fit: contain;
    }
    .hero-banner-actions {
        inset-inline-start: 4%;
        bottom: 4%;
        gap: 7px;
    }
    .hero-banner-actions .cta,
    .hero-banner-actions .ghost {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 11px;
    }
    .showroom-image img {
        max-height: none;
        width: 100%;
        object-fit: contain;
    }
}
@media (max-width: 420px) {
    .hero-banner-actions { gap: 5px; bottom: 3%; }
    .hero-banner-actions .cta,
    .hero-banner-actions .ghost { padding: 6px 9px; font-size: 10px; }
}


/* =====================================================
   PSPI HOMEPAGE COMPACT LAYOUT — 2026-11-11
   Fine tuning: shorter hero, denser brand and featured-product cards.
   Homepage-only selectors; no changes to catalog/admin pages or functionality.
   ===================================================== */
@media (min-width: 769px) {
    .hero.hero-showcase .hero-banner > img {
        height: clamp(250px, 24vw, 360px);
        max-height: none;
        object-fit: cover;
        object-position: center;
    }
}

/* عرضه و فاصله کارت‌های برند */
#brands.section {
    padding-top: 42px;
    padding-bottom: 42px;
}
#brands .section-head {
    margin-bottom: 22px;
}
#brands .brand-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
#brands .brand-card {
    padding: 16px 18px;
    border-radius: 12px;
}
#brands .brand-card .brand-logo {
    height: 46px !important;
    margin-bottom: 3px !important;
}
#brands .brand-card .brand-logo img {
    max-width: 105px !important;
}
#brands .brand-card h3 {
    font-size: 16px !important;
    margin-bottom: 6px !important;
}
#brands .brand-card p {
    font-size: 12px !important;
    line-height: 1.55;
    margin-bottom: 10px !important;
}
#brands .brand-card a {
    padding: 6px 12px !important;
    font-size: 12px !important;
}

/* کارت‌های محصولات منتخب؛ فقط صفحه اصلی */
#products.section {
    padding-top: 42px;
    padding-bottom: 42px;
}
#products .section-head {
    margin-bottom: 22px;
}
#products .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
#products .product {
    border-radius: 11px;
}
#products .product-img {
    height: 145px;
    padding: 10px;
}
#products .product-body {
    padding: 12px;
}
#products .product .tag {
    padding: 3px 8px;
    font-size: 9px;
}
#products .product h3 {
    font-size: 13px;
    line-height: 1.45;
    margin: 6px 0;
}
#products .product p {
    font-size: 11px;
    line-height: 1.55;
    margin-bottom: 8px;
}
#products .product .cta {
    padding: 8px;
    font-size: 12px;
}

@media (max-width: 1000px) and (min-width: 769px) {
    #products .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    #brands.section,
    #products.section { padding-top: 30px; padding-bottom: 30px; }
    #brands .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    #brands .brand-card { padding: 12px; }
    #products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    #products .product-img { height: 125px; }
    #products .product-body { padding: 10px; }
}
@media (max-width: 520px) {
    #brands .brand-grid { grid-template-columns: 1fr; }
    #products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #products .product-img { height: 112px; }
}


/* PSPI final refinement: narrower hero banner */
.hero.hero-showcase .hero-banner {
    width: 88%;
    max-width: 1240px;
    margin-inline: auto;
}
.hero.hero-showcase .hero-banner > img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}
@media (max-width: 768px) {
    .hero.hero-showcase .hero-banner {
        width: 96%;
    }
    .hero.hero-showcase .hero-banner > img {
        height: auto;
        object-fit: contain;
    }
}
/* کاهش ارتفاع اسلایدر بدون تغییر عرض */
.hero-slider-section .slide-inner {
    height: 210px !important;
    overflow: hidden;
}

.hero-slider-section .slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}