/* Shared home spacing: section boundaries and heading-to-content boundaries. */
body.home.page-id-2497:not(.elementor-editor-active):not(.elementor-editor-preview) {
	--jardim-home-section-gap: 40px;
	--jardim-home-heading-gap: 24px;
}

@media (max-width: 767px) {
	body.home.page-id-2497:not(.elementor-editor-active):not(.elementor-editor-preview) {
		--jardim-home-section-gap: 24px;
		--jardim-home-heading-gap: 16px;
	}
}

/* Store presentation banner followed by the existing vehicle selector. */
body.home.page-id-2497:not(.elementor-editor-active):not(.elementor-editor-preview) .wd-content-layout:has(.jardim-home-benefits-slot) {
	padding-block-start: 0;
	padding-block-end: var(--jardim-home-section-gap);
}

.home .elementor-2497 > .elementor-element.jardim-home-intro-slot {
	position: relative;
	isolation: isolate;
	--margin-top: 0px;
	--margin-bottom: var(--jardim-home-section-gap);
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 0 var(--jardim-home-section-gap);
	padding: 0;
}

/* Extend only the background, without widening the scrollable content. */
.home .elementor-2497 > .elementor-element.jardim-home-intro-slot::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: #fff;
	box-shadow: 0 0 0 100vmax #fff;
	clip-path: inset(0 -100vmax);
	content: "";
	pointer-events: none;
}

.jardim-home-intro-slot > .elementor-widget-html,
.jardim-home-intro-slot > .elementor-widget-html > .elementor-widget-container {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.home .elementor-2497 .jardim-home-intro {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 24px;
	padding: 40px 0;
	border-radius: 0;
	text-align: left;
	background: #fff;
}

.home .elementor-2497 .jardim-home-intro__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.home .elementor-2497 .jardim-home-intro__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	--jardim-image-fade: 24px;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 var(--jardim-image-fade), #000 calc(100% - var(--jardim-image-fade)), transparent);
	mask-image: linear-gradient(to right, transparent, #000 var(--jardim-image-fade), #000 calc(100% - var(--jardim-image-fade)), transparent);
}

@media (max-width: 1023px) {
	.home .elementor-2497 .jardim-home-intro { grid-template-columns: minmax(0, 1fr); }
}

.home .elementor-2497 .jardim-home-intro h1 {
	margin: 0 0 16px;
	color: var(--wd-primary-color, #00386d);
	font-family: inherit;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
}

.home .elementor-2497 .jardim-home-intro h1 > span { display: block; }

.home .elementor-2497 .jardim-home-intro p {
	margin: 0;
	color: var(--wd-text-color, #242424);
	font-size: var(--jardim-font-body, 16px);
	line-height: 1.5;
}

.home .elementor-2497 .jardim-home-intro__highlights {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	width: 100%;
	margin: 20px 0 24px;
	padding: 0;
	list-style: none;
}

.home .elementor-2497 .jardim-home-intro__highlights li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: var(--wd-text-color, #242424);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.home .elementor-2497 .jardim-home-intro__highlights svg {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	color: var(--wd-primary-color, #00386d);
}

.home .elementor-2497 .jardim-home-intro__whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 100%;
	min-height: 44px;
	padding: 12px 20px;
	border: 0;
	border-radius: 4px;
	background: #118348;
	color: #fff;
	font-family: inherit;
	font-size: var(--jardim-font-ui, 14px);
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	text-transform: none;
}

.home .elementor-2497 .jardim-home-intro__whatsapp svg {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
}

.home .elementor-2497 .jardim-home-intro__whatsapp:hover { background: #0d6a3a; }
.home .elementor-2497 .jardim-home-intro__whatsapp:focus-visible {
	outline: 2px solid var(--wd-primary-color, #00386d);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.home .elementor-2497 .jardim-home-intro { padding: 24px 0; }
	.home .elementor-2497 .jardim-home-intro__image { --jardim-image-fade: 12px; }
	.home .elementor-2497 .jardim-home-intro h1 { font-size: 26px; }
	.home .elementor-2497 .jardim-home-intro__whatsapp { width: 100%; }
}

.home .elementor-2497 > .elementor-element.jardim-home-search-slot {
	--margin-top: 0px;
	--margin-bottom: var(--jardim-home-section-gap);
	--padding-top: 0px;
	--padding-bottom: 0px;
	margin-block: 0 var(--jardim-home-section-gap);
}

/* Remove saved Elementor vertical padding; the section margin owns each gap. */
.home .elementor-2497 > .elementor-element:is(.jardim-home-search-slot, .elementor-element-d8b3fd7) {
	--padding-top: 0px;
	--padding-bottom: 0px;
	--gap: 0px;
	--row-gap: 0px;
	padding-block: 0;
}

.home .elementor-2497 > .elementor-element.elementor-element-d8b3fd7 {
	--margin-top: 0px;
	--margin-bottom: var(--jardim-home-section-gap);
	margin-block: 0 var(--jardim-home-section-gap);
}

.home .elementor-2497 .elementor-element-9649ebb .wd-products-element > .wd-el-title {
	margin-block: 0 var(--jardim-home-heading-gap);
}

/* Give the container-query form a definite width before flex height calculation. */
.home .elementor-2497 .jardim-home-search-slot .elementor-widget-shortcode { width: 100%; }
.jardim-home-search-slot .jardim-av-search { margin-block: 0; }

.home .elementor-2497 > .elementor-element.jardim-home-benefits-slot {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 0 var(--jardim-home-section-gap);
	padding: 0;
}

.jardim-home-benefits-slot > .elementor-widget-html,
.jardim-home-benefits-slot > .elementor-widget-html > .elementor-widget-container {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.jardim-home-benefits {
	padding: 16px 20px;
	border-radius: 8px;
	background: #fff;
	color: #242424;
}

.jardim-home-benefits .jardim-home-benefits__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jardim-home-benefits .jardim-home-benefits__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
}

.jardim-home-benefits__icon {
	display: flex;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	color: var(--wd-primary-color, #00386d);
}

.jardim-home-benefits__icon svg { display: block; width: 32px; height: 32px; }
.jardim-home-benefits__copy { flex: 1; min-width: 0; }
.jardim-home-benefits__list:focus-visible { outline: 2px solid var(--wd-primary-color, #00386d); outline-offset: -3px; }

.jardim-home-benefits .jardim-home-benefits__copy h2 {
	margin: 0 0 4px;
	color: #242424;
	font-family: inherit;
	font-size: var(--jardim-font-ui, 14px);
	font-weight: 600;
	line-height: var(--jardim-leading-text, 20px);
}

.jardim-home-benefits .jardim-home-benefits__copy p {
	margin: 0;
	color: #687482;
	font-size: var(--jardim-font-secondary, 13px);
	line-height: var(--jardim-leading-text, 20px);
}

@media (max-width: 1024px) {
	.jardim-home-benefits .jardim-home-benefits__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.jardim-home-promotions { margin-block-start: var(--jardim-home-section-gap); min-width: 0; }
.jardim-home-promotions .jardim-home-promotions__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.jardim-home-promotions__list > li { min-width: 0; margin: 0; padding: 0; }
.jardim-home-promotions__list a { display: block; }
.jardim-home-promotions__list img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.jardim-home-promotions a:focus-visible,
.jardim-home-promotions__list:focus-visible { outline: 2px solid var(--wd-primary-color, #00386d); outline-offset: -3px; }

@media (min-width: 768px) and (max-width: 1024px) {
	.jardim-home-promotions .jardim-home-promotions__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.jardim-home-benefits { padding: 16px 12px; }
	.jardim-home-benefits .jardim-home-benefits__list {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}
	.jardim-home-benefits__list::-webkit-scrollbar { display: none; }
	.jardim-home-benefits .jardim-home-benefits__item { flex: 0 0 100%; align-items: center; gap: 12px; min-height: 64px; scroll-snap-align: start; }
	.jardim-home-promotions .jardim-home-promotions__list {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}
	.jardim-home-promotions__list::-webkit-scrollbar { display: none; }
	.jardim-home-promotions__list > li { flex: 0 0 100%; scroll-snap-align: start; }
}
