/* Estilos do plugin Cresce Cabelo - Mercado Pago */

/* Botão Mercado Pago */
.ccmp-mp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #009ee3;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 10px;
}

.ccmp-mp-button:hover {
    background: #007eb5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 158, 227, 0.3);
}

.ccmp-mp-button svg {
    width: 18px;
    height: 18px;
}

/* Botão WhatsApp */
.ccmp-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #25d366;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 10px;
}

.ccmp-whatsapp-button:hover {
    background: #1da851;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.ccmp-whatsapp-button svg {
    width: 18px;
    height: 18px;
}

/* Botão flutuante WhatsApp */
.ccmp-whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

.ccmp-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.ccmp-whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* Badge de produto */
.ccmp-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9;
    letter-spacing: 0.5px;
}

.ccmp-badge-mais-vendido {
    background: #e74c3c;
}

.ccmp-badge-premium {
    background: #f39c12;
}

.ccmp-badge-novo {
    background: #27ae60;
}

.ccmp-badge-oferta {
    background: #8e44ad;
}

/* Modal de checkout */
.ccmp-checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.ccmp-checkout-modal.active {
    display: flex;
}

.ccmp-checkout-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
}

.ccmp-checkout-content h3 {
    margin-bottom: 16px;
    color: #0F1E18;
}

.ccmp-checkout-content p {
    margin-bottom: 24px;
    color: #666;
}

.ccmp-payment-methods {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.ccmp-payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ccmp-payment-method svg {
    width: 32px;
    height: 32px;
    color: #009ee3;
}

.ccmp-payment-method span {
    font-size: 12px;
    color: #666;
}

.ccmp-close-modal {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    margin-top: 16px;
    font-size: 14px;
}

.ccmp-close-modal:hover {
    color: #000;
}

/* Newsletter form */
.ccmp-newsletter-form {
    max-width: 500px;
    margin: 20px auto;
    text-align: center;
}

.ccmp-newsletter-form h3 {
    margin-bottom: 15px;
}

.ccmp-newsletter-fields {
    display: flex;
    gap: 8px;
}

.ccmp-newsletter-fields input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.ccmp-newsletter-btn {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.ccmp-newsletter-btn:hover {
    background: #c0392b;
}

.ccmp-newsletter-msg {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
}

.ccmp-newsletter-msg.success {
    background: #d4edda;
    color: #155724;
}

.ccmp-newsletter-msg.error {
    background: #f8d7da;
    color: #721c24;
}
