.menu-desplegable-productos {
  display: flex;
  background-color: #fff;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #000;
  position: relative;
  z-index: 10;
}

/* Columna izquierda: subcategorías */
.subcategorias-productos {
  width: 240px;
  margin-right: 40px;
}

.subcategorias-productos ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.subcategorias-productos li {
  padding: 8px 0;
  cursor: pointer;
  color: #000;
}

.subcategorias-productos li.activo {
  font-weight: 600;
  color: #e30613;
  position: relative;
}

.subcategorias-productos li.activo::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #e30613;
  border-radius: 50%;
}

/* Columna central: detalle subcategoría */
.detalle-subcategoria {
  flex: 1;
  margin-right: 40px;
}

.detalle-subcategoria h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #e30613;
}

.detalle-subcategoria p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #444;
}

.detalle-subcategoria .iconos-producto {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.detalle-subcategoria .iconos-producto img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  border: 2px solid #e30613;
}

/* Columna derecha: módulo visual */
.selector-productos {
  width: 260px;
  background: #000;
  color: #fff;
  position: relative;
}

.selector-productos .contenido {
  background-size: cover;
  background-position: center;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

/*.selector-productos .contenido::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1));
  z-index: 0;
}*/

.selector-productos .contenido * {
  position: relative;
  z-index: 1;
}

.selector-productos h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
}

.selector-productos p {
  font-size: 13px;
  margin: 0 0 15px;
}
.colL > a.btn.btn-primary {
  background-color: #e81f26 !important;
  border: 1px solid #e81f26 !important;
  color: #fff !important;
  font-weight: bold !important;
  font-size: 14px !important;
  padding: 10px 20px !important;
  border-radius: 4px !important;
  text-align: center !important;
  display: inline-block !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease !important;
  position:absolute !important;
 /* bottom: 20px !important;*/
  margin-top: 5px;
  z-index: 999 !important;
}

.colL > a.btn.btn-primary:hover,
.colL > a.btn.btn-primary:focus {
  background-color: #fff !important;
  color: #e81f26 !important;
  border: 1px solid #e81f26 !important;
}


/* Contenedor principal del mega menú de productos */
.submenu-productos {
  display: flex;
  position: sticky;
  top: 80px; /* ajustá según la altura del navbar */
  background-color: white;
  z-index: 999;
  padding: 30px 20px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.05);
}

/* Columna de líneas de productos (izquierda) */
.submenu-productos .categorias {
  width: 240px;
  border-right: 1px solid #ddd;
  padding-right: 15px;
}

.submenu-productos .categorias ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.submenu-productos .categorias li {
  padding: 6px 0;
  font-weight: 500;
  cursor: pointer;
}

.submenu-productos .categorias li.activo {
  color: #d51e2f;
  font-weight: 700;
}

/* Columna central con nombre, subtítulo y logo/icono */
.submenu-productos .linea-detalle {
  width: 260px;
  padding: 0 25px;
  text-align: left;
}

.submenu-productos .linea-detalle .linea-item {
  font-weight: 700;
  color: #d51e2f;
  margin-bottom: 6px;
}

.submenu-productos .linea-detalle .linea-subtitulo {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

/* Iconos debajo de la línea */
.submenu-productos .linea-iconos {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.submenu-productos .linea-iconos img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 100%;
  border: 2px solid #d51e2f;
  padding: 5px;
  background: white;
}

/* Columna de modelos */
.submenu-productos .modelos {
  flex-grow: 1;
  padding: 0 25px;
  border-right: 1px solid #ddd;
}

.submenu-productos .modelos h4 {
  font-weight: 700;
  margin-bottom: 8px;
}

.submenu-productos .modelos p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

#mob{background:rgba(0,0,0,0.9);z-index:89}
#mob a{color:#fff;font-size:14px;font-weight:500}
@media (min-width: 768px){
  #mob{width:100%;position:absolute;z-index:888;padding:50px 0 50px;margin:0;top:100px}
  #mob ul{margin:0;padding:0}
  #mob li{display:block;text-align:center;padding:8px 0}}
@media (min-width: 992px){
  #mob{display:none}}
@media (max-width: 767px){
  #mob{width:100%;background:#000;position:absolute;z-index:888;padding:50px 0 50px;margin:0;top:85px}
  #mob ul{margin:0;padding:0}
  #mob li{display:block;text-align:center;padding:8px 0}}

.directorio .resultados-directorio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
}

.directorio .resultados-directorio article {
    width: 50%;
    flex: 1 1 auto;
    margin-bottom: 20px;
}

