/* ============================================================
   Yuly Danza 9 — listados de productos
   Se enlaza desde templates/catalog/listing/product-list.tpl.
   Todo va bajo el body de las páginas de listado (categoría, búsqueda,
   marca, proveedor, novedades, ofertas y más vendidos) para no tocar el resto.
   ============================================================ */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) {
  --yc-ink: #2b2528;
  --yc-ink-soft: #6f6367;
  --yc-muted: #8d8386;
  --yc-line: #ebe4e3;
  --yc-pink: #c36975; /* rosa empolvado, igual que la portada */
  --yc-pink-soft: #f6e9ea;
  --yc-card-img: #f4f0ef;
  --yc-serif: "Playfair Display", Georgia, serif;
  --yc-sans: "Jost", "Poppins", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Contenedor y columnas ---------- */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #wrapper > .container {
  max-width: 1300px;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #wrapper .breadcrumb {
  font-family: var(--yc-sans);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

@media (min-width: 768px) {
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #left-column {
    width: 250px;
    padding-right: 24px;
    border-right: 1px solid var(--yc-line);
  }
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #content-wrapper.left-column {
    width: calc(100% - 250px);
    padding-left: 28px;
  }
}

/* ---------- Panel de filtros ---------- */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #search_filters,
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #left-column #search_filters {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  max-height: none;
  overflow: visible;
  font-family: var(--yc-sans);
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-filters-title {
  font-family: var(--yc-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--yc-ink);
  margin: 0 0 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yc-line);
  text-transform: none;
  letter-spacing: 0;
}

body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet {
  border-bottom: 1px solid var(--yc-line);
  padding: 0 0 14px;
  margin: 0;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--yc-ink);
  text-align: left;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet-head .facet-title {
  font-family: var(--yc-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--yc-ink);
  margin: 0;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet-chevron {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--yc-ink-soft);
  transition: transform .2s ease;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet.is-collapsed .yuly-facet-chevron { transform: rotate(-90deg); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet.is-collapsed .yuly-facet-body { display: none; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet.is-collapsed { padding-bottom: 0; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet-head:focus-visible {
  outline: 2px solid var(--yc-pink);
  outline-offset: 2px;
}

/* Listas con casilla */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet-list.is-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet-list li { margin: 0; padding: 0; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 4px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  color: var(--yc-ink-soft);
  text-transform: none;
  line-height: 1.35;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1px solid #c9bfc1;
  border-radius: 3px;
  background: #fff;
  display: grid;
  place-content: center;
  cursor: pointer;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-check input::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-check input:checked {
  background: var(--yc-pink);
  border-color: var(--yc-pink);
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-check input:checked::after { opacity: 1; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-check input[type="radio"] { border-radius: 50%; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-check input:focus-visible { outline: 2px solid var(--yc-pink); outline-offset: 2px; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-check:hover,
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-check.active { color: var(--yc-ink); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-check .magnitude { color: var(--yc-muted); font-size: 12px; margin-left: 2px; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet-link { display: block; padding: 4px 0; font-size: 13px; color: var(--yc-ink-soft); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet-link.active,
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-facet-link:hover { color: var(--yc-pink); }

/* Colores como círculos */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-swatches {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, 30px);
  gap: 10px 12px;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-swatches li { margin: 0; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-swatch {
  display: block;
  margin: 0;
  padding: 2px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border-color .15s ease;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-swatch-dot {
  display: block;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-swatch:hover { border-color: #d9cfd1; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-swatch.active { border-color: var(--yc-ink); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-swatch:focus-within { outline: 2px solid var(--yc-pink); outline-offset: 1px; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Precio (slider) */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .faceted-slider { list-style: none; padding: 0 4px; margin: 0; font-size: 13px; color: var(--yc-ink-soft); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .faceted-slider .ui-slider-range { background: var(--yc-pink); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .faceted-slider .ui-slider-handle { border-color: var(--yc-pink); border-radius: 50%; }

/* Limpiar filtros */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-clear-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 22px 0 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--yc-pink);
  border-radius: 4px;
  color: var(--yc-pink);
  font-family: var(--yc-sans);
  font-size: 13px;
  cursor: pointer;
  transition: background .15s ease;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-clear-filters * { pointer-events: none; } /* el JS lee data-search-url del propio botón */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-clear-filters svg { width: 16px; height: 16px; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-clear-filters:hover { background: var(--yc-pink-soft); }

/* ---------- Cabecera: título, descripción y orden ---------- */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 22px;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-title {
  font-family: var(--yc-serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--yc-ink);
  text-transform: lowercase; /* los nombres de categoría vienen en mayúsculas de la BD */
  letter-spacing: 0;
  margin: 0 0 10px;
  text-align: left;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-title::first-letter { text-transform: uppercase; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-desc,
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-desc p {
  max-width: 460px;
  font-family: var(--yc-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--yc-ink-soft);
  margin: 0;
}

body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-sort { flex: none; position: relative; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-sort-button {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
  min-width: 210px;
  padding: 6px 12px 7px 14px;
  background: #fff;
  border: 1px solid #ddd3d4;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  font-family: var(--yc-sans);
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-sort-label { grid-column: 1; font-size: 11px; color: var(--yc-muted); line-height: 1.3; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-sort-value { grid-column: 1; font-size: 14px; color: var(--yc-ink); line-height: 1.4; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-sort-chevron { grid-column: 2; grid-row: 1 / span 2; width: 16px; height: 16px; color: var(--yc-ink-soft); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-sort-button:focus-visible { outline: 2px solid var(--yc-pink); outline-offset: 2px; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-sort .dropdown-menu {
  min-width: 100%;
  margin-top: 4px;
  padding: 6px 0;
  border: 1px solid #ddd3d4;
  border-radius: 4px;
  box-shadow: 0 10px 24px -12px rgba(60, 30, 40, .25);
  font-family: var(--yc-sans);
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-sort .select-list {
  display: block;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--yc-ink-soft);
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-sort .select-list:hover,
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-sort .select-list.current { background: var(--yc-pink-soft); color: var(--yc-ink); }

/* ---------- Barra «Mostrando N resultados» + paginación ---------- */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-list-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  font-family: var(--yc-sans);
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-list-count { margin: 0; font-size: 13px; color: var(--yc-ink-soft); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-list-bottom { display: flex; justify-content: center; margin: 10px 0 30px; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #js-product-list-bottom .pagination { display: none; }

body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-pages ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-pages a,
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-page-spacer {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 4px;
  font-family: var(--yc-sans);
  font-size: 13px;
  color: var(--yc-ink);
  text-decoration: none;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-pages a:hover { background: var(--yc-pink-soft); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-page-num.current { background: var(--yc-pink); color: #fff; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-page-arrow svg { width: 16px; height: 16px; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-page-arrow.disabled { color: #cfc6c8; pointer-events: none; }

body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid #ddd3d4;
  border-radius: 4px;
  font-size: 13px;
  color: var(--yc-ink);
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-filter-toggle svg { width: 16px; height: 16px; }

/* Filtros activos */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #js-active-search-filters {
  background: transparent;
  padding: 0;
  margin: 0 0 14px;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #js-active-search-filters .active-filter-title { display: none; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #js-active-search-filters ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #js-active-search-filters .filter-block {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 4px 10px;
  background: var(--yc-pink-soft);
  border-radius: 999px;
  font-size: 12px;
  color: var(--yc-ink);
  box-shadow: none;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #js-active-search-filters .filter-block .close { font-size: 14px; color: var(--yc-ink-soft); margin: 0; }

/* ---------- Rejilla de productos (4 columnas) ---------- */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #products .products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #products .products::before,
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #products .products::after { display: none; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #products .products > .js-product,
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #products .products > .product,
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #products .products > .product-miniature {
  width: 100% !important;
  max-width: none;
  float: none;
  padding: 0;
  margin: 0;
  flex: none;
}

body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .thumbnail-container {
  height: 100%;
  margin: 0;
  border: 1px solid var(--yc-line);
  border-radius: 4px;
  box-shadow: none;
  background: #fff;
  transform: none;
  display: flex;
  flex-direction: column;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .thumbnail-container:hover {
  transform: none;
  border-color: #dccfd1;
  box-shadow: 0 10px 24px -16px rgba(60, 30, 40, .28);
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .thumbnail-top { background: var(--yc-card-img); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .product-thumbnail img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .thumbnail-container:hover .product-thumbnail img { transform: none; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .highlighted-informations { display: none; }

body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .product-description {
  min-height: 0;
  flex: 1;
  padding: 12px 16px 16px;
  background: #fff;
  font-family: var(--yc-sans);
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .product-title {
  font-family: var(--yc-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 6px;
  text-transform: none;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .product-title a { color: var(--yc-ink-soft); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .product-title a:hover { color: var(--yc-ink); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .product-price-and-shipping {
  font-size: 14px;
  font-weight: 600;
  color: var(--yc-ink);
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .product-price-and-shipping .price { color: var(--yc-ink); }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .regular-price { font-weight: 400; font-size: 12px; margin-right: 4px; }

/* Puntos de color encima del nombre */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-card-colors { margin: 0 0 8px; min-height: 10px; }
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-card-colors .variant-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  position: static;
  width: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  background: none;
  text-align: left;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-card-colors .variant-links a {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
  background-size: cover;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-card-colors .variant-links .count { font-size: 11px; color: var(--yc-muted); }

/* Etiquetas NUEVO / oferta / sin stock */
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-flags li.product-flag {
  background: var(--yc-pink);
  border-radius: 3px;
  margin: 10px 0 0 10px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  min-height: 0;
}
body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-flags li.product-flag.out_of_stock { background: #8d8386; }

/* ---------- Tablet / móvil ---------- */
@media (max-width: 1199px) {
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #products .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #products .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767px) {
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #wrapper > .container { padding-left: 16px; padding-right: 16px; }
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-head { flex-direction: column; gap: 14px; margin-bottom: 16px; }
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-cat-sort, body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-sort-button { width: 100%; }
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-list-top { flex-wrap: wrap; }
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .yuly-list-top .yuly-pages { display: none; }
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #products .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #products .product-miniature { padding-left: 0; padding-right: 0; } /* yuly-danza.css le pone 8px */
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .product-description { padding: 10px 10px 12px; }
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) .product-miniature .product-title { font-size: 12px; }

  /* Panel de filtros a pantalla completa en móvil */
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #search_filters_wrapper:not(.hidden-sm-down) { padding: 0 0 16px; }
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #search_filter_controls { display: flex; gap: 8px; margin-bottom: 8px; }
  body:is(#category, #search, #manufacturer, #supplier, #new-products, #prices-drop, #best-sales) #search_filter_controls .ok {
    flex: 1;
    background: var(--yc-pink);
    border: 0;
    border-radius: 4px;
    color: #fff;
    text-transform: none;
    font-size: 14px;
  }
}
