.fh-pa,
.fh-pa * {
	box-sizing: border-box;
}

.fh-pa,
.fh-pa h1,
.fh-pa h3,
.fh-pa p,
.fh-pa a,
.fh-pa span,
.fh-pa label,
.fh-pa button,
.fh-pa input,
.fh-pa strong,
.fh-pa s {
	font-family: "Assistant", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.fh-pa h1,
.fh-pa h3,
.fh-pa p,
.fh-pa ul,
.fh-pa button {
	margin: 0;
	padding: 0;
}

.fh-pa a {
	color: inherit;
	text-decoration: none;
}

.fh-pa {
	--fh-red: #e30613;
	--fh-black: #111111;
	--fh-text: #1a1a1a;
	--fh-muted: #8a8a8a;
	--fh-line: #e8e8e8;
	--fh-card: #f3f3f3;
	--fh-soft: #f6f6f6;
	--fh-max: 1240px;
	--fh-pa-cols-desktop: 4;
	width: 100%;
	max-width: var(--fh-max);
	margin: 0 auto;
	padding: 28px 20px 110px;
	color: var(--fh-text);
	font-family: "Assistant", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: #fff;
}

.fh-pa__hero {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 28px;
}

.fh-pa__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
	color: #000;
}

.fh-pa__desc {
	margin: 0 auto;
	max-width: 680px;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--fh-muted);
	font-weight: 400;
}

.fh-pa-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 8px 0 28px;
}

.fh-pa-cards__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 168px;
	padding: 22px 12px 18px;
	background: var(--fh-card);
	border-radius: 14px;
	text-decoration: none;
	color: #111;
	transition: background 0.18s ease, transform 0.18s ease;
}

.fh-pa-cards__item:hover {
	background: #ececec;
	transform: translateY(-1px);
}

.fh-pa-cards__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 64px;
	margin-bottom: 14px;
	color: #111;
}

.fh-pa-cards__icon svg,
.fh-pa-cards__icon img {
	width: 58px;
	height: 58px;
	object-fit: contain;
}

.fh-pa-cards__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
}

.fh-pa-count {
	display: none;
	width: 100%;
	text-align: center;
	font-size: 14px;
	color: #444;
	padding: 4px 0 18px;
}

.fh-pa-sort {
	position: relative;
	display: flex;
	justify-content: flex-end;
	margin: 0 0 18px;
}

.fh-pa-sort__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	font: inherit;
	font-size: 14px;
	color: #222 !important;
	cursor: pointer;
}

.fh-pa-sort__btn strong {
	font-weight: 700;
}

.fh-pa-sort__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 20;
	min-width: 220px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--fh-line);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.fh-pa-sort__menu button {
	width: 100%;
	border: 0;
	background: transparent;
	padding: 10px 16px;
	text-align: left;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
	color: #222;
}

.fh-pa-sort__menu button:hover,
.fh-pa-sort__menu button[aria-current="true"] {
	background: var(--fh-soft);
}

.fh-pa__layout {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	column-gap: 40px;
	align-items: start;
	border-top: 1px solid #ececec;
	padding-top: 18px;
}

.fh-pa-sidebar {
	min-width: 0;
}

.fh-pa__filters-label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 0 14px;
	border-bottom: 1px solid #ececec;
	font-size: 15px;
	font-weight: 500;
	color: #111;
	line-height: 1;
}

.fh-pa__filters-label svg {
	width: 16px;
	height: 16px;
	display: block;
	flex: 0 0 16px;
}

.fh-pa__main {
	min-width: 0;
}

.fh-pa-acc {
	border-bottom: 1px solid #ececec;
	background: transparent;
}

.fh-pa-acc__btn {
	all: unset;
	box-sizing: border-box;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
}

.fh-pa-acc__chev {
	position: relative;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #f0f0f0;
}

.fh-pa-acc__chev::after {
	content: "";
	position: absolute;
	top: 8px;
	left: 7px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #1a1a1a;
}

.fh-pa-acc.is-open > .fh-pa-acc__btn .fh-pa-acc__chev,
.fh-pa-sort.is-open .fh-pa-acc__chev {
	background: #111;
}

.fh-pa-acc.is-open > .fh-pa-acc__btn .fh-pa-acc__chev::after,
.fh-pa-sort.is-open .fh-pa-acc__chev::after {
	top: 6px;
	border-top: 0;
	border-bottom: 5px solid #fff;
}

.fh-pa-acc__body {
	display: none;
	padding: 0 0 12px;
}

.fh-pa-acc.is-open > .fh-pa-acc__body {
	display: block;
}

.fh-pa-acc__searchwrap {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	margin: 0 0 10px;
	padding: 0 10px;
	border: 1px solid #ececec;
	border-radius: 4px;
	background: #fff;
	color: #999;
}

.fh-pa-acc__searchwrap svg {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
}

.fh-pa-acc__search {
	width: 100%;
	height: 100%;
	border: 0 !important;
	outline: 0;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 !important;
	font-size: 13px;
	color: #111;
	-webkit-appearance: none;
	appearance: none;
}

.fh-pa-acc__search::-webkit-search-decoration,
.fh-pa-acc__search::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.fh-pa-acc__list {
	max-height: 260px;
	overflow-y: auto;
	padding-right: 2px;
}

.fh-pa-acc__list::-webkit-scrollbar {
	width: 3px;
}

.fh-pa-acc__list::-webkit-scrollbar-thumb {
	background: #ddd;
	border-radius: 99px;
}

.fh-pa-check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	margin: 0;
	cursor: pointer;
}

.fh-pa-check input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.fh-pa-check__box {
	flex: 0 0 15px;
	width: 15px;
	height: 15px;
	margin-top: 1px;
	border: 1px solid #cfcfcf;
	border-radius: 2px;
	background: #fff;
	box-sizing: border-box;
}

.fh-pa-check input:checked + .fh-pa-check__box {
	border-color: #111;
	background: #111 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 6.2 4.7 9 10 3' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 10px no-repeat;
}

.fh-pa-check__txt {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #7a7a7a;
}

.fh-pa-price__inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.fh-pa-price__inputs > label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	font-size: 12px;
	font-weight: 600;
	color: #888;
	text-transform: none;
	letter-spacing: 0;
}

.fh-pa-price__field {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 10px;
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	background: #fff;
}

.fh-pa-price__field em {
	font-style: normal;
	font-size: 13px;
	font-weight: 600;
	color: #111;
}

.fh-pa-price__inputs input {
	width: 100%;
	border: 0 !important;
	outline: 0;
	box-shadow: none !important;
	font: inherit;
	font-size: 13px;
	color: #111 !important;
	background: transparent !important;
	padding: 0 !important;
	height: auto !important;
	min-height: 0 !important;
}

.fh-pa-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 12px;
	min-height: 200px;
}

.fh-pa-grid.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.fh-pa-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.fh-pa-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	margin-bottom: 12px;
	background: #fff;
	overflow: hidden;
}

.fh-pa-card__media img,
.fh-pa-card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.fh-pa-card__badge {
	position: absolute;
	top: 8px;
	left: 0;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--fh-red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.fh-pa-card__title {
	margin: 0 0 8px;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #111;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fh-pa-card__prices {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}

.fh-pa-card__price {
	color: var(--fh-red);
	font-size: 15px;
	font-weight: 700;
}

.fh-pa-card__regular {
	color: #9a9a9a;
	font-size: 13px;
	font-weight: 400;
	text-decoration: line-through;
}

.fh-pa-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 64px 16px;
	color: #777;
}

.fh-pa-empty strong {
	display: block;
	margin-bottom: 8px;
	font-size: 18px;
	font-weight: 700;
	color: #111;
}

.fh-pa-empty p {
	margin: 0;
	font-size: 15px;
	color: #777;
}

.fh-pa-pages {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 4px;
	margin-top: 48px;
}

.fh-pa-pages button {
	appearance: none !important;
	-webkit-appearance: none !important;
	min-width: 40px;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	box-shadow: none !important;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 40px;
	color: #111 !important;
	cursor: pointer;
}

.fh-pa-pages button:hover:not(:disabled):not(.is-current) {
	background: #f3f3f3 !important;
}

.fh-pa-pages button.is-current {
	background: #111 !important;
	color: #fff !important;
}

.fh-pa-pages button:disabled {
	opacity: 0.28;
	cursor: default;
}

.fh-pa-pages__nav svg {
	width: 16px;
	height: 16px;
	display: block;
	margin: 0 auto;
}

.fh-pa-pages__dots {
	width: 20px;
	text-align: center;
	color: #888;
	font-size: 14px;
	line-height: 40px;
}

.fh-pa-fab {
	display: none;
}

.fh-pa-sheet {
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.fh-pa-sheet[hidden] {
	display: none;
}

.fh-pa-sheet__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, 0.42);
	backdrop-filter: blur(2px);
}

.fh-pa-sheet__panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	max-height: 92vh;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
	padding: 28px 0 0;
	animation: fh-pa-up 0.28s ease;
}

@keyframes fh-pa-up {
	from {
		transform: translateY(24px);
		opacity: 0.6;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.fh-pa-sheet__close {
	position: absolute;
	top: -22px;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #111;
}

.fh-pa-sheet__close svg {
	width: 18px;
	height: 18px;
}

.fh-pa-sheet__scroll {
	overflow: auto;
	padding: 8px 22px 12px;
	-webkit-overflow-scrolling: touch;
}

.fh-pa-sheet__footer {
	padding: 12px 22px 22px;
	background: #fff;
}

.fh-pa-sheet__apply {
	width: 100%;
	height: 54px;
	border: 0;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.fh-pa-sort-list .fh-pa-check__txt {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
	color: #444;
}

body.fh-pa-locked {
	overflow: hidden;
}

@media (min-width: 701px) {
	.fh-pa-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px 16px;
	}
}

@media (max-width: 1100px) {
	.fh-pa {
		--fh-pa-cols-desktop: 3;
	}
}

@media (min-width: 901px) {
	.fh-pa-grid {
		grid-template-columns: repeat(var(--fh-pa-cols-desktop, 4), minmax(0, 1fr));
		gap: 28px 18px;
	}
}

@media (max-width: 900px) {
	.fh-pa {
		padding: 18px 16px 120px;
	}

	.fh-pa-cards {
		display: flex;
		overflow-x: auto;
		gap: 12px;
		padding-bottom: 8px;
		margin-bottom: 8px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.fh-pa-cards::-webkit-scrollbar {
		display: none;
	}

	.fh-pa-cards__item {
		flex: 0 0 104px;
		min-height: 108px;
		padding: 12px 8px 10px;
		scroll-snap-align: start;
		border-radius: 12px;
	}

	.fh-pa-cards__icon,
	.fh-pa-cards__icon svg,
	.fh-pa-cards__icon img {
		width: 48px;
		height: 48px;
	}

	.fh-pa-cards__label {
		font-size: 11px;
	}

	.fh-pa__filters-label,
	.fh-pa-sort,
	.fh-pa-sidebar {
		display: none;
	}

	.fh-pa-count {
		display: block;
	}

	.fh-pa__layout {
		display: block;
		border-top: 0;
		padding-top: 0;
	}

	.fh-pa__main {
		padding-top: 0;
	}

	.fh-pa-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 18px 12px;
	}

	.fh-pa-card__title {
		font-size: 12.5px;
	}

	.fh-pa-card__price {
		font-size: 14px;
	}

	.fh-pa-card__regular {
		font-size: 12px;
	}

	.fh-pa-card__badge {
		font-size: 10px;
		padding: 3px 8px;
	}

	.fh-pa-fab {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		position: fixed;
		left: 50%;
		bottom: 18px;
		transform: translateX(-50%);
		z-index: 99990;
		min-width: 168px;
		height: 46px;
		padding: 0 22px;
		border: 0;
		border-radius: 999px;
		background: #111;
		color: #fff;
		font: inherit;
		font-size: 14px;
		font-weight: 600;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
		cursor: pointer;
	}

	.fh-pa-fab svg {
		width: 16px;
		height: 16px;
	}

	.fh-pa-sheet .fh-pa-acc__btn {
		padding: 18px 0;
		font-size: 16px;
	}

	.fh-pa-sheet .fh-pa-check {
		padding: 8px 0;
		font-size: 13.5px;
		color: #7a7a7a;
	}

	.fh-pa-pages {
		flex-wrap: nowrap;
		gap: 2px;
		margin-top: 28px;
		margin-bottom: 8px;
		overflow: hidden;
	}

	.fh-pa-pages button {
		width: 36px;
		min-width: 36px;
		height: 36px;
		line-height: 36px;
		font-size: 13px;
	}

	.fh-pa-pages__dots {
		width: 16px;
		line-height: 36px;
	}
}

@media (min-width: 901px) {
	.fh-pa-sheet,
	.fh-pa-fab {
		display: none !important;
	}
}
