contact-page/* ==============================
فونت و تنظیمات پایه
============================== */
@font-face {
    font-family: Vazir;
    src: url(/fonts/Vazir.ttf);
}
* {
    font-family: Vazir, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    direction: rtl;
    overflow-x: hidden;
    background: #f4f4f4;
}



/* ==============================
    پیام خوش آمد گویی 
============================== */
#wellcome {
    width: 100%;
    position: absolute;
    display: flex;
    text-align: center;
    justify-content: center;
    top: 38%;
    color: white;
    font-size: clamp(2rem, 8vw, 5rem);
    text-shadow: 1rem 1rem 0.8rem black;
    z-index: 10;
    pointer-events: none;
}

/* ==============================
    بنرها
============================== */
.img-baner-1, .img-baner-2, .img-baner-3 {
    width: 100%;
    height: 100vh;
    display: block;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(45deg,#000 25%,rgba(0,0,0,.2) 50%,#000 75%);
    mask-image: linear-gradient(45deg,#000 25%,rgba(0,0,0,.2) 50%,#000 75%);
    -webkit-mask-size: 800%;
    mask-size: 800%;
    -webkit-mask-position: 0;
    mask-position: 0;
}
.img-baner-1:hover, .img-baner-2:hover, .img-baner-3:hover {
    width: 100%;
    height: 100vh;
    display: block;
    object-fit: cover;
    transition: mask-position 2s ease,-webkit-mask-position 2s ease;
    -webkit-mask-position: 120%;
    mask-position: 120%;
    opacity: 1;
}
.sub-baner-1, .sub-baner-2, .sub-baner-3 {
    color: white;
    background-color: rgb(33, 37, 41);
    text-align: center;
    font-size: x-large;
    font-weight: 500;
    padding: 60px 20px;
    line-height: 1.6;
}

/* ==============================
    اسلایدر ریسپانسیو
============================== */

#other-list {
    background-color: rgb(108, 117, 125);
    padding: 30px 0 50px;
}

.text-container {
    display: flex;
    color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.text-container h1 {
    padding: 20px 0;
    font-size: clamp(1.5rem, 6vw, 2.2rem);
}

.line-text {
    color: white;
    width: 60vw;
    max-width: 200px;
    height: 3px;
    background-color: white;
    border-radius: 30%;
    margin-bottom: 30px;
}



/* ==============================
    جدول سایزها - کاملاً وسط چین
============================== */
.table-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    padding: 0 20px;
    width: 100%;
}

.btn-table {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.9rem 1.5rem;
    cursor: pointer;
    border-radius: 50px;
    border: 2px solid #dc3545;
    background: transparent;
    color: #dc3545;
    min-width: 260px;
    font-size: 1rem;
    font-weight: bold;
    transition: 0.3s;
    margin: 0 auto 20px auto;
    text-align: center;
}
.btn-table:hover {
    background: #dc3545;
    color: #fff;
}

.collapse {
    display: none;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.collapse.show {
    display: block;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    width: 100%;
}

.table {
    width: 100%;
    border-collapse: collapse;
    direction: rtl;
    background: white;
    margin: 0 auto;
}

.table th, 
.table td {
    border: 1px solid #dee2e6;
    padding: 14px 12px;
    text-align: center;
    vertical-align: middle;
}

.table th {
    background: #343a40;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
}

.table td {
    background: #fff;
    color: #333;
    font-size: 0.95rem;
}

.table-striped tbody tr:nth-child(odd) td {
    background: rgba(0,0,0,0.02);
}

/* ریسپانسیو جدول */
@media (max-width: 550px) {
    .table th, 
    .table td {
        padding: 10px 6px;
        font-size: 0.85rem;
    }
    .btn-table {
        min-width: 220px;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

/* ستون اول جدول با فونت پررنگ‌تر */
.table td:first-child {
    font-weight: bold;
    background: #f8f9fa;
}

/* ==============================
    استایل مجله (منحصر‌به‌فرد با پیشوند mag)
============================== */

.mag-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 120px 25px 60px;
}

/* هدر مجله */
.mag-header {
    text-align: center;
    margin-bottom: 50px;
}
.mag-header h1 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 10px;
}
.mag-header h1 span {
    color: gold;
}
.mag-header p {
    color: #6c757d;
    font-size: 1rem;
}

/* دسته‌بندی */
.mag-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.mag-cat-btn {
    background: white;
    border: 2px solid #e2e8f0;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    font-family: Vazir, sans-serif;
}
.mag-cat-btn:hover {
    border-color: #f57c00;
    background: #fffaf0;
}
.mag-cat-btn.active {
    background: gold;
    border-color: gold;
    color: #343a40;
}

/* گرید مقالات */
.mag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

/* کارت مقاله */
.mag-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.mag-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* تصویر کارت - بدون افکت ماسک */
.mag-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    /* حذف ماسک برای نمایش کامل تصویر */
    -webkit-mask-image: none !important;
    mask-image: none !important;
}
.mag-card:hover .mag-card-image {
    transform: scale(1.03);
}
.mag-img-wrap {
    overflow: hidden;
    height: 220px;
}

.mag-card-body {
    padding: 22px;
}
.mag-card-cat {
    display: inline-block;
    background: gold;
    color: #343a40;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.mag-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.4;
}
.mag-card-excerpt {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}
.mag-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    font-size: 0.75rem;
    color: #adb5bd;
}
.mag-read-more {
    color: #f57c00;
    font-weight: 600;
}

/* وضعیت خالی */
.mag-empty {
    text-align: center;
    padding: 60px;
    color: #6c757d;
    grid-column: 1 / -1;
}
.mag-empty .icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .mag-wrapper {
        padding: 123px 15px 40px;

    }
    .mag-header h1 {
        font-size: 1.8rem;
    }
    .mag-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mag-card-image {
        height: 200px;
    }
    .mag-categories {
        gap: 8px;
    }
    .mag-cat-btn {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
    .mag-wrapper {
        padding: 130px 15px 40px;

    }
    .mag-header h1 {
        font-size: 1.5rem;
    }
    .mag-card-title {
        font-size: 1rem;
    }
    .mag-card-excerpt {
        font-size: 0.8rem;
    }
    .mag-cat-btn {
        padding: 4px 12px;
        font-size: 0.7rem;
    }
}

        /* ==============================
           صفحه تک پست (پیشوند single-)
        ============================== */
        .single-page { 
            max-width: 900px; 
            margin: 0 auto; 
            padding: 120px 25px 60px; 
        }
        
        /* هدر پست */
        .single-header { 
            text-align: center; 
            margin-bottom: 40px; 
        }
        
        .single-category { 
            display: inline-block; 
            background: gold; 
            color: #343a40; 
            padding: 5px 18px; 
            border-radius: 30px; 
            font-size: 0.8rem; 
            font-weight: 600; 
            margin-bottom: 15px; 
        }
        
        .single-tags {
            display: flex;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
            margin: 10px 0;
        }
        
        .single-tags a {
            background: #e2e8f0;
            color: #2d3748;
            padding: 3px 14px;
            border-radius: 30px;
            font-size: 0.7rem;
            text-decoration: none;
            transition: 0.3s;
        }
        
        .single-tags a:hover {
            background: gold;
            color: #343a40;
        }
        
        .single-title { 
            font-size: 2.2rem; 
            color: #2d3748; 
            margin-bottom: 15px; 
        }
        
        .single-meta { 
            display: flex; 
            justify-content: center; 
            gap: 25px; 
            color: #6c757d; 
            font-size: 0.85rem; 
            flex-wrap: wrap; 
        }
        
        .single-meta a {
            color: #f57c00;
            text-decoration: none;
        }
        
        .single-meta a:hover {
            text-decoration: underline;
        }
        
        /* تصویر پست */
        .single-image { 
            width: 100%; 
            border-radius: 24px; 
            margin-bottom: 35px; 
            overflow: hidden; 
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            /* لغو افکت ماسک سراسری */
            -webkit-mask-image: none !important;
            mask-image: none !important;
        }
        
        .single-image img { 
            width: 100%; 
            height: auto; 
            display: block;
        }
        
        /* محتوای پست */
        .single-content { 
            background: white; 
            border-radius: 24px; 
            padding: 45px; 
            box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
            line-height: 2; 
            color: #4a5568; 
            font-size: 1.05rem;
        }
        
        .single-content h2 { 
            color: #2d3748; 
            margin: 35px 0 15px; 
            padding-right: 15px; 
            border-right: 4px solid gold; 
        }
        
        .single-content h3 {
            color: #2d3748;
            margin: 25px 0 12px;
            padding-right: 12px;
            border-right: 3px solid #f57c00;
        }
        
        .single-content p { 
            margin-bottom: 25px; 
        }
        
        .single-content ul, 
        .single-content ol {
            margin: 15px 30px 25px;
            padding-right: 20px;
        }
        
        .single-content li { 
            margin-bottom: 8px; 
        }
        
        .single-content a {
            color: #f57c00;
            text-decoration: none;
            border-bottom: 1px dashed #f57c00;
        }
        
        .single-content a:hover {
            color: #e0a800;
            border-bottom-color: #e0a800;
        }
        
        .single-content .single-link-btn {
            display: inline-block;
            background: gold;
            color: #343a40;
            padding: 10px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            margin: 20px 0;
            transition: 0.3s;
            border-bottom: none;
        }
        
        .single-content .single-link-btn:hover {
            background: #e0a800;
            transform: translateY(-2px);
        }
        
        /* بخش نویسنده */
        .single-author-box {
            background: #f8f9fa;
            border-radius: 16px;
            padding: 20px 25px;
            margin-top: 30px;
            border-right: 4px solid gold;
        }
        
        .single-author-box .author-name {
            font-weight: 700;
            color: #2d3748;
            font-size: 1rem;
        }
        
        .single-author-box .author-desc {
            color: #6c757d;
            font-size: 0.85rem;
            margin-top: 5px;
        }
        
        /* لینک‌های پایین پست */
        .single-footer-links {
            margin-top: 30px;
            padding-top: 25px;
            border-top: 2px solid #e9ecef;
        }
        
        .single-footer-links .footer-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 28px;
            background: #f8f9fa;
            border-radius: 30px;
            color: #2d3748;
            text-decoration: none;
            transition: 0.3s;
            border: 1px solid #e2e8f0;
            font-weight: 500;
        }
        
        .single-footer-links .footer-link:hover {
            background: gold;
            border-color: gold;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(245,197,24,0.3);
        }
        
        .single-back-link { 
            display: inline-block; 
            margin-top: 35px; 
            color: #f57c00; 
            text-decoration: none; 
        }
        
        .single-back-link:hover { 
            text-decoration: underline; 
        }
        
        /* دکمه برو به بالا */
        .single-back-to-top {
            position: fixed;
            bottom: 30px;
            left: 30px;
            background: gold;
            color: #343a40;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            text-decoration: none;
            box-shadow: 0 5px 20px rgba(245,197,24,0.3);
            transition: 0.3s;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            border: none;
            cursor: pointer;
            z-index: 999;
        }
        
        .single-back-to-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .single-back-to-top:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(245,197,24,0.4);
        }
        
        /* مسیر راهنما */
        .single-breadcrumb {
            font-size: 0.8rem;
            color: #6c757d;
            margin-bottom: 20px;
        }
        
        .single-breadcrumb a {
            color: #f57c00;
            text-decoration: none;
        }
        
        .single-breadcrumb a:hover {
            text-decoration: underline;
        }
        
        /* ==============================
           ریسپانسیو
        ============================== */
        @media (max-width: 768px) {
            .single-page { 
       		padding: 123px 15px 40px;
            }
            .single-title { 
                font-size: 1.6rem; 
            }
            .single-content { 
                padding: 25px; 
                font-size: 0.95rem; 
            }
            .single-meta { 
                gap: 12px; 
                font-size: 0.75rem; 
            }
            .single-footer-links .footer-link {
                padding: 8px 18px;
                font-size: 0.85rem;
            }
        }
        
        @media (max-width: 480px) {
            .single-page { 
        	padding: 150px 15px 40px;
            }
            .single-title { 
                font-size: 1.3rem; 
            }
            .single-content { 
                padding: 18px; 
                font-size: 0.9rem; 
            }
            .single-meta { 
                gap: 8px; 
                font-size: 0.7rem; 
                flex-direction: column;
                align-items: center;
            }
            .single-back-to-top {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
                bottom: 20px;
                left: 20px;
            }
        }

/* ==============================
صفحه محصولات - گرید ریسپانسیو
============================== */
.products-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 123px 15px 40px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}
.page-header h1 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 10px;
}
.page-header p {
    color: #6c757d;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: center;
    align-content: center;
    place-content: center;
    justify-items: center;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: grid;
    color: inherit;
    justify-content: center;
    place-items: center;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    width: 90%;
    transition: transform 0.4s ease;
}
.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    text-align: center;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}
.product-description{
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 12px;
}
.product-specs{
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.spec-item{
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #495057;
}

.product-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}
.current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f57c00;
}
.old-price {
    font-size: 0.85rem;
    color: #adb5bd;
    text-decoration: line-through;
}

.no-products {
    text-align: center;
    padding: 50px;
    color: #6c757d;
    grid-column: 1 / -1;
}
@media (max-width: 1024px) {
.products-grid {
    .products-page { padding: 123px 15px 40px; }
    .products-grid { grid-template-columns: 3fr; }
    .product-image { height: 250px; }
}
}
@media (max-width: 768px) {
    .products-page { padding: 123px 15px 40px; }
    .products-grid { grid-template-columns: 1fr; }
    .product-image { height: 250px; }
}
/* ==============================
    صفحه سوالات متداول (FAQ)
============================== */

.faq-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 30px 80px;
}


/* هدر صفحه */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h1 {
    font-size: 2.5rem;
    color: #343a40;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.faq-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: gold;
    border-radius: 2px;
}

.faq-header p {
    color: #6c757d;
    font-size: 1rem;
    margin-top: 20px;
}

/* کارت سوالات */
.faq-card {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* سوال */
.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.3s ease;
}

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

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 12px;
}

.question-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #343a40, #23272b);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: gold;
    font-weight: bold;
    font-size: 1.1rem;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #adb5bd;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-card.active .toggle-icon {
    transform: rotate(45deg);
    color: gold;
}

/* جواب */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #f8f9fa;
    border-top: 1px solid transparent;
}

.faq-card.active .faq-answer {
    max-height: 300px;
    border-top-color: #e9ecef;
}

.answer-content {
    padding: 20px 25px;
    color: #4a5568;
    line-height: 1.7;
    font-size: 0.95rem;
}

.answer-content a {
    color: gold;
    text-decoration: none;
    font-weight: 600;
}

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

/* بخش تماس اضافی */
.contact-banner {
    background: linear-gradient(135deg, #343a40, #23272b);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;

}

.contact-banner h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-banner p {
    color: #adb5bd;
    margin-bottom: 25px;
}

.contact-banner .contact-btn {
    background: gold;
    color: #343a40;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Vazir, sans-serif;
}

.contact-banner .contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .faq-section {
        padding: 125px 20px 60px;
    }
    
    .faq-header h1 {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 15px 18px;
    }
    
    .question-text {
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .question-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .answer-content {
        padding: 15px 18px;
        font-size: 0.85rem;
    }
    
    .toggle-icon {
        font-size: 1.2rem;
    }
    
    .contact-banner {
        padding: 25px 20px;
    }
    
    .contact-banner h3 {
        font-size: 1.2rem;
    }
}


/* صفحه تماس */
.contact-page {
    padding: 120px 30px 60px;
}
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}
.contact-header h1 {
    font-size: 2.5rem;
    color: #343a40;
    margin-bottom: 15px;
}
.contact-header h1 span {
    color: gold;
}
.contact-header p {
    color: #6c757d;
    font-size: 1rem;
}

/* دوتا ستون */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* اطلاعات تماس */
.contact-info {
    background: white;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.contact-info h2 {
    color: #343a40;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: gold;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.info-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #343a40, #23272b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.info-text h4 {
    color: #343a40;
    margin-bottom: 5px;
}
.info-text p, .info-text a {
    color: #6c757d;
    text-decoration: none;
    transition: 0.3s;
}
.info-text a:hover {
    color: gold;
}

/* فرم تماس */
.contact-form {
    background: white;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.contact-form h2 {
    color: #343a40;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: gold;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #343a40;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    font-family: Vazir, sans-serif;
    transition: 0.3s;
    background: #f8f9fa;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: gold;
    background: white;
}
.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #343a40, #23272b);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.submit-btn:hover {
    background: linear-gradient(135deg, gold, #ffd700);
    color: #343a40;
    transform: translateY(-2px);
}

/* نقشه */
.map-container {
    margin-top: 50px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
}

@media (max-width: 768px) {
    .contact-page {
        padding: 125px 20px 40px;
    }
    .contact-header h1 {
        font-size: 1.8rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .info-item {
        padding: 15px 0;
    }
}

/* ==============================
           error page 404
    ============================== */


.error404 {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

/* افکت پس‌زمینه دایره‌ای */
.error404::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0) 70%);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    animation: float 6s ease-in-out infinite;
}

.error404::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52,58,64,0.08) 0%, rgba(52,58,64,0) 70%);
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 20px) rotate(5deg); }
}

.error-container {
    max-width: 700px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* کد 404 متحرک */
.error-code {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.digit {
    font-size: 120px;
    font-weight: 900;
    color: #343a40;
    text-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    animation: bounce 2s ease-in-out infinite;
}

.digit:first-child {
    animation-delay: 0s;
}

.digit:last-child {
    animation-delay: 0.3s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.zero-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.zero-svg {
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* پیام خطا */
.error-message h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 15px;
    font-weight: 700;
}

.error-message p {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* دکمه‌ها */
.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-home, .btn-contact {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Vazir, sans-serif;
}

.btn-home {
    background: #343a40;
    color: white;
    box-shadow: 0 4px 15px rgba(52,58,64,0.3);
}

.btn-home:hover {
    background: gold;
    color: #343a40;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.4);
}

.btn-contact {
    background: transparent;
    color: #343a40;
    border: 2px solid #343a40;
}

.btn-contact:hover {
    background: #343a40;
    color: white;
    transform: translateY(-3px);
}

/* پیشنهادات */
.error-suggestions {
    background: #f7fafc;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: right;
}

.error-suggestions p {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
}

.error-suggestions li {
    color: #4a5568;
    padding: 8px 0;
    font-size: 0.95rem;
}

.error-suggestions a {
    color: gold;
    text-decoration: none;
    font-weight: 600;
}

.error-suggestions a:hover {
    text-decoration: underline;
}


/* ریسپانسیو */
@media (max-width: 768px) {
    .error-container {
        padding: 30px 20px;
    }
    
    .digit {
        font-size: 70px;
    }
    
    .zero-container {
        width: 70px;
        height: 70px;
    }
    
    .zero-svg {
        width: 70px;
        height: 70px;
    }
    
    .error-message h2 {
        font-size: 1.3rem;
    }
    
    .error-actions {
        gap: 12px;
    }
    
    .btn-home, .btn-contact {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
}

/* ==============================
    صفحه 503 شیک
============================== */
.error503 {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

/* افکت پس‌زمینه مخصوص 503 */
.error503::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.05) 0px,
        rgba(255,255,255,0.05) 20px,
        transparent 20px,
        transparent 40px
    );
    animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
    from { background-position: 0 0; }
    to { background-position: 40px 40px; }
}

.error503::after {
    content: '503';
    position: absolute;
    font-size: 200px;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    bottom: -50px;
    right: -50px;
    pointer-events: none;
}

.error-container {
    max-width: 700px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* کد 503 متحرک */
.error-code {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.digit {
    font-size: 120px;
    font-weight: 900;
    color: #343a40;
    text-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    animation: bounce 2s ease-in-out infinite;
}

.digit:first-child {
    animation-delay: 0s;
}

.digit:last-child {
    animation-delay: 0.3s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* آیکون سرور */
.server-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
}

/* پیام خطا */
.error-message h2 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 15px;
    font-weight: 700;
}

.error-message p {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* دکمه‌ها */
.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-home, .btn-contact, .btn-refresh {
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Vazir, sans-serif;
}

.btn-home {
    background: #343a40;
    color: white;
    box-shadow: 0 4px 15px rgba(52,58,64,0.3);
}

.btn-home:hover {
    background: gold;
    color: #343a40;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.4);
}

.btn-contact {
    background: transparent;
    color: #343a40;
    border: 2px solid #343a40;
}

.btn-contact:hover {
    background: #343a40;
    color: white;
    transform: translateY(-3px);
}

.btn-refresh {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.btn-refresh:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.5);
}

/* پیشنهادات */
.error-suggestions {
    background: #f7fafc;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: right;
}

.error-suggestions p {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
}

.error-suggestions li {
    color: #4a5568;
    padding: 8px 0;
    font-size: 0.95rem;
}

/* باکس وضعیت سرور */
.status-box {
    background: rgba(0,0,0,0.05);
    border-radius: 15px;
    padding: 15px;
    margin-top: 20px;
}

.status-light {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #4a5568;
}

.light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.light.red {
    background: #ff6b6b;
    box-shadow: 0 0 10px #ff6b6b;
    animation: pulseLight 1s ease-in-out infinite;
}

@keyframes pulseLight {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.status-text {
    font-weight: 600;
    color: #ff6b6b;
}

.progress-bar {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    height: 30px;
    overflow: hidden;
    position: relative;
}

.progress {
    background: linear-gradient(90deg, #667eea, #764ba2);
    height: 100%;
    width: 0%;
    border-radius: 10px;
    animation: loading 3s ease-in-out infinite;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 0%; }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .error-container {
        padding: 30px 20px;
    }
    
    .digit {
        font-size: 70px;
    }
    
    .error-message h2 {
        font-size: 1.3rem;
    }
    
    .error-actions {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-home, .btn-contact, .btn-refresh {
        padding: 8px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }
    
    .server-icon svg {
        width: 70px;
        height: 70px;
    }
}

/* ==============================
صفحه تسویه حساب
============================== */
.checkout-page {
    max-width: 1200px;
    margin: 100px auto 60px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

/* فرم سمت راست */
.checkout-form {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-group {
    margin-bottom: 18px;
}

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

input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-family: Vazir, sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: #fff;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #f9a825;
    box-shadow: 0 0 0 3px rgba(249,168,37,0.1);
}

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

/* گزینه‌های ارسال و پرداخت */
.delivery-option, .payment-option {
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.delivery-option.active, .payment-option.active {
    border-color: #f9a825;
    background: #fffaf0;
}

.delivery-radio, .payment-radio {
    width: 20px;
    height: 20px;
    accent-color: #f9a825;
    cursor: pointer;
}

.delivery-info, .payment-info {
    flex: 1;
    cursor: pointer;
}

.delivery-title, .payment-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.delivery-desc, .payment-desc {
    font-size: 0.75rem;
    color: #6c757d;
}

/* قوانین */
.rules-box {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 20px;
    margin: 20px 0;
}

.rules-list {
    list-style: none;
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.8;
}

.rules-list li {
    margin-bottom: 10px;
    padding-right: 20px;
    position: relative;
}

.rules-list li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #10b981;
    font-weight: bold;
}

.agree-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.agree-check input {
    width: 20px;
    margin: 0;
    cursor: pointer;
}

.agree-check label {
    margin: 0;
    cursor: pointer;
}

/* سبد خرید خلاصه */
.order-summary {
    background: white;
    border-radius: 24px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.summary-title {
    font-size: 1.2rem;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 20px;
}

.cart-item-checkout {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    background: #f1f5f9;
    border-radius: 16px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #f9a825;
    font-weight: 700;
    font-size: 0.8rem;
}

.divider {
    height: 1px;
    background: #e2e8f0;
    margin: 15px 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.grand-total {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    border-top: 2px solid #e2e8f0;
    padding-top: 15px;
    margin-top: 10px;
}

.checkout-btn {
    width: 100%;
    background: #f9a825;
    color: #1e293b;
    border: none;
    padding: 16px;
    font-weight: 800;
    border-radius: 40px;
    font-size: 1rem;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.checkout-btn:hover:not(:disabled) {
    background: #f57c00;
    transform: translateY(-2px);
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

/* خالی بودن سبد خرید */
.empty-cart-message {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.back-to-shop {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #f9a825;
    text-decoration: none;
}

@media (max-width: 768px) {
    .checkout-page {
        grid-template-columns: 1fr;
        margin-top: 80px;
    }
    .order-summary {
        position: static;
        order: -1;
    }
}



 /* ==============================
  صفحه ویرایش پست (پیشوند dash-post-)
 ============================== */
        .dash-post-container { 
            max-width: 1000px; 
            margin: 100px auto 40px; 
            padding: 0 20px; 
        }
        
        .dash-post-card { 
            background: white; 
            border-radius: 20px; 
            padding: 30px; 
            box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
        }
        
        .dash-post-title { 
            color: #2d3748; 
            margin-bottom: 25px; 
        }
        
        .dash-post-group { 
            margin-bottom: 20px; 
        }
        
        .dash-post-group label { 
            display: block; 
            margin-bottom: 8px; 
            font-weight: 500; 
            color: #2d3748; 
            font-size: 0.9rem; 
        }
        
        .dash-post-group label .required { 
            color: #dc3545; 
        }
        
        .dash-post-group label .hint { 
            color: #6c757d; 
            font-weight: 400; 
            font-size: 0.8rem; 
        }
        
        .dash-post-group input, 
        .dash-post-group select, 
        .dash-post-group textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-family: Vazir, sans-serif;
            font-size: 0.95rem;
            transition: 0.3s;
        }
        
        .dash-post-group input:focus, 
        .dash-post-group select:focus, 
        .dash-post-group textarea:focus { 
            outline: none; 
            border-color: #f57c00; 
        }
        
        .dash-post-group textarea { 
            resize: vertical; 
        }
        
        .dash-post-btn {
            padding: 12px 30px;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 600;
            font-family: Vazir, sans-serif;
        }
        
        .dash-post-btn-success { 
            background: #28a745; 
            color: white; 
        }
        
        .dash-post-btn-secondary { 
            background: #e9ecef; 
            color: #2d3748; 
            text-decoration: none; 
            display: inline-block; 
        }
        
        .dash-post-btn-secondary:hover { 
            background: #dde0e3; 
        }
        
        .dash-post-message { 
            padding: 12px; 
            border-radius: 12px; 
            margin-bottom: 20px; 
        }
        
        .dash-post-message.error { 
            background: #fee2e2; 
            color: #dc2626; 
        }
        
        .dash-post-message.success { 
            background: #d1fae5; 
            color: #065f46; 
        }
        
        .dash-post-btn-group { 
            display: flex; 
            gap: 15px; 
            flex-wrap: wrap; 
        }
        
        .dash-post-checkbox-group { 
            display: flex; 
            align-items: center; 
            gap: 10px; 
        }
        
        .dash-post-checkbox-group input { 
            width: 20px; 
            height: 20px; 
        }
        
        .dash-post-checkbox-group label { 
            margin: 0; 
            cursor: pointer; 
        }
        
        .dash-post-image-preview { 
            width: 100%; 
            max-height: 200px; 
            object-fit: cover; 
            border-radius: 12px; 
            margin-top: 10px;
            border: 2px solid #e2e8f0;
            padding: 5px;
        }
        
        .dash-post-image-empty {
            width: 100%;
            height: 150px;
            border: 2px dashed #e2e8f0;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6c757d;
            font-size: 0.85rem;
            margin-top: 10px;
        }
        
        .dash-post-current-label {
            font-size: 0.75rem;
            color: #6c757d;
            margin-top: 5px;
        }
        
        .dash-post-row { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 20px; 
        }
        
        .dash-post-seo-section {
            background: #f8f9fa;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
            border-right: 4px solid #f57c00;
        }
        
        .dash-post-seo-section h4 {
            color: #2d3748;
            margin-bottom: 15px;
            font-size: 1rem;
        }
        
        .dash-post-footer-section {
            background: #f0fdf4;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
            border-right: 4px solid #22c55e;
        }
        
        .dash-post-footer-section h4 {
            color: #2d3748;
            margin-bottom: 15px;
            font-size: 1rem;
        }
        
        .dash-post-hint-text {
            color: #6c757d;
            font-size: 0.75rem;
        }
        
        .dash-post-small-text {
            color: #6c757d;
            font-size: 0.75rem;
        }
        
        /* ==============================
           ریسپانسیو
        ============================== */
        @media (max-width: 768px) { 
            .dash-post-row { 
                grid-template-columns: 1fr; 
            }
        }
        
        @media (max-width: 480px) {
            .dash-post-container { 
                margin: 80px auto 30px; 
                padding: 0 12px; 
            }
            .dash-post-card { 
                padding: 18px; 
                border-radius: 15px; 
            }
            .dash-post-title { 
                font-size: 1.3rem; 
            }
            .dash-post-group input, 
            .dash-post-group select, 
            .dash-post-group textarea {
                padding: 10px;
                font-size: 0.85rem;
            }
            .dash-post-btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            .dash-post-btn-group {
                flex-direction: column;
            }
            .dash-post-btn-group a,
            .dash-post-btn-group button {
                width: 100%;
                text-align: center;
            }
        }
