.yc-card{--yc-text:#111;--yc-button:#111;--yc-title-size:16px;position:relative;min-width:0;background:#fff;color:var(--yc-text);font:400 16px/1.5 Roboto,Arial,sans-serif;display:flex;flex-direction:column;height:100%}
.yc-card__media{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;background:#fff}
.yc-card__image-link{display:block;position:relative;width:100%;height:100%;overflow:hidden}
.yc-card__image{display:block!important;width:100%!important;height:100%!important;object-fit:contain;object-position:center;transition:opacity .2s ease}
.yc-card__image--hover{position:absolute;inset:0;opacity:0}
@media(hover:hover){.yc-card__image-link:hover .yc-card__image--hover{opacity:1}}
.yc-card__sale-badge{position:absolute;top:8px;left:8px;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:3px 10px;border-radius:30px;background:#e60023;color:#fff;font-size:12px;font-weight:700;line-height:1.2}
.yc-card__details{padding:12px 0 0;min-width:0;display:flex;flex:1;flex-direction:column;align-items:stretch}
.yc-card__heading{display:flex;gap:8px;align-items:baseline;min-width:0}.yc-card a.yc-card__title{flex:1;display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--yc-text);font-family:Roboto,Arial,sans-serif;font-size:var(--yc-title-size);font-weight:700;line-height:24px;text-decoration:none}
.yc-card__rating{display:flex;align-items:center;gap:5px;min-height:21px;font-size:12px;color:#555}.yc-card__rating .star-rating{color:#b8860b;margin:0;float:none}
.yc-card__price{flex:none;margin:0;color:#111;font-size:16px;line-height:24px}.yc-card__price del{color:#666;margin-right:6px;font-weight:400}.yc-card__price ins,.yc-card__price ins .amount{color:#e60023;text-decoration:none;font-weight:700}
.yc-card__actions{margin-top:auto;padding-top:12px}.yc-card__actions .button,.yc-card__actions a.button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:42px;margin:0;padding:8px 12px;background:var(--yc-button);border:1px solid var(--yc-button);border-radius:0;color:#fff;text-align:center;text-transform:none;letter-spacing:0;font:700 14px/1.25 Roboto,Arial,sans-serif;white-space:normal}.yc-card__actions .button:hover,.yc-card__actions .button:focus-visible{color:#fff;background:#333;outline-offset:3px}
.yc-card__quick{position:absolute;right:8px;bottom:8px;z-index:2;padding:7px 10px;background:#fff;color:#111!important;border:1px solid #111;font-size:12px;font-weight:700;text-decoration:none}.yc-card__quick:focus-visible,.yc-card__title:focus-visible,.yc-card__image-link:focus-visible{outline:2px solid #111;outline-offset:2px}.yc-card__stock{position:absolute;inset:auto 0 0;padding:6px;text-align:center;background:rgba(255,255,255,.9);font-size:12px;font-weight:700}
@media(max-width:549px){.yc-card__details{padding-top:8px}.yc-card__price{font-size:14px}.yc-card__actions .button{font-size:13px;min-height:40px}.yc-card__quick{font-size:11px}}
@media(prefers-reduced-motion:reduce){.yc-card__image{transition:none}}
/* Keep the archive filters visible while matching the reference card width. */
@media (min-width:1200px){
  body.woocommerce .section-content > .row:has(.smi-shop-archive-products){width:calc(100% - 24px);max-width:1440px}
  body.woocommerce .smi-shop-archive-products .products.row > .product-small.col{flex-basis:33.333333%;max-width:33.333333%}
}
.yc-card__details{box-sizing:border-box;min-height:215px}
@media(max-width:549px){
  .yc-card__details{min-height:230px}
  .yc-card__heading{display:contents}
  .yc-card a.yc-card__title{order:0;flex:none;width:100%}
  .yc-card__rating{order:1}
  .yc-card__price{order:2;margin-top:8px}
  .yc-card__actions{order:3}
}
