/*
 * Token responsive Riviera (ancho, no dispositivo):
 *   mobile  < 744px
 *   tablet  744px – 1279.98px
 *   desktop ≥ 1280px
 * Chrome táctil (cabecera CE, zomlmm drilldown, filtros modal, grid 3 col)
 * hasta 1279.98px. Hover / flyout zomlmm y cabecera #cabe desde 1280px.
 * No usar este corte en @media de layout Bootstrap del tema (576/768/992/1200).
 */
:root {
  --nw-bp-tablet-max: 1279.98px;
  --nw-bp-desktop: 1280px;
}

/*
 * Cabecera auto-hide al scroll
 * #topbar (flujo normal) + #cabe/#cabemovil + #menudesktop/#menurivi (sticky CE)
 *
 * Importante: NO usar transform en la cabecera. Al volver a scrollTop=0,
 * translateY(-100%) solapa/oculta la Top Bar. Solo se anima `top` mientras
 * Elementor tiene .elementor-sticky--active y html.nw-header-pinned.
 */

/* Sin animación al restaurar el estado inicial */
html.nw-header-no-motion #cabe,
html.nw-header-no-motion #cabemovil,
html.nw-header-no-motion #menudesktop,
html.nw-header-no-motion #menurivi {
  transition: none !important;
}

/* Transición coordinada cabecera + menú (mismo timing) */
html:not(.nw-header-no-motion) #cabe.nw-header-scroll-ready.elementor-sticky--active,
html:not(.nw-header-no-motion) #cabemovil.nw-header-scroll-ready.elementor-sticky--active,
html:not(.nw-header-no-motion) #menudesktop.nw-header-below-ready.elementor-sticky--active,
html:not(.nw-header-no-motion) #menurivi.nw-header-below-ready.elementor-sticky--active {
  transition: top 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cabecera visible (sticky): pegada arriba */
html.nw-header-pinned:not(.nw-header-hidden) #cabe.elementor-sticky--active,
html.nw-header-pinned:not(.nw-header-hidden) #cabemovil.elementor-sticky--active {
  top: 0 !important;
}

/* Cabecera oculta: sale por arriba; el menú ocupa top:0 */
html.nw-header-pinned.nw-header-hidden #cabe.elementor-sticky--active,
html.nw-header-pinned.nw-header-hidden #cabemovil.elementor-sticky--active {
  top: calc(-1 * var(--nw-header-h, 0px)) !important;
  pointer-events: none;
}

html.nw-header-pinned.nw-header-hidden #menudesktop.elementor-sticky--active,
html.nw-header-pinned.nw-header-hidden #menurivi.elementor-sticky--active {
  top: 0 !important;
}

/* Menú debajo de la cabecera cuando esta es visible */
html.nw-header-pinned:not(.nw-header-hidden) #menudesktop.elementor-sticky--active,
html.nw-header-pinned:not(.nw-header-hidden) #menurivi.elementor-sticky--active {
  top: var(--nw-header-h, 0px) !important;
}

@media (prefers-reduced-motion: reduce) {
  html #cabe.nw-header-scroll-ready.elementor-sticky--active,
  html #cabemovil.nw-header-scroll-ready.elementor-sticky--active,
  html #menudesktop.nw-header-below-ready.elementor-sticky--active,
  html #menurivi.nw-header-below-ready.elementor-sticky--active {
    transition: none !important;
  }
}



/* Submenu Cuenta: en CE, #menudesktop/#menurivi tienen z-index 90 y
   quedaban por encima de #cabe, tapando el dropdown de la cuenta. */
#cabe,
#cabemovil {
  z-index: 100;
}

#cabe.elementor-sticky--active,
#cabemovil.elementor-sticky--active {
  z-index: 100 !important;
}

#menudesktop,
#menudesktop.elementor-sticky--active,
#menurivi,
#menurivi.elementor-sticky--active {
  z-index: 90 !important;
}

#cabe .dropdown-menu,
#cabe .popover,
#cabemovil .dropdown-menu,
#cabemovil .popover {
  z-index: 110;
}


/*
 * Carrusel pastillas de categorías (CETemplate id=2 / #cate)
 * Solo móvil y tablet. Scroll horizontal, sin flechas.
 */
@media (min-width: 1280px) {
  #js-product-list-header #cate,
  #js-product-list-header .elementor-element#cate {
    display: none !important;
  }
}

@media (max-width: 1279.98px) {
  #js-product-list-header #cate,
  #js-product-list-header .elementor-element#cate {
    display: block;
    margin: 0.45rem 0 0.9rem;
    width: 100%;
    max-width: 100%;
  }

  #cate .elementor-widget-wrap,
  #cate .elementor-column-wrap,
  #cate .elementor-container {
    overflow: visible !important;
  }

  #cate .cate-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0;
  }

  #cate .cate-arrow {
    display: none !important;
  }

  #cate .ce-category-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 12px !important;
    margin: 0 !important;
    scrollbar-width: thin;
    scrollbar-color: #b4b9c3 #e8eaee;
    scroll-snap-type: x proximity;
  }

  #cate .ce-category-list::-webkit-scrollbar {
    height: 3px;
  }

  #cate .ce-category-list::-webkit-scrollbar-track {
    background: #e8eaee;
    border-radius: 10px;
  }

  #cate .ce-category-list::-webkit-scrollbar-thumb {
    background: #b4b9c3;
    border-radius: 10px;
  }

  #cate .ce-category-list > .elementor-button-wrapper {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    scroll-snap-align: start;
  }

  #cate .ce-category-list .elementor-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 999px !important;
    border: 1px solid #d0d4dc !important;
    background: #ffffff !important;
    color: #12213D !important;
    box-shadow: none !important;
    padding: 7px 14px !important;
    line-height: 1.2 !important;
    min-height: 34px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }

  #cate .ce-category-list .elementor-button:hover,
  #cate .ce-category-list .elementor-button:focus {
    background: #ffffff !important;
    border-color: #12213D !important;
    color: #12213D !important;
  }

  #cate .ce-category-list .elementor-button-wrapper.is-active .elementor-button,
  #cate .ce-category-list a.elementor-button.is-active {
    background: #12213D !important;
    border-color: #12213D !important;
    color: #ffffff !important;
  }
}

.products-selection {
  margin: 0rem 0 1rem 0 !important;
}
#category .ce-widgets-space--gap>.elementor-column-wrap>.elementor-widget-wrap {
  gap: 0px !important;
}

/*
 * Listados (categoría, etc.): FilterProductsPro pasa a filtros en modal
 * por debajo de 992px, pero el tema reserva col-md-3 desde 768px.
 * En tablet (hasta 1279.98px) eso deja sidebar de escritorio.
 * Colapsamos la sidebar sin display:none para no romper el modal
 * (el buscador sigue en el DOM con position:fixed).
 */
@media (max-width: 1279.98px) {
  #wrapper #left-column:has(.fpp_searchers .content-permanent-mobile),
  #wrapper #right-column:has(.fpp_searchers .content-permanent-mobile) {
    flex: 0 0 0 !important;
    max-width: 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    position: absolute !important;
    height: 0 !important;
    pointer-events: none;
  }

  #wrapper #left-column:has(.fpp_searchers .content-permanent-mobile) .content-permanent-mobile,
  #wrapper #right-column:has(.fpp_searchers .content-permanent-mobile) .content-permanent-mobile {
    pointer-events: auto;
  }

  #wrapper #content-wrapper.left-column,
  #wrapper #content-wrapper.right-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Modal FPP abierto: la columna a 0px comprimía los filtros.
     Al abrir, la columna pasa a capa viewport y los filtros a 1 columna. */
  body.fpp_popup #wrapper #left-column:has(.fpp_searchers .content-permanent-mobile),
  body.fpp_popup #wrapper #right-column:has(.fpp_searchers .content-permanent-mobile) {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    z-index: 6000 !important;
    overflow: visible !important;
    pointer-events: none;
    transform: none !important;
    filter: none !important;
  }

  .fpp_searchers .content-permanent-mobile,
  #content-searchers-mobile {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    background: #ffffff !important;
  }

  .fpp_searchers .content-permanent-mobile .searcher-content,
  #content-searchers-mobile .searcher-content {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }

  .fpp_searchers .content-permanent-mobile .searcher-body,
  #content-searchers-mobile .searcher-body {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 16px 24px !important;
    box-sizing: border-box;
  }

  .fpp_searchers .content-permanent-mobile .filter-content,
  .fpp_searchers .content-permanent-mobile .filter-content .row,
  #content-searchers-mobile .filter-content,
  #content-searchers-mobile .filter-content .row {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .fpp_searchers .content-permanent-mobile .filter,
  #content-searchers-mobile .filter {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .fpp_searchers .content-permanent-mobile .filter-options-content,
  .fpp_searchers .content-permanent-mobile .filter-options-content .content-to-scroll,
  #content-searchers-mobile .filter-options-content,
  #content-searchers-mobile .filter-options-content .content-to-scroll {
    width: 100% !important;
    max-width: 100% !important;
    column-count: 1 !important;
  }

  .fpp_searchers .content-permanent-mobile .filter-options-content:not(.price),
  #content-searchers-mobile .filter-options-content:not(.price) {
    max-height: none !important;
    overflow: visible !important;
  }

  .fpp_searchers .content-permanent-mobile .checkbox,
  .fpp_searchers .content-permanent-mobile .radio,
  #content-searchers-mobile .checkbox,
  #content-searchers-mobile .radio {
    width: 100% !important;
  }

  .fpp_searchers .content-permanent-mobile .checkbox label,
  .fpp_searchers .content-permanent-mobile .radio label,
  #content-searchers-mobile .checkbox label,
  #content-searchers-mobile .radio label {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
  }
}


@media (max-width: 1279.98px) {
  /* FPP oculta .hidden-dt desde 1280px; en tablet el modal sí se usa. */
  .close-mobile-searcher.hidden-dt,
  .close-content-searcher-mobile.hidden-dt {
    display: block !important;
  }

  /* Permite que jQuery .show() abra el overlay pese al !important de FPP. */
  #content-searchers-mobile.hidden-dt[style*="display: block"],
  #content-searchers-mobile.hidden-dt[style*="display:block"] {
    display: block !important;
  }
}

/*
 * Tablet (768–1079.98px): 4 columnas (Theme Editor).
 * Desde 1080px: 5 columnas (20%). Solo #js-product-list (categoría,
 * búsqueda, marca, proveedor, novedades, ofertas, más vendidos y FPP).
 * No usar .products-grid global: ficha y pestañas tienen esa clase
 * en carruseles del tema.
 */
@media (min-width: 768px) and (max-width: 1079.98px) {
  #js-product-list .products.products-grid > .js-product-miniature-wrapper {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}

@media (min-width: 1080px) {
  #js-product-list .products.products-grid > .js-product-miniature-wrapper {
    flex: 0 0 20% !important;
    max-width: 20% !important;
    width: 20% !important;
  }
}

/*
 * Home CE product-carousel: FOUC antes de Swiper.
 * CE pone repeat(6) (desktop) y @media (max-width: 1279px) repeat(4).
 * A 1080–1279 ambas MQ aplican; !important + mismo patrón de selector
 * gana sobre 2170101.css (sin !important). Tablet <1080 no se toca.
 */
@media (min-width: 1080px) {
  .elementor-element.elementor-widget.elementor-widget-product-carousel .swiper:not(.swiper-initialized) .swiper-wrapper {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}
/*
 * Cabecera: homogenizar Cuenta / Deseos
 * (Carrito: estilos solo desde Elementor — sin overrides aquí)
 * Columnas CE: desktop #8c7fdd8, móvil #66be92c
 */
#cabe .elementor-element-8c7fdd8 > .elementor-column-wrap > .elementor-widget-wrap,
#cabe .elementor-element-8c7fdd8 > .elementor-widget-wrap,
#cabe .elementor-element-8c7fdd8 > .elementor-element-populated > .elementor-widget-wrap,
#cabemovil .elementor-element-66be92c > .elementor-column-wrap > .elementor-widget-wrap,
#cabemovil .elementor-element-66be92c > .elementor-widget-wrap,
#cabemovil .elementor-element-66be92c > .elementor-element-populated > .elementor-widget-wrap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  column-gap: 18px !important;
  row-gap: 0 !important;
}

#cabe .elementor-element-6d49d20,
#cabe .elementor-element-4a1d4e3,
#cabemovil .elementor-element-6fcdc2e,
#cabemovil .elementor-element-64025d5 {
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  align-self: flex-start !important;
}

/* Enlaces: columna icono + texto (solo Cuenta / Deseos) */
#cabe .elementor-element-6d49d20 .elementor-nav > li > a.elementor-item,
#cabe .elementor-element-4a1d4e3 a,
#cabe .elementor-element-4a1d4e3 .link-item,
#cabemovil .elementor-element-6fcdc2e .elementor-nav > li > a.elementor-item,
#cabemovil .elementor-element-64025d5 a,
#cabemovil .elementor-element-64025d5 .link-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  min-width: 52px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  text-decoration: none !important;
  color: #020101 !important;
  font-family: Inter, Manrope, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  height: auto !important;
}

#cabe .elementor-element-6d49d20 .elementor-nav > li > a.elementor-item:hover,
#cabe .elementor-element-4a1d4e3 a:hover,
#cabe .elementor-element-4a1d4e3 .link-item:hover,
#cabemovil .elementor-element-6fcdc2e .elementor-nav > li > a.elementor-item:hover,
#cabemovil .elementor-element-64025d5 a:hover,
#cabemovil .elementor-element-64025d5 .link-item:hover {
  color: #3457D5 !important;
}

#cabe .elementor-element-6d49d20 .elementor-nav > li > a.elementor-item > i,
#cabe .elementor-element-6d49d20 .elementor-nav > li > a.elementor-item > svg,
#cabe .elementor-element-4a1d4e3 .fa-heart-o,
#cabe .elementor-element-4a1d4e3 .link-item > i,
#cabemovil .elementor-element-6fcdc2e .elementor-nav > li > a.elementor-item > i,
#cabemovil .elementor-element-6fcdc2e .elementor-nav > li > a.elementor-item > svg,
#cabemovil .elementor-element-64025d5 .fa-heart-o,
#cabemovil .elementor-element-64025d5 .link-item > i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  font-size: 20px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
}

#cabe .elementor-element-4a1d4e3 .fa-heart-o:before,
#cabemovil .elementor-element-64025d5 .fa-heart-o:before {
  font-size: 20px !important;
  line-height: 1 !important;
}

#cabe .elementor-element-6d49d20 .elementor-nav > li > a.elementor-item > span:not(.sub-arrow),
#cabe .elementor-element-4a1d4e3 .link-item,
#cabemovil .elementor-element-6fcdc2e .elementor-nav > li > a.elementor-item > span:not(.sub-arrow),
#cabemovil .elementor-element-64025d5 .link-item {
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
}

#cabe .elementor-element-4a1d4e3 .d-inline-block > a,
#cabemovil .elementor-element-64025d5 .d-inline-block > a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  color: #020101 !important;
}

@media (max-width: 767.98px) {
  #cabemovil .elementor-element-66be92c > .elementor-column-wrap > .elementor-widget-wrap,
  #cabemovil .elementor-element-66be92c > .elementor-widget-wrap,
  #cabemovil .elementor-element-66be92c > .elementor-element-populated > .elementor-widget-wrap {
    gap: 12px !important;
    column-gap: 12px !important;
  }

  #cabemovil .elementor-element-6fcdc2e .elementor-nav > li > a.elementor-item,
  #cabemovil .elementor-element-64025d5 a,
  #cabemovil .elementor-element-64025d5 .link-item {
    min-width: 44px;
    font-size: 10px !important;
    gap: 3px !important;
  }

  #cabemovil .elementor-element-6fcdc2e .elementor-nav > li > a.elementor-item > i,
  #cabemovil .elementor-element-6fcdc2e .elementor-nav > li > a.elementor-item > svg,
  #cabemovil .elementor-element-64025d5 .fa-heart-o,
  #cabemovil .elementor-element-64025d5 .link-item > i {
    width: 20px !important;
    height: 20px !important;
    font-size: 18px !important;
  }

  #cabemovil .elementor-element-64025d5 .fa-heart-o:before {
    font-size: 18px !important;
  }

  #cabemovil .elementor-element-6fcdc2e .elementor-nav > li > a.elementor-item > span:not(.sub-arrow),
  #cabemovil .elementor-element-64025d5 .link-item {
    font-size: 10px !important;
  }
}

/* NW: móvil/tablet/iPad — títulos de submenú zomlmm sin recorte */
@media (max-width: 1279.98px) {
  .zomlmm ul > li,
  .zomlmm ul > li.has-submenu {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .zomlmm ul > li > a,
  .zomlmm-mega-links > ul > li > a {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: break-word;
    box-sizing: border-box;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .zomlmm ul > li.has-submenu > a {
    padding-right: 42px !important;
  }

  .zomlmm ul > li > a > .img-zomlmm-item,
  .zomlmm ul > li > a > img {
    display: inline-block;
    vertical-align: middle;
    max-height: 26px;
    width: auto;
    margin-right: 8px;
  }

  .zomlmm ul > li > a > span[class*="fa"],
  .zomlmm ul > li > a > i,
  .zomlmm .subheader-text a > span[class*="fa"],
  .zomlmm .subheader-text a > i {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    line-height: 1.45 !important;
  }

  .zomlmm .submenu .subheader {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: flex-start !important;
    justify-content: space-between;
    gap: 8px;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 12px 12px !important;
    box-sizing: border-box;
  }

  .zomlmm .submenu .subheader .subheader-text {
    float: none !important;
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 4px 0 !important;
    line-height: 1.45 !important;
    text-decoration: none;
  }

  .zomlmm .submenu .subheader .subheader-text a {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: break-word;
    padding: 0 !important;
    background-image: none !important;
  }

  .zomlmm .submenu .subheader .subheader-img {
    float: none !important;
    width: auto !important;
    flex: 0 0 auto;
    padding: 0 !important;
    align-self: center;
  }

  .zomlmm .submenu .subheader .subheader-img .img-header {
    display: block;
    max-height: 36px;
    width: auto;
  }

  .zomlmm .submenu-header {
    height: auto !important;
    overflow: visible !important;
    flex-shrink: 0;
  }
}




/*
 * Menú zomlmm en tablet / iPad: el panel debe poder hacer scroll vertical
 * hasta el último ítem.
 *
 * Causas:
 * - iOS no hace scroll si overflow-x es visible y overflow-y auto.
 * - El flyout desktop (≥1280px) usa overflow-x:visible.
 * - El drilldown móvil deja .submenu en position:fixed dentro de un padre
 *   con transform, sin altura máxima real → el contenido se recorta.
 */
@media (max-width: 1279.98px) {
  html.zomlmm-opened,
  html.zomlmm-opened body {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  .zomlmm.opened {
    display: flex !important;
    flex-direction: column;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100% !important;
    max-height: 100dvh !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .zomlmm.opened > .zomlmm-header,
  .zomlmm.opened > .zomlmm-subheader,
  .zomlmm.opened > .zomlmm-social,
  .zomlmm.opened > .zomlmm-email {
    flex: 0 0 auto;
  }

  .zomlmm.opened > nav {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .zomlmm.submenu-opened {
    overflow-x: hidden !important;
  }

  .zomlmm .submenu.opened,
  .zomlmm .submenu.opened.current,
  .zomlmm .has-submenu.is-hover > .submenu {
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100% !important;
    max-height: 100dvh !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .zomlmm .submenu .submenu-header {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #ffffff;
  }

  .zomlmm .zomlmm-mega {
    min-height: 0 !important;
  }
}


/* Drilldown táctil (<1280): el submenú cubre el panel (no el viewport).
   El flyout desktop (hover) solo aplica desde 1280px. */
@media (max-width: 1279.98px) {
  .zomlmm.opened {
    transform: translateX(0) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* nav no debe recortar el overlay del submenú */
  .zomlmm.opened > nav {
    overflow: visible !important;
  }

  .zomlmm.opened.submenu-opened {
    overflow: hidden !important;
  }

  .zomlmm.submenu-opened {
    overflow: hidden !important;
  }

  /* Anclado al panel 295px, no a la ventana */
  .zomlmm .submenu,
  .zomlmm .submenu.opened,
  .zomlmm .submenu.opened.current,
  .zomlmm .has-submenu.is-hover > .submenu {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 100% !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
  }

  .zomlmm .submenu.opened,
  .zomlmm .submenu.opened.current {
    left: 0 !important;
    z-index: 2;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* Panel zomlmm más ancho en móvil y tablet (incluido iPad horizontal). Escritorio ≥1280 sin cambio. */
@media (max-width: 1279.98px) {
  .zomlmm {
    width: 350px;
  }

  /* Buscador a todo el ancho útil: padding 20px = flechas (right 20px). */
  .zomlmm-subheader {
    padding-left: 20px;
    padding-right: 20px;
  }

  .zomlmm-search {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
    justify-content: stretch;
  }

  .zomlmm-search .nw-search-widget,
  .zomlmm-search .nw-search-input-group {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
  }

  .zomlmm-search .nw-search-input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }
}

/* NW: etiqueta Filtros móvil (FPP + barra listado) — tablet hasta 1279.98px */
@media (max-width: 1279.98px) {
  /* Icono flotante FPP: texto encima del embudo */
  #icon-searchers-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 10px 10px !important;
    line-height: 1;
    text-align: center;
  }

  #icon-searchers-mobile .nw-fpp-float-label {
    display: block;
    order: -1;
    font-family: Manrope, Arial, sans-serif;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    line-height: 1.1 !important;
    color: #141A35 !important;
    text-transform: none;
  }

  #icon-searchers-mobile > i {
    font-size: 22px;
    line-height: 1;
  }

  /* Botón Filtros: mismo lenguaje visual que Relevancia / 30 */
  .nw-fpp-filters-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 6px 0 0;
    padding: 0.35rem 0.85rem !important;
    min-height: 34px;
    border: 1px solid rgba(160, 160, 160, 0.45) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    color: #12213D !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    text-decoration: none !important;
    appearance: none;
    -webkit-appearance: none;
  }

  .nw-fpp-filters-btn:hover,
  .nw-fpp-filters-btn:focus {
    background: #ffffff !important;
    border-color: #12213D !important;
    color: #12213D !important;
    box-shadow: none !important;
    outline: none;
    text-decoration: none !important;
  }

  .nw-fpp-filters-btn:active {
    background: #12213D !important;
    border-color: #12213D !important;
    color: #ffffff !important;
    text-decoration: none !important;
  }

  .nw-fpp-filters-btn i,
  .nw-fpp-filters-btn span {
    color: inherit !important;
  }

  #js-product-list-top .col.col-auto,
  #js-product-list-top .col.col-auto.col-left-sort {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
  }

  /* Barra Filtros/orden: fixed bajo cabecera + menú (sticky falla:
     padre corto + body/overflow de CE). JS añade .nw-listing-bar-fixed */
  #js-product-list-top.products-selection.nw-listing-bar-fixed {
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    z-index: 50;
    background: #ffffff;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: 0 1px 0 rgba(18, 33, 61, 0.12);
  }

  #nw-listing-bar-ph {
    display: none;
    width: 100%;
    pointer-events: none;
  }

  #nw-listing-bar-ph.is-active {
    display: block;
  }
}

@media (max-width: 1279.98px) and (prefers-reduced-motion: reduce) {
  #js-product-list-top.products-selection.nw-listing-bar-fixed {
    transition: none;
  }
}

@media (min-width: 1280px) {
  .nw-fpp-filters-btn {
    display: none !important;
  }
}

/* Review button under social icons on the product page */
#product .col-product-info .product-comments-additional-info {
  margin-top: 0.75rem;
  margin-bottom: 0;
  width: 100%;
}

/*
 * Botón “Ver” en listados de productos
 * Markup Warehouse: <a class="btn btn-product-list"> (View)
 * No coincide con “Añadir al carrito”: <button class="btn btn-product-list add-to-cart">
 * Solo color; tamaño, posición, texto e iconos sin cambios.
 */
.product-add-cart > a.btn.btn-product-list:not(.add-to-cart),
.product-add-cart > a.btn.btn-product-list:not(.add-to-cart):link,
.product-add-cart > a.btn.btn-product-list:not(.add-to-cart):visited,
.product-add-cart .js-riviera-atc > a.btn.btn-product-list:not(.add-to-cart),
.product-add-cart .js-riviera-atc > a.btn.btn-product-list:not(.add-to-cart):link,
.product-add-cart .js-riviera-atc > a.btn.btn-product-list:not(.add-to-cart):visited,
.product-add-cart a.btn.btn-product-list.nw-atc-view,
.product-add-cart a.btn.btn-product-list.nw-atc-view:link,
.product-add-cart a.btn.btn-product-list.nw-atc-view:visited {
  background: #12213D !important;
  background-color: #12213D !important;
  color: #ffffff !important;
}

.product-add-cart > a.btn.btn-product-list:not(.add-to-cart):hover,
.product-add-cart > a.btn.btn-product-list:not(.add-to-cart):focus,
.product-add-cart > a.btn.btn-product-list:not(.add-to-cart):active,
.product-add-cart .js-riviera-atc > a.btn.btn-product-list:not(.add-to-cart):hover,
.product-add-cart .js-riviera-atc > a.btn.btn-product-list:not(.add-to-cart):focus,
.product-add-cart .js-riviera-atc > a.btn.btn-product-list:not(.add-to-cart):active,
.product-add-cart a.btn.btn-product-list.nw-atc-view:hover,
.product-add-cart a.btn.btn-product-list.nw-atc-view:focus,
.product-add-cart a.btn.btn-product-list.nw-atc-view:active {
  background: #0c1730 !important;
  background-color: #0c1730 !important;
  color: #ffffff !important;
}

/*
 * Ficha de producto (desktop): marca debajo del título
 * Warehouse (pp_man_logo=next-title) coloca logo + nombre a la derecha
 * del h1 con float-right. En escritorio se reordenan bajo el título.
 */
@media (min-width: 769px) {
  #product .product_header_container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #product .product_header_container.clearfix::after {
    display: none;
  }

  #product .product_header_container > .page-title {
    order: 1;
    width: 100%;
  }

  #product .product_header_container > .product-manufacturer-next {
    float: none !important;
    order: 2;
    position: relative;
    z-index: auto;
    margin: 0 0 0.75rem 0;
    align-self: flex-start;
  }

  #product .product_header_container > .product-manufacturer-next .product-manufacturer-link {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
  }

  #product .product_header_container > *:not(.page-title):not(.product-manufacturer-next) {
    order: 3;
    width: 100%;
  }
}


/*
 * Botón «Con stock» en la barra de listado
 * Activa el filtro Stock de FilterProductsPro (opción con-stock).
 */
.nw-stock-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 6px 0 0;
  padding: 0.2rem 0.8rem;
  min-height: 34px;
  border: 1px solid rgba(160, 160, 160, 0.45);
  border-radius: 4px;
  background: #ffffff;
  color: #12213D;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
}

.nw-stock-filter-check {
  display: inline-block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  background: #ffffff;
  position: relative;
}

.nw-stock-filter-btn.is-active .nw-stock-filter-check,
.nw-stock-filter-btn[aria-pressed="true"] .nw-stock-filter-check {
  background: #ffffff;
  border-color: #ffffff;
}

.nw-stock-filter-btn.is-active .nw-stock-filter-check::after,
.nw-stock-filter-btn[aria-pressed="true"] .nw-stock-filter-check::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 0.5px;
  width: 4px;
  height: 8px;
  border: solid #12213D;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* En móvil el checkbox sumaría ancho y empujaría Filtros/orden a 2ª línea */
@media (max-width: 1279.98px) {
  .nw-stock-filter-btn {
    gap: 0;
  }

  .nw-stock-filter-check {
    display: none;
  }
}

.nw-stock-filter-btn:hover,
.nw-stock-filter-btn:focus {
  background: #ffffff;
  border-color: #12213D;
  color: #12213D;
  outline: none;
  text-decoration: none;
}

.nw-stock-filter-btn.is-active,
.nw-stock-filter-btn[aria-pressed="true"] {
  background: #12213D;
  border-color: #12213D;
  color: #ffffff;
}

.nw-stock-filter-btn.is-active:hover,
.nw-stock-filter-btn.is-active:focus,
.nw-stock-filter-btn[aria-pressed="true"]:hover,
.nw-stock-filter-btn[aria-pressed="true"]:focus {
  background: #243ea8;
  border-color: #243ea8;
  color: #ffffff;
}

.nw-stock-filter-btn[hidden] {
  display: none !important;
}

/* El stock se gestiona desde el botón de la barra; se oculta en el searcher FPP */
.fpp_searchers div[data-name="stock"],
.fpp_searchers #filter_3 {
  display: none !important;
}

#js-product-list-top .col.col-auto,
#js-product-list-top .col.col-auto.col-left-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1279.98px) {
  #js-product-list-top .col.col-auto,
  #js-product-list-top .col.col-auto.col-left-sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
  }
}


/*
 * Opciones seleccionadas FPP en móvil
 * (tarjeta del listado #mobile_selected_option + modal de filtros)
 * El módulo usa col-xs-12 (BS3) dentro de .row (BS4): el flex encoge
 * las pastillas y el texto se parte ("Stock: Con" / "stock").
 */
@media (max-width: 1279.98px) {
  #mobile_selected_option {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 10px 12px !important;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(18, 33, 61, 0.08);
  }

  #mobile_selected_option.row,
  #mobile_selected_option .row,
  #mobile_selected_option [id^="options_selected_"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  #mobile_selected_option [class*="col-"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    float: none !important;
  }

  #mobile_selected_option .selected-option-content,
  .content-permanent-mobile .selected-option-content,
  #content-searchers-mobile .selected-option-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
    box-sizing: border-box;
  }

  #mobile_selected_option .selected-option-content .filter-name,
  .content-permanent-mobile .selected-option-content .filter-name,
  #content-searchers-mobile .selected-option-content .filter-name {
    margin: 0 0 8px 0 !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: #12213D;
    text-transform: uppercase;
  }

  #mobile_selected_option .selected-option-content > div,
  .content-permanent-mobile .selected-option-content > div,
  #content-searchers-mobile .selected-option-content > div {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  #mobile_selected_option .btn-reset-filter,
  #mobile_selected_option .btn-selected-option,
  .content-permanent-mobile .btn-reset-filter,
  .content-permanent-mobile .btn-selected-option,
  #content-searchers-mobile .btn-reset-filter,
  #content-searchers-mobile .btn-selected-option {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 6px 10px !important;
    min-height: 32px;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap !important;
    text-align: center;
    box-shadow: none !important;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }

  #mobile_selected_option .btn-reset-filter,
  .content-permanent-mobile .btn-reset-filter,
  #content-searchers-mobile .btn-reset-filter {
    background: #ffffff !important;
    border: 1px solid #d0d4dc !important;
    color: #12213D !important;
  }

  #mobile_selected_option .btn-reset-filter i,
  .content-permanent-mobile .btn-reset-filter i,
  #content-searchers-mobile .btn-reset-filter i {
    color: inherit !important;
    font-size: 12px;
  }

  #mobile_selected_option .btn-selected-option,
  .content-permanent-mobile .btn-selected-option,
  #content-searchers-mobile .btn-selected-option {
    position: relative;
    padding-right: 8px !important;
    background: #12213D !important;
    border: 1px solid #12213D !important;
    color: #ffffff !important;
  }

  #mobile_selected_option .btn-selected-option i.fa-pts-times,
  .content-permanent-mobile .btn-selected-option i.fa-pts-times,
  #content-searchers-mobile .btn-selected-option i.fa-pts-times {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0;
    color: #ffffff !important;
    font-size: 11px;
    line-height: 1;
    flex-shrink: 0;
  }
}

@media (min-width: 1280px) {
  #mobile_selected_option {
    display: none !important;
  }
}


/*
 * Modal FPP: el pie usa .row + col-xs-12 (BS3) y el botón lleva
 * también clases col-*. En BS4 el flex encoge el botón y el texto
 * blanco («VER RESULTADOS») se sale del fondo.
 */
@media (max-width: 1279.98px) {
  .fpp_searchers .content-permanent-mobile .searcher-footer,
  #content-searchers-mobile .searcher-footer {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    box-sizing: border-box;
    background: #ffffff !important;
    z-index: 6001;
    box-shadow: 0 -4px 16px rgba(18, 33, 61, 0.08);
  }

  .fpp_searchers .content-permanent-mobile .searcher-footer .row,
  .fpp_searchers .content-permanent-mobile .searcher-footer [class*="col-"],
  #content-searchers-mobile .searcher-footer .row,
  #content-searchers-mobile .searcher-footer [class*="col-"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .fpp_searchers .content-permanent-mobile .searcher-footer button,
  .fpp_searchers .content-permanent-mobile .searcher-footer .btn,
  #content-searchers-mobile .searcher-footer button,
  #content-searchers-mobile .searcher-footer .btn,
  .fpp_searchers .content-permanent-mobile #btn_view_results {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    box-sizing: border-box !important;
    min-height: 48px;
    padding: 12px 16px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff !important;
    background: #12213D !important;
    border: 1px solid #12213D !important;
    border-radius: 8px !important;
  }
}


/*
 * Home: pestañas de sección (Creative Elements .elementor-nav-tabs)
 * y listados con pestañas (Iqit Elementor .elementor-products-tabs).
 * Una sola línea con scroll horizontal cuando no caben
 * (móvil, tablet y desktop), como en PC Componentes.
 */
.elementor-section-tabbed > .elementor-container,
.elementor-section-tabbed > .elementor-container > .elementor-row {
  max-width: 100%;
}

.elementor-nav-tabs.elementor-nav--layout-horizontal {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.elementor-nav-tabs.elementor-nav--layout-horizontal .elementor-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.elementor-nav-tabs.elementor-nav--layout-horizontal .elementor-nav::-webkit-scrollbar {
  display: none;
  height: 0;
}

.elementor-nav-tabs.elementor-nav--layout-horizontal .elementor-nav > li {
  flex: 0 0 auto !important;
  float: none;
  white-space: nowrap;
}

.elementor-nav-tabs.elementor-nav--layout-horizontal .elementor-nav a {
  white-space: nowrap;
}

.elementor-products-tabs > .nav-tabs,
.elementor-products-tabs .nav.nav-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.elementor-products-tabs > .nav-tabs::-webkit-scrollbar,
.elementor-products-tabs .nav.nav-tabs::-webkit-scrollbar {
  display: none;
  height: 0;
}

.elementor-products-tabs .nav-tabs .nav-item {
  flex: 0 0 auto !important;
  float: none;
  white-space: nowrap;
}

.elementor-products-tabs .nav-tabs .nav-link {
  white-space: nowrap;
}


/*
 * Widgets de producto (home y listados CE): cantidad +/- junto a Añadir.
 * El botón no debe desaparecer tras añadir al carrito.
 */
.elementor-product-miniature .elementor-atc.nw-atc-with-qty {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
  position: relative;
  z-index: 3;
}

.elementor-atc--align-justify .elementor-atc.nw-atc-with-qty .elementor-button,
.elementor-product-miniature .elementor-atc.nw-atc-with-qty .elementor-button {
  width: auto !important;
  flex: 1 1 auto;
  min-width: 0;
}

.elementor-product-miniature .nw-atc-qty,
.product-add-cart .nw-atc-qty,
#blockcart-content .nw-atc-qty,
.cart-item .nw-atc-qty {
  display: flex;
  flex: 0 1 72px;
  width: 72px;
  min-width: 56px;
  min-height: 40px;
  box-sizing: border-box;
  background: #f3f4f6;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

/*
 * Home (novedades / selección Riviera): la caja de cantidad se encoge
 * a min-width 56px en tarjetas estrechas. En móvil y tablet/iPad
 * se fija un ancho mayor y no se permite encoger.
 * Móvil (<744): 70px. Tablet (744–1279.98): 80px.
 * Desktop (≥1280, p. ej. Nest Hub Max): 55% del contenedor ATC.
 */
@media (max-width: 743.98px) {
  body#index .elementor-product-miniature .nw-atc-qty,
  body#index .product-add-cart .nw-atc-qty {
    display: flex;
    flex: 0 1 70px;
    width: 70px;
    min-width: 70px;
  }
}

@media (min-width: 744px) and (max-width: 1279.98px) {
  body#index .elementor-product-miniature .nw-atc-qty,
  body#index .product-add-cart .nw-atc-qty {
    display: flex;
    flex: 0 1 80px;
    width: 80px;
    min-width: 80px;
  }
}

@media (min-width: 1280px) {
  body#index .elementor-product-miniature .nw-atc-qty,
  body#index .product-add-cart .nw-atc-qty {
    display: flex;
    flex: 0 1 55%;
    width: 55%;
    min-width: 55%;
  }
}

.elementor-product-miniature .nw-atc-qty-input,
.product-add-cart .nw-atc-qty-input,
#blockcart-content .nw-atc-qty-input,
.cart-item .nw-atc-qty-input {
  display: block;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: auto;
  min-height: 40px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 2px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent;
  color: #12213D;
  font-size: 15px;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.elementor-product-miniature .nw-atc-qty-input::-webkit-outer-spin-button,
.elementor-product-miniature .nw-atc-qty-input::-webkit-inner-spin-button,
.product-add-cart .nw-atc-qty-input::-webkit-outer-spin-button,
.product-add-cart .nw-atc-qty-input::-webkit-inner-spin-button,
#blockcart-content .nw-atc-qty-input::-webkit-outer-spin-button,
#blockcart-content .nw-atc-qty-input::-webkit-inner-spin-button,
.cart-item .nw-atc-qty-input::-webkit-outer-spin-button,
.cart-item .nw-atc-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.elementor-product-miniature .nw-atc-qty-btn,
.product-add-cart .nw-atc-qty-btn,
#blockcart-content .nw-atc-qty-btn,
.cart-item .nw-atc-qty-btn {
  flex: 0 0 24px;
  width: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.elementor-product-miniature .nw-atc-qty-btn:hover,
.elementor-product-miniature .nw-atc-qty-btn:focus,
.product-add-cart .nw-atc-qty-btn:hover,
.product-add-cart .nw-atc-qty-btn:focus,
#blockcart-content .nw-atc-qty-btn:hover,
#blockcart-content .nw-atc-qty-btn:focus,
.cart-item .nw-atc-qty-btn:hover,
.cart-item .nw-atc-qty-btn:focus {
  background: rgba(18, 33, 61, 0.06);
  color: #12213D;
  outline: none;
}

#blockcart-content .nw-atc-qty .form-control,
.cart-item .nw-atc-qty .form-control {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Sin JS aún: ocultar spinners nativos del number en el overlay */
#blockcart-content .riviera-sidecart-qty input[name="product-quantity-spin"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

#blockcart-content .riviera-sidecart-qty input[name="product-quantity-spin"]::-webkit-outer-spin-button,
#blockcart-content .riviera-sidecart-qty input[name="product-quantity-spin"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.elementor-product-miniature .elementor-atc.nw-atc-with-qty .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  white-space: nowrap;
  border-radius: 12px !important;
}

.elementor-product-miniature .elementor-atc .elementor-button:disabled,
.elementor-product-miniature .elementor-atc .elementor-button[disabled] {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
}

html.riviera-b2b-guest .elementor-product-miniature .nw-atc-qty,
body.riviera-b2b-guest .elementor-product-miniature .nw-atc-qty {
  display: none !important;
}

html:not(.riviera-b2b-guest) .elementor-product-miniature a.elementor-button.nw-atc-view:not(.nw-atc-view--guest-only),
body:not(.riviera-b2b-guest) .elementor-product-miniature a.elementor-button.nw-atc-view:not(.nw-atc-view--guest-only) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
  text-decoration: none !important;
  background: #12213D !important;
  background-color: #12213D !important;
  color: #ffffff !important;
  border-color: #12213D !important;
  border-radius: 12px !important;
}

html:not(.riviera-b2b-guest) .elementor-product-miniature a.elementor-button.nw-atc-view:hover,
html:not(.riviera-b2b-guest) .elementor-product-miniature a.elementor-button.nw-atc-view:focus,
body:not(.riviera-b2b-guest) .elementor-product-miniature a.elementor-button.nw-atc-view:hover,
body:not(.riviera-b2b-guest) .elementor-product-miniature a.elementor-button.nw-atc-view:focus {
  background: #0c1730 !important;
  background-color: #0c1730 !important;
  color: #ffffff !important;
  border-color: #0c1730 !important;
}

html.riviera-b2b-guest .elementor-product-miniature a.elementor-button.nw-atc-view,
html.riviera-b2b-guest .elementor-product-miniature a.nw-atc-view,
html.riviera-b2b-guest a.elementor-button.nw-atc-view,
body.riviera-b2b-guest .elementor-product-miniature a.elementor-button.nw-atc-view,
body.riviera-b2b-guest .elementor-product-miniature a.nw-atc-view,
body.riviera-b2b-guest a.elementor-button.nw-atc-view {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.nw-atc-view--guest-only {
  display: none !important;
}

html.riviera-b2b-can-buy .nw-atc-view--guest-only,
body.riviera-b2b-can-buy .nw-atc-view--guest-only,
html:not(.riviera-b2b-guest) .nw-atc-view--guest-only,
body:not(.riviera-b2b-guest) .nw-atc-view--guest-only {
  display: none !important;
}


/*
 * Tienda (listados Warehouse): cantidad y botones Ver/Añadir
 * con el mismo redondeo que en la home, y borde más oscuro en qty.
 */
.product-add-cart .btn.btn-product-list,
.product-add-cart .btn.btn-product-list.add-to-cart,
.product-add-cart a.btn.btn-product-list.nw-atc-view,
.product-add-cart .js-riviera-atc > a.btn.btn-product-list {
  border-radius: 12px !important;
}

.product-add-cart .input-group-add-cart {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.product-add-cart .input-group-add-cart .btn-product-list.add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  box-sizing: border-box;
}

/*
 * Listados: cantidad y Añadir en UNA sola fila, sin desbordar.
 */
.products-grid .js-product-miniature-wrapper,
.products-grid .product-miniature-grid,
.products-grid .product-miniature-grid .product-description {
  min-width: 0;
  max-width: 100%;
}

.products-grid .product-add-cart,
.products-grid .product-add-cart .js-riviera-atc,
.products-grid .product-add-cart form {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.products-grid .product-add-cart {
  container-type: inline-size;
  container-name: nw-product-atc;
}

.elementor-product-miniature {
  min-width: 0;
  max-width: 100%;
}

.elementor-product-miniature .elementor-atc.nw-atc-with-qty {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@container nw-product-atc (max-width: 300px) {
  .nw-atc-qty {
    flex: 0 0 auto !important;
    width: 55% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
  .products-grid .col-xl-15 .product-add-cart .input-group-add-cart .btn-product-list.add-to-cart,
  #js-product-list .col-xl-15 .product-add-cart .input-group-add-cart .btn-product-list.add-to-cart {
    width: 100%;
    flex: 1 1 auto;
    min-width: 60px;
    white-space: normal;
  }
}

html.riviera-b2b-guest .product-add-cart .nw-atc-qty,
body.riviera-b2b-guest .product-add-cart .nw-atc-qty {
  display: none !important;
}

/*
 * Ficha de producto y quickview: cantidad en UNA fila (- 1 +)
 * en todos los anchos. El tema pone height:100% + flex-wrap:wrap
 * y el input lleva class="input-group" (width:100%), lo que
 * apilaba − / número / + en columna.
 */
.product-quantity {
  align-items: center;
}

.product-quantity .col-add-qty {
  align-self: center;
  max-width: 100%;
}

.product-quantity .qty,
.quickview .product-quantity .qty,
#product .product-quantity .qty {
  width: 88px !important;
  max-width: 100%;
  height: 44px !important;
  max-height: 44px !important;
  box-sizing: border-box;
}

.product-quantity .qty .input-group,
.product-quantity .qty .bootstrap-touchspin,
.quickview .product-quantity .qty .input-group,
.quickview .product-quantity .qty .bootstrap-touchspin,
#product .product-quantity .qty .input-group,
#product .product-quantity .qty .bootstrap-touchspin {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 88px !important;
  max-width: 100%;
  height: 44px !important;
  max-height: 44px !important;
  margin: 0;
  background: #f3f4f6;
  border: 0 !important;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Markup vertical del plugin → mismos tres huecos en fila */
.product-quantity .bootstrap-touchspin .input-group-btn-vertical {
  display: contents !important;
}

.product-quantity .bootstrap-touchspin .input-group-btn,
.product-quantity .bootstrap-touchspin .input-group-prepend,
.product-quantity .bootstrap-touchspin .input-group-append {
  display: flex !important;
  flex: 0 0 auto;
  width: auto !important;
  height: 44px;
}

/* Orden: el flex actúa sobre los wrappers, no sobre el botón interior.
   Si el input tiene order y los spans no, queda − + 1. */
.product-quantity .bootstrap-touchspin > *:has(.bootstrap-touchspin-down),
.product-quantity .bootstrap-touchspin > .bootstrap-touchspin-down {
  order: 1;
}

.product-quantity .bootstrap-touchspin > input,
.product-quantity .bootstrap-touchspin > input.input-group,
.product-quantity .bootstrap-touchspin > .form-control,
.product-quantity .bootstrap-touchspin > #quantity_wanted {
  order: 2;
}

.product-quantity .bootstrap-touchspin > *:has(.bootstrap-touchspin-up),
.product-quantity .bootstrap-touchspin > .bootstrap-touchspin-up {
  order: 3;
}

.product-quantity .bootstrap-touchspin input,
.product-quantity .bootstrap-touchspin input.input-group,
.product-quantity .bootstrap-touchspin .form-control,
.product-quantity #quantity_wanted {
  display: block !important;
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 44px !important;
  max-height: 44px !important;
  margin: 0;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  line-height: 44px;
  color: #12213D;
  -moz-appearance: textfield;
  appearance: textfield;
}

.product-quantity .bootstrap-touchspin input[type="number"]::-webkit-outer-spin-button,
.product-quantity .bootstrap-touchspin input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-quantity .bootstrap-touchspin .input-group-btn-vertical i,
.product-quantity .bootstrap-touchspin .bootstrap-touchspin-up i,
.product-quantity .bootstrap-touchspin .bootstrap-touchspin-down i {
  display: none !important;
}

.product-quantity .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down::before {
  content: "\2212";
}

.product-quantity .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up::before {
  content: "+";
}

.product-quantity .bootstrap-touchspin .btn-touchspin,
.product-quantity .bootstrap-touchspin .bootstrap-touchspin-up,
.product-quantity .bootstrap-touchspin .bootstrap-touchspin-down {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px;
  height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #374151;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  float: none !important;
  touch-action: manipulation;
}

.product-quantity .bootstrap-touchspin .btn-touchspin:hover,
.product-quantity .bootstrap-touchspin .btn-touchspin:focus {
  background: rgba(18, 33, 61, 0.06) !important;
  color: #12213D;
}

/* Móvil: la columna es 100%, la caja sigue siendo una barra horizontal */
@media (max-width: 575.98px) {
  .product-quantity .qty,
  .product-quantity .qty .input-group,
  .product-quantity .qty .bootstrap-touchspin {
    width: 100% !important;
    max-width: 100%;
    height: 44px !important;
    max-height: 44px !important;
  }
}


.cart-item .bootstrap-touchspin {
  display: flex !important;
  flex-direction: row;
  align-items: stretch;
  max-width: 88px !important;
  width: 88px;
  height: 40px;
  background: #f3f4f6;
  border: 0 !important;
  border-radius: 8px;
  overflow: hidden;
}

.cart-item .bootstrap-touchspin .input-group-btn-vertical {
  display: none !important;
}

.cart-item .bootstrap-touchspin .form-control,
.cart-item .bootstrap-touchspin input[type="number"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent;
  text-align: center;
  font-weight: 600;
  color: #12213D;
  -moz-appearance: textfield;
  appearance: textfield;
}

.cart-item .bootstrap-touchspin .btn-touchspin,
.cart-item .bootstrap-touchspin .bootstrap-touchspin-up,
.cart-item .bootstrap-touchspin .bootstrap-touchspin-down {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-width: 24px;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #374151;
  font-size: 20px;
  line-height: 1;
  touch-action: manipulation;
}

/* Página /marcas: cuadrícula responsive, cajas uniformes y hover suave */
.ms-alphabetical .ms-letter-brands a {
  text-transform: uppercase;
}

body#manufacturer .ms-grid {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

body#manufacturer .ms-grid .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-left: 0;
  margin-right: 0;
  align-items: stretch;
  justify-items: stretch;
}

body#manufacturer .ms-grid .row > .brand {
  width: 100%;
  max-width: none;
  flex: none;
  padding: 0;
  text-align: center;
}

body#manufacturer .ms-grid .brand-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 16px 12px 14px;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  box-shadow: 0 0 0 rgba(18, 33, 61, 0);
  text-decoration: none !important;
  color: #12213D;
  box-sizing: border-box;
  min-height: 168px;
  transition: box-shadow 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

body#manufacturer .ms-grid a.brand-box:link,
body#manufacturer .ms-grid a.brand-box:visited {
  color: #12213D;
  text-decoration: none;
}

body#manufacturer .ms-grid .brand-box:hover,
body#manufacturer .ms-grid .brand-box:focus-visible {
  box-shadow: 0 6px 18px rgba(18, 33, 61, 0.10);
  border-color: #d0d4dc;
  color: #3457D5;
}

body#manufacturer .ms-grid .brand-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1 1 auto;
  min-height: 100px;
  margin: 0;
}

body#manufacturer .ms-grid .brand-img img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

body#manufacturer .ms-grid .brand-infos {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.4em;
  margin-top: 10px;
  padding: 0 2px;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.28s ease;
}

@media (min-width: 576px) {
  body#manufacturer .ms-grid .row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  body#manufacturer .ms-grid .brand-img {
    min-height: 110px;
  }
}

@media (min-width: 768px) {
  body#manufacturer .ms-grid .row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  body#manufacturer .ms-grid .brand-box {
    padding: 18px 14px 16px;
    min-height: 184px;
  }

  body#manufacturer .ms-grid .brand-img {
    min-height: 118px;
  }

  body#manufacturer .ms-grid .brand-infos {
    font-size: 0.8rem;
  }
}

@media (min-width: 992px) {
  body#manufacturer .ms-grid .row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  body#manufacturer .ms-grid .brand-box {
    min-height: 192px;
  }

  body#manufacturer .ms-grid .brand-img {
    min-height: 122px;
  }
}

@media (min-width: 1200px) {
  body#manufacturer .ms-grid .row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1400px) {
  body#manufacturer .ms-grid .row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  body#manufacturer .ms-grid .brand-img {
    min-height: 126px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body#manufacturer .ms-grid .brand-box,
  body#manufacturer .ms-grid .brand-infos {
    transition: none;
  }
}


/*
 * iPad Mini (768px portrait; Mini 6: 744px).
 * A ≤768px custom_s_1 pone la hamburguesa con fondo blanco y padding 0.
 * En este ancho #menurivi ya es la barra tablet (mismo layout que iPad Air)
 * y el cuadrado blanco desborda / se deforma. Móviles (<744) e iPad Air+
 * (≥820) no se tocan.
 */
@media (min-width: 744px) and (max-width: 768px) {
  #menurivi button.hamburger.zomlmmTrigger,
  #menudesktop button.hamburger.zomlmmTrigger,
  button.hamburger.hamburger--squeeze.zomlmmTrigger {
    padding: 0 10px !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-self: center;
    box-sizing: border-box;
    line-height: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: 100%;
    overflow: hidden;
    gap: 0;
  }

  #menurivi .zomlmmTriggerLabel,
  #menudesktop .zomlmmTriggerLabel,
  button.hamburger.zomlmmTrigger .zomlmmTriggerLabel {
    display: none !important;
  }

  #menurivi .hamburger-box,
  #menudesktop .hamburger-box,
  button.hamburger.zomlmmTrigger .hamburger-box {
    width: 18px !important;
    height: 12px !important;
  }

  #menurivi .hamburger-inner,
  #menudesktop .hamburger-inner,
  button.hamburger.zomlmmTrigger .hamburger-inner {
    margin-top: -1px !important;
  }

  #menurivi .hamburger-inner,
  #menurivi .hamburger-inner::before,
  #menurivi .hamburger-inner::after,
  #menudesktop .hamburger-inner,
  #menudesktop .hamburger-inner::before,
  #menudesktop .hamburger-inner::after,
  button.hamburger.zomlmmTrigger .hamburger-inner,
  button.hamburger.zomlmmTrigger .hamburger-inner::before,
  button.hamburger.zomlmmTrigger .hamburger-inner::after {
    width: 18px !important;
    height: 2px !important;
    background-color: #ffffff !important;
    border-radius: 1px !important;
  }

  #menurivi .hamburger-inner::before,
  #menudesktop .hamburger-inner::before,
  button.hamburger.zomlmmTrigger .hamburger-inner::before {
    top: -5px !important;
  }

  #menurivi .hamburger-inner::after,
  #menudesktop .hamburger-inner::after,
  button.hamburger.zomlmmTrigger .hamburger-inner::after {
    bottom: -5px !important;
  }
}

/*
 * Carrito Creative Elements (sidebar <dialog>)
 * 1) El dialog nativo no llena el viewport: el panel se ve pero queda
 *    fuera del área clicable / tapado por ::backdrop.
 * 2) pointer-events:none de la cabecera auto-ocultada se hereda.
 */
dialog.elementor-cart__container {
  max-width: none;
  max-height: none;
  padding: 0;
  border: none;
  margin: 0;
  box-sizing: border-box;
}

dialog.elementor-cart__container.elementor-cart--shown,
dialog.elementor-cart__container[open] {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden;
  z-index: 10050;
  pointer-events: auto !important;
}

dialog.elementor-cart__container .elementor-cart__main {
  pointer-events: auto !important;
}

html.nw-header-pinned.nw-header-hidden #cabe.elementor-sticky--active dialog.elementor-cart__container,
html.nw-header-pinned.nw-header-hidden #cabemovil.elementor-sticky--active dialog.elementor-cart__container,
html.nw-header-pinned.nw-header-hidden #cabe.elementor-sticky--active dialog.elementor-cart__container *,
html.nw-header-pinned.nw-header-hidden #cabemovil.elementor-sticky--active dialog.elementor-cart__container * {
  pointer-events: auto;
}

/*
 * Botón Ver: centrado en tienda y mismo aspecto en home (CE).
 * Listados: .btn.btn-product-list.nw-atc-view (Warehouse).
 * Home: a.elementor-button.nw-atc-view (Creative Elements).
 */
html.riviera-b2b-guest .product-add-cart,
html.riviera-b2b-guest .product-add-cart .js-riviera-atc,
body.riviera-b2b-guest .product-add-cart,
body.riviera-b2b-guest .product-add-cart .js-riviera-atc {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.product-add-cart a.btn.btn-product-list.nw-atc-view:not(.nw-atc-view--guest-only),
.elementor-product-miniature a.nw-atc-view:not(.nw-atc-view--guest-only),
.elementor-product-miniature a.elementor-button.nw-atc-view:not(.nw-atc-view--guest-only) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 8.5rem;
  max-width: 100%;
  min-height: 40px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.6428571429rem 1.2857142857rem !important;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  background: #12213D !important;
  background-color: #12213D !important;
  background-image: none !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.elementor-product-miniature a.nw-atc-view {
  margin-top: 8px;
}

.elementor-product-miniature a.nw-atc-view .elementor-button-content-wrapper,
.elementor-product-miniature a.nw-atc-view .elementor-button-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  text-align: center;
  color: inherit !important;
}

.product-add-cart a.btn.btn-product-list.nw-atc-view:hover,
.product-add-cart a.btn.btn-product-list.nw-atc-view:focus,
.product-add-cart a.btn.btn-product-list.nw-atc-view:active,
.elementor-product-miniature a.nw-atc-view:hover,
.elementor-product-miniature a.nw-atc-view:focus,
.elementor-product-miniature a.elementor-button.nw-atc-view:hover,
.elementor-product-miniature a.elementor-button.nw-atc-view:focus {
  background: #0c1730 !important;
  background-color: #0c1730 !important;
  color: #ffffff !important;
  border-color: #0c1730 !important;
}

html.riviera-b2b-guest .nw-atc-view--guest-only {
  display: flex !important;
}

/* Logueado con compra: ocultar Ver si hay stock y se puede añadir al carrito */
html.riviera-b2b-can-buy a.nw-atc-view.nw-atc-view--guest-only,
body.riviera-b2b-can-buy a.nw-atc-view.nw-atc-view--guest-only,
html:not(.riviera-b2b-guest) .product-add-cart a.btn.btn-product-list.nw-atc-view.nw-atc-view--guest-only,
body:not(.riviera-b2b-guest) .product-add-cart a.btn.btn-product-list.nw-atc-view.nw-atc-view--guest-only,
html:not(.riviera-b2b-guest) .elementor-product-miniature a.nw-atc-view.nw-atc-view--guest-only,
body:not(.riviera-b2b-guest) .elementor-product-miniature a.elementor-button.nw-atc-view.nw-atc-view--guest-only {
  display: none !important;
}

/*
 * Ficha de producto: carruseles (categoría, accesorios, cross-selling, vistos)
 * con la misma lógica que home y tienda, en desktop y móvil.
 *
 * No registrado → solo Ver
 * Registrado + stock → cantidad + Añadir (sin Ver)
 * Registrado + sin stock → Ver (sin Añadir)
 */
html.riviera-b2b-guest #product .product-add-cart .js-riviera-identify,
html.riviera-b2b-guest #product .js-product-miniature-wrapper .js-riviera-identify,
html.riviera-b2b-guest #product .elementor-product-miniature .js-riviera-identify,
html.riviera-b2b-guest #product .category-products .js-riviera-identify,
html.riviera-b2b-guest #product .product-accessories .js-riviera-identify,
html.riviera-b2b-guest #product .crossselling-products .js-riviera-identify,
html.riviera-b2b-guest #product .viewed-products .js-riviera-identify,
html.riviera-b2b-guest #quickview-modal .product-add-cart .js-riviera-identify,
html.riviera-b2b-guest .modal.quickview .product-add-cart .js-riviera-identify,
body.riviera-b2b-guest#product .product-add-cart .js-riviera-identify,
body.riviera-b2b-guest #product .product-add-cart .js-riviera-identify,
body.riviera-b2b-guest #quickview-modal .product-add-cart .js-riviera-identify,
body.riviera-b2b-guest .modal.quickview .product-add-cart .js-riviera-identify {
  display: none !important;
}

html.riviera-b2b-guest #product .product-add-cart form,
html.riviera-b2b-guest #product .product-add-cart .nw-atc-qty,
html.riviera-b2b-guest #product .product-add-cart .input-group-add-cart,
html.riviera-b2b-guest #quickview-modal .product-add-cart form,
html.riviera-b2b-guest .modal.quickview .product-add-cart form,
body.riviera-b2b-guest#product .product-add-cart form,
body.riviera-b2b-guest #product .product-add-cart form,
body.riviera-b2b-guest #product .product-add-cart .nw-atc-qty,
body.riviera-b2b-guest #product .product-add-cart .input-group-add-cart {
  display: none !important;
}

html.riviera-b2b-guest #product .product-add-cart a.btn.btn-product-list.nw-atc-view,
html.riviera-b2b-guest #product .product-add-cart a.nw-atc-view,
html.riviera-b2b-guest #product .product-add-cart a.nw-atc-view--guest-only,
html.riviera-b2b-guest #quickview-modal .product-add-cart a.nw-atc-view,
body.riviera-b2b-guest#product .product-add-cart a.btn.btn-product-list.nw-atc-view,
body.riviera-b2b-guest #product .product-add-cart a.btn.btn-product-list.nw-atc-view,
body.riviera-b2b-guest #product .product-add-cart a.nw-atc-view--guest-only {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

html.riviera-b2b-can-buy #product .product-add-cart a.nw-atc-view.nw-atc-view--guest-only,
html.riviera-b2b-can-buy #product .js-product-miniature-wrapper a.nw-atc-view.nw-atc-view--guest-only,
html.riviera-b2b-can-buy #product .elementor-product-miniature a.nw-atc-view.nw-atc-view--guest-only,
body.riviera-b2b-can-buy #product .product-add-cart a.nw-atc-view.nw-atc-view--guest-only,
body.riviera-b2b-can-buy #product .js-product-miniature-wrapper a.nw-atc-view.nw-atc-view--guest-only,
body.riviera-b2b-can-buy #product .elementor-product-miniature a.nw-atc-view.nw-atc-view--guest-only,
html:not(.riviera-b2b-guest) #product .product-add-cart a.nw-atc-view.nw-atc-view--guest-only,
body:not(.riviera-b2b-guest) #product .product-add-cart a.nw-atc-view.nw-atc-view--guest-only {
  display: none !important;
}




/*
 * Ficha de producto: iPad Mini (744–768px portrait) y móvil.
 * Solo layout de imagen (centrada / tamaño). El orden de la ficha no se toca:
 * título → marca → agotado → precio → descripción corta → stock → añadir.
 */
@media (max-width: 768px) {
  #product .product-info-row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #product .product-info-row > .col-product-image,
  #product .product-info-row > .col-product-info,
  #product .product-info-row > [class*="col-md-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #product .col-product-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.25rem;
  }

  #product .col-product-image .images-container,
  #product .col-product-image .images-container-left > .row {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  #product .col-product-image .images-container-left > .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #product .col-product-image .col-12,
  #product .col-product-image .col-10,
  #product .col-product-image .col-2,
  #product .col-left-product-cover,
  #product .col-left-product-thumbs {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #product .col-left-product-thumbs {
    margin-top: 0.75rem;
  }

  #product .product-cover,
  #product .product-cover .product-lmage-large,
  #product #product-images-large,
  #product #product-images-large .swiper-wrapper,
  #product #product-images-large .swiper-slide {
    width: 100% !important;
    max-width: 100%;
  }

  #product .product-cover img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #product .product-add-to-cart,
  #product .product-quantity,
  #product .js-riviera-atc,
  #product .product-comments-additional-info {
    justify-content: center !important;
  }

  #product .product-quantity > .col,
  #product .product-quantity > .col-add-qty,
  #product .product-quantity > .col-add-btn {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }

  #product .col-product-info,
  #product #col-product-info,
  #product .product_header_container,
  #product .product-information {
    text-align: center;
  }

  #product .product_header_container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #product .product_header_container > .page-title,
  #product .product_header_container > .product-manufacturer-next,
  #product .product_header_container > .product-manufacturer {
    float: none !important;
    align-self: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  #product .product-manufacturer-next .product-manufacturer-link,
  #product .product-manufacturer .product-manufacturer-link {
    justify-content: center !important;
    text-align: center !important;
  }

  #product .product-prices,
  #product .product-prices .has-discount,
  #product .product-prices .has-discount > div,
  #product .ce-product-prices {
    justify-content: center !important;
    text-align: center;
    width: 100%;
  }

  #product .nw-product-stock,
  #product .nw-product-info,
  #product .product-additional-info,
  #product .js-product-additional-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  #product .product-actions,
  #product .product-add-to-cart,
  #product .product-quantity {
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center;
  }
}

.product-description .rte-content {
  text-align: left;
}

#product .product-description .rte-content,
#product .rte-content.product-description:not([id^="product-description-short"]),
#product .product-description.rte-content:not([id^="product-description-short"]) {
  text-align: left !important;
}

/*
 * Ficha de producto: descripción corta centrada solo en móvil e iPad Mini
 * (≤768px). Anchos tablet mayores (820–1279) quedan a la izquierda.
 * No afecta a la descripción larga.
 */
@media (max-width: 768px) {
  #product .product-information [id^="product-description-short"].rte-content.product-description,
  #product .product-information [id^="product-description-short"].rte-content.product-description p,
  #product .product-information [id^="product-description-short"].rte-content.product-description *,
  #product .col-product-info [id^="product-description-short"].rte-content.product-description,
  #product .col-product-info [id^="product-description-short"].rte-content.product-description p,
  #product .col-product-info [id^="product-description-short"].rte-content.product-description * {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}


/* iPad Mini portrait: foto al ~60%, centrada */
@media (min-width: 744px) and (max-width: 768px) {
  #product .col-product-image .images-container {
    width: 60%;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
  }

  #product .product_header_container > .product-manufacturer-next {
    float: none !important;
    order: 2;
    position: relative;
    z-index: auto;
    margin: 0 0 0.75rem 0;
    align-self: center;
  }

}

/* Móvil: foto a ancho útil, centrada */
@media (max-width: 743.98px) {
  #product .col-product-image .images-container {
    width: 100%;
    max-width: 100%;
  }

  #product .product-cover img {
    width: 100% !important;
  }
}

/*
 * Filtro de categorías (FilterProductsPro):
 * las categorías principales del árbol van en negrita.
 * El módulo antepone un espacio normal a esas opciones
 * (las subcategorías usan NBSP) y la plantilla del tema
 * añade .fpp-cat-parent.
 */
.fpp_searchers .searcher-content .filter-content .checkbox.fpp-cat-parent > label,
.fpp_searchers .searcher-content .filter-content .radio.fpp-cat-parent > label,
.fpp_searchers .searcher-content .filter-content .checkbox.fpp-cat-parent > label > span,
.fpp_searchers .searcher-content .filter-content .radio.fpp-cat-parent > label > span,
.fpp_searchers .searcher-content .filter-content .checkbox.fpp-cat-parent > label a,
.fpp_searchers .searcher-content .filter-content .radio.fpp-cat-parent > label a,
.fpp_searchers .searcher-content .filter-content .checkbox.fpp-cat-parent > label a span,
.fpp_searchers .searcher-content .filter-content .radio.fpp-cat-parent > label a span {
  font-weight: 700;
}

/*
 * Carrito: stock bajo el selector de cantidad, semáforo igual que listados/ficha.
 * >20 verde, 1-20 naranja, 0 rojo.
 */
.cart-overview .cart-line-qty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cart-overview .cart-line-stock {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}
.cart-overview .cart-line-stock--ok {
  color: #16a34a;
}
.cart-overview .cart-line-stock--low {
  color: #ca8a04;
}
.cart-overview .cart-line-stock--out {
  color: #dc2626;
}

/*
 * Ficha de producto: precio tachado un poco más grande
 * (solo aquí, no en tarjetas ni listados).
 */
#product .product-prices .regular-price,
#product .product-prices .product-discount .regular-price,
#product .ce-product-prices .ce-product-price-regular {
  font-size: 1.05rem;
}
}
/* NW: zomlmm header iconos alineados */
.zomlmm-header .zmlmm-header-user-actions {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.zomlmm-header .zmlmm-header-user-actions > li {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
.zomlmm-header .zmlmm-header-user-actions > li > a,
.zomlmm-header .zmlmm-header-user-actions #close-zomlmm {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 14px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  min-height: 44px !important;
  height: 44px !important;
}
.zomlmm-header .zmlmm-header-user-actions svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
}
/* NW: cabecera logo tamaño */
@media (min-width: 1280px) {
  #cabe .elementor-element-152c084 img,
  .elementor-element-66576a5 .elementor-element-152c084 img {
    width: auto !important;
    height: 68px !important;
    max-width: 82% !important;
    object-fit: contain;
  }
}

@media (max-width: 1279px) {
  .elementor-element-152c084 img,
  .elementor-element-917dde4 img {
    width: auto !important;
    max-height: auto !important;
    max-width: 100% !important;
    object-fit: contain;
  }
}

/* riviera-hide-reviews */
.product-comments-additional-info,
#product-comments-list,
#product-comments-list-footer,
.post-product-comment,
.product-list-reviews,
.iqitreviews-simple,
.iqitreviews-rating,
.product-quickview-review,
.btn-comment,
.open-comment-form,
#iqitreviews,
.tab-pane[id*="comment"],
.tab-pane[id*="review"] {
  display: none !important;
}

/* riviera-hide-social-canon */
.social-sharing,
.ps-socialfollow,
.riviera-canon-product-preview,
.riviera-canon-notice,
.riviera-canon-preview,
.js-product-additional-info .product-comments-additional-info {
  display: none !important;
}

/*
 * Mini-carrito: misma caja − 1 + que ficha de producto / listado.
 */
#blockcart-content .riviera-sidecart-qty-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

#blockcart-content .riviera-sidecart-qty-line .riviera-sidecart-qty {
  flex: 0 0 auto;
}

#blockcart-content .riviera-sidecart-qty-line .riviera-sidecart-unit-price {
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.2;
  white-space: nowrap;
}

#blockcart-content .riviera-sidecart-qty-line .riviera-sidecart-unit-price .text-muted {
  margin-right: 0.15rem;
}

/* Mini-carrito: forzar misma caja − qty + que listado (también .blockcart-content) */
.blockcart-content .riviera-sidecart-qty .nw-atc-qty,
#blockcart-content .riviera-sidecart-qty .nw-atc-qty {
  display: flex !important;
  flex: 0 1 72px !important;
  width: 72px !important;
  min-width: 72px !important;
}

.blockcart-content .riviera-sidecart-qty .nw-atc-qty-input,
#blockcart-content .riviera-sidecart-qty .nw-atc-qty-input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.blockcart-content .riviera-sidecart-qty .bootstrap-touchspin,
#blockcart-content .riviera-sidecart-qty .bootstrap-touchspin {
  display: none !important;
}

/* Creative Elements: Mi carrito — misma caja − qty + que listados */
.elementor-cart__container .elementor-cart__product-price.riviera-ce-cart-price {
  grid-column: 2 / 3;
  align-self: center;
  color: #12213d;
  padding-top: 0.35rem;
}
.elementor-cart__container .riviera-ce-cart-qty-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
}
.elementor-cart__container .riviera-ce-cart-unit-price {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  white-space: nowrap;
  line-height: 1.25;
}
dialog.elementor-cart__container .nw-atc-qty--sidecart,
.elementor-cart__container .nw-atc-qty.nw-atc-qty--sidecart {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  flex: 0 0 auto !important;
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  min-height: 40px !important;
  height: 40px !important;
  background: #f3f4f6 !important;
  border: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.elementor-cart__container .nw-atc-qty--sidecart .nw-atc-qty-input {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 0 2px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent;
  color: #12213d;
  font-size: 15px;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.elementor-cart__container .nw-atc-qty--sidecart .nw-atc-qty-input::-webkit-outer-spin-button,
.elementor-cart__container .nw-atc-qty--sidecart .nw-atc-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.elementor-cart__container .nw-atc-qty--sidecart .nw-atc-qty-btn {
  flex: 0 0 24px;
  width: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #374151;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.elementor-cart__container .nw-atc-qty--sidecart .nw-atc-qty-btn:hover,
.elementor-cart__container .nw-atc-qty--sidecart .nw-atc-qty-btn:focus {
  background: rgba(18, 33, 61, 0.06);
  color: #12213d;
  outline: none;
}
.elementor-cart__container .riviera-ce-qty,
.elementor-cart__container table.riviera-ce-qty {
  display: none !important;
}
.elementor-cart__container .bootstrap-touchspin {
  display: none !important;
}

/*
 * Carrito en móvil y iPad Mini.
 * Por debajo de 1200px el resumen y la ficha del producto
 * pasan a una columna para que el nombre, la cantidad y los
 * totales no se corten. El comportamiento no cambia.
 */
@media (max-width: 1199.98px) {
  body#cart .cart-grid-body,
  body#cart .cart-grid-right {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body#cart .cart-grid-right {
    margin-top: 0.5rem;
  }

  body#cart .cart-item-header {
    display: none !important;
  }

  body#cart .product-line-grid {
    row-gap: 0.75rem;
  }

  body#cart .product-line-grid-body,
  body#cart .product-line-grid-right {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  body#cart .product-line-grid-body > .row {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  body#cart .cart-item .product-image {
    flex: 0 0 84px !important;
    width: 84px !important;
    max-width: 84px !important;
  }

  body#cart .cart-item .product-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  body#cart .product-line-grid-body > .row > .col-9 {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 96px) !important;
    min-width: 0;
  }

  body#cart .product-line-info .label {
    display: block;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.35;
  }

  body#cart .product-line-grid-right {
    text-align: left;
  }

  body#cart .product-line-grid-right > .row {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.65rem;
    width: 100%;
    margin: 0;
  }

  body#cart .product-line-grid-right > .row > [class*="col"] {
    width: auto !important;
    max-width: none !important;
    flex: 0 1 auto !important;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }

  body#cart .product-line-grid-right .unit-price {
    flex: 1 1 auto !important;
    min-width: 0;
    text-align: left;
  }

  body#cart .product-line-grid-right .qty,
  body#cart .product-line-grid-right .price,
  body#cart .product-line-grid-right .cart-line-product-actions {
    flex: 0 0 auto !important;
  }

  body#cart .product-line-grid-right .qty {
    text-align: center;
  }

  body#cart .product-line-grid-right .price {
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
  }

  body#cart .product-line-grid-right .cart-line-product-actions {
    flex: 0 0 auto;
    text-align: right;
  }

  body#cart .cart-line-product-actions .remove-from-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
  }

  body#cart .cart-grid-body > a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  body#cart .cart-summary-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.2rem 0.75rem;
  }

  body#cart .cart-summary-line::after {
    content: none !important;
    display: none !important;
  }

  body#cart .cart-summary-line .label {
    float: none !important;
    flex: 1 1 10rem;
    max-width: 100%;
    min-width: 0;
    line-height: 1.3;
    word-break: normal;
    overflow-wrap: break-word;
  }

  body#cart .cart-summary-line .value {
    float: none !important;
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
    line-height: 1.3;
  }

  body#cart .cart-summary-line .riviera-shipping-subtotal-details {
    flex: 1 1 100%;
    width: 100%;
  }

  body#cart .cart-summary-line.cart-total,
  body#cart .cart-summary-line.cart-total .label,
  body#cart .cart-summary-line.cart-total .value {
    font-size: 1.15rem;
  }

  body#cart .cart-detailed-actions .btn {
    white-space: normal;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  body#cart .cart-item .product-image {
    flex-basis: 72px !important;
    width: 72px !important;
    max-width: 72px !important;
  }

  body#cart .product-line-grid-body > .row > .col-9 {
    max-width: calc(100% - 84px) !important;
  }
}


/*
 * Home: tarjetas de producto (carrusel y rejilla) a la misma altura.
 * La zona de precio/botón se apoya abajo para que «Ver» y «Añadir»
 * queden alineados aunque falte el precio.
 */
body#index .swiper-wrapper:has(> .swiper-slide > .elementor-product-miniature) {
  align-items: stretch;
}

body#index .swiper-slide:has(> .elementor-product-miniature) {
  display: flex;
  height: auto;
  align-self: stretch;
}

body#index .elementor-grid:has(> .elementor-product-miniature) {
  align-items: stretch;
}

body#index .swiper-slide > .elementor-product-miniature,
body#index .elementor-grid > .elementor-product-miniature {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: auto;
  min-height: 100%;
  flex: 1 1 auto;
  box-sizing: border-box;
}

body#index .elementor-product-miniature > .elementor-image,
body#index .elementor-product-miniature > .elementor-content,
body#index .elementor-product-miniature > .nw-product-stock-list {
  flex: 0 0 auto;
}

body#index .elementor-product-miniature > .elementor-atc,
body#index .elementor-product-miniature > a.nw-atc-view {
  margin-top: auto;
  flex: 0 0 auto;
}

body#index .elementor-product-miniature .elementor-quick-view {
  z-index: 4;
  pointer-events: auto;
}


/*
 * Quickview: la foto de portada se ve sin hover.
 * El zoom (easyzoom-flyout) sigue apareciendo al pasar el ratón,
 * pero no tapa la imagen base.
 */
#quickview-modal .product-cover img,
.modal.quickview .product-cover img {
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 1;
}

#quickview-modal .product-cover .swiper-slide.js-thumb-selected,
.modal.quickview .product-cover .swiper-slide.js-thumb-selected {
  opacity: 1 !important;
}

/* Confirmación de pedido: mismo fondo blanco que carrito y checkout */
body#order-confirmation {
  background: #ffffff !important;
  background-color: #ffffff !important;
}
