/**
 * Service Display Styles - Styles pour l'affichage des services selon leur mode
 *
 * @package DokanIntegration
 * @since 3.0.0
 */

/* Prix sur devis */
.service-quote-price {
    color: #2c5aa0;
    font-weight: 600;
    font-style: italic;
}

/* Boutons CTA services - style compact */
.service-cta-section {
    margin: 20px 0;
}

.service-cta-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.service-cta-buttons .button {
    padding: 8px 12px !important;
    font-size: 13px !important;
    margin: 0 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.service-cta-buttons .button i {
    font-size: 12px !important;
}

.service-cta-buttons .button span {
    font-size: 13px !important;
}

/* Couleurs spécifiques par type de CTA */
.service-cta-buttons .cta-phone {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

.service-cta-buttons .cta-email {
    background-color: #007cba !important;
    border-color: #007cba !important;
    color: white !important;
}

.service-cta-buttons .cta-whatsapp {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: white !important;
}

.service-cta-buttons .cta-custom {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
}

/* Anciens styles conservés pour compatibilité */
.service-contact-buttons {
    margin: 20px 0;
}

.service-contact-btn {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Mode service dans le formulaire */
.dokan-form-group #service_mode {
    width: 100%;
    max-width: 400px;
}

.dokan-form-group #service_mode + .description {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.dokan-form-group #service_mode + .description strong {
    color: #333;
}

/* Services dans les listes produits */
.woocommerce ul.products li.product .service-mode-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    z-index: 10;
}

.woocommerce ul.products li.product .service-mode-indicator.mode-contact {
    background: #28a745;
}

.woocommerce ul.products li.product .service-mode-indicator.mode-sale {
    background: #007cba;
}

.woocommerce ul.products li.product .service-mode-indicator.mode-quote {
    background: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .service-contact-buttons {
        text-align: center;
    }

    .service-contact-btn {
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
}