/**
 * Where to Buy Page Styles (BEM)
 * Block: .where-buy
 */

/* ==========================================================================
   Where Buy Block
   ========================================================================== */

.where-buy {
	padding: var(--spacing-4xl) var(--spacing-4xl) var(--spacing-6xl);
	display: flex;
	flex-direction: column;
	gap: var(--spacing-4xl);
	align-items: center;
	justify-content: center;
	flex: 1;
	min-height: calc(100vh - var(--header-height) - 10rem);
	overflow: hidden;
}

/* ==========================================================================
   Where Buy Header
   ========================================================================== */

.where-buy__header {
	padding: 0 12rem;
	display: flex;
	flex-direction: column;
	gap: var(--spacing-3xl);
	align-items: center;
	justify-content: flex-start;
	max-width: 132rem;
	width: 100%;
}

.where-buy__title-wrapper {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
	align-items: center;
	width: 100%;
}

.where-buy__title {
	font-family: var(--font-actay);
	font-size: var(--font-size-4xl);
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-tight);
	color: var(--color-black);
	text-align: center;
	margin: 0;
}

.where-buy__decoration {
	width: 28rem;
	height: 4.4rem;
	color: var(--color-black);
	flex-shrink: 0;
}

.where-buy__description {
	font-family: var(--font-inter);
	font-size: var(--font-size-md);
	font-weight: var(--font-weight-regular);
	line-height: var(--line-height-relaxed);
	color: var(--color-black);
	text-align: center;
	margin: 0;
}

.where-buy__title-wrapper svg {
	height: 4.4rem;
	width: auto;
}

/* ==========================================================================
   Where Buy Buttons
   ========================================================================== */

.where-buy__buttons {
	display: flex;
	flex-direction: row;
	gap: var(--spacing-sm);
	align-items: center;
	justify-content: center;
}

.where-buy__link {
	display: flex;
	flex-direction: row;
	gap: 1.4rem;
	align-items: center;
	justify-content: center;
	padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) 2rem;
	background: var(--color-black);
	border-radius: var(--radius-md);
	text-decoration: none;
	transition: opacity var(--transition-fast);
}

.where-buy__link:hover {
	opacity: 0.85;
}

.where-buy__link:focus-visible {
	outline: 0.2rem solid var(--color-black);
	outline-offset: 0.2rem;
}

.where-buy__link-text {
	font-family: var(--font-inter);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-semibold);
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--color-white);
	min-height: 2.4rem;
	display: flex;
	align-items: center;
}

.where-buy__link-icon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.where-buy__link-icon-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.2rem;
	height: 3.2rem;
	border-radius: var(--radius-full);
	flex-shrink: 0;
}

.where-buy__link-icon-inner svg {
	width: 100%;
	height: 100%;
}

.where-buy__link-icon-inner--wb {
	background: var(--gradient-marketplace);
}

.where-buy__link-icon-inner--ozon {
	background: transparent;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1089px) {
	.where-buy {
		padding: var(--spacing-3xl) 0;
		gap: var(--spacing-3xl);
		min-height: fit-content;
	}

	.where-buy__header {
		padding: 0;
		gap: var(--spacing-2xl);
	}

	.where-buy__title-wrapper {
		gap: var(--spacing-sm);
	}

	.where-buy__title {
		font-size: var(--font-size-2xl);
	}

	.where-buy__title-wrapper svg {
		height: 2.4rem;
		width: auto;
	}

	.where-buy__decoration {
		width: 20rem;
		height: 3.2rem;
	}

	.where-buy__description {
		font-size: var(--font-size-base);
	}

	.where-buy__buttons {
		flex-direction: column;
		width: 100%;
	}

	.where-buy__link {
		width: 100%;
		justify-content: space-between;
	}

	.where-buy__link-icon-inner {
		width: 3.2rem;
		height: 3.2rem;
	}

	.where-buy__link-icon-inner--ozon svg {
		width: 100%;
		height: 100%;
	}
}
