/* FIX GLOBAL - BOTONES HORIZONTALES SIEMPRE */

/* Asegurar que TODOS los botones sean horizontales */
.btn,
button,
[class*="-button"],
.product-footer button,
.product-actions button {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    flex-direction: row !important;
}

/* Resetear cualquier rotación */
.btn *,
button * {
    writing-mode: horizontal-tb !important;
    transform: none !important;
}

/* Asegurar texto normal en botones */
.btn::before,
.btn::after,
button::before,
button::after {
    writing-mode: horizontal-tb !important;
    transform: none !important;
}

/* Iconos antes del texto (si existen) */
.btn i,
button i {
    margin-right: 8px !important;
    display: inline-block !important;
    transform: none !important;
}

/* Para botones con clase específica */
.btn-primary,
.btn-secondary,
.btn-icon {
    writing-mode: horizontal-tb !important;
    transform: none !important;
}

