/* Hero - Start */
.home-hero {
	padding-top: 16px;
}

.home-hero-box {
	position: relative;
	display: flex;
	width: 100%;
	min-height: calc(100vh - var(--header-height) - 16px - var(--container-indent) / 2);
	min-height: calc(100svh - var(--header-height) - 16px - var(--container-indent) / 2);
	padding: 80px 64px 64px 64px;
	border: 1px solid var(--border);
	border-radius: var(--radius-large);
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.home-hero-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

.home-hero-main {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	width: 702px;
	max-width: 100%;
}

.home-hero-text {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.home-hero-text p {
	max-width: 400px;
}

.home-hero-buttons {
	display: flex;
	align-items: center;
	gap: 24px;
}

.home-hero-buttons .btn {
	min-width: 339px;
}

.home-hero-buttons .btn-glass {
	--btn-height: 43px;
}

.home-hero-proof {
	display: flex;
	align-items: center;
	gap: 32px;
}

.home-hero-proof-photos {
	width: 226px;
	height: 67px;
	object-fit: contain;
}

.home-hero-proof span {
	max-width: 390px;
	font-family: var(--font-family-2);
	font-weight: 600;
}
.home-hero-box::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 30%;
	pointer-events: none;
	background: linear-gradient(105deg, transparent, color-mix(in srgb, var(--white) 30%, transparent), transparent);
	transform: translateX(-130%) skewX(-14deg);
}

.home-hero-word {
	display: inline-block;
}

@media (prefers-reduced-motion: no-preference) {
	.home-hero-box {
		isolation: isolate;
	}

	.home-hero-box::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: var(--this-background) right center / cover no-repeat;
		transform-origin: 75% 60%;
		animation: hero-breath 14s ease-in-out infinite alternate;
		will-change: transform;
	}

	.home-hero-box::after {
		animation: hero-sweep 7s ease-in-out 1.6s infinite;
	}

	.home-hero-text > .h1 {
		animation: hero-title-wait 0.4s ease 1.2s backwards;
	}

	.home-hero-text > .h1.is-split {
		animation: none;
	}

	.home-hero-word {
		animation: hero-word 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
		animation-delay: calc(var(--w, 0) * 90ms);
	}

	.home-hero-text > p,
	.home-hero-buttons,
	.home-hero-proof {
		animation: hero-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
	}

	.home-hero-text > p {
		animation-delay: 0.15s;
	}

	.home-hero-buttons {
		animation-delay: 0.3s;
	}

	.home-hero-proof {
		animation-delay: 0.45s;
	}

	.home-hero-box.is-waiting::after,
	.home-hero-box.is-waiting .home-hero-word,
	.home-hero-box.is-waiting .home-hero-text > p,
	.home-hero-box.is-waiting .home-hero-buttons,
	.home-hero-box.is-waiting .home-hero-proof {
		animation: none;
	}

	.home-hero-box.is-waiting .home-hero-text > .h1,
	.home-hero-box.is-waiting .home-hero-text > p,
	.home-hero-box.is-waiting .home-hero-buttons,
	.home-hero-box.is-waiting .home-hero-proof {
		opacity: 0;
	}
}

@keyframes hero-sweep {
	0% {
		transform: translateX(-130%) skewX(-14deg);
	}

	22%, 100% {
		transform: translateX(430%) skewX(-14deg);
	}
}

@keyframes hero-title-wait {
	from {
		opacity: 0;
	}
}

@keyframes hero-word {
	from {
		opacity: 0;
		transform: translateY(14px);
		filter: blur(8px);
	}
}

@keyframes hero-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
}

@keyframes hero-breath {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.1);
	}
}
/* Hero - End */

/* Categories - Start */
.home-categories {
	padding-top: 120px;
}

.home-categories .container + .container {
	margin-top: 80px;
}

.home-categories-grid {
	display: grid;
	grid-template-columns: 840fr 547fr 420fr;
	grid-template-rows: 1fr 1fr;
	gap: 16px;
	width: 100%;
	min-height: 791px;
}

.home-category-card {
	position: relative;
	display: flex;
	padding: 41px;
	border-radius: var(--radius-large);
	background: none;
	overflow: hidden;
	isolation: isolate;
}

.home-category-card::before,
.home-category-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	pointer-events: none;
}

.home-category-card::before {
	background: var(--this-background) center / cover no-repeat;
	will-change: transform;
	transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-category-card::after {
	border: 1px solid var(--border-light);
	transition: border-color 0.3s ease;
}

@media not all and (pointer: coarse) {
	.home-category-card:hover::after {
		border-color: var(--white);
	}

	.home-category-card:hover .btn {
		--btn-bg: var(--white);
		--btn-color: var(--black);
		--btn-border-color: var(--white);
	}

	.home-category-card:hover::before {
		transform: scale(1.07);
	}

	.home-category-card:hover .home-category-head {
		transform: translateY(-6px);
	}
}

.home-category-card.is-big {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.home-category-body {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
	margin-top: auto;
}

.home-category-head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-category-body .btn {
	--btn-border-color: color-mix(in srgb, var(--white) 50%, transparent);
	--btn-hover-bg: var(--white);
	--btn-hover-color: var(--black);
	--btn-hover-border-color: var(--white);
	z-index: 2;
}

.home-custom-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	grid-column: 3;
	grid-row: 1 / span 2;
	padding: 40px 32px;
	background: var(--white);
	border: 1px solid var(--input-border);
	border-radius: var(--radius-large);
}

.home-custom-top {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 64px;
	padding-bottom: 105px;
	border-bottom: 1px solid var(--input-border);
}

.home-custom-icon {
	width: 104px;
	height: 104px;
	object-fit: contain;
}

.home-custom-bottom {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding-top: 105px;
}

.home-custom-text {
	display: flex;
	flex-direction: column;
	gap: 24px;
	text-align: center;
}
/* Categories - End */

/* Products - Start */
.home-products {
	padding-top: 120px;
}

.home-products-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	width: 100%;
}

.home-products-head-left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.home-products-head-left .h2 {
	max-width: 786px;
	text-transform: uppercase;
}

.home-products-head-text {
	max-width: 376px;
	padding-bottom: 32px;
}

.universe-filter {
	margin-top: 80px;
}

.universe-filter-toggle {
	display: none;
}

.universe-filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
}

.universe-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 calc((100% - 583px) / 3 - 1px);
	padding: 33px 40px;
	background: var(--light-gray);
	border-radius: var(--radius-mid);
	clip-path: inset(-200px 0 0 0 round 0 0 var(--radius-mid) var(--radius-mid));
	cursor: pointer;
	transition: flex 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.4s ease;
}

.universe-option::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--this-background, none) center / cover no-repeat, var(--black);
	opacity: 0;
	transition: opacity 0.5s ease;
}

.universe-option.is-active::before {
	opacity: 1;
}

.universe-option input {
	display: none;
}

.universe-radio {
	position: relative;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border: 1px solid var(--black);
	border-radius: var(--radius-max);
	transition: border-color 0.4s ease;
}

.universe-radio::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: var(--radius-max);
	background: var(--light-gray);
	transition: background 0.4s ease;
}

@media not all and (pointer: coarse) {
	.universe-option:not(.is-active):hover .universe-name {
		color: var(--primary-ring);
	}
}

.universe-name {
	position: relative;
	transition: all 0.3s ease;
	font-family: var(--font-family-2);
	font-weight: 600;
	font-size: 18px;
	line-height: 22px;
	text-transform: uppercase;
}

.universe-option.is-active {
	flex: 0 0 547px;
	color: var(--white);
}

.universe-option.is-active .universe-radio {
	border-color: var(--white);
}

.universe-option.is-active .universe-radio::after {
	background: var(--white);
}

.universe-character {
	position: absolute;
	right: 0;
	bottom: 0;
	width: var(--char-w);
	height: auto;
	object-fit: contain;
	object-position: right bottom;
	pointer-events: none;
	transform: translateY(calc(100% + 4px));
	transition: transform 0.45s cubic-bezier(0.5, 0, 0.75, 0);
}

.universe-option.is-active .universe-character {
	transform: none;
	transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}

.home-products-list {
	--products-in-col: 4;
	--products-indent-w: 16px;
	--products-indent-h: 16px;
	margin-top: 80px;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-products-list .product-card .product-image-wrapper img {
	aspect-ratio: 414 / 306;
}

.home-products-list.is-loading {
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
}

.home-products-list.is-entering > * {
	animation: universe-card-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--i, 0) * 60ms);
}

@keyframes universe-card-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.universe-option,
	.universe-option::before,
	.universe-character,
	.universe-option.is-active .universe-character,
	.home-products-list,
	.home-category-card::before,
	.home-category-head {
		transition: none;
	}

	.home-products-list.is-entering > * {
		animation: none;
	}
}

.home-products-empty {
	grid-column: 1 / -1;
	padding: 40px 0;
	color: var(--gray-text);
	text-align: center;
}

.home-products-button {
	margin-top: 40px;
}
/* Products - End */

/* Reviews - Start */
.home-reviews {
	padding-top: 120px;
}
/* Reviews - End */

/* FAQ - Start */
.main-page .faq {
	padding-top: 120px;
	padding-bottom: 0;
}

.faq-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.faq-head .h2,
.home-partners-text .h2 {
	text-transform: uppercase;
}

.main-page .faq .container + .container {
	margin-top: 80px;
}
/* FAQ - End */

/* Partners - Start */
.home-partners {
	padding-top: 120px;
	padding-bottom: 120px;
}

.home-partners-box {
	display: flex;
	width: 100%;
	min-height: 637px;
	padding: 80px 64px 64px 64px;
	border: 1px solid var(--border);
	border-radius: var(--radius-large);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.home-partners-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 93px;
	width: 736px;
	max-width: 100%;
}

.home-partners-text {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.home-partners-text p {
	max-width: 372px;
}

.home-partners-box .btn {
	--btn-bg: var(--light-gray);
	--btn-color: var(--black);
	--btn-border-color: var(--white);
	--btn-hover-bg: var(--primary);
	--btn-hover-border-color: var(--primary-ring);
	--btn-hover-color: var(--primary-match);
}
/* Partners - End */

@media (max-width: 1680px) {
	.home-hero-box {
		padding: 52px;
		border-radius: var(--radius-medium);
	}

	.home-hero-main {
		width: 550px;
	}

	.home-hero-text {
		gap: 20px;
	}

	.home-hero-text p {
		max-width: 430px;
	}

	.home-hero-buttons {
		gap: 20px;
	}

	.home-hero-buttons .btn {
		--btn-height: 43px;
		--btn-ring: 6px;
		min-width: 255px;
	}

	.home-hero-buttons .btn-glass {
		--btn-height: 40px;
		--btn-ring: 4px;
	}

	.home-hero-proof {
		gap: 28px;
	}

	.home-hero-proof-photos {
		width: 155px;
		height: 46px;
	}

	.home-hero-proof span {
		max-width: 310px;
	}

	.home-categories {
		padding-top: 96px;
	}

	.home-categories .container + .container {
		margin-top: 76px;
	}

	.home-categories-grid {
		grid-template-columns: 615fr 402fr 318fr;
		min-height: 593px;
	}

	.home-category-card {
		padding: 30px;
		border-radius: var(--radius-medium);
	}

	.home-category-body {
		gap: 28px;
	}

	.home-category-head {
		gap: 12px;
	}

	.home-custom-card {
		padding: 37px 29px;
		border-radius: var(--radius-medium);
	}

	.home-custom-top {
		gap: 48px;
		padding-bottom: 60px;
	}

	.home-custom-icon {
		width: 78px;
		height: 78px;
	}

	.home-custom-bottom {
		padding-top: 60px;
	}

	.home-custom-text {
		gap: 20px;
	}

	.home-products {
		padding-top: 96px;
	}

	.home-products-head-left {
		gap: 20px;
	}

	.home-products-head-left .h2 {
		max-width: 715px;
	}

	.home-products-head-text {
		max-width: 330px;
		padding-bottom: 24px;
	}

	.universe-filter {
		margin-top: 76px;
	}

	.universe-option {
		flex: 1 1 calc((100% - 454px) / 3 - 1px);
	}

	.universe-option.is-active {
		flex: 0 0 418px;
	}

	.universe-name {
		font-size: 16px;
		line-height: 19px;
	}

	.home-products-list {
		margin-top: 76px;
	}

	.home-products-list .product-card .product-image-wrapper img {
		aspect-ratio: 411 / 306;
	}

	.home-products-button {
		margin-top: 36px;
	}

	.home-reviews {
		padding-top: 96px;
	}

	.main-page .faq {
		padding-top: 96px;
	}

	.faq-head {
		gap: 20px;
	}

	.main-page .faq .container + .container {
		margin-top: 76px;
	}

	.home-partners {
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.home-partners-box {
		min-height: 531px;
		padding: 53px;
		border-radius: var(--radius-medium);
	}

	.home-partners-inner {
		gap: 68px;
	}

	.home-partners-text {
		gap: 20px;
	}

	.home-partners-button {
		--btn-height: 43px;
		--btn-ring: 6px;
	}
}

@media (max-width: 1279px) {
	.home-hero {
		padding-top: 12px;
	}

	.home-hero-box {
		min-height: calc(100vh - var(--header-height) - 12px - var(--container-indent) / 2);
		min-height: calc(100svh - var(--header-height) - 12px - var(--container-indent) / 2);
		padding: 24px 20px;
		border-radius: var(--radius-large);
		background-position: center;
	}

	.home-hero-box[data-mob] {
		background-image: var(--this-background-mob);
	}

	.home-hero-box::before {
		background-position: center;
		transform-origin: 50% 60%;
	}

	.home-hero-box[data-mob]::before {
		background-image: var(--this-background-mob);
	}

	.home-hero-main {
		width: 100%;
	}

	.home-hero-text {
		gap: 16px;
	}

	.home-hero-text p {
		max-width: none;
	}

	.home-hero-buttons {
		flex-direction: column;
		gap: 12px;
	}

	.home-hero-buttons .btn {
		--btn-height: 40px;
		--btn-ring: 4px;
		width: 100%;
		min-width: 0;
	}

	.home-categories {
		padding-top: 80px;
	}

	.home-categories .container + .container {
		margin-top: 32px;
	}

	.home-categories-grid {
		display: flex;
		flex-direction: column;
		gap: 12px;
		min-height: 0;
	}

	.home-category-card {
		min-height: 272px;
		padding: 22px;
		border-radius: var(--radius-medium);
	}

	.home-category-card.is-big {
		min-height: 333px;
	}

	.home-category-body {
		gap: 20px;
	}

	.home-category-body .btn,
	.home-custom-bottom .btn {
		--btn-height: 40px;
		--btn-ring: 4px;
	}

	.home-custom-card {
		min-height: 461px;
		padding: 25px 21px;
		border-radius: var(--radius-medium);
	}

	.home-custom-top {
		gap: 20px;
		padding-bottom: 52px;
	}

	.home-custom-icon {
		width: 78px;
		height: 78px;
	}

	.home-custom-bottom {
		padding-top: 52px;
	}

	.home-custom-text {
		gap: 16px;
	}

	.home-products {
		padding-top: 80px;
	}

	.home-products-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.home-products-head-left {
		gap: 32px;
	}

	.home-products-head-left .h2 {
		max-width: none;
	}

	.home-products-head-text {
		max-width: none;
		padding-bottom: 0;
	}

	.universe-filter {
		margin-top: 72px;
		padding: 20px 16px;
		background: var(--white);
		border: 1px solid var(--border);
		border-radius: 18px;
	}

	.universe-filter-toggle {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 16px;
		font-family: var(--font-family-2);
		font-weight: 500;
		font-size: 18px;
		line-height: 22px;
		cursor: pointer;
	}

	.universe-filter-sign {
		width: 24px;
		height: 24px;
	}

	.universe-filter.is-open .universe-filter-sign {
		--icon: url("/wp-content/themes/shop/img/icons/minus.svg");
	}

	.universe-filter-list {
		flex-direction: column;
		flex-wrap: nowrap;
		margin-top: 24px;
	}

	.universe-filter:not(.is-open) .universe-option:not(.is-active) {
		display: none;
	}

	.universe-option {
		flex: 1 1 auto;
		min-height: 68px;
		padding: 25px 24px;
		border-radius: 12px;
		clip-path: inset(-200px 0 0 0 round 0 0 12px 12px);
	}

	.universe-option.is-active {
		flex: 1 1 auto;
	}

	.universe-character {
		width: calc(var(--char-w) * 0.744);
		max-height: 92px;
	}

	.universe-radio {
		display: none;
	}

	.universe-name {
		font-size: 14px;
		line-height: 17px;
	}

	.home-products-list {
		--products-in-col: 1;
		--products-indent-h: 12px;
		margin-top: 20px;
	}

	.home-products-list .product-card .product-image-wrapper img {
		aspect-ratio: 317 / 266;
	}

	.home-products-button {
		width: 100%;
		margin-top: 20px;
	}

	.home-reviews {
		padding-top: 80px;
	}

	.main-page .faq {
		padding-top: 80px;
	}

	.faq-head {
		gap: 16px;
	}

	.main-page .faq .container + .container {
		margin-top: 32px;
	}

	.home-partners {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.home-partners-box {
		min-height: 629px;
		padding: 25px 21px;
		border-radius: var(--radius-large);
	}

	.home-partners-inner {
		gap: 24px;
		width: 100%;
	}

	.home-partners-text {
		gap: 16px;
	}

	.home-partners-text p {
		max-width: none;
	}

	.home-partners-button {
		--btn-height: 40px;
		--btn-ring: 4px;
		width: 100%;
	}
}
