/* Clean homepage overrides for WordPress custom CSS.
   This version avoids newer CSS syntax that many editors mark as warnings. */

body.home .site-main {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, #f8fdff 48%, #fff9fb 82%, #ffffff 100%) !important;
}

body.home .site-main::before,
body.home .site-main::after {
	content: "";
	display: none !important;
	background: none !important;
	pointer-events: none;
}

body.home .mps-hero {
	width: calc(100% - 36px);
	max-width: 1380px;
	min-height: 640px;
	margin: 28px auto 0;
	overflow: hidden;
	border: 1px solid rgba(203, 234, 247, 0.82);
	border-radius: 38px;
	box-shadow: 0 26px 70px rgba(47, 104, 134, 0.14);
	background-position: center;
	background-size: cover;
}

body.home .mps-hero-overlay {
	background: linear-gradient(90deg, rgba(247, 253, 255, 0.96) 0%, rgba(247, 253, 255, 0.82) 34%, rgba(255, 247, 250, 0.4) 64%, rgba(255, 255, 255, 0.08) 100%);
}

body.home .mps-hero-copy {
	box-sizing: border-box;
	max-width: 640px;
	padding: 46px;
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 20px 54px rgba(38, 52, 59, 0.08);
}

body.home .mps-hero-copy h1 {
	max-width: 12ch;
	font-size: 64px;
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: 0;
}

body.home .mps-hero-copy > p:not(.mps-eyebrow) {
	max-width: 590px;
	font-size: 18px;
	line-height: 1.7;
}

body.home .mps-benefits {
	width: calc(100% - 36px);
	max-width: 1240px;
	margin: 44px auto 0;
	border: 1px solid rgba(203, 234, 247, 0.72);
	border-radius: 30px;
	background: linear-gradient(135deg, rgba(234, 247, 252, 0.9), rgba(255, 247, 250, 0.92));
	box-shadow: 0 16px 42px rgba(38, 52, 59, 0.06);
}

body.home .mps-benefit-grid {
	gap: 24px;
}

body.home .mps-benefit-grid article {
	padding: 26px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.72);
}

body.home .mps-section {
	padding-top: 92px;
	padding-bottom: 92px;
}

body.home .mps-section-heading {
	margin-bottom: 42px;
}

body.home .mps-section-heading h2 {
	font-size: 44px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0;
}

body.home .mps-category-promos,
body.home .mps-popular-section {
	width: calc(100% - 32px);
	max-width: 1440px;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 46px;
}

body.home .mps-category-promos {
	background: linear-gradient(135deg, rgba(234, 247, 252, 0.78), rgba(255, 247, 250, 0.82));
}

body.home .mps-popular-section {
	background: linear-gradient(135deg, rgba(255, 247, 250, 0.9), rgba(245, 251, 254, 0.86));
}

body.home .mps-category-grid {
	gap: 26px;
}

body.home .mps-category-card {
	position: relative;
	min-height: 310px;
	overflow: hidden;
	border: 1px solid rgba(220, 231, 235, 0.88) !important;
	border-radius: 28px !important;
	background-position: center;
	background-size: cover;
	box-shadow: 0 16px 40px rgba(38, 52, 59, 0.08) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.home .mps-category-card::after {
	content: "";
	position: absolute;
	top: 8px;
	right: 8px;
	bottom: 8px;
	left: 8px;
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: 22px;
	pointer-events: none;
}

body.home .mps-category-card:hover {
	transform: translateY(-3px);
	border-color: rgba(169, 83, 112, 0.24) !important;
	box-shadow: 0 24px 56px rgba(47, 104, 134, 0.15) !important;
}

body.home .mps-category-shade {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 28%, rgba(38, 52, 59, 0.75) 100%);
}

body.home .woocommerce ul.products,
body.home ul.products.mps-home-products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 28px !important;
}

body.home .woocommerce ul.products li.product,
body.home ul.products.mps-home-products li.product {
	display: flex !important;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	padding: 10px 10px 20px;
	border: 1px solid rgba(220, 231, 235, 0.9) !important;
	border-radius: 26px !important;
	background: rgba(255, 255, 255, 0.96) !important;
	box-shadow: 0 16px 40px rgba(38, 52, 59, 0.075) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.home .woocommerce ul.products li.product:hover,
body.home ul.products.mps-home-products li.product:hover {
	transform: translateY(-3px);
	border-color: rgba(57, 122, 155, 0.28) !important;
	box-shadow: 0 24px 58px rgba(47, 104, 134, 0.14) !important;
}

body.home .woocommerce ul.products li.product a img,
body.home ul.products.mps-home-products li.product a img {
	width: 100%;
	height: 260px;
	margin: 0 !important;
	object-fit: contain !important;
	border-radius: 20px;
	background: linear-gradient(145deg, #f8fdff, #fff7fa);
	transition: transform 0.25s ease;
}

body.home .woocommerce ul.products li.product:hover a img,
body.home ul.products.mps-home-products li.product:hover a img {
	transform: scale(1.015);
}

body.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.home ul.products.mps-home-products li.product .woocommerce-loop-product__title {
	min-height: 52px;
	margin: 20px 14px 8px !important;
	font-size: 17px !important;
	font-weight: 700;
	line-height: 1.42;
	letter-spacing: 0;
}

body.home .woocommerce ul.products li.product .price,
body.home ul.products.mps-home-products li.product .price {
	margin: 0 14px 18px !important;
	font-size: 17px !important;
	font-weight: 700;
}

body.home .woocommerce ul.products li.product .button,
body.home ul.products.mps-home-products li.product .button {
	width: calc(100% - 28px) !important;
	min-height: 46px;
	margin: auto 14px 0 !important;
	padding: 12px 18px !important;
	border-radius: 999px !important;
	text-align: center;
	white-space: normal;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.home .woocommerce ul.products li.product .button:hover,
body.home ul.products.mps-home-products li.product .button:hover,
body.home .mps-button:hover,
body.home .mps-text-link:hover,
body.home .mps-category-copy a:hover {
	transform: translateY(-1px);
	box-shadow: 0 13px 28px rgba(57, 122, 155, 0.2);
}

body.home .mps-collection {
	overflow: hidden;
	border: 1px solid rgba(203, 234, 247, 0.72);
	border-radius: 40px;
	box-shadow: 0 24px 62px rgba(47, 104, 134, 0.13);
}

body.home .mps-collection-copy {
	margin: 28px;
	padding: 40px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.82);
}

body.home .mps-trust-strip {
	width: calc(100% - 36px);
	max-width: 1240px;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;
	border: 1px solid rgba(220, 231, 235, 0.86);
	border-radius: 30px;
	background: linear-gradient(135deg, #edf9fd, #fff4f7);
	box-shadow: 0 16px 42px rgba(38, 52, 59, 0.07);
}

body.home .mps-newsletter {
	width: calc(100% - 32px);
	max-width: 1360px;
	margin: 0 auto 44px;
	border: 1px solid rgba(203, 234, 247, 0.7);
	border-radius: 40px;
	background: linear-gradient(135deg, #eaf7fc 0%, #fff6f9 100%);
	box-shadow: 0 22px 56px rgba(47, 104, 134, 0.11);
}

.mps-scroll-top {
	position: fixed;
	right: 18px;
	bottom: 22px;
	z-index: 180;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid rgba(57, 122, 155, 0.22);
	border-radius: 999px;
	background: linear-gradient(145deg, #eaf7fc, #fceef2);
	color: #2f6886;
	box-shadow: 0 16px 36px rgba(47, 104, 134, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px) scale(0.96);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	pointer-events: none;
	cursor: pointer;
}

.mps-scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.mps-scroll-top:hover,
.mps-scroll-top:focus-visible {
	background: linear-gradient(145deg, #dff3fb, #f8e2e9);
	box-shadow: 0 20px 42px rgba(47, 104, 134, 0.24);
	transform: translateY(-2px);
	outline: none;
}

.mps-scroll-top:focus-visible {
	box-shadow: 0 0 0 4px rgba(203, 234, 247, 0.8), 0 20px 42px rgba(47, 104, 134, 0.22);
}

@media (max-width: 1024px) {
	body .mps-header-actions {
		width: auto !important;
		min-width: 104px;
		gap: 8px !important;
	}

	body .mps-search-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		flex: 0 0 44px;
		width: 44px;
		min-width: 44px;
		height: 44px;
	}
}

@media (max-width: 1180px) {
	body.home .woocommerce ul.products,
	body.home ul.products.mps-home-products {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 900px) {
	body.home .mps-hero {
		width: calc(100% - 24px);
		min-height: 580px;
		border-radius: 30px;
	}

	body.home .mps-category-promos,
	body.home .mps-popular-section,
	body.home .mps-newsletter {
		width: calc(100% - 20px);
		border-radius: 34px;
	}

	body.home .woocommerce ul.products,
	body.home ul.products.mps-home-products {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 620px) {
	body.home .mps-hero {
		width: calc(100% - 16px);
		min-height: 600px;
		margin-top: 10px;
		border-radius: 26px;
		background-position: 62% center;
	}

	body.home .mps-hero-overlay {
		background: linear-gradient(180deg, rgba(247, 253, 255, 0.86) 0%, rgba(247, 253, 255, 0.72) 58%, rgba(255, 247, 250, 0.9) 100%);
	}

	body.home .mps-hero-copy {
		width: 100%;
		padding: 24px 20px;
		border-radius: 24px;
	}

	body.home .mps-hero-copy h1 {
		max-width: 11ch;
		font-size: 42px;
	}

	body.home .mps-section {
		padding-top: 68px;
		padding-bottom: 68px;
	}

	body.home .mps-section-heading h2 {
		font-size: 34px;
	}

	body.home .mps-category-card {
		min-height: 280px;
		border-radius: 22px !important;
	}

	body.home .woocommerce ul.products,
	body.home ul.products.mps-home-products {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}

	body.home .woocommerce ul.products li.product,
	body.home ul.products.mps-home-products li.product {
		border-radius: 22px !important;
	}

	body.home .woocommerce ul.products li.product a img,
	body.home ul.products.mps-home-products li.product a img {
		height: 240px;
	}

	body.home .mps-collection-copy {
		margin: 12px;
		padding: 24px 20px;
		border-radius: 24px;
	}

	.mps-scroll-top {
		right: 14px;
		bottom: 18px;
		width: 46px;
		height: 46px;
	}
}

@media (max-width: 420px) {
	body.home .mps-hero {
		min-height: 570px;
	}

	body.home .mps-hero-copy h1 {
		max-width: 10ch;
		font-size: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .mps-category-card,
	body.home .woocommerce ul.products li.product,
	body.home ul.products.mps-home-products li.product,
	body.home .woocommerce ul.products li.product a img,
	body.home ul.products.mps-home-products li.product a img,
	body.home .mps-button,
	body.home .mps-text-link,
	body.home .mps-category-copy a,
	.mps-scroll-top {
		transition: none !important;
		transform: none !important;
	}
}
