/* ==========================================================================
   سایا سرویس - استایل‌های صفحات تعمیرات ماشین ظرفشویی
   مسیر: templates/shaper_helixultimate/custom-css-all/repair-dishwasher-v1.css
   ========================================================================== */

/* ==========================================================================
   1. هدر اصلی صفحه (مناطق)
   ========================================================================== */
.saya-header {
    background: linear-gradient(135deg, #d90429 0%, #14213d 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
}

.saya-header h2 {
    margin: 0;
    font-size: 32px;
    color: white;
    font-weight: bold;
}

.saya-header p {
    font-size: 20px;
    margin: 15px 0 0 0;
    color: #f8f9fa;
}

/* ==========================================================================
   2. هدر صفحه هاب (اصلی)
   ========================================================================== */
.saya-hub-header {
    background: linear-gradient(135deg, #d90429 0%, #14213d 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
}

.saya-hub-header .saya-image-center {
    margin: 0;
}

/* ==========================================================================
   3. تصویر مرکزی
   ========================================================================== */
.saya-image-center {
    text-align: center;
    margin: 25px 0;
}

.saya-image-center img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: inline-block;
}

/* ==========================================================================
   4. جعبه معرفی مجموعه
   ========================================================================== */
.saya-intro-box {
    background: #fff3cd;
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    border-right: 5px solid #ffc107;
}

.saya-intro-box h2 {
    color: #856404;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 26px;
}

.saya-intro-box p {
    color: #856404;
    text-align: center;
    margin: 10px 0;
    line-height: 1.8;
}

.saya-intro-box p.intro-main {
    font-size: 18px;
    font-weight: 500;
}

.saya-intro-box p.intro-sub {
    font-size: 16px;
}

/* ==========================================================================
   5. محدوده‌های تحت پوشش
   ========================================================================== */
.saya-coverage-box {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    border-right: 5px solid #28a745;
}

.saya-coverage-box h3 {
    color: #155724;
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
}

.saya-coverage-box p {
    color: #155724;
    line-height: 1.8;
    margin: 0;
    font-size: 16px;
}

.saya-coverage-box p a {
    color: #14213d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.saya-coverage-box p a:hover {
    color: #d90429;
    text-decoration: underline;
}

/* ==========================================================================
   6. جعبه مجوزها
   ========================================================================== */
.saya-certificates-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    border-right: 5px solid #d90429;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.saya-certificates-box h2 {
    color: #d90429;
    border-right: 4px solid #d90429;
    padding-right: 15px;
    margin-bottom: 20px;
    margin-top: 0;
    font-size: 24px;
}

.saya-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.saya-cert-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.saya-cert-item:hover {
    transform: translateY(-5px);
}

.saya-cert-item h3 {
    color: #14213d;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

/* ==========================================================================
   7. جعبه ایاب و ذهاب
   ========================================================================== */
.saya-transport-box {
    background: #d1edf1;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border-right: 4px solid #0c5460;
}

.saya-transport-box h3 {
    color: #0c5460;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
}

.saya-transport-box p {
    color: #0c5460;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}

/* ==========================================================================
   8. عنوان بخش‌ها
   ========================================================================== */
.saya-section-title {
    color: #14213d;
    text-align: center;
    border-bottom: 3px solid #14213d;
    padding-bottom: 15px;
    font-size: 28px;
    margin: 30px 0;
    font-weight: bold;
}

/* ==========================================================================
   9. کانتینر مشکلات
   ========================================================================== */
.saya-problems-container {
    background: white;
    padding: 30px;
    margin: 25px 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.saya-problem-item {
    background: #f8f9fa;
    padding: 25px;
    margin: 20px 0;
    border-radius: 12px;
    border-right: 4px solid #d90429;
    text-align: center;
    transition: all 0.3s ease;
}

.saya-problem-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.saya-problem-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 3px solid #14213d;
}

.saya-problem-item h3 {
    color: #d90429;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
}

.saya-problem-item p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
}

/* ==========================================================================
   10. جعبه برندها
   ========================================================================== */
.saya-brands-box {
    background: white;
    padding: 30px;
    margin: 25px 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #14213d;
}

.saya-brands-box .saya-image-center {
    margin-bottom: 25px;
}

.saya-brands-box .saya-image-center img {
    border: 3px solid #14213d;
}

.saya-brands-title {
    color: white;
    text-align: center;
    background: #14213d;
    padding: 20px;
    border-radius: 10px;
    margin: 0 0 25px 0;
    font-size: 24px;
    font-weight: bold;
}

.saya-brands-list {
    columns: 2;
    gap: 20px;
    margin-top: 20px;
}

.saya-brands-list p {
    margin: 10px 0;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 15px;
    transition: background 0.3s ease;
    break-inside: avoid;
}

.saya-brands-list p:hover {
    background: #e9ecef;
}

.saya-brands-list p a {
    color: #14213d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.saya-brands-list p a:hover {
    color: #d90429;
}

.saya-brands-list strong {
    color: #14213d;
    font-weight: 600;
}

/* ==========================================================================
   11. جعبه زیرمناطق (مناطق تابعه)
   ========================================================================== */
.saya-subregions-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 2px solid #14213d;
}

.saya-subregions-box h3 {
    color: #14213d;
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: bold;
}

.saya-subregions-box h4 {
    color: #d90429;
    text-align: center;
    margin: 20px 0 15px 0;
    font-size: 18px;
    font-weight: bold;
}

.saya-subregions-box > p {
    color: #495057;
    text-align: center;
    margin: 0 0 15px 0;
    font-size: 15px;
}

.saya-subregions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.saya-subregions-list a {
    display: block;
    padding: 10px 15px;
    background: white;
    color: #14213d;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.saya-subregions-list a:hover {
    background: #14213d;
    color: white;
    border-color: #14213d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.saya-subregions-brands {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.saya-subregions-brands a {
    display: block;
    padding: 8px 12px;
    background: white;
    color: #d90429;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #f8d7da;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.saya-subregions-brands a:hover {
    background: #d90429;
    color: white;
    border-color: #d90429;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(217,4,41,0.2);
}

/* ==========================================================================
   12. بخش خدمات
   ========================================================================== */
.saya-services-section {
    background: #e9ecef;
    padding: 30px;
    margin: 25px 0;
    border-radius: 15px;
}

.saya-services-section h2 {
    color: #14213d;
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
}

.saya-service-category {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.saya-service-category h3 {
    color: #d90429;
    margin-bottom: 20px;
    font-size: 20px;
}

.saya-service-list {
    columns: 2;
    gap: 15px;
}

.saya-service-list a,
.saya-service-list .service-link {
    text-decoration: none;
    color: #14213d;
    display: block;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 10px;
    break-inside: avoid;
    transition: background 0.3s ease;
    cursor: default;
}

.saya-service-list a:hover,
.saya-service-list .service-link:hover {
    background: #e9ecef;
}

/* ==========================================================================
   13. بخش اجرت و هزینه
   ========================================================================== */
.saya-pricing-box {
    background: #fff3cd;
    padding: 30px;
    margin: 25px 0;
    border-radius: 15px;
    border-right: 5px solid #ffc107;
}

.saya-pricing-box h2 {
    color: #856404;
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
}

.saya-pricing-box .pricing-intro {
    color: #856404;
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}

.saya-pricing-category {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.saya-pricing-category h3 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 20px;
}

.saya-pricing-list {
    columns: 2;
    gap: 15px;
}

.saya-pricing-item {
    break-inside: avoid;
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.saya-pricing-item strong {
    color: #14213d;
}

.saya-pricing-item .price-note {
    color: #d90429;
    font-size: 14px;
    margin-top: 5px;
}

.saya-pricing-cta {
    background: #d1edf1;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    text-align: center;
}

.saya-pricing-cta p {
    color: #0c5460;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

/* ==========================================================================
   14. زمانبندی و ضمانت
   ========================================================================== */
.saya-timing-box {
    background: #f8f9fa;
    padding: 30px;
    margin: 25px 0;
    border-radius: 15px;
    border-right: 5px solid #28a745;
}

.saya-timing-box h3 {
    color: #155724;
    margin-bottom: 20px;
    font-size: 22px;
}

.saya-timing-box p {
    color: #155724;
    line-height: 1.8;
    margin-bottom: 0;
}

.saya-warranty-box {
    background: #f8f9fa;
    padding: 30px;
    margin: 25px 0;
    border-radius: 15px;
    border-right: 5px solid #17a2b8;
}

.saya-warranty-box h3 {
    color: #0c5460;
    margin-bottom: 20px;
    font-size: 22px;
}

.saya-warranty-box p {
    color: #0c5460;
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================================
   15. پرسش‌های متداول
   ========================================================================== */
.saya-faq-box {
    background: white;
    padding: 30px;
    margin: 25px 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #14213d;
}

.saya-faq-box h2 {
    color: #14213d;
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
}

.saya-faq-item {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.saya-faq-item h3 {
    color: #d90429;
    margin-bottom: 10px;
    font-size: 18px;
}

.saya-faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   16. کادر ضمانت بزرگ
   ========================================================================== */
.saya-guarantee-banner {
    background: linear-gradient(135deg, #14213d, #d90429);
    color: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    margin: 30px 0;
}

.saya-guarantee-banner h2 {
    color: #ffff00;
    margin-top: 0;
    font-size: 32px;
    margin-bottom: 10px;
}

.saya-guarantee-banner .banner-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

.saya-guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.saya-guarantee-item {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.saya-guarantee-item h3 {
    color: #90ee90;
    margin: 0 0 15px 0;
    font-size: 20px;
}

.saya-guarantee-item p {
    margin: 0;
    color: white;
}

/* ==========================================================================
   17. کلمات کلیدی
   ========================================================================== */
.saya-keywords-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 25px 0;
    text-align: center;
}

.saya-keywords-box h3 {
    color: #14213d;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}

.saya-keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.saya-keywords-list span {
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 12px;
}

/* ==========================================================================
   18. مناطق تحت پوشش در صفحه هاب (details/summary)
   ========================================================================== */
details.saya-regions-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    margin-top: 15px;
}

details.saya-regions-details summary {
    cursor: pointer;
    font-weight: bold;
    color: #14213d;
    padding: 10px;
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

details.saya-regions-details summary::-webkit-details-marker {
    display: none;
}

details.saya-regions-details summary::after {
    content: "▼";
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

details.saya-regions-details[open] summary::after {
    transform: rotate(180deg);
}

details.saya-regions-details .saya-regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ced4da;
}

details.saya-regions-details .saya-regions-grid a {
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    display: block;
    transition: all 0.3s ease;
}

details.saya-regions-details .saya-regions-grid a:hover {
    background: #e9ecef;
    color: #d90429;
}

/* ==========================================================================
   19. دکمه‌های شهرهای اصلی در صفحه هاب
   ========================================================================== */
.saya-main-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.saya-main-cities a {
    display: inline-block;
    padding: 12px 25px;
    background: #14213d;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.saya-main-cities a:hover {
    background: #d90429;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ==========================================================================
   20. ریسپانسیو - تبلت
   ========================================================================== */
@media (max-width: 992px) {
    .saya-header h2 { font-size: 28px; }
    .saya-header p { font-size: 18px; }
    .saya-hub-header h2 { font-size: 28px; }
    .saya-intro-box h2,
    .saya-services-section h2,
    .saya-pricing-box h2,
    .saya-faq-box h2 { font-size: 22px; }
    .saya-section-title { font-size: 24px; }
    .saya-problem-item h3 { font-size: 18px; }
    .saya-brands-title { font-size: 20px; }
    .saya-subregions-box h3 { font-size: 20px; }
    .saya-subregions-list { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
    .saya-subregions-brands { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* ==========================================================================
   21. ریسپانسیو - موبایل
   ========================================================================== */
@media (max-width: 768px) {
    .saya-header { padding: 30px 15px; }
    .saya-header h2 { font-size: 22px; }
    .saya-header p { font-size: 16px; }
    .saya-hub-header { padding: 30px 15px; }
    
    .saya-intro-box,
    .saya-coverage-box,
    .saya-certificates-box,
    .saya-transport-box,
    .saya-problems-container,
    .saya-brands-box,
    .saya-services-section,
    .saya-pricing-box,
    .saya-timing-box,
    .saya-warranty-box,
    .saya-faq-box,
    .saya-subregions-box { padding: 20px; }
    
    .saya-cert-grid { grid-template-columns: 1fr; }
    .saya-brands-list,
    .saya-service-list,
    .saya-pricing-list { columns: 1; }
    
    .saya-guarantee-banner { padding: 30px 20px; }
    .saya-guarantee-banner h2 { font-size: 24px; }
    .saya-guarantee-grid { grid-template-columns: 1fr; }
    
    .saya-subregions-list { grid-template-columns: 1fr; }
    .saya-subregions-brands { grid-template-columns: repeat(2, 1fr); }
    
    .saya-main-cities { flex-direction: column; }
    .saya-main-cities a { width: 100%; text-align: center; }
    
    details.saya-regions-details .saya-regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* فقط این بلوک جدید اضافه شد - بقیه دقیقاً مثل نسخه قبلی است */

.dishwasher-anim-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    padding: 10px 0;
    min-height: 200px;
    contain: layout;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.saya-intro-box .dishwasher-anim-wrapper {
    margin: 15px auto;
    padding: 0;
}