/**
 * hummingbird-pz ? ajustes PLP (solo listados, no PDP).
 */

/* Ancho de .columns-container: assets/css/layout-width.css (--gino-container-max). */


@media (min-width: 992px) {
  body#category.layout-left-column #left-column.left-column,
  body#search.layout-left-column #left-column.left-column,
  body#manufacturer.layout-left-column #left-column.left-column,
  body#prices-drop.layout-left-column #left-column.left-column,
  body#new-products.layout-left-column #left-column.left-column,
  body#best-sales.layout-left-column #left-column.left-column {
    flex: 0 0 18%;
    max-width: 18%;
  }

  body#category.layout-left-column #center-column.center-column,
  body#search.layout-left-column #center-column.center-column,
  body#manufacturer.layout-left-column #center-column.center-column,
  body#prices-drop.layout-left-column #center-column.center-column,
  body#new-products.layout-left-column #center-column.center-column,
  body#best-sales.layout-left-column #center-column.center-column {
    flex: 0 0 82%;
    max-width: 82%;
  }
}

/* Grilla PLP (con sidebar):
 * mobile <768 ? 2
 * tablet 768?991 ? 2
 * desktop ?992 ? 4
 * El breakpoint de desktop evita saltar a dos cards al usar zoom 125/150%.
 */
:is(#js-product-list, .np-plp-list) .products,
body#category :is(#js-product-list, .np-plp-list) .products,
body#search :is(#js-product-list, .np-plp-list) .products,
body#manufacturer :is(#js-product-list, .np-plp-list) .products,
body#supplier :is(#js-product-list, .np-plp-list) .products,
body#new-products :is(#js-product-list, .np-plp-list) .products,
body#best-sales :is(#js-product-list, .np-plp-list) .products,
body#prices-drop :is(#js-product-list, .np-plp-list) .products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 4px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  :is(#js-product-list, .np-plp-list) .products,
  body#category :is(#js-product-list, .np-plp-list) .products,
  body#search :is(#js-product-list, .np-plp-list) .products,
  body#manufacturer :is(#js-product-list, .np-plp-list) .products,
  body#prices-drop :is(#js-product-list, .np-plp-list) .products,
  body#new-products :is(#js-product-list, .np-plp-list) .products,
  body#best-sales :is(#js-product-list, .np-plp-list) .products,
  body#category.layout-left-column .products,
  body#search.layout-left-column .products,
  body#manufacturer.layout-left-column .products,
  body#prices-drop.layout-left-column .products,
  body#new-products.layout-left-column .products,
  body#best-sales.layout-left-column .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.15rem;
  }
}

@media (min-width: 992px) {
  :is(#js-product-list, .np-plp-list) .products,
  body#category :is(#js-product-list, .np-plp-list) .products,
  body#search :is(#js-product-list, .np-plp-list) .products,
  body#manufacturer :is(#js-product-list, .np-plp-list) .products,
  body#prices-drop :is(#js-product-list, .np-plp-list) .products,
  body#new-products :is(#js-product-list, .np-plp-list) .products,
  body#best-sales :is(#js-product-list, .np-plp-list) .products,
  body#category.layout-left-column .products,
  body#search.layout-left-column .products,
  body#manufacturer.layout-left-column .products,
  body#prices-drop.layout-left-column .products,
  body#new-products.layout-left-column .products,
  body#best-sales.layout-left-column .products,
  body#category.layout-right-column .products,
  body#search.layout-right-column .products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 15.25px;
  }
}

/* Sort by: no estirar a todo el ancho */
#js-product-list-top .products__selection {
  align-items: center;
}

#js-product-list-top .products__sort {
  justify-content: flex-end;
  width: auto;
  max-width: 100%;
  margin-left: auto;
}

#js-product-list-top .products__sort-dropdown {
  flex-grow: 0;
  width: auto;
  max-width: 18rem;
}

#js-product-list-top .products__sort-dropdown-button {
  width: auto;
  min-width: 11rem;
  max-width: 18rem;
  justify-content: space-between;
  white-space: nowrap;
}

@media (min-width: 992px) {
  #js-product-list-top .products__selection {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  /* Sidebar de filtros ya visible: el botón Filtrar de la barra solo en mobile. */
  #js-product-list-top .js-search-toggler,
  #js-product-list-top #search_filter_toggler,
  #js-product-list-top [data-bs-target="#offcanvas-search-filters"],
  #js-product-list-top .products__filter,
  #js-product-list-top .products-selection__filter {
    display: none !important;
  }
}

/* Cards a altura igual por fila (contrato nativo del grid Hummingbird). */
:is(#js-product-list, .np-plp-list) .products {
  align-items: stretch;
}

:is(#js-product-list, .np-plp-list) .product-miniature,
:is(#js-product-list, .np-plp-list) .product-miniature__inner {
  position: relative;
}

/* Enlace estirado: click en card ? producto */
:is(#js-product-list, .np-plp-list) .product-miniature__full-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}

/* Zonas interactivas por encima del enlace (sin romper position:absolute del tema) */
:is(#js-product-list, .np-plp-list) .product-miniature__actions-row,
:is(#js-product-list, .np-plp-list) .product-miniature__quickview-button,
:is(#js-product-list, .np-plp-list) .product-miniature__quickview-touch,
:is(#js-product-list, .np-plp-list) .np-wish-add--plp {
  z-index: 5;
}

:is(#js-product-list, .np-plp-list) .product-miniature__variants {
  position: relative;
  z-index: 3;
}

/* Imagen clickeable: pictures/tags no capturan el click (pasa al <a>) */
:is(#js-product-list, .np-plp-list) .product-miniature__picture--first,
:is(#js-product-list, .np-plp-list) .product-miniature__picture--second {
  pointer-events: none;
}

:is(#js-product-list, .np-plp-list) .tagSpace,
:is(#js-product-list, .np-plp-list) .tagSpace .product-flags {
  pointer-events: none !important;
}

/*
 * PLP cards — contrato nativo Hummingbird, sin alturas fijas:
 * - El grid estira únicamente la card hasta la altura natural de su fila.
 * - El interior ocupa el 100% para que fondo/borde/hover sean uniformes.
 * - El espacio sobrante queda al final del bottom; nunca entre precio y tallas.
 * Esto se mantiene estable en desktop, mobile y zoom del navegador.
 */
:is(#js-product-list, .np-plp-list) .products {
  align-items: stretch !important;
}

:is(#js-product-list, .np-plp-list) .product-miniature {
  display: flex;
  flex-direction: column;
  align-self: stretch !important;
  width: 100%;
  min-width: 0 !important;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none !important;
  overflow: visible !important;
  box-sizing: border-box;
}

:is(#js-product-list, .np-plp-list) .product-miniature__inner {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-self: stretch !important;
  justify-content: flex-start !important;
  width: 100%;
  min-width: 0 !important;
  max-width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

:is(#js-product-list, .np-plp-list) .product-miniature__bottom--plp,
:is(#js-product-list, .np-plp-list) .product-miniature__bottom {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0.7rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  text-align: center;
  position: relative;
  z-index: 2;
}

:is(#js-product-list, .np-plp-list) .product-miniature__infos {
  display: flex !important;
  flex-direction: column;
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
  gap: 0.15rem;
  width: 100%;
  min-width: 0 !important;
  max-width: 100%;
  min-height: 0 !important;
  height: auto !important;
}

:is(#js-product-list, .np-plp-list) .product-miniature__variants {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto !important;
  width: 100%;
  min-width: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

:is(#js-product-list, .np-plp-list) .product-miniature__variants .variant-links {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto !important;
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  #js-product-list .products__pagination,
  :is(#js-product-list, .np-plp-list) .products__pagination,
  #js-product-list-bottom,
  .pagination {
    margin-top: 2.25rem !important;
    clear: both;
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 767.98px) {
  :is(#js-product-list, .np-plp-list) .product-miniature__bottom--plp {
    padding-bottom: 0.6rem;
  }
}

/* Marca + título + precio: enlace real (URL sync np_prodtallas) */
:is(#js-product-list, .np-plp-list) .product-miniature__meta-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

:is(#js-product-list, .np-plp-list) .product-miniature__infos {
  display: flex !important;
  flex-direction: column;
  flex: 0 0 auto !important;
  gap: 0.15rem;
  min-height: 0;
}

:is(#js-product-list, .np-plp-list) .product-miniature__brand,
:is(#js-product-list, .np-plp-list) .product-miniature .product-brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  min-height: 1.2em;
  color: #111;
}

:is(#js-product-list, .np-plp-list) .product-miniature__brand a,
:is(#js-product-list, .np-plp-list) .product-miniature .product-brand a {
  color: inherit;
  text-decoration: none;
}

/* T�tulo m�s peque�o que la marca (estilo warehouse 1.7) */
:is(#js-product-list, .np-plp-list) .product-miniature__title.product-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.25;
  min-height: calc(1.25em * 2);
  max-height: calc(1.25em * 2);
  color: #3a4a5c;
  text-decoration: none;
  cursor: pointer;
}

:is(#js-product-list, .np-plp-list) .product-miniature__prices.product-price-and-shipping {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15rem;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin-block: 0.2rem 0;
}

:is(#js-product-list, .np-plp-list) .product-miniature__prices-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.4rem 0.55rem;
  width: 100%;
  min-width: 0;
}

/* Precio: color prod PZ (sin tocar font-family) */
:is(#js-product-list, .np-plp-list) .product-miniature__price.product-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ad1f00;
  line-height: 1.2;
  white-space: nowrap;
}

/* Cupón QDP: debajo de precio oferta + tachado, nunca al lado. */
:is(#js-product-list, .np-plp-list) .product-miniature__promotion {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

:is(#js-product-list, .np-plp-list) .product-miniature__promotion b {
  font-weight: 600;
  white-space: normal;
}

:is(#js-product-list, .np-plp-list) .product-miniature__promotion > span {
  display: inline-block;
  padding-inline: 0.15rem;
  white-space: nowrap;
}

:is(#js-product-list, .np-plp-list) .product-miniature__regular-price.regular-price {
  font-size: 0.75rem;
  font-weight: 400;
  color: #9a9a9a;
  margin: 0 !important;
  white-space: nowrap;
}

/* Variants: altura natural (no crecer ni reservar 11.5rem en ready) */
:is(#js-product-list, .np-plp-list) .product-miniature__variants {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto !important;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  min-height: 0;
}

:is(#js-product-list, .np-plp-list) .product-miniature__variants .variant-links {
  width: 100%;
}

/* Reviews nativos: no desalinean cards */
:is(#js-product-list, .np-plp-list) .product-list-review {
  display: none !important;
}

/*
 * Quick view desktop: overlay pegado al borde inferior de la IMAGEN.
 * Siempre absolute (evita que el bot�n quede entre imagen y marca en flow).
 * Mobile (touch): ojito en esquina ? OK.
 */
:is(#js-product-list, .np-plp-list) .product-miniature__top {
  position: relative;
  z-index: 2;
  overflow: visible;
}

:is(#js-product-list, .np-plp-list) .product-miniature__image-container {
  position: relative;
  overflow: hidden;
}

/* Desktop/tablet: fila ojo + corazon overlay inferior */
:is(#js-product-list, .np-plp-list) .product-miniature__actions-row {
  position: absolute !important;
  top: auto !important;
  bottom: 0.45rem !important;
  left: 50% !important;
  right: auto !important;
  width: auto !important;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  z-index: 6;
  margin: 0 !important;
  pointer-events: none;
}

:is(#js-product-list, .np-plp-list) .product-miniature__actions-row .product-miniature__quickview-button,
:is(#js-product-list, .np-plp-list) .product-miniature__actions-row .np-wish-add--plp {
  position: static !important;
  inset: auto !important;
  width: 29px !important;
  height: 29px !important;
  min-width: 26px;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
  pointer-events: auto !important;
  font-size: 0;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

:is(#js-product-list, .np-plp-list) .product-miniature__actions-row .product-miniature__quickview-button .material-icons,
:is(#js-product-list, .np-plp-list) .product-miniature__actions-row .np-wish-add--plp .material-icons {
  font-size: 19px;
}

/* Por si el parent aún inyecta el touch: nunca mostrarlo en PLP */
:is(#js-product-list, .np-plp-list) .product-miniature__quickview-touch {
  display: none !important;
}

/* No forzar display en ambos iconos: outline/filled se alternan (np_wishlist) */
.product-miniature .np-wish-add--plp .np-wish-add__icon--filled,
:is(#js-product-list, .np-plp-list, .featured-products, .product-accessories) .np-wish-add--plp .np-wish-add__icon--filled {
  display: none !important;
  color: #db1b1b;
}

.product-miniature .np-wish-add--plp.np-wish-add--added .np-wish-add__icon--outline,
:is(#js-product-list, .np-plp-list, .featured-products, .product-accessories) .np-wish-add--plp.np-wish-add--added .np-wish-add__icon--outline {
  display: none !important;
}

.product-miniature .np-wish-add--plp.np-wish-add--added .np-wish-add__icon--filled,
:is(#js-product-list, .np-plp-list, .featured-products, .product-accessories) .np-wish-add--plp.np-wish-add--added .np-wish-add__icon--filled {
  display: block !important;
}

@media (hover: hover) and (pointer: fine) {
  :is(#js-product-list, .np-plp-list) .product-miniature__actions-row {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  :is(#js-product-list, .np-plp-list) .product-miniature__inner:hover .product-miniature__actions-row,
  :is(#js-product-list, .np-plp-list) .product-miniature__image-container:hover .product-miniature__actions-row,
  :is(#js-product-list, .np-plp-list) .product-miniature__inner:has(*:focus-visible) .product-miniature__actions-row {
    opacity: 1;
    visibility: visible;
  }
}

@media (hover: none), (pointer: coarse) {
  :is(#js-product-list, .np-plp-list) .product-miniature__actions-row {
    bottom: 5px !important;
    left: auto !important;
    right: 0.35rem !important;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
    z-index: 10;
  }

  :is(#js-product-list, .np-plp-list) .product-miniature__actions-row .product-miniature__quickview-button,
  :is(#js-product-list, .np-plp-list) .product-miniature__actions-row .np-wish-add--plp {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px;
    pointer-events: auto !important;
    position: static !important;
    z-index: 11;
  }

  :is(#js-product-list, .np-plp-list) .product-miniature__actions-row .product-miniature__quickview-button .material-icons,
  :is(#js-product-list, .np-plp-list) .product-miniature__actions-row .np-wish-add--plp .material-icons {
    font-size: 17px;
  }
}

/* Mobile: tipografía y tallas un poco más compactas */
@media (max-width: 767.98px) {
  :is(#js-product-list, .np-plp-list) .product-miniature__brand,
  :is(#js-product-list, .np-plp-list) .product-miniature .product-brand {
    font-size: 0.75rem;
  }

  :is(#js-product-list, .np-plp-list) .product-miniature__title.product-title {
    font-size: 0.72rem;
  }

  :is(#js-product-list, .np-plp-list) .product-miniature__price.product-price {
    font-size: 0.88rem;
  }

  :is(#js-product-list, .np-plp-list) .product-miniature__regular-price.regular-price {
    font-size: 0.7rem;
  }

  :is(#js-product-list, .np-plp-list) .product-miniature__variants {
    padding-top: 0;
  }

}

/* Contenedor imagen PLP: ratio fijo ? la foto nunca se ?corta? al ensanchar */
:is(#js-product-list, .np-plp-list) .product-miniature__image-container,
:is(#js-product-list, .np-plp-list) .product-miniature__image-container.thumbnail-container {
  aspect-ratio: 500 / 678;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  position: relative;
  background-color: #fff;
}

/* 404: oculta icono roto; el aspect-ratio + fondo mantienen el hueco (anti-CLS) */
:is(#js-product-list, .np-plp-list) .product-miniature__picture.is-img-failed {
  background: #f0f0f0;
}

/* El link llena el box del aspect-ratio (evita height:100% colapsado) */
:is(#js-product-list, .np-plp-list) .product-miniature__image-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: auto;
  height: auto;
  overflow: hidden;
  background-color: #fff;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
}

:is(#js-product-list, .np-plp-list) .product-miniature__image,
:is(#js-product-list, .np-plp-list) .product-miniature__image-container img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center;
}

/*
 * Rollover 2� imagen (solo hover sobre la imagen):
 * 1) imagen 1 crossfade out
 * 2) imagen 2 entra con circle-swoop + zoom-out ligero (estilo transition.style)
 * Fondo blanco: PNG transparente no deja ver la 1� detr�s.
 */
:is(#js-product-list, .np-plp-list) .product-miniature__picture--first,
:is(#js-product-list, .np-plp-list) .product-miniature__picture--second {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: #fff;
}

:is(#js-product-list, .np-plp-list) .product-miniature__picture--first {
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

:is(#js-product-list, .np-plp-list) .product-miniature__picture--second {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 1;
  transform: scale(1);
  clip-path: circle(0% at 70% 30%);
  -webkit-clip-path: circle(0% at 70% 30%);
  transition:
    clip-path 0.58s cubic-bezier(0.22, 0.61, 0.36, 1),
    -webkit-clip-path 0.58s cubic-bezier(0.22, 0.61, 0.36, 1);
}

:is(#js-product-list, .np-plp-list) .product-miniature__picture--second img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center;
  image-rendering: auto;
}

@media (hover: hover) and (pointer: fine) {
  :is(#js-product-list, .np-plp-list) .product-miniature__image-container--has-second:hover .product-miniature__picture--first {
    opacity: 0;
    transform: scale(0.97);
  }

  :is(#js-product-list, .np-plp-list) .product-miniature__image-container--has-second:hover .product-miniature__picture--second {
    clip-path: circle(140% at 70% 30%);
    -webkit-clip-path: circle(140% at 70% 30%);
  }

  /* Evitar scale del tema padre al hover de toda la card */
  :is(#js-product-list, .np-plp-list) .product-miniature__inner:hover .product-miniature__image {
    transform: none;
  }
}

@media (hover: none), (pointer: coarse) {
  :is(#js-product-list, .np-plp-list) .product-miniature__picture--second {
    display: none;
  }
}

/* Cambio de color (click miniatura): overlay circle-swoop — no toca la capa --second (hover) */
:is(#js-product-list, .np-plp-list) .product-miniature__image-container {
  position: relative;
}

:is(#js-product-list, .np-plp-list) .np-pt-cover-swap {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-color: #fff;
  transform: scale(1.06);
  clip-path: circle(0% at 70% 30%);
  -webkit-clip-path: circle(0% at 70% 30%);
  transition:
    clip-path 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    -webkit-clip-path 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: clip-path, transform;
}

:is(#js-product-list, .np-plp-list) .np-pt-cover-swap--show {
  clip-path: circle(140% at 70% 30%);
  -webkit-clip-path: circle(140% at 70% 30%);
  transform: scale(1);
}

:is(#js-product-list, .np-plp-list) .np-pt-cover-swap__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  :is(#js-product-list, .np-plp-list) .product-miniature__image-container.np-pt-color-swap .product-miniature__picture--first {
    opacity: 0;
    transform: scale(0.97);
  }

  :is(#js-product-list, .np-plp-list) .product-miniature__image-container.np-pt-color-swap--show .product-miniature__picture--second {
    /* legacy classes (no usar): la animación de color va por .np-pt-cover-swap */
  }
}

/* Ocultar acciones nativas (See details / add native) */
:is(#js-product-list, .np-plp-list) .product-miniature__actions,
:is(#js-product-list, .np-plp-list) .product-miniature__details {
  display: none !important;
}

/* ===== Flags / tagSpace (solo miniaturas PLP + m?dulos .np-plp-list; NO carousel PDP) ===== */
:is(#js-product-list, .np-plp-list) .product-miniature__top,
:is(#js-product-list, .np-plp-list) .product-miniature__image-container.thumbnail-container {
  position: relative;
}

:is(#js-product-list, .np-plp-list) .tagSpace {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

:is(#js-product-list, .np-plp-list) .tagSpace .product-flags {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  pointer-events: none;
}

:is(#js-product-list, .np-plp-list) .tagSpace .product-flags[data-pos="top-left"] {
  top: 0;
  left: 0;
  align-items: flex-start;
}

:is(#js-product-list, .np-plp-list) .tagSpace .product-flags[data-pos="top-right"] {
  top: 0;
  right: 0;
  align-items: flex-end;
}

:is(#js-product-list, .np-plp-list) .tagSpace .product-flags[data-pos="bottom-left"] {
  bottom: 0;
  left: 0;
  align-items: flex-start;
}

:is(#js-product-list, .np-plp-list) .tagSpace .product-flags[data-pos="bottom-right"] {
  right: 0;
  bottom: 0;
  align-items: flex-end;
}

/* Un flag = una fila (flujo). Exclusive conserva offset CMS; discount sin margen propio. */
:is(#js-product-list, .np-plp-list) .tagSpace .product-flag,
:is(#js-product-list, .np-plp-list) .tagSpace .badge {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  float: none !important;
  transform: none !important;
  width: auto;
  max-width: max-content;
}

:is(#js-product-list, .np-plp-list) .tagSpace .product-flag.discount,
:is(#js-product-list, .np-plp-list) .tagSpace .badge.discount {
  margin: 0 !important;
}

/* Exclusive flags: respetar CSS vars del CMS (no pisar con tema) */
:is(#js-product-list, .np-plp-list) .tagSpace .product-flag.exclusive-flag {
  background-color: var(--ef-bg, #0f172a) !important;
  color: var(--ef-fg, #ffffff) !important;
  font-size: var(--ef-fs, 14px) !important;
  font-weight: var(--ef-fw, 600) !important;
  font-style: var(--ef-fst, normal) !important;
  font-family: var(--ef-ff, inherit) !important;
  border-radius: var(--ef-br, 2px) !important;
  padding: var(--ef-py, 4px) var(--ef-px, 8px) !important;
  border: none !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
}

@media (max-width: 767.98px) {
  :is(#js-product-list, .np-plp-list) .tagSpace .product-flag.exclusive-flag {
    font-size: var(--ef-fs-m, var(--ef-fs, 11px)) !important;
    border-radius: var(--ef-br-m, var(--ef-br, 2px)) !important;
    padding: var(--ef-py-m, var(--ef-py, 3px)) var(--ef-px-m, var(--ef-px, 6px)) !important;
  }
}

/*
 * Tag descuento: default PZ (negro / blanco / sin radius).
 * np_styledcomponents puede sobreescribir v?a --np-sc-discount-*.
 */
:is(#js-product-list, .np-plp-list) .tagSpace .product-flag.discount,
:is(#js-product-list, .np-plp-list) .tagSpace .badge.discount,
:is(#js-product-list, .np-plp-list) .product-flags .product-flag.discount,
:is(#js-product-list, .np-plp-list) .product-flags .badge.discount {
  background-color: var(--np-sc-discount-bg, #000) !important;
  color: var(--np-sc-discount-color, #fff) !important;
  border: none !important;
  border-radius: var(--np-sc-discount-radius, 0) !important;
  font-size: var(--np-sc-discount-font-size, 0.75rem);
  font-family: var(--np-sc-discount-font-family, inherit);
  font-weight: 600;
  line-height: 1.2;
  padding: 0.2rem 0.4rem;
  box-shadow: none !important;
}

/* On sale nativo por si queda en cache */
:is(#js-product-list, .np-plp-list) .product-flags .badge.on-sale,
:is(#js-product-list, .np-plp-list) .product-flags .product-flag.on-sale,
:is(#js-product-list, .np-plp-list) .product-flags .on-sale {
  display: none !important;
}

/*
 * Grilla m?dulos PDP (sin sidebar): 2 ? 3 ? 4
 * (las reglas body#category ? no aplican en body#product)
 */
.np-plp-list .products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 4px;
  align-items: stretch;
}

/* Paginación PLP: ancho alineado a la grilla + tipografía oscura */
:is(#js-product-list, .np-plp-list) .products__pagination {
  max-width: var(--gino-plp-max, 1570px);
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  :is(#js-product-list, .np-plp-list) .products__pagination {
    margin-top: 68px;
  }
}

:is(#js-product-list, .np-plp-list) .products__pagination .pagination__container,
:is(#js-product-list, .np-plp-list) .products__pagination .pagination__number,
:is(#js-product-list, .np-plp-list) .products__pagination .page-link {
  color: #2a2a2a;
}

:is(#js-product-list, .np-plp-list) .products__pagination .page-item.active .page-link,
:is(#js-product-list, .np-plp-list) .products__pagination .page-link[aria-current="page"] {
  color: #111 !important;
  font-weight: 700;
  background: transparent;
  border-color: transparent;
}

@media (min-width: 768px) {
  .np-plp-list .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.15rem;
  }
}

@media (min-width: 1200px) {
  .np-plp-list .products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 15.25px;
  }
}

/* === PDP styles bundled (ensure CCC load) === */
/* ============================================= */
/* PDP GINO — precios, variantes, ATC, cuotas    */
/* Scope #product para ganar a Hummingbird       */
/* ============================================= */

/* Evita salto lateral al abrir/cerrar modales (scrollbar).
 * No usar overflow:hidden aquí: pelea con sticky + padding-right de BS. */
html {
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

body.offcanvas-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.modal.quickview {
  overflow-x: hidden !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* modal-xl ≈ 1140px; cubre también modal-lg legacy en caché */
#quickview-modal-container .modal.quickview .modal-dialog,
.modal.quickview .modal-dialog {
  max-width: min(1140px, calc(100% - 2rem)) !important;
  width: calc(100% - 2rem);
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

#quickview-modal-container .modal.quickview .modal-content,
#quickview-modal-container .modal.quickview .modal-body,
#quickview-modal-container .modal.quickview .modal-header,
#quickview-modal-container .modal.quickview .modal-footer,
.modal.quickview .modal-content,
.modal.quickview .modal-body,
.modal.quickview .modal-header,
.modal.quickview .modal-footer,
.modal.quickview .quickview__body,
.modal.quickview .quickview__content {
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* modal-dialog-scrollable: el scroll debe ser solo vertical */
.modal.quickview.modal-dialog-scrollable .modal-content,
.modal.quickview .modal-dialog-scrollable .modal-content {
  overflow-x: hidden !important;
}

.modal.quickview .modal-body.modal-body,
.modal.quickview .quickview__body {
  overflow-x: hidden !important;
}

.modal.quickview .product__left,
.modal.quickview .product__right,
.modal.quickview .np-pdp-right,
.modal.quickview .js-product-actions,
.modal.quickview .product__actions,
.modal.quickview form,
.modal.quickview .row,
.modal.quickview [class*='col-'] {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Espacio para flechas de thumbs a -26px sin ensanchar el modal */
.modal.quickview .product__left {
  padding-inline: 1.75rem;
}

.modal.quickview img,
.modal.quickview svg,
.modal.quickview .product-cover,
.modal.quickview .product__cover,
.modal.quickview .np-pdp-brand {
  max-width: 100%;
}

.modal.quickview .product__thumbnails,
.modal.quickview .product__thumbnails-list {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.modal.quickview .np-pdp-atc__row {
  max-width: 100%;
  min-width: 0;
}

/* Fade entrada/salida (Bootstrap .fade + .show) */
.modal.quickview.fade {
  transition: opacity 0.2s linear;
}

.modal.quickview.fade:not(.show) {
  opacity: 0;
}

.modal.quickview.fade.show {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .modal.quickview.fade.show {
    overscroll-behavior: contain;
    touch-action: pan-y;
  }

  .modal.quickview .modal-dialog-scrollable .modal-content,
  .modal.quickview.modal-dialog-scrollable .modal-content {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal.quickview.fade {
    transition: none;
  }
}

/* Fade modales hijo QV (cuotas / tallas) — openQvChild en np-pdp.js */
.modal[data-np-qv-child="1"].np-qv-child-open {
  transition: opacity 0.2s linear;
  opacity: 0;
}

.modal[data-np-qv-child="1"].np-qv-child-open.show {
  opacity: 1;
}

.np-qv-child-backdrop {
  transition: opacity 0.2s linear;
}

.np-qv-child-backdrop:not(.is-visible) {
  opacity: 0 !important;
}

.np-qv-child-backdrop.is-visible {
  opacity: var(--bs-backdrop-opacity, 1) !important;
}

@media (prefers-reduced-motion: reduce) {
  .modal[data-np-qv-child="1"].np-qv-child-open,
  .np-qv-child-backdrop {
    transition: none;
  }
}

/*
 * Overlays BS5 + hijos QV:
 * - bg semitransparente (#0000002e) + opacity 1 → el blur se ve (opacity 0.5 + negro sólido lo oculta)
 * - inset:0 en vez de 100vw/100vh → evita scroll horizontal al abrir modal (100vw incluye scrollbar)
 */
.modal-backdrop,
.modal-backdrop.fade,
.modal-backdrop.show,
.modal-backdrop.showing,
.offcanvas-backdrop,
.offcanvas-backdrop.fade,
.offcanvas-backdrop.show,
.np-qv-child-backdrop {
  --bs-backdrop-zindex: 1050;
  --bs-backdrop-bg: #0000002e;
  --bs-backdrop-opacity: 1;
  background-color: var(--bs-backdrop-bg) !important;
  opacity: var(--bs-backdrop-opacity) !important;
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: auto !important;
  height: auto !important;
  max-width: none;
  overflow: hidden !important;
  backdrop-filter: blur(0.8px) !important;
  -webkit-backdrop-filter: blur(0.8px) !important;
  z-index: var(--bs-backdrop-zindex);
}

@media (max-width: 767.98px) {
  /* Mobile: sin backdrop-filter en NINGÚN overlay (GPU + sticky header) */
  .modal-backdrop,
  .modal-backdrop.fade,
  .modal-backdrop.show,
  .modal-backdrop.showing,
  .offcanvas-backdrop,
  .offcanvas-backdrop.fade,
  .offcanvas-backdrop.show,
  .np-qv-child-backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Megamenú NP: backdrop bajo el drawer (1210 en np_megamenu.css) */
body.npmm-menu-open .offcanvas-backdrop,
body:has(.npmm-mobile.offcanvas.showing) .offcanvas-backdrop,
body:has(.npmm-mobile.offcanvas.show) .offcanvas-backdrop {
  --bs-backdrop-zindex: 1200;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 1200 !important;
}

body#product .product__manufacturer {
  margin-bottom: 0.35rem;
}

/* Marca: grid derecha del título (desk + mobile / QV; bundle por si CCC omite pdp) */
body#product .np-pdp-head,
body.product .np-pdp-head,
.np-pdp-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title brand";
  align-items: start;
  column-gap: 0.5rem;
  row-gap: 0.1rem;
  margin: 0 0 0.1rem !important;
  padding: 0 !important;
  min-height: 0;
  overflow: visible;
}

body#product .np-pdp-head__title,
body.product .np-pdp-head__title,
.np-pdp-head__title {
  grid-area: title;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

body#product .np-pdp-brand,
body.product .np-pdp-brand,
.np-pdp-brand {
  grid-area: brand;
  float: none !important;
  display: block;
  justify-self: end;
  align-self: start;
  margin: 0 !important;
  width: 140px;
  height: 48px;
  max-width: 140px;
  max-height: 48px !important;
  overflow: hidden !important;
  line-height: 0;
}

body#product .np-pdp-brand.np-pdp-brand--name,
body.product .np-pdp-brand.np-pdp-brand--name,
.np-pdp-brand.np-pdp-brand--name {
  width: auto !important;
  max-width: 12rem !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  line-height: 1.2;
  text-align: right;
}

@media (max-width: 767.98px) {
  body#product .np-pdp-head,
  body.product .np-pdp-head,
  .np-pdp-head,
  .quickview .np-pdp-head,
  .page-product--quickview .np-pdp-head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title brand";
    column-gap: 0.4rem;
    row-gap: 0.08rem;
    align-items: start;
  }

  body#product .np-pdp-brand,
  body.product .np-pdp-brand,
  .np-pdp-brand,
  .quickview .np-pdp-brand,
  .page-product--quickview .np-pdp-brand {
    justify-self: end;
    align-self: start;
    text-align: right;
    width: 96px;
    height: 36px;
    max-width: 96px;
    max-height: 36px !important;
  }

  body#product .np-pdp-brand.np-pdp-brand--name,
  body.product .np-pdp-brand.np-pdp-brand--name,
  .np-pdp-brand.np-pdp-brand--name {
    text-align: right;
    max-width: 7.5rem !important;
  }
}

body#product .product__description-short,
body#product .np-pdp-desc-short,
.np-pdp-desc-short {
  margin: 1rem 0 0.75rem;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #333;
}

/* Quickview / PDP: HTML con <h2> no debe heredar tamaño de heading */
body#product .np-pdp-desc-short :is(h1, h2, h3, h4, h5, h6, p, span, strong, b, em, a, ul, ol, li, div),
body#product .product__description-short :is(h1, h2, h3, h4, h5, h6, p, span, strong, b, em, a, ul, ol, li, div),
.np-pdp-desc-short :is(h1, h2, h3, h4, h5, h6, p, span, strong, b, em, a, ul, ol, li, div),
.page-product--quickview .np-pdp-desc-short :is(h1, h2, h3, h4, h5, h6, p, span, strong, b, em, a, ul, ol, li, div) {
  font-size: 12px !important;
  line-height: 1.5 !important;
  margin-top: 0;
}

body#product .np-pdp-desc-short :is(h1, h2, h3, h4, h5, h6),
.np-pdp-desc-short :is(h1, h2, h3, h4, h5, h6),
.page-product--quickview .np-pdp-desc-short :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 0.65rem;
  font-weight: 400;
  color: inherit;
}

/* --- Referencia (bajo el título en .np-pdp-head__main; sin margin negativo) --- */
body#product .np-pdp-ref,
.np-pdp-ref {
  margin: 0 !important;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: #666;
  max-width: 100%;
}

body#product .np-pdp-head__main .np-pdp-ref,
.np-pdp-head__main .np-pdp-ref {
  margin: 0 !important;
}

body#product .np-pdp-ref__label,
.np-pdp-ref__label {
  margin-right: 0.25rem;
  font-weight: 400;
}

body#product .np-pdp-ref__head,
.np-pdp-ref__head {
  font-weight: 700 !important;
  color: #111;
}

body#product .np-pdp-ref__tail,
.np-pdp-ref__tail {
  font-weight: 400;
  color: #444;
}

/* --- Precios en una fila --- */
body#product .np-pdp-prices,
.np-pdp-prices {
  margin-bottom: 0.75rem;
}

body#product .np-pdp-prices__row,
.np-pdp-prices__row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0.45rem 0.85rem;
  margin: 0;
  max-width: 100%;
  min-width: 0;
}

body#product .np-pdp-prices__row > *,
.np-pdp-prices__row > * {
  flex-shrink: 0;
}

body#product .np-pdp-price,
.np-pdp-price {
  min-width: 0;
  flex-shrink: 1;
}

body#product .np-pdp-price,
body#product .np-pdp-price .np-pdp-price__value,
body#product .product__prices .np-pdp-price,
.np-pdp-price,
.np-pdp-price__value {
  font-size: 1.625rem !important;
  font-weight: 700 !important;
  color: #ad1f00 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

body#product .np-pdp-regular,
body#product .product__regular-price.np-pdp-regular,
.np-pdp-regular {
  text-decoration: line-through !important;
  color: #8a8a8a !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

body#product .np-pdp-discount-tag,
.np-pdp-discount-tag {
  display: inline-flex !important;
  align-items: center;
  background: #eba53d !important;
  color: #fff !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  padding: 0.2rem 0.55rem !important;
  border-radius: 2px !important;
  line-height: 1.25 !important;
  white-space: nowrap;
  flex-shrink: 0 !important;
}

@media (max-width: 767.98px) {
  body#product .np-pdp-prices__row,
  .np-pdp-prices__row,
  .quickview .np-pdp-prices__row,
  .page-product--quickview .np-pdp-prices__row {
    flex-wrap: nowrap !important;
    gap: 0.3rem 0.45rem !important;
  }

  body#product .np-pdp-price .np-pdp-price__value,
  .np-pdp-price__value,
  .quickview .np-pdp-price__value {
    font-size: 1.25rem !important;
  }

  body#product .np-pdp-regular,
  .np-pdp-regular {
    font-size: 0.8125rem !important;
  }

  body#product .np-pdp-discount-tag,
  .np-pdp-discount-tag {
    font-size: 0.6875rem !important;
    padding: 0.15rem 0.4rem !important;
  }
}

body#product .np-pdp-tax,
body#product .product__tax-infos.np-pdp-tax,
.np-pdp-tax {
  margin-top: -14px !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-size: 0.75rem !important;
  line-height: 1.1 !important;
  color: #888;
}

/* --- Cuotas Webpay (banner PDP + QV, no el modal) --- */
body#product .np-pdp-cuotas,
.np-pdp-cuotas {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem 0.55rem;
  margin: 0.85rem 0 0.5rem;
  padding: 0.45rem 0.65rem;
  background: #f8f8f8;
  border: 0;
  border-radius: 4px;
  max-width: max-content;
  min-width: 0;
}

body#product .np-pdp-cuotas__text,
.np-pdp-cuotas__text {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0 !important;
  font-size: 0.8125rem;
  line-height: 1.25;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body#product .np-pdp-cuotas__amount,
.np-pdp-cuotas__amount {
  color: #111;
  font-weight: 700;
}

body#product .np-pdp-cuotas__brand,
.np-pdp-cuotas__brand {
  color: #111;
}

body#product .np-pdp-cuotas__info,
.np-pdp-cuotas__info {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5c6370;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body#product .np-pdp-cuotas__info .material-icons,
.np-pdp-cuotas__info .material-icons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  color: inherit;
}

body#product .np-pdp-cuotas__info:hover,
.np-pdp-cuotas__info:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111;
}

@media (max-width: 575.98px) {
  body#product .np-pdp-cuotas,
  .np-pdp-cuotas {
    padding: 0.35rem 0.5rem;
    gap: 0.35rem;
    background: #f8f8f8;
    border: 0;
  }

  body#product .np-pdp-cuotas__text,
  .np-pdp-cuotas__text {
    font-size: 0.75rem;
  }
}

/* Modal cuotas — body sin scroll-lock para no desmontar sticky header */
.np-pdp-cuotas-modal .modal-dialog {
  width: calc(100% - 1.5rem);
  max-width: 420px;
  margin: 1rem auto;
}

.np-pdp-cuotas-modal .modal-content {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.np-pdp-cuotas-modal .modal-header {
  position: relative;
  padding: 1rem 2.75rem 1rem 1.1rem;
  border-bottom: 1px solid #ececec;
  background: #fff;
}

.np-pdp-cuotas-modal .modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
}

.np-pdp-cuotas-modal .modal-body {
  padding: 1.1rem;
}

.np-pdp-cuotas-modal__price {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: #222;
}

.np-pdp-cuotas-modal__lead {
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  color: #555;
}

.np-pdp-cuotas-modal__list {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.np-pdp-cuotas-modal__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  color: #222;
  background: #f3f4f5;
  border-bottom: 1px solid #e5e5e5;
}

.np-pdp-cuotas-modal__list li:nth-child(even) {
  background: #eceff1;
}

.np-pdp-cuotas-modal__list li:last-child {
  border-bottom: 0;
}

.np-pdp-cuotas-modal__list strong {
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

.np-pdp-cuotas-modal__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: #662d91;
  font-size: 0.875rem;
}

.np-pdp-cuotas-modal__footer .material-icons {
  font-size: 1.5rem;
  color: #662d91;
}

/* Compensa padding-right / overflow de Bootstrap: sticky queda detrás del overlay.
 * visible (no auto): auto también rompe position:sticky con scroll previo. */
body.modal-open,
body.modal-open:has(.np-pdp-cuotas-modal.show),
body.modal-open:has(.cj-tallas-wrap .modal.show),
html.modal-open,
html:has(body.modal-open),
html:has(body.modal-open .np-pdp-cuotas-modal.show),
html:has(body.modal-open .cj-tallas-wrap .modal.show),
html:has(.np-qv-child-open),
body:has(.np-qv-child-open) {
  overflow: visible !important;
  overflow-x: clip !important;
  padding-right: 0 !important;
  margin-right: 0 !important;
  height: auto !important;
}

/* Cuotas Webpay anidado en QV (hijo parked en body) */
.np-pdp-cuotas-modal.np-qv-child-open,
.np-pdp-cuotas-modal.np-qv-child-open.show {
  overflow-x: hidden !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.np-pdp-cuotas-modal.np-qv-child-open .modal-dialog {
  max-width: min(420px, calc(100% - 2rem)) !important;
  width: calc(100% - 2rem);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Cerrar modal con Material Icons (visible mobile/desktop) */
.np-pdp-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 6;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f0f0;
  color: #111;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.np-pdp-modal-close .material-icons {
  font-size: 1.25rem;
  line-height: 1;
  color: inherit;
}

.np-pdp-modal-close:hover {
  background: #e2e2e2;
  color: #000;
}

@media (max-width: 575.98px) {
  .np-pdp-cuotas-modal .modal-dialog {
    width: calc(100% - 1rem);
    max-width: none;
    margin: 0.5rem auto;
  }

  .np-pdp-cuotas-modal .modal-content {
    border-radius: 10px;
  }
}

/* --- Color | Talla desktop 50/50; mobile: Color full, luego Talla+qty (igual pdp.css) --- */
body#product .np-pdp-attr-row,
.np-pdp-attr-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

body#product .np-pdp-attr-col,
.np-pdp-attr-col {
  min-width: 0 !important;
  box-sizing: border-box;
}

body#product .np-pdp-attr-col--color,
.np-pdp-attr-col--color,
body#product .np-pdp-attr-col--size,
.np-pdp-attr-col--size {
  flex: 1 1 0 !important;
  width: 50% !important;
  min-width: 0 !important;
  max-width: 50% !important;
  box-sizing: border-box;
}

body#product .np-pdp-variants .np-pdp-variant,
.np-pdp-variants .np-pdp-variant {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  margin: 0 0 0.35rem;
}

body#product .np-pdp-variant > .np-pdp-variant__legend,
.np-pdp-variant > .np-pdp-variant__legend {
  display: inline-flex;
  align-items: baseline;
  float: none !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit;
}

body#product .np-pdp-variant__legend .product-variant__legend-text,
.np-pdp-variant__legend .product-variant__legend-text {
  font-weight: 600;
  font-size: 0.9375rem;
  margin: 0;
  color: #111;
}

body#product .np-pdp-variant__legend .product-variant__selected,
.np-pdp-variant__legend .product-variant__selected {
  display: inline;
  margin: 0;
  font-weight: 400;
  color: #444;
}

body#product .np-pdp-variant__controls,
.np-pdp-variant__controls {
  width: 100%;
  min-width: 0;
}

/* Swatches: grid wrap (sin scroll horizontal) */
body#product .np-pdp-attr-col--color .product-variant__colors,
body#product .np-odoo-colors .product-variant__colors,
.np-pdp-attr-col--color .product-variant__colors,
.np-odoo-colors .product-variant__colors {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.35rem;
  max-width: 100%;
  overflow: visible !important;
  padding-bottom: 0;
}

body#product .np-pdp-attr-col--color .color,
body#product .np-odoo-colors .color,
.np-pdp-attr-col--color .color,
.np-odoo-colors .color {
  width: 2.35rem !important;
  height: 2.35rem !important;
  flex: 0 0 auto;
  border-radius: 0 !important;
  border: 1px solid #ccc !important;
  box-shadow: none !important;
  outline: none !important;
}

body#product .np-pdp-attr-col--color .color.active,
body#product .np-pdp-attr-col--color .input-color__label--active .color,
body#product .np-odoo-colors .color.active,
body#product .np-odoo-colors .input-color__label--active .color,
body#product .np-odoo-colors .is-current .color,
.np-pdp-attr-col--color .color.active,
.np-pdp-attr-col--color .input-color__label--active .color,
.np-odoo-colors .color.active,
.np-odoo-colors .input-color__label--active .color,
.np-odoo-colors .is-current .color {
  border: 2px solid #111 !important;
  outline: none !important;
  box-shadow: none !important;
}

body#product .np-pdp-attr-col--color .input-color__label,
body#product .np-odoo-colors .input-color__label,
.np-pdp-attr-col--color .input-color__label,
.np-odoo-colors .input-color__label {
  border-radius: 0 !important;
}

/* Odoo colors: legend Color: nombre en fila; swatches abajo */
body#product .np-odoo-colors,
.np-odoo-colors {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  width: 100%;
}

body#product .np-odoo-colors > .np-pdp-variant__legend,
body#product .np-odoo-colors > .product-variant__legend,
.np-odoo-colors > .np-pdp-variant__legend,
.np-odoo-colors > .product-variant__legend {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.15rem;
  float: none !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

body#product .np-odoo-colors .product-variant__legend-text,
.np-odoo-colors .product-variant__legend-text {
  font-weight: 600;
  margin: 0;
  color: #111;
}

body#product .np-odoo-colors .np-odoo-colors__selected,
body#product .np-odoo-colors .product-variant__selected,
.np-odoo-colors .np-odoo-colors__selected,
.np-odoo-colors .product-variant__selected {
  display: inline !important;
  font-weight: 400;
  color: #444;
  margin: 0 !important;
  padding: 0 !important;
}

body#product .np-odoo-colors > .product-variant__attributes,
.np-odoo-colors > .product-variant__attributes {
  width: 100%;
  min-width: 0;
}

/*
 * Talla: selector a ancho completo; «Ver tabla de tallas» debajo
 * (desktop + mobile). Qty en slot solo mobile (JS).
 */
.npv-size-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "select qty"
    "chart chart";
  align-items: center;
  gap: 0.4rem 0.55rem;
  max-width: 100%;
  width: 100%;
}

.npv-size-row .form-select {
  grid-area: select;
  flex: none;
  max-width: 100%;
  min-width: 0;
  height: 2.25rem;
  min-height: 2.25rem;
  max-height: 2.25rem;
  padding: 0.25rem 1.75rem 0.25rem 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.2;
  border-radius: 0;
  box-sizing: border-box;
}

/* NO width:100% en --enhanced (sr-only 1px); solo select nativo */
.npv-size-row .form-select:not(.np-sc-size-select--enhanced) {
  width: 100%;
}

.npv-size-row .np-sc-size-dd {
  grid-area: select;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

/* Desktop: evita que el dropdown de talla crezca de más en la columna */
@media (min-width: 992px) {
  body#product .npv-size-row .np-sc-size-dd,
  .quickview .npv-size-row .np-sc-size-dd,
  .page-product--quickview .npv-size-row .np-sc-size-dd,
  .npv-size-row .np-sc-size-dd {
    max-width: 232px;
  }
}

.np-pdp-qty-slot {
  grid-area: qty;
  display: none;
  flex: 0 0 auto;
  align-items: center;
}

.np-pdp-qty-slot:not(:empty) {
  display: flex;
}

.cj-tallas,
.npv-size-row .cj-tallas {
  grid-area: chart;
  flex: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-self: start;
}

.cj-tallas .cj-talla-btn,
.npv-size-row .cj-tallas button {
  display: inline-flex !important;
  align-items: center;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  line-height: 1.2;
  color: #111 !important;
  text-decoration: none;
  text-transform: none !important;
  white-space: nowrap;
  background: none !important;
  border: 0 !important;
  border-bottom: 1px solid #111 !important;
  border-radius: 0 !important;
  padding: 0 0 2px !important;
  box-shadow: none !important;
}

.cj-tallas .cj-talla-btn:hover {
  opacity: 0.75;
  background: none !important;
  color: #111 !important;
}

.npv-size-note-row {
  margin-top: 0.35rem;
  width: 100%;
  flex-basis: 100%;
}

.npv-size-note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #4b4b4b;
}

@media (max-width: 767.98px) {
  body#product .np-pdp-attr-row,
  .np-pdp-attr-row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 0.85rem;
  }

  body#product .np-pdp-attr-col--color,
  body#product .np-pdp-attr-col--size,
  .np-pdp-attr-col--color,
  .np-pdp-attr-col--size {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Talla + qty en fila; Ver tabla debajo (igual nativo / pdp.css) */
  .npv-size-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "select qty"
      "chart chart";
    align-items: center;
    gap: 0.45rem 0.55rem;
  }

  /* NO width:100% !important: pisa --enhanced (1px) y desborda quickview/PDP mobile */
  .npv-size-row .form-select {
    grid-area: select;
    flex: none !important;
    min-width: 0 !important;
    max-width: 100%;
    height: 2.25rem !important;
    min-height: 2.25rem !important;
    max-height: 2.25rem !important;
    font-size: 0.875rem;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    line-height: 1.2 !important;
    box-sizing: border-box;
  }

  .npv-size-row .form-select:not(.np-sc-size-select--enhanced) {
    width: 100%;
  }

  .npv-size-row .np-sc-size-dd {
    grid-area: select;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .npv-size-row .np-pdp-qty-slot,
  .npv-size-row [data-np-pdp-qty-slot] {
    grid-area: qty;
    display: flex !important;
    align-items: center;
  }

  /* Qty en casa (ATC) oculto en mobile QV/PDP hasta que JS lo mueva al slot */
  .quickview .np-pdp-atc__row > [data-np-pdp-qty-home],
  .quickview .np-pdp-atc__row > .product__quantity.np-pdp-qty-home,
  .page-product--quickview .np-pdp-atc__row > [data-np-pdp-qty-home],
  .page-product--quickview .np-pdp-atc__row > .product__quantity.np-pdp-qty-home,
  body#product .np-pdp-atc__row > [data-np-pdp-qty-home],
  body#product .np-pdp-atc__row > .product__quantity.np-pdp-qty-home {
    display: none !important;
  }

  .npv-size-row .cj-tallas {
    grid-area: chart;
    width: 100%;
  }

  .npv-size-row .cj-tallas button {
    width: auto;
  }

  .cj-tallas {
    width: 100%;
  }

  .cj-tallas .cj-talla-btn,
  .npv-size-row .cj-tallas button {
    font-size: 0.8125rem !important;
  }
}

/* --- ATC negro + qty/wishlist ---
 * Sin body#product: el QV vive en PLP (body#category) y necesitaba los mismos flex. */
body#product .np-pdp-atc__row,
.quickview .np-pdp-atc__row,
.page-product--quickview .np-pdp-atc__row,
.np-pdp-atc__row {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
}

body#product .np-pdp-atc__row .product__quantity,
body#product .np-pdp-atc__row .product__add-to-cart,
.quickview .np-pdp-atc__row .product__quantity,
.quickview .np-pdp-atc__row .product__add-to-cart,
.page-product--quickview .np-pdp-atc__row .product__quantity,
.page-product--quickview .np-pdp-atc__row .product__add-to-cart,
.np-pdp-atc__row .product__quantity,
.np-pdp-atc__row .product__add-to-cart {
  display: flex;
  align-items: stretch;
}

/* Wishlist QV/PDP: contenido centrado (stretch del row lo desalineaba en modal) */
body#product .np-pdp-atc__row .np-wish-add--pdp,
.quickview .np-pdp-atc__row .np-wish-add--pdp,
.page-product--quickview .np-pdp-atc__row .np-wish-add--pdp,
.np-pdp-atc__row .np-wish-add--pdp {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body#product .np-pdp-atc__row .product__quantity,
.quickview .np-pdp-atc__row .product__quantity,
.page-product--quickview .np-pdp-atc__row .product__quantity,
.np-pdp-atc__row .product__quantity {
  flex: 0 0 auto;
}

body#product .np-pdp-atc__row .product__add-to-cart,
.quickview .np-pdp-atc__row .product__add-to-cart,
.page-product--quickview .np-pdp-atc__row .product__add-to-cart,
.np-pdp-atc__row .product__add-to-cart {
  flex: 1 1 auto;
  min-width: 0;
}

body#product .np-pdp-atc__row .np-wish-add--pdp,
.quickview .np-pdp-atc__row .np-wish-add--pdp,
.page-product--quickview .np-pdp-atc__row .np-wish-add--pdp,
.np-pdp-atc__row .np-wish-add--pdp {
  flex: 0 0 auto;
}

body#product .np-pdp-atc .quantity-button,
body#product .np-pdp-atc .js-quantity-button,
body#product .np-pdp-atc .qty-input,
.np-pdp-atc .quantity-button,
.np-pdp-atc .js-quantity-button {
  height: 3rem !important;
  min-height: 3rem !important;
  min-width: 7.5rem;
  box-sizing: border-box;
}

body#product .np-pdp-atc .qty-input,
body#product .np-pdp-atc .quantity-button .qty-input,
.np-pdp-atc .qty-input {
  display: flex !important;
  align-items: stretch;
  height: 100% !important;
  min-height: 3rem !important;
}

body#product .np-pdp-atc .qty-input__button,
body#product .np-pdp-atc .quantity-button button,
body#product .np-pdp-atc .qty-input input,
.np-pdp-atc .qty-input__button,
.np-pdp-atc .quantity-button button,
.np-pdp-atc .qty-input input {
  min-height: 100% !important;
  height: 100% !important;
}

body#product .np-pdp-atc .qty-input__button,
body#product .np-pdp-atc .quantity-button button {
  min-width: 2.25rem;
}

body#product .np-pdp-atc__btn,
body#product .product__add-to-cart-button.np-pdp-atc__btn,
.np-pdp-atc__btn {
  width: 100%;
  height: 3rem !important;
  min-height: 3rem !important;
  background-color: #111 !important;
  border-color: #111 !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

body#product .np-pdp-atc__btn:hover:not(:disabled),
body#product .np-pdp-atc__btn:focus:not(:disabled),
.np-pdp-atc__btn:hover:not(:disabled),
.np-pdp-atc__btn:focus:not(:disabled) {
  background-color: #2a2a2a !important;
  border-color: #2a2a2a !important;
  color: #fff !important;
  filter: brightness(1.18);
}

body#product .np-pdp-atc__btn:disabled,
.np-pdp-atc__btn:disabled,
.np-pdp-atc__btn[data-np-atc-pending='1'] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

body#product .np-pdp-atc .np-wish-add--pdp,
.quickview .np-pdp-atc .np-wish-add--pdp,
.page-product--quickview .np-pdp-atc .np-wish-add--pdp,
.np-pdp-atc .np-wish-add--pdp {
  height: 3rem !important;
  min-height: 3rem !important;
  /* Base = solo corazón (laptop/tablet/QV). Texto ≥1200px. */
  min-width: 3rem !important;
  width: 3rem !important;
  max-width: 3rem !important;
  padding-inline: 0 !important;
  border-radius: 0 !important;
  border: 1px solid #111 !important;
  background: #fff !important;
  color: #111 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0;
  box-sizing: border-box;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body#product .np-pdp-atc .np-wish-add--pdp .np-wish-add__label,
.quickview .np-pdp-atc .np-wish-add--pdp .np-wish-add__label,
.page-product--quickview .np-pdp-atc .np-wish-add--pdp .np-wish-add__label,
.np-pdp-atc .np-wish-add--pdp .np-wish-add__label,
.np-wish-add--pdp .np-wish-add__label {
  display: none !important;
}

@media (min-width: 1200px) {
  body#product .np-pdp-atc .np-wish-add--pdp,
  .quickview .np-pdp-atc .np-wish-add--pdp,
  .page-product--quickview .np-pdp-atc .np-wish-add--pdp,
  .np-pdp-atc .np-wish-add--pdp {
    min-width: 7.5rem !important;
    width: auto !important;
    max-width: none !important;
    padding-inline: 1rem !important;
    gap: 0.35rem;
  }

  body#product .np-pdp-atc .np-wish-add--pdp .np-wish-add__label,
  .quickview .np-pdp-atc .np-wish-add--pdp .np-wish-add__label,
  .page-product--quickview .np-pdp-atc .np-wish-add--pdp .np-wish-add__label,
  .np-pdp-atc .np-wish-add--pdp .np-wish-add__label,
  body#product .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label,
  .quickview .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label,
  .page-product--quickview .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label,
  .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label {
    display: inline !important;
  }
}

body#product .np-pdp-atc .np-wish-add--pdp:hover,
.quickview .np-pdp-atc .np-wish-add--pdp:hover,
.page-product--quickview .np-pdp-atc .np-wish-add--pdp:hover,
.np-pdp-atc .np-wish-add--pdp:hover {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

body#product .np-pdp-atc .np-wish-add--pdp .np-wish-add__icon--filled,
.np-pdp-atc .np-wish-add--pdp .np-wish-add__icon--filled {
  display: none !important;
  color: #db1b1b;
}

body#product .np-pdp-atc .np-wish-add--pdp.np-wish-add--added .np-wish-add__icon--outline,
.np-pdp-atc .np-wish-add--pdp.np-wish-add--added .np-wish-add__icon--outline {
  display: none !important;
}

body#product .np-pdp-atc .np-wish-add--pdp.np-wish-add--added .np-wish-add__icon--filled,
.np-pdp-atc .np-wish-add--pdp.np-wish-add--added .np-wish-add__icon--filled {
  display: inline-block !important;
}

/*
 * Intermedio tablet/laptop (~768–1199) + QV: wishlist = solo corazón.
 */
@media (min-width: 768px) and (max-width: 1199.98px) {
  body#product .np-pdp-atc__row,
  .quickview .np-pdp-atc__row,
  .page-product--quickview .np-pdp-atc__row,
  .np-pdp-atc__row {
    flex-wrap: nowrap !important;
    gap: 0.45rem;
  }

  body#product .np-pdp-atc__row .product__add-to-cart,
  .quickview .np-pdp-atc__row .product__add-to-cart,
  .page-product--quickview .np-pdp-atc__row .product__add-to-cart,
  .np-pdp-atc__row .product__add-to-cart {
    flex: 1 1 auto;
    min-width: 0;
  }

  body#product .np-pdp-atc__btn,
  body#product .product__add-to-cart-button.np-pdp-atc__btn,
  .quickview .np-pdp-atc__btn,
  .page-product--quickview .np-pdp-atc__btn,
  .np-pdp-atc__btn {
    font-size: 0.875rem !important;
  }

  body#product .np-pdp-atc__row .np-wish-add--pdp,
  .quickview .np-pdp-atc__row .np-wish-add--pdp,
  .page-product--quickview .np-pdp-atc__row .np-wish-add--pdp,
  .np-pdp-atc__row .np-wish-add--pdp {
    flex: 0 0 auto;
    min-width: 3rem;
    width: 3rem;
    max-width: 3rem;
    padding-inline: 0 !important;
  }

  body#product .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label,
  .quickview .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label,
  .page-product--quickview .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label,
  .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label {
    display: none !important;
  }
}

/* Mobile: qty arriba; ATC + wishlist en una fila centrada a ancho completo */
@media (max-width: 575.98px) {
  body#product .np-pdp-atc__row,
  .quickview .np-pdp-atc__row,
  .page-product--quickview .np-pdp-atc__row,
  .np-pdp-atc__row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  body#product .np-pdp-atc__row .product__quantity,
  .quickview .np-pdp-atc__row .product__quantity,
  .page-product--quickview .np-pdp-atc__row .product__quantity,
  .np-pdp-atc__row .product__quantity {
    flex: 0 0 auto;
    width: auto;
    order: 1;
    margin-inline: auto;
  }

  body#product .np-pdp-atc .quantity-button,
  body#product .np-pdp-atc .js-quantity-button,
  body#product .np-pdp-atc .qty-input,
  .np-pdp-atc .quantity-button,
  .np-pdp-atc .js-quantity-button {
    min-width: 7.5rem;
    width: auto;
  }

  body#product .np-pdp-atc__row .product__add-to-cart,
  .quickview .np-pdp-atc__row .product__add-to-cart,
  .page-product--quickview .np-pdp-atc__row .product__add-to-cart,
  .np-pdp-atc__row .product__add-to-cart {
    flex: 1 1 auto;
    min-width: 0;
    order: 2;
  }

  body#product .np-pdp-atc__btn,
  body#product .product__add-to-cart-button.np-pdp-atc__btn,
  .np-pdp-atc__btn {
    font-size: 0.875rem !important;
  }

  body#product .np-pdp-atc__row .np-wish-add--pdp,
  .quickview .np-pdp-atc__row .np-wish-add--pdp,
  .page-product--quickview .np-pdp-atc__row .np-wish-add--pdp,
  .np-pdp-atc__row .np-wish-add--pdp {
    order: 3;
    min-width: 3rem;
    width: 3rem;
    padding-inline: 0 !important;
  }

  body#product .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label,
  .quickview .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label,
  .page-product--quickview .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label,
  .np-pdp-atc__row .np-wish-add--pdp .np-wish-add__label {
    display: none !important;
  }

  body#product .np-pdp-atc__row .product__quantity,
  .quickview .np-pdp-atc__row .product__quantity,
  .page-product--quickview .np-pdp-atc__row .product__quantity,
  .np-pdp-atc__row .product__quantity {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
  }
}

/* Guía de tallas (tmdcustomsize): header + cerrar Material
 * Incluye modal liberado del quickview ([data-np-qv-child]) — ya no está bajo .cj-tallas-wrap */
.cj-tallas-wrap .modal-header,
.modal[data-np-qv-child='1'] .modal-header:has(.cj-tallas-modal__brand),
.modal.np-qv-child-open .modal-header:has(.cj-tallas-modal__brand) {
  position: relative;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 2.75rem 1rem 1rem;
}

.cj-tallas-wrap .modal-header .cj-tallas-modal__brand,
.modal[data-np-qv-child='1'] .cj-tallas-modal__brand,
.modal.np-qv-child-open .cj-tallas-modal__brand {
  width: 100%;
  max-width: 100%;
  padding-right: 0.25rem;
  text-align: center;
}

.cj-tallas-wrap .modal-header .cj-tallas-modal__brand img,
.modal[data-np-qv-child='1'] .cj-tallas-modal__brand img,
.modal.np-qv-child-open .cj-tallas-modal__brand img {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}
