/* Listados de productos con la tarjeta de la portada — solo con body.pp-cards */
body.pp-cards{--pc-lima:#cbe86b;--pc-linea:#e8e8e8;--pc-rojo:#e04848;--pc-cond:"Roboto Condensed",Roboto,sans-serif}

/* ---------- Ancho: ~95% de la pantalla ---------- */
@media (min-width:1025px){
	body.pp-cards #main > .page-container{width:auto!important;max-width:none!important;padding-left:2.5vw!important;padding-right:2.5vw!important;margin:0 auto!important;display:flex;gap:28px;align-items:flex-start}
	body.pp-cards #main > .page-container > .ts-sidebar{flex:0 0 270px;width:270px!important;max-width:270px;padding:0!important;float:none!important}
	body.pp-cards #main > .page-container > #main-content{flex:1 1 auto;width:auto!important;max-width:none;padding:0!important;float:none!important;min-width:0}
	body.pp-cards .breadcrumb-title-wrapper .breadcrumb-content{max-width:2200px!important;width:auto!important;margin:0 auto!important;padding-left:2.5vw!important;padding-right:2.5vw!important}
}

/* ---------- Rejilla ---------- */
body.pp-cards .woocommerce .products,body.pp-cards .products{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:0!important}
@media (max-width:1100px){body.pp-cards .woocommerce .products,body.pp-cards .products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:767px){body.pp-cards .woocommerce .products,body.pp-cards .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
body.pp-cards .products:before,body.pp-cards .products:after{display:none!important}
body.pp-cards .products > .product{width:auto!important;float:none!important;margin:0!important;padding:0!important;clear:none!important}

/* ---------- Tarjeta ---------- */
body.pp-cards .products .product .product-wrapper{height:100%;display:flex;flex-direction:column;background:#fff;border:1px solid var(--pc-linea)!important;border-radius:16px;overflow:hidden;padding:0!important;margin:0!important;transition:box-shadow .3s,transform .3s,border-color .3s}
body.pp-cards .products .product .product-wrapper:hover{box-shadow:0 18px 40px rgba(0,0,0,.09);transform:translateY(-4px);border-color:transparent!important}
body.pp-cards .products .product .thumbnail-wrapper{padding:18px;background:#fff;margin:0!important;border:0!important;position:relative}
body.pp-cards .products .product .thumbnail-wrapper figure{margin:0}
body.pp-cards .products .product .thumbnail-wrapper figure img:not(.product-image-back){transition:transform .6s cubic-bezier(.2,.7,.2,1)}
body.pp-cards .products .product .product-wrapper:hover .thumbnail-wrapper figure:not(.has-back-image) img{transform:scale(1.05) rotate(-2deg)}
body.pp-cards .products .product .meta-wrapper{padding:10px 14px 12px!important;border-top:1px solid #f2f2f2;display:flex;flex-direction:column;gap:4px;flex:1;text-align:left!important;margin:0!important}
body.pp-cards .products .product .meta-wrapper .product-name,body.pp-cards .products .product .meta-wrapper .product-name a{font:500 15px/1.35 Roboto,sans-serif!important;color:#000!important;text-transform:none!important;letter-spacing:0!important;margin:0!important;padding:0!important;min-height:0;text-align:left!important}
body.pp-cards .products .product .star-rating,body.pp-cards .products .product .rating-wrapper{display:none!important}

/* Precio: actual grande en negro, tachado en rojo */
body.pp-cards .products .product .meta-wrapper .price{margin-top:auto!important;display:flex!important;flex-wrap:wrap;align-items:baseline;gap:4px 8px;text-align:left!important;justify-content:flex-start!important}
body.pp-cards .products .product .meta-wrapper .price,body.pp-cards .products .product .meta-wrapper .price > .amount,body.pp-cards .products .product .meta-wrapper .price > .amount bdi,body.pp-cards .products .product .meta-wrapper .price ins,body.pp-cards .products .product .meta-wrapper .price ins *{font:900 21px/1.1 var(--pc-cond)!important;color:#000!important;text-decoration:none;background:none}
body.pp-cards .products .product .meta-wrapper .price del,body.pp-cards .products .product .meta-wrapper .price del *{font:500 14px/1.1 Roboto,sans-serif!important;color:var(--pc-rojo)!important;opacity:1}
body.pp-cards .products .product .meta-wrapper .price del{text-decoration:line-through!important}

/* Etiqueta de descuento: negra con texto lima (la azul de "destacado" mantiene el estilo del CSS adicional) */
body.pp-cards .products .product .product-label .onsale{background:#cbe86b!important;color:#000!important;font:900 17px/1 var(--pc-cond)!important;letter-spacing:.3px;padding:6px 9px!important;border-radius:7px!important;min-width:0!important;height:auto!important;box-shadow:0 2px 8px rgba(0,0,0,.12)}
body.pp-cards .products .product .product-label .onsale:before,body.pp-cards .products .product .product-label .onsale:after{display:none!important}
body.pp-cards .products .product .product-label{padding:12px!important}

@media (max-width:767px){
	body.pp-cards .products .product .thumbnail-wrapper{padding:12px}
	body.pp-cards .products .product .meta-wrapper{padding:12px!important}
	body.pp-cards .products .product .meta-wrapper .product-name,body.pp-cards .products .product .meta-wrapper .product-name a{font-size:13px!important}
	body.pp-cards .products .product .meta-wrapper .price,body.pp-cards .products .product .meta-wrapper .price > .amount,body.pp-cards .products .product .meta-wrapper .price > .amount bdi,body.pp-cards .products .product .meta-wrapper .price ins,body.pp-cards .products .product .meta-wrapper .price ins *{font-size:18px!important}
}

/* Etiqueta en móvil un poco menor */
@media (max-width:767px){body.pp-cards .products .product .product-label{padding:8px!important}body.pp-cards .products .product .product-label .onsale{font-size:13px!important;padding:4px 7px!important;border-radius:5px!important}}
/* Precio pegado al nombre */
body.pp-cards .products .product .meta-wrapper .price{margin-top:2px!important}

/* Botón de carrito abajo a la derecha de la foto */
body.pp-cards .products .product .thumbnail-wrapper{position:relative}
body.pp-cards .products .product .pp-cart-btn{position:absolute;right:12px;bottom:12px;z-index:6;width:44px;height:44px;border-radius:50%;background:#cbe86b;color:#000;display:grid;place-items:center;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:transform .2s,background .2s;padding:0;margin:0;border:0;line-height:1}
body.pp-cards .products .product .pp-cart-btn svg{width:22px;height:22px;fill:none;stroke:#000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.pp-cards .products .product .pp-cart-btn:hover{background:#000;transform:scale(1.07)}
body.pp-cards .products .product .pp-cart-btn:hover svg{stroke:#cbe86b}
body.pp-cards .products .product .pp-cart-btn.loading{opacity:.6;pointer-events:none}
body.pp-cards .products .product .pp-cart-btn.loading:after,body.pp-cards .products .product .pp-cart-btn:before{display:none!important}
body.pp-cards .products .product .pp-cart-btn.added{background:#000}
body.pp-cards .products .product .pp-cart-btn.added svg{display:none}
body.pp-cards .products .product .pp-cart-btn.added:after{content:"✓";display:block!important;color:#cbe86b;font:900 20px/1 Roboto,sans-serif}
body.pp-cards .products .product a.added_to_cart{display:none!important}
@media (max-width:767px){
	body.pp-cards .products .product .pp-cart-btn{width:36px;height:36px;right:8px;bottom:8px}
	body.pp-cards .products .product .pp-cart-btn svg{width:18px;height:18px}
}

/* Sin capa gris del tema al pasar el ratón / tocar en móvil */
body.pp-cards .products .product .thumbnail-wrapper a::before,body.pp-cards .products .product .thumbnail-wrapper figure.owl-carousel .owl-item::before{display:none!important;content:none!important}
body.pp-cards .products .product a,body.pp-cards .products .product .thumbnail-wrapper{-webkit-tap-highlight-color:transparent}
