/* Contenedor principal con la regla maestra */
.os-wrap { width: 100%; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; box-sizing: border-box; overflow: hidden; margin: 0; padding: 0; }
.os-head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.os-title { margin: 0; inherit !important; font-size: inherit !important; font-weight: inherit !important line-height: inherit !important; color: inherit; }

/* Botones perfectos */
.os-btns { display: flex; gap: 20px; }
.os-btns button { width: 40px; height: 40px; border: none; border-radius: 8px; background: #ffffff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: inherit; transition: opacity 0.3s ease; }
.os-btns button.is-disabled { cursor: not-allowed; background: #ffffff; }
.os-btns button.is-disabled svg { opacity: 0.2; }

/* Track general */
.os-track { display: flex; padding: 10px 0; width: 100%; box-sizing: border-box; }

/* Carrusel Manual (Categorías) */
.is-manual { gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.is-manual::-webkit-scrollbar { display: none; }

/* Carrusel Automático (Marcas) */
.os-auto-init { gap: 70px; overflow: hidden; }
.is-auto { width: max-content; animation: os-scroll 25s linear infinite; }
.is-auto:hover { animation-play-state: paused; }
@keyframes os-scroll { to { transform: translateX(calc(-50% - 35px)); } }

/* Tarjetas Base (Aplica por defecto a Categorías) */
.os-card { flex: 0 0 90px; width: 90px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-decoration: none; color: inherit; scroll-snap-align: start; gap: 12px; }
.os-img { width: 90px; height: 90px; background-color: #ffffff; padding: 12px; box-sizing: border-box; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.os-card:hover .os-img { transform: scale(1.05); }
.os-img img { width: 100%; height: 100%; object-fit: contain; }
.os-card span { font-weight: 500; font-size: 15px; text-align: center; }

/* Ocultar botones en móviles */
@media (pointer: coarse) { .os-btns { display: none; } }

/* ====================================================
   AJUSTES ESPECÍFICOS PARA LAS MARCAS (Sin círculos)
   ==================================================== */
.os-auto-init .os-card {
    width: auto;
    flex: 0 0 auto;
}

.os-auto-init .os-img {
    width: auto;
    height: 30px; /* Aquí controlas el tamaño del logo */
    background: transparent; 
    border-radius: 0; 
    padding: 0;
}

.os-auto-init .os-img img {
    width: auto;
    height: 100%;
    object-fit: contain;
}
