body.mmcd-category-active .woocommerce-products-header{display:none!important}body.mmcd-category-active ul.products li.product-category{display:none!important}body.mmcd-category-active .site-main,body.mmcd-category-active #primary{min-width:0}.mmcd-hero{position:relative;overflow:hidden;border-radius:16px;margin:0 0 22px;background:#f8fbfd;border:1px solid #e1e9ef}.mmcd-hero.has-banner{background-image:linear-gradient(90deg,rgba(4,27,46,.88),rgba(4,27,46,.25)),var(--mmcd-hero-image);background-size:cover;background-position:center;color:#fff}.mmcd-hero-inner{min-height:118px;padding:24px 28px;display:flex;align-items:center;gap:20px;position:relative;z-index:2}.mmcd-anchor-mark{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--mmcd-navy,#0b2a45);box-shadow:0 10px 30px rgba(11,42,69,.12)}.mmcd-anchor-mark svg{width:54px;height:54px}.mmcd-hero-copy h1{font-size:clamp(34px,4vw,58px);line-height:1;margin:0 0 8px;font-weight:800;letter-spacing:-.03em}.mmcd-count{font-size:14px;font-weight:800;opacity:.78;margin-bottom:9px}.mmcd-hero-copy p{font-size:17px;line-height:1.45;max-width:760px;margin:0}.mmcd-trust-strip{display:flex;border-top:1px solid rgba(255,255,255,.2);position:relative;z-index:2;background:rgba(255,255,255,.78);backdrop-filter:blur(8px);color:#18354d}.mmcd-hero.has-banner .mmcd-trust-strip{background:rgba(3,21,36,.66);color:#fff}.mmcd-trust-strip span{flex:1;padding:13px 18px;text-align:center;font-weight:700;font-size:13px;border-right:1px solid rgba(120,140,160,.18)}.mmcd-trust-strip span:last-child{border-right:0}.mmcd-subcats{margin:0 0 28px}.mmcd-section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px}.mmcd-section-title h2{font-size:24px;margin:0}.mmcd-show-all-subcats{border:0;background:transparent;color:var(--mmcd-accent,#e30613);font-weight:800;cursor:pointer}.mmcd-subcat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mmcd-subcat-card{position:relative;min-height:108px;display:grid;grid-template-columns:88px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e1e7ec;border-radius:14px;background:#fff;text-decoration:none!important;color:#152334!important;box-shadow:0 4px 14px rgba(14,30,46,.04);transition:.18s ease}.mmcd-subcat-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(14,30,46,.10);border-color:#cdd8e1}.mmcd-subcat-card.is-extra{display:none}.mmcd-subcat-grid.show-all .mmcd-subcat-card.is-extra{display:grid}.mmcd-subcat-visual{width:88px;height:84px;border-radius:10px;background:#f5f8fa;display:grid;place-items:center;overflow:hidden}.mmcd-subcat-visual img{width:100%;height:100%;object-fit:contain;padding:5px}.mmcd-subcat-visual svg{width:42px;height:42px;fill:none;stroke:var(--mmcd-navy,#0b2a45);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.mmcd-subcat-meta strong{display:block;line-height:1.2;font-size:14px}.mmcd-subcat-meta small{display:block;margin-top:5px;color:#788795}.mmcd-arrow{font-size:24px;color:#738190}.mmcd-mobile-filter-btn{display:none}.mmcd-product-sku{font-size:12px;color:#74818e;margin-top:4px}.mmcd-stock{font-size:12px;font-weight:700;margin:7px 0 3px;display:flex;align-items:center;gap:6px}.mmcd-stock span{width:7px;height:7px;border-radius:50%;background:#14a049}.mmcd-stock.out-of-stock{color:#9e2e2e}.mmcd-stock.out-of-stock span{background:#c73737}body.mmcd-category-active ul.products li.product{border:1px solid #e2e8ed;border-radius:14px;padding:12px!important;background:#fff;box-shadow:0 4px 14px rgba(14,30,46,.04);transition:.18s ease;display:flex;flex-direction:column}body.mmcd-category-active ul.products li.product:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(14,30,46,.10)}body.mmcd-category-active ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.35!important;min-height:40px}body.mmcd-category-active ul.products li.product .price{font-size:18px!important;font-weight:800;color:#111!important}body.mmcd-category-active ul.products li.product .button,body.mmcd-category-active ul.products li.product .added_to_cart{margin-top:auto!important;border-radius:9px!important;min-height:42px;display:flex!important;align-items:center;justify-content:center;text-align:center;background:var(--mmcd-accent,#e30613)!important;color:#fff!important;border:0!important;font-weight:800!important}body.mmcd-category-active .onsale{background:var(--mmcd-accent,#e30613)!important;color:#fff!important;border-radius:8px!important;min-height:auto!important;line-height:1!important;padding:7px 9px!important;font-size:12px!important}.mmcd-long-description{margin:34px 0 10px;padding:24px;border:1px solid #e5eaf0;border-radius:14px;background:#fafcfd;color:#314252}.mmcd-long-description h2{font-size:22px;margin:0 0 12px;color:#142c42}.mmcd-long-description-inner{font-size:14px;line-height:1.65}.mmcd-admin-preview-bar{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:999999;background:#102c44;color:#fff;border-radius:999px;padding:10px 14px;box-shadow:0 10px 30px rgba(0,0,0,.24);font-size:13px;display:flex;align-items:center;gap:10px}.mmcd-admin-preview-bar a{color:#fff!important;text-decoration:underline}.mmcd-original-bar{background:#303842}.mmcd-filter-overlay{position:fixed;inset:0;background:rgba(7,20,31,.55);z-index:9990}.mmcd-filter-overlay[hidden]{display:none!important}
@media(max-width:1200px){.mmcd-subcat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:992px){.mmcd-hero-inner{min-height:170px;padding:24px}.mmcd-subcat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mmcd-mobile-filter-btn{display:flex;align-items:center;gap:8px;width:100%;justify-content:center;border:1px solid #d8e0e6;background:#fff;border-radius:10px;padding:12px;font-weight:800;margin:0 0 16px}.mmcd-category-active #secondary,.mmcd-category-active .widget-area,.mmcd-category-active .shop-sidebar{transition:transform .22s ease}.mmcd-category-active.mmcd-filter-open #secondary,.mmcd-category-active.mmcd-filter-open .widget-area,.mmcd-category-active.mmcd-filter-open .shop-sidebar{position:fixed!important;display:block!important;left:0;top:0;bottom:0;width:min(86vw,380px)!important;max-width:none!important;z-index:9999;background:#fff;overflow:auto;padding:24px 18px;transform:translateX(0)!important;margin:0!important}.mmcd-admin-preview-bar{left:12px;right:12px;transform:none;border-radius:14px;justify-content:center;flex-wrap:wrap}.mmcd-anchor-mark{width:66px;height:66px}.mmcd-anchor-mark svg{width:40px;height:40px}}
@media(max-width:680px){.mmcd-hero{border-radius:14px}.mmcd-hero-inner{min-height:150px;padding:20px 18px;align-items:flex-start}.mmcd-anchor-mark{width:52px;height:52px;flex:0 0 52px}.mmcd-anchor-mark svg{width:30px;height:30px}.mmcd-hero-copy h1{font-size:30px}.mmcd-hero-copy p{font-size:14px}.mmcd-trust-strip{overflow:auto;scroll-snap-type:x mandatory}.mmcd-trust-strip span{min-width:150px;scroll-snap-align:start;padding:10px 12px}.mmcd-subcat-grid{gap:8px}.mmcd-subcat-card{grid-template-columns:1fr;gap:6px;text-align:center;padding:9px;min-height:154px}.mmcd-subcat-visual{width:100%;height:82px}.mmcd-subcat-meta strong{font-size:12px}.mmcd-arrow{display:none}body.mmcd-category-active ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}body.mmcd-category-active ul.products li.product{width:100%!important;margin:0!important;padding:9px!important}body.mmcd-category-active ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;min-height:auto}body.mmcd-category-active ul.products li.product .price{font-size:16px!important}.mmcd-product-sku,.mmcd-stock{font-size:11px}.mmcd-long-description{padding:18px}}

/* v1.2.1: cabecera compacta, sin icono genérico ni título duplicado por defecto */
.mmcd-anchor-mark{display:none!important}.mmcd-category-thumb{width:96px;height:96px;flex:0 0 96px;border-radius:14px;background:#fff;border:1px solid #e3e9ee;display:grid;place-items:center;overflow:hidden}.mmcd-category-thumb img{width:100%;height:100%;object-fit:contain;padding:8px}.mmcd-hero-title{font-size:clamp(24px,3vw,38px);line-height:1.1;margin:0 0 7px;font-weight:800;letter-spacing:-.02em;color:inherit}.mmcd-hero.is-compact .mmcd-count{margin-bottom:0}.mmcd-hero.is-compact .mmcd-hero-copy p{margin-top:8px}.mmcd-hero:not(.has-banner) .mmcd-hero-copy p{color:#3d5366}.mmcd-hero:not(.has-banner) .mmcd-count{color:#6c7d8b}.mmcd-hero.has-banner .mmcd-hero-inner{min-height:190px}.mmcd-hero.has-banner .mmcd-count,.mmcd-hero.has-banner .mmcd-hero-copy p{color:inherit}.mmcd-long-description{margin-top:30px}.mmcd-long-description h2{font-size:20px}.mmcd-trust-strip{display:flex}
@media(max-width:680px){.mmcd-hero-inner{min-height:auto;padding:18px}.mmcd-category-thumb{width:72px;height:72px;flex-basis:72px}.mmcd-hero.has-banner .mmcd-hero-inner{min-height:150px}.mmcd-hero-title{font-size:26px}}


/* v1.2.2: evita cajas vacías y hace la introducción secundaria realmente compacta */
.mmcd-hero.is-compact{border-radius:12px;margin:0 0 18px;background:#f8fafc;border:1px solid #e5ebf0;box-shadow:none}
.mmcd-hero.is-compact .mmcd-hero-inner{min-height:0;padding:14px 18px;gap:14px}
.mmcd-hero.is-compact .mmcd-category-thumb{width:64px;height:64px;flex:0 0 64px;border-radius:10px}
.mmcd-hero.is-compact .mmcd-category-thumb img{padding:6px}
.mmcd-hero.is-compact .mmcd-count{font-size:12px;margin:0 0 4px;color:#758592}
.mmcd-hero.is-compact .mmcd-hero-copy p{font-size:14px;line-height:1.5;margin:0;color:#334b5e;max-width:900px}
@media(max-width:680px){.mmcd-hero.is-compact .mmcd-hero-inner{padding:12px 14px;gap:10px}.mmcd-hero.is-compact .mmcd-category-thumb{width:54px;height:54px;flex-basis:54px}.mmcd-hero.is-compact .mmcd-hero-copy p{font-size:13px}}

/* v1.2.3: descripción arriba, barra de catálogo y tarjetas más uniformes */
.mmcd-long-description.is-top{margin:0 0 20px;padding:18px 20px;background:#fafcfd}
.mmcd-long-description.is-top h2{font-size:18px;margin-bottom:8px}
.mmcd-long-description.is-top .mmcd-long-description-inner{font-size:13px;line-height:1.55}
.mmcd-long-description.is-bottom{margin-top:30px}
.mmcd-shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;padding:9px 12px;border:1px solid #e5ebef;border-radius:10px;background:#fff;min-height:46px}
body.mmcd-category-active .mmcd-shop-toolbar .woocommerce-result-count{float:none!important;margin:0!important;color:#61717e!important;font-size:12px!important;line-height:1.3!important}
body.mmcd-category-active .mmcd-shop-toolbar .woocommerce-ordering{float:none!important;margin:0!important;display:flex!important;align-items:center!important;gap:8px!important}
body.mmcd-category-active .mmcd-shop-toolbar .woocommerce-ordering select{min-height:34px!important;margin:0!important;padding:5px 30px 5px 10px!important;border:1px solid #dce4ea!important;border-radius:8px!important;background-color:#fff!important;color:#20384c!important;font-size:12px!important;box-shadow:none!important}
body.mmcd-category-active ul.products li.product>a.woocommerce-loop-product__link{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;text-decoration:none!important}
body.mmcd-category-active ul.products li.product img{width:100%!important;aspect-ratio:1/1!important;height:auto!important;max-height:300px!important;object-fit:contain!important;object-position:center!important;margin-left:auto!important;margin-right:auto!important}
body.mmcd-category-active ul.products li.product .woocommerce-loop-product__title{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:60px!important;margin-bottom:6px!important}
body.mmcd-category-active ul.products li.product .mmcd-product-sku{min-height:16px}
body.mmcd-category-active ul.products li.product .price{margin-top:4px!important;margin-bottom:2px!important;line-height:1.25!important}
body.mmcd-category-active ul.products li.product .price del{font-size:.78em!important;color:#8b969e!important;font-weight:500!important;opacity:.95!important}
body.mmcd-category-active ul.products li.product .price ins{text-decoration:none!important;color:#d27d00!important;font-weight:800!important}
body.mmcd-category-active ul.products li.product .mmcd-stock{margin-top:7px!important}
body.mmcd-category-active .woocommerce-pagination{margin-top:24px!important}
body.mmcd-category-active .woocommerce-pagination ul.page-numbers{display:flex!important;justify-content:center!important;gap:6px!important;border:0!important}
body.mmcd-category-active .woocommerce-pagination ul.page-numbers li{border:0!important}
body.mmcd-category-active .woocommerce-pagination .page-numbers a,body.mmcd-category-active .woocommerce-pagination .page-numbers span{display:grid!important;place-items:center!important;min-width:36px!important;height:36px!important;padding:0 8px!important;border:1px solid #dde5ea!important;border-radius:8px!important;background:#fff!important;color:#273d50!important;text-decoration:none!important}
body.mmcd-category-active .woocommerce-pagination .page-numbers .current{background:var(--mmcd-navy,#0b2a45)!important;border-color:var(--mmcd-navy,#0b2a45)!important;color:#fff!important;font-weight:800!important}
@media(max-width:680px){.mmcd-long-description.is-top{padding:14px 15px;margin-bottom:14px}.mmcd-long-description.is-top h2{font-size:16px}.mmcd-shop-toolbar{padding:8px 9px;gap:8px;flex-wrap:wrap}.mmcd-shop-toolbar .woocommerce-result-count{order:1;flex:1 1 auto}.mmcd-shop-toolbar .woocommerce-ordering{order:2;flex:0 0 auto}body.mmcd-category-active ul.products li.product img{max-height:210px!important}body.mmcd-category-active ul.products li.product .woocommerce-loop-product__title{min-height:52px!important;-webkit-line-clamp:3!important}}

/* v1.2.6: pulido final responsive de categorías */
body.mmcd-category-active .mmcd-shop-toolbar{
  display:grid!important;
  grid-template-columns:minmax(130px,1fr) auto minmax(180px,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  padding:10px 12px!important;
}
body.mmcd-category-active .mmcd-shop-toolbar>.woocommerce-result-count{grid-column:1!important;justify-self:start!important}
body.mmcd-category-active .mmcd-shop-toolbar>.woocommerce-pagination{grid-column:2!important;justify-self:center!important;margin:0!important}
body.mmcd-category-active .mmcd-shop-toolbar>.woocommerce-ordering{grid-column:3!important;justify-self:end!important}
body.mmcd-category-active .mmcd-shop-toolbar .woocommerce-pagination ul.page-numbers{margin:0!important}
body.mmcd-category-active .mmcd-duplicate-control{display:none!important}

/* Producto: menos hueco en escritorio y jerarquía uniforme. */
body.mmcd-category-active ul.products li.product{overflow:hidden!important}
body.mmcd-category-active ul.products li.product>a.woocommerce-loop-product__link{min-height:0!important}
body.mmcd-category-active ul.products li.product img{
  height:245px!important;
  max-height:245px!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
}
body.mmcd-category-active ul.products li.product .woocommerce-loop-product__title{
  min-height:61px!important;
  max-height:61px!important;
  -webkit-line-clamp:3!important;
}
body.mmcd-category-active ul.products li.product .mmcd-product-sku{
  color:#7b8791!important;
  font-size:11.5px!important;
  font-weight:500!important;
}
body.mmcd-category-active ul.products li.product .mmcd-stock{min-height:18px!important}
body.mmcd-category-active ul.products li.product .button,
body.mmcd-category-active ul.products li.product .added_to_cart{width:100%!important;margin-top:auto!important}

/* Badge Nuevo / Oferta en una posición y escala coherentes. */
body.mmcd-category-active ul.products li.product .onsale,
body.mmcd-category-active ul.products li.product .new-product,
body.mmcd-category-active ul.products li.product .new-badge{
  top:14px!important;
  left:14px!important;
  right:auto!important;
  font-size:11px!important;
  padding:6px 8px!important;
  border-radius:6px!important;
}

/* Descripción superior completa para SEO, compacta visualmente y expandible. */
.mmcd-long-description.is-top[data-mmcd-collapsible="1"] .mmcd-long-description-inner{position:relative;overflow:hidden;transition:max-height .22s ease}
.mmcd-long-description.is-top.is-collapsed .mmcd-long-description-inner{max-height:4.75em}
.mmcd-description-toggle{margin-top:8px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--mmcd-accent,#e30613)!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important;box-shadow:none!important}
.mmcd-description-toggle:hover,.mmcd-description-toggle:focus{text-decoration:underline!important;outline:none!important}

/* Placeholder único para subcategorías sin foto. */
.mmcd-subcat-visual.fallback-icon{background:#f4f7f9!important}
.mmcd-subcat-visual.fallback-icon svg{width:38px!important;height:38px!important;stroke:#24465f!important;opacity:.82!important}
.mmcd-subcat-meta small{white-space:nowrap}

/* Barra de previsualización: ya no tapa la pantalla de pruebas. */
.mmcd-preview-close{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.14)!important;color:#fff!important;font-size:20px!important;line-height:1!important;cursor:pointer!important;padding:0!important;margin-left:2px!important}
.mmcd-preview-close:hover,.mmcd-preview-close:focus{background:rgba(255,255,255,.24)!important;outline:none!important}
.mmcd-admin-preview-bar.is-hidden{display:none!important}

/* Mejora de breadcrumb sin robar protagonismo al H1. */
body.mmcd-category-active .woocommerce-breadcrumb{font-size:12px!important;line-height:1.35!important;margin-bottom:14px!important;color:#77838d!important}

/* Controles táctiles mínimos. */
@media(max-width:992px){
  body.mmcd-category-active .mmcd-mobile-filter-btn{min-height:44px!important}
  body.mmcd-category-active .mmcd-show-all-subcats{min-height:44px!important;padding:0 4px!important}
}

@media(max-width:680px){
  /* Subcategorías: dos columnas, pero más compactas que en 1.2.5. */
  .mmcd-subcats{margin-bottom:18px!important}
  .mmcd-section-title{margin-bottom:8px!important}
  .mmcd-section-title h2{font-size:25px!important;line-height:1.15!important}
  .mmcd-subcat-card{min-height:132px!important;padding:8px!important;gap:4px!important}
  .mmcd-subcat-visual{height:68px!important;border-radius:9px!important}
  .mmcd-subcat-meta strong{font-size:12px!important;line-height:1.22!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
  .mmcd-subcat-meta small{font-size:10.5px!important;margin-top:3px!important}

  /* Descripción: 4 líneas aprox. antes de Ver más. */
  .mmcd-long-description.is-top.is-collapsed .mmcd-long-description-inner{max-height:6.25em}
  .mmcd-long-description.is-top{border-radius:13px!important}

  /* Tarjeta producto móvil: cuatro líneas para títulos, botones alineados abajo. */
  body.mmcd-category-active ul.products li.product img{height:178px!important;max-height:178px!important}
  body.mmcd-category-active ul.products li.product .woocommerce-loop-product__title{
    min-height:72px!important;
    max-height:72px!important;
    -webkit-line-clamp:4!important;
    line-height:1.38!important;
  }
  body.mmcd-category-active ul.products li.product .price{font-size:16px!important;line-height:1.2!important}
  body.mmcd-category-active ul.products li.product .button,
  body.mmcd-category-active ul.products li.product .added_to_cart{min-height:44px!important;font-size:13px!important;padding:9px 7px!important}

  /* Toolbar móvil: simple y sin la paginación gigante de 400 páginas. */
  body.mmcd-category-active .mmcd-shop-toolbar{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    grid-template-areas:"count ordering" "pager pager"!important;
    gap:9px!important;
    padding:10px!important;
  }
  body.mmcd-category-active .mmcd-shop-toolbar>.woocommerce-result-count{grid-area:count!important;align-self:center!important;font-size:12px!important}
  body.mmcd-category-active .mmcd-shop-toolbar>.woocommerce-ordering{grid-area:ordering!important;justify-self:end!important}
  body.mmcd-category-active .mmcd-shop-toolbar>.woocommerce-pagination{grid-area:pager!important;width:100%!important}
  body.mmcd-category-active .mmcd-shop-toolbar>.woocommerce-ordering select{max-width:155px!important;min-height:40px!important}
  .mmcd-mobile-pagination{display:grid!important;grid-template-columns:44px 1fr 44px!important;align-items:center!important;gap:8px!important;width:100%!important}
  .mmcd-mobile-pagination>a,.mmcd-mobile-pagination>span{min-height:44px!important;border:1px solid #dce4ea!important;border-radius:9px!important;display:grid!important;place-items:center!important;text-decoration:none!important;background:#fff!important;color:#20384c!important}
  .mmcd-mobile-pagination>span{font-weight:700!important;border-color:transparent!important;background:#f6f8fa!important}
  .mmcd-mobile-pagination .is-disabled{opacity:.35!important;pointer-events:none!important}
  body.mmcd-category-active .woocommerce-pagination.mmcd-has-mobile-summary>ul.page-numbers{display:none!important}

  /* Preview admin compacta y cerrable. */
  .mmcd-admin-preview-bar{bottom:8px!important;left:8px!important;right:8px!important;padding:8px 10px!important;gap:8px!important;font-size:12px!important}
}
.mmcd-mobile-pagination{display:none}
@media(max-width:680px){.mmcd-mobile-pagination{display:grid!important}}

/* v1.2.7: oferta y precio con jerarquía comercial limpia. */
body.mmcd-category-active ul.products li.product .onsale{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  margin:0!important;
  padding:0 11px!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#d92f3d 0%,#ef5a4c 100%)!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
  box-shadow:0 5px 14px rgba(190,38,50,.22)!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
body.mmcd-category-active ul.products li.product .onsale.mmcd-sale-percent::before{
  content:"OFERTA ";
  margin-right:3px;
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.055em;
  opacity:.92;
}
body.mmcd-category-active ul.products li.product .new-product,
body.mmcd-category-active ul.products li.product .new-badge{
  background:#e58a23!important;
  color:#fff!important;
  border-radius:999px!important;
  box-shadow:0 4px 12px rgba(154,92,19,.18)!important;
}
body.mmcd-category-active ul.products li.product .price{
  color:var(--mmcd-navy,#0b2a45)!important;
  font-weight:900!important;
  letter-spacing:-.012em!important;
}
body.mmcd-category-active ul.products li.product .price del{
  display:inline-block!important;
  color:#8b959e!important;
  font-size:.76em!important;
  font-weight:600!important;
  opacity:.82!important;
  margin-right:5px!important;
}
body.mmcd-category-active ul.products li.product .price ins{
  display:inline-block!important;
  color:#d92f3d!important;
  font-weight:900!important;
  text-decoration:none!important;
}
body.mmcd-category-active ul.products li.product .price .woocommerce-price-suffix{
  color:#77838d!important;
  font-size:.64em!important;
  font-weight:600!important;
  letter-spacing:0!important;
}
@media(max-width:680px){
  body.mmcd-category-active ul.products li.product .onsale{
    height:27px!important;
    min-height:27px!important;
    max-height:27px!important;
    padding:0 8px!important;
    font-size:10.5px!important;
    box-shadow:0 4px 10px rgba(190,38,50,.18)!important;
  }
  body.mmcd-category-active ul.products li.product .onsale.mmcd-sale-percent::before{content:"";margin:0}
  body.mmcd-category-active ul.products li.product .price del{display:block!important;margin:0 0 2px!important;font-size:.72em!important}
  body.mmcd-category-active ul.products li.product .price ins{display:inline-block!important}
}


/* v1.2.8: compatibilidad real con badges de oferta de Shoptimizer + WooCommerce. */
body.mmcd-category-active ul.products li.product .sale-item.product-label,
body.mmcd-category-active ul.products li.product .onsale{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:0 11px!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#d92f3d 0%,#ef5a4c 100%)!important;
  background-color:#d92f3d!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
  box-shadow:0 5px 14px rgba(190,38,50,.22)!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
body.mmcd-category-active ul.products li.product .sale-item.product-label.mmcd-sale-percent::before,
body.mmcd-category-active ul.products li.product .onsale.mmcd-sale-percent::before{
  content:"OFERTA ";
  margin-right:3px;
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.055em;
  opacity:.92;
}
@media(max-width:680px){
  body.mmcd-category-active ul.products li.product .sale-item.product-label,
  body.mmcd-category-active ul.products li.product .onsale{
    height:27px!important;
    min-height:27px!important;
    max-height:27px!important;
    padding:0 8px!important;
    font-size:10.5px!important;
    box-shadow:0 4px 10px rgba(190,38,50,.18)!important;
  }
  body.mmcd-category-active ul.products li.product .sale-item.product-label.mmcd-sale-percent::before,
  body.mmcd-category-active ul.products li.product .onsale.mmcd-sale-percent::before{content:"";margin:0}
}

/* v1.4.1 — subcategorías móviles: miniaturas más útiles y completas. */
@media(max-width:680px){
  .mmcd-subcat-card{
    min-height:170px!important;
    padding:9px!important;
    gap:6px!important;
  }
  .mmcd-subcat-visual{
    width:100%!important;
    height:106px!important;
    min-height:106px!important;
    max-height:106px!important;
    padding:0!important;
    border-radius:10px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .mmcd-subcat-visual.has-image img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    margin:0!important;
    padding:4px!important;
    box-sizing:border-box!important;
    object-fit:contain!important;
    object-position:center!important;
  }
  .mmcd-subcat-visual.fallback-icon{
    height:106px!important;
    min-height:106px!important;
  }
  .mmcd-subcat-meta strong{
    font-size:13px!important;
    line-height:1.22!important;
  }
  .mmcd-subcat-meta small{font-size:11px!important}
}
