
/* =========================================================
   FIX GLOBAL: menú con emojis + colores visibles en cards
   ========================================================= */

/* Menú de categorías con emojis y submenú en una línea */
.dropdown-menu > a,
.dropdown-menu .dropdown-parent,
.dropdown-submenu-menu a{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  white-space:nowrap!important;
  line-height:1.25!important;
}
.dropdown-menu > a[href$="ninos.html"]::before{content:"👶"!important;display:inline!important;}
.dropdown-menu > a[href$="calzados.html"]::before{content:"👟"!important;display:inline!important;}
.dropdown-menu > a[href$="juguetes.html"]::before{content:"🧸"!important;display:inline!important;}
.dropdown-menu > a[href$="coches.html"]::before{content:"🛒"!important;display:inline!important;}
.dropdown-menu > a[href$="silla-de-carro.html"]::before{content:"🚗"!important;display:inline!important;}
.dropdown-menu > a[href$="cargadores.html"]::before{content:"🤱"!important;display:inline!important;}
.dropdown-menu > a[href$="cunas.html"]::before{content:"🛏️"!important;display:inline!important;}
.dropdown-menu > a[href$="hogar.html"]::before{content:"🏠"!important;display:inline!important;}
.dropdown-menu .dropdown-parent[href$="accesorios.html"]::before{content:"🎒"!important;display:inline!important;}
.dropdown-submenu-menu{min-width:310px!important;width:max-content!important;max-width:calc(100vw - 40px)!important;}
.dropdown-submenu-menu a[href*="cuidado-y-alimentacion"]::before{content:"🍼"!important;display:inline!important;}
.dropdown-submenu-menu a[href*="lactancia-y-panalera"]::before{content:"👜"!important;display:inline!important;}
.dropdown-submenu-menu a[href*="cuidado-y-alimentacion"]{white-space:nowrap!important;}

/* Mostrar opciones de color en las tarjetas donde sí existen variantes */
.product-card .product-options.product-options-visible{
  display:grid!important;
  grid-template-columns:1fr 1.18fr!important;
  gap:10px!important;
  align-items:end!important;
  margin:10px 0 12px!important;
}
.product-card .product-options.product-options-visible label{
  display:block!important;
  min-width:0!important;
}
.product-card .product-options.product-options-visible label > span{
  display:block!important;
  color:#2048a0!important;
  text-transform:uppercase!important;
  font-size:10px!important;
  font-weight:900!important;
  margin:0 0 5px!important;
  letter-spacing:.03em!important;
}
.product-card .product-options.product-options-visible input,
.product-card .product-options.product-options-visible select{
  display:block!important;
  width:100%!important;
  border:1px solid #d7e4fb!important;
  border-radius:14px!important;
  background:#fff!important;
  min-height:42px!important;
  padding:9px 10px!important;
  color:#102a63!important;
  font-weight:800!important;
  font-family:Poppins,Arial,sans-serif!important;
}
.product-card .product-card-color-row,
.product-card .compact-only-colors.product-card-color-row{
  display:block!important;
  margin:8px 0 12px!important;
}
.product-card .product-card-color-row .color-label-text{
  display:block!important;
  color:#2048a0!important;
  text-transform:uppercase!important;
  font-size:10px!important;
  font-weight:900!important;
  margin:0 0 6px!important;
  letter-spacing:.03em!important;
}
.product-card .product-card-color-row .color-picker,
.product-card .product-card-color-row [data-color-picker]{
  display:block!important;
  width:100%!important;
}
.product-card .product-card-color-row .color-swatch-group{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  align-items:center!important;
  padding:0!important;
  min-height:28px!important;
}
.product-card .product-card-color-row .color-swatch-btn,
.product-card .compact-only-colors .color-swatch-btn{
  display:inline-block!important;
  width:25px!important;
  height:25px!important;
  border-radius:999px!important;
  border:2px solid #d7e2fb!important;
  background:var(--swatch-bg,#dbeafe)!important;
  box-shadow:0 3px 10px rgba(16,42,99,.12), inset 0 0 0 1px rgba(255,255,255,.9)!important;
  cursor:pointer!important;
  flex:none!important;
}
.product-card .product-card-color-row .color-swatch-btn.active,
.product-card .compact-only-colors .color-swatch-btn.active{
  border-color:#2048a0!important;
  box-shadow:0 0 0 4px rgba(32,72,160,.16), 0 6px 14px rgba(16,42,99,.16)!important;
  transform:scale(1.08)!important;
}
.product-card .product-card-color-row select[data-product-color],
.product-card .product-card-color-row select[data-card-color],
.product-card select.visually-hidden-select{
  display:block!important;
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  margin:0!important;
  padding:0!important;
}
.product-card .product-img img{transition:opacity .18s ease, transform .18s ease;}
@media(max-width:768px){
  .dropdown-submenu-menu{min-width:0!important;width:100%!important;max-width:100%!important;}
  .dropdown-submenu-menu a{white-space:normal!important;}
  .product-card .product-options.product-options-visible{grid-template-columns:1fr 1fr!important;}
}
