/* PeakRiders comparison: the toggle on cards, the bar at the bottom and the table in a full-screen sheet. */
/* The toggle: a light grey button with a compare icon next to "Wybierz rozmiar", dark with a tick once the board is in the comparison. */
.pcm-add{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;margin:8px 0 0 8px;padding:0 13px;vertical-align:top;background:#eef1f3;border:0;border-radius:0;box-shadow:none;color:#111a22;font:700 11px/1 Arial,Helvetica,sans-serif;letter-spacing:.02em;white-space:nowrap;cursor:pointer;transition:background-color .15s,color .15s,box-shadow .15s}
.pcm-add:hover{background:#fff;box-shadow:inset 0 0 0 1px #111a22}
.pcm-add.is-on{background:#111a22;color:#fff;box-shadow:none}
.pcm-add.is-on:hover{background:#26323c}
.pcm-add:focus-visible{outline:2px solid #111a22;outline-offset:2px}
/* "Wybierz rozmiar" has a 10px top and 12px side margin: same top edge, a 12px gap between the two. */
.pcm-add.is-card{margin:10px 0 0 -4px}
.pcm-ico{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pcm-ico-on,.pcm-add.is-on .pcm-ico-add{display:none}
.pcm-add.is-on .pcm-ico-on{display:block}
.pcm-add.is-single{display:flex;width:100%;max-width:532px;height:50px;margin:12px 0 0;gap:10px;background:#fff;box-shadow:inset 0 0 0 1.5px #111a22;font:600 15px/1 'Inter Tight',-apple-system,'Segoe UI',Roboto,Arial,sans-serif;letter-spacing:0}
.pcm-add.is-single .pcm-ico{width:19px;height:19px}
.pcm-add.is-single:hover{background:#eef1f3}
.pcm-add.is-single.is-on{background:#111a22;color:#fff;box-shadow:none}

.pcm-bar{position:fixed;left:0;right:0;bottom:0;z-index:9990;background:#111a22;color:#fff;box-shadow:0 -6px 24px rgba(0,0,0,.18);font:400 14px 'Inter Tight',Arial,sans-serif}
.pcm-bar-in{max-width:1400px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;gap:16px}
.pcm-bar-title{font:600 18px 'Barlow Condensed',Impact,sans-serif;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap}
.pcm-bar-title em{font-style:normal;opacity:.6;margin-left:4px}
.pcm-bar ul{display:flex;gap:10px;list-style:none;margin:0;padding:0;flex:1;min-width:0}
.pcm-bar li{display:flex;align-items:center;gap:8px;min-width:0;flex:1;max-width:240px;background:rgba(255,255,255,.08);border-radius:8px;padding:4px 6px 4px 4px}
.pcm-bar li.is-empty{background:none;border:1px dashed rgba(255,255,255,.25)}
.pcm-thumb{width:40px;height:40px;border-radius:6px;background:#fff;flex:none;overflow:hidden;display:grid;place-items:center}
.pcm-bar li.is-empty .pcm-thumb{background:none}
.pcm-thumb img{width:100%;height:100%;object-fit:contain}
.pcm-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.pcm-x{background:none;border:0;color:inherit;font-size:20px;line-height:1;cursor:pointer;opacity:.7;padding:2px 6px}
.pcm-x:hover{opacity:1}
.pcm-bar-act{display:flex;gap:10px;align-items:center}
.pcm-clear{background:none;border:0;color:#fff;opacity:.75;text-decoration:underline;cursor:pointer;font:inherit}
.pcm-go{background:#fff;color:#111a22;border:0;border-radius:999px;padding:10px 20px;font:600 14px 'Inter Tight',Arial,sans-serif;cursor:pointer;white-space:nowrap}
.pcm-go[disabled]{opacity:.45;cursor:not-allowed}
body.pcm-has-bar{padding-bottom:72px}

.pcm-toast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,20px);background:#111a22;color:#fff;padding:10px 16px;border-radius:8px;font:500 14px 'Inter Tight',Arial,sans-serif;opacity:0;pointer-events:none;transition:.25s;z-index:9999}
.pcm-toast.is-on{opacity:1;transform:translate(-50%,0)}

html.pcm-lock{overflow:hidden}
.pcm-modal{position:fixed;inset:0;z-index:9995;background:rgba(17,26,34,.55);display:flex;align-items:stretch;justify-content:center;padding:24px}
.pcm-sheet{background:#fff;color:#111a22;border-radius:14px;width:100%;max-width:1400px;display:flex;flex-direction:column;overflow:hidden;font:400 14px 'Inter Tight',Arial,sans-serif}
.pcm-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #e4e8eb}
.pcm-sheet-head h2{margin:0;font:600 26px 'Barlow Condensed',Impact,sans-serif;text-transform:uppercase}
.pcm-close{background:none;border:0;font-size:30px;line-height:1;cursor:pointer;color:#111a22}
.pcm-body{overflow:auto;flex:1}
.pcm-wait{padding:40px;text-align:center;color:#5d6a73}

.pcm-table{border-collapse:separate;border-spacing:0;width:100%;min-width:calc(170px + var(--cols) * 230px);table-layout:fixed}
.pcm-table th,.pcm-table td{padding:10px 14px;border-bottom:1px solid #eef1f3;text-align:left;vertical-align:top}
.pcm-table tbody th{width:170px;font-weight:600;color:#5d6a73;position:sticky;left:0;background:#fff;z-index:1}
.pcm-table thead th{position:sticky;top:0;background:#fff;z-index:2;border-bottom:1px solid #d9dfe3}
.pcm-table thead th.pcm-corner{left:0;z-index:3;width:170px;vertical-align:bottom}
.pcm-head{position:relative}
.pcm-head a{color:#111a22;text-decoration:none;display:block}
/* Product photos sit on white, so they are blended into one even grey tile instead of a white box on grey. */
.pcm-head .pcm-img{display:block;height:200px;padding:14px;background:#f3f4f5;border-radius:10px;margin-bottom:10px;overflow:hidden}
.pcm-head .pcm-img img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .3s ease}
.pcm-head a:hover .pcm-img img{transform:scale(1.04)}
.pcm-head .pcm-title{display:block;font-weight:600;line-height:1.3}
.pcm-head a:hover .pcm-title{text-decoration:underline}
.pcm-price{display:block}
.pcm-head .pcm-x{position:absolute;top:12px;right:16px;color:#111a22;background:#fff;border-radius:50%;width:30px;height:30px;padding:0;box-shadow:0 1px 4px rgba(0,0,0,.15);z-index:1}
.pcm-price{margin:6px 0;font-weight:600}
.pcm-price .amount{white-space:nowrap}
.pcm-price .woocommerce-Price-currencySymbol{display:inline}
.pcm-price del{opacity:.55;font-weight:400;margin-right:4px}
.pcm-view{font-size:13px;text-decoration:underline!important}
.pcm-diff{display:flex;gap:8px;align-items:center;font-weight:500;color:#111a22;font-size:13px;cursor:pointer}
.pcm-table.only-diff tr.is-same{display:none}
.pcm-sizes{width:100%;border-collapse:collapse;font-size:13px}
.pcm-sizes th,.pcm-sizes td{padding:4px 6px!important;border-bottom:1px solid #f0f2f3!important;position:static!important;width:auto!important;background:none!important;color:#111a22!important;font-weight:400;white-space:nowrap}
.pcm-sizes thead th{font-weight:600;color:#5d6a73!important;font-size:12px}
.pcm-sizes small{color:#8a959c;font-weight:400}
.pcm-sizes th a{color:#111a22;font-weight:600}
.pcm-sizes tr.is-out{opacity:.5}
.pcm-size-row td{overflow-x:auto}

@media (max-width:760px){
	.pcm-bar-in{flex-wrap:wrap;gap:8px;padding:8px 12px}
	.pcm-bar-title{font-size:16px}
	.pcm-bar ul{order:3;flex-basis:100%}
	.pcm-bar li{padding:3px}
	.pcm-name{display:none}
	.pcm-bar-act{margin-left:auto}
	body.pcm-has-bar{padding-bottom:116px}
	.pcm-modal{padding:0}
	.pcm-sheet{border-radius:0}
	.pcm-table{min-width:calc(110px + var(--cols) * 170px)}
	.pcm-table tbody th,.pcm-table thead th.pcm-corner{width:110px}
	.pcm-head .pcm-img{height:130px;padding:8px}
	/* Narrow cards: the button goes under "Wybierz rozmiar", so it takes the same left edge. */
	.pcm-add.is-card{padding:0 10px;margin:8px 0 0 8px}
}
