/* Login Shop design — product cards everywhere (2.0.20): every product miniature (categories, search, promotions,
   product page suggestions, carousels) shows the same card as the "Ventes Flash & Offres du Moment" block. */

/* the deal card (same rules as home.css, needed on every page) */
.ls-deal-card { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.ls-deal-img { position: relative; display: block; background: #f1f5f9; aspect-ratio: 1 / 1; margin: 10px 10px 0; border-radius: var(--ls-radius); overflow: hidden; }
.ls-deal-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s ease; }
.ls-deal-card:hover .ls-deal-img img { transform: scale(1.04); }
.ls-deal-badge { position: absolute; top: 10px; left: 10px; background: var(--ls-orange); color: #fff; font: 700 11px/1 var(--ls-font); padding: 5px 8px; border-radius: 6px; }
.ls-deal-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ls-deal-meta { display: flex; gap: 6px; align-items: center; font-size: 11px; flex-wrap: wrap; }
.ls-deal-seller { display: inline-flex; align-items: center; gap: 4px; color: var(--ls-muted) !important; font-weight: 600; text-decoration: none !important; }
.ls-deal-seller svg { color: var(--ls-green); }
.ls-deal-stock { color: var(--ls-green); font-weight: 600; }
.ls-deal-stock.is-out { color: var(--ls-danger); }
.ls-deal-name { font: 700 13px/1.35 var(--ls-font); color: var(--ls-ink) !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 35px; }
.ls-deal-name:hover { color: var(--ls-green) !important; }
.ls-deal-rating { font-size: 11px; color: var(--ls-muted); }
.ls-deal-stars span { color: #d1d5db; letter-spacing: 1px; }
.ls-deal-stars span.on { color: var(--ls-star); }
.ls-deal-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; border-top: 1px solid #f1f5f9; }
.ls-deal-price b { font: 800 19px/1.1 var(--ls-font-display); color: var(--ls-ink); white-space: nowrap; }
.ls-deal-price s { font-size: 12px; color: #94a3b8; white-space: nowrap; }
.ls-deal-form { margin: 4px 0 0; }
.ls-deal-add { padding: 10px 12px !important; font-size: 12px !important; }
.ls-deal-timer { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 5px;
  background: rgba(11, 17, 32, .88); color: #fff; font: 600 11px/1 var(--ls-font); padding: 7px 8px; border-radius: 8px; backdrop-filter: blur(2px); }
.ls-deal-timer em { font-style: normal; opacity: .8; }
.ls-deal-timer b { font-variant-numeric: tabular-nums; color: #fdba74; font-weight: 800; }
.ls-deal-timer svg { color: #fb923c; }
.ls-deal-timer.is-urgent { background: rgba(234, 88, 12, .95); }
.ls-deal-timer.is-urgent b { color: #fff; }
.ls-deal-timer.is-over { background: rgba(100, 116, 139, .9); }
.ls-deal-timer.is-over em { display: none; }

/* the theme's miniature becomes a plain holder for the card */
.product-miniature.ls-pm { border: 0 !important; box-shadow: none !important; background: none !important; transform: none !important; overflow: visible !important; display: flex; flex-direction: column; }
/* rows of columns (ETS shop page, Bootstrap rows): space between the cards */
.row > .product-miniature.ls-pm, .products.row > .product-miniature.ls-pm { padding: 0 8px 16px !important; }
.ls-deal-card svg, .ls-deal-card svg * { fill: none !important; }
.product-miniature.ls-pm:hover { box-shadow: none !important; transform: none !important; }
.product-miniature.ls-pm > .ls-deal-card { flex: 1; width: 100%; height: 100%; margin: 0; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.product-miniature.ls-pm > .ls-deal-card:hover { box-shadow: var(--ls-shadow-lg); border-color: #cbd5e1; transform: translateY(-2px); }
.product-miniature.ls-pm .ls-deal-img { aspect-ratio: 1 / 1; }
.product-miniature.ls-pm .ls-deal-img img { position: static; opacity: 1 !important; visibility: visible !important; }
.product-miniature.ls-pm .ls-deal-form button { width: 100%; }
/* until the card arrives the theme's own miniature stays (no empty holes); it is replaced as soon as the cards are loaded */
@media (max-width: 575px) {
  .product-miniature.ls-pm .ls-deal-body { padding: 10px; }
  .product-miniature.ls-pm .ls-deal-price b { font-size: 16px; }
  .product-miniature.ls-pm .ls-deal-timer em { display: none; }
  .product-miniature.ls-pm .ls-deal-add { font-size: 11px !important; padding: 9px 6px !important; }
}
