  .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            opacity: 0;
            transition: opacity 0.4s ease-in-out;
            direction:rtl;
        }

        /* افکت نمایش مدال */
        .modal.show {
            opacity: 1;
        }

        /* استایل محتوای مدال */
        .modal-content {
            background-color: white;
            margin: 10% auto;
            padding: 20px;
            border-radius: 10px;
            width: 40%;
            text-align: center;
            position: relative;
            transform: translateY(-20px);
            transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
            opacity: 0;
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
        }
@media (max-width: 768px){
            .modal-content {
            background-color: white;
            margin: 10% auto;
            padding: 20px;
            border-radius: 10px;
            width: 90%;
            text-align: center;
            position: relative;
            transform: translateY(-20px);
            transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
            opacity: 0;
            box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
            margin-top:100px;
        }
}
        /* نمایش محتوای مدال */
        .modal.show .modal-content {
            transform: translateY(0);
            opacity: 1;
        }

        /* استایل دکمه بستن */
        .close {
            position: absolute;
            top: 10px;
            left: 15px;
            font-size: 20px;
            cursor: pointer;
            color: red;
        }

        /* استایل فرم داخل مدال */
        .modal form {
            display: flex;
            flex-direction: column;
            gap: 15px;
            text-align: right;
        }

        .modal label {
            font-weight: bold;
        }

        .modal select {
width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'vazirmatn';
        }

        .modal button {
            background-color: #007bff;
            color: white;
            padding: 10px;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            transition: background 0.3s;
                            font-family: 'vazirmatn';
    font-size: 13px;
        }

        .modal button:hover {
            background-color: #0056b3;
                font-family: 'vazirmatn';
    font-size: 13px;
        }
.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.modern-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.modern-btn:hover::before {
    opacity: 1;
}

.modern-btn .btn-text {
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.modern-btn .btn-icon {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-btn .btn-icon img {
    height: 22px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* رنگ‌بندی نهایی با کنتراست عالی */
.ebay {
    background: linear-gradient(135deg, #0064D2 0%, #003B7B 100%);
    color: white;
}

.amazon {
    background: linear-gradient(135deg, #FF9900 0%, #F08804 100%);
    color: #232F3E;
}

.google {
    background: linear-gradient(135deg, #4285F4 0%, #3367D6 100%);
    color: white;
}

/* تنظیمات خاص برای آیکون‌ها */
.ebay .btn-icon img {
    filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0,0,0,0.3));
}

.amazon .btn-icon img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(22%) saturate(1818%) hue-rotate(183deg) brightness(93%) contrast(93%) drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}

.google .btn-icon img {
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* حالت موبایل */
@media (max-width: 768px) {
    .buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-btn {
        padding: 0.8rem 1rem;
    }
    
    .modern-btn .btn-text {
        font-size: 0.85rem;
    }
    
    .modern-btn .btn-icon img {
        height: 20px;
    }
}
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
}

.modern-service-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #4285F4 0%, #3367D6 100%);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
}

.modern-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
    background: linear-gradient(135deg, #3367D6 0%, #4285F4 100%);
    color: white;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    color: white;
}

.service-text {
    flex: 1;
    text-align: right;
    font-size: 0.95rem;
    line-height: 1.4;
}

.service-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
    transform: scaleX(-1);

}

.modern-service-btn:hover .service-arrow {
    transform: translateX(3px);
}

/* حالت موبایل */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .modern-service-btn {
        padding: 0.9rem 1rem;
    }
    
    .service-text {
        font-size: 0.85rem;
    }
    
    .service-icon svg,
    .service-arrow svg {
        width: 18px;
        height: 18px;
    }
}


.modern-breadcrumb {
    direction: rtl;
    padding: 0.8rem 0;
    margin: 0.5rem 0 1.5rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

#breadcrumblist {
    display: inline-flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

#breadcrumblist li {
    display: inline-flex;
    align-items: center;
    margin: 0 0.2rem;
}

.breadcrumb-link {
    text-decoration: none;
    color: #4285F4;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.breadcrumb-link:hover {
    color: #3367D6;
    text-decoration: underline;
}

.breadcrumb-text {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.3rem;
}

.current-page .breadcrumb-text {
    color: #666;
    font-weight: 500;
}

.breadcrumb-icon {
    margin-left: 0.3rem;
}

.home-icon {
    margin-right: 0.3rem;
}

.breadcrumb-separator {
    color: #999;
    margin: 0 0.3rem;
    transform: scaleX(-1);

}

.current-page {
    color: #333;
}

/* حالت موبایل */
@media (max-width: 768px) {
    .modern-breadcrumb {
        padding: 0.6rem 0;
        font-size: 0.8rem;
    }
    
    .breadcrumb-text {
        padding: 0.1rem 0.2rem;
    }
    
    .breadcrumb-separator {
        margin: 0 0.2rem;
    }
    
    .breadcrumb-icon, .home-icon {
        width: 14px;
        height: 14px;
    }
}

/* حالت تیره */

.modern-shop-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background:linear-gradient(135deg, #4285F4 0%, #3367D6 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
    border: none;
    text-align: center;
    direction: rtl;
    width:100%;
}

.modern-shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
    background: linear-gradient(135deg, #3367D6 0%, #4285F4 100%);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-text {
    font-size: 0.95rem;
}

.btn-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.modern-shop-btn:hover .btn-icon {
    transform: translateY(2px);
}

.btn-icon svg {
    width: 16px;
    height: 16px;
}

/* حالت موبایل */
@media (max-width: 768px) {
    .modern-shop-btn {
        padding: 0.7rem 1.2rem;
        width: 100%;
    }
    
    .btn-text {
        font-size: 0.85rem;
    }
    
    .btn-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* حالت تیره */

.wage-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    direction: rtl;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;

}


.wage-icon {
    margin-left: 1rem;
    color: #34a853;
    background-color: rgba(52, 168, 83, 0.1);
    padding: 0.6rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wage-icon svg {
    width: 18px;
    height: 18px;
}

.wage-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wage-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.wage-details {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.car-model, .car-name {
    font-size: 0.85rem;
    color: #666;
}

.wage-amount {
    font-weight: 700;
    color: #1a73e8;
    font-size: 1.1rem;
}

.currency {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    margin-right: 0.3rem;
}

/* حالت موبایل */
@media (max-width: 768px) {
    .wage-card {
        padding: 0.8rem;

    }
    
    .wage-icon {
        padding: 0.5rem;
        margin-left: 0.8rem;
    }
    
    .wage-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .wage-label {
        font-size: 0.9rem;
    }
    
    .car-model, .car-name {
        font-size: 0.8rem;
    }
    
    .wage-amount {
        font-size: 1rem;
    }
}


.specs-container {
    direction: rtl;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    padding: 0 1rem;
    border-radius: 16px;
    padding: 10px;
}

.specs-title {
    color: transparent;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0f0f0;
    text-align: right;
    font-family:'vazirmatn';
      background: linear-gradient(90deg, #00d0ff, #3f87ff, #007cf0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
        font-family:'vazirmatn';
}

.spec-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #4285F4;
}

.spec-label {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.spec-value {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

/* حالت موبایل */
@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .spec-item {
        padding: 0.8rem;
    }
    
    .spec-label {
        font-size: 0.8rem;
    }
    
    .spec-value {
        font-size: 0.9rem;
    }
}


.quick-links-container {
    display:flex;
    gap: 1.2rem;
    margin: 2rem 0;
    direction: rtl;
        align-items: center;
    justify-content: center;
}

.quick-link-card {
    transition: transform 0.3s ease;
    width:31%;
}

.quick-link-card:hover {
    transform: translateY(-3px);
}

.quick-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    background-color: #7d7d7d;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
}

.quick-link:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #4285F4;
    color: #4285F4;
}

.quick-link-icon {
    margin-left: 0.8rem;
    color: #34a853;
    min-width: 24px;
}

.quick-link-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.quick-link-arrow {
    color: #888;
    transition: transform 0.3s ease;
    margin-right: 0.5rem;
}

.quick-link:hover .quick-link-arrow {
    transform: translateX(3px);
    color: #4285F4;
    transform: scaleX(-1);

}

/* حالت موبایل */
@media (max-width: 768px) {
    .quick-links-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quick-link {
        padding: 0.9rem 1rem;
    }
    
    .quick-link-text {
        font-size: 0.85rem;
    }
    
    .quick-link-icon {
        width: 18px;
        height: 18px;
        margin-left: 0.6rem;
    }
    
    .quick-link-arrow {
        width: 14px;
        height: 14px;
    }
}

/* حالت تیره */

:root {
    --primary-color: #4a6bff;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-text: #777;
    --border-color: #e0e0e0;
    --whatsapp-color: #25D366;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f7ff;
}

.shop-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.shop-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.shop-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.shop-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.shop-logo-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    padding: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.shop-logo {
    max-width: 90%;
    max-height: 90%;
    border-radius: 50%;
    object-fit: contain;
}

.shop-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.shop-content {
    display: flex;
    flex-wrap: wrap;
}

.contact-info, .shop-specs {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.shop-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    justify-content: center;
}

.category-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.whatsapp-icon {
    color: var(--whatsapp-color);
}

.contact-details {
    flex-grow: 1;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--light-text);
    display: block;
    margin-bottom: 5px;
}

.contact-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--secondary-color);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    font-size:0.9rem !important;
}

.contact-link:hover {
    transform: translateY(-2px);
}

.tel-link:hover {
    background: #e3f2fd;
    color: var(--primary-color);
}

.mobile-link:hover {
    background: #e8f5e9;
    color: #4361ee;
}

.whatsapp-link {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-color);
}

.whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.2);
}

.website-link:hover {
    background: #f3e5f5;
    color: #8e24aa;
}

.shop-specs {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    margin: 10px;
}

.specs-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.specs-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.specs-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    flex-shrink: 0;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.specs-details {
    flex-grow: 1;
}

.specs-label {
    font-size: 0.85rem;
    color: var(--light-text);
    display: block;
    margin-bottom: 5px;
}

.specs-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specs-value {
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .shop-header {
        padding: 20px 15px;
    }
    
    .shop-title {
        font-size: 1.5rem;
    }
    
    .shop-content {
        flex-direction: column;
    }
    
    .contact-info, .shop-specs {
        min-width: auto;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-icon {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .contact-values {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .shop-title {
        font-size: 1.3rem;
    }
    
    .contact-link {
        width: 100%;
        justify-content: center;
    }
}
.text-expandable {
    position: relative;
    margin: 1rem 0;
    line-height: 1.6;
    font-family: 'vazirmatn';
}

.text-content {
    overflow: hidden;
    transition: all 0.4s ease;
}

.text-content.collapsed {
    max-height: 120px;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.text-toggle {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f0f4f8;
    color: #1a73e8;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.text-toggle:hover {
    background: #e0eaf3;
}

/* حالت ریسپانسیو */
@media (max-width: 768px) {
    .text-content.collapsed {
        max-height: 100px;
    }
    
    .text-toggle {
        width: 100%;
        text-align: center;
    }
}
