.asymmetric-marquee-wrapper-374011d2 {
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.marquee-row {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

.marquee-track {
    display: flex;
    gap: 20px;
    animation: marquee-scroll-374011d2 var(--marquee-speed) linear infinite;
    min-width: 200%;
}

.marquee-track-reverse {
    animation-direction: reverse;
}

.marquee-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 15px;
    padding: 15px 30px;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: fit-content;
    min-height: 70px;
    height: auto;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* === TARJETA IMAGEN (píldoras) ===
   Hereda borde, radio, tamaño y fondo de .marquee-card.
   Solo anula padding y añade overflow:hidden para que
   el border-radius recorte la foto en las esquinas.
   ============================================================ */
.marquee-card--image {
    padding: 0;
    overflow: hidden;
    width: 200px;
    height: 70px;
}

.marquee-img-card {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marquee-icon,
.marquee-text {
    display: flex;
    align-items: center;
}

.marquee-icon {
    flex-shrink: 0;
}

.marquee-text {
    white-space: normal;
    overflow-wrap: break-word;
    min-width: 0;
    line-height: 1.3;
}

.marquee-icon svg {
    width: 30px;
    height: 30px;
}

/* Contrarrestar fill:currentColor que Elementor aplica globalmente a SVGs.
   Los elementos que el SVG declara sin relleno deben seguir sin relleno. */
.marquee-icon svg [fill="none"] {
    fill: none !important;
}

@keyframes marquee-scroll-374011d2 {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

/* ── Grid estático para móvil ─────────────────────────────────────────────── */
.beps-mc-mobile-grid { display: none; }

@media (max-width: 767px) {

    /* Ocultar marquee animado */
    .asymmetric-marquee-wrapper-374011d2 { display: none !important; }

    /* Grid 2 columnas de ancho fijo, centrado */
    .beps-mc-mobile-grid {
        display: grid;
        grid-template-columns: 186px 186px;
        justify-content: center;
        gap: 12px;
    }

    /* Ancho fijo 186px, alto mínimo 75px — crece si el texto ocupa dos líneas */
    .beps-mc-mobile-grid .marquee-card {
        width: 186px;
        min-width: unset;
        height: auto;
        min-height: 75px;
        padding: 12px 16px;
        white-space: normal;
        word-break: break-word;
    }

    /* Texto alineado a la izquierda */
    .beps-mc-mobile-grid .marquee-content {
        justify-content: flex-start;
        width: 100%;
    }

    .beps-mc-mobile-grid .marquee-text {
        text-align: left;
    }

    .beps-mc-mobile-grid .marquee-img-card {
        height: 75px;
        min-height: 75px;
    }
}
