/**
 * Protega Fogkalkylator — frontend.
 * Visual system aligned with Steel Calculator (protega.se/steel-calculator-sv/).
 */

.pfk {
	--pfk-red: #c21f2f;
	--pfk-red-dark: #a21926;
	--pfk-gray-900: #1f2328;
	--pfk-gray-700: #4b5563;
	--pfk-gray-500: #6b7280;
	--pfk-gray-300: #d1d5db;
	--pfk-gray-200: #e5e7eb;
	--pfk-gray-100: #f3f4f6;
	--pfk-white: #ffffff;
	--pfk-radius: 12px;
	--pfk-radius-sm: 10px;
	--pfk-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
	--pfk-font: "Inter", "Helvetica Neue", Arial, sans-serif;

	--pfk-color-text: var(--pfk-gray-900);
	--pfk-color-muted: var(--pfk-gray-500);
	--pfk-color-border: var(--pfk-gray-200);
	--pfk-color-bg: var(--pfk-gray-100);
	--pfk-color-surface: var(--pfk-white);
	--pfk-color-accent: var(--pfk-red);
	--pfk-color-warning: var(--pfk-red);
	--pfk-gap: 16px;

	box-sizing: border-box;
	background: var(--pfk-white);
	color: var(--pfk-gray-900);
	font-family: var(--pfk-font);
	margin: 0 auto;
	max-width: 1120px;
	padding: 32px 24px 48px;
}

.pfk *,
.pfk *::before,
.pfk *::after {
	box-sizing: border-box;
}

.pfk-sr-only {
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.pfk-header {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 32px;
}

.pfk-title {
	color: var(--pfk-red);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.2;
	margin: 0 0 8px;
}

.pfk-lead {
	color: var(--pfk-gray-500);
	font-size: 1rem;
	line-height: 1.5;
	margin: 0;
}

.pfk-toolbar {
	align-items: center;
	color: var(--pfk-gray-500);
	display: flex;
	flex-shrink: 0;
	font-size: 14px;
	gap: 10px;
	justify-content: flex-end;
	margin-left: auto;
}

.pfk-lang-label {
	margin: 0;
}

.pfk-lang {
	background: var(--pfk-gray-100);
	border: 1px solid var(--pfk-gray-200);
	border-radius: 999px;
	display: inline-flex;
	overflow: hidden;
}

.pfk-lang__btn {
	background: transparent;
	border: 0;
	color: var(--pfk-gray-500);
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	padding: 6px 14px;
}

.pfk-lang__btn.is-active {
	background: var(--pfk-red);
	color: var(--pfk-white);
}

.pfk-lang__btn:focus-visible {
	outline: 2px solid var(--pfk-red);
	outline-offset: 2px;
}

@media (max-width: 520px) {
	.pfk-lang-label {
		display: none;
	}
}

.pfk-product-static {
	color: var(--pfk-gray-900);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

a.pfk-product-static--link {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	width: fit-content;
}

a.pfk-product-static--link:hover,
a.pfk-product-static--link:focus-visible {
	color: var(--pfk-red);
}

a.pfk-product-static--link:focus-visible {
	outline: 2px solid var(--pfk-red);
	outline-offset: 3px;
}

.pfk-form {
	margin: 0;
}

.pfk-form > * + .pfk-fields,
.pfk-form > * + .pfk-field--chips,
.pfk-form > * + .pfk-fieldset,
.pfk-form > * + .pfk-joint-viz {
	margin-top: 20px;
}

.pfk-fields {
	display: grid;
	gap: var(--pfk-gap);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.pfk-fields {
		grid-template-columns: 1fr 1fr;
	}

	.pfk-fields:has(> :only-child) {
		grid-template-columns: 1fr;
	}

	.pfk-field--chips,
	.pfk-field--length {
		grid-column: 1 / -1;
	}
}

.pfk-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.pfk-field label,
.pfk-field__label {
	color: var(--pfk-gray-900);
	font-size: 14px;
	font-weight: 600;
}

.pfk-field input:not([type="range"]),
.pfk-field select {
	background: var(--pfk-white);
	border: 1px solid var(--pfk-gray-200);
	border-radius: var(--pfk-radius-sm);
	color: var(--pfk-gray-900);
	font-family: inherit;
	font-size: 16px;
	padding: 12px 14px;
	width: 100%;
}

.pfk-field input:not([type="range"]):hover,
.pfk-field select:hover {
	border-color: var(--pfk-gray-300);
}

.pfk-field input:not([type="range"]):focus,
.pfk-field select:focus,
.pfk-tab:focus,
.pfk-pill:focus,
.pfk-chip:focus {
	border-color: var(--pfk-red);
	outline: 2px solid transparent;
}

.pfk-field input:not([type="range"]):focus-visible,
.pfk-field select:focus-visible,
.pfk-tab:focus-visible,
.pfk-pill:focus-visible,
.pfk-chip:focus-visible,
.pfk-link:focus-visible {
	box-shadow: 0 0 0 3px rgba(194, 31, 47, 0.22);
	outline: 2px solid var(--pfk-red);
	outline-offset: 2px;
}

.pfk-field--length input {
	max-width: 280px;
}

.pfk-slider__head {
	align-items: baseline;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.pfk-slider__value {
	color: var(--pfk-red);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.pfk-field--slider {
	justify-content: flex-end;
	min-width: 0;
}

.pfk-field--slider input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: inherit;
	display: block;
	height: 28px;
	margin: 0;
	padding: 0;
	width: 100%;
}

.pfk-field--slider input[type="range"]:focus {
	outline: none;
}

.pfk-field--slider input[type="range"]:focus-visible {
	border-radius: 999px;
	box-shadow: 0 0 0 3px rgba(194, 31, 47, 0.22);
	outline: 2px solid var(--pfk-red);
	outline-offset: 3px;
}

.pfk-field--slider input[type="range"]::-webkit-slider-runnable-track {
	background: linear-gradient(to right, var(--pfk-red) var(--pfk-fill, 11%), var(--pfk-gray-200) var(--pfk-fill, 11%));
	border-radius: 999px;
	height: 6px;
}

.pfk-field--slider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	background: var(--pfk-red);
	border: 2px solid var(--pfk-white);
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(17, 24, 39, 0.28);
	cursor: pointer;
	height: 20px;
	margin-top: -7px;
	width: 20px;
}

.pfk-field--slider input[type="range"]::-moz-range-track {
	background: var(--pfk-gray-200);
	border: 0;
	border-radius: 999px;
	height: 6px;
}

.pfk-field--slider input[type="range"]::-moz-range-progress {
	background: var(--pfk-red);
	border-radius: 999px;
	height: 6px;
}

.pfk-field--slider input[type="range"]::-moz-range-thumb {
	background: var(--pfk-red);
	border: 2px solid var(--pfk-white);
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(17, 24, 39, 0.28);
	cursor: pointer;
	height: 20px;
	width: 20px;
}

.pfk-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pfk-chip {
	background: var(--pfk-white);
	border: 1px solid var(--pfk-gray-200);
	border-radius: 999px;
	color: var(--pfk-gray-700);
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 14px;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pfk-chip:hover {
	border-color: var(--pfk-red);
}

.pfk-chip.is-selected {
	background: var(--pfk-red);
	border-color: var(--pfk-red);
	color: var(--pfk-white);
}

.pfk-chip.is-selected:hover {
	background: var(--pfk-red-dark);
	border-color: var(--pfk-red-dark);
}

.pfk-fieldset {
	background: var(--pfk-white);
	border: 1px solid var(--pfk-gray-200);
	border-radius: var(--pfk-radius);
	box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
	margin: 0;
	min-width: 0;
	padding: 16px 20px 20px;
}

.pfk-fieldset[hidden] {
	display: none;
}

.pfk-fieldset legend {
	color: var(--pfk-gray-900);
	font-size: 16px;
	font-weight: 700;
	padding: 0 4px;
}

.pfk-disabled {
	color: var(--pfk-gray-500);
	font-size: 0.95rem;
}

.pfk-link {
	align-self: flex-start;
	background: none;
	border: 0;
	color: var(--pfk-red);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 0;
}

.pfk-results {
	background: var(--pfk-white);
	border: 1px solid var(--pfk-gray-200);
	border-radius: var(--pfk-radius);
	box-shadow: var(--pfk-shadow);
	margin-top: 32px;
	padding: 24px;
}

.pfk-results__title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 16px;
}

.pfk-results__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pfk-results__item {
	border-top: 1px solid var(--pfk-gray-200);
	color: var(--pfk-gray-700);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 10px 0;
}

.pfk-results__item:first-child {
	border-top: 0;
	padding-top: 0;
}

.pfk-results__item.is-emphasis {
	border-top-style: dashed;
	font-weight: 700;
	margin-top: 8px;
	padding-top: 16px;
}

.pfk-results__item.is-emphasis:first-child {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.pfk-results__item.is-emphasis dd {
	color: var(--pfk-gray-900);
	font-weight: 700;
}

.pfk-results__item dt,
.pfk-results__label {
	color: var(--pfk-gray-500);
	font-weight: 400;
	margin: 0;
}

.pfk-results__item.is-emphasis dt {
	color: var(--pfk-gray-900);
	font-weight: 700;
}

.pfk-results__item dd {
	color: var(--pfk-gray-900);
	margin: 0;
	text-align: right;
}

.pfk-results__sub {
	color: var(--pfk-gray-500);
	font-weight: 400;
	margin-left: 0.25rem;
}

.pfk-results__note {
	color: var(--pfk-red);
	font-size: 14px;
	font-weight: 600;
	margin: 16px 0 0;
}

.pfk-joint-viz {
	background: var(--pfk-white);
	border: 1px solid var(--pfk-gray-200);
	border-radius: 16px;
	box-shadow: var(--pfk-shadow);
	margin: 0;
	overflow: hidden;
	padding: 12px 8px 4px;
}

.pfk-joint-viz__svg {
	display: block;
	height: auto;
	max-height: 240px;
	width: 100%;
}

.pfk-joint-viz__bg {
	fill: #f7f8fa;
}

.pfk-joint-viz__wall {
	fill: #c5c9ce;
	stroke: #9aa1a8;
	stroke-width: 1;
	transition: x 0.2s ease, y 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.pfk-joint-viz__sealant {
	fill: var(--pfk-red);
	transition: x 0.2s ease, y 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.pfk-joint-viz line {
	stroke: var(--pfk-gray-900);
	stroke-linecap: square;
	stroke-width: 1.25;
	transition: x1 0.2s ease, x2 0.2s ease, y1 0.2s ease, y2 0.2s ease;
}

.pfk-joint-viz text {
	fill: var(--pfk-gray-900);
	font-family: var(--pfk-font);
	font-size: 13px;
	font-weight: 700;
	transition: x 0.2s ease, y 0.2s ease;
}

.pfk-outcome {
	display: grid;
	gap: 12px;
	margin-top: 28px;
}

.pfk-outcome[hidden] {
	display: none;
}

.pfk-outcome__hero {
	background: var(--pfk-gray-900);
	border-radius: 16px;
	color: var(--pfk-white);
	padding: 28px 24px 24px;
	text-align: center;
}

.pfk-outcome__kicker {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin: 0;
}

.pfk-outcome__count {
	font-size: 64px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	margin: 10px 0 8px;
}

.pfk-outcome__unit {
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	font-weight: 600;
	margin: 0;
}

.pfk-outcome__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 1fr;
}

.pfk-outcome__card {
	background: var(--pfk-white);
	border: 1px solid var(--pfk-gray-200);
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
	min-width: 0;
	padding: 16px 18px 18px;
}

.pfk-outcome__label {
	color: var(--pfk-gray-500);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.35;
	margin: 0 0 10px;
}

.pfk-outcome__value {
	color: var(--pfk-gray-900);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0;
}

@media (max-width: 639px) {
	.pfk-outcome__count {
		font-size: 48px;
	}

	.pfk-outcome__grid {
		grid-template-columns: 1fr;
	}

	.pfk-outcome__value {
		font-size: 20px;
	}
}

.pfk-disclaimer {
	color: var(--pfk-gray-500);
	font-size: 14px;
	line-height: 1.45;
	margin: 16px 0 0;
	padding-top: 12px;
	border-top: 1px dashed var(--pfk-gray-200);
}

.pfk--combined {
	max-width: 1120px;
}

.pfk--combined .pfk {
	max-width: none;
	padding: 8px 0 0;
}

.pfk--combined .pfk-panel > .pfk .pfk-title {
	display: none;
}

.pfk--combined .pfk-panel > .pfk .pfk-header {
	margin-bottom: 20px;
}

.pfk-tabs,
.pfk-pills {
	background: var(--pfk-gray-100);
	border: 1px solid var(--pfk-gray-200);
	border-radius: 999px;
	display: inline-flex;
	margin-bottom: 0;
	overflow: hidden;
}

.pfk-tabs {
	margin-bottom: 28px;
}

.pfk-tab,
.pfk-pill {
	background: transparent;
	border: 0;
	color: var(--pfk-gray-500);
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 18px;
}

.pfk-tab.is-active,
.pfk-pill.is-selected {
	background: var(--pfk-red);
	color: var(--pfk-white);
}

.pfk-panel {
	margin: 0;
}

.pfk-panel[hidden] {
	display: none;
}

@media (max-width: 640px) {
	.pfk {
		padding: 24px 16px 40px;
	}

	.pfk-title {
		font-size: 24px;
	}

	.pfk-tabs,
	.pfk-pills {
		display: flex;
		width: 100%;
	}

	.pfk-tab,
	.pfk-pill {
		flex: 1;
	}
}

.pfk-layout {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

.pfk-layout__main {
	min-width: 0;
}

.pfk-imagebox {
	background: var(--pfk-gray-100);
	border: 1px solid var(--pfk-gray-200);
	border-radius: var(--pfk-radius);
	box-shadow: var(--pfk-shadow);
	display: flex;
	flex-direction: column;
	height: 560px;
	min-height: 560px;
	overflow: hidden;
	position: relative;
}

.pfk-imagebox__hero {
	align-items: center;
	background: linear-gradient(180deg, #ffffff 0%, var(--pfk-gray-100) 100%);
	border-bottom: 1px solid var(--pfk-gray-200);
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	justify-content: center;
	min-height: 180px;
	padding: 16px 16px 12px;
}

.pfk-imagebox__photo-wrap {
	align-items: center;
	display: flex;
	height: 168px;
	justify-content: center;
	position: relative;
	width: 140px;
}

.pfk-imagebox__photo {
	display: block;
	height: 168px;
	max-width: 140px;
	object-fit: contain;
	transition: opacity 0.28s ease, transform 0.28s ease, filter 0.28s ease;
	width: auto;
}

.pfk-imagebox.is-bundle .pfk-imagebox__hero {
	flex: 1;
	min-height: 280px;
}

.pfk-imagebox.is-bundle .pfk-imagebox__photo-wrap {
	height: 280px;
	width: 100%;
	max-width: 320px;
}

.pfk-imagebox.is-bundle .pfk-imagebox__photo {
	height: 280px;
	max-width: 320px;
}

.pfk-imagebox.is-bundle .pfk-imagebox__body {
	flex: 0 0 auto;
}

.pfk-imagebox.is-bundle .pfk-pack {
	display: none;
}

.pfk-imagebox.is-compose .pfk-imagebox__hero {
	background: transparent;
	border-bottom: 0;
	flex: 0 0 auto;
	min-height: 0;
	padding: 10px 14px 0;
}

.pfk-imagebox.is-compose .pfk-imagebox__photo-wrap {
	display: none;
}

.pfk-imagebox.is-compose .pfk-imagebox__product-name {
	margin: 0;
}

.pfk-imagebox.is-compose .pfk-imagebox__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 8px 12px 12px;
}

.pfk-imagebox.is-compose .pfk-pack {
	align-content: stretch;
	align-items: stretch;
	display: grid;
	flex: 1 1 auto;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);
	justify-content: stretch;
	min-height: 0;
	overflow: hidden;
	width: 100%;
}

.pfk-imagebox.is-compose .pfk-imagebox__summary {
	flex: 0 0 auto;
	margin-top: 10px;
	padding-top: 10px;
}

.pfk-compose {
	display: grid;
	gap: 12px 16px;
	grid-auto-rows: minmax(0, 1fr);
	height: 100%;
	justify-items: stretch;
	max-height: 100%;
	min-height: 0;
	padding: 4px 2px 0;
	width: 100%;
}

.pfk-compose.is-single {
	grid-template-columns: minmax(0, 1fr);
}

.pfk-compose.is-pair {
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
}

.pfk-compose.is-pair:has(.pfk-compose__part--box + .pfk-compose__part--box) {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.pfk-compose[data-pfk-parts="3"] {
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr) minmax(0, 0.85fr);
}

.pfk-compose[data-pfk-parts="4"] {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}

.pfk-compose[data-pfk-parts="5"] {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}

.pfk-compose[data-pfk-parts="5"] .pfk-compose__part:nth-child(-n+3) {
	grid-column: span 2;
}

.pfk-compose[data-pfk-parts="5"] .pfk-compose__part:nth-child(n+4) {
	grid-column: span 3;
}

.pfk-compose.is-many:not([data-pfk-parts="3"]):not([data-pfk-parts="4"]):not([data-pfk-parts="5"]) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pfk-compose__part {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	height: 100%;
	margin: 0;
	min-height: 0;
	min-width: 0;
	position: relative;
	transform-origin: 50% 50%;
}

.pfk-compose__media {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	min-height: 0;
	min-width: 0;
	position: relative;
	width: 100%;
}

.pfk-compose__img {
	display: block;
	filter: drop-shadow(2px 10px 16px rgba(17, 24, 39, 0.16));
	height: 100%;
	max-height: 100%;
	max-width: 100%;
	min-height: 0;
	min-width: 0;
	object-fit: contain;
	object-position: center center;
	width: 100%;
}

.pfk-compose__caption {
	color: var(--pfk-gray-600, #6b7280);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.25;
	margin: 6px 0 0;
	max-width: 100%;
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pfk-compose__part .pfk-pack__badge {
	bottom: 4px;
	right: 4px;
}

.pfk-compose__part.is-enter {
	animation: pfk-pack-in 0.28s ease both;
}

.pfk-imagebox__photo.is-swapping,
.pfk-imagebox__photo-wrap.is-loading .pfk-imagebox__photo {
	filter: blur(1px);
	opacity: 0.35;
	transform: scale(0.96);
}

.pfk-imagebox__loader {
	border: 2px solid var(--pfk-gray-200);
	border-radius: 50%;
	border-top-color: var(--pfk-red);
	display: none;
	height: 22px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 22px;
	z-index: 1;
}

.pfk-imagebox__photo-wrap.is-loading .pfk-imagebox__loader {
	animation: pfk-spin 0.7s linear infinite;
	display: block;
}

.pfk-imagebox__product-name {
	color: var(--pfk-gray-700);
	font-size: 13px;
	font-weight: 600;
	margin: 8px 0 0;
	text-align: center;
	transition: opacity 0.2s ease;
}

.pfk-imagebox__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	padding: 16px 18px 18px;
	position: relative;
}

.pfk-pack {
	align-content: center;
	align-items: flex-end;
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	gap: 16px 20px;
	justify-content: center;
	min-height: 140px;
	overflow: auto;
}

.pfk-imagebox__empty {
	align-items: center;
	bottom: 52px;
	color: var(--pfk-gray-500);
	display: flex;
	font-size: 13px;
	justify-content: center;
	left: 18px;
	line-height: 1.45;
	margin: 0;
	opacity: 1;
	padding: 0 8px;
	position: absolute;
	right: 18px;
	text-align: center;
	top: 16px;
	transition: opacity 0.2s ease;
}

.pfk-pack__group {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.pfk-pack__group--bundle {
	align-items: center;
	flex: 1 1 100%;
	justify-content: center;
	min-height: 0;
	width: 100%;
}

.pfk-pack__item {
	margin: 0;
	position: relative;
	transform-origin: 50% 100%;
}

.pfk-pack__item.is-enter {
	animation: pfk-pack-in 0.28s ease both;
}

.pfk-pack__item.is-leave {
	animation: pfk-pack-out 0.2s ease both;
	pointer-events: none;
}

.pfk-pack__item--bundle {
	filter: drop-shadow(2px 10px 16px rgba(17, 24, 39, 0.16));
	max-width: 100%;
}

.pfk-pack__bundle {
	display: block;
	height: auto;
	max-height: 240px;
	max-width: min(100%, 280px);
	object-fit: contain;
	object-position: center bottom;
	width: auto;
}

.pfk-pack__shell {
	display: block;
	position: relative;
}

.pfk-pack__item--box .pfk-pack__shell {
	width: 72px;
}

.pfk-pack__item--pallet .pfk-pack__shell {
	width: 108px;
}

.pfk-pack__graphic {
	display: block;
	filter: drop-shadow(2px 6px 10px rgba(17, 24, 39, 0.16));
	height: auto;
	width: 100%;
}

.pfk-pack__thumb {
	display: block;
	filter: drop-shadow(0 1px 2px rgba(17, 24, 39, 0.28));
	height: 30px;
	left: 50%;
	max-width: 22px;
	object-fit: contain;
	object-position: center bottom;
	pointer-events: none;
	position: absolute;
	top: 44%;
	transform: translate(-50%, -50%);
	width: auto;
}

.pfk-pack__item--pallet .pfk-pack__thumb {
	height: 34px;
	max-width: 24px;
	top: 40%;
}

.pfk-pack__item--box {
	filter: drop-shadow(1px 3px 6px rgba(17, 24, 39, 0.08));
	margin-left: -8px;
	z-index: calc(var(--pfk-i, 0) + 1);
}

.pfk-pack__group--box .pfk-pack__item--box:first-child {
	margin-left: 0;
}

.pfk-pack__badge {
	background: var(--pfk-gray-900);
	border-radius: 999px;
	bottom: -6px;
	color: var(--pfk-white);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 4px 7px;
	position: absolute;
	right: -8px;
	z-index: 3;
}

.pfk-imagebox__empty[hidden] {
	display: none;
}

.pfk-imagebox__summary {
	border-top: 1px dashed var(--pfk-gray-200);
	color: var(--pfk-gray-900);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin: 12px 0 0;
	min-height: 1.35em;
	padding-top: 12px;
	text-align: center;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.pfk-imagebox__summary:empty {
	border-top: 0;
	min-height: 0;
	padding-top: 0;
}

.pfk-imagebox__summary.is-changing {
	opacity: 0;
	transform: translateY(4px);
}

@keyframes pfk-pack-in {
	from {
		opacity: 0;
		transform: scale(0.84);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes pfk-pack-out {
	from {
		opacity: 1;
		transform: scale(1);
	}
	to {
		opacity: 0;
		transform: scale(0.84);
	}
}

@keyframes pfk-spin {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@media (min-width: 900px) {
	.pfk-layout {
		grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	}

	.pfk-imagebox {
		height: 560px;
		min-height: 560px;
		position: sticky;
		top: 18px;
	}
}

@media (max-width: 899px) {
	.pfk-layout {
		grid-template-columns: 1fr;
	}

	.pfk-imagebox {
		height: 520px;
		min-height: 520px;
		order: 2;
	}

	.pfk-layout__main {
		order: 1;
	}

	.pfk-imagebox__hero {
		min-height: 140px;
		padding: 12px 12px 8px;
	}

	.pfk-imagebox__photo-wrap {
		height: 120px;
		width: 100px;
	}

	.pfk-imagebox__photo {
		height: 120px;
		max-width: 100px;
	}

	.pfk-imagebox.is-bundle .pfk-imagebox__hero {
		min-height: 220px;
	}

	.pfk-imagebox.is-bundle .pfk-imagebox__photo-wrap {
		height: 200px;
	}

	.pfk-imagebox.is-bundle .pfk-imagebox__photo {
		height: 200px;
		max-width: 240px;
	}

	.pfk-pack {
		min-height: 110px;
	}

	.pfk-pack__bundle {
		max-height: 180px;
		max-width: min(100%, 220px);
	}

	.pfk-pack__item--box .pfk-pack__shell {
		width: 58px;
	}

	.pfk-pack__item--pallet .pfk-pack__shell {
		width: 84px;
	}

	.pfk-pack__thumb {
		height: 24px;
		max-width: 18px;
	}

	.pfk-compose {
		gap: 8px 10px;
	}

	.pfk-compose[data-pfk-parts="3"] {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.85fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pfk-pack__item.is-enter,
	.pfk-pack__item.is-leave,
	.pfk-compose__part.is-enter,
	.pfk-imagebox__photo,
	.pfk-imagebox__summary,
	.pfk-imagebox__loader {
		animation: none;
		transition: none;
	}

	.pfk-imagebox__photo.is-swapping,
	.pfk-imagebox__photo-wrap.is-loading .pfk-imagebox__photo {
		filter: none;
		transform: none;
	}
}
