
/* Container principal */
.prx-floating-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.06);
    transform: translateY(100%);
    transition: transform 0.25s ease-out;
}

.prx-floating-contact.prx-visible {
    transform: translateY(0);
}

.prx-floating-contact.prx-hidden {
    display: none;
}

/* Layout interne */
.prx-floating-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.prx-seller {
    flex: 1;
}

/* Texte "Contacter le vendeur" */
.prx-label {
    font-weight: 700;
    font-size: 18px;
    color: #111827;
}

/* Zone boutons */
.prx-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prx-btn {
    border-radius: 9999px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

/* Bouton Appeler - on laisse le style rdtheme-button-1 gérer les couleurs */

/* Bouton Envoyer un message : fond blanc, bordure rouge, texte rouge, aucun hover rouge */
.prx-message-btn.rdtheme-button-1,
.prx-message-btn.rdtheme-button-1:hover,
.prx-message-btn.rdtheme-button-1:focus,
.prx-message-btn.rdtheme-button-1:active {
    background-color: #ffffff !important;
    color: #f22a2d !important;
    border-radius: 9999px !important;
    border: 1px solid #f22a2d !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.prx-message-btn.rdtheme-button-1 * {
    color: #f22a2d !important;
}

/* Modal téléphone */
.prx-phone-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.prx-phone-modal.prx-open {
    display: flex;
}

.prx-phone-modal-inner {
    background: #ffffff;
    padding: 24px 32px;
    border-radius: 12px;
    text-align: center;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.prx-phone-title {
    font-weight: 600;
    margin-bottom: 12px;
}

.prx-phone-number {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Bouton Fermer : même arrondi que Appeler */
.prx-close-modal.rdtheme-button-1 {
    border-radius: 9999px !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .prx-label {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .prx-floating-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 16px;
    }

    .prx-seller {
        text-align: center;
    }

    .prx-label {
        font-size: 16px;
    }

    .prx-actions {
        justify-content: space-between;
    }

    .prx-btn {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 14px;
    }
}
