/**
 * Firmengeschenke — Figma NutriW22, фрейм 18:1752 «Corporate Gifts DE».
 *
 * Макет нарисован на 1440: контент 1320 и поля по 60. Ниже 1440 размеры
 * плавно ужимаются через --w22-gifts-fluid, дальше — переразметка блоков
 * на 1100, 900 и 640.
 */

.w22-gifts {
	--w22-gifts-black: #101012;
	--w22-gifts-text: #323235;
	--w22-gifts-grey: #77777c;
	--w22-gifts-cream: #f6f7f1;
	--w22-gifts-circle: #edeee4;
	--w22-gifts-border: #bbbbc2;
	--w22-gifts-control: #adadad;
	--w22-gifts-accent: #ff6532;
	--w22-gifts-error: #d6281e;
	/* Вертикальный ритм макета: 90 px между блоками. */
	--w22-gifts-space: clamp(48px, calc(100vw * 90 / 1440), 90px);

	display: block;
	width: 100%;
	background: #fff;
	font-family: 'Roboto', sans-serif;
	color: var(--w22-gifts-black);
}

.w22-gifts *,
.w22-gifts *::before,
.w22-gifts *::after {
	box-sizing: border-box;
}

.w22-gifts img {
	max-width: 100%;
}

.w22-gifts__inner {
	width: 100%;
	max-width: calc(1320px + 2 * var(--w22-header-gutter, 1rem));
	margin: 0 auto;
	padding: 0 var(--w22-header-gutter, 1rem);
}

.w22-gifts__title {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: clamp(24px, calc(100vw * 32 / 1440), 32px);
	line-height: normal;
	text-transform: uppercase;
	color: var(--w22-gifts-black);
	overflow-wrap: break-word;
}

.w22-gifts__title--center {
	text-align: center;
}

.w22-gifts__mono {
	margin: 0;
	font-family: 'Roboto Mono', monospace;
	font-weight: 400;
	font-size: 14px;
	line-height: normal;
	color: var(--w22-gifts-text);
}

/* === Кнопки (Figma «Buttons»: 49 px, Roboto Medium 18) === */
.w22-gifts-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 49px;
	margin: 0;
	padding: 0 24px;
	border: 1px solid var(--w22-gifts-black);
	border-radius: 0;
	background: transparent;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: normal;
	color: var(--w22-gifts-black);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.w22-gifts-btn--dark {
	background: var(--w22-gifts-black);
	color: #fff;
}

.w22-gifts-btn--dark:hover {
	opacity: 0.85;
	color: #fff;
}

.w22-gifts-btn--outline:hover {
	background: rgba(16, 16, 18, 0.06);
	color: var(--w22-gifts-black);
}

.w22-gifts-btn:focus-visible {
	outline: 2px solid var(--w22-gifts-black);
	outline-offset: 2px;
}

.w22-gifts-btn__dot {
	display: block;
	flex: none;
	width: 24px;
	height: 24px;
}

/* === Hero === */
/* Шире 1440 высота растёт вместе с шириной (кадр 1440×640), иначе на
   1920 фото обрезается и коробки уходят под полосу с заголовком. */
.w22-gifts-hero {
	--w22-gifts-hero-height: max(640px, calc(var(--w22-page-width, 100vw) * 640 / 1440));

	position: relative;
	display: flex;
	width: 100%;
	min-height: var(--w22-gifts-hero-height);
	overflow: hidden;
	background: #f6f4f4;
}

.w22-gifts-hero__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.w22-gifts-hero__overlay {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	min-height: var(--w22-gifts-hero-height);
}

.w22-gifts-hero__breadcrumbs.blog-page__breadcrumbs-bar {
	max-width: calc(1320px + 2 * var(--w22-header-gutter, 1rem));
	padding-bottom: 0;
	text-align: left;
}

/* Полоса размытия 208 px с заголовком у нижнего края. */
.w22-gifts-hero__content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	min-height: 208px;
	margin-top: auto;
	padding: 39px var(--w22-header-gutter, 1rem) 59px;
	text-align: center;
}

/* Размытие сходит на нет кверху, как на главной: слой выше полосы
   с заголовком, чтобы градиенту маски было где разойтись, иначе поперёк
   фото видна резкая горизонтальная граница. */
.w22-gifts-hero__blur {
	position: absolute;
	top: -112px;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	pointer-events: none;
	background: rgba(1, 1, 1, 0.01);
	-webkit-backdrop-filter: blur(40px);
	backdrop-filter: blur(40px);
	-webkit-mask-image: linear-gradient(to top, #000 0%, #000 50%, rgba(0, 0, 0, 0.45) 75%, transparent 100%);
	mask-image: linear-gradient(to top, #000 0%, #000 50%, rgba(0, 0, 0, 0.45) 75%, transparent 100%);
}

.w22-gifts-hero__title {
	position: relative;
	z-index: 1;
	max-width: 100%;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: clamp(30px, calc(100vw * 62 / 1440), 62px);
	line-height: normal;
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--w22-gifts-black);
}

.w22-gifts-hero__subtitle {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: 'Roboto Mono', monospace;
	font-weight: 400;
	font-size: clamp(14px, calc(100vw * 16 / 1440), 16px);
	line-height: normal;
	color: var(--w22-gifts-black);
}

.w22-gifts-hero__cta {
	position: relative;
	z-index: 1;
	margin-top: 8px;
}

/* === Einleitung: текст + фото 630×380 === */
.w22-gifts-intro {
	padding-top: var(--w22-gifts-space);
}

.w22-gifts-intro__inner {
	display: flex;
	align-items: center;
	gap: clamp(32px, calc(100vw * 60 / 1440), 60px);
}

.w22-gifts-intro__text {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	min-width: 0;
}

.w22-gifts-intro__lead {
	margin: 0;
	font-weight: 500;
	font-size: 18px;
	line-height: normal;
}

.w22-gifts-intro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.w22-gifts-intro__actions .w22-gifts-btn--dark {
	min-width: 246px;
}

.w22-gifts-intro__media {
	flex: 1 1 0;
	min-width: 0;
	aspect-ratio: 630 / 380;
	overflow: hidden;
	background: #f4f2f2;
}

.w22-gifts-intro__media img,
.w22-gifts-set__media img,
.w22-gifts-banderole__slide img,
.w22-gifts-quote__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* === Dein Logo: текст по центру и три преимущества === */
.w22-gifts-logo {
	padding: var(--w22-gifts-space) 0;
}

.w22-gifts-logo__inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.w22-gifts-logo__head {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.w22-gifts-logo__text {
	display: flex;
	flex-direction: column;
	gap: 1.2em;
	text-align: center;
}

.w22-gifts-logo__text .w22-gifts__mono {
	font-size: clamp(14px, calc(100vw * 16 / 1440), 16px);
}

.w22-gifts-logo__features {
	display: flex;
	gap: 81px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.w22-gifts-feature {
	position: relative;
	display: flex;
	flex: 1 1 0;
	align-items: center;
	gap: 24px;
	min-width: 0;
}

/* Разделитель 1 px посередине зазора 81 px (40 + 1 + 40). */
.w22-gifts-feature + .w22-gifts-feature::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: -41px;
	width: 1px;
	background: rgba(16, 16, 18, 0.1);
}

.w22-gifts-feature__icon {
	display: block;
	flex: none;
	width: 90px;
	height: 90px;
}

.w22-gifts-feature__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.w22-gifts-feature__title {
	margin: 0;
	font-weight: 500;
	font-size: 20px;
	line-height: normal;
}

.w22-gifts-feature__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
}

.w22-gifts-logo__quality {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 0;
	font-weight: 500;
	font-size: 18px;
	line-height: normal;
	text-align: center;
}

.w22-gifts-logo__quality img {
	display: block;
	flex: none;
	width: 24px;
	height: 24px;
}

/* === Setgrößen === */
.w22-gifts-sets {
	padding: var(--w22-gifts-space) 0;
	background: var(--w22-gifts-cream);
	scroll-margin-top: calc(var(--w22-header-height, 81px) + var(--w22-notice-offset, 0px));
}

.w22-gifts-sets__inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.w22-gifts-sets__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 932px;
	margin: 0 auto;
	text-align: center;
}

.w22-gifts-sets__subtitle {
	margin: 0;
	font-weight: 500;
	font-size: 18px;
	line-height: normal;
}

.w22-gifts-sets__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.w22-gifts-set {
	display: flex;
	flex-direction: column;
	background: #fff;
}

.w22-gifts-set__heading {
	margin: 0;
	padding: 17px 16px 0;
	font-weight: 600;
	font-size: clamp(20px, calc(100vw * 24 / 1440), 24px);
	line-height: normal;
	text-align: center;
	color: #000;
}

.w22-gifts-set__media {
	width: calc(100% - 38.9px);
	margin: 14.5px auto 0;
	aspect-ratio: 391 / 234;
	overflow: hidden;
	background: #d9d9d9;
}

.w22-gifts-set__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	/* Снизу 23: в макете тело карточки фиксированной высоты 201 px. */
	padding: 16px 16px 23px;
	text-align: center;
}

.w22-gifts-set__packs {
	margin: 0;
	font-family: 'Roboto Mono', monospace;
	font-weight: 400;
	font-size: clamp(16px, calc(100vw * 18 / 1440), 18px);
	line-height: normal;
	color: #7f7f7f;
}

.w22-gifts-set__price {
	margin: 0;
	padding: 4px 0;
	font-weight: 500;
	font-size: 20px;
	line-height: normal;
	color: var(--w22-gifts-black);
}

.w22-gifts-set__vat {
	font-size: 16px;
	color: #7f7f7f;
}

.w22-gifts-set__net {
	margin: 0;
	font-family: 'Roboto Mono', monospace;
	font-weight: 400;
	font-size: 16px;
	line-height: normal;
	color: #515251;
}

.w22-gifts-set__btn {
	width: 100%;
	max-width: 270px;
	margin-top: auto;
}

/* === Banderole: текст + слайдер 720×519 === */
.w22-gifts-banderole {
	padding: clamp(56px, calc(100vw * 108 / 1440), 108px) 0 var(--w22-gifts-space);
}

.w22-gifts-banderole__inner {
	display: flex;
	align-items: center;
	gap: clamp(32px, calc(100vw * 60 / 1440), 60px);
}

.w22-gifts-banderole__text {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.w22-gifts-banderole__text .w22-gifts__mono + .w22-gifts__mono {
	margin-top: -6px;
}

.w22-gifts-banderole__slider {
	position: relative;
	flex: 0 0 auto;
	width: min(720px, 55%);
	aspect-ratio: 720 / 519;
	margin: 0;
	overflow: hidden;
	background: #d9d9d9;
}

.w22-gifts-banderole__slider .swiper-wrapper {
	height: 100%;
}

.w22-gifts-banderole__slide {
	height: 100%;
}

.w22-gifts-banderole__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: -20px 0 0;
	padding: 0;
	border: 0;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.6);
	-webkit-backdrop-filter: blur(40px);
	backdrop-filter: blur(40px);
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.w22-gifts-banderole__nav:hover {
	background: rgba(255, 255, 255, 0.85);
}

.w22-gifts-banderole__nav:focus-visible {
	outline: 2px solid var(--w22-gifts-black);
	outline-offset: 2px;
}

.w22-gifts-banderole__nav img {
	display: block;
	width: 16px;
	height: 16px;
}

.w22-gifts-banderole__nav--prev {
	left: 24px;
}

.w22-gifts-banderole__nav--next {
	right: 24px;
}

/* === Inhaltsstoffe: карточки с флаконом и составом (Figma 47:113) === */
.w22-gifts-ingredients {
	padding: var(--w22-gifts-space) 0 clamp(48px, calc(100vw * 60 / 1440), 60px);
	background: var(--w22-gifts-cream);
}

.w22-gifts-ingredients__inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.w22-gifts-ingredients__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.w22-gifts-ingredients__intro {
	color: var(--w22-gifts-black);
}

.w22-gifts-ingredients__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.w22-gifts-shot {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	color: #000;
}

/* Флакон 31×161 по центру белой плашки 220 px. */
.w22-gifts-shot__media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 220px;
	overflow: hidden;
}

.w22-gifts-shot__media img {
	display: block;
	width: auto;
	max-width: none;
	height: 161px;
}

/* Содержимое шириной 270 в карточке 318: поля 24 по бокам. */
.w22-gifts-shot__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px 24px;
}

.w22-gifts-shot__body::before {
	content: '';
	display: block;
	height: 6px;
	background: var(--w22-gifts-shot-color, var(--w22-gifts-black));
}

.w22-gifts-shot__name {
	margin: 24px 0 0;
	font-weight: 500;
	font-size: 18px;
	line-height: normal;
	text-align: center;
	color: var(--w22-gifts-black);
}

.w22-gifts-shot__set {
	margin: 8px 0 0;
	font-family: 'Roboto Mono', monospace;
	font-weight: 500;
	font-size: 16px;
	line-height: normal;
	text-align: center;
}

.w22-gifts-shot__list {
	margin: 12px 0 0;
	padding: 0;
}

/* Шаг строк 42: 12 + текст 18 + 11 + линия. */
.w22-gifts-shot__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0 11px;
	border-bottom: 1px solid #000;
	font-family: 'Roboto Mono', monospace;
	font-weight: 500;
	font-size: 14px;
	/* normal у Roboto Mono 14 в браузере даёт 19 px, в макете 18. */
	line-height: 18px;
}

.w22-gifts-shot__row dt,
.w22-gifts-shot__row dd {
	margin: 0;
}

.w22-gifts-shot__row dd {
	flex: none;
	text-align: right;
	white-space: nowrap;
}

/* Вкус прижат к низу: строки у составов разной длины. */
.w22-gifts-shot__flavor {
	margin: auto 0 0;
	padding-top: 23px;
	font-family: 'Roboto Mono', monospace;
	font-weight: 500;
	font-size: 16px;
	line-height: normal;
}

/* Аптечный номер над вкусом: вместе прижаты к низу карточки. */
.w22-gifts-shot__pzn {
	margin: auto 0 0;
	padding-top: 23px;
	font-family: 'Roboto Mono', monospace;
	font-weight: 400;
	font-size: 16px;
	line-height: normal;
}

.w22-gifts-shot__pzn + .w22-gifts-shot__flavor {
	margin-top: 6px;
	padding-top: 0;
}

/* Слайдер составов на телефоне. Классы swiper* вешает скрипт только
   там; сетка становится лентой Swiper, а промежутки он задаёт сам —
   поэтому gap сетки обнуляется. У .swiper из Swiper CSS margin: 0 auto,
   а во flex-колонке авто-поля отменяют растяжение: контейнер начинал
   мерить себя по слайдам, Swiper — слайды по контейнеру, и ширина
   уходила в миллионы пикселей. */
.w22-gifts-ingredients__slider {
	width: 100%;
	min-width: 0;
}

.w22-gifts-ingredients__slider.swiper {
	--swiper-pagination-bullet-horizontal-gap: 0;
	margin: 0;
	overflow: hidden;
}

.w22-gifts-ingredients__grid.swiper-wrapper {
	display: flex;
	gap: 0;
}

.w22-gifts-shot.swiper-slide {
	height: auto;
}

.w22-gifts-ingredients__pagination {
	display: none;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.w22-gifts-ingredients__slider.swiper .w22-gifts-ingredients__pagination {
	display: flex;
}

.w22-gifts-ingredients__pagination .swiper-pagination-bullet {
	width: 7px;
	height: 7px;
	margin: 0;
	border-radius: 50%;
	background: #c9c9cf;
	opacity: 1;
	cursor: pointer;
	transition: background-color 0.15s;
}

.w22-gifts-ingredients__pagination .swiper-pagination-bullet-active {
	background: var(--w22-gifts-black);
}

.w22-gifts-ingredients__actions {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

/* === Anlässe: фото с затемнением и стеклянные карточки === */
.w22-gifts-occasions {
	position: relative;
	overflow: hidden;
	padding: 88px 0 52px;
	background: #5a5856;
	color: #fff;
}

.w22-gifts-occasions::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(16, 16, 18, 0.4);
	pointer-events: none;
}

.w22-gifts-occasions__bg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.w22-gifts-occasions__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.w22-gifts-occasions__title,
.w22-gifts-occasions__text {
	color: #fff;
}

.w22-gifts-occasions__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.w22-gifts-occasion {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-height: 192px;
	padding: 24px 16px;
	background: rgba(16, 16, 18, 0.1);
	-webkit-backdrop-filter: blur(30px);
	backdrop-filter: blur(30px);
}

.w22-gifts-occasion__head {
	display: flex;
	align-items: center;
	gap: 24px;
}

.w22-gifts-occasion__head img {
	display: block;
	flex: none;
	width: 60px;
	height: 60px;
}

.w22-gifts-occasion__title {
	margin: 0;
	font-weight: 500;
	font-size: 20px;
	line-height: normal;
	color: #fff;
}

.w22-gifts-occasion__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
}

/* === FAQ: две колонки, ответы открыты === */
.w22-gifts-faq {
	padding: var(--w22-gifts-space) 0 clamp(48px, calc(100vw * 83 / 1440), 83px);
}

.w22-gifts-faq__inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.w22-gifts-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 681fr) minmax(0, 609fr);
	gap: 38px 30px;
}

/* В макете между вопросами ~38 px при круге 100 px. */
.w22-gifts-faq__column {
	display: flex;
	flex-direction: column;
	gap: 38px;
}

.w22-gifts-faq__item {
	display: flex;
	align-items: center;
	gap: 40px;
}

.w22-gifts-faq__column:first-child .w22-gifts-faq__item {
	padding-left: 12px;
}

/* Правая колонка в макете — пункты с полями 12 px почти вплотную:
   так её первый вопрос встаёт вровень с левым. */
.w22-gifts-faq__column + .w22-gifts-faq__column {
	gap: 4px;
}

.w22-gifts-faq__column + .w22-gifts-faq__column .w22-gifts-faq__item {
	padding: 12px 0;
}

.w22-gifts-faq__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	border-radius: 100px;
	background: var(--w22-gifts-circle);
}

.w22-gifts-faq__icon img {
	display: block;
	width: 80px;
	height: 80px;
}

.w22-gifts-faq__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	max-width: 539px;
}

.w22-gifts-faq__column + .w22-gifts-faq__column .w22-gifts-faq__body {
	max-width: 465px;
}

.w22-gifts-faq__question {
	margin: 0;
	font-weight: 500;
	font-size: 20px;
	line-height: normal;
	color: var(--w22-gifts-black);
}

.w22-gifts-faq__answer {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
	color: var(--w22-gifts-grey);
}

/* === Цитата основательницы === */
.w22-gifts-quote {
	padding: 24px 0;
	background: var(--w22-gifts-cream);
}

.w22-gifts-quote__inner {
	display: flex;
	align-items: center;
	gap: 40px;
}

.w22-gifts-quote__photo {
	position: relative;
	flex: 0 0 auto;
	width: min(579px, 44%);
	aspect-ratio: 579 / 538;
	margin: 0;
	overflow: hidden;
}

.w22-gifts-quote__caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	min-height: 116px;
	padding: 16px 16px 18px;
	font-weight: 500;
	line-height: normal;
	text-align: center;
	color: #fff;
	isolation: isolate;
}

/* То же плавное размытие, что у подписи основательницы на главной. */
.w22-gifts-quote__caption::before {
	content: '';
	position: absolute;
	top: -72px;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	pointer-events: none;
	background: rgba(1, 1, 1, 0.12);
	-webkit-backdrop-filter: blur(40px);
	backdrop-filter: blur(40px);
	-webkit-mask-image: linear-gradient(to top, #000 0%, #000 35%, rgba(0, 0, 0, 0.45) 70%, transparent 100%);
	mask-image: linear-gradient(to top, #000 0%, #000 35%, rgba(0, 0, 0, 0.45) 70%, transparent 100%);
}

/* Без backdrop-filter маске нечего гасить — белый текст держит затемнение. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.w22-gifts-quote__caption::before {
		background: linear-gradient(to top, rgba(16, 16, 18, 0.5) 0%, rgba(16, 16, 18, 0) 100%);
	}
}

.w22-gifts-quote__name {
	font-size: 24px;
}

.w22-gifts-quote__role {
	font-size: 18px;
}

.w22-gifts-quote__body {
	display: flex;
	flex: 1 1 0;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
	max-width: 669px;
	margin: 0;
	padding: 0;
}

.w22-gifts-quote__mark {
	display: block;
	flex: none;
	width: 32px;
	height: 32px;
}

.w22-gifts-quote__texts {
	min-width: 0;
}

.w22-gifts-quote__text {
	margin: 0 0 clamp(24px, calc(100vw * 47 / 1440), 47px);
	font-weight: 500;
	font-size: clamp(26px, calc(100vw * 40 / 1440), 40px);
	line-height: normal;
	text-transform: uppercase;
	color: var(--w22-gifts-black);
}

/* === Anfrage: текст слева, форма справа === */
.w22-gifts-request {
	padding: var(--w22-gifts-space) 0;
	scroll-margin-top: calc(var(--w22-header-height, 81px) + var(--w22-notice-offset, 0px));
}

.w22-gifts-request__inner {
	display: grid;
	grid-template-columns: minmax(0, 443fr) minmax(0, 764fr);
	gap: 40px clamp(40px, calc(100vw * 113 / 1440), 113px);
	align-items: start;
}

.w22-gifts-request__text {
	margin: 60px 0 0;
	font-size: clamp(17px, calc(100vw * 20 / 1440), 20px);
	line-height: normal;
}

.w22-gifts-request__direct {
	margin: 60px 0 0;
	font-size: 16px;
	line-height: normal;
}

.w22-gifts-request__direct a {
	font-weight: 500;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* --- Форма CF7 --- */
.w22-gifts-form {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	color: var(--w22-gifts-black);
}

.w22-gifts-form .wpcf7-form-control-wrap {
	display: block;
}

.w22-gifts-form__required {
	margin: 0 0 24px;
	font-weight: 500;
	font-size: 16px;
	line-height: normal;
	color: var(--w22-gifts-accent);
}

.w22-gifts-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.w22-gifts-form__field {
	position: relative;
	min-width: 0;
}

.w22-gifts-form input[type='text'],
.w22-gifts-form input[type='email'],
.w22-gifts-form input[type='tel'],
.w22-gifts-form input[type='number'],
.w22-gifts-form input[type='date'],
.w22-gifts-form textarea {
	display: block;
	width: 100%;
	height: 47px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--w22-gifts-border);
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: normal;
	color: var(--w22-gifts-black);
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s ease;
}

.w22-gifts-form textarea {
	height: 110px;
	min-height: 110px;
	padding: 16px;
	resize: vertical;
}

.w22-gifts-form input::placeholder,
.w22-gifts-form textarea::placeholder {
	color: var(--w22-gifts-grey);
	opacity: 1;
}

.w22-gifts-form input:focus,
.w22-gifts-form textarea:focus {
	border-color: var(--w22-gifts-black);
	outline: none;
}

.w22-gifts-form input[type='number'] {
	-moz-appearance: textfield;
}

.w22-gifts-form input[type='number']::-webkit-inner-spin-button,
.w22-gifts-form input[type='number']::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

/* Дата: у type=date нет placeholder — подпись лежит поверх поля,
   пока дата не выбрана; иконка календаря — из макета. */
.w22-gifts-form__field--date input[type='date'] {
	position: relative;
	padding-right: 52px;
	cursor: pointer;
}

.w22-gifts-form__field--date input[type='date']::-webkit-calendar-picker-indicator {
	position: absolute;
	inset: 0;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
}

.w22-gifts-form__field--date::after {
	content: '';
	position: absolute;
	top: 13.5px;
	right: 16px;
	width: 20px;
	height: 20px;
	background: url('../images/firmengeschenke/calendar.svg') center / 20px 20px no-repeat;
	pointer-events: none;
}

.w22-gifts-form__date-label {
	position: absolute;
	top: 14px;
	left: 17px;
	right: 52px;
	overflow: hidden;
	font-size: 16px;
	line-height: 19px;
	color: var(--w22-gifts-grey);
	white-space: nowrap;
	text-overflow: ellipsis;
	pointer-events: none;
}

.w22-gifts-form__field--date:not(.is-filled) input[type='date']:not(:focus) {
	color: transparent;
}

.w22-gifts-form__field--date:not(.is-filled) input[type='date']:not(:focus)::-webkit-datetime-edit {
	color: transparent;
}

.w22-gifts-form__field--date.is-filled .w22-gifts-form__date-label,
.w22-gifts-form__field--date:focus-within .w22-gifts-form__date-label {
	display: none;
}

/* Размер набора: круглые переключатели */
.w22-gifts-form__sizes {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 8px;
	margin-top: 28px;
}

.w22-gifts-form__sizes-label {
	flex: none;
	width: 143px;
	font-weight: 500;
	font-size: 16px;
	line-height: normal;
	color: #000;
}

.w22-gifts-form__sizes .wpcf7-form-control-wrap {
	flex: 1 1 auto;
	min-width: 0;
}

.w22-gifts-form .wpcf7-radio,
.w22-gifts-form .wpcf7-acceptance {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 8px;
}

.w22-gifts-form .wpcf7-list-item {
	margin: 0;
	padding: 0 12px;
}

.w22-gifts-form .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-weight: 500;
	font-size: 16px;
	line-height: normal;
	color: var(--w22-gifts-black);
	cursor: pointer;
}

.w22-gifts-form .wpcf7-radio .wpcf7-list-item.last .wpcf7-list-item-label {
	max-width: 126px;
}

.w22-gifts-form .wpcf7-list-item input[type='radio'],
.w22-gifts-form .wpcf7-list-item input[type='checkbox'] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1px solid var(--w22-gifts-control);
	background: #fff center / 12px 12px no-repeat;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.w22-gifts-form .wpcf7-list-item input[type='radio'] {
	border-radius: 20px;
}

.w22-gifts-form .wpcf7-list-item input[type='checkbox'] {
	border-radius: 4px;
}

.w22-gifts-form .wpcf7-list-item input[type='radio']:checked {
	border-color: var(--w22-gifts-black);
	background-color: var(--w22-gifts-black);
	box-shadow: inset 0 0 0 4px #fff;
}

.w22-gifts-form .wpcf7-list-item input[type='checkbox']:checked {
	border-color: var(--w22-gifts-black);
	background-color: var(--w22-gifts-black);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.w22-gifts-form .wpcf7-list-item input:focus-visible {
	outline: 2px solid var(--w22-gifts-black);
	outline-offset: 2px;
}

.w22-gifts-form__message {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 28px;
}

.w22-gifts-form__label {
	font-weight: 500;
	font-size: 16px;
	line-height: normal;
}

.w22-gifts-form__consents {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 28px;
}

.w22-gifts-form__consents a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.w22-gifts-form .wpcf7-turnstile {
	margin-top: 20px;
}

.w22-gifts-form__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.w22-gifts-form .w22-gifts-form__submit {
	width: 276px;
	max-width: 100%;
}

.w22-gifts-form .w22-gifts-form__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.w22-gifts-form .wpcf7-spinner {
	margin: 0;
}

/* Ошибки и ответ сервера */
.w22-gifts-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.3;
	color: var(--w22-gifts-error);
}

.w22-gifts-form input.wpcf7-not-valid,
.w22-gifts-form textarea.wpcf7-not-valid {
	border-color: var(--w22-gifts-error);
}

.w22-gifts-form .wpcf7-not-valid input[type='radio'],
.w22-gifts-form .wpcf7-not-valid input[type='checkbox'] {
	border-color: var(--w22-gifts-error);
}

.w22-gifts-form .wpcf7-response-output {
	margin: 24px 0 0 !important;
	padding: 12px 16px !important;
	font-size: 14px;
	line-height: 1.4;
}

/* === До 1100: колонки составов и поводов — по две === */
@media (max-width: 1100px) {
	.w22-gifts-ingredients__grid,
	.w22-gifts-occasions__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.w22-gifts-logo__features {
		gap: 49px;
	}

	.w22-gifts-feature + .w22-gifts-feature::before {
		left: -25px;
	}

	.w22-gifts-feature {
		gap: 16px;
	}

	.w22-gifts-feature__icon {
		width: 72px;
		height: 72px;
	}
}

/* === До 900: всё в одну колонку === */
@media (max-width: 900px) {
	.w22-gifts-hero {
		--w22-gifts-hero-height: 500px;
	}

	.w22-gifts-intro__inner,
	.w22-gifts-banderole__inner,
	.w22-gifts-quote__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.w22-gifts-intro__media,
	.w22-gifts-banderole__slider {
		flex: none;
		width: 100%;
	}

	.w22-gifts-logo__features {
		flex-direction: column;
		gap: 41px;
	}

	.w22-gifts-feature + .w22-gifts-feature::before {
		top: -21px;
		right: 0;
		bottom: auto;
		left: 0;
		width: auto;
		height: 1px;
	}

	.w22-gifts-sets__grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 480px;
		margin: 0 auto;
		width: 100%;
	}

	.w22-gifts-ingredients__head {
		gap: 16px;
	}

	.w22-gifts-faq__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.w22-gifts-faq__column:first-child .w22-gifts-faq__item {
		padding-left: 0;
	}

	.w22-gifts-faq__column + .w22-gifts-faq__column {
		gap: 38px;
	}

	.w22-gifts-faq__column + .w22-gifts-faq__column .w22-gifts-faq__item {
		padding: 0;
	}

	.w22-gifts-quote {
		padding: var(--w22-gifts-space) 0;
	}

	.w22-gifts-quote__photo {
		width: 100%;
		max-width: 579px;
		margin: 0 auto;
	}

	.w22-gifts-quote__body {
		max-width: none;
	}

	.w22-gifts-request__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.w22-gifts-request__text,
	.w22-gifts-request__direct {
		margin-top: 24px;
	}
}

/* === До 640: телефоны === */
@media (max-width: 640px) {
	.w22-gifts-hero {
		--w22-gifts-hero-height: 420px;
	}

	/* С кнопкой полоса с текстом выше — добавляем высоты, чтобы фото не ушло под неё. */
	.w22-gifts-hero:has(.w22-gifts-hero__cta) {
		--w22-gifts-hero-height: 480px;
	}

	/* Две строки текста по центру уводили щит к левому краю. */
	.w22-gifts-logo__quality {
		justify-content: flex-start;
		text-align: left;
	}

	.w22-gifts-hero__content {
		min-height: 0;
		padding-top: 28px;
		padding-bottom: 32px;
	}

	.w22-gifts-logo__text br,
	.w22-gifts-banderole__text br {
		display: none;
	}

	.w22-gifts-ingredients__grid,
	.w22-gifts-occasions__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.w22-gifts-occasions {
		padding: 56px 0;
	}

	.w22-gifts-occasion {
		min-height: 0;
	}

	.w22-gifts-faq__item {
		align-items: flex-start;
		gap: 20px;
	}

	.w22-gifts-faq__icon {
		width: 72px;
		height: 72px;
	}

	.w22-gifts-faq__icon img {
		width: 56px;
		height: 56px;
	}

	.w22-gifts-faq__question {
		font-size: 18px;
	}

	.w22-gifts-banderole__nav--prev {
		left: 12px;
	}

	.w22-gifts-banderole__nav--next {
		right: 12px;
	}

	.w22-gifts-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.w22-gifts-form__sizes {
		align-items: flex-start;
		flex-direction: column;
	}

	.w22-gifts-form__sizes-label {
		width: auto;
	}

	.w22-gifts-form .wpcf7-radio .wpcf7-list-item {
		padding-left: 0;
	}

	.w22-gifts-form .wpcf7-radio .wpcf7-list-item.last .wpcf7-list-item-label {
		max-width: none;
	}

	.w22-gifts-form .wpcf7-acceptance .wpcf7-list-item {
		padding: 0;
	}

	.w22-gifts-form .wpcf7-list-item label {
		align-items: flex-start;
	}

	.w22-gifts-form .w22-gifts-form__submit,
	.w22-gifts-intro__actions .w22-gifts-btn,
	.w22-gifts-set__btn {
		width: 100%;
		max-width: none;
	}

	.w22-gifts-btn {
		white-space: normal;
		text-align: center;
	}
}
