section#wrapper{
    background: #fde3d9;
}
#header, #header .header-top, body{
    background-color: #f4dada;
}
/*
 * Warmi Online — PrestaShop Classic
 * Página /2-inicio (category-id-2).
 * Muestra únicamente las cuatro categorías principales en una fila desplazable.
 * Conserva los filtros y la lista completa de productos.
 * Añadir a /themes/classic/assets/css/custom.css (o al tema hijo activo).
 */

/* Menú superior en una sola línea en pantallas de escritorio. */
@media (min-width: 992px) {
  #_desktop_top_menu > .top-menu[data-depth="0"] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  #_desktop_top_menu > .top-menu[data-depth="0"] > li {
    float: none;
    flex: 0 0 auto;
  }

  #_desktop_top_menu > .top-menu[data-depth="0"] > li > a {
    padding: 10px 8px;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* La categoría Inicio ya es accesible desde «Ver todos los productos». */
body.page-category.category-id-2 #left-column .block-categories
  .category-top-menu > li:first-child {
  display: none;
}

/* Cuatro categorías principales en una fila, con desplazamiento táctil. */
body.page-category.category-id-2 #left-column .block-categories
  .category-top-menu > li:nth-child(2) > .category-sub-menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 4px 2px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

body.page-category.category-id-2 #left-column .block-categories
  .category-top-menu > li:nth-child(2) > .category-sub-menu
  > li[data-depth="0"] {
  float: none;
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: start;
}

body.page-category.category-id-2 #left-column .block-categories
  .category-top-menu > li:nth-child(2) > .category-sub-menu
  > li[data-depth="0"] > a {
  display: block;
  padding: 11px 15px;
  border: 1px solid #e8b7c2;
  border-radius: 999px;
  background: #fff;
  color: #573b42;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

body.page-category.category-id-2 #left-column .block-categories
  .category-top-menu > li:nth-child(2) > .category-sub-menu
  > li[data-depth="0"] > a:hover,
body.page-category.category-id-2 #left-column .block-categories
  .category-top-menu > li:nth-child(2) > .category-sub-menu
  > li[data-depth="0"] > a:focus-visible {
  border-color: #ad536b;
  background: #fff1f4;
  color: #74304a;
}

/* Las subcategorías siguen accesibles en el menú superior y en sus páginas. */
body.page-category.category-id-2 #left-column .block-categories
  .category-top-menu > li:nth-child(2) > .category-sub-menu
  > li[data-depth="0"] > .navbar-toggler,
body.page-category.category-id-2 #left-column .block-categories
  .category-top-menu > li:nth-child(2) > .category-sub-menu
  > li[data-depth="0"] > .collapse,
body.page-category.category-id-2 #left-column .block-categories
  .category-top-menu > li:nth-child(2) > .category-sub-menu
  > li[data-depth="0"]:nth-child(n+5) {
  display: none !important;
}

body.page-category.category-id-2 #left-column .block-categories {
  margin-bottom: 14px;
  padding: 12px 14px 4px;
  background: #fffaf9;
  box-shadow: none;
}

/* En escritorio, barra a todo el ancho; filtros a la izquierda; productos a la derecha. */
@media (min-width: 768px) {
  body.page-category.category-id-2 #wrapper > .container > .row {
    display: grid;
    grid-template-columns: minmax(170px, 205px) minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
  }

  body.page-category.category-id-2 #left-column {
    display: contents;
  }

  body.page-category.category-id-2 #left-column .block-categories {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;
  }

  body.page-category.category-id-2 #left-column #search_filters_wrapper {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
  }

  body.page-category.category-id-2 #content-wrapper {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    max-width: none;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  body.page-category.category-id-2 #left-column .block-categories {
    margin: 0 0 12px;
  }

  body.page-category.category-id-2 #left-column .block-categories
    .category-top-menu > li:nth-child(2) > .category-sub-menu
    > li[data-depth="0"] > a {
    padding: 10px 13px;
    font-size: 13px;
  }
}

/* Warmi: cabecera compacta y buscador amplio */
@media (min-width: 992px) {
  #header .header-top {
    padding: 12px 0;
  }

  #header .header-top > .container > .row {
    display: flex;
    align-items: center;
  }

  #header #_desktop_logo {
    flex: 0 0 120px;
    width: 120px;
  }

  #header #_desktop_logo img {
    width: 100px;
    height: auto;
  }

  #header .header-top-right {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: auto;
    min-width: 0;
  }

  #header #search_widget {
    order: 0;
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 8px;
  }

  #header #search_widget form {
    width: 100%;
  }

  #header #search_widget input[type="text"] {
    width: 100%;
    height: 44px;
    background: #fff;
    border: 1px solid #e8b7c2;
    border-radius: 8px;
  }

  #header #_desktop_top_menu {
    order: 1;
    width: 100%;
    margin: 0;
  }

  #header #_desktop_top_menu > .top-menu {
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  #header #_desktop_top_menu > .top-menu > li > a {
    padding: 8px;
    color: #573b42;
  }
}

/* Warmi: cabecera visible al desplazarse */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #f4dada;
  box-shadow: 0 3px 10px rgba(87, 59, 66, 0.12);
}

/* Warmi: catalogo compacto y adaptable */
#js-product-list .products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 10px;
  margin: 0;
}

#js-product-list .products > .js-product {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  float: none;
}

#js-product-list .product-miniature,
#js-product-list .thumbnail-container,
#js-product-list .thumbnail-top,
#js-product-list .product-description {
  width: 100%;
  min-width: 0;
}

#js-product-list .thumbnail-container {
  height: auto;
  margin-bottom: 0;
}

#js-product-list .thumbnail-top img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

#js-product-list .highlighted-information {
  width: 100%;
  left: 0;
}

#js-product-list .product-title {
  margin: 10px 6px 6px;
  font-size: 14px;
  line-height: 1.35;
}

#js-product-list .product-price-and-shipping {
  padding: 0 5px 12px;
}

@media (min-width: 768px) {
  #js-product-list .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 14px;
  }
}

@media (min-width: 1200px) {
  body.page-category #wrapper > .container {
    width: calc(100% - 48px);
    max-width: 1600px;
  }

  #js-product-list .products {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #js-product-list .product-title {
    font-size: 13px;
  }

  #js-product-list .product-flags li {
    font-size: 10px;
    padding: 4px 6px;
  }
}

/* Boton flotante WhatsApp */
#warmi-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  text-decoration: none;
}

#warmi-whatsapp:hover {
  background: #128c7e;
  color: #fff;
}

#warmi-whatsapp:focus-visible {
  outline: 3px solid #573b42;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  #warmi-whatsapp {
    right: 16px;
    width: 54px;
    height: 54px;
  }
}

/* Warmi: productos de la portada */
body#index .featured-products .products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-left: 0;
  margin-right: 0;
}

body#index .featured-products .products > .product {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
}

body#index .featured-products .product-miniature,
body#index .featured-products .thumbnail-container,
body#index .featured-products .product-description,
body#index .featured-products .thumbnail-top {
  width: 100%;
  min-width: 0;
}

body#index .featured-products .product-miniature,
body#index .featured-products .thumbnail-container {
  margin-left: 0;
  margin-right: 0;
}

body#index .featured-products .thumbnail-top img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

@media (min-width: 768px) {
  body#index .featured-products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  body#index .featured-products .products {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body#index .featured-products .products {
    gap: 12px;
  }
}

/* Warmi: titulos de las secciones de portada */
body#index .featured-products .products-section-title {
  color: #800d2b;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none !important;
  margin: 32px 0 24px;
}

@media (max-width: 767px) {
  body#index .featured-products .products-section-title {
    font-size: 22px;
    margin: 26px 0 18px;
  }
}

/* Warmi: tarjetas de categorias en portada */
body#index .warmi-category-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 32px;
}

body#index .warmi-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: #fffaf7;
  border: 1px solid #edc7cc;
  border-radius: 14px;
  padding: 12px;
  color: #800d2b;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(87,59,66,.06);
}

body#index .warmi-category-card img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
}

body#index .warmi-category-card span {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

body#index .warmi-category-card:hover {
  border-color: #800d2b;
  background: #fff;
  color: #800d2b;
}

body#index .warmi-category-card:focus-visible {
  outline: 3px solid #800d2b;
  outline-offset: 3px;
}

@media (min-width: 768px) {
  body#index .warmi-category-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  body#index .warmi-category-card img {
    height: 150px;
  }
}


/* WARMI SEGUNDA FOTO */
.warmi-photo-swap {
  display: block;
  position: relative;
}
.warmi-photo-swap > picture {
  display: block;
}
.warmi-photo-swap > .warmi-secondary-photo {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .warmi-photo-swap > picture {
    transition: opacity .2s ease;
  }
  .warmi-photo-swap > .warmi-secondary-photo {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    object-fit: contain;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  .product-miniature:hover .warmi-photo-swap > picture {
    opacity: 0;
  }
  .product-miniature:hover .warmi-secondary-photo {
    opacity: 1;
  }
}


/* WARMI BOTONES VER MAS */
body#index a.all-product-link {
  float: none !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 260px;
  max-width: 90%;
  min-height: 76px;
  margin: 24px auto 38px !important;
  padding: 15px 24px !important;
  background: #800d2b !important;
  color: #fff !important;
  border: 0;
  border-radius: 40px;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-transform: none !important;
  text-decoration: none !important;
  transition: background .2s ease;
}

body#index a.all-product-link:hover {
  background: #630a21 !important;
}

body#index a.all-product-link:focus-visible {
  outline: 3px solid #800d2b;
  outline-offset: 4px;
}

body#index .warmi-more-arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}


/* WARMI CARGAR MAS PRODUCTOS */
.warmi-load-more-ready #products .pagination {
  display: block !important;
  margin: 28px 0 !important;
}

.warmi-load-more-ready #products .pagination > div:first-child {
  display: none !important;
}

.warmi-load-more-ready #products .pagination > div:last-of-type {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.warmi-load-more-ready #products .pagination .page-list {
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.warmi-load-more-ready #products .pagination .page-list > li {
  display: none !important;
}

.warmi-load-more-ready #products .pagination .page-list > li.warmi-pagination-next {
  display: block !important;
  float: none !important;
  margin: 20px 0 !important;
}

.warmi-load-more-ready #products .pagination .page-list > li.warmi-pagination-unavailable {
  display: none !important;
}

#products .pagination .warmi-pagination-next > a.next {
  display: flex !important;
  float: none !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 260px;
  max-width: 90%;
  min-height: 76px;
  box-sizing: border-box;
  margin: 0 auto !important;
  padding: 15px 24px !important;
  border-radius: 40px;
  background: #800d2b !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none !important;
}

#products .pagination .warmi-pagination-next > a.next:hover {
  background: #630a21 !important;
}

#products .pagination .warmi-pagination-next > a.next:focus-visible {
  outline: 3px solid #800d2b;
  outline-offset: 4px;
}

#products .pagination .warmi-pagination-next > a.next[aria-disabled="true"] {
  opacity: .65;
  cursor: wait;
}

#products .warmi-pagination-arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

#products .warmi-load-more-message {
  text-align: center;
  margin: 16px 0;
}


/* WARMI PRECIOS Y CARRITO */
.product-miniature .product-description {
  height: auto !important;
  padding-bottom: 14px !important;
}

.product-miniature .thumbnail-container {
  height: auto !important;
}

.product-miniature .warmi-card-note {
  display: block;
  margin: 5px 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  color: #666;
}

.product-miniature .warmi-card-actions {
  padding: 10px 12px 0;
  text-align: center;
}

.product-miniature .warmi-card-actions form {
  margin: 0;
}

.product-miniature .warmi-card-button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 5px;
  border: 0;
  border-radius: 6px;
  background: #800d2b;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
}

.product-miniature .warmi-card-button:hover {
  background: #630a21;
}

.product-miniature .warmi-card-button:disabled {
  opacity: .65;
  cursor: wait;
}

.product-miniature .warmi-card-sold-out {
  display: block;
  padding: 10px 5px;
  border-radius: 6px;
  background: #eee;
  color: #777;
  font-size: 13px;
  font-weight: 600;
}


/* WARMI CANTIDAD A LA DERECHA */
.product-miniature .warmi-card-actions .warmi-card-purchase {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.product-miniature .warmi-card-purchase .warmi-card-button {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  min-height: 48px;
  padding: 8px 4px;
  font-size: 12px;
  line-height: 1.3;
}

.product-miniature .warmi-card-purchase .warmi-card-quantity {
  flex: 0 0 52px;
  width: 52px;
  min-width: 0;
  min-height: 48px;
  height: auto;
  margin: 0;
  padding: 4px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 16px;
  text-align: center;
}

.product-miniature .warmi-card-quantity:focus {
  outline: 2px solid #800d2b;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .product-miniature .warmi-card-purchase .warmi-card-button {
    font-size: 11px;
  }

  .product-miniature .warmi-card-purchase .warmi-card-quantity {
    flex-basis: 46px;
    width: 46px;
  }
}


/* WARMI BOTONES DE CANTIDAD */
.product-miniature .warmi-card-purchase .warmi-quantity-control {
  display: flex;
  flex: 0 0 64px;
  width: 64px;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.product-miniature .warmi-card-purchase .warmi-quantity-control .warmi-card-quantity {
  flex: 1 1 0;
  width: 36px;
  min-width: 0;
  min-height: 46px;
  padding: 2px;
  border: 0;
  border-radius: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}

.warmi-quantity-control input::-webkit-inner-spin-button,
.warmi-quantity-control input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-miniature .warmi-quantity-buttons {
  display: flex;
  flex-direction: column;
  flex: 0 0 24px;
  border-left: 1px solid #ddd;
}

.product-miniature .warmi-quantity-buttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 24px;
  min-height: 23px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f5f5f5;
  color: #800d2b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.product-miniature .warmi-quantity-buttons button + button {
  border-top: 1px solid #ddd;
}

.product-miniature .warmi-quantity-buttons button:hover {
  background: #f3e3e8;
}

.product-miniature .warmi-quantity-buttons button:focus-visible {
  outline: 2px solid #800d2b;
  outline-offset: -2px;
}


/* WARMI CANTIDAD CON FLECHAS */
.product-miniature .warmi-card-purchase input.warmi-card-quantity {
  flex: 0 0 58px;
  width: 58px;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 4px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #f7f7f7;
  color: #333;
  font-size: 16px;
  text-align: center;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
}

.product-miniature .warmi-card-purchase input.warmi-card-quantity::-webkit-inner-spin-button,
.product-miniature .warmi-card-purchase input.warmi-card-quantity::-webkit-outer-spin-button {
  -webkit-appearance: auto;
  opacity: 1;
  margin: 0;
}


/* WARMI AVISO DE STOCK */
.product-miniature .warmi-stock-warning {
  display: block;
  margin: 8px 0 0;
  padding: 0;
  color: #a12626;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

.product-miniature .warmi-stock-warning[hidden] {
  display: none !important;
}

.product-miniature .warmi-stock-warning::before {
  content: "⊘ ";
  color: #e87535;
  font-size: 16px;
}

.product-miniature .warmi-card-quantity[aria-invalid="true"] {
  border-color: #a12626 !important;
}

.product-miniature .warmi-card-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}


/* WARMI CABECERA HORIZONTAL */
#header,
#header .header-top {
  background: #fff !important;
}

#header .blockcart {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
}

#header .blockcart .header {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

#header .blockcart .header > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #800d2b !important;
  text-decoration: none;
}

#header .warmi-cart-icon {
  display: inline-block;
  position: relative;
  width: 30px;
  height: 30px;
}

#header .warmi-cart-icon .shopping-cart {
  color: #800d2b !important;
  font-size: 28px;
  line-height: 30px;
}

#header .warmi-cart-icon .cart-products-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 20px;
  background: #800d2b;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

#header .warmi-cart-total {
  display: inline-block !important;
  margin: 0 !important;
  color: #800d2b !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

#header .user-info {
  margin: 0 !important;
}

#header .user-info a:not(.logout) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 44px;
  color: #800d2b !important;
}

#header .user-info a span,
#header .user-info .logout {
  display: none !important;
}

#header .user-info .material-icons {
  color: #800d2b !important;
  font-size: 29px;
}

#header #search_widget form input[type="text"] {
  background: #fff !important;
  border: 1px solid #dfbdc6 !important;
  border-radius: 24px !important;
  color: #573b42 !important;
}

#header #search_widget form button,
#header #search_widget form button .material-icons {
  color: #800d2b !important;
}

#header #search_widget form input[type="text"]:focus {
  outline: 2px solid #800d2b;
  outline-offset: 1px;
}

@media (min-width: 768px) {
  #header .header-nav {
    background: #800d2b !important;
    border: 0 !important;
    margin-bottom: 0 !important;
    padding: 4px 0 !important;
    min-height: 0 !important;
  }

  #header .header-nav .right-nav {
    display: none !important;
  }

  #header .header-nav #contact-link,
  #header .header-nav #contact-link a {
    color: #fff !important;
    font-size: 12px;
  }

  #header .header-top {
    padding: 12px 0 0 !important;
  }

  #header .header-top > .container > .row {
    display: grid !important;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 20px;
  }

  #header .header-top > .container > .row::before,
  #header .header-top > .container > .row::after {
    display: none !important;
  }

  #header #_desktop_logo {
    grid-column: 1;
    grid-row: 1;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #header #_desktop_logo h1 {
    margin: 0 !important;
    line-height: 1;
  }

  #header #_desktop_logo a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  #header #_desktop_logo img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 44px !important;
    object-fit: contain;
  }

  #header .header-top-right {
    display: contents !important;
  }

  #header #search_widget {
    grid-column: 2;
    grid-row: 1;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
  }

  #header #search_widget form {
    width: 100%;
  }

  #header #search_widget input[type="text"] {
    width: 100% !important;
    height: 44px !important;
  }

  #header .warmi-header-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex !important;
    align-items: center;
    gap: 16px;
  }

  #header #_desktop_user_info,
  #header #_desktop_cart {
    float: none !important;
    margin: 0 !important;
  }

  #header #_desktop_top_menu {
    grid-column: 1 / -1;
    grid-row: 2;
    float: none !important;
    width: 100% !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    border-top: 1px solid #f0dce2;
  }

  #header #_desktop_top_menu > .top-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 !important;
  }

  #header #_desktop_top_menu > .top-menu > li > a {
    color: #800d2b !important;
    padding: 8px 14px !important;
  }

  #header #_desktop_top_menu > .top-menu > li > a:hover {
    background: #f9edf1;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #header .header-top > .container > .row {
    grid-template-columns: 135px minmax(0, 1fr) auto;
    column-gap: 12px;
  }

  #header .warmi-header-actions {
    gap: 8px;
  }
}

@media (max-width: 767px) {
  #header .header-nav {
    background: #fff !important;
  }

  #header #_mobile_logo img {
    width: auto !important;
    height: auto !important;
    max-width: 110px !important;
    max-height: 34px !important;
  }

  #header .warmi-cart-total {
    font-size: 11px;
  }

  #header .blockcart .header > a {
    gap: 5px;
  }
}


/* WARMI VACIAR CARRITO */
.warmi-empty-cart-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0dce2;
}

.warmi-empty-cart-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid #800d2b;
  border-radius: 6px;
  background: #fff;
  color: #800d2b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.warmi-empty-cart-button .material-icons {
  font-size: 20px;
}

.warmi-empty-cart-button:hover {
  background: #f9edf1;
}

.warmi-empty-cart-button:focus-visible {
  outline: 2px solid #800d2b;
  outline-offset: 3px;
}

.warmi-empty-cart-button:disabled {
  opacity: .5;
  cursor: wait;
}

.warmi-empty-cart-status {
  color: #573b42;
  font-size: 12px;
}

.warmi-cart-clearing .cart-items {
  opacity: .6;
  pointer-events: none;
}


/* WARMI CATEGORIAS CIRCULARES INICIO */
body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 12px 0;
  overflow: visible;
  scroll-snap-type: none;
}

body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] {
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a,
body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a:hover,
body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a:focus-visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #800d2b;
  white-space: normal;
  text-decoration: none;
}

body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a .warmi-category-photo {
  display: block;
  width: 80px;
  height: 80px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border: 3px solid #f0d5dd;
  border-radius: 50%;
  background: #f9edf1;
  transition: transform .2s ease, border-color .2s ease;
}

body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a .warmi-category-name {
  display: block;
  color: #800d2b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a:hover .warmi-category-photo {
  transform: scale(1.04);
  border-color: #800d2b;
}

body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a:focus-visible {
  outline: 2px solid #800d2b;
  outline-offset: 5px;
}

@media (max-width: 767px) {
  body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
    padding: 12px 0;
  }

  body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a {
    padding: 0;
    gap: 9px;
  }

  body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a .warmi-category-photo {
    width: 60px;
    height: 60px;
  }

  body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a .warmi-category-name {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a .warmi-category-photo {
    transition: none;
  }

  body.page-category.category-id-2 #left-column .block-categories .category-top-menu > li:nth-child(2) > .category-sub-menu > li[data-depth="0"] > a:hover .warmi-category-photo {
    transform: none;
  }
}
/* FIN WARMI CATEGORIAS CIRCULARES INICIO */

/* WARMI FONDO INTEGRADO CATEGORIAS */
body.page-category.category-id-2 #left-column .block-categories {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}


/* WARMI SUBCATEGORIAS HORIZONTALES INICIO */
#warmi-subcategories {
  width: 100%;
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
#warmi-subcategories .warmi-scroll-hint {
  margin: 0 0 8px;
  color: #666;
  font-size: 12px;
}
#warmi-subcategories .warmi-subcategory-track {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 4px 2px 12px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
  -webkit-overflow-scrolling: touch;
}
#warmi-subcategories .warmi-subcategory-item {
  flex: 0 0 84px;
  width: 84px;
  margin: 0;
  padding: 0;
  scroll-snap-align: start;
  text-align: center;
}
#warmi-subcategories .warmi-subcategory-item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #333;
  text-decoration: none;
}
#warmi-subcategories .warmi-subcategory-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: transparent;
}
#warmi-subcategories .warmi-subcategory-initial {
  color: #777;
  font-size: 24px;
  font-weight: 600;
}
#warmi-subcategories .warmi-subcategory-circle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
}
#warmi-subcategories .warmi-subcategory-label {
  display: block;
  width: 100%;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#warmi-subcategories a:focus-visible,
#warmi-subcategories .warmi-subcategory-track:focus-visible {
  outline: 2px solid #555;
  outline-offset: 2px;
}
#warmi-subcategories .warmi-subcategory-track::-webkit-scrollbar {
  height: 6px;
}
#warmi-subcategories .warmi-subcategory-track::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 6px;
}
/* WARMI SUBCATEGORIAS HORIZONTALES FIN */

/* WARMI CATEGORIAS OFERTAS INICIO */
body#prices-drop #wrapper > .container > .row {
  display: flex !important;
  flex-wrap: wrap !important;
}

body#prices-drop #left-column,
body#prices-drop #content-wrapper {
  float: none !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body#prices-drop #left-column {
  display: block !important;
}

body#prices-drop .warmi-offer-categories {
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body#prices-drop .warmi-offer-track {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 4px 2px 12px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

body#prices-drop .warmi-offer-item {
  flex: 0 0 100px;
  width: 100px;
  margin: 0;
  padding: 0;
  text-align: center;
  scroll-snap-align: start;
}

body#prices-drop .warmi-offer-item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #333;
  text-decoration: none;
}

body#prices-drop .warmi-offer-item img {
  display: block;
  width: 64px;
  height: 64px;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #f9edf1;
}

body#prices-drop .warmi-offer-item span {
  display: block;
  width: 100%;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

body#prices-drop .warmi-offer-hint {
  display: none;
}

body#prices-drop .warmi-offer-item > a:focus-visible {
  outline: 2px solid #800d2b;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body#prices-drop .warmi-offer-track {
    justify-content: flex-start;
    gap: 12px;
  }

  body#prices-drop .warmi-offer-item {
    flex-basis: 84px;
    width: 84px;
  }

  body#prices-drop .warmi-offer-hint {
    display: block;
    margin: 0 0 8px;
    color: #666;
    font-size: 12px;
  }
}
/* WARMI CATEGORIAS OFERTAS FIN */

/* WARMI CATEGORIAS NOVEDADES INICIO */

body#new-products #wrapper > .container > .row {
  display: flex !important;
  flex-wrap: wrap !important;
}

body#new-products #left-column,
body#new-products #content-wrapper {
  float: none !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body#new-products #left-column {
  display: block !important;
}

body#new-products .warmi-offer-categories {
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body#new-products .warmi-offer-track {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 4px 2px 12px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

body#new-products .warmi-offer-item {
  flex: 0 0 100px;
  width: 100px;
  margin: 0;
  padding: 0;
  text-align: center;
  scroll-snap-align: start;
}

body#new-products .warmi-offer-item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #333;
  text-decoration: none;
}

body#new-products .warmi-offer-item img {
  display: block;
  width: 64px;
  height: 64px;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #f9edf1;
}

body#new-products .warmi-offer-item span {
  display: block;
  width: 100%;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

body#new-products .warmi-offer-hint {
  display: none;
}

body#new-products .warmi-offer-item > a:focus-visible {
  outline: 2px solid #800d2b;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body#new-products .warmi-offer-track {
    justify-content: flex-start;
    gap: 12px;
  }

  body#new-products .warmi-offer-item {
    flex-basis: 84px;
    width: 84px;
  }

  body#new-products .warmi-offer-hint {
    display: block;
    margin: 0 0 8px;
    color: #666;
    font-size: 12px;
  }
}

/* WARMI CATEGORIAS NOVEDADES FIN */

/* WARMI CATEGORIAS MAS VENDIDOS INICIO */

body#best-sales #wrapper > .container > .row {
  display: flex !important;
  flex-wrap: wrap !important;
}

body#best-sales #left-column,
body#best-sales #content-wrapper {
  float: none !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body#best-sales #left-column {
  display: block !important;
}

body#best-sales .warmi-offer-categories {
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body#best-sales .warmi-offer-track {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 4px 2px 12px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

body#best-sales .warmi-offer-item {
  flex: 0 0 100px;
  width: 100px;
  margin: 0;
  padding: 0;
  text-align: center;
  scroll-snap-align: start;
}

body#best-sales .warmi-offer-item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #333;
  text-decoration: none;
}

body#best-sales .warmi-offer-item img {
  display: block;
  width: 64px;
  height: 64px;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #f9edf1;
}

body#best-sales .warmi-offer-item span {
  display: block;
  width: 100%;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

body#best-sales .warmi-offer-hint {
  display: none;
}

body#best-sales .warmi-offer-item > a:focus-visible {
  outline: 2px solid #800d2b;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body#best-sales .warmi-offer-track {
    justify-content: flex-start;
    gap: 12px;
  }

  body#best-sales .warmi-offer-item {
    flex-basis: 84px;
    width: 84px;
  }

  body#best-sales .warmi-offer-hint {
    display: block;
    margin: 0 0 8px;
    color: #666;
    font-size: 12px;
  }
}

/* WARMI CATEGORIAS MAS VENDIDOS FIN */



/* WARMI DOS PRECIOS UIO */
.product-price-and-shipping .warmi-uio-card-price,
.product-prices .warmi-uio-card-price {
  display: block;
  margin: 4px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: #737373;
}
.product-price-and-shipping .warmi-uio-cash-label,
.product-prices .warmi-uio-cash-label {
  display: block;
  margin: 5px 0 2px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #800d2c;
}
.product-prices .warmi-uio-card-price {
  font-size: 17px;
}
.product-prices .warmi-uio-cash-label {
  font-size: 14px;
}


/* WARMI_YOUTUBE_SHORT_RESPONSIVE_V1 */
iframe.warmi-youtube-short {
  display: block;
  width: 360px !important;
  height: 640px !important;
  max-width: 100%;
  margin: 12px auto;
  border: 0;
}

@media (max-width: 767px) {
  iframe.warmi-youtube-short {
    width: 180px !important;
    height: 320px !important;
  }
}
/* END_WARMI_YOUTUBE_SHORT_RESPONSIVE_V1 */


/* WARMI_VISUAL_PRODUCTOS_20261023_V1 */

/* Aprovechar el ancho en fichas de producto */
@media (min-width: 1200px) {
  body#product #wrapper > .container {
    width: calc(100% - 48px) !important;
    max-width: 1600px !important;
  }
}

/* Productos relacionados: escritorio */
@media (min-width: 992px) {
  body#product .product-accessories .products {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Productos relacionados: tablet */
@media (min-width: 768px) and (max-width: 991px) {
  body#product .product-accessories .products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Productos relacionados: celular */
@media (max-width: 767px) {
  body#product .product-accessories .products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 9px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

body#product .product-accessories .products > *,
body#product .product-accessories .product-miniature,
body#product .product-accessories .thumbnail-container,
body#product .product-accessories .thumbnail-top,
body#product .product-accessories .product-description {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body#product .product-accessories .products > * {
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body#product .product-accessories .thumbnail-container {
  height: auto !important;
  margin-bottom: 0;
}

body#product .product-accessories .thumbnail-top img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* Encabezado inteligente */
#header {
  transition: transform .24s ease-in-out !important;
  will-change: transform;
}

body.warmi-header-hidden #header {
  transform: translateY(-105%) !important;
}

@media (prefers-reduced-motion: reduce) {
  #header {
    transition: none !important;
  }
}

/* Selector horizontal de fotos: solo celular */
@media (max-width: 767px) {
  body#product .product-variants .warmi-variant-scroll {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: flex-start;
    gap: 7px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 4px 2px 12px !important;
    margin: 0 !important;
    list-style: none;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body#product .product-variants
  .warmi-variant-scroll > li {
    float: none !important;
    display: block !important;
    flex: 0 0 65px !important;
    width: 65px !important;
    min-width: 65px !important;
    max-width: 65px !important;
    padding: 0 !important;
    margin: 0 !important;
    scroll-snap-align: start;
  }

  body#product .product-variants
  .warmi-variant-scroll .warmi-photo-label {
    display: block !important;
    width: 65px !important;
    margin: 0 !important;
  }

  body#product .product-variants
  .warmi-variant-scroll .warmi-variant-card {
    width: 65px !important;
    border-radius: 5px;
  }

  body#product .product-variants
  .warmi-variant-scroll .warmi-variant-card img {
    width: 100% !important;
    height: 65px !important;
    padding: 2px;
    object-fit: contain;
  }

  body#product .product-variants
  .warmi-variant-scroll .warmi-variant-name {
    min-height: 29px;
    padding: 3px 2px;
    font-size: 10px;
    line-height: 1.15;
  }

  body#product .product-variants
  .warmi-variant-scroll .color {
    margin: 3px;
  }
}

/* WARMI_RELACIONADOS_5_2_V2 */

/* Eliminar anchos heredados de Bootstrap */
body#product section.product-accessories .products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Cada producto ocupa una sola celda */
body#product section.product-accessories .products > * {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Tarjetas adaptables */
body#product section.product-accessories .product-miniature,
body#product section.product-accessories .thumbnail-container,
body#product section.product-accessories .thumbnail-top,
body#product section.product-accessories .product-description {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body#product section.product-accessories .thumbnail-container {
  height: auto !important;
}

body#product section.product-accessories .thumbnail-top img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* Tablet: 3 columnas */
@media (min-width: 768px) and (max-width: 991px) {
  body#product section.product-accessories .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* Celular: 2 columnas */
@media (max-width: 767px) {
  body#product section.product-accessories .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 8px !important;
  }

  body#product section.product-accessories .product-title {
    font-size: 12px !important;
    line-height: 1.3;
  }

  body#product section.product-accessories
  .product-price-and-shipping {
    font-size: 13px !important;
  }
}



/* WARMI_RELACIONADOS_GRID_V3 */

body#product .warmi-related-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  column-gap: 16px !important;
  row-gap: 20px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#product .warmi-related-grid > .warmi-related-item {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#product .warmi-related-grid .product-miniature,
body#product .warmi-related-grid .thumbnail-container,
body#product .warmi-related-grid .thumbnail-top,
body#product .warmi-related-grid .product-description {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body#product .warmi-related-grid .thumbnail-container {
  height: auto !important;
}

@media (min-width: 768px) and (max-width: 991px) {
  body#product .warmi-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body#product .warmi-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 9px !important;
    row-gap: 14px !important;
  }
}


/* WARMI_FEATURED_PRODUCTOS_5_2_V5 */

/* Cuadricula de recomendaciones */
body#product section.featured-products .products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  justify-content: stretch !important;
}

/* Cada tarjeta debe ocupar su celda */
body#product section.featured-products
.products > article,
body#product section.featured-products
.products > div {
  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;
}

/* Quitar el ancho fijo de miniaturas */
body#product section.featured-products .product-miniature,
body#product section.featured-products .thumbnail-container,
body#product section.featured-products .thumbnail-top,
body#product section.featured-products .product-description {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Imagen proporcionada a su columna */
body#product section.featured-products
.thumbnail-top img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  body#product section.featured-products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Celular */
@media (max-width: 767px) {
  body#product section.featured-products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 8px !important;
  }

  body#product section.featured-products
  .product-title {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
}



/* WARMI_MOBILE_PRODUCT_SPACING_V7 */
@media (max-width: 767px) {

  /* Titulo mas compacto */
  body#product .product-container h1.h1,
  body#product #main h1.h1 {
    font-size: 22px !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
  }

  /* Bloque de precios mas compacto */
  body#product .product-prices {
    margin-bottom: 8px !important;
  }

  /* Precio + impuestos en una misma linea */
  body#product .product-prices .current-price,
  body#product .product-prices .tax-shipping-delivery-label {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
  }

  body#product .product-prices .current-price {
    margin-right: 10px !important;
  }

  body#product .product-prices .current-price span,
  body#product .product-prices .current-price .price {
    line-height: 1.1 !important;
  }

  body#product .product-prices .tax-shipping-delivery-label {
    font-size: 14px !important;
    color: #7a7a7a !important;
    line-height: 1.2 !important;
  }

  /* Evitar espacio excesivo antes de combinaciones */
  body#product .product-prices + .product-variants,
  body#product .product-prices + .product-variants.js-product-variants,
  body#product .product-prices + .product-customization,
  body#product .product-prices + div {
    margin-top: 8px !important;
  }

  body#product .product-variants,
  body#product .js-product-variants {
    margin-top: 8px !important;
  }

  body#product .product-variants .product-variants-item {
    margin-bottom: 10px !important;
  }

  body#product .product-variants .control-label {
    margin-bottom: 6px !important;
    display: block !important;
  }
}

/* WARMI_ELEGIR_OPCION_MOBILE_V8 */

.warmi-elegir-aviso {
  display: none;
}

@media (max-width: 767px) {
  body#product .warmi-diseno-opcion .control-label {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }

  body#product .warmi-diseno-opcion .warmi-elegir-aviso {
    display: inline-flex !important;
    align-items: center;
    padding: 4px 7px;
    border-radius: 5px;
    background: #970D32;
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
  }
}
