/* Секции главной после первого экрана: подборки (mot/home-picks), полоса
   преимуществ (mot/trust-bar), тёмный блок «О компании» (mot/home-about).
   Все селекторы — от класса секции: иначе Kadence (.single-content h2/h3/p, a:hover)
   перебивает цвета и отступы. */

.mot-picks,
.mot-trust,
.mot-about {
	--mot-red: var(--global-palette1, #e30613);
	--mot-ink: var(--global-palette3, #020a0a);
	--mot-muted: var(--global-palette5, #5f5f5f);
	--mot-card: #f3f4f6;
	--mot-edge: var(--global-content-edge-padding, 1.5rem);
}

/* ---------- Подборки ---------- */

.mot-picks {
	margin-top: 0;
	margin-bottom: 20px;
}

.mot-picks .mot-picks__head {
	margin: 0 0 28px;
	text-align: center;
}

.mot-picks .mot-picks__title {
	margin: 0 0 8px;
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: 800;
	line-height: 1.15;
	color: var(--mot-ink);
}

.mot-picks .mot-picks__subtitle {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
	color: var(--mot-muted);
}

.mot-picks .mot-picks__accent {
	color: var(--mot-red);
}

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

.mot-picks .mot-pick {
	display: flex;
	margin: 0;
}

.mot-picks .mot-pick__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 24px 22px 22px;
	border-radius: 16px;
	background: var(--mot-card);
	color: var(--mot-ink);
	text-decoration: none;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.mot-picks a.mot-pick__card:hover,
.mot-picks a.mot-pick__card:focus-visible {
	color: var(--mot-ink);
	box-shadow: 0 12px 32px rgba(2, 10, 10, 0.1);
	transform: translateY(-3px);
}

.mot-picks .mot-pick__title {
	margin: 0;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--mot-ink);
}

.mot-picks .mot-pick__subtitle {
	margin: 6px 0 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--mot-red);
}

.mot-picks .mot-pick__accent {
	font-weight: 800;
}

/* Картинки на белом фоне: multiply растворяет белый в сером фоне карточки. */
.mot-picks .mot-pick__media {
	aspect-ratio: 4 / 3;
	margin: 14px -6px 14px;
}

.mot-picks .mot-pick__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 0.35s ease;
}

.mot-picks a.mot-pick__card:hover .mot-pick__img {
	transform: scale(1.04);
}

.mot-picks .mot-pick__bullets {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
	line-height: 1.45;
	color: #3b3f45;
}

.mot-picks .mot-pick__bullets li {
	position: relative;
	margin: 0 0 4px;
	padding-left: 14px;
}

.mot-picks .mot-pick__bullets li::before {
	content: "";
	position: absolute;
	top: 0.6em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--mot-red);
}

.mot-picks .mot-pick__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	font-size: 14px;
	font-weight: 700;
	color: var(--mot-red);
}

.mot-picks .mot-pick__arrow {
	flex: 0 0 auto;
	transition: transform 0.2s ease;
}

.mot-picks a.mot-pick__card:hover .mot-pick__arrow {
	transform: translateX(3px);
}

/* ---------- Полоса преимуществ ---------- */

.mot-trust {
	margin-top: 0;
	margin-bottom: 88px;
}

.mot-trust .mot-trust__list {
	display: flex;
	justify-content: space-between;
	gap: 16px 24px;
	margin: 0;
	padding: 20px 32px;
	border-radius: 16px;
	background: var(--mot-card);
	list-style: none;
}

.mot-trust .mot-trust__item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
}

.mot-trust .mot-trust__icon {
	flex: 0 0 auto;
	width: 36px;
	height: 32px;
	color: var(--mot-red);
}

.mot-trust .mot-trust__text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.mot-trust .mot-trust__title {
	font-size: 14px;
	font-weight: 700;
	color: var(--mot-ink);
}

.mot-trust .mot-trust__sub {
	font-size: 13px;
	color: var(--mot-muted);
}

/* ---------- О компании (тёмный) ---------- */

/* Боковые margin не трогаем: ими Kadence растягивает .alignfull на всю ширину. */
.mot-about {
	margin-top: 0;
	margin-bottom: 64px;
	padding: 64px 0;
	background: #141414;
	color: #fff;
}

.mot-about:not(.alignfull) {
	border-radius: 20px;
}

/* Следом полоса во всю ширину (например, серый ряд «Хиты продаж») — встык, без белой щели. */
.mot-about.alignfull:has(+ .alignfull),
.mot-about.alignfull:has(+ .mot-reviews-band) {
	margin-bottom: 0;
}

/* Серая полоса отзывов (стили — в дочерней теме) между такими полосами — тоже встык. */
.mot-about.alignfull + .mot-reviews-band {
	margin-top: 0;
}

.mot-reviews-band:has(+ .alignfull) {
	margin-bottom: 0;
}

.mot-about .mot-about__inner {
	box-sizing: border-box;
	max-width: var(--global-content-width, 1440px);
	margin: 0 auto;
	padding: 0 var(--mot-edge);
}

.mot-about .mot-about__top {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
	gap: 48px;
	align-items: start;
	margin-bottom: 48px;
}

.mot-about .mot-about__title {
	margin: 0 0 20px;
	font-size: clamp(24px, 2.05vw, 30px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: #fff;
}

.mot-about .mot-about__accent {
	color: var(--mot-red);
}

.mot-about .mot-about__text p {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.55;
	color: #d4d5d8;
}

.mot-about .mot-about__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	margin-top: 16px;
	padding: 0 32px;
	border-radius: 10px;
	background: var(--mot-red);
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.mot-about .mot-about__btn:hover,
.mot-about .mot-about__btn:focus-visible {
	background: #c20510;
	color: #fff;
}

.mot-about .mot-about__features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 8px 0 0;
	list-style: none;
}

.mot-about .mot-about__feature {
	margin: 0;
}

.mot-about .mot-about__feature-icon {
	display: block;
	width: auto;
	max-width: 100%;
	height: 40px;
	margin-bottom: 16px;
	color: var(--mot-red);
}

.mot-about .mot-about__feature-title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.mot-about .mot-about__feature-text {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #a9abb0;
}

.mot-about .mot-about__photos {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mot-about .mot-about__photo {
	position: relative;
	margin: 0;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	background: #222;
}

.mot-about .mot-about__photo-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.mot-about .mot-about__photo:hover .mot-about__photo-img {
	transform: scale(1.04);
}

.mot-about .mot-about__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.8) 100%);
	pointer-events: none;
}

.mot-about .mot-about__caption {
	position: absolute;
	right: 16px;
	bottom: 14px;
	left: 16px;
	z-index: 1;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1100px) {
	.mot-picks .mot-picks__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mot-trust .mot-trust__list {
		flex-wrap: wrap;
		justify-content: flex-start;
		padding: 20px 24px;
	}
	.mot-trust .mot-trust__item {
		flex: 0 0 calc((100% - 48px) / 3);
	}
	.mot-about .mot-about__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}
}

/* Узко: фото листаются свайпом во всю ширину экрана. */
@media (max-width: 900px) {
	.mot-about {
		padding: 48px 0;
	}
	.mot-about .mot-about__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 20px;
	}
	.mot-about .mot-about__photos {
		display: flex;
		gap: 12px;
		margin: 0 calc(-1 * var(--mot-edge));
		padding: 0 var(--mot-edge) 4px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--mot-edge);
		scrollbar-width: none;
	}
	.mot-about .mot-about__photos::-webkit-scrollbar {
		display: none;
	}
	.mot-about .mot-about__photo {
		flex: 0 0 42%;
		scroll-snap-align: start;
	}
}

/* Телефон: карточки подборок тоже листаются свайпом. */
@media (max-width: 600px) {
	.mot-picks .mot-picks__head {
		margin-bottom: 20px;
	}
	.mot-picks .mot-picks__grid {
		display: flex;
		gap: 12px;
		margin: 0 calc(-1 * var(--mot-edge));
		padding: 0 var(--mot-edge) 6px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--mot-edge);
		scrollbar-width: none;
	}
	.mot-picks .mot-picks__grid::-webkit-scrollbar {
		display: none;
	}
	.mot-picks .mot-pick {
		flex: 0 0 78%;
		scroll-snap-align: start;
	}
	.mot-picks .mot-pick__card {
		padding: 20px 18px 18px;
	}
	.mot-picks .mot-pick__title {
		font-size: 17px;
	}
	.mot-trust {
		margin-bottom: 60px;
	}
	.mot-trust .mot-trust__list {
		gap: 16px 12px;
		padding: 18px 16px;
	}
	.mot-trust .mot-trust__item {
		flex: 0 0 calc((100% - 12px) / 2);
		gap: 10px;
	}
	.mot-trust .mot-trust__icon {
		width: 30px;
		height: 26px;
	}
	.mot-trust .mot-trust__title {
		font-size: 13px;
	}
	.mot-trust .mot-trust__sub {
		font-size: 12px;
	}
	.mot-about {
		margin-bottom: 44px;
		padding: 40px 0;
	}
	.mot-about .mot-about__btn {
		width: 100%;
	}
	.mot-about .mot-about__feature-icon {
		height: 32px;
		margin-bottom: 12px;
	}
	.mot-about .mot-about__photo {
		flex-basis: 64%;
	}
}
