/* Flash-sale catalog (/flash-sales): real campaign/product imagery with
   separate readable copy. Cards, badges, timers and buttons are themed in
   custom.css (flash sale pages); this sheet only lays out the media. */
.fs-sale-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: #ffffff; border-bottom: 1px solid var(--theme-border); }
.fs-sale-media-link { display: block; height: 100%; }
.fs-sale-cover { display: block; width: 100%; height: 100%; object-fit: contain; }
.fs-sale-products { height: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 42px 18px 18px; background: #ffffff; }
.fs-sale-products > img { min-width: 0; width: calc((100% - 24px) / 3); max-width: 180px; height: 100%; object-fit: contain; transition: transform .2s ease; }
.fs-sale-products[data-product-count="1"] > img { width: 65%; }
.fs-sale-products[data-product-count="2"] > img { width: 43%; }
.fs-sale-media-link:hover img { transform: scale(1.035); }
.fs-sale-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.fs-sale-catalog .fs-card-body { padding: 20px; }
.fs-sale-catalog .fs-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fs-sale-description { margin: 0 0 12px; font-size: .85rem; line-height: 1.5; color: var(--theme-text-muted); }
.fs-sale-catalog .fs-card-timer { margin-top: 16px; gap: 8px; }
.fs-sale-catalog a:focus-visible { outline: 2px solid var(--theme-focus); outline-offset: 2px; }
.fs-sale-no-image { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; text-align: center; font-size: .85rem; color: var(--theme-text-muted); }
.fs-sale-no-image i { font-size: 2rem; }
.fs-sale-card--ended .fs-sale-media { filter: saturate(.45); }
[dir="rtl"] .fs-sale-catalog .fs-card-btn .fa-arrow-right { transform: scaleX(-1); }
@media (max-width: 575.98px) {
    .fs-sale-media { aspect-ratio: 16 / 9; }
    .fs-sale-products { gap: 8px; padding: 40px 14px 14px; }
    .fs-sale-catalog .fs-card-body { padding: 18px; }
    .fs-sale-catalog .fs-card-footer { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .fs-sale-products > img { transition: none; }
    .fs-sale-media-link:hover img { transform: none; }
}
.fs-sale-media [hidden] { display: none !important; }
