/* -----------------------------------------
   CDI WhatsApp Button for Elementor
   ----------------------------------------- */

/* -- Wrapper de alinhamento -- */
.cdi-wa-wrap {
    display: flex;
    width: 100%;
}

/* -- Botão -- */
.cdi-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color            0.25s ease,
        box-shadow       0.25s ease,
        transform        0.2s  ease;
    border: none;
    line-height: 1.2;
}

.cdi-wa-btn:hover {
    background-color: #1ebc57;
    color: #ffffff;
    text-decoration: none;
}

.cdi-wa-btn:focus-visible {
    outline: 2px solid #25D366;
    outline-offset: 3px;
}

/* -- Ícone -- */
.cdi-wa-btn__icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.cdi-wa-btn__icon i {
    font-size: 22px;
    line-height: 1;
}

.cdi-wa-btn__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
}

/* -- Texto -- */
.cdi-wa-btn__text {
    white-space: nowrap;
}

/* -- Largura total -- */
.cdi-wa-wrap.cdi-wa--stretch .cdi-wa-btn {
    width: 100%;
}

/* -- Placeholder editor -- */
.cdi-wa__placeholder {
    padding: 16px 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    font-size: 14px;
}

/* -- Movimento reduzido -- */
@media ( prefers-reduced-motion: reduce ) {
    .cdi-wa-btn {
        transition: none;
    }
}