/* Bebé Crece — cabecera y filtros centrados para categorías */
.bc-category-page main{overflow-x:hidden}
.bc-category-page .bc-category-section{padding-top:clamp(22px,3vw,42px)!important}
.bc-category-page .bc-category-header{
  width:min(1240px,calc(100% - 32px))!important;
  max-width:1240px!important;
  margin:0 auto 18px!important;
  padding:clamp(22px,3vw,38px)!important;
  border:1px solid #d8e5fb!important;
  border-radius:30px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f6f9ff 62%,#eef4ff 100%)!important;
  box-shadow:0 18px 44px rgba(16,42,99,.08)!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:24px!important;
}
.bc-category-page .bc-category-header>div{
  min-width:0!important;
  max-width:820px!important;
  margin:0 auto!important;
  text-align:center!important;
}
.bc-category-page .bc-category-header .eyebrow{
  display:inline-flex!important;
  justify-content:center!important;
  margin-bottom:10px!important;
}
.bc-category-page .bc-category-header .h2,
.bc-category-page .bc-category-header h1,
.bc-category-page .bc-category-header h2{
  margin:0 0 10px!important;
  text-align:center!important;
  font-size:clamp(30px,4vw,48px)!important;
  line-height:1.06!important;
  overflow-wrap:anywhere!important;
}
.bc-category-page .bc-category-header .muted,
.bc-category-page .bc-category-header p{
  max-width:720px!important;
  margin:0 auto!important;
  text-align:center!important;
  line-height:1.65!important;
}
.bc-category-page .bc-category-cart-btn,
.bc-category-page .bc-category-header [data-open-cart]{
  min-width:150px!important;
  min-height:48px!important;
  justify-self:end!important;
  white-space:nowrap!important;
  box-shadow:0 12px 24px rgba(31,73,166,.16)!important;
}
.bc-category-page .bc-category-filters{
  width:min(1240px,calc(100% - 32px))!important;
  max-width:1240px!important;
  margin:0 auto 30px!important;
  padding:16px 18px!important;
  border:1px solid #d8e5fb!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 12px 30px rgba(16,42,99,.06)!important;
  display:flex!important;
  justify-content:center!important;
  align-items:flex-end!important;
  gap:14px!important;
  flex-wrap:wrap!important;
}
.bc-category-page .bc-category-filters label{
  min-width:min(220px,100%)!important;
  flex:0 1 230px!important;
  gap:7px!important;
}
.bc-category-page .bc-category-filters label>span{
  font-size:11px!important;
  letter-spacing:.06em!important;
  font-weight:900!important;
  color:#153a86!important;
}
.bc-category-page .bc-category-filters select,
.bc-category-page .bc-category-filters input{
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  border:1px solid #cbdcf7!important;
  border-radius:14px!important;
  background:#fbfdff!important;
  color:#102a63!important;
  padding:0 14px!important;
  font:700 14px Poppins,Arial,sans-serif!important;
  outline:none!important;
}
.bc-category-page .bc-category-filters select:focus,
.bc-category-page .bc-category-filters input:focus{
  border-color:#2b58b5!important;
  box-shadow:0 0 0 4px rgba(43,88,181,.12)!important;
}
.bc-category-page .bc-category-filters .btn,
.bc-category-page .bc-category-filters button{
  min-height:48px!important;
  border-radius:14px!important;
}
@media(max-width:780px){
  .bc-category-page .bc-category-header{
    grid-template-columns:1fr!important;
    width:min(calc(100% - 20px),1240px)!important;
    gap:18px!important;
    border-radius:24px!important;
    padding:22px 18px!important;
  }
  .bc-category-page .bc-category-cart-btn,
  .bc-category-page .bc-category-header [data-open-cart]{
    width:100%!important;
    max-width:420px!important;
    justify-self:center!important;
  }
  .bc-category-page .bc-category-filters{
    width:min(calc(100% - 20px),1240px)!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    padding:14px!important;
    border-radius:18px!important;
  }
  .bc-category-page .bc-category-filters label,
  .bc-category-page .bc-category-filters .btn,
  .bc-category-page .bc-category-filters button{
    width:100%!important;
    max-width:none!important;
  }
}

/* ==============================================================
   BEBÉ CRECE — CORRECCIÓN REAL DE INTERFAZ DE CATEGORÍAS
   Versión: 2026-07-17 REAL7
   Este bloque se carga como la última hoja activa mediante
   category-catalog-polish-20260713.js para vencer estilos antiguos.
   ============================================================== */

html body.bc-category-page main .product-grid,
html body.bc-category-page main [data-product-grid],
html body.bc-category-page main [id$="ProductGrid"]{
  align-items:start!important;
  grid-auto-rows:auto!important;
}

html body.bc-category-page main .product-card{
  display:flex!important;
  flex-direction:column!important;
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
}

html body.bc-category-page main .product-card .product-img,
html body.bc-category-page main .product-card .product-image{
  position:relative!important;
  flex:0 0 auto!important;
  width:100%!important;
  height:220px!important;
  min-height:0!important;
  max-height:220px!important;
  padding:14px!important;
}

html body.bc-category-page main .product-card .product-img img,
html body.bc-category-page main .product-card .product-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:192px!important;
  object-fit:contain!important;
}

html body.bc-category-page main .product-card .product-body,
html body.bc-category-page main .product-card .card-body{
  display:flex!important;
  flex:0 0 auto!important;
  flex-grow:0!important;
  flex-shrink:0!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  gap:10px!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:16px!important;
}

html body.bc-category-page main .product-card .product-body > *,
html body.bc-category-page main .product-card .card-body > *{
  flex:0 0 auto!important;
  margin-top:0!important;
  margin-bottom:0!important;
}

html body.bc-category-page main .product-card .product-tags{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  min-height:0!important;
  margin:0 0 2px!important;
}

html body.bc-category-page main .product-card h3,
html body.bc-category-page main .product-card .product-title,
html body.bc-category-page main .product-card .product-name{
  display:block!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  line-height:1.3!important;
  overflow:visible!important;
  white-space:normal!important;
}

html body.bc-category-page main .product-card .product-card-desc{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-clamp:2!important;
  height:auto!important;
  min-height:0!important;
  max-height:3.25em!important;
  margin:0!important;
  overflow:hidden!important;
  line-height:1.55!important;
}

html body.bc-category-page main .product-card .price,
html body.bc-category-page main .product-card strong.price,
html body.bc-category-page main .product-card .price.price-offer{
  flex:0 0 auto!important;
  align-self:stretch!important;
  margin:4px 0 2px!important;
}

html body.bc-category-page main .product-card .product-card-color-row,
html body.bc-category-page main .product-card [data-card-color-row],
html body.bc-category-page main .product-card .compact-only-colors{
  flex:0 0 auto!important;
  margin:2px 0!important;
  min-height:0!important;
}

html body.bc-category-page main .product-card .card-btn-group{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:9px!important;
  flex:0 0 auto!important;
  width:100%!important;
  margin:4px 0 0!important;
}

html body.bc-category-page main .product-card .add-btn,
html body.bc-category-page main .product-card .btn-ver,
html body.bc-category-page main .product-card .gift-btn,
html body.bc-category-page main .product-card .btn-regalo,
html body.bc-category-page main .product-card [data-add-gift-draft]{
  flex:0 0 auto!important;
  width:100%!important;
  margin:0!important;
}

/* Modal: galería proporcionada y columna derecha sin estirarse. */
html body.bc-category-page #productModal .product-detail-modal,
html body.bc-category-page #productDetailModal .product-detail-modal{
  height:auto!important;
  min-height:0!important;
}

html body.bc-category-page #productModal .product-detail-grid,
html body.bc-category-page #productDetailModal .product-detail-grid,
html body.bc-category-page #productDetailModal .product-detail-grid-enhanced{
  align-items:start!important;
  height:auto!important;
  min-height:0!important;
}

html body.bc-category-page #productModal .detail-image,
html body.bc-category-page #productDetailModal .detail-image,
html body.bc-category-page #productDetailModal .detail-gallery-enhanced{
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:18px!important;
  gap:12px!important;
}

html body.bc-category-page #productModal #modalProductImage,
html body.bc-category-page #productDetailModal #modalMainImage,
html body.bc-category-page #productDetailModal .detail-image-enhanced{
  display:block!important;
  width:100%!important;
  height:330px!important;
  min-height:0!important;
  max-height:330px!important;
  object-fit:contain!important;
  padding:12px!important;
}

html body.bc-category-page #productModal .detail-gallery-wrap,
html body.bc-category-page #productDetailModal .detail-gallery-wrap{
  width:100%!important;
  max-width:520px!important;
  margin:0 auto!important;
}

html body.bc-category-page #productModal .detail-gallery,
html body.bc-category-page #productDetailModal .detail-gallery,
html body.bc-category-page #productDetailModal .detail-thumbs{
  min-height:0!important;
  margin:0!important;
  padding-top:3px!important;
  padding-bottom:5px!important;
}

html body.bc-category-page #productModal .detail-gallery button,
html body.bc-category-page #productDetailModal .detail-gallery button,
html body.bc-category-page #productDetailModal .detail-thumb{
  width:62px!important;
  height:62px!important;
  flex:0 0 62px!important;
  min-height:62px!important;
}

html body.bc-category-page #productModal .detail-info,
html body.bc-category-page #productDetailModal .detail-info{
  display:flex!important;
  flex-direction:column!important;
  align-self:start!important;
  justify-content:flex-start!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}

/* Recomendados: mostrar imágenes reales y evitar bloques vacíos. */
html body.bc-category-page #productModal .modal-side-extra,
html body.bc-category-page #productDetailModal .modal-side-extra{
  height:auto!important;
  min-height:0!important;
  margin-top:12px!important;
}

html body.bc-category-page #productModal .recommend-box,
html body.bc-category-page #productDetailModal .recommend-box{
  height:auto!important;
  min-height:0!important;
  padding:14px!important;
}

html body.bc-category-page #productModal .recommend-grid,
html body.bc-category-page #productDetailModal .recommend-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}

html body.bc-category-page #productModal .recommend-card,
html body.bc-category-page #productDetailModal .recommend-card{
  display:grid!important;
  grid-template-columns:68px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  min-height:88px!important;
  height:auto!important;
  padding:9px!important;
  overflow:hidden!important;
  text-align:left!important;
}

html body.bc-category-page #productModal .recommend-card > img,
html body.bc-category-page #productDetailModal .recommend-card > img,
html body.bc-category-page #productModal .recommend-image-wrap,
html body.bc-category-page #productDetailModal .recommend-image-wrap{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:68px!important;
  height:68px!important;
  min-width:68px!important;
  min-height:68px!important;
  max-width:68px!important;
  max-height:68px!important;
  object-fit:contain!important;
  background:#f7faff!important;
  border-radius:12px!important;
}

/* Pago flexible: no ocupar la altura de toda la galería. */
html body.bc-category-page #productModal .detail-note.detail-wompi-note,
html body.bc-category-page #productDetailModal .detail-note.detail-wompi-note,
html body.bc-category-page #productModal .detail-wompi-note,
html body.bc-category-page #productDetailModal .detail-wompi-note{
  display:grid!important;
  align-self:start!important;
  flex:0 0 auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:14px 0 0!important;
  padding:14px 16px!important;
  gap:5px!important;
}

/* Tiempo de entrega: bloque compacto. */
html body.bc-category-page .bc-delivery-box{
  display:block!important;
  align-self:start!important;
  flex:0 0 auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:15px!important;
  overflow:visible!important;
}
html body.bc-category-page .bc-delivery-head{margin:0 0 8px!important}
html body.bc-category-page .bc-delivery-select-label{margin:0 0 7px!important}
html body.bc-category-page .bc-delivery-result{margin:7px 0 0!important;min-height:0!important}
html body.bc-category-page .bc-delivery-note{margin:8px 0 0!important}

@media(max-width:820px){
  html body.bc-category-page main .product-card .product-img,
  html body.bc-category-page main .product-card .product-image{
    height:205px!important;
    max-height:205px!important;
  }
  html body.bc-category-page main .product-card .product-img img,
  html body.bc-category-page main .product-card .product-image img{
    max-height:177px!important;
  }
  html body.bc-category-page #productModal .product-detail-grid,
  html body.bc-category-page #productDetailModal .product-detail-grid,
  html body.bc-category-page #productDetailModal .product-detail-grid-enhanced{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  html body.bc-category-page #productModal #modalProductImage,
  html body.bc-category-page #productDetailModal #modalMainImage,
  html body.bc-category-page #productDetailModal .detail-image-enhanced{
    height:280px!important;
    max-height:280px!important;
  }
}

@media(max-width:560px){
  html body.bc-category-page main .product-card .product-body,
  html body.bc-category-page main .product-card .card-body{padding:14px!important;gap:9px!important}
  html body.bc-category-page #productModal .recommend-grid,
  html body.bc-category-page #productDetailModal .recommend-grid{grid-template-columns:1fr!important}
  html body.bc-category-page #productModal .recommend-card,
  html body.bc-category-page #productDetailModal .recommend-card{grid-template-columns:64px minmax(0,1fr)!important;min-height:82px!important}
  html body.bc-category-page #productModal .recommend-card > img,
  html body.bc-category-page #productDetailModal .recommend-card > img{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important}
}

/* ==============================================================
   BEBÉ CRECE — DESCRIPCIÓN CORTA Y PRECIO DESTACADO
   Versión: 2026-07-18 DESCPRICE1
   Únicamente ajusta la descripción visible y la jerarquía del precio.
   ============================================================== */

/* Descripción: tres líneas en PC/tablet, con espacio uniforme aun vacía. */
html body.bc-category-page main .product-card .product-card-desc,
html body.bc-category-page main .product-card .product-description,
html body.bc-category-page main .product-card .product-desc,
html body.bc-category-page main .product-card .card-description{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  line-clamp:3!important;
  width:100%!important;
  min-width:0!important;
  height:4.65em!important;
  min-height:4.65em!important;
  max-height:4.65em!important;
  margin:0!important;
  overflow:hidden!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  white-space:normal!important;
  text-overflow:ellipsis!important;
  line-height:1.55!important;
}

/* Precio normal: aproximadamente 30 % más grande, mismo azul y tipografía. */
html body.bc-category-page main .product-card .price:not(.price-offer),
html body.bc-category-page main .product-card strong.price:not(.price-offer),
html body.bc-category-page main .product-card .product-price:not(.price-offer){
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:5px 0 4px!important;
  color:#2048a0!important;
  font-family:inherit!important;
  font-size:clamp(25px,1.8vw,28px)!important;
  font-weight:950!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
  font-variant-numeric:tabular-nums!important;
  overflow-wrap:normal!important;
  word-break:keep-all!important;
}

/* Precio de oferta: anterior pequeño/tachado y actual grande. */
html body.bc-category-page main .product-card .price.price-offer,
html body.bc-category-page main .product-card strong.price.price-offer{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  width:100%!important;
  max-width:100%!important;
  margin:5px 0 4px!important;
  color:#2048a0!important;
  line-height:1.08!important;
}
html body.bc-category-page main .product-card .price.price-offer .old-price,
html body.bc-category-page main .product-card .price-offer-clean .old-price{
  color:#8b98b7!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:line-through!important;
}
html body.bc-category-page main .product-card .price.price-offer .price-now-value,
html body.bc-category-page main .product-card .price-offer-clean .price-now-value,
html body.bc-category-page main .product-card .price.price-offer .price-current{
  color:#2048a0!important;
  font-size:clamp(25px,1.8vw,28px)!important;
  font-weight:950!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
  font-variant-numeric:tabular-nums!important;
}

/* Celular: hasta cuatro líneas; precio responsive sin salirse. */
@media(max-width:560px){
  html body.bc-category-page main .product-card .product-card-desc,
  html body.bc-category-page main .product-card .product-description,
  html body.bc-category-page main .product-card .product-desc,
  html body.bc-category-page main .product-card .card-description{
    -webkit-line-clamp:4!important;
    line-clamp:4!important;
    height:6.2em!important;
    min-height:6.2em!important;
    max-height:6.2em!important;
  }
  html body.bc-category-page main .product-card .price:not(.price-offer),
  html body.bc-category-page main .product-card strong.price:not(.price-offer),
  html body.bc-category-page main .product-card .product-price:not(.price-offer),
  html body.bc-category-page main .product-card .price.price-offer .price-now-value,
  html body.bc-category-page main .product-card .price-offer-clean .price-now-value,
  html body.bc-category-page main .product-card .price.price-offer .price-current{
    font-size:clamp(24px,7vw,27px)!important;
  }
}

/* ==============================================================
   BEBÉ CRECE — TAXONOMÍA BEBÉ / NIÑOS / NIÑAS
   Versión 2026-07-23 TAXONOMY1
   ============================================================== */
.dropdown-menu .bc-taxonomy-nav{display:grid;gap:7px;padding-bottom:8px;margin-bottom:7px;border-bottom:1px solid var(--line,#d9e5fb)}
.dropdown-menu .bc-taxonomy-group{position:relative;min-width:0}
.dropdown-menu .bc-taxonomy-parent-row{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:4px;align-items:center}
.dropdown-menu .bc-taxonomy-parent{min-width:0!important;padding:11px 12px!important;justify-content:flex-start!important;gap:8px!important;color:var(--blue-3,#102a63)!important;background:#f8fbff}
.dropdown-menu .bc-taxonomy-parent::after{display:none!important}
.dropdown-menu .bc-taxonomy-parent strong{font:900 14px/1.2 Poppins,Arial,sans-serif;min-width:0}
.dropdown-menu .bc-taxonomy-count{margin-left:auto;min-width:20px;color:#2048a0;font-size:10px;font-weight:900;text-align:right}
.dropdown-menu .bc-taxonomy-toggle{width:36px;height:36px;border:1px solid var(--line,#d9e5fb);border-radius:12px;background:#fff;color:#2048a0;font-size:22px;font-weight:900;line-height:1;cursor:pointer;transition:.18s ease}
.dropdown-menu .bc-taxonomy-group.is-open .bc-taxonomy-toggle{transform:rotate(90deg);background:#eaf2ff}
.dropdown-menu .bc-taxonomy-children{display:none;margin:5px 0 7px 14px;padding:5px;border-left:2px solid #dce8fb;background:#fbfdff;border-radius:0 12px 12px 0}
.dropdown-menu .bc-taxonomy-group.is-open .bc-taxonomy-children{display:grid;gap:2px}
.dropdown-menu .bc-taxonomy-children a{padding:8px 10px!important;font-size:11px!important;font-weight:800!important;border-radius:10px!important;gap:7px!important}
.dropdown-menu .bc-taxonomy-children a::after{display:none!important}
.dropdown-menu .bc-taxonomy-children a:hover{background:#eef5ff!important}
.dropdown-menu.has-bc-taxonomy,.dropdown-menu:has(.bc-taxonomy-nav){width:min(360px,calc(100vw - 24px));max-height:min(76vh,650px);overflow:auto;overscroll-behavior:contain}
.taxonomy-page-heading{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:2px 2px 8px;color:#102a63}
.taxonomy-page-heading strong{font-size:20px;font-weight:950}.taxonomy-page-heading span{font-size:12px;color:#637294;font-weight:700}
@media(hover:hover) and (min-width:861px){
  .dropdown-menu .bc-taxonomy-group:hover .bc-taxonomy-children{display:grid}
  .dropdown-menu .bc-taxonomy-group:hover .bc-taxonomy-toggle{transform:rotate(90deg);background:#eaf2ff}
}
@media(max-width:860px){
  .dropdown-menu.has-bc-taxonomy,.dropdown-menu:has(.bc-taxonomy-nav){width:100%;max-height:none;overflow:visible}
  .dropdown-menu .bc-taxonomy-parent-row{grid-template-columns:minmax(0,1fr) 42px}
  .dropdown-menu .bc-taxonomy-toggle{width:42px;height:42px}
  .dropdown-menu .bc-taxonomy-children{margin-left:9px}
  .taxonomy-page-heading{display:grid;gap:3px}.taxonomy-page-heading strong{font-size:18px}
}
.dropdown-menu .bc-taxonomy-group:focus-within .bc-taxonomy-children{display:grid}


/* ==============================================================
   BEBE CRECE — CORRECCIÓN V6 MENÚ TAXONÓMICO Y ANIMACIÓN
   Versión: 2026-07-24 V6
   - Bebé, Niños y Niñas se integran visualmente con las categorías.
   - Sin línea divisoria.
   - Apertura suave de subcategorías como Accesorios.
   - Entrada animada de productos en Bebé / Niños / Niñas.
   ============================================================== */
.dropdown-menu .bc-taxonomy-nav{
  display:grid!important;
  gap:2px!important;
  margin:0!important;
  padding:0!important;
  border-bottom:0!important;
}
.dropdown-menu .bc-taxonomy-group{margin:0!important;padding:0!important}
.dropdown-menu .bc-taxonomy-parent-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 32px!important;
  gap:0!important;
  align-items:center!important;
  min-height:48px!important;
  border:0!important;
}
.dropdown-menu .bc-taxonomy-parent,
.dropdown-menu > a,
.dropdown-menu .dropdown-parent{
  min-height:48px!important;
  padding:11px 14px!important;
  gap:10px!important;
  border-radius:12px!important;
  background:transparent!important;
  color:var(--blue-3,#102a63)!important;
  font-family:Poppins,Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1.25!important;
  text-decoration:none!important;
  transition:background-color .2s ease,transform .2s ease,color .2s ease!important;
}
.dropdown-menu .bc-taxonomy-parent strong{
  font-family:Poppins,Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1.25!important;
}
.dropdown-menu .bc-taxonomy-count{display:none!important}
.dropdown-menu .bc-taxonomy-toggle{
  width:32px!important;
  height:40px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#2048a0!important;
  font-size:20px!important;
  font-weight:700!important;
  line-height:1!important;
  box-shadow:none!important;
  cursor:pointer!important;
  transition:transform .28s cubic-bezier(.2,.75,.25,1),background-color .2s ease!important;
}
.dropdown-menu .bc-taxonomy-parent:hover,
.dropdown-menu > a:hover,
.dropdown-menu .dropdown-parent:hover,
.dropdown-menu .bc-taxonomy-group:focus-within > .bc-taxonomy-parent-row .bc-taxonomy-parent{
  background:#eef4ff!important;
  transform:translateX(2px)!important;
}
.dropdown-menu .bc-taxonomy-group.is-open > .bc-taxonomy-parent-row .bc-taxonomy-parent,
.dropdown-menu .bc-taxonomy-group.is-current > .bc-taxonomy-parent-row .bc-taxonomy-parent{
  background:#f5f8ff!important;
}
.dropdown-menu .bc-taxonomy-group.is-open .bc-taxonomy-toggle{
  transform:rotate(90deg)!important;
  background:#eef4ff!important;
}
.dropdown-menu .bc-taxonomy-children{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:2px!important;
  max-height:0!important;
  margin:0 0 0 14px!important;
  padding:0 5px!important;
  border-left:2px solid transparent!important;
  border-radius:0 12px 12px 0!important;
  background:#fbfdff!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  overflow:hidden!important;
  transform:translateY(-8px) scaleY(.98)!important;
  transform-origin:top!important;
  transition:max-height .34s cubic-bezier(.2,.75,.25,1),opacity .22s ease,transform .34s cubic-bezier(.2,.75,.25,1),padding .34s ease,border-color .34s ease!important;
}
.dropdown-menu .bc-taxonomy-group.is-open .bc-taxonomy-children,
.dropdown-menu .bc-taxonomy-group:focus-within .bc-taxonomy-children{
  max-height:430px!important;
  margin:3px 0 6px 14px!important;
  padding:5px!important;
  border-left-color:#dce8fb!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateY(0) scaleY(1)!important;
}
.dropdown-menu .bc-taxonomy-children a{
  min-height:38px!important;
  padding:8px 10px!important;
  font-family:Poppins,Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.25!important;
  opacity:0!important;
  transform:translateY(-4px)!important;
  transition:opacity .22s ease,transform .25s ease,background-color .2s ease!important;
}
.dropdown-menu .bc-taxonomy-group.is-open .bc-taxonomy-children a,
.dropdown-menu .bc-taxonomy-group:focus-within .bc-taxonomy-children a{
  opacity:1!important;
  transform:translateY(0)!important;
}
.dropdown-menu .bc-taxonomy-group.is-open .bc-taxonomy-children a:nth-child(2){transition-delay:.025s!important}
.dropdown-menu .bc-taxonomy-group.is-open .bc-taxonomy-children a:nth-child(3){transition-delay:.05s!important}
.dropdown-menu .bc-taxonomy-group.is-open .bc-taxonomy-children a:nth-child(4){transition-delay:.075s!important}
.dropdown-menu .bc-taxonomy-group.is-open .bc-taxonomy-children a:nth-child(5){transition-delay:.10s!important}
.dropdown-menu .bc-taxonomy-group.is-open .bc-taxonomy-children a:nth-child(6){transition-delay:.125s!important}

/* Evita la antigua separación visual antes de Calzados. */
.dropdown-menu.has-bc-taxonomy .bc-taxonomy-nav + a,
.dropdown-menu:has(.bc-taxonomy-nav) .bc-taxonomy-nav + a{
  margin-top:0!important;
  border-top:0!important;
}

/* Entrada suave del catálogo al entrar a Bebé, Niños o Niñas. */
body[data-taxonomy-category] #ninosProductGrid{
  transition:opacity .26s ease,transform .26s ease!important;
}
body[data-taxonomy-category] #ninosProductGrid.bc-taxonomy-products-enter .product-card{
  animation:bcTaxonomyCardEnter .46s cubic-bezier(.2,.75,.25,1) both!important;
  animation-delay:calc(var(--bc-card-index,0) * 42ms)!important;
}
@keyframes bcTaxonomyCardEnter{
  from{opacity:0;transform:translateY(18px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media(hover:hover) and (min-width:861px){
  .dropdown-menu .bc-taxonomy-group:hover .bc-taxonomy-children{
    max-height:430px!important;
    margin:3px 0 6px 14px!important;
    padding:5px!important;
    border-left-color:#dce8fb!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0) scaleY(1)!important;
  }
  .dropdown-menu .bc-taxonomy-group:hover .bc-taxonomy-children a{opacity:1!important;transform:none!important}
}
@media(max-width:860px){
  .dropdown-menu .bc-taxonomy-parent-row{grid-template-columns:minmax(0,1fr) 38px!important}
  .dropdown-menu .bc-taxonomy-toggle{width:38px!important;height:44px!important}
  .dropdown-menu .bc-taxonomy-parent,
  .dropdown-menu > a,
  .dropdown-menu .dropdown-parent{font-size:15px!important;min-height:46px!important}
  .dropdown-menu .bc-taxonomy-parent strong{font-size:15px!important}
}
@media(prefers-reduced-motion:reduce){
  .dropdown-menu .bc-taxonomy-children,
  .dropdown-menu .bc-taxonomy-children a,
  body[data-taxonomy-category] #ninosProductGrid .product-card{animation:none!important;transition:none!important}
}

/* ==============================================================
   BEBÉ CRECE — AJUSTES V7 SOLICITADOS
   Versión: 2026-07-24 UXV7
   1) Bebé / Niños / Niñas abren sus subcategorías hacia la derecha.
   2) Catálogos públicos en bloques de 3 productos en escritorio.
   3) Mesa de regalo visible únicamente con sesión iniciada.
   ============================================================== */

/* Submenús laterales: mismo comportamiento visual que el submenú de Accesorios. */
@media (min-width:861px){
  html body .dropdown-menu.has-bc-taxonomy,
  html body .dropdown-menu:has(.bc-taxonomy-nav){
    overflow:visible!important;
    max-height:none!important;
  }
  html body .dropdown-menu .bc-taxonomy-nav{
    position:relative!important;
  }
  html body .dropdown-menu .bc-taxonomy-group{
    position:relative!important;
  }
  html body .dropdown-menu .bc-taxonomy-children{
    position:absolute!important;
    top:0!important;
    left:calc(100% + 10px)!important;
    z-index:180!important;
    width:285px!important;
    min-width:285px!important;
    max-width:min(320px,calc(100vw - 40px))!important;
    max-height:70vh!important;
    margin:0!important;
    padding:8px!important;
    overflow:auto!important;
    border:1px solid #e8eef8!important;
    border-left:1px solid #e8eef8!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 14px 38px rgba(16,42,99,.16)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateX(-8px)!important;
    transform-origin:left top!important;
    transition:opacity .2s ease,visibility .2s ease,transform .22s ease!important;
  }
  html body .dropdown-menu .bc-taxonomy-group.is-open > .bc-taxonomy-children,
  html body .dropdown-menu .bc-taxonomy-group:hover > .bc-taxonomy-children,
  html body .dropdown-menu .bc-taxonomy-group:focus-within > .bc-taxonomy-children{
    margin:0!important;
    padding:8px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateX(0)!important;
  }
  html body .dropdown-menu .bc-taxonomy-children a,
  html body .dropdown-menu .bc-taxonomy-group.is-open .bc-taxonomy-children a,
  html body .dropdown-menu .bc-taxonomy-group:hover .bc-taxonomy-children a,
  html body .dropdown-menu .bc-taxonomy-group:focus-within .bc-taxonomy-children a{
    min-height:40px!important;
    opacity:1!important;
    transform:none!important;
  }
}

/* En móvil se conserva el despliegue dentro del menú para que no salga de la pantalla. */
@media (max-width:860px){
  html body .dropdown-menu .bc-taxonomy-children{
    position:static!important;
    left:auto!important;
    top:auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
  }
}

/* Tres tarjetas por línea en todos los catálogos públicos de escritorio. */
@media (min-width:1100px){
  html body.bc-category-page main .product-grid,
  html body.bc-category-page main [data-product-grid],
  html body.bc-category-page main [id$="ProductGrid"],
  html body main #promotionProductGrid.product-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:clamp(22px,2.2vw,32px)!important;
  }
}
@media (min-width:701px) and (max-width:1099px){
  html body.bc-category-page main .product-grid,
  html body.bc-category-page main [data-product-grid],
  html body.bc-category-page main [id$="ProductGrid"],
  html body main #promotionProductGrid.product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:700px){
  html body.bc-category-page main .product-grid,
  html body.bc-category-page main [data-product-grid],
  html body.bc-category-page main [id$="ProductGrid"],
  html body main #promotionProductGrid.product-grid{
    grid-template-columns:1fr!important;
  }
}

/* Alineación interna uniforme de las tarjetas. */
html body.bc-category-page main .product-grid,
html body.bc-category-page main [data-product-grid],
html body.bc-category-page main [id$="ProductGrid"]{
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
}
html body.bc-category-page main .product-card{
  height:100%!important;
  align-self:stretch!important;
}
html body.bc-category-page main .product-card .product-body{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
}
html body.bc-category-page main .product-card .product-body > .add-btn,
html body.bc-category-page main .product-card .product-body > .view-btn,
html body.bc-category-page main .product-card .product-body > [data-open-product],
html body.bc-category-page main .product-card .product-body > [data-view-product]{
  margin-top:auto!important;
}

/* Mesa de regalo: ocultarla de forma predeterminada y mostrarla solo con usuario autenticado. */
html body:not(.bc-gift-user-authenticated) .product-card [data-add-gift-draft],
html body:not(.bc-gift-user-authenticated) .product-card .bc-gift-add,
html body:not(.bc-gift-user-authenticated) .product-detail-modal [data-add-gift-draft],
html body:not(.bc-gift-user-authenticated) #productModal [data-add-gift-draft],
html body:not(.bc-gift-user-authenticated) #productDetailModal [data-add-gift-draft]{
  display:none!important;
}

