@charset "UTF-8";

/* ==================================================================
   Reserva por WhatsApp — estilos base del botón

   Son SOLO los valores de partida. Todos los controles de Elementor
   se inyectan con el selector {{WRAPPER}} .elementor-element-XXX,
   que tiene mucha más especificidad que estas clases, así que
   cualquier ajuste hecho desde el editor gana siempre sin necesidad
   de !important.
================================================================== */

.hcswa-wrap {
    text-align: center;
}

.hcswa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    max-width: 100%;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    background-color: #25d366;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease,
                border-color .25s ease, box-shadow .25s ease,
                transform .25s ease;
}

.hcswa-btn:hover,
.hcswa-btn:focus {
    background-color: #1ebe57;
    color: #ffffff;
    text-decoration: none;
}

/* Foco visible para navegación con teclado */
.hcswa-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* El icono hereda el color y el tamaño del texto salvo que se
   cambien desde la sección "Icono" de Elementor. */
.hcswa-btn .hcswa-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
}

.hcswa-btn .hcswa-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.hcswa-btn .hcswa-icon i {
    font-size: 1em;
}

/* Icono a la derecha: se invierte el orden sin tocar el HTML */
.hcswa-btn.hcswa-icon-derecha {
    flex-direction: row-reverse;
}

.hcswa-btn .hcswa-text {
    display: inline-block;
}

/* Aviso que solo se ve dentro del editor de Elementor cuando
   todavía no hay un número de WhatsApp configurado. */
.hcswa-aviso-editor {
    display: block;
    margin-top: 10px;
    padding: 10px 14px;
    border-left: 4px solid #d63638;
    border-radius: 6px;
    background: #fdecea;
    color: #96251b;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}
