/* CONTENEDOR */
.submenu-lateral {
    width: 220px;
    flex-shrink: 0;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 10px;
}

/* MARCA */
.marca-titulo {
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
    margin-top: 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* EFECTO HOVER */
.marca-titulo:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* MARCA ACTIVA */
.marca-titulo.activa {
    outline: 2px solid rgba(0,0,0,0.2);
}

/* CONTENIDO */
.marca-contenido {
    display: none;
    padding-left: 12px;
    animation: fadeIn 0.3s ease;
}

.marca-contenido.abierto {
    display: block;
}

/* LISTA */
.submenu-lateral ul {
    list-style: none;
    padding-left: 5px;
}

.submenu-lateral li {
    margin: 6px 0;
}

/* LINKS */
.submenu-lateral a {
    text-decoration: none;
    color: #333;
    padding: 5px;
    display: block;
    border-radius: 5px;
    transition: all 0.25s ease;
}

/* ? IMPORTANTE: quitar conflicto de hover general */
.submenu-lateral a:hover {
    background: transparent;
}

/* ACTIVO */
.submenu-lateral li.activo a {
    font-weight: bold;
    background: rgba(0,0,0,0.08);
    transform: translateX(4px);
}

/* ANIMACIÓN */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-5px);}
    to {opacity: 1; transform: translateY(0);}
}

/* =========================
   COLORES MEXTRUCK (NARANJA)
========================= */
.marca-titulo.naranja {
    background: #ff7a00;
    color: #fff;
}

.marca-contenido.naranja a:hover {
    background: #ffe4cc;
    color: #ff7a00;
}

.marca-contenido.naranja li.activo a {
    background: #ffd1a3;
    color: #cc6200;   
}

/* =========================
   COLORES WIPERPOINT (AZUL)
========================= */
.marca-titulo.azul {
    background: #007bff;
    color: #fff;
}

.marca-contenido.azul a:hover {
    background: #d6e9ff;
    color: #007bff;
}

.marca-contenido.azul li.activo a {
    background: #b3d7ff;
    color: #004a99;
}

/* =========================
   OTRAS CATEGORÍAS (GRIS)
========================= */
.marca-titulo.gris {
    background: #6c757d;
    color: #fff;
}

.marca-contenido.gris a:hover {
    background: #e2e3e5;
}