/* =====================================================================
   Euro Car Point — доработки по ТЗ (цветочное направление, техника)
   Все значения взяты из существующих стилей сайта:
   акцент #760D2B / #6D0423 (--e-global-color-accent / a35d208),
   текст #7A7A7A, заголовки карточек #54595F, Roboto / Roboto Condensed / Montserrat.
   ===================================================================== */

:root {
	--ecp-accent: var(--e-global-color-accent, #760D2B);
	--ecp-accent-dark: var(--e-global-color-a35d208, #6D0423);
	--ecp-heading: var(--e-global-color-secondary, #54595F);
	--ecp-text: var(--e-global-color-text, #7A7A7A);
	--ecp-dark: #11111a;
}

/* ---------- Hero: H1 вместо H2 — сохраняем прежний размер ---------- */
.elementor-6 .elementor-element-9068fc7 h1.elementor-heading-title {
	font-size: 2rem;
}

/* мобильный hero-заголовок тоже H1 (размер 43px задаёт Elementor по классу) */
.elementor-6 .elementor-element-49b70c0 h1.elementor-heading-title { margin-block-end: 1rem; }

/* длинные названия новых блоков (полностью по ТЗ) на планшете/телефоне — меньше кегль, чтобы не было 5–6 строк */
@media (max-width: 1024px) {
	.ecp-long-head-m .elementor-heading-title { font-size: 34px !important; line-height: 1.15; }
}
@media (max-width: 767px) {
	.ecp-long-head-m .elementor-heading-title { font-size: 28px !important; }
}

/* Hero на планшете/телефоне: текст из ТЗ (раньше был только заголовок) */
.ecp-hero-mob-text {
	width: 100%;
	max-width: 573px;
	margin-top: 14px;
	color: #fff;
	font-family: "Roboto", Sans-serif;
	font-size: 15px;
	line-height: 1.55;
}
.ecp-hero-mob-text p { margin: 0 0 10px; }
@media (max-width: 767px) {
	.ecp-hero-mob-text { font-size: 14px; }
}

/* ---------- Кнопка «ИЗПРАТЕТЕ ЗАПИТВАНЕ» (как кнопка формы на «Контакти») ---------- */
.ecp-btn {
	display: inline-block;
	padding: 20px 40px;
	border-radius: 5px;
	background: var(--ecp-accent);
	color: #fff;
	font-family: "Roboto", Sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.1;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 0 0 rgba(118, 13, 43, 0);
	transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.ecp-btn:hover,
.ecp-btn:focus-visible {
	background: var(--ecp-accent-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px -8px rgba(118, 13, 43, .65);
}
.ecp-btn:active { transform: translateY(0); box-shadow: none; }
.ecp-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.ecp-btn--light:hover,
.ecp-btn--light:focus-visible {
	background: #fff;
	color: var(--ecp-accent);
}

/* ---------- Блок «Търговия на едро със семена и свежо отрязани цветя» ---------- */
.ecp-flowers {
	padding: 10px 38px 70px;
}
.ecp-flowers__inner {
	max-width: 1680px;
	margin: 0 auto;
}

/* тематический баннер */
.ecp-fl-banner {
	position: relative;
	margin: 22px 22px 0;
	min-height: 460px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--ecp-dark);
	isolation: isolate;
}
.ecp-fl-banner picture,
.ecp-fl-banner__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}
.ecp-fl-banner::before { /* затемнение слева, как на главном экране */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(17, 17, 26, .92) 0%, rgba(17, 17, 26, .78) 38%, rgba(17, 17, 26, .15) 75%, rgba(17, 17, 26, 0) 100%);
}
.ecp-fl-banner__content {
	max-width: 640px;
	padding: 60px 70px 90px;
	color: #fff;
}
.ecp-fl-banner__title {
	margin: 0 0 18px;
	font-family: "Roboto Condensed", Sans-serif;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
	color: #fff;
}
.ecp-fl-banner__lead {
	margin: 0 0 12px;
	font-family: "Roboto", Sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.45;
	color: #fff;
}
.ecp-fl-banner__text {
	margin: 0 0 28px;
	font-family: "Roboto", Sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .82);
}
/* диагональный срез с бордовой полосой — повторяет низ главного экрана и футера */
.ecp-fl-banner__stripe,
.ecp-fl-banner::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 56px;
	pointer-events: none;
}
.ecp-fl-banner__stripe {
	background: linear-gradient(90deg, #3d0214 0%, var(--ecp-accent) 100%);
	clip-path: polygon(0 100%, 100% 30%, 100% 0, 32% 100%);
}
.ecp-fl-banner::after {
	background: #fff;
	clip-path: polygon(0 100%, 100% 32%, 100% 100%);
}

/* карточки */
.ecp-fl-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ecp-fl-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px;
}
.ecp-fl-card__media {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
}
.ecp-fl-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 740 / 498;
	object-fit: cover;
	transition: transform .5s ease;
}
.ecp-fl-card:hover .ecp-fl-card__media img { transform: scale(1.04); }
.ecp-fl-card__badge { /* как плашка с ценой в карточках автомобилей */
	position: absolute;
	right: 0;
	bottom: 24px;
	min-width: 38%;
	padding: 12px;
	background: var(--ecp-accent);
	color: #fff;
	font-family: "Montserrat", Sans-serif;
	font-size: 16px;
	font-weight: 400;
	text-align: center;
	line-height: 1.2;
}
.ecp-fl-card__title {
	margin: 20px 0 10px;
	font-family: "Roboto", Sans-serif;
	font-size: 25px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
}
.ecp-fl-card__title a {
	color: var(--ecp-heading);
	text-decoration: underline;
	transition: color .25s ease;
}
.ecp-fl-card__title a:hover { color: var(--ecp-accent); }
.ecp-fl-card__text {
	flex: 1 0 auto;
	margin: 0 0 22px;
	font-family: "Roboto", Sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ecp-text);
}

/* ---------- Каталог: ряд «трактор + комбайн» по центру ---------- */
.ecp-agri-row > .elementor-container { justify-content: center; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
	.ecp-fl-banner { min-height: 400px; }
	.ecp-fl-banner__content { padding: 50px 40px 80px; }
	.ecp-fl-banner__title { font-size: 34px; }
	.ecp-fl-banner::before {
		background: linear-gradient(90deg, rgba(17, 17, 26, .9) 0%, rgba(17, 17, 26, .7) 60%, rgba(17, 17, 26, .35) 100%);
	}
	.ecp-fl-card__title { font-size: 22px; }
}
@media (max-width: 767px) {
	.ecp-flowers { padding: 0 40px 40px; } /* те же 62px отступа, что у карточек запчастей на телефоне */
	.ecp-fl-banner { margin: 10px 22px 0; min-height: 0; }
	.ecp-fl-banner::before { background: linear-gradient(180deg, rgba(17, 17, 26, .55) 0%, rgba(17, 17, 26, .9) 55%); }
	.ecp-fl-banner__content { padding: 40px 22px 70px; }
	.ecp-fl-banner__title { font-size: 28px; }
	.ecp-fl-banner__lead { font-size: 16px; }
	.ecp-fl-banner__stripe,
	.ecp-fl-banner::after { height: 34px; }
	.ecp-fl-grid { grid-template-columns: 1fr; }
	.ecp-fl-card__title { font-size: 22px; }
	.ecp-btn { width: 100%; text-align: center; padding: 20px; }
	.ecp-agri-row > .elementor-container > .elementor-column { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ecp-btn, .ecp-fl-card__media img, .ecp-fl-card__title a { transition: none; }
	.ecp-btn:hover, .ecp-btn:focus-visible { transform: none; }
	.ecp-fl-card:hover .ecp-fl-card__media img { transform: none; }
}

/* ---------- Футер: фон-картинка 1920px без background-size повторялась на широких экранах / при масштабе < 100%
   (вторая бордовая полоса и «ступенька» справа). Растягиваем на всю ширину, как фон главного экрана. ---------- */
.elementor-964 .elementor-element.elementor-element-b44d50b:not(.elementor-motion-effects-element-type-background) {
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	background-color: #10101a; /* цвет низа картинки — если блок выше фона */
}
