/************************************************************
 * Banner de Venta – Elementor (BN Cosmetics)
 * Archivo: elementor-sale-banner.css (refactorizado v2)
 ************************************************************/

/* ===== CONTENEDOR GENERAL (CARD) ============================= */
.elementor-element-e5c3b23 {
    padding: 20px 28px;
    background: #ffeef9;
    /* Rosa muy claro */
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 24px;
    /* separarlo del carrusel de productos */
}

/* ===== LADO IZQUIERDO: "Venta" + ICONO ======================= */
.elementor-element-6721629 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex: 0 0 auto;
}

/* Título "Venta" */
.elementor-element-1996bfe .elementor-heading-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
}

/* Icono del rayo – badge redondo pegado al texto */
.elementor-element-c24b6aa {
    margin-left: 0 !important;
}

.elementor-element-c24b6aa .elementor-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff1a8c;
    box-shadow: 0 6px 16px rgba(255, 26, 140, 0.35);
    margin: 0 !important;
    transform: translateY(2px);
    /* leve ajuste vertical */
}

.elementor-element-c24b6aa .elementor-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

/* Evita que el ícono se vaya al centro del banner */
.elementor-element-e5c3b23>.elementor-element-6721629 {
    max-width: max-content;
}

/* ===== LADO DERECHO: CONTADOR + BOTÓN ======================== */
.elementor-element-1fcdf2a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
}

/* "Termina en" + contador juntos (desktop) */
.cs_section_heading_right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs_section_heading_right h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

/* Contador principal */
.cs_countdown.cs_style_1 {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Cada bloque de tiempo */
.cs_countdown_box {
    min-width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff1a8c;
    box-shadow: 0 4px 14px rgba(255, 26, 140, 0.4);
}

.cs_countdown_number {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

/* Dos puntos entre bloques */
.cs_countdown_box+.cs_countdown_box {
    position: relative;
}

.cs_countdown_box+.cs_countdown_box::before {
    content: ":";
    position: absolute;
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 700;
    color: #ff1a8c;
}

/* Botón "Ver Todo" tipo pill */
.elementor-element-132598b .elementor-button {
    border-radius: 999px;
    padding: 8px 22px !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 2px solid #ff1a8c;
    background: #fff0f8;
    color: #ff1a8c;
    box-shadow: 0 4px 10px rgba(255, 26, 140, 0.2);
    transition: all 0.2s ease;
}

.elementor-element-132598b .elementor-button:hover {
    background: #ff1a8c;
    color: #fff;
    transform: translateY(-1px);
}

/* ============================================================= */
/* ==================   RESPONSIVE (MÓVIL)   =================== */
/* ============================================================= */
@media (max-width: 767px) {

    /* Card más compacta */
    .elementor-element-e5c3b23 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 12px 10px !important;
        gap: 8px !important;
    }

    /* "Venta" + icono más pequeño */
    .elementor-element-6721629 {
        flex: 0 0 auto !important;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .elementor-element-1996bfe .elementor-heading-title {
        font-size: 20px !important;
    }

    .elementor-element-c24b6aa .elementor-icon-wrapper {
        width: 24px;
        height: 24px;
    }

    .elementor-element-c24b6aa .elementor-icon svg {
        width: 13px;
        height: 13px;
    }

    /* BLOQUE DERECHO: contador + botón en UNA línea */
    .elementor-element-1fcdf2a {
        flex: 1 1 auto !important;
        min-width: 0;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }

    /* Ocultar "Termina en" en móvil */
    .cs_section_heading_right h3 {
        display: none !important;
    }

    .cs_section_heading_right {
        flex: 0 1 auto;
        display: flex;
        align-items: center;
        gap: 3px;
        min-width: 0;
    }

    /* Contador MUY compacto */
    .cs_countdown.cs_style_1 {
        display: flex;
        gap: 3px;
    }

    .cs_countdown_box {
        min-width: 24px !important;
        height: 24px !important;
        border-radius: 5px;
        box-shadow: 0 2px 6px rgba(255, 26, 140, 0.35);
    }

    .cs_countdown_number {
        font-size: 10px !important;
        line-height: 1 !important;
    }

    .cs_countdown_box+.cs_countdown_box::before {
        left: -4px;
        font-size: 10px;
    }

    /* Botón "Ver todo" pequeño pero legible */
    .elementor-element-132598b {
        flex: 0 0 auto;
    }

    .elementor-element-132598b .elementor-button {
        padding: 3px 8px !important;
        font-size: 10px !important;
        white-space: nowrap !important;
        border-width: 1.2px !important;
    }
}

/************************************************************
 * Header – Productos Destacados
 * Contenedor: elementor-element-af41a3d
 ************************************************************/

/* ===== CONTENEDOR GENERAL (ROW) ============================= */
.elementor-element-af41a3d {
    padding: 20px 28px;
    background: #ffeef9;
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 24px;
    /* separa el título del slider */
}

/* Lado izquierdo: título "PRODUCTOS DESTACADOS" */
.elementor-element-0ca677f {
    flex: 1 1 auto;
}

.elementor-element-69fc64a .elementor-heading-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: 0.03em;
}

/* Lado derecho: botón "Ver Todo" */
.elementor-element-5fc3d54 {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.elementor-element-659f68a .elementor-button {
    border-radius: 999px;
    padding: 8px 22px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    border: 2px solid #ff1a8c;
    background: #fff0f8;
    color: #ff1a8c;
    box-shadow: 0 4px 10px rgba(255, 26, 140, 0.2);
    transition: all 0.2s ease;
}

.elementor-element-659f68a .elementor-button:hover {
    background: #ff1a8c;
    color: #fff;
    transform: translateY(-1px);
}

/* ==================   RESPONSIVE (MÓVIL)   =================== */
@media (max-width: 767px) {

    /* Título + botón en una sola línea */
    .elementor-element-af41a3d {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        padding: 12px 16px !important;
    }

    .elementor-element-0ca677f {
        flex: 1 1 auto;
        min-width: 0;
    }

    .elementor-element-69fc64a .elementor-heading-title {
        font-size: 22px !important;
        line-height: 1.1;
    }

    .elementor-element-5fc3d54 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .elementor-element-659f68a .elementor-button {
        padding: 4px 10px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        border-width: 1.4px;
        box-shadow: 0 3px 8px rgba(255, 26, 140, 0.25);
    }
}

/************************************************************
 * Header – Nuevo en la tienda
 * Contenedor: elementor-element-750b7f0
 ************************************************************/

/* ===== CONTENEDOR GENERAL (ROW) ============================= */
.elementor-element-750b7f0 {
    padding: 20px 28px;
    background: #ffeef9;
    /* mismo rosa del banner */
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 24px;
    /* separa el título del slider debajo */
}

/* Lado izquierdo: título "NUEVO EN LA TIENDA" */
.elementor-element-c8b6cde {
    flex: 1 1 auto;
}

.elementor-element-d07badb .elementor-heading-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: 0.03em;
}

/* Lado derecho: botón "Ver Todo" */
.elementor-element-10826cf {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.elementor-element-5fd8e28 .elementor-button {
    border-radius: 999px;
    padding: 8px 22px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    border: 2px solid #ff1a8c;
    background: #fff0f8;
    color: #ff1a8c;
    box-shadow: 0 4px 10px rgba(255, 26, 140, 0.2);
    transition: all 0.2s ease;
}

.elementor-element-5fd8e28 .elementor-button:hover {
    background: #ff1a8c;
    color: #fff;
    transform: translateY(-1px);
}

/* ==================   RESPONSIVE (MÓVIL)   =================== */
@media (max-width: 767px) {

    /* Título + botón en una sola línea */
    .elementor-element-750b7f0 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        padding: 12px 16px !important;
    }

    .elementor-element-c8b6cde {
        flex: 1 1 auto;
        min-width: 0;
    }

    .elementor-element-d07badb .elementor-heading-title {
        font-size: 22px !important;
        line-height: 1.1;
        margin: 0;
    }

    .elementor-element-10826cf {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .elementor-element-5fd8e28 .elementor-button {
        padding: 4px 10px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        border-width: 1.4px;
        box-shadow: 0 3px 8px rgba(255, 26, 140, 0.25);
    }
}

/* 1) Forzar alineación perfecta vertical de los 3 botones */
.bn-actions-row {
    display: flex;
    align-items: center !important;
    /* clave */
    gap: 10px;
}

/* 2) Asegurar que el wrapper de YITH tenga la misma altura base */
.bn-actions-row .yith-add-to-wishlist-button-block {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0 !important;
}

/* 3) Forzar que el botón real de YITH tenga la misma altura que los otros */
.bn-actions-row .yith-add-to-wishlist-button-block a,
.bn-actions-row .yith-add-to-wishlist-button-block button {
    height: 40px;
    /* usa exactamente la altura real de tus otros botones */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    line-height: 1;
}

.bn-btn.is-disabled {
    opacity: 0.45;
    filter: grayscale(100%);
    cursor: not-allowed;

    /* ✅ MUY IMPORTANTE */
    pointer-events: auto;
}