.peptidy-page {
	padding: 14px 0 56px;
}

.peptidy-breadcrumbs {
	margin: 0 0 10px;
}

.peptidy-page h1 {
	margin: 0 0 18px;
	font-size: clamp(32px, 2.6vw, 42px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-transform: none;
}

.peptidy-hero {
	margin: 0 0 22px;
	padding: 24px;
	border-radius: 18px;
	background: #eef0ff;
}

.peptidy-hero h2 {
	margin: 0 0 12px;
	font-size: clamp(24px, 2.4vw, 40px);
	line-height: 1.08;
	text-transform: none;
}

.peptidy-hero p {
	margin: 0;
	max-width: 980px;
	font-size: 16px;
	line-height: 1.45;
	color: #555;
}

.peptidy-cats-wrap {
	margin: 0 0 14px;
}

.peptidy-cats-head {
	display: block;
	margin: 0 0 10px;
}

.peptidy-tabs-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #2f2f2f;
}

.peptidy-sort-menu {
	position: relative;
	display: inline-block;
}

.peptidy-sort-menu > summary {
	list-style: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: #2f8d75;
	user-select: none;
	transition: color .15s ease;
}

.peptidy-sort-menu > summary:hover {
	color: #2f8d75;
}

.peptidy-sort-menu > summary::-webkit-details-marker {
	display: none;
}

.peptidy-sort-menu > summary::after {
	content: ' ▾';
	font-size: 13px;
	color: inherit;
}

.peptidy-sort-menu__list {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 190px;
	padding: 8px;
	border: 1px solid rgba(55, 55, 55, 0.12);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	z-index: 20;
}

.peptidy-sort-menu__item {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 14px;
	color: #2f2f2f;
	text-decoration: none;
}

.peptidy-sort-menu__item:hover,
.peptidy-sort-menu__item.is-active {
	color: #2f8d75;
	background: rgba(47, 141, 117, 0.08);
}

.peptidy-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	padding: 8px 14px;
	border: 1px solid rgba(55, 55, 55, 0.12);
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	color: #373737;
	white-space: nowrap;
}

.peptidy-tab.active {
	border-color: #3f5ce6;
	background: #3f5ce6;
	color: #fff;
}

.peptidy-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.peptidy-tabs-inline {
	display: block;
	margin: 0 0 8px;
}

.peptidy-sort-line {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 0 0 16px;
}

.peptidy-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.peptidy-card {
	display: flex;
	flex-direction: column;
	padding: 10px 10px 12px;
	border: 0;
	border-radius: 16px;
	background: #fff;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.peptidy-card:hover {
	box-shadow: none;
	transform: none;
}

.peptidy-card__img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	margin: 0 0 12px;
	border-radius: 16px 16px 10px 10px;
	background: #f3f5fb;
	overflow: hidden;
	width: 100%;
}

.peptidy-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	object-fit: cover;
	object-position: center;
	transform: scale(1.18);
}

.peptidy-card h3 {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.2;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.peptidy-card__price {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
	color: #1c2d45;
	min-height: 20px;
}

.peptidy-card__price.is-empty {
	visibility: hidden;
}

.peptidy-card p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.35;
	color: #5f5f5f;
}

.peptidy-card__specs {
	min-height: 38px;
}

.peptidy-card__meta-title {
	margin: 2px 0 8px;
	font-size: 14px;
	font-weight: 600;
	color: #4c4c4c;
}

.peptidy-card__forms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

.peptidy-card__forms li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border: 1px solid #b6c4d8;
	border-radius: 999px;
	font-size: 13px;
	line-height: 1;
	color: #334764;
	background: #fff;
}

.peptidy-card__stock {
	margin: 0 0 12px;
	font-size: 14px;
	color: #2f2f2f;
}

.peptidy-card__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: auto;
}

.peptidy-card__actions .btn {
	width: 100%;
	justify-content: center;
	min-height: 38px;
	padding: 0 8px;
	font-size: 13px;
	font-weight: 600;
	border-radius: 999px;
	white-space: normal;
	line-height: 1.15;
	text-align: center;
}

.peptidy-single {
	display: grid;
	grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding: 20px;
	border: 0;
	border-radius: 20px;
	background: #fff;
}

.peptidy-single__img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	background: #f6f7fb;
	overflow: hidden;
}

.peptidy-single__img img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.peptidy-single__body h1 {
	margin: 0 0 10px;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.06;
}

.peptidy-single__price {
	margin: 0 0 8px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	color: #1c2d45;
}

.peptidy-single__specs {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.45;
	color: #4d4d4d;
}

.peptidy-single__meta-title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	color: #242424;
}

.peptidy-single__desc {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.4;
	color: #4d4d4d;
}

.peptidy-single__chars {
	margin: 0 0 10px;
	padding: 0 0 0 18px;
}

.peptidy-single__chars li {
	margin: 0 0 4px;
	font-size: 13px;
	line-height: 1.35;
	color: #555;
}

.peptidy-single__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.peptidy-single__actions .btn {
	width: auto;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 999px;
}

.peptidy-tabs-block {
	margin-top: 18px;
	border: 0;
	border-radius: 16px;
	background: #fff;
}

.peptidy-tabs-block__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 0 12px;
	border-bottom: 0;
}

.peptidy-tabs-block__tab {
	padding: 14px 12px;
	border: 0;
	background: transparent;
	font-size: 14px;
	font-weight: 600;
	color: #2f2f2f;
	cursor: pointer;
}

.peptidy-tabs-block__tab.is-active {
	color: #2f8d75;
}

.peptidy-tabs-block__body {
	padding: 16px 18px;
}

.peptidy-tabs-block__panel p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #3f3f3f;
}

@media (max-width: 1100px) {
	.peptidy-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.peptidy-page {
		padding: 12px 0 36px;
	}

	.peptidy-breadcrumbs {
		margin-bottom: 8px;
	}

	.peptidy-hero {
		padding: 16px;
		border-radius: 16px;
	}

	.peptidy-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.peptidy-card h3 {
		font-size: 17px;
		margin-bottom: 6px;
	}

	.peptidy-card__price {
		font-size: 16px;
		min-height: 18px;
	}

	.peptidy-card__actions .btn {
		min-height: 40px;
		font-size: 14px;
	}

	.peptidy-single {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.peptidy-single__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.peptidy-tabs-block__nav {
		padding: 0 8px;
	}

	.peptidy-tabs-block__tab {
		padding: 11px 8px;
		font-size: 13px;
	}

	.peptidy-tabs-block__body {
		padding: 12px;
	}
}

@media (max-width: 520px) {
	.peptidy-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.peptidy-card {
		padding: 8px 6px 10px;
	}

	.peptidy-card__img {
		margin-bottom: 8px;
		border-radius: 12px 12px 8px 8px;
	}

	.peptidy-card__img img {
		transform: scale(1.08);
	}

	.peptidy-card h3 {
		font-size: 13px;
		line-height: 1.2;
	}

	.peptidy-card__price {
		font-size: 15px;
		margin-bottom: 5px;
		min-height: 16px;
	}

	.peptidy-card p,
	.peptidy-card__meta-title,
	.peptidy-card__stock {
		font-size: 11px;
		line-height: 1.25;
		margin-bottom: 6px;
	}

	.peptidy-card__forms {
		gap: 4px;
		margin-bottom: 8px;
	}

	.peptidy-card__forms li {
		padding: 4px 8px;
		font-size: 10px;
	}

	.peptidy-card__actions {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.peptidy-card__actions .btn {
		min-height: 34px;
		font-size: 11px;
		padding: 0 6px;
	}

	.peptidy-tabs {
		gap: 6px;
	}

	.peptidy-tab {
		padding: 7px 10px;
		font-size: 12px;
	}

	.peptidy-cats-head {
		margin-bottom: 8px;
	}

	.peptidy-sort-menu > summary {
		font-size: 14px;
	}

	.peptidy-sort-menu__list {
		right: 0;
		left: auto;
		min-width: 170px;
	}

	.peptidy-tabs-inline {
		display: block;
	}

	.peptidy-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0 4px 6px 0;
		-webkit-overflow-scrolling: touch;
	}

	.peptidy-sort-line {
		margin-bottom: 12px;
	}
}
