/*
 * Главная: shop-view по референсу.
 * Размеры и цвета сверены с прототипом на 1440 px.
 */

.home {
	padding-block: 0;
	background: var(--color-surface-muted);
}

.delivery-teaser-wrap {
	padding-top: 16px;
}

.delivery-teaser {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
	padding: 15px 20px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--color-brand);
	text-align: left;
	text-decoration: none;
	background: #e8efdf;
	border: 1px solid #d3dfc7;
	border-radius: 8px;
}

.delivery-teaser:hover {
	color: var(--color-brand);
	background: #e3ebd8;
}

.delivery-teaser__text {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.delivery-teaser strong {
	font-size: 16px;
	font-weight: 600;
}

.delivery-teaser__link {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 400;
	white-space: nowrap;
}

.home-hero {
	padding-block: 38px 44px;
}

.home-hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
	min-height: 0;
}

.home-hero__content {
	color: #263a2e;
}

.home-hero__eyebrow {
	margin: 0 0 20px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 1.5px;
	color: #5a6a4d;
	text-transform: uppercase;
}

.home-hero__title {
	margin: 0 0 20px;
	font-family: var(--font-display);
	font-size: 65px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -2.5px;
	color: var(--color-brand);
}

.home-hero__title em {
	display: block;
	font-style: italic;
	font-weight: 400;
	color: #8d6847;
}

.home-hero__intro {
	max-width: 420px;
	margin: 0 0 20px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--color-ink-muted);
}

.home-hero__cta {
	display: flex;
	line-height: 1.5;
	justify-content: space-between;
	gap: 22px;
	width: 100%;
	max-width: 430px;
	min-height: 55px;
	margin: 0 0 25px;
	padding: 14px 19px;
	font-size: 17px;
	line-height: 1.4;
	border-radius: 5px;
}

.home-hero__cta .icon {
	width: 18px;
	height: 18px;
}

.home-hero__selection {
	margin: 27px 0 0;
}

.home-hero__selection-title {
	margin: 0 0 9px;
	font-family: var(--font-body);
	font-size: 25px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.4px;
	color: var(--color-brand);
}

.home-hero__selection-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--color-ink-muted);
}

.hero-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 5px;
	max-width: 430px;
	margin: 15px 0 14px;
	padding: 5px;
	background: #e9eee2;
	border: 1px solid #d7dfcf;
	border-radius: 9px;
}

.hero-tabs__tab {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 1px 6px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	color: #4e6147;
	background: transparent;
	border: 0;
	border-radius: 6px;
}

.hero-tabs__tab:hover {
	color: #4e6147;
	border: 0;
}

.hero-tabs__tab.is-active {
	color: #fff;
	background: var(--color-brand);
}

.hero-tabs__tab .icon {
	width: 20px;
	height: 20px;
}

.hero-choice {
	margin: 0;
}

.hero-choice__text {
	max-width: 430px;
	min-height: 50px;
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--color-ink-muted);
}

.hero-choice__actions {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
}

.hero-choice__actions .button--primary {
	min-height: 46px;
	line-height: 1.5;
	padding: 13px 21px;
	font-size: 14px;
	color: var(--color-brand);
	background: #edf2e4;
	border: 1px solid #bccfa9;
	border-radius: 5px;
	box-shadow: none;
}

.hero-choice__actions .button--primary:hover {
	color: var(--color-brand);
	background: #e3ecd8;
}

.hero-choice__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 44px;
	font-size: 14px;
	color: var(--color-brand);
	text-decoration: none;
}

.hero-choice__link:hover {
	color: var(--color-brand);
}

.home-hero__media {
	position: relative;
	align-self: center;
	overflow: hidden;
	background: #dedfcf;
	border-radius: 95px 10px 10px 10px;
}

.home-hero__image {
	display: block;
	width: 100%;
	height: 520px;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
}

.home-hero__label {
	position: absolute;
	left: 23px;
	bottom: 23px;
	padding: 12px 16px;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 1.1px;
	color: #48543c;
	background: #fffdf2;
	border-radius: 5px;
}

.discovery {
	padding-block: 12px 40px;
}

.home-hero__discovery {
	grid-column: 1 / -1;
	min-width: 0;
	padding-bottom: 0;
}

.discovery__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 42px;
}

.discovery__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.6px;
	color: #263a2e;
}

.discovery__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 14px;
	color: var(--color-brand);
	white-space: nowrap;
	text-decoration: none;
}

.discovery__all:hover {
	color: var(--color-brand);
}

.discovery-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.discovery-card {
	position: relative;
	height: 126px;
	min-height: 0;
	overflow: hidden;
	background: #efeee5;
	border: 1px solid #e0e4d8;
	border-radius: 8px;
}

.discovery-card:hover {
	border-color: #9db386;
}

.discovery-card__link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
	min-height: 0;
	padding: 22px 16px;
	color: #2a4432;
	text-decoration: none;
}

.discovery-card__link:hover {
	color: #2a4432;
	transform: none;
}

.discovery-card__title {
	position: relative;
	z-index: 2;
	display: block;
	max-width: 60%;
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: #2a4432;
}

.discovery-card__image {
	position: absolute;
	top: auto;
	right: 2px;
	bottom: 0;
	width: 90px;
	height: 99px;
	max-width: none;
	object-fit: contain;
	transform: none;
	mix-blend-mode: multiply;
}

.discovery-card__arrow {
	position: absolute;
	left: 17px;
	bottom: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: #687d58;
	background: none;
	border: 0;
	border-radius: 0;
	opacity: 0.7;
}

.discovery-card__arrow .icon {
	width: 16px;
	height: 16px;
}

.discovery-card--coffee {
	background: #eee9df;
}

.discovery-card--tea {
	background: #e8eddf;
}

.discovery-card--sweets {
	background: #f1e8dc;
}

.discovery-card--snacks {
	background: #f0e7df;
}

.discovery-card--sugar {
	background: #e5eddc;
}

.discovery-card--home {
	background: #e9ece6;
}

@media (max-width: 1150px) {
	.home-hero__inner {
		gap: 30px;
	}

	.home-hero__title {
		font-size: 55px;
	}

	.home-hero__image {
		height: 470px;
	}

	.discovery-card__image {
		width: 78px;
		height: 87px;
	}
}

@media (max-width: 900px) {
	.home-hero {
		padding-block: 30px;
	}

	.home-hero__inner {
		grid-template-columns: 1fr;
		gap: 25px;
		min-height: 0;
	}

	.home-hero__media {
		order: 1;
	}

	.home-hero__discovery {
		order: 2;
	}

	.home-hero__content {
		order: 3;
	}

	.home-hero__title {
		font-size: 47px;
	}

	.home-hero__eyebrow {
		font-size: 10px;
	}

	.home-hero__intro {
		font-size: 15px;
	}

	.home-hero__image {
		height: 440px;
	}

	.hero-tabs {
		padding: 4px;
		gap: 3px;
	}

	.hero-tabs__tab {
		font-size: 14px;
		gap: 6px;
	}

	.hero-tabs__tab .icon {
		width: 18px;
		height: 18px;
	}

	.hero-choice__text {
		min-height: 0;
		font-size: 14px;
	}

	.discovery-grid {
		display: flex;
		gap: 11px;
		padding-bottom: 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.discovery-card {
		width: 185px;
		min-width: 185px;
		height: 128px;
		min-height: 0;
	}

	.discovery-card__link {
		height: 100%;
		min-height: 0;
		align-items: flex-start;
		padding: 15px 12px;
	}

	.discovery-card__title {
		max-width: 100%;
		font-size: 15px;
	}
}

@media (max-width: 640px) {
	.home-hero {
		padding-block: 25px;
	}

	.home-hero__title {
		font-size: 38px;
		line-height: 1.02;
		letter-spacing: -2px;
	}

	.home-hero__intro {
		font-size: 13px;
	}

	.home-hero__image {
		height: 260px;
	}

	.home-hero__media {
		border-radius: 62px 7px 7px 7px;
	}

	.home-hero__label {
		left: 14px;
		bottom: 14px;
		padding: 8px 12px;
		font-size: 10px;
	}

	.delivery-teaser {
		width: 100%;
		max-width: none;
		gap: 12px;
		padding: 12px 13px;
		border-radius: 8px;
	}

	.delivery-teaser__text {
		display: block;
		font-size: 14px;
	}

	.delivery-teaser strong {
		display: block;
		margin-top: 2px;
		font-size: 15px;
	}

	.delivery-teaser__link {
		font-size: 12px;
	}

	.delivery-teaser__link .icon {
		display: none;
	}

	.discovery {
		padding-bottom: 23px;
	}

	.discovery__head {
		gap: 15px;
		margin-bottom: 38px;
	}

	.discovery__title {
		flex: 0 0 250px;
		width: 250px;
		max-width: calc(100% - 100px);
		min-width: 0;
		font-size: 26px;
		line-height: 1.12;
		letter-spacing: -0.4px;
		text-wrap: balance;
	}

	.discovery__all {
		min-height: 36px;
		gap: 5px;
		font-size: 13px;
	}

	.discovery-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin-right: 0;
		padding-right: 0;
		overflow: visible;
	}

	.discovery-card {
		width: auto;
		min-width: 0;
		height: 120px;
		min-height: 0;
	}

	.discovery-card__link {
		height: 100%;
		min-height: 0;
		align-items: flex-start;
		padding: 14px 11px;
	}

	.discovery-card__title {
		max-width: 130px;
		font-size: 15px;
		line-height: 1.3;
	}

	.discovery-card__image {
		right: 0;
		width: 72px;
		height: 73px;
	}

	.discovery-card__arrow {
		left: 12px;
		bottom: 14px;
	}
}

body.lang-hy .home-hero__title {
	font-family: Arial, "Noto Sans Armenian", sans-serif;
	font-size: 56px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.3px;
}

body.lang-hy .home-hero__title em {
	font-family: inherit;
	font-style: normal;
	font-weight: 400;
}

body.lang-hy .discovery__title {
	font-family: Arial, "Noto Sans Armenian", sans-serif;
	font-weight: 400;
	letter-spacing: -0.3px;
}

@media (max-width: 640px) {
	body.lang-hy .home-hero__title {
		font-size: 35px;
		line-height: 1.3;
	}
}

.home-seo {
	padding-block: 48px 64px;
	border-top: 1px solid var(--color-line);
}

.home-seo__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 48px;
	align-items: start;
}

.home-seo__eyebrow {
	margin: 0 0 12px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.4px;
	color: #5a6a4d;
	text-transform: uppercase;
}

.home-seo__title {
	margin: 0 0 16px;
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.6px;
	color: var(--color-brand);
}

.home-seo__copy > p {
	max-width: 640px;
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-ink-muted);
}

.home-seo__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.home-seo__links a {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	padding: 7px 12px;
	font-size: 12px;
	color: var(--color-brand);
	text-decoration: none;
	background: var(--color-surface);
	border: 1px solid #d7dfcf;
	border-radius: var(--radius-pill);
}

.home-seo__links a:hover {
	color: var(--color-brand);
	background: #edf2e4;
	border-color: #b9c9a9;
}

.home-seo__faq {
	padding: 24px;
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: 8px;
}

.home-seo__faq h2 {
	margin: 0 0 10px;
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--color-brand);
}

.home-seo__question {
	border-top: 1px solid var(--color-line);
}

.home-seo__question summary {
	position: relative;
	padding: 13px 24px 13px 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--color-ink);
	cursor: pointer;
	list-style: none;
}

.home-seo__question summary::-webkit-details-marker {
	display: none;
}

.home-seo__question summary::after {
	position: absolute;
	top: 12px;
	right: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: var(--color-brand);
	content: "+";
}

.home-seo__question[open] summary::after {
	content: "−";
}

.home-seo__question p {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.65;
	color: var(--color-ink-muted);
}

@media (max-width: 900px) {
	.home-seo {
		padding-block: 36px 48px;
	}

	.home-seo__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.home-seo__title {
		font-size: 28px;
	}
}

@media (max-width: 640px) {
	.home-seo {
		padding-block: 30px 36px;
	}

	.home-seo__title {
		font-size: 26px;
	}

	.home-seo__faq {
		padding: 18px;
	}
}

.home-occasions {
	padding-block: 36px 0;
}

.home-occasions__head,
.home-products__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.home-products__eyebrow {
	margin: 0 0 7px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.4px;
	color: #5a6a4d;
	text-transform: uppercase;
}

.home-products__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.5px;
	color: #263a2e;
}

.home-products__all {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 40px;
	font-size: 13px;
	color: var(--color-brand);
	text-decoration: none;
}

.occasion-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.occasion-card__link {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 16px;
	gap: 12px;
	align-items: center;
	min-height: 104px;
	padding: 17px 15px;
	color: var(--color-ink);
	text-decoration: none;
	background: var(--color-surface);
	border: 1px solid #e0e4d8;
	border-radius: 8px;
}

.occasion-card__link:hover {
	color: var(--color-ink);
	border-color: #9db386;
}

.occasion-card__icon {
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	color: var(--color-brand);
	background: #edf2e4;
	border-radius: 50%;
}

.occasion-card__icon .icon {
	width: 18px;
	height: 18px;
}

.occasion-card__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.occasion-card__body strong {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.occasion-card__body span {
	font-size: 12px;
	line-height: 1.45;
	color: var(--color-ink-muted);
}

.occasion-card__link > .icon {
	color: #87977a;
}

.home-products {
	padding-block: 36px 0;
}

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

.home-products .product-card__body {
	padding: 14px 14px 0;
}

.home-products .product-card__title {
	font-size: 16px;
}

.home-products .product-card__description {
	display: none;
}

.home-products .product-card__footer {
	padding: 12px 14px 14px;
}

.home-products .product-card__cta,
.home-products .product-card__add.button,
.home-products .product-card__footer .button {
	min-height: 46px;
	font-size: 13px;
}

.home-products .product-card__footer .button {
	width: 100%;
}

.home-recent {
	padding-block: 36px 0;
}

.recent-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.recent-card__link {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	min-height: 82px;
	padding: 10px;
	color: var(--color-ink);
	text-decoration: none;
	background: var(--color-surface);
	border: 1px solid #e0e4d8;
	border-radius: 8px;
}

.recent-card__link:hover {
	color: var(--color-ink);
	border-color: #9db386;
}

.recent-card__image {
	width: 72px;
	height: 72px;
	object-fit: contain;
	background: var(--color-surface-muted);
	border-radius: 5px;
}

.recent-card__body {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.recent-card__name {
	display: -webkit-box;
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.recent-card__price {
	font-size: 11px;
	color: var(--color-brand);
}

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

	.recent-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.occasion-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-products .product-grid--home {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.recent-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.home-occasions,
	.home-products,
	.home-recent {
		padding-block: 28px 0;
	}

	.home-products__title {
		font-size: 26px;
	}

	.occasion-grid {
		gap: 9px;
	}

	.occasion-card__link {
		min-height: 100px;
		padding: 12px;
	}

	.recent-card__link {
		grid-template-columns: 58px minmax(0, 1fr);
		padding: 8px;
	}

	.recent-card__image {
		width: 58px;
		height: 58px;
	}
}
