/* Typografia: Kadr Inter. Krój i tracking z motywu. Wagi 400/700. Wielkości w rem. */
.zest-skrot,
.zest-karta,
.zest-tabela,
.zest-kafelek {
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: inherit;
	color: inherit;
	box-sizing: border-box;
}
.zest-brand,
.zest-badge,
.zest-specs dt,
.zest-scorebox span,
.zest-kafelek__score span,
.zest-tabela__badge {
	color: color-mix(in srgb, currentColor 65%, var(--wp--preset--color--base, transparent));
}
.zest-skrot *,
.zest-karta *,
.zest-tabela *,
.zest-kafelek * {
	box-sizing: border-box;
}

.zest-skrot {
	margin: 2rem 0;
}
.zest-skrot__list,
.zest-skrot__tiles {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.zest-skrot--lista .zest-skrot__list,
.zest-skrot--hybryda .zest-skrot__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.zest-skrot--hybryda .zest-skrot__list {
	margin-top: 0.75rem;
}
@media (min-width: 600px) {
	.zest-skrot--grid .zest-skrot__list,
	.zest-skrot--hybryda .zest-skrot__tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 782px) {
	.zest-skrot--grid .zest-skrot__list,
	.zest-skrot--hybryda .zest-skrot__tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.zest-skrot--slider .zest-skrot__list {
	display: flex;
	flex-direction: row;
	gap: 0.75rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.zest-skrot--slider .zest-skrot__list::-webkit-scrollbar {
	display: none;
	height: 0;
}
.zest-skrot--slider .zest-kafelek--tile {
	flex: 0 0 min(17rem, 78vw);
	scroll-snap-align: start;
}

.zest-kafelek {
	min-width: 0;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: 0;
	background: none;
}
.zest-kafelek--tile {
	display: flex;
	flex-direction: column;
}
.zest-kafelek--row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.5rem;
	padding: 0.75rem 1rem;
}
.zest-kafelek__photo {
	position: relative;
	display: block;
	overflow: hidden;
	background: none;
}
.zest-kafelek--tile .zest-kafelek__photo {
	aspect-ratio: 4 / 3;
}
.zest-kafelek--row .zest-kafelek__photo {
	flex: 0 0 auto;
	height: 68px;
	width: calc(68px * 4 / 3);
	aspect-ratio: 4 / 3;
}
.zest-kafelek__photo img,
.zest-kafelek .zest-karta__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	object-position: center;
	background: none;
}
.zest-kafelek--tile .zest-kafelek__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 1rem;
	flex: 1;
	min-width: 0;
}
.zest-kafelek--row .zest-kafelek__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 0.5rem 1.5rem;
	flex: 1;
	min-width: 0;
	padding: 0;
}
.zest-kafelek__titles {
	min-width: 0;
}
.zest-kafelek__name {
	display: block;
	text-decoration: none;
	color: inherit;
	font-family: inherit;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: inherit;
	line-height: 1.25;
}
.zest-kafelek--row .zest-kafelek__name {
	font-size: 1.05rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.zest-kafelek__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
}
.zest-kafelek__score strong {
	font-size: 1.1rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: inherit;
	line-height: 1;
}
.zest-kafelek__score span {
	margin-top: 0.15rem;
	font-size: 0.5rem;
	font-weight: 400;
	letter-spacing: inherit;
	text-transform: uppercase;
}
.zest-kafelek--tile .zest-kafelek__btn {
	margin-top: auto;
	width: 100%;
	padding-top: 0.25rem;
}
.zest-kafelek--tile .zest-kafelek__btn .wp-block-button__link {
	width: 100%;
	box-sizing: border-box;
}
.zest-kafelek--row .zest-kafelek__btn {
	margin: 0;
	width: auto;
	justify-self: end;
}
@media (max-width: 781px) {
	.zest-skrot--lista,
	.zest-skrot--hybryda .zest-skrot__list {
		overflow-x: auto;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.zest-skrot--lista::-webkit-scrollbar,
	.zest-skrot--hybryda .zest-skrot__list::-webkit-scrollbar {
		display: none;
		height: 0;
	}
	.zest-skrot--lista .zest-skrot__list,
	.zest-skrot--hybryda .zest-skrot__list {
		min-width: 36rem;
	}
	.zest-kafelek--row {
		min-width: 36rem;
	}
}
.zest-kafelek .zest-badge {
	align-self: flex-start;
	width: auto;
	max-width: 100%;
	margin: 0.25rem 0 0;
	padding: 0;
	background: none;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: inherit;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zest-rank {
	display: inline-block;
	margin-right: 0.35em;
	color: inherit;
	opacity: 1;
	font-variant-numeric: tabular-nums;
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: inherit;
}

.zest-karta {
	container-type: inline-size;
	container-name: zestkarta;
	display: block;
	margin: 1.5rem 0 2.25rem;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: 0;
	overflow: hidden;
	scroll-margin-top: 5rem;
	box-sizing: border-box;
}
.zest-karta__layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}
.zest-karta__media {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	background: none;
}
.zest-karta .zest-karta__img,
.zest-karta img.zest-karta__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}
.zest-kafelek--row .zest-badge {
	font-size: 0.65rem;
}
.zest-badge {
	display: block;
	margin: 0.35rem 0 0;
	padding: 0;
	border-radius: 0;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: inherit;
	line-height: 1.25;
	text-transform: uppercase;
	background: none;
}
.zest-karta__body {
	min-width: 0;
	flex: 1 1 auto;
	padding: 1.25rem;
}
@container zestkarta (min-width: 36rem) {
	.zest-karta__layout {
		flex-direction: row;
		align-items: center;
	}
	.zest-karta__media {
		flex: 0 0 42%;
		width: 42%;
		max-width: 18rem;
		align-self: center;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.zest-karta__body {
		padding: 1.75rem;
	}
}
.zest-karta__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}
.zest-karta__titles {
	min-width: 0;
	flex: 1;
}
.zest-karta__name {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	font-family: inherit;
	letter-spacing: inherit;
	line-height: 1.15;
	word-break: break-word;
}
.zest-karta__name .zest-rank {
	font-size: inherit;
	font-weight: inherit;
	margin-right: 0.4em;
	letter-spacing: inherit;
	vertical-align: baseline;
}
.zest-brand {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: inherit;
	text-transform: uppercase;
}
.zest-karta__opis {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.625;
	font-family: inherit;
	color: inherit;
}
.zest-scorebox {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	flex-shrink: 0;
	background: none;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: 0;
}
.zest-scorebox strong {
	font-size: 1.5rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: inherit;
	line-height: 1;
}
.zest-scorebox span {
	margin-top: 0.22em;
	font-size: 0.625rem;
	font-weight: 400;
	letter-spacing: inherit;
	text-transform: uppercase;
}
.zest-specs dt {
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: inherit;
	text-transform: uppercase;
}
.zest-specs dd {
	margin: 0.25em 0 0;
	font-size: 0.75rem;
	font-weight: 700;
}
.zest-specs {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0.5rem 2rem;
	margin: 0;
	padding: 1rem 0 0;
	border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.zest-offers {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	margin-top: 1.25rem;
}
.zest-karta .zest-offers .wp-block-button {
	margin: 0;
	width: 100%;
}
.zest-karta .zest-offers .wp-block-button__link {
	width: 100%;
	box-sizing: border-box;
}
@media (min-width: 600px) {
	.zest-karta .zest-offers:has(.wp-block-button:nth-child(2)) {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
	}
	.zest-karta .zest-offers:has(.wp-block-button:nth-child(2)) .wp-block-button {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}
}

.zest-tabela {
	margin: 2rem 0;
	font-size: 0.875rem;
	font-weight: 400;
	color: inherit;
}
.zest-tabela__wrap {
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	background: none;
}
.zest-tabela__wrap::-webkit-scrollbar {
	display: none;
	height: 0;
	width: 0;
}
.zest-tabela table,
.zest-tabela .zest-tabela__table {
	width: max-content;
	min-width: 100%;
	margin: 0;
	border: none !important;
	border-collapse: collapse;
	border-spacing: 0;
	background: none !important;
	box-shadow: none !important;
	font-family: inherit;
	font-size: inherit;
	table-layout: auto;
}
.zest-tabela th,
.zest-tabela td {
	border: none !important;
	border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent) !important;
	background: none !important;
	padding: 0.75rem 1rem;
	text-align: left;
	vertical-align: top;
	white-space: nowrap;
}
.zest-tabela tbody tr:last-child td {
	border-bottom: none !important;
}
.zest-tabela th {
	font-size: inherit;
	font-weight: 700;
	letter-spacing: inherit;
	text-transform: none;
	opacity: 1;
	white-space: nowrap;
}
.zest-tabela a,
.zest-tabela a:hover,
.zest-tabela a:focus,
.zest-tabela a:visited {
	color: inherit !important;
	text-decoration: none !important;
	border: none !important;
	box-shadow: none !important;
	background: none !important;
	font-weight: inherit;
}
.zest-tabela__name {
	font-size: inherit;
	font-weight: 700;
	white-space: nowrap;
}
.zest-tabela__num {
	display: inline-block;
	margin-right: 0.5rem;
	font-variant-numeric: tabular-nums;
	font-size: inherit;
	font-weight: 400;
}
.zest-tabela__badge {
	display: block;
	margin: 0.125rem 0 0;
	padding: 0;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: inherit;
	line-height: 1.3;
	text-transform: none;
	background: none;
	white-space: nowrap;
}
.zest-tabela__score {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.zest-specs {
		grid-template-columns: minmax(0, 1fr);
	}
}
