/* Shared announcement card: one layout for discovery, stores, recommendations and favorites. */
body .product-card.product-card-market{--pc-surface:var(--mc-surface,var(--surface,#fff));--pc-soft:var(--mc-soft,var(--surface-2,#f1f3f6));--pc-line:var(--mc-line,var(--line,#e0e5ec));--pc-text:var(--mc-ink,var(--text,#172234));--pc-muted:var(--mc-muted,var(--muted,#657184));--pc-accent:var(--mc-accent,#db2842);min-width:0;min-height:0!important;height:100%;overflow:hidden;border:1px solid var(--pc-line)!important;border-radius:11px!important;background:var(--pc-surface)!important;box-shadow:none!important;transition:border-color .18s ease}
body .product-card.product-card-market:hover{transform:none!important;border-color:var(--pc-accent)!important;box-shadow:none!important}
body .product-card.product-card-market:focus-within{outline:2px solid var(--pc-accent);outline-offset:3px}
body .product-card.product-card-market>a{display:flex;flex-direction:column;min-width:0;height:100%;color:var(--pc-text)!important;text-decoration:none}
body .product-card.product-card-market .product-thumb{position:relative;flex:0 0 auto;width:100%;height:auto!important;min-height:0!important;aspect-ratio:16/10!important;overflow:hidden;border-radius:0!important;background:var(--pc-soft)!important}
body .product-card.product-card-market .product-thumb img{display:block;width:100%;height:100%;object-fit:cover;transform:none;transition:transform .2s ease}
body .product-card.product-card-market:hover .product-thumb img{transform:scale(1.025)}
body .product-card.product-card-market .market-card-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;color:var(--pc-muted)}
body .product-card.product-card-market .market-card-placeholder>.ui-icon{width:32px;height:32px;opacity:.6}
body .product-card.product-card-market .market-card-placeholder>span{max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
body .product-card.product-card-market .product-flags{position:absolute;top:8px;left:8px;right:auto;display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px;max-width:calc(100% - 58px)}
body .product-card.product-card-market .flag{padding:4px 6px!important;border:0;border-radius:4px;font-size:9px!important;font-weight:700;line-height:1.2}
body .product-card.product-card-market .flag.model{background:#fff!important;color:#243247!important}
body .product-card.product-card-market .flag.red{background:#152237!important;color:#fff!important}
body .product-card.product-card-market .flag.out{background:#39434e!important;color:#fff!important}
body .product-card.product-card-market .flag.out::before{display:none}
body .product-card.product-card-market .product-discount{position:absolute;top:8px;right:8px;left:auto;bottom:auto;padding:4px 6px;background:#d92542!important;color:#fff;font-size:10px;font-weight:700;line-height:1.2;border-radius:4px}
body .product-card.product-card-market .product-info{display:flex;flex:1;flex-direction:column;justify-content:flex-start;gap:7px;min-width:0;min-height:0!important;padding:12px!important}
body .product-card.product-card-market .product-info h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere;word-break:normal;hyphens:auto;height:auto!important;min-height:0!important;max-height:2.8em!important;margin:0!important;padding:0;font-size:14px!important;font-weight:650;line-height:1.4!important;letter-spacing:-.015em;color:var(--pc-text)!important}
body .product-card.product-card-market .product-pricing{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-height:0!important;margin:0!important;padding:0}
body .product-card.product-card-market .market-card-price-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 7px;min-width:0;max-width:100%}
body .product-card.product-card-market .price{font-size:22px!important;font-weight:800;letter-spacing:-.035em;line-height:1.2;overflow-wrap:anywhere;color:var(--pc-text)!important}
body .product-card.product-card-market .old-price{margin:0;font-size:10px;line-height:1.3;color:var(--pc-muted)!important}
body .product-card.product-card-market :is(.market-card-price-from,.price-range){margin:0;font-size:10px;line-height:1.3;color:var(--pc-muted)}
body .product-card.product-card-market .card-meta{display:flex!important;align-items:center;min-width:0;min-height:0;margin:0!important;padding:0!important;border:0!important;font-size:12px;color:var(--pc-muted)!important}
body .product-card.product-card-market .card-meta>.store-name-line{min-width:0;max-width:100%;font-size:12px;font-weight:550;line-height:1.4}
body .product-card.product-card-market .card-meta .store-name-text{font-size:inherit!important;color:var(--pc-muted)!important}
body .product-card.product-card-market .market-card-rating{display:flex;flex-wrap:wrap;align-items:center;gap:3px 9px;min-height:0!important;margin:0!important;padding:0;font-size:11px;line-height:1.35;color:var(--pc-muted)}
body .product-card.product-card-market .proof-rating{display:inline-flex;align-items:center;gap:3px;font-size:11px;line-height:1.35;color:var(--pc-text)}
body .product-card.product-card-market .proof-rating .ui-icon{width:12px;height:12px;flex:0 0 12px;color:#b98009;fill:currentColor}
body .product-card.product-card-market .proof-rating small{display:inline!important;font-size:10px;color:var(--pc-muted)}
body .product-card.product-card-market .proof-sales{font-size:11px;color:var(--pc-muted)}
body .product-card.product-card-market .market-card-delivery{display:flex;align-items:center;gap:4px;min-height:0!important;margin:0!important;padding:0;font-size:10px;line-height:1.4;color:var(--pc-muted)}
body .product-card.product-card-market .market-card-delivery.is-automatic{color:var(--mc-success,#21855d)}
html[data-theme="dark"] body .product-card.product-card-market .market-card-delivery.is-automatic{color:#7dc8ad}
body .product-card.product-card-market .market-card-delivery .ui-icon{width:12px;height:12px;flex:0 0 12px;margin:0}
body .product-card.product-card-market.product-card-unavailable .product-thumb img{opacity:.65}
/* Keep cards at a readable width in every shared grid, including the private favorites page. */
body .grid-products:has(.product-card-market){gap:14px!important;align-items:stretch}
body .buyer-favorite-remove button{min-width:44px;min-height:44px;height:44px}
body .buyer-favorite-item .product-card-market .product-discount{top:auto;bottom:8px}
body .buyer-favorite-item .product-card-market .product-flags{max-width:calc(100% - 110px)}
@media(max-width:700px){
 body .product-card.product-card-market .product-info{padding:10px!important;gap:6px}
 body .product-card.product-card-market .product-info h3{font-size:13px!important;line-height:1.4!important}
 body .product-card.product-card-market .price{font-size:20px!important}
 body .product-card.product-card-market .card-meta>.store-name-line{font-size:11px}
 body .product-card.product-card-market .product-flags{top:6px;left:6px;max-width:calc(100% - 49px);gap:3px}
 body .product-card.product-card-market .flag{padding:3px 4px!important;font-size:8px!important}
 body .product-card.product-card-market .product-discount{top:6px;right:6px;font-size:9px;padding:4px}
 body .grid-products:has(.product-card-market){gap:10px!important}
 body .buyer-favorite-item .product-card-market .product-flags{max-width:calc(100% - 58px)}
 body .buyer-favorite-item .product-card-market .product-discount{top:auto;bottom:6px}
}
@media(max-width:359px){
 html body .grid-products:has(.product-card-market){grid-template-columns:minmax(0,1fr)!important}
 body .product-card.product-card-market .product-info h3{font-size:14px!important}
 body .product-card.product-card-market .price{font-size:22px!important}
}
@media(prefers-reduced-motion:reduce){body .product-card.product-card-market,body .product-card.product-card-market .product-thumb img{transition:none!important}body .product-card.product-card-market:hover .product-thumb img{transform:none}}
