/* metalsradar Fintech: strony kategorii (komponenty bazowe w product.css) */
.mrf-cat .cat-hero { display: grid; grid-template-columns: 1fr; gap: 16px; }
.mrf-cat .eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--up); margin-bottom: 8px; }
.mrf-cat .ch-l { padding: 28px; }
.mrf-cat .ch-l .intro { max-width: 820px; color: var(--muted); }
.mrf-cat .ch-stats { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.mrf-cat .ch-stats b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mrf-cat .ch-stats span { font-size: 13px; color: var(--muted); }

.mrf-cat .quickw { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.mrf-cat .quickw a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); }
.mrf-cat .quickw a span { font-size: 12px; color: var(--muted); background: var(--chip); border-radius: 999px; padding: 1px 8px; }
.mrf-cat .quickw a:hover { border-color: var(--up); color: var(--up); }

.mrf-cat .sec { margin-top: 24px; }
.mrf-cat .toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.mrf-cat .toolbar .cnt { color: var(--muted); font-size: 14px; font-weight: 600; }
.mrf-cat .cnt-h { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.mrf-cat .toolbar .cnt b { color: var(--ink); }
.mrf-cat .woocommerce-ordering { margin: 0; }
.mrf-cat .woocommerce-ordering select { height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 34px 0 12px; font: 600 14px var(--f-ui); background-color: var(--panel); }

.mrf-cat .grid-p { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mrf-cat .pcard { display: flex; flex-direction: column; gap: 6px; padding: 14px; color: var(--ink); transition: border-color .15s, transform .15s; }
.mrf-cat .pcard:hover { border-color: var(--up); transform: translateY(-2px); color: var(--ink); }
.mrf-cat .pimg { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--soft); border-radius: 12px; margin-bottom: 6px; overflow: hidden; }
.mrf-cat .pimg img { max-width: 84%; max-height: 84%; width: auto; height: auto; object-fit: contain; }
.mrf-cat .pimg img.ph { max-width: 28%; opacity: .3; }
.mrf-cat .pname { font-weight: 700; font-size: 15px; line-height: 1.3; min-height: 2.6em; }
.mrf-cat .pfrom small { color: var(--muted); font-size: 13px; }
.mrf-cat .pfrom b { font-size: 19px; font-weight: 800; color: var(--up); font-variant-numeric: tabular-nums; }
.mrf-cat .pmeta { font-size: 12.5px; color: var(--muted); }
.mrf-cat .pgo { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--up); }

.mrf-cat .pager { display: flex; gap: 6px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.mrf-cat .pager a, .mrf-cat .pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font-weight: 700; color: var(--ink); }
.mrf-cat .pager .current { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }

.mrf-cat .seo .prose { max-width: none; }
.mrf-cat .seo .prose h2 { font-size: 22px; margin: 22px 0 8px; }
.mrf-cat .seo .prose h2:first-child { margin-top: 0; }
.mrf-cat .seo .prose h3 { font-size: 17px; margin: 18px 0 6px; }
.mrf-cat .seo .prose ul, .mrf-cat .seo .prose ol { margin: 0 0 12px 20px; }
.mrf-cat .seo .prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.mrf-cat .seo .prose th, .mrf-cat .seo .prose td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }

@media (max-width: 560px) {
	.mrf-cat .grid-p { grid-template-columns: 1fr 1fr; gap: 10px; }
	.mrf-cat .pcard { padding: 10px; }
	.mrf-cat .pname { font-size: 13.5px; }
	.mrf-cat .pfrom b { font-size: 16px; }
	.mrf-cat .ch-l { padding: 18px; }
}

/* Audyt UX 2026-10-03: nagłówek w dwóch kolumnach (opis | karta cen), zwijany opis na telefonie */
.mrf-cat .cat-hero { grid-template-columns: minmax(0, 1fr) 320px; align-items: stretch; }
.mrf-cat .ch-l .intro { max-width: 70ch; }
.mrf-cat .ch-r { display: flex; flex-direction: column; gap: 10px; padding: 24px; justify-content: center; background: linear-gradient(160deg, var(--up-soft), var(--panel) 70%); }
.mrf-cat .ch-r .k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--up); }
.mrf-cat .ch-price { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.mrf-cat .ch-price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.mrf-cat .ch-nums { display: flex; gap: 24px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mrf-cat .ch-nums b { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mrf-cat .ch-nums span { font-size: 12.5px; color: var(--muted); }
.mrf-cat .ch-spread { margin: 0; font-size: 13.5px; color: var(--muted); }
.mrf-cat .ch-spread b { color: var(--ink); }
.mrf-cat .ch-r .btn { justify-content: center; }
.mrf-cat .ch-more { display: inline-block; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--up-deep, var(--up)); font: 700 14px var(--f-ui, inherit); cursor: pointer; }
@media (max-width: 980px) {
	.mrf-cat .cat-hero { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.mrf-cat .ch-l .intro.clamp:not(.open) { max-height: 6.4em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
	.mrf-cat .ch-r { padding: 18px; }
	.mrf-cat .ch-price { font-size: 28px; }
}
@media (min-width: 761px) { .mrf-cat .ch-more { display: none !important; } }
.mrf-cat .ch-more { text-transform: none; letter-spacing: 0; }

/* Filtry po lewej (makieta kategoria-zlote-monety), inc/category-filters.php */
.mrf-cat .toolbar .tools { display: flex; gap: 8px; align-items: center; }
.mrf-cat .lay { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: start; }
.mrf-cat .filters { padding: 4px 16px 16px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.mrf-cat .fgroup { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 12px 0; min-width: 0; }
.mrf-cat .fgroup legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mrf-cat .fgroup label { clear: both; display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 4px 0; cursor: pointer; color: var(--ink); }
.mrf-cat .fgroup label span { margin-left: auto; color: var(--faint, var(--muted)); font-size: 12px; font-variant-numeric: tabular-nums; }
.mrf-cat .fgroup label.dim { opacity: .45; }
.mrf-cat .fgroup input[type=checkbox] { accent-color: var(--up); width: 16px; height: 16px; flex: none; margin: 0; }
.mrf-cat .factions { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.mrf-cat .mrf-filter-form.js .fapply { display: none; }
.mrf-cat .fclear { font-size: 13.5px; font-weight: 700; color: var(--up); }
.mrf-cat .lay .grid-p { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.mrf-cat .fbtn { display: none; }
@media (max-width: 980px) {
	.mrf-cat .lay { grid-template-columns: 1fr; }
	.mrf-cat .filters { display: none; position: static; max-height: none; }
	.mrf-cat .filters.open { display: block; }
	.mrf-cat .fbtn { display: inline-flex; }
}
.mrf-cat .fprice .frange { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 10px 0 12px; padding: 0; border: 0 !important; border-radius: 999px; background: var(--line) !important; box-shadow: none !important; cursor: pointer; }
.mrf-cat .fprice .frange::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--up); border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--up); }
.mrf-cat .fprice .frange::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--up); border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--up); }
.mrf-cat .fprice .fpv { clear: both; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.mrf-cat .fprice .fpv b { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.mrf-cat .fprice .fmax-num { width: 120px; height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font: 600 14px var(--f-ui); }
.mrf-cat .fprice .fmax-num[hidden] { display: none; }
