/* Homepage styles are loaded only on the static front page. */

.home #primary,
.home .entry-content {
	margin: 0;
}

.home.ast-separate-container #primary,
.home .site-content,
.home .site-content > .ast-container,
.home #content,
.home .site-main,
.home .ast-article-single,
.home .ast-article-single .entry-content {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

/* Astra's desktop "separate container" rule adds article padding with a
 * more specific selector. The homepage is intentionally full-bleed, so it
 * must opt out at that exact wrapper level instead of merely widening its
 * inner sections. */
.home.ast-separate-container .site-content,
.home.ast-separate-container .site-content > .ast-container,
.home.ast-separate-container #primary,
.home.ast-separate-container .site-main,
.home.ast-separate-container .ast-article-single,
.home.ast-separate-container .ast-article-single .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

/* The active Astra layout is "plain container", which adds 60px above
 * and below the primary content area. */
.home.ast-plain-container #primary {
	margin: 0 !important;
}

.home .entry-header {
	display: none;
}

/* Gutenberg applies a 1200px content constraint to its group blocks. */
body.home {
	overflow-x: clip;
}

.home .entry-content > .mcl-home {
	width: 100% !important;
	max-width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding: 0 !important;
	overflow-x: clip;
	background: var(--mcl-base);
	color: var(--mcl-contrast);
}

.mcl-home-hero,
.mcl-home-highlights,
.mcl-home-products,
.mcl-home-news,
.mcl-home-discover,
.mcl-home-testimonials {
	/* Removed scroll-snap-align to prevent unwanted auto-scroll */
}

.mcl-home h1,
.mcl-home h2,
.mcl-home p {
	color: inherit;
}

.mcl-home-section,
.mcl-home-benefits {
	max-width: 1680px;
	margin: 0 auto;
	padding: clamp(2.25rem, 3vw, 4rem) clamp(1.25rem, 4vw, 5rem);
}

.mcl-home-section__heading > p,
.mcl-home-hero__content > p:not(.mcl-home-hero__subtitle):not(.mcl-home-hero__proof),
.mcl-home-discover p {
	margin-bottom: 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mcl-home-section__heading h2,
.mcl-home-products h2,
.mcl-home-news h2,
.mcl-home-testimonials h2,
.mcl-home-discover h2 {
	margin-bottom: 2rem;
	color: var(--mcl-contrast);
	font-size: clamp(1.75rem, 3vw, 2.2rem);
}

.mcl-home-hero {
	position: relative;
	min-height: 0;
	aspect-ratio: var(--mcl-hero-aspect, 2 / 1);
	background: var(--mcl-base);
	overflow: hidden;
}

.mcl-carousel__track {
	position: relative;
}

.mcl-carousel__slide {
	display: none;
}

.mcl-carousel__slide.is-active {
	display: block;
}

.mcl-home-hero .mcl-carousel__slide {
	position: absolute;
	inset: 0;
	display: block;
	min-height: 0;
	aspect-ratio: var(--mcl-hero-aspect, 2 / 1);
	transform: translateX(100%);
	transition: transform 0.6s ease;
}

.mcl-home-hero .mcl-carousel__slide.is-active {
	position: relative;
	transform: translateX(0);
}

.mcl-home-hero .mcl-carousel__slide.is-active.is-entering-right {
	transform: translateX(100%);
}

.mcl-home-hero .mcl-carousel__slide.is-active.is-entering-left {
	transform: translateX(-100%);
}

.mcl-home-hero .mcl-carousel__slide.is-leaving-left {
	transform: translateX(-100%);
}

.mcl-home-hero .mcl-carousel__slide.is-leaving-right {
	transform: translateX(100%);
}

.mcl-home-hero .mcl-carousel__slide::after {
	display: none;
}


.mcl-home-hero img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mcl-home-hero__content {
	position: relative;
	z-index: 1;
	max-width: 1680px;
	margin: 0 auto;
	padding: clamp(4.75rem, 7vw, 7rem) clamp(1.25rem, 4vw, 5rem) 3rem;
}

.mcl-home-hero__content h1,
.mcl-home-hero__content h2 {
	max-width: 45rem;
	margin-bottom: 1.5rem;
	color: var(--mcl-contrast);
	font-size: clamp(2.25rem, 4vw, 3rem);
	line-height: 1.05;
}

.mcl-home-hero__subtitle {
	max-width: 35rem;
	margin: -0.75rem 0 1.35rem;
	font-family: var(--mcl-font);
	font-size: clamp(0.95rem, 1.3vw, 1.05rem);
	line-height: 1.55;
}

.mcl-home-hero__proof {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	max-width: 34rem;
	margin: 0.85rem 0 0;
	color: #c6aa00 !important;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.mcl-home-hero__proof span {
	color: var(--mcl-contrast);
	font-family: var(--mcl-font);
	font-weight: 600;
}

.mcl-home-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.65rem 1.15rem;
	border: 1px solid var(--mcl-primary);
	border-radius: 999px;
	background: var(--mcl-primary);
	color: var(--mcl-contrast) !important;
	font-weight: 600;
	text-decoration: none !important;
}

.mcl-home-hero .mcl-home-button {
	min-height: 3.2rem;
	gap: 0.55rem;
	padding: 0.8rem 1.45rem;
	font-size: 1rem;
}

.mcl-home-button:hover,
.mcl-home-button:focus {
	border-color: var(--mcl-contrast);
	background: var(--mcl-contrast);
	color: var(--mcl-base) !important;
}

.mcl-carousel__controls {
	position: absolute;
	z-index: 2;
	right: clamp(1rem, 4vw, 3rem);
	bottom: 1.5rem;
	display: flex;
	gap: 0.5rem;
}

.mcl-carousel__controls button {
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 50%;
	background: var(--mcl-base);
	color: var(--mcl-contrast);
	font-size: 1.25rem;
}

.mcl-carousel__controls button:hover,
.mcl-carousel__controls button:focus {
	background: var(--mcl-primary);
	color: var(--mcl-contrast);
}

.mcl-home-hero .mcl-carousel__controls {
	inset: 0;
	display: block;
}

.mcl-home-hero .mcl-carousel__controls button {
	position: absolute;
	top: 50%;
	width: auto;
	height: auto;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--mcl-contrast);
	font-size: clamp(1.35rem, 2.5vw, 1.8rem);
	font-weight: 300;
	line-height: 1;
	transform: translateY(-50%);
}

.mcl-home-hero .mcl-carousel__controls button:first-child {
	left: clamp(0.75rem, 2vw, 2rem);
}

.mcl-home-hero .mcl-carousel__controls button:nth-child(2) {
	right: clamp(0.75rem, 2vw, 2rem);
}

.mcl-home-hero .mcl-carousel__controls button:hover,
.mcl-home-hero .mcl-carousel__controls button:focus {
	background: transparent;
	color: var(--mcl-contrast);
	transform: translateY(-50%) scale(1.12);
}

.mcl-home-hero .mcl-carousel__controls button:focus-visible {
	outline: 2px solid var(--mcl-primary);
	outline-offset: 4px;
}

.mcl-home-hero .mcl-carousel__dots {
	position: absolute;
	z-index: 3;
	bottom: 1.5rem;
	left: 50%;
	display: flex;
	gap: 0.5rem;
	transform: translateX(-50%);
}

.mcl-home-hero .mcl-carousel__dots button {
	width: 0.55rem;
	height: 0.55rem;
	padding: 0;
	border: 1px solid var(--mcl-contrast);
	border-radius: 999px;
	background: var(--mcl-base);
	transition: width 0.2s ease, background 0.2s ease;
}

.mcl-home-hero .mcl-carousel__dots button.is-active {
	width: 1.4rem;
	background: var(--mcl-primary);
}

.mcl-home-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
}

.mcl-home-benefits article {
	display: flex;
	justify-content: center;
	gap: 1rem;
	align-items: flex-start;
}

.mcl-home-benefits article::before {
	color: #111;
	content: "\f313";
	font-family: dashicons;
	font-size: 2rem;
	line-height: 1;
}

.mcl-home-benefits article.mcl-home-benefit--speed::before {
	content: "\f311";
}

.mcl-home-benefits article.mcl-home-benefit--trust::before {
	content: "\f332";
}

.mcl-home-benefits svg {
	width: 2rem;
	flex: 0 0 2rem;
	fill: none;
	stroke: #111;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.mcl-home-benefits h2 {
	margin: 0 0 0.2rem;
	font-size: 1rem;
}

.mcl-home-benefits p {
	margin: 0;
	font-size: 0.9rem;
}

.mcl-home-highlights__grid {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}

.mcl-home-benefits {
	padding: 2.25rem clamp(1.25rem, 4vw, 5rem) 0.75rem;
}

.mcl-home-highlights {
	padding-top: 0.75rem;
}

.mcl-home-highlights .mcl-home-section__heading h2 {
	margin-bottom: 1.25rem;
}

.mcl-home-highlights .mcl-home-section__heading > p {
	display: none;
}

.mcl-home-highlights__grid a {
	position: relative;
	display: flex;
	min-height: 27.5rem;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 1.5rem;
	border-radius: 1rem;
	overflow: hidden;
	color: var(--mcl-base) !important;
	text-align: left;
	text-decoration: none !important;
	isolation: isolate;
}

.mcl-home-highlights__grid a::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(180deg, rgb(0 0 0 / 5%) 22%, rgb(0 0 0 / 82%) 100%);
	content: "";
}

.mcl-home-highlights__grid img {
	position: absolute;
	z-index: -2;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mcl-home-highlights__grid span {
	margin-bottom: 0.75rem;
	padding: 0.3rem 0.55rem;
	border-radius: 999px;
	background: var(--mcl-primary);
	color: var(--mcl-contrast);
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
}

.mcl-home-highlights__grid strong {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 1.25rem;
	line-height: 1.2;
}

.mcl-home-highlights__grid small {
	display: block;
	margin-top: 0.45rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.9rem;
	line-height: 1.35;
}

.mcl-home-highlights__grid b {
	margin-top: 0.85rem;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: var(--mcl-primary);
	color: var(--mcl-contrast);
	font-size: 0.85rem;
}

.mcl-home-products .products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
}

.mcl-home-products .products li {
	width: auto !important;
	margin: 0 !important;
	list-style: none;
}

.mcl-product-carousel__viewport {
	overflow: hidden;
	padding: 28px 16px;
	margin: -28px -16px;
}

.mcl-home-products .mcl-product-carousel .products {
	display: flex;
	align-items: flex-start;
	gap: 1.15rem;
	margin: 0;
	transition: transform 0.55s ease;
}

.mcl-home-products .mcl-product-carousel .products li.product {
	flex: 0 0 calc((100% - 3.45rem) / 4);
	width: calc((100% - 3.45rem) / 4) !important;
	min-width: 0 !important;
	max-width: calc((100% - 3.45rem) / 4);
	align-self: flex-start;
}

.mcl-home-products .mcl-product-carousel .astra-shop-thumbnail-wrap {
	display: grid;
	place-items: center;
	height: 12.5rem;
	overflow: hidden;
}

.mcl-home-products .mcl-product-carousel .astra-shop-thumbnail-wrap img {
	width: 100% !important;
	height: 12.5rem !important;
	object-fit: contain;
}

.mcl-home-products .woocommerce-loop-product__title {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mcl-home-products .mcl-home-product-description {
	margin: 0.3rem 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


.mcl-home-news {
	margin: 0;
	padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 5rem);
	background: var(--mcl-primary);
}

.mcl-home-news a {
	text-decoration: none !important;
}

.mcl-home-news__inner {
	max-width: 1680px;
	margin: 0 auto;
}

.mcl-home-news__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.mcl-home-news__heading h2 {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.0rem);
}

.mcl-home-news__heading > a {
	padding: 0.65rem 1rem;
	border: 1px solid var(--mcl-contrast);
	border-radius: 999px;
	color: var(--mcl-contrast) !important;
	font-size: 0.85rem;
	font-weight: 600;
}

.mcl-home-news__heading > a:hover,
.mcl-home-news__heading > a:focus {
	background: var(--mcl-contrast);
	color: var(--mcl-base) !important;
}

.mcl-home-news__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.15rem;
}

.mcl-home-news__grid article {
	display: flex;
	min-width: 0;
	flex-direction: column;
	border-radius: 1rem;
	overflow: hidden;
	background: var(--mcl-base);
}

.mcl-home-news__image {
	display: block;
	width: 100%;
	height: 13rem;
	overflow: hidden;
}

.mcl-home-news__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.mcl-home-news__grid article > div {
	display: flex;
	min-height: 12rem;
	flex: 1;
	flex-direction: column;
	padding: 1rem 1.15rem;
}

.mcl-home-news__grid span {
	margin-bottom: 0.75rem;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.mcl-home-news__grid h3 {
	margin: 0 0 0.6rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 1.1rem;
	line-height: 1.2;
}

.mcl-home-news__grid p {
	display: -webkit-box;
	margin: 0 0 0.9rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 0.9rem;
}

.mcl-home-news__grid article > div > a {
	margin-top: auto;
	padding: 0.65rem 0.8rem;
	border-radius: 999px;
	background: var(--mcl-primary);
	color: var(--mcl-contrast) !important;
	font-size: 0.85rem;
	font-weight: 600;
	text-align: center;
}

.mcl-home-news__grid article > div > a:hover,
.mcl-home-news__grid article > div > a:focus {
	background: var(--mcl-contrast);
	color: var(--mcl-base) !important;
}

.mcl-home-empty-note {
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--mcl-primary);
	background: #f7f7f7;
}

.mcl-home-products:has(.product) .mcl-home-empty-note,

.mcl-home-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.mcl-home-category-grid a {
	padding: 1.5rem;
	border: 1px solid var(--mcl-border);
	border-radius: 0.75rem;
	background: var(--mcl-base);
	font-size: 1.1rem;
	font-weight: 600;
}

.mcl-home-category-grid a:hover,
.mcl-home-category-grid a:focus {
	border-color: var(--mcl-contrast);
	background: var(--mcl-contrast);
	color: var(--mcl-base) !important;
}

.mcl-popular-categories {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.mcl-popular-categories h3 {
	display: inline-block;
	margin: 0 0 0.8rem;
	padding-bottom: 0.3rem;
	border-bottom: 3px solid var(--mcl-primary);
	font-size: 1.1rem;
	font-weight: 800;
}

.mcl-popular-categories section > div {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem;
	align-items: start;
	align-content: start;
}

.mcl-popular-categories a {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 1px solid var(--mcl-border);
	border-radius: 0.7rem;
	box-sizing: border-box;
	background: #f1f1f1;
	color: #111 !important;
}

.mcl-popular-categories img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.mcl-popular-categories img.is-changing {
	opacity: 0;
	transform: scale(0.98);
}

.mcl-popular-categories span {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	padding: 0.28rem 0.45rem;
	border-radius: 0.25rem;
	background: rgba(255, 255, 255, 0.88);
	font-weight: 700;
	line-height: 1.15;
}

.mcl-popular-categories a:hover img,
.mcl-popular-categories a:focus img {
	transform: scale(1.05);
}

.mcl-home-discover {
	display: flex;
	width: min(1100px, calc(100% - 2.5rem));
	box-sizing: border-box;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin: clamp(2rem, 4vw, 4rem) auto;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: 1rem;
	background: var(--mcl-primary);
}

.mcl-home-discover h2 {
	margin-bottom: 0;
}

.mcl-home-discover a {
	text-decoration: none !important;
}

.mcl-home-discover .mcl-home-button {
	border-color: var(--mcl-contrast);
	background: var(--mcl-contrast);
	color: var(--mcl-base) !important;
}

.mcl-home-discover .mcl-home-button:hover,
.mcl-home-discover .mcl-home-button:focus {
	background: var(--mcl-base);
	color: var(--mcl-contrast) !important;
}

.mcl-home-testimonials {
	padding: clamp(3rem, 5vw, 5rem) 0 clamp(1rem, 3vw, 2rem);
	overflow: hidden;
	background: #f7f7f7;
	color: #111;
}

.mcl-home-testimonials .mcl-home-section__heading h2 {
	color: #111;
}

.mcl-home-testimonials .mcl-home-section__heading {
	max-width: 1680px;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 5rem);
}

.mcl-testimonial-viewport {
	overflow: hidden;
}

.mcl-testimonial-track,
.mcl-testimonial-sequence {
	display: flex;
}

.mcl-testimonial-track {
	width: max-content;
	animation: mcl-testimonial-scroll 15s linear infinite;
}

.mcl-testimonial-sequence {
	flex: none;
	gap: 1.5rem;
	padding-right: 1.5rem;
}

.mcl-testimonial-card {
	box-sizing: border-box;
	flex: 0 0 clamp(260px, 85vw, 360px);
	min-height: 260px;
	padding: 2rem;
	border: 1px solid #e7e7e7;
	border-radius: 0.9rem;
	background: var(--mcl-base);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.035);
}

.mcl-testimonial-card__stars {
	margin: 0 0 1rem;
	color: var(--mcl-primary) !important;
	font-size: 1.1rem;
	letter-spacing: 0.08em;
}

.mcl-testimonial-card blockquote {
	margin: 0;
	border: 0;
	font-size: 1rem;
	font-style: italic;
	line-height: 1.5;
}

.mcl-testimonial-card p {
	margin: 0;
	color: #333 !important;
}

.mcl-testimonial-card cite {
	display: block;
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #ececec;
	color: #111;
	font-size: 0.9rem;
	font-style: normal;
	font-weight: 700;
}

@keyframes mcl-testimonial-scroll {
	to { transform: translateX(-50%); }
}

@media (max-width: 921px) {
	.mcl-home-highlights__grid,
	.mcl-home-products .products,
	.mcl-home-news__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mcl-popular-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mcl-popular-categories section > div {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mcl-home-products .mcl-product-carousel .products li.product {
		flex-basis: calc((100% - 1.5rem) / 2);
		width: calc((100% - 1.5rem) / 2) !important;
		max-width: calc((100% - 1.5rem) / 2);
	}
}

@media (max-width: 600px) {
	.mcl-home-hero__content h1,
	.mcl-home-hero__content h2 {
		max-width: 100%;
		font-size: 1.9rem;
	}

	.mcl-home-section,
	.mcl-home-benefits {
		padding: 1.5rem 1rem;
	}

	.mcl-home-section__heading h2,
	.mcl-home-products h2,
	.mcl-home-news h2,
	.mcl-home-testimonials h2,
	.mcl-home-discover h2 {
		margin-bottom: 1rem;
		font-size: 1.55rem;
	}


	.mcl-home-hero img {
		object-fit: contain;
	}

	.mcl-home-benefits {
		grid-template-columns: 1fr;
		gap: 0.6rem;
		padding-top: 1rem;
		padding-bottom: 1rem;
	}

	.mcl-home-benefits article {
		width: 100%;
		min-width: 0;
		justify-content: flex-start;
		align-items: center;
		gap: 0.7rem;
		padding: 0.7rem 0.8rem;
		border: 1px solid #ececec;
		border-radius: 0.75rem;
		background: #fff;
	}

	.mcl-home-benefits article::before {
		flex: 0 0 1.45rem;
		font-size: 1.45rem;
		text-align: center;
	}

	.mcl-home-benefits h2 {
		margin-bottom: 0.1rem;
		font-size: 0.88rem;
		line-height: 1.2;
	}

	.mcl-home-benefits p {
		font-size: 0.72rem;
		line-height: 1.35;
	}

	.mcl-home-highlights__grid,
	.mcl-home-news__grid,
	.mcl-home-category-grid,
	.mcl-popular-categories {
		grid-template-columns: 1fr !important;
		text-align: center;
	}

	.mcl-home-products .products,
	.mcl-popular-categories section > div {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.85rem !important;
	}

	/* Each popular-category group needs its own full row on a phone. Keeping
	 * three groups in the two-column page grid made every product tile tiny. */
	.mcl-popular-categories {
		grid-template-columns: 1fr;
		gap: 1.15rem;
	}

	.mcl-popular-categories h3 {
		margin-bottom: 0.55rem;
		font-size: 0.95rem;
	}

	.mcl-popular-categories section > div {
		gap: 0.55rem;
	}

	.mcl-popular-categories a {
		display: grid;
		min-height: 0;
		aspect-ratio: auto;
		grid-template-rows: 5.5rem auto;
		border-radius: 0.65rem;
		background: #fff;
	}

	.mcl-popular-categories img {
		grid-row: 1;
		height: 100%;
		padding: 0.35rem;
		object-fit: contain;
	}

	.mcl-popular-categories span {
		position: static;
		grid-row: 2;
		min-height: 2.15rem;
		padding: 0.4rem 0.5rem 0.5rem;
		border-radius: 0;
		background: transparent;
		font-size: 0.72rem;
		line-height: 1.2;
	}

	.mcl-home-products .mcl-product-carousel .products li.product {
		width: auto !important;
		max-width: none;
	}

	.mcl-home-products .mcl-product-carousel .products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-content: center;
		gap: 0.85rem;
		transform: none !important;
	}

.mcl-home-highlights__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0.75rem;
	text-align: left;
}

	.mcl-home-highlights__grid a {
		min-height: 11.5rem;
		padding: 0.85rem;
	}

	.mcl-home-highlights__grid span {
		margin-bottom: 0.45rem;
		font-size: 0.58rem;
	}

	.mcl-home-highlights__grid strong {
		font-size: 0.85rem;
	}

	.mcl-home-highlights__grid small {
		display: none;
	}

	.mcl-home-highlights__grid b {
		margin-top: 0.6rem;
		padding: 0.45rem 0.7rem;
		font-size: 0.72rem;
	}

	.mcl-home-news__heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.mcl-home-news {
		padding: 1.5rem 1rem;
	}

	.mcl-home-news__grid {
		gap: 0.55rem;
	}

	.mcl-home-news__grid article {
		border-radius: 0.7rem;
	}

	.mcl-home-news__grid img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		aspect-ratio: 1 / 1;
	}

	.mcl-home-news__grid article > div {
		min-height: 0;
		padding: 0.7rem;
	}

	.mcl-home-news__grid span {
		margin-bottom: 0.35rem;
		font-size: 0.55rem;
	}

	.mcl-home-news__grid h3 {
		display: -webkit-box;
		margin-bottom: 0.45rem;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		font-size: 0.85rem;
	}

	.mcl-home-news__grid p {
		display: none;
	}

	.mcl-home-news__grid article > div > a {
		min-height: 2rem;
		padding: 0.4rem;
		font-size: 0.72rem;
	}

	.mcl-home-discover {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mcl-home * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
/* Suppliers Section */
.mcl-home-suppliers {
	padding: 1.25rem 0;
	background: #000000;
	border: none;
	margin-top: 0;
}
.mcl-supplier-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 3.5rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
.mcl-supplier-logos img {
	max-height: 38px;
	width: auto;
	object-fit: contain;
	opacity: 0.95;
	filter: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.mcl-supplier-logos img:hover {
	opacity: 1;
	transform: scale(1.05);
}
.mcl-supplier-logos img[alt="Makito"] {
	filter: none;
}
.mcl-supplier-logos img[alt="BIC Graphic"] {
	filter: none;
}
.mcl-supplier-logos img[alt="TopTex"] {
	filter: brightness(0) invert(1);
}
.mcl-supplier-text {
	font-size: 1.15rem;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Logos de fornecedores: reduzir em tablet e mobile para não dominar o ecrã. */
@media (max-width: 768px) {
	.mcl-supplier-logos {
		gap: 1.75rem;
		padding: 0 1rem;
	}
	.mcl-supplier-logos img {
		max-height: 28px;
		max-width: 30%;
	}
	.mcl-supplier-text {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.mcl-home-suppliers {
		padding: 0.9rem 0;
	}
	.mcl-supplier-logos {
		gap: 1rem 1.25rem;
		padding: 0 0.75rem;
	}
	.mcl-supplier-logos img {
		max-height: 20px;
		max-width: 44%;
	}
	.mcl-supplier-text {
		font-size: 0.9rem;
	}
}

/* Hero: evitar que as setas do carrossel fiquem por cima do texto. */
@media (max-width: 768px) {
	.mcl-home-hero__content {
		padding-left: 3rem;
		padding-right: 3rem;
		padding-bottom: 3.25rem;
	}
}

@media (max-width: 600px) {
	.mcl-home-hero .mcl-carousel__controls button {
		display: none;
	}
	.mcl-home-hero__content {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
		padding-bottom: 3.25rem;
	}
	.mcl-home-hero__proof {
		flex-wrap: wrap;
	}
}


/* Keep the homepage product cards compact and readable on phones. */
@media (max-width: 600px) {
	.mcl-home-products .mcl-product-carousel .products {
		gap: 0.75rem;
	}

	.mcl-home-products .mcl-product-carousel .astra-shop-thumbnail-wrap,
	.mcl-home-products .mcl-product-carousel .astra-shop-thumbnail-wrap img {
		height: auto !important;
		aspect-ratio: 4 / 3;
	}

	.mcl-home-products .woocommerce-loop-product__title {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		white-space: normal;
		font-size: 0.84rem !important;
		line-height: 1.3;
	}

	.mcl-home-products .mcl-home-product-description {
		font-size: 0.72rem;
		line-height: 1.35;
	}

	.mcl-home-products .button,
	.mcl-home-products .added_to_cart {
		padding: 0.6rem 0.7rem;
		font-size: 0.8rem;
	}
}

/* The product carousel becomes a stable two-column grid through tablet width. */
@media (max-width: 921px) {
	.mcl-home-products .mcl-product-carousel .products {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: clamp(0.75rem, 2vw, 1.15rem);
		transform: none !important;
	}

	.mcl-home-products .mcl-product-carousel .products li.product {
		width: auto !important;
		max-width: none;
	}
}


@media (max-width: 600px) {
	.mcl-home-news__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 0.75rem;
		text-align: left;
	}


	.mcl-home-news__image {
		height: auto;
		aspect-ratio: 4 / 3;
	}

	.mcl-home-news__grid article > div {
		min-height: 0;
		padding: 0.6rem;
		gap: 0.25rem;
	}

	.mcl-home-news__grid span {
		display: none;
	}

	.mcl-home-news__grid h3 {
		margin: 0;
		font-size: 0.78rem;
		line-height: 1.3;
	}

	.mcl-home-news__grid p {
		display: -webkit-box;
		margin: 0;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		font-size: 0.7rem;
		line-height: 1.35;
	}

	.mcl-home-news__grid article > div > a {
		min-height: 2.15rem;
		margin-top: 0;
		padding: 0.5rem;
		font-size: 0.78rem;
		line-height: 1.2;
	}
}
/* Keep temporary color rows compact while preserving aligned product actions. */
.mcl-home-products .mcl-product-colors {
	min-height: 0.7rem;
	margin: 0.2rem 0 0.35rem !important;
	align-items: center;
}

.mcl-home-products .mcl-product-color {
	flex: 0 0 0.7rem;
}

@media (max-width: 600px) {
	.mcl-home-news__grid article > div {
		gap: 0.35rem;
	}

	.mcl-home-news__grid article > div > a {
		margin-top: 0.15rem;
	}
}

/* Preview references and colors belong below the product copy, never on the image. */
.mcl-home-products .mcl-product-reference--card {
	margin: 0.15rem 0 0 !important;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
}

.mcl-home-products .mcl-product-colors {
	display: flex;
	gap: 0.3rem;
	margin: 0.1rem 0;
}

.mcl-home-products .mcl-product-color {
	width: 0.7rem;
	height: 0.7rem;
	border: 1px solid #b7b7b7;
	border-radius: 50%;
}

.mcl-home-products .mcl-product-color--azul { background: #1d4ed8; }
.mcl-home-products .mcl-product-color--branco,
.mcl-home-products .mcl-product-color--natural { background: #fff; }
.mcl-home-products .mcl-product-color--verde { background: #228b22; }
.mcl-home-products .mcl-product-color--bordeaux { background: #7f1d1d; }
.mcl-home-products .mcl-product-color--preto { background: #111; }
.mcl-home-products .mcl-product-color--amarelo { background: #facc15; }
/* Compact mobile Destaques typography. */
@media (max-width: 600px) {
	.mcl-home-highlights__grid a {
		min-height: 10rem;
		padding: 0.6rem;
	}
	.mcl-home-highlights__grid span {
		font-size: 0.5rem;
		font-weight: 500;
	}
	.mcl-home-highlights__grid strong {
		font-size: 0.72rem;
		font-weight: 500;
		line-height: 1.2;
	}
	.mcl-home-highlights__grid b {
		min-height: 1.75rem;
		margin-top: 0.35rem;
		padding: 0.35rem 0.55rem;
		font-size: 0.62rem;
		font-weight: 500;
		line-height: 1;
	}
}
@media (max-width: 600px) {
	.mcl-home-highlights__grid span {
		display: inline-block;
		margin-bottom: 0.3rem;
		padding: 0.18rem 0.32rem;
		border-radius: 0;
		background: rgb(255 255 255 / 82%);
		color: #111;
		font-size: 0.44rem;
		font-weight: 500;
		line-height: 1.1;
	}
	.mcl-home-highlights__grid b {
		display: inline-flex;
		width: fit-content;
		min-width: 0;
		min-height: 1.5rem;
		align-items: center;
		justify-content: center;
		margin-top: 0.25rem;
		padding: 0.22rem 0.42rem;
		border: 0;
		border-radius: 999px;
		font-size: 0.56rem;
		font-weight: 500;
		line-height: 1;
		text-align: center;
		white-space: nowrap;
	}
}
/* Shared Destaques badge and CTA styling at every viewport. */
.mcl-home-highlights__grid span {
	border-radius: 0.25rem;
	background: rgb(255 255 255 / 82%);
	color: #111;
	font-weight: 500;
}
.mcl-home-highlights__grid b {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	line-height: 1;
	text-align: center;
}
/* Shorter mobile news cards. */
@media (max-width: 600px) {
	.mcl-home-news__grid .mcl-home-news__image {
		height: 10rem !important;
	}
	.mcl-home-news__grid .mcl-home-news__image img {
		height: 100%;
		aspect-ratio: auto;
	}
}
