/* yl-theme product card (all widths): inset rounded image, red discount pill, title, "★ 4.9", price (sale red, old price below), full-width add-to-cart. */
html body .wd-product{display:flex}
html body .wd-product .product-wrapper{flex:1;display:flex;flex-direction:column;padding:12px;background:var(--yl-card);border:1px solid var(--yl-border);border-radius:16px;overflow:visible}
html body .wd-product .product-element-top{position:relative!important;display:block;border-radius:12px;overflow:hidden;background:var(--yl-bg-2);aspect-ratio:1/1}
html body .wd-product .product-element-top .wd-product-img-link{display:block;width:100%;height:100%;background:transparent}
html body .wd-product .product-element-top img{width:100%;height:100%;object-fit:cover}
html body .wd-product .product-labels{position:absolute;inset:8px 8px auto auto;z-index:3;margin:0}
html body .wd-product .product-label.onsale{min-width:0;min-height:0;padding:3px 9px;border-radius:999px;font-size:12px;line-height:1.5;font-weight:700;background:#E11D48!important;color:#fff!important}
html body .wd-product .product-element-bottom{display:flex;flex-direction:column;flex:1;gap:8px;padding:12px 2px 0;text-align:start;background:transparent}
html body .wd-product .wd-entities-title{margin:0;min-height:2.8em;font-size:14px;line-height:1.4;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .wd-product .product-rating-price{display:block;height:auto!important;overflow:visible!important}
html body .wd-product .wrapp-product-price{display:flex!important;flex-direction:column!important;gap:6px;height:auto;transform:none!important}
html body .wd-product .wrapp-product-price .yl-rate{order:-1;display:inline-flex;align-items:center;gap:5px;color:var(--yl-fg-2);font-size:12px;font-weight:700}
html body .wd-product .wrapp-product-price .yl-rate svg{color:#F5B301}
html body .wd-product .price{display:flex;flex-flow:row wrap;align-items:baseline;gap:2px 6px;margin:0;font-size:16px;font-weight:800}
html body .wd-product .price:has(ins){flex-direction:column-reverse;align-items:flex-start}
html body .wd-product .price .amount,html body .wd-product .price bdi{font-weight:800}
html body .wd-product .price .woocommerce-Price-currencySymbol{margin-inline-start:4px;font-size:12px;font-weight:500;color:var(--yl-fg-2)}
html body .wd-product .price ins{text-decoration:none}
html body .wd-product .price ins .amount{color:#FF6B7D!important}
html body .wd-product .price del,html body .wd-product .price del .amount{font-size:12px;font-weight:500;color:var(--yl-fg-2)!important}
/* actions block: description is not shown, add-to-cart is a real button under the price */
html body .wd-product .wd-product-card-hover{position:static!important;display:block!important;height:auto!important;margin:12px 0 0!important;padding:0!important;opacity:1!important;visibility:visible!important;transform:none!important;background:none!important;border:0!important;box-shadow:none!important}
html body .wd-product .wd-product-card-hover .hover-content{display:none!important}
html body .wd-product .wd-bottom-actions{display:block!important;margin:0!important;padding:0!important}
html body .wd-product .wd-add-btn{position:static!important;display:block!important;width:100%!important;margin:0!important;opacity:1!important;visibility:visible!important;transform:none!important}
html body .wd-product .wd-add-btn>a{display:flex!important;flex-direction:row;align-items:center;justify-content:center;gap:8px;width:100%;min-height:40px;padding:0 12px;border-radius:10px;background-image:var(--yl-gradient)!important;color:#fff!important;font-size:13px;font-weight:700;box-shadow:none}
html body .wd-product .wd-add-btn>a:hover{background-image:var(--yl-gradient-hover)!important;box-shadow:0 6px 18px rgb(112 71 255/.4)}
html body .wd-product .wd-add-btn .wd-action-text{order:1;position:static;width:auto;height:auto;clip:auto;overflow:visible;font-size:13px;color:#fff}
html body .wd-product .wd-add-btn .wd-action-icon{order:2;display:inline-flex;font-size:16px;color:#fff}
/* Woodmart swaps the button text for an icon on hover (wd-add-btn-replace): keep the label */
html body .wd-product .wd-add-btn .wd-action-text{display:inline!important;opacity:1!important;visibility:visible!important;transform:none!important}
