/* Historia najniższej ceny na podstronie produktu (inc/product-history.php, product-history.js). Wykres: chart.css. */
.mrf-p .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.mrf-p .seg button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); padding: 7px 12px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.mrf-p .seg button + button { border-left: 1px solid var(--line); }
.mrf-p .seg button.on { background: var(--ink); color: #fff; }
.mrf-p .hist .hk { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
.mrf-p .hist .gchart { min-height: 260px; }
.mrf-p .hist .gchart .mv { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.mrf-p .hist .legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.mrf-p .hist .legend i { display: inline-block; width: 18px; border-top: 2.2px solid var(--up); vertical-align: middle; margin-right: 6px; }
.mrf-p .hist .legend i.sp { border-top: 2px dashed var(--blue); }
.mrf-p .hist .hstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 14px; }
.mrf-p .hist .hstats > div { background: var(--panel); padding: 12px 14px; }
.mrf-p .hist .hstats .sv { font-size: 18px; }
.mrf-p .hist .hnote { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) {
	.mrf-p .hist .gchart { min-height: 220px; }
	.mrf-p .hist .hstats { grid-template-columns: 1fr 1fr; }
}
