/* Catálogo nativo WooCommerce, aislado de portada y fichas de producto. */
body:has(.cremia-shop-catalog){background:var(--warm-white)}
body .cremia-shop-catalog{color:var(--black);padding-block:clamp(2.5rem,5vw,5rem);--muted:color-mix(in srgb,var(--black) 75%,var(--warm-white));display:flow-root}
body .cremia-shop-catalog h1{margin:0 0 1.5rem;font-size:var(--type-h1)}
.cremia-shop-catalog .term-description{max-width:65ch;margin-bottom:2rem}
.cremia-shop-catalog .woocommerce-result-count{float:left;margin:1rem 0 1.5rem;font-size:.85rem;color:var(--muted)}
.cremia-shop-catalog .woocommerce-ordering{float:right;margin:0 0 2rem;max-width:100%}
.cremia-shop-catalog .woocommerce-ordering label{display:block;font-size:.7rem;margin-bottom:.35rem}
.cremia-shop-catalog .orderby{width:100%;max-width:100%;min-height:48px;padding:.7rem 2rem .7rem .9rem;border:1px solid var(--gold);border-radius:0;background:var(--warm-white);color:var(--black);font:400 .8rem/1.5 var(--sans)}
body .cremia-shop-catalog ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5rem 1.5rem;clear:both;padding:0;margin:0 0 2.5rem;list-style:none}
body .cremia-shop-catalog ul.products::before,body .cremia-shop-catalog ul.products::after{display:none}
body .cremia-shop-catalog ul.products li.product{float:none;width:auto;margin:0;min-width:0;text-align:center}
body .cremia-shop-catalog ul.products li.product a img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;margin:0 0 1rem;background:var(--cream)}
body .cremia-shop-catalog ul.products li.product .woocommerce-loop-product__title{color:var(--black);font-size:clamp(1.4rem,2vw,1.85rem);padding:0;margin:.6rem 0}
body .cremia-shop-catalog ul.products li.product .price{color:var(--black);font-size:.9rem;margin:0 0 1rem}
body .cremia-shop-catalog ul.products li.product .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:.5rem 0 0;padding:.7rem 1rem;border-radius:0;font-size:.73rem}
body .cremia-shop-catalog ul.products li.product .onsale{background:var(--black);color:var(--cream)}
.cremia-shop-catalog .woocommerce-pagination{clear:both;text-align:center}
.cremia-shop-catalog .woocommerce-pagination ul{border-color:var(--gold)}
.cremia-shop-catalog .woocommerce-pagination a,.cremia-shop-catalog .woocommerce-pagination span{min-width:44px;min-height:44px;color:var(--black)}
.cremia-shop-catalog .woocommerce-pagination span.current{background:var(--black);color:var(--cream)}
.cremia-shop-catalog .shop-preview-note{clear:both;margin:0 0 2rem;padding:1rem;background:var(--cream);color:var(--black);font-size:.8rem}
.cremia-shop-catalog .shop-preview-caption{color:var(--muted);font-size:.8rem;margin:.5rem 0}
@media(max-width:1000px){body .cremia-shop-catalog ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cremia-shop-catalog .woocommerce-ordering,.cremia-shop-catalog .woocommerce-result-count{float:none;width:100%}.cremia-shop-catalog .woocommerce-ordering{margin-bottom:1.5rem}body .cremia-shop-catalog ul.products{gap:2rem 1rem}body .cremia-shop-catalog ul.products li.product .woocommerce-loop-product__title{font-size:1.3rem}}

.cremia-shop-catalog .woocommerce-ordering label{font-size:.8125rem;font-weight:500}
body .cremia-shop-catalog ul.products li.product .button{font-size:.8125rem;font-weight:500}

/* Móvil: una tarjeta por fila, al ancho del contenido. */
@media(max-width:600px){
 body .cremia-shop-catalog ul.products{grid-template-columns:minmax(0,1fr);row-gap:32px;column-gap:0}
 body .cremia-shop-catalog ul.products li.product{width:100%!important;max-width:100%;margin:0!important;box-sizing:border-box}
}
