/**
 * HOME 01-04 targeted correction layer.
 *
 * Scope lock: this file may only affect the four front-page sections named
 * below. HOME 05+, the global shell and every non-home template are frozen.
 */

/* HOME 01-04: use the verified Custom Malvinas face without synthetic weight. */
body.home [data-f4u-hero] .f4u-script,
body.home .f4u-section--patterns .f4u-script,
body.home [data-home-real-makes] .f4u-script,
body.home [data-home-collections] .f4u-home-collections__script {
	font-family: "F4U Malvinas Signature Custom" !important;
	font-style: normal;
	font-weight: 400;
	font-synthesis: none;
}

/* HOME 01: keep the marble transition below, rather than behind, the controls. */
body.home [data-f4u-hero]::after {
	height: clamp(2.5rem, 4vw, 4.5rem) !important;
	background: linear-gradient(to bottom, rgba(255, 253, 251, 0), var(--f4u-paper, #fffdfb) 100%) !important;
}

body.home [data-f4u-hero] .f4u-hero__nav {
	position: relative;
	z-index: 5;
}

body.home [data-f4u-hero] .f4u-hero__arrow,
body.home [data-f4u-hero] [data-hero-direction],
body.home [data-f4u-hero] .f4u-hero__arrow-control {
	cursor: pointer !important;
}

body.home [data-f4u-hero] .f4u-hero__arrow-control {
	border-color: rgba(47, 43, 43, .3) !important;
	color: #2f3640 !important;
	background: rgba(255, 255, 255, .96) !important;
	box-shadow: 0 .35rem 1rem rgba(76, 52, 35, .15) !important;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.home [data-f4u-hero] .f4u-hero__arrow:hover .f4u-hero__arrow-control,
body.home [data-f4u-hero] .f4u-hero__arrow:focus-visible .f4u-hero__arrow-control,
body.home [data-f4u-hero] [data-hero-direction]:hover .f4u-hero__arrow-control,
body.home [data-f4u-hero] [data-hero-direction]:focus-visible .f4u-hero__arrow-control {
	border-color: var(--f4u-petal, #cf5f6b) !important;
	box-shadow: 0 .42rem 1.15rem rgba(76, 52, 35, .2) !important;
	transform: translateY(-1px);
}

/* HOME 02: card surfaces stay neutral; the transition belongs to the section. */
body.home .f4u-section--patterns .f4u-product-card,
body.home .f4u-section--patterns .f4u-product-card__body,
body.home .f4u-section--patterns .f4u-product-card__media {
	background-image: none !important;
}

body.home .f4u-section--patterns::after {
	height: clamp(3.5rem, 7vw, 6.5rem) !important;
	background: linear-gradient(to bottom, rgba(255, 253, 251, 0), rgba(255, 248, 246, .92)) !important;
}

/* HOME 02 + HOME 03: one visual and interaction contract for favourites. */
body.home .f4u-section--patterns .f4u-product-card__media > .f4u-wishlist,
body.home [data-home-real-makes] .f4u-community-card .f4u-favorite {
	display: grid !important;
	width: 2.5rem !important;
	height: 2.5rem !important;
	min-width: 2.5rem !important;
	min-height: 2.5rem !important;
	place-items: center !important;
	padding: 0 !important;
	border: 1px solid rgba(86, 61, 57, .13) !important;
	border-radius: 50% !important;
	color: var(--f4u-petal, #cf5f6b) !important;
	background: rgba(255, 255, 255, .95) !important;
	box-shadow: 0 .25rem .85rem rgba(54, 35, 32, .14) !important;
	cursor: pointer !important;
	transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease !important;
}

body.home .f4u-section--patterns .f4u-product-card__media > .f4u-wishlist:hover,
body.home .f4u-section--patterns .f4u-product-card__media > .f4u-wishlist:focus-visible,
body.home [data-home-real-makes] .f4u-community-card .f4u-favorite:hover,
body.home [data-home-real-makes] .f4u-community-card .f4u-favorite:focus-visible {
	transform: scale(1.06) !important;
}

body.home .f4u-section--patterns .f4u-product-card__media > .f4u-wishlist.is-active,
body.home .f4u-section--patterns .f4u-product-card__media > .f4u-wishlist[aria-pressed="true"],
body.home [data-home-real-makes] .f4u-community-card .f4u-favorite.is-active,
body.home [data-home-real-makes] .f4u-community-card .f4u-favorite[aria-pressed="true"] {
	border-color: var(--f4u-petal, #cf5f6b) !important;
	color: #fff !important;
	background: var(--f4u-petal, #cf5f6b) !important;
}

body.home .f4u-section--patterns .f4u-product-card__media > .f4u-wishlist.is-loading,
body.home [data-home-real-makes] .f4u-community-card .f4u-favorite.is-loading {
	cursor: progress !important;
	opacity: .72;
}

body.home .f4u-section--patterns .f4u-product-card__media > .f4u-wishlist.is-unavailable {
	cursor: default !important;
}

body.home .f4u-section--patterns .f4u-product-card__media > .f4u-wishlist .f4u-managed-icon,
body.home .f4u-section--patterns .f4u-product-card__media > .f4u-wishlist .f4u-managed-icon__mask,
body.home [data-home-real-makes] .f4u-community-card .f4u-favorite .f4u-managed-icon,
body.home [data-home-real-makes] .f4u-community-card .f4u-favorite .f4u-managed-icon__mask {
	display: block !important;
	width: 1.2rem !important;
	height: 1.2rem !important;
	max-width: 1.2rem !important;
	max-height: 1.2rem !important;
}

/* HOME 04 shares the same paper edge as both neighbouring marble fades. */
body.home [data-home-collections] {
	background: var(--f4u-paper, #fffdfb) !important;
}

body.home [data-home-real-makes] .f4u-community-card,
body.home [data-home-real-makes] .f4u-community-card__frame,
body.home [data-home-collections] .f4u-collection-card {
	background-image: none !important;
}

@media (prefers-reduced-motion: reduce) {
	body.home [data-f4u-hero] .f4u-hero__arrow-control,
	body.home .f4u-section--patterns .f4u-product-card__media > .f4u-wishlist,
	body.home [data-home-real-makes] .f4u-community-card .f4u-favorite {
		transition: none !important;
	}
}
