/* Pálivé omáčky – stupnice pálivosti */

.po-scale-filter { margin: 0 0 2em; }
.po-scale-filter__title { margin: 0 0 .5em; }

.po-scale {
	display: grid;
	grid-template-columns: repeat(13, minmax(0, 1fr));
	gap: 3px;
	border-radius: 12px;
	overflow: hidden;
}
.po-scale__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 70px;
	padding: 0 0 10px;
	background: var(--po-c);
	color: #fff;
	font-weight: 800;
	font-size: 18px;
	line-height: 1;
	text-decoration: none !important;
	transition: filter .15s;
}
.po-scale__step.is-light { color: #1d1a19; }
a.po-scale__step:hover { filter: brightness(1.08); color: #fff; }
a.po-scale__step.is-light:hover { color: #1d1a19; }
.po-scale__step.is-dim { opacity: .45; }
.po-scale__step.is-empty { opacity: .3; }
.po-scale__step.is-empty { cursor: default; }
.po-scale__step.is-active { box-shadow: inset 0 -5px 0 rgba(255,255,255,.85); }
.po-scale__step.is-light.is-active { box-shadow: inset 0 -5px 0 rgba(0,0,0,.6); }
.po-scale__count {
	position: absolute;
	top: 8px; left: 0; right: 0;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	opacity: .85;
}
.po-scale-legend {
	display: flex;
	justify-content: space-between;
	margin-top: 6px;
	font-size: 13px;
	opacity: .75;
}
.po-scale-note { margin: .6em 0 0; font-size: 14px; }

/* štítek a pruh ve výpisu produktů */
.woocommerce ul.products li.product,
.wc-block-product,
.po-has-badge { position: relative; }
.po-badge {
	position: absolute;
	top: 10px; left: 10px;
	z-index: 2;
	padding: 6px 8px;
	border-radius: 6px;
	background: var(--po-c);
	color: #fff;
	font-weight: 800;
	font-size: 14px;
	line-height: 1;
}
.po-badge.is-light { color: #1d1a19; }
.po-bar {
	position: relative;
	display: block;
	height: 5px;
	margin: 10px 0;
	border-radius: 3px;
	overflow: hidden;
	background: linear-gradient(90deg, #d9e88a, #f6b52e 30%, #de4320 58%, #7d0c2c 82%, #2c0718);
}
.po-bar i { position: absolute; top: 0; bottom: 0; right: 0; background: #e6e0dc; }

/* stránka produktu */
.po-single-scale { margin: 1em 0; }
.po-single-scale__cells {
	display: grid;
	grid-template-columns: repeat(13, 1fr);
	gap: 2px;
	max-width: 360px;
}
.po-single-scale__cells span { height: 10px; border-radius: 2px; background: #e6e0dc; }
.po-single-scale__cells span.is-on { background: var(--po-c); }
.po-single-scale__caption { margin: .4em 0 0; font-size: 14px; opacity: .8; }
.po-warning {
	margin: 1em 0;
	padding: 10px 12px;
	border-radius: 6px;
	background: #fff3f3;
	color: #7a0a1c;
	font-size: 14px;
}

@media (max-width: 620px) {
	.po-scale { gap: 2px; }
	.po-scale__step { height: 54px; font-size: 11px; letter-spacing: -.06em; padding-bottom: 8px; }
	.po-scale__count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.po-scale__step { transition: none; }
}
