/* retoques2 (Mortimer, 04-11-2026: «una linea bonita arriba del bloque Recent sales con cards elegantes y no muy
   grandotas, las que quepan en una linea»): «On sale now» on /collections/<slug> (components/_market.html listed_strip).
   Five small cards in one line in the accent of the collection (--acc from mk-acc-N); a deal in its tier colour (--t).
   On a tablet or a phone the line scrolls sideways with snap, never two lines. */
.mk-strip { margin-top: 18px; padding: 16px 18px 18px; border-radius: var(--radius); min-width: 0;
    border: 1px solid rgba(var(--acc-rgb, 0,221,235), 0.22);
    background: linear-gradient(180deg, rgba(var(--acc-rgb, 0,221,235), 0.06), transparent 45%), var(--panel); }
.mk-strip-head { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 12px; min-width: 0; }
.mk-strip-head h3 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: 9px; }
.mk-strip-head h3::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--acc, var(--cyan)); box-shadow: 0 0 10px var(--acc, var(--cyan)); }
.mk-strip-hint { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--muted); min-width: 0; }
.mk-strip-dot { width: 7px; height: 7px; border-radius: 50%; background: #f97316; box-shadow: 0 0 8px rgba(249,115,22,0.8); }
.mk-strip-all { margin-left: auto; font-size: 0.85rem; font-weight: 800; color: var(--acc, var(--cyan)); white-space: nowrap; padding: 4px 2px; }
.mk-strip-all:hover, .mk-strip-all:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.mk-strip-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.mk-strip-row li { min-width: 0; display: flex; }
.mk-sc { --t: rgb(var(--acc-rgb, 0,221,235)); position: relative; flex: 1; min-width: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 11px;
    align-items: center; padding: 8px 10px 8px 8px; border-radius: 14px; overflow: hidden;
    background: rgba(12,6,26,0.72); border: 1px solid var(--line);
    transition: transform 0.25s ease, border-color 0.25s, background 0.25s, box-shadow 0.25s; }
.mk-sc:hover, .mk-sc:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--t) 60%, transparent);
    background: color-mix(in srgb, var(--t) 8%, rgba(12,6,26,0.82)); box-shadow: 0 10px 24px rgba(0,0,0,0.35), 0 0 0 1px color-mix(in srgb, var(--t) 20%, transparent); }
.mk-sc.is-deal { border-color: color-mix(in srgb, var(--t) 50%, transparent);
    background: radial-gradient(120% 90% at 0% 100%, color-mix(in srgb, var(--t) 16%, transparent), transparent 70%), rgba(12,6,26,0.82); }
.mk-sc.is-deal::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.07) 45%, transparent 60%); background-size: 260% 100%; background-position: 120% 0;
    transition: background-position 0.9s ease; }
.mk-sc.is-deal:hover::after { background-position: -60% 0; }
.mk-sc-pic { position: relative; width: 64px; height: 64px; border-radius: 11px; overflow: hidden; background: #120a24;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--t) 40%, transparent); }
.mk-sc-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.mk-sc:hover .mk-sc-pic img { transform: scale(1.07); }
.mk-sc-deal { position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; border-radius: 6px; font-style: normal; font-size: 0.75rem; line-height: 1.35;
    font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: #160b2c; background: linear-gradient(135deg, #fde68a, #f97316);
    box-shadow: 0 3px 10px rgba(249,115,22,0.5); }
.mk-sc-body { display: grid; gap: 3px; min-width: 0; }
.mk-sc-num { font-size: 0.95rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 14px; }
.mk-sc-tier { display: inline-flex; align-items: baseline; gap: 5px; min-width: 0; font-size: 0.75rem; font-weight: 800; color: var(--t);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-sc-tier small { font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.mk-sc-tier--none { color: var(--muted); font-weight: 700; }
.mk-sc-price { display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; }
.mk-sc-price em { font-style: normal; font-weight: 900; font-size: 0.98rem; color: var(--acc, var(--cyan)); }
.mk-sc-price em small { margin-left: 3px; font-size: 0.75rem; font-weight: 800; opacity: 0.8; }
.mk-sc-over { flex: none; font-size: 0.75rem; font-weight: 800; padding: 0 6px; border-radius: 6px; color: var(--muted); background: rgba(255,255,255,0.05); border: 1px solid var(--line); }
.mk-sc-over.is-floor { color: #04121a; border-color: transparent; background: linear-gradient(135deg, #5ef0c4, #22d3ee); }
.mk-sc-go { position: absolute; top: 7px; right: 9px; font-size: 0.8rem; font-weight: 900; color: var(--muted); transition: color 0.25s, transform 0.25s; }
.mk-sc:hover .mk-sc-go, .mk-sc:focus-visible .mk-sc-go { color: var(--t); transform: translate(1px, -1px); }

/* the cards keep their size; the line scrolls sideways (snap) when five do not fit */
@media (max-width: 1180px) {
    .mk-strip-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px;
        margin: 0 -4px; padding-left: 4px; padding-right: 4px; overscroll-behavior-x: contain; }
    .mk-strip-row li { flex: 0 0 212px; scroll-snap-align: start; }
}
@media (max-width: 640px) {
    .mk-strip { padding: 14px 12px 14px; }
    .mk-strip-hint { order: 3; flex-basis: 100%; }
    .mk-strip-row li { flex-basis: 196px; }
}
@media (prefers-reduced-motion: reduce) {
    .mk-sc, .mk-sc-pic img, .mk-sc-go, .mk-sc.is-deal::after { transition: none; }
    .mk-sc:hover, .mk-sc:focus-visible, .mk-sc:hover .mk-sc-pic img { transform: none; }
}
