/*
 * Shop home (design-shop 6.1, home Elementor CSS 9141/1670): hero, two
 * banners, three advantages, "We recommend" row, products, About band.
 * Breakpoints: tablet 768-1024, phone <= 767.
 */

.lvt-shome {
	color: var(--lvt-c-text);
}

/* Hero ------------------------------------------------------------------ */

.lvt-shome-hero {
	display: flex;
	margin-top: -26px;
}

.lvt-shome-hero__text {
	display: flex;
	flex: 0 0 41%;
	flex-direction: column;
	gap: 16px;
	min-height: 540px;
	padding: 130px 40px 0 56px;
	background-image: linear-gradient(74deg, #E5E5E5 0%, #F0F0F0 100%);
}

.lvt-shome-hero__title {
	margin: 0;
	color: var(--lvt-c-secondary);
	font-family: var(--lvt-font-figtree);
	font-size: 50px;
	font-weight: 600;
	line-height: 58px;
	letter-spacing: -.01px;
}

.lvt-shome-hero__lead {
	margin: 0;
	color: var(--lvt-c-text);
	font-size: 16px;
	line-height: 24px;
}

.lvt-shome-hero__btn.lvt-btn {
	align-self: flex-start;
	min-height: 52px;
	margin-top: 32px;
	padding: 17px 36px;
	font-size: 18px;
	font-weight: 500;
	line-height: 18px;
}

.lvt-shome-hero__photo {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	min-height: 540px;
	overflow: hidden;
}

.lvt-shome-hero__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 1024px) {
	.lvt-shome-hero__text {
		min-height: 490px;
		padding: 72px 32px;
	}

	.lvt-shome-hero__photo {
		min-height: 490px;
	}

	.lvt-shome-hero__title {
		font-size: 36px;
		line-height: 44px;
	}

	.lvt-shome-hero__btn.lvt-btn {
		padding: 16px 32px 16px 22px;
	}
}

@media (max-width: 767px) {
	.lvt-shome-hero {
		flex-wrap: wrap;
	}

	.lvt-shome-hero__photo {
		flex: 0 0 50%;
		min-height: 220px;
		height: 220px;
	}

	.lvt-shome-hero__photo--2 .lvt-shome-hero__img {
		object-position: center bottom;
	}

	.lvt-shome-hero__text {
		flex: 0 0 100%;
		order: 3;
		min-height: 0;
		padding: 32px 24px;
	}

	.lvt-shome-hero__btn.lvt-btn,
	.lvt-shome-hero__btn.lvt-btn:not(.lvt-btn--sm):not(.lvt-btn--md) {
		min-height: 52px;
		padding: 16px 32px 16px 22px;
		border: 0;
	}
}

/* Banners ----------------------------------------------------------------- */

.lvt-shome-banners {
	display: flex;
	gap: 16px;
	margin-top: 16px;
}

.lvt-shome-banner {
	position: relative;
	display: block;
	flex: 1 1 0;
	min-width: 0;
	height: 240px;
	overflow: hidden;
	color: #FFFFFF;
	text-decoration: none;
}

.lvt-shome-banner:hover {
	color: #FFFFFF;
}

.lvt-shome-banner__media {
	position: absolute;
	inset: 0;
	display: block;
}

.lvt-shome-banner__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
	transition: transform .5s cubic-bezier(0, 0, .44, 1.18);
}

.lvt-shome-banner:hover .lvt-shome-banner__img,
.lvt-shome-banner:focus-visible .lvt-shome-banner__img {
	transform: scale(1.08);
}

.lvt-shome-banner__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 17px;
	padding: 30px;
}

.lvt-shome-banner__title {
	display: block;
	color: #FFFFFF;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.01px;
}

.lvt-shome-banner__link {
	display: inline-block;
	padding-bottom: 4px;
	border-bottom: 2px solid rgba(255, 255, 255, .5);
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 500;
	line-height: 16px;
	transition: border-color .25s ease;
}

.lvt-shome-banner:hover .lvt-shome-banner__link {
	border-color: #FFFFFF;
}

@media (max-width: 1024px) {
	.lvt-shome-banner {
		height: 200px;
	}

	.lvt-shome-banner__title {
		font-size: 26px;
	}
}

@media (max-width: 767px) {
	.lvt-shome-banners {
		flex-direction: column;
	}

	.lvt-shome-banner {
		flex: 0 0 auto;
	}
}

/* Advantages (icon boxes) ------------------------------------------------- */

.lvt-shome-usp {
	display: flex;
	margin-top: 46px;
}

.lvt-shome-usp__col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.lvt-shome-usp__col:nth-child(1) {
	flex: 0 0 28.04%;
	align-items: flex-start;
	border-right: 1px solid #DEDEDE;
}

.lvt-shome-usp__col:nth-child(2) {
	flex: 0 0 40%;
	align-items: center;
}

.lvt-shome-usp__col:nth-child(3) {
	flex: 1 1 0;
	align-items: flex-end;
	border-left: 1px solid #DEDEDE;
}

.lvt-shome-usp__box {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 100%; /* never wider than its column (a long word overflows the text instead, as live) */
}

.lvt-shome-usp__icon {
	display: block;
	flex: none;
	width: 50px;
	height: 50px;
}

.lvt-shome-usp__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.lvt-shome-usp__body {
	display: block;
}

.lvt-shome-usp__title {
	display: block;
	margin-bottom: 8px;
	color: var(--lvt-c-secondary);
	font-size: 16px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: -.01px;
	text-transform: uppercase;
}

.lvt-shome-usp__text {
	display: block;
	color: var(--lvt-c-text);
	font-family: var(--lvt-font-figtree);
	font-size: 16px;
	line-height: 24px;
}

@media (max-width: 1024px) {
	.lvt-shome-usp {
		gap: 20px;
	}

	.lvt-shome-usp__col:nth-child(n) {
		flex: 1 1 0;
		align-items: flex-start;
		border: 0;
	}

	/* Live EN home only (its own page styles): 22px under the middle title. */
	.lvt-lang-en .lvt-shome-usp__col:nth-child(2) .lvt-shome-usp__title {
		margin-bottom: 22px;
	}

	/* Live LV home only (its own page styles): the 2nd and 3rd boxes are 92% /
	   94% of their column (their texts wrap inside that width). */
	.lvt-lang-lv .lvt-shome-usp__col:nth-child(2) .lvt-shome-usp__box {
		width: 92%;
	}

	.lvt-lang-lv .lvt-shome-usp__col:nth-child(3) .lvt-shome-usp__box {
		width: 94%;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	/* Live tablet: middle column keeps 33.333% (no shrink), boxes sit at the top,
	   86px under the banners (measured on the live 1024 shot). */
	.lvt-shome-usp {
		margin-top: 86px;
	}

	.lvt-shome-usp__col:nth-child(n) {
		justify-content: flex-start;
	}

	/* The boxes keep their desktop places in the columns: the 2nd centred,
	   the 3rd at the right edge (only visible where a box is narrower than
	   its column: EN 1024 middle box, LV 92% / 94% boxes). */
	.lvt-shome-usp__col:nth-child(2) {
		flex: 0 0 33.333%;
		align-items: center;
	}

	.lvt-shome-usp__col:nth-child(3) {
		align-items: flex-end;
	}
}

@media (max-width: 767px) {
	.lvt-shome-usp {
		flex-direction: column;
		gap: 20px;
	}

	.lvt-shome-usp__col:nth-child(n) {
		align-items: center;
	}

	.lvt-shome-usp__box {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
}

/* We recommend --------------------------------------------------------- */

.lvt-shome-rec {
	margin-top: 96px; /* live .my-section: 96px at every width (the later rule wins) */
	padding-top: 10px;
}

.lvt-shome-rec__title {
	display: flex;
	margin: 0;
	padding: 5px 0;
	color: #333333;
	font-family: var(--lvt-font-figtree);
	font-size: 34px;
	font-weight: 600;
	line-height: 40.8px;
	text-transform: capitalize;
}

.lvt-shome-rec__title span {
	position: relative;
	padding: 1px 0;
}

.lvt-shome-rec__title span::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--lvt-c-primary);
}

/* Live: the tiles start 10px under the title and the section ends 9.5px under them. */
.lvt-shome-rec__carousel {
	padding: 10px 0 9.5px;
}

/* Fallback row (the catalog module's carousel replaces it). */
.lvt-shome-rec__row {
	display: grid;
	grid-auto-columns: calc((100% - 60px) / 4);
	grid-auto-flow: column;
	gap: 20px;
	padding: 15px 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

.lvt-shome-tile {
	display: flex;
	flex-direction: column;
	gap: 12px;
	scroll-snap-align: start;
	text-align: center;
}

.lvt-shome-tile__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.lvt-shome-tile__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lvt-shome-tile__labels {
	position: absolute;
	top: 6px;
	left: 7px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	max-width: 60%;
}

.lvt-shome-tile__labels .lvt-badge {
	display: inline-flex;
	padding: 8px 8px 8px 9px;
	border-radius: 0 3px 3px 0;
	background: #3E3E3E;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 500;
	line-height: 13px;
	letter-spacing: .01em;
}

.lvt-shome-tile__labels .lvt-badge--sale {
	background: #BF2D24;
}

.lvt-shome-tile__labels .lvt-badge--soldout {
	background: #FFFFFF;
	color: #242424;
}

.lvt-shome-tile__labels .lvt-badge--hot {
	background: #2080D9;
}

.lvt-shome-tile__labels .lvt-badge--new,
.lvt-shome-tile__labels .lvt-badge--recommend {
	background: #27A323;
}

.lvt-shome-tile__labels .lvt-badge--grade {
	min-width: 50px;
	background: #9C7475;
	font-weight: 400;
}

.lvt-shome-tile__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.lvt-shome-tile__cat {
	color: #A5A5A5;
	font-size: 16px;
	line-height: 22.4px;
}

.lvt-shome-tile__title {
	margin: -3.2px 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 22.4px;
	letter-spacing: -.01px;
}

.lvt-shome-tile__title a {
	display: -webkit-box;
	overflow: hidden;
	color: #333333;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.lvt-shome-tile__price {
	color: var(--lvt-c-primary);
	font-size: 16px;
	font-weight: 600;
	line-height: 22.4px;
}

@media (max-width: 1024px) {
	.lvt-shome-rec {
		margin-bottom: 60px;
	}
}

@media (max-width: 767px) {
	.lvt-shome-rec {
		margin-bottom: 40px;
	}

	.lvt-shome-rec__title {
		font-size: 26px;
		line-height: 32px;
	}

	.lvt-shome-rec__row {
		grid-auto-columns: calc((100% - 10px) / 2);
		gap: 10px;
	}

	.lvt-shome-tile__title,
	.lvt-shome-tile__price {
		font-size: 14px;
		line-height: 19.6px;
	}
}

/* Products ---------------------------------------------------------------- */

.lvt-shome-products {
	margin-top: 96px; /* live .my-section: 96px at every width (the later rule wins) */
}

.lvt-shome-products__title {
	margin: 0 0 20px;
	padding: 10px;
	color: var(--lvt-c-heading);
	font-size: 34px;
	font-weight: 600;
	line-height: 40px;
	letter-spacing: -.01px;
	text-align: center;
}

.lvt-shome-products__row {
	display: flex;
	gap: 23px;
}

.lvt-shome-card {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.lvt-shome-card__img {
	display: block;
	align-self: center;
	max-width: 100%;
	height: auto;
}

.lvt-shome-card__title {
	margin: 0;
	color: var(--lvt-c-heading);
	font-size: 22px;
	font-weight: 600;
	line-height: 28px;
	letter-spacing: -.01px;
}

.lvt-shome-card__text p {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.lvt-shome-card__text p + p {
	margin-top: 20px;
}

.lvt-shome-more {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 5px;
	border-bottom: 2px solid #E9E9E9;
	color: var(--lvt-c-primary);
	font-size: 16px;
	font-weight: 600;
	line-height: 16px;
}

.lvt-shome-card .lvt-shome-more {
	margin: 4px 0 2px; /* live: 28px above, row ends 2px below the link */
}

.lvt-shome-more:hover {
	color: var(--lvt-c-primary);
}

.lvt-shome-more__icon {
	width: 7px;
	height: 12px;
	transition: margin-left .3s ease;
}

.lvt-shome-more:hover .lvt-shome-more__icon {
	margin-left: 12px;
}

@media (max-width: 767px) {
	.lvt-shome-products__title {
		font-size: 26px;
		line-height: 32px;
	}

	.lvt-shome-products__row {
		flex-direction: column;
	}

	.lvt-shome-card .lvt-shome-more {
		margin: 0;
	}

	.lvt-shome-card__title {
		font-size: 18px;
		line-height: 24px;
	}

	.lvt-shome-card__text p {
		font-size: 14px;
		line-height: 20px;
	}
}

/* About band -------------------------------------------------------------- */

.lvt-shome-about {
	position: relative;
	left: 50%;
	width: 100vw;
	margin-top: 96px; /* live .my-section: 96px at every width (the later rule wins) */
	margin-left: -50vw;
	padding-top: 96px;
	background-color: #F4EEEC;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.lvt-shome-about__row {
	display: flex;
	min-height: 308px;
}

.lvt-shome-about__media {
	flex: 0 0 50%;
	min-width: 0;
	padding-right: 44px;
}

.lvt-shome-about__img {
	display: block;
	width: 100%;
	height: auto;
}

.lvt-shome-about__text {
	display: flex;
	flex: 0 0 50%;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	padding: 0 5% 5%;
}

.lvt-shome-about__title {
	margin: 0;
	color: var(--lvt-c-heading);
	font-size: 34px;
	font-weight: 600;
	line-height: 40px;
	letter-spacing: -.01px;
}

.lvt-shome-about__text p {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.lvt-shome-about__text .lvt-shome-more {
	margin-top: 4px;
}

@media (max-width: 1024px) {
	.lvt-shome-about {
		background-position: bottom right;
	}

	.lvt-shome-about__media {
		padding: 0 0 0 32px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	/* Live tablet: the band's boxed content spans the full width (no 32px container sides). */
	.lvt-shome-about > .lvt-container {
		max-width: none;
		padding-right: 0;
		padding-left: 0;
	}

	.lvt-shome-about .lvt-sp-counters__item {
		flex-basis: 49%;
	}
}

@media (max-width: 767px) {
	.lvt-shome-about__row {
		flex-direction: column;
	}

	.lvt-shome-about__media {
		padding: 0;
	}

	.lvt-shome-about__text {
		margin-top: 20px;
		padding: 0 4px 19.5px;
	}

	.lvt-shome-about__title {
		font-size: 26px;
		line-height: 32px;
	}

	.lvt-shome-about__text p {
		font-size: 14px;
		line-height: 20px;
	}
}

/* Counters (home: black numbers) ------------------------------------------ */

.lvt-sp-counters {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lvt-sp-counters__item {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	text-align: center;
}

.lvt-sp-counters__item:not(:last-child) {
	border-right: 1px solid #E5CFC7;
}

.lvt-sp-counters__value {
	color: #000000;
	font-size: 40px;
	font-weight: 700;
	line-height: 40px;
	letter-spacing: -.01px;
}

.lvt-sp-counters__value sup {
	top: 0;
	font-size: 20px;
	line-height: 20px;
	vertical-align: super;
}

.lvt-sp-counters__label {
	font-size: 16px;
	line-height: 24px;
}

.lvt-sp-counters--home {
	margin: 50px 0 0;
	padding-bottom: 99px;
}

@media (max-width: 1024px) {
	.lvt-sp-counters {
		flex-wrap: wrap;
		row-gap: 20px;
	}

	.lvt-sp-counters__item {
		flex: 0 0 50%;
	}

	.lvt-sp-counters__item:nth-child(2n) {
		border-right: 0;
	}
}

@media (max-width: 767px) {
	.lvt-sp-counters__item {
		flex: 0 0 100%;
		border-right: 0 !important;
	}
}
