/* Авторские наборы — hero как у Hygge Box, в гамме сайта
 * #3254ff / #355fee + #6ac10e
 */

.avtorskie-hero,
.avtorskaya-pdp {
	--av-paper: #f6f7fb;
	--av-ink: #1a1f36;
	--av-muted: #5a6270;
	--av-line: #e6e9ef;
	--av-blue: #3254ff;
	--av-blue-mid: #355fee;
	--av-green: #6ac10e;
	--av-soft: #eef1f7;
	--av-radius: 12px;
}

.avtorskie-hero {
	background: var(--av-paper);
	color: var(--av-ink);
	margin: 0;
	padding: 36px 0 0;
	border-bottom: 1px solid var(--av-line);
	-webkit-font-smoothing: antialiased;
}

.avtorskie-hero *,
.avtorskie-hero *::before,
.avtorskie-hero *::after {
	box-sizing: border-box;
}

.avtorskie-hero__wrap {
	padding: 0 30px 40px;
	line-height: normal;
	justify-content: initial;
}

.avtorskie-hero__intro {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 48px;
	align-items: end;
	margin-bottom: 28px;
}

.avtorskie-hero__kicker {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--av-muted);
	line-height: 1.4;
}

.avtorskie-hero h1.avtorskie-hero__title {
	margin: 14px 0 0;
	max-width: none;
	font-size: clamp(2.35rem, 5.2vw, 4.55rem);
	line-height: 1.06;
	letter-spacing: -0.03em;
	font-weight: 700;
	color: var(--av-ink);
}

.avtorskie-hero__title em {
	font-style: normal;
	color: var(--av-blue);
}

.avtorskie-hero__lead p {
	margin: 0;
	max-width: 440px;
	font-size: 1.12rem;
	line-height: 1.5;
	color: var(--av-ink);
}

.avtorskie-hero__lead p + p {
	margin-top: 10px;
}

.avtorskie-hero__grid {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 24px;
	align-items: stretch;
}

.avtorskie-hero__cover {
	position: relative;
	margin: 0;
	min-height: 460px;
	overflow: hidden;
	border-radius: var(--av-radius);
	background:
		linear-gradient(135deg, rgba(50, 84, 255, 0.28) 0%, rgba(106, 193, 14, 0.18) 55%, #c5cde0 100%);
}

.avtorskie-hero__cover img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 47%;
}

.avtorskie-hero__cover::after {
	content: "";
	position: absolute;
	inset: 45% 0 0;
	background: linear-gradient(transparent, rgba(16, 24, 48, 0.72));
	pointer-events: none;
}

.avtorskie-hero__cover-note {
	position: absolute;
	z-index: 1;
	bottom: 24px;
	left: 26px;
	right: 26px;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
}

.avtorskie-hero__cover-note strong {
	font-weight: 600;
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	line-height: 1.18;
	max-width: 370px;
	letter-spacing: -0.02em;
}

.avtorskie-hero__cover-note span {
	font-size: 14px;
	white-space: nowrap;
	opacity: 0.92;
}

#avtorskie-lead-form {
	scroll-margin-top: 16px;
}

.avtorskie-hero__form {
	padding: 26px 28px;
	background: #fff;
	border: 1px solid var(--av-line);
	border-radius: var(--av-radius);
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.avtorskie-hero__form h2 {
	margin: 0;
	font-size: clamp(1.5rem, 2vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-weight: 700;
	color: var(--av-ink);
}

.avtorskie-hero__form > p {
	margin: 10px 0 0;
	color: var(--av-muted);
	font-size: 16px;
	line-height: 1.45;
}

.avtorskie-hero__form fieldset {
	padding: 0;
	border: 0;
	min-width: 0;
	margin: 20px 0 0;
}

.avtorskie-hero__form legend {
	font-size: 15px;
	margin-bottom: 9px;
	padding: 0;
	font-weight: 600;
	color: var(--av-ink);
	float: none;
	width: auto;
}

.avtorskie-hero__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.avtorskie-hero__option {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.avtorskie-hero__option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	clip: rect(0, 0, 0, 0);
}

.avtorskie-hero__option span {
	display: block;
	min-height: 42px;
	padding: 8px 13px;
	border: 1px solid var(--av-line);
	border-radius: 6px;
	font-size: 15px;
	line-height: 1.3;
	color: var(--av-ink);
	background: #fff;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.avtorskie-hero__option input:checked + span {
	background: var(--av-blue);
	color: #fff;
	border-color: var(--av-blue);
}

.avtorskie-hero__option:hover input:not(:checked) + span {
	border-color: var(--av-blue-mid);
}

.avtorskie-hero__option input:focus-visible + span {
	outline: 2px solid var(--av-blue);
	outline-offset: 3px;
}

.avtorskie-hero__submit {
	margin-top: 22px;
	width: 100%;
	min-height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 20px;
	border: 0;
	border-radius: 9px;
	background: linear-gradient(269.41deg, #6ac10e -0.4%, #3254ff 93.3%);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.avtorskie-hero__submit span[aria-hidden] {
	font-size: 22px;
	line-height: 1;
}

.avtorskie-hero__submit:hover,
.avtorskie-hero__submit:focus {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.avtorskie-hero__submit:focus-visible {
	outline: 2px solid var(--av-blue);
	outline-offset: 3px;
}

.avtorskie-hero__form-note {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--av-muted);
}

.avtorskie-hero__mobile-cta {
	display: none;
}

.avtorskie-catalog {
	padding: 28px 30px 80px;
	box-sizing: border-box;
	width: 100%;
	line-height: normal;
	justify-content: initial;
}

#avtorskie-catalog {
	scroll-margin-top: 20px;
}

.avtorskie-tags {
	margin: 0 0 28px;
}

.avtorskie-tags__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.avtorskie-tags__row + .avtorskie-tags__row {
	margin-top: 10px;
}

.avtorskie-tags__chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #f3f4f8;
	color: #1a1f36;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 500;
	transition: background 0.15s ease, color 0.15s ease;
}

.avtorskie-tags__chip:hover,
.avtorskie-tags__chip:focus {
	background: #e8eaf2;
	color: #1a1f36;
}

.avtorskie-tags__chip.is-active {
	background: #3254ff;
	color: #fff;
}

.avtorskie-tags__chip.is-active:hover,
.avtorskie-tags__chip.is-active:focus {
	background: #355fee;
	color: #fff;
}

.avtorskie-sets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 20px;
	color: #1a1f36;
	min-height: 120px;
}

.avtorskie-set {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.avtorskie-set__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 14px;
	background: #e8ecf2;
	text-decoration: none;
}

.avtorskie-set__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.avtorskie-set__media::after {
	content: "";
	position: absolute;
	inset: 40% 0 0;
	background: linear-gradient(180deg, transparent, rgba(16, 24, 48, 0.55));
	pointer-events: none;
	opacity: 0;
}

.avtorskie-set__media--has-text::after {
	opacity: 1;
}

.avtorskie-set__headline {
	position: absolute;
	z-index: 1;
	left: 22px;
	right: 22px;
	bottom: 20px;
	margin: 0;
	color: #fff;
	font-size: clamp(1.15rem, 1.8vw, 1.55rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	text-shadow: 0 1px 8px rgba(16, 24, 48, 0.35);
}

.avtorskie-set__label {
	margin: 14px 0 6px;
	font-size: 13px;
	line-height: 1.3;
	color: #6b7280;
}

.avtorskie-set__title {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 1.05rem;
	line-height: 1.35;
	font-weight: 600;
	color: #1a1f36;
}

.avtorskie-set__title a {
	color: inherit;
	text-decoration: none;
}

.avtorskie-set__title a:hover {
	color: #3254ff;
}

.avtorskie-set__icon {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: #3254ff;
}

.avtorskie-set__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.avtorskie-set__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}

.avtorskie-set__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.avtorskie-set__btn--ghost {
	border: 1.5px solid #3254ff;
	color: #3254ff;
	background: #fff;
}

.avtorskie-set__btn--ghost:hover,
.avtorskie-set__btn--ghost:focus {
	background: #3254ff;
	color: #fff;
}

.avtorskie-set__btn--solid {
	border: 1.5px solid #3254ff;
	background: #3254ff;
	color: #fff;
}

.avtorskie-set__btn--solid:hover,
.avtorskie-set__btn--solid:focus {
	background: #355fee;
	border-color: #355fee;
	color: #fff;
}

.avtorskie-pagination {
	margin-top: 32px;
}

.avtorskie-empty {
	max-width: 560px;
	margin: 28px auto 12px;
	padding: 48px 24px 52px;
	text-align: center;
}

.avtorskie-empty__accent {
	width: 56px;
	height: 4px;
	margin: 0 auto 22px;
	background: linear-gradient(269.41deg, #6ac10e -0.4%, #3254ff 93.3%);
}

.avtorskie-empty__title {
	margin: 0 0 12px;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	line-height: 1.25;
	color: #212121;
	font-weight: 700;
}

.avtorskie-empty__text {
	margin: 0 auto 28px;
	max-width: 42ch;
	font-size: 1rem;
	line-height: 1.55;
	color: #4a5560;
}

.avtorskie-empty__cta {
	display: inline-block;
	padding: 11px 20px;
	border: 1px solid #355fee;
	color: #355fee;
	text-decoration: none;
	font-size: 14px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.avtorskie-empty__cta:hover,
.avtorskie-empty__cta:focus {
	background: linear-gradient(269.41deg, #6ac10e -0.4%, #3254ff 93.3%);
	border-color: transparent;
	color: #fff;
}

.avtorskie-content {
	padding: 16px 30px 64px;
	box-sizing: border-box;
	line-height: normal;
	justify-content: initial;
}

.avtorskie-content__body {
	max-width: 760px;
	font-size: 1.02rem;
	line-height: 1.65;
	color: #212121;
}

.avtorskie-content__body > *:first-child {
	margin-top: 0;
}

@media (max-width: 1100px) {
	.avtorskie-hero__wrap {
		padding: 0 20px 32px;
	}

	.avtorskie-hero__intro,
	.avtorskie-hero__grid {
		grid-template-columns: 1.15fr 1fr;
		gap: 20px;
	}

	.avtorskie-hero h1.avtorskie-hero__title {
		font-size: clamp(2.1rem, 5vw, 3.4rem);
	}

	.avtorskie-hero__cover-note {
		flex-direction: column;
		align-items: flex-start;
	}

	.avtorskie-hero__form {
		padding: 22px;
	}

	.avtorskie-catalog {
		padding-left: 20px;
		padding-right: 20px;
	}

	.avtorskie-sets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}
}

@media (max-width: 760px) {
	.avtorskie-hero {
		padding-top: 24px;
		padding-bottom: 84px;
	}

	.avtorskie-hero__wrap {
		padding: 0 16px 24px;
	}

	.avtorskie-catalog {
		padding-left: 16px;
		padding-right: 16px;
		padding-bottom: 64px;
	}

	.avtorskie-hero__intro,
	.avtorskie-hero__grid {
		grid-template-columns: 1fr;
	}

	.avtorskie-hero__intro {
		gap: 16px;
		margin-bottom: 20px;
	}

	.avtorskie-hero h1.avtorskie-hero__title {
		margin-top: 10px;
		font-size: clamp(2rem, 8vw, 2.8rem);
	}

	.avtorskie-hero__lead p {
		max-width: none;
	}

	.avtorskie-hero__cover {
		min-height: 300px;
	}

	.avtorskie-hero__cover-note {
		bottom: 18px;
		left: 18px;
		right: 18px;
	}

	.avtorskie-hero__mobile-cta {
		display: flex;
		position: fixed;
		z-index: 80;
		bottom: 14px;
		left: 16px;
		right: 16px;
		min-height: 54px;
		align-items: center;
		justify-content: space-between;
		padding: 12px 18px;
		border-radius: 9px;
		background: linear-gradient(269.41deg, #6ac10e -0.4%, #3254ff 93.3%);
		color: #fff;
		text-decoration: none;
		font-size: 16px;
		font-weight: 600;
		box-shadow: 0 8px 24px rgba(50, 84, 255, 0.28);
	}

	.avtorskie-sets {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.avtorskie-set__headline {
		left: 16px;
		right: 16px;
		bottom: 16px;
	}

	.avtorskie-tags__chip {
		min-height: 38px;
		padding: 7px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.avtorskie-hero__submit,
	.avtorskie-hero__option span {
		transition: none;
	}

	.avtorskie-hero__submit:hover {
		transform: none;
	}
}

/* Детальная страница авторского набора */
.avtorskaya-pdp-main {
	display: block;
	padding: 0;
	max-width: none;
}

.avtorskaya-pdp {
	display: block;
	width: 100%;
	color: var(--av-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

.avtorskaya-pdp ._max_width {
	line-height: normal;
	justify-content: initial;
}

.avtorskaya-pdp *,
.avtorskaya-pdp *::before,
.avtorskaya-pdp *::after {
	box-sizing: border-box;
}

.avtorskie-hero--pdp {
	padding-top: 28px;
}

.avtorskie-hero--pdp .avtorskie-hero__kicker a {
	color: inherit;
	text-decoration: none;
}

.avtorskie-hero--pdp .avtorskie-hero__kicker a:hover,
.avtorskie-hero--pdp .avtorskie-hero__kicker a:focus {
	color: var(--av-blue);
}

.avtorskaya-pdp__intro {
	margin-bottom: 24px;
	max-width: 820px;
}

.avtorskie-hero--pdp h1.avtorskie-hero__title {
	margin-top: 10px;
	font-size: clamp(2rem, 4.2vw, 3.45rem);
}

.avtorskaya-pdp__excerpt {
	margin-top: 12px;
	max-width: 58ch;
	font-size: 1.05rem;
	line-height: 1.5;
	color: var(--av-muted);
}

.avtorskaya-pdp__excerpt p {
	margin: 0;
}

.avtorskaya-pdp__excerpt p + p {
	margin-top: 8px;
}

.avtorskaya-pdp__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.avtorskaya-pdp__chips li {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--av-line);
	color: var(--av-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
}

.avtorskie-hero--pdp .avtorskie-hero__cover {
	min-height: 420px;
}

.avtorskaya-pdp__buy {
	padding: 28px 28px 26px;
	background: #fff;
	border: 1px solid var(--av-line);
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	box-shadow: 0 18px 40px rgba(26, 31, 54, 0.06);
}

.avtorskaya-pdp__price-label {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--av-muted);
	font-weight: 600;
}

.avtorskaya-pdp__price,
.avtorskaya-pdp__price .woocommerce-Price-amount,
.avtorskaya-pdp__price .amount,
.avtorskaya-pdp__price bdi,
.avtorskaya-pdp__price .woocommerce-Price-currencySymbol {
	margin: 0;
	font-family: inherit;
	font-size: clamp(2rem, 3vw, 2.6rem);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--av-ink);
}

.avtorskaya-pdp__price {
	margin-top: 8px;
}

.avtorskaya-pdp__price-note {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--av-muted);
}

.avtorskaya-pdp__hero-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 22px;
}

a.avtorskaya-pdp__hero-cta {
	text-decoration: none;
	width: 100%;
	margin-top: 0;
}

.avtorskaya-pdp__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 8px 18px;
	border-radius: 9px;
	border: 1.5px solid var(--av-blue);
	color: var(--av-blue);
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.2;
}

.avtorskaya-pdp__secondary:hover,
.avtorskaya-pdp__secondary:focus {
	background: var(--av-blue);
	color: #fff;
}

.avtorskaya-pdp__telegram-link {
	color: var(--av-blue);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
}

.avtorskaya-pdp__telegram-link:hover,
.avtorskaya-pdp__telegram-link:focus {
	color: var(--av-blue-mid);
	text-decoration: underline;
}

.avtorskaya-pdp__section-head {
	margin: 0 0 28px;
}

.avtorskaya-pdp__section-head h2 {
	margin: 0;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-weight: 700;
	color: var(--av-ink);
}

.avtorskaya-pdp__section-head p {
	margin: 10px 0 0;
	max-width: 52ch;
	font-size: 1.02rem;
	line-height: 1.5;
	color: var(--av-muted);
}

.avtorskaya-pdp__items,
.avtorskaya-pdp__story {
	padding: 56px 30px 8px;
}

.avtorskaya-pdp__set-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
}

.avtorskaya-item {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--av-line);
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.avtorskaya-item:hover,
.avtorskaya-item:focus-within {
	transform: translateY(-3px);
	border-color: #d4daf0;
	box-shadow: 0 16px 32px rgba(26, 31, 54, 0.08);
	color: inherit;
}

.avtorskaya-item__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	background: #f6f7fb;
	padding: 22px;
	text-decoration: none;
}

.avtorskaya-item__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.avtorskaya-item__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 18px 18px;
	border-top: 1px solid var(--av-line);
}

.avtorskaya-item__title {
	font-size: 15px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--av-ink);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	overflow: hidden;
}

.avtorskaya-item__title:hover,
.avtorskaya-item__title:focus {
	color: var(--av-blue);
}

.avtorskaya-item__price,
.avtorskaya-item__price .woocommerce-Price-amount,
.avtorskaya-item__price .amount,
.avtorskaya-item__price bdi {
	font-family: inherit;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--av-ink);
}

.avtorskaya-item__axes {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 4px 0 2px;
	padding: 0;
	border: 0;
}

.avtorskaya-item__axis {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.avtorskaya-item__axis-label {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--av-muted);
}

.avtorskaya-item__options {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.avtorskaya-item__option {
	min-height: 32px;
	padding: 4px 10px;
	border: 1px solid var(--av-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--av-ink);
	cursor: pointer;
}

.avtorskaya-item__option:hover,
.avtorskaya-item__option:focus-visible {
	border-color: var(--av-blue-mid);
}

.avtorskaya-item__option.is-active {
	background: var(--av-blue);
	color: #fff;
	border-color: var(--av-blue);
}

.avtorskaya-item__option--swatch {
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 3px;
	border-radius: 10px;
}

.avtorskaya-item__option--swatch img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 7px;
}

.avtorskaya-item__option--swatch.is-active {
	background: #fff;
	box-shadow: 0 0 0 2px var(--av-blue);
}

.avtorskaya-item__more {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--av-blue);
	text-decoration: none;
}

.avtorskaya-item__more:hover,
.avtorskaya-item__more:focus {
	text-decoration: underline;
}

.avtorskaya-item__data {
	display: none;
}

.avtorskaya-pdp__story-body {
	max-width: 760px;
	font-size: 1.05rem;
	line-height: 1.65;
	color: #212121;
}

.avtorskaya-pdp__story-body > *:first-child {
	margin-top: 0;
}

.avtorskaya-pdp__story-body ul,
.avtorskaya-pdp__story-body ol {
	padding-left: 1.2em;
}

.avtorskaya-pdp__benefits {
	margin-top: 32px;
	padding: 48px 0 16px;
	background: var(--av-paper);
}

.avtorskaya-pdp__benefits-wrap {
	padding: 0 30px 24px;
}

.avtorskaya-pdp__benefits-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.avtorskaya-pdp__benefit {
	padding: 26px 24px 28px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--av-line);
	min-width: 0;
}

.avtorskaya-pdp__benefit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: #eef1ff;
	color: var(--av-blue);
}

.avtorskaya-pdp__benefit-icon svg {
	width: 22px;
	height: 22px;
}

.avtorskaya-pdp__benefit h3 {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.35;
	font-weight: 700;
	color: var(--av-ink);
}

.avtorskaya-pdp__benefit p {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--av-muted);
}

.avtorskaya-pdp__lead {
	padding: 28px 0 88px;
	background: var(--av-paper);
}

.avtorskaya-pdp__lead-wrap {
	padding: 0 30px 24px;
}

.avtorskaya-pdp__lead-card {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 0;
	align-items: stretch;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--av-line);
	border-radius: 20px;
	box-shadow: 0 18px 40px rgba(26, 31, 54, 0.06);
}

.avtorskaya-pdp__lead-copy {
	padding: 36px 32px;
	background: linear-gradient(180deg, #f7f8ff 0%, #f3f7fb 100%);
	border: 0;
	border-radius: 0;
}

.avtorskaya-pdp__lead-copy h2 {
	margin: 0;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-weight: 700;
}

.avtorskaya-pdp__lead-copy p {
	margin: 14px 0 0;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--av-muted);
}

.avtorskaya-pdp__telegram-link--plain {
	display: inline-block;
	margin-top: 20px;
	text-align: left;
}

.avtorskaya-pdp__form {
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 32px 32px 30px;
}

.avtorskaya-pdp__lead #avtorskie-lead-form {
	scroll-margin-top: 90px;
}

.avtorskaya-pdp .avtorskie-hero__form fieldset,
.avtorskaya-pdp .avtorskie-hero__form legend,
.avtorskaya-pdp .avtorskie-hero__option {
	float: none;
	width: auto;
	max-width: none;
}

.avtorskaya-pdp .avtorskie-hero__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.avtorskaya-pdp .avtorskie-hero__option {
	display: inline-flex;
	margin: 0;
}

.avtorskaya-pdp .avtorskie-hero__option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	clip: rect(0, 0, 0, 0);
}

.avtorskaya-pdp .avtorskie-hero__option span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 14px;
	border: 1px solid #e6e9ef;
	border-radius: 999px;
	background: #fff;
	color: #1a1f36;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.avtorskaya-pdp .avtorskie-hero__option input:checked + span {
	background: #3254ff;
	border-color: #3254ff;
	color: #fff;
}

.avtorskaya-pdp .avtorskie-hero__option:hover input:not(:checked) + span {
	border-color: #3254ff;
}

@media (max-width: 1100px) {
	.avtorskaya-pdp__set-grid,
	.avtorskaya-pdp__benefits-grid,
	.avtorskaya-pdp__lead-card {
		grid-template-columns: 1fr 1fr;
	}

	.avtorskaya-pdp__items,
	.avtorskaya-pdp__story,
	.avtorskaya-pdp__benefits-wrap,
	.avtorskaya-pdp__lead-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (max-width: 760px) {
	.avtorskaya-pdp__items,
	.avtorskaya-pdp__story {
		padding-top: 36px;
	}

	.avtorskaya-pdp__set-grid,
	.avtorskaya-pdp__benefits-grid,
	.avtorskaya-pdp__lead-card {
		grid-template-columns: 1fr;
	}

	.avtorskaya-pdp__lead {
		padding-bottom: 110px;
	}

	.avtorskaya-pdp__lead-copy,
	.avtorskaya-pdp__form,
	.avtorskaya-pdp__buy {
		padding: 22px;
	}

	.avtorskie-hero--pdp .avtorskie-hero__cover {
		min-height: 280px;
	}
}

/* Главная: секция «Авторские наборы» */
.index__avtorskie {
	margin-bottom: 84px;
}

.index__avtorskie > h2 {
	margin-top: 0;
	margin-bottom: 36px;
	font-weight: 600;
	font-size: 32px;
	line-height: 40px;
	color: #000;
}

.index__avtorskie-slider {
	position: relative;
}

.index__avtorskie-slider .owl-stage-outer {
	overflow: hidden;
}

.index__avtorskie-slider .owl-stage {
	display: flex;
	align-items: stretch;
}

.index__avtorskie-slider .owl-item {
	display: flex;
	flex: 0 0 auto;
	height: auto;
	overflow: hidden;
}

.index__avtorskie-slider .avtorskie-set {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: 100%;
	box-sizing: border-box;
}

.index__avtorskie-slider .owl-nav {
	margin: 0;
	pointer-events: none;
}

.index__avtorskie-slider .owl-nav button.owl-prev,
.index__avtorskie-slider .owl-nav button.owl-next {
	pointer-events: auto;
	position: absolute;
	top: 18%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff !important;
	color: #1a1f36;
	box-shadow: 0 8px 24px rgba(16, 24, 48, 0.14);
}

.index__avtorskie-slider .owl-nav button.owl-prev {
	left: -8px;
}

.index__avtorskie-slider .owl-nav button.owl-next {
	right: -8px;
}

.index__avtorskie-slider .owl-nav button.owl-prev:hover,
.index__avtorskie-slider .owl-nav button.owl-next:hover,
.index__avtorskie-slider .owl-nav button.owl-prev:focus,
.index__avtorskie-slider .owl-nav button.owl-next:focus {
	background: #3254ff !important;
	color: #fff;
}

.index__avtorskie-slider .owl-nav button.disabled {
	opacity: 0.35;
	cursor: default;
}

.index__avtorskie-slider .owl-nav svg {
	display: block;
	width: 20px;
	height: 20px;
}

.index__avtorskie-slider .owl-dots {
	margin-top: 18px;
}

.index__avtorskie-slider .owl-dots .owl-dot span {
	background: #d8dde6;
}

.index__avtorskie-slider .owl-dots .owl-dot.active span,
.index__avtorskie-slider .owl-dots .owl-dot:hover span {
	background: #3254ff;
}

.index__avtorskie-footer {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

.index__avtorskie-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 28px;
	border-radius: 8px;
	background: #3254ff;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.15s ease;
}

.index__avtorskie-all:hover,
.index__avtorskie-all:focus {
	background: #355fee;
	color: #fff;
}

@media screen and (max-width: 1024px) {
	.index__avtorskie > h2 {
		font-size: 27px;
		line-height: 34px;
		margin-bottom: 28px;
	}

	.index__avtorskie-slider .owl-nav button.owl-prev {
		left: 4px;
	}

	.index__avtorskie-slider .owl-nav button.owl-next {
		right: 4px;
	}
}

@media screen and (max-width: 700px) {
	.index__avtorskie {
		margin-bottom: 56px;
	}

	.index__avtorskie > h2 {
		font-size: 24px;
		line-height: 1.25;
		margin-bottom: 18px;
	}

	.index__avtorskie-slider.owl-carousel {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		column-gap: 10px;
		align-items: center;
	}

	.index__avtorskie-slider .owl-stage-outer {
		grid-column: 1 / -1;
		grid-row: 1;
		overflow: hidden;
	}

	.index__avtorskie-slider .owl-nav {
		display: contents;
		pointer-events: auto;
	}

	.index__avtorskie-slider .owl-nav button.owl-prev,
	.index__avtorskie-slider .owl-nav button.owl-next {
		position: static !important;
		top: auto;
		left: auto;
		right: auto;
		width: 44px;
		height: 44px;
		margin: 16px 0 0;
		background: #3254ff !important;
		color: #fff !important;
		box-shadow: none;
		grid-row: 2;
	}

	.index__avtorskie-slider .owl-nav button.owl-prev {
		grid-column: 1;
	}

	.index__avtorskie-slider .owl-nav button.owl-next {
		grid-column: 3;
	}

	.index__avtorskie-slider .owl-dots {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
		grid-column: 2;
		grid-row: 2;
		margin: 16px 0 0;
	}

	.index__avtorskie-slider .owl-dots .owl-dot span {
		width: 7px;
		height: 7px;
		margin: 0 4px;
		background: #c5cbe0;
	}

	.index__avtorskie-slider .owl-dots .owl-dot.active span,
	.index__avtorskie-slider .owl-dots .owl-dot:hover span {
		width: 18px;
		border-radius: 8px;
		background: #3254ff;
	}

	.index__avtorskie-slider .avtorskie-set__actions {
		flex-wrap: nowrap;
		gap: 8px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.index__avtorskie-slider .avtorskie-set__btn {
		flex: 1 1 0;
		min-width: 0;
		padding: 8px 10px;
		font-size: 13px;
		box-sizing: border-box;
	}

	.index__avtorskie-footer {
		margin-top: 18px;
	}

	.index__avtorskie-all {
		width: 100%;
		min-height: 46px;
	}
}
