/* ── Bambu Cintillo – Frontend v1.0.5 ──────────────────────────────────────── */

#bambu-cintillo {
    --bc-pad-v:     10px;
    --bc-pad-h:     24px;
    --bc-gap:       20px;
    --bc-img-h:     40px;
    --bc-img-w:     0px;   /* 0 = auto */
    --bc-font-size: 14px;

    width: 100% !important;
    box-sizing: border-box !important;
    font-family: inherit;
    line-height: 1.4;
    display: block !important;
    /* Ningún builder debe hacer sticky este elemento */
    position: static !important;
}

.bambu-cintillo__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: var(--bc-gap) !important;
    padding: var(--bc-pad-v) var(--bc-pad-h) !important;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.bambu-cintillo__el {
    display: flex !important;
    align-items: center !important;
}

/* ── Imagen: !important para anular Breakdance u otros builders ────────────── */
#bambu-cintillo .bambu-cintillo__image img {
    display: block !important;
    height: var(--bc-img-h) !important;
    /*
     * Ancho: si --bc-img-w es 0px usa "auto",
     * si tiene valor lo aplica. Manejado vía inline style inyectado por PHP.
     * El !important aquí bloquea overrides de Breakdance.
     */
    max-width: 100% !important;
    object-fit: contain !important;
    /* Resetear cualquier transformación del builder */
    transform: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Texto */
#bambu-cintillo .bambu-cintillo__text {
    font-size: var(--bc-font-size) !important;
    text-align: center;
    margin: 0 !important;
    padding: 0 !important;
}

#bambu-cintillo .bambu-cintillo__text p { margin: 0 !important; }

#bambu-cintillo .bambu-cintillo__text a {
    color: inherit !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#bambu-cintillo .bambu-cintillo__text a:hover { opacity: 0.8; }
