/**
 * PMU Home Style — home page modernising layer
 * Scoped to body.home .pmu-front (the home page is one custom HTML widget with
 * its own inline <style>; this sheet only overrides look & spacing).
 * No markup, JS, content, links, products or Elementor data are changed.
 * Header, footer, cookie banner, FiboSearch, cart and wishlist are outside
 * .pmu-front and are not touched.
 *
 * Tokens match product-modern.css / shop-wider.css:
 *   pink #d7b1bf, pink-deep #b77e92, pale #fbf4f7, line #e9e1e5, black #111113
 */

body.home .pmu-front {
	--pmu-black: #111113;
	--pmu-grey: #6d6870;
	--pmu-pink: #d7b1bf;
	--pmu-pink-deep: #b77e92;
	--pmu-pale: #fbf4f7;
	--pmu-line: #e9e1e5;
	--pmu-card-shadow: 0 6px 24px rgba(17, 17, 19, 0.04);
	--pmu-card-shadow-hover: 0 14px 34px rgba(17, 17, 19, 0.09);
}

/* ------------------------------------------------------------------ */
/* Canvas: wider on big screens (shop uses 1680), same gutters on phones */
/* ------------------------------------------------------------------ */
@media (min-width: 621px) {
	body.home .pmu-front .pmu-wrap {
		width: min(1680px, calc(100% - 56px));
	}
	body.home .pmu-front .pmu-slide-grid {
		width: min(1680px, calc(100% - 56px));
	}
}

body.home .pmu-front .pmu-section {
	padding: 72px 0;
}

/* Section heads: a touch tighter, button sits centred to the heading */
body.home .pmu-front .pmu-section-head {
	margin-bottom: 30px;
	align-items: flex-end;
}

/* ------------------------------------------------------------------ */
/* Hero: inset rounded banner instead of an edge-to-edge block         */
/* ------------------------------------------------------------------ */
body.home .pmu-front .pmu-hero {
	padding: 18px 28px 0;
	background: #fff;
}
body.home .pmu-front .pmu-slider-shell {
	max-width: 1680px;
	margin: 0 auto;
	border-radius: 28px;
	border: 1px solid var(--pmu-line);
	box-shadow: var(--pmu-card-shadow);
}
@media (min-width: 1025px) {
	body.home .pmu-front .pmu-slide-grid {
		/* the inset banner already supplies the side margin */
		width: 100%;
		padding: 50px clamp(40px, 6vw, 110px);
	}
	body.home .pmu-front .pmu-slider {
		height: clamp(560px, 56vw, 700px);
	}
}
@media (max-width: 620px) {
	body.home .pmu-front .pmu-hero {
		padding: 10px 12px 0;
	}
	body.home .pmu-front .pmu-slider-shell {
		border-radius: 22px;
	}
}

/* Hero buttons: big, rounded, black (outline stays white) */
body.home .pmu-front .pmu-btn {
	min-height: 54px;
	padding: 0 30px;
	letter-spacing: 0.04em;
	box-shadow: 0 8px 20px rgba(17, 17, 19, 0.12);
}
body.home .pmu-front .pmu-btn.pmu-btn-outline {
	box-shadow: none;
}

/* Benefit ticks become little pills */
body.home .pmu-front .pmu-benefit {
	padding: 7px 14px 7px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--pmu-line);
}
@media (max-width: 620px) {
	body.home .pmu-front .pmu-benefit {
		width: fit-content;
	}
}

/* ------------------------------------------------------------------ */
/* Trust bar: four soft cards instead of a ruled strip                  */
/* ------------------------------------------------------------------ */
body.home .pmu-front .pmu-trust {
	border: 0;
	padding: 22px 0 0;
}
body.home .pmu-front .pmu-trust-grid {
	gap: 14px;
}
body.home .pmu-front .pmu-trust-item {
	min-height: 92px;
	padding: 18px 20px;
	border: 1px solid var(--pmu-line);
	border-right: 1px solid var(--pmu-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--pmu-card-shadow);
}
body.home .pmu-front .pmu-trust-item:last-child {
	border-right: 1px solid var(--pmu-line);
}
body.home .pmu-front .pmu-trust-icon {
	border-radius: 50%;
}
@media (max-width: 960px) {
	body.home .pmu-front .pmu-trust-grid {
		gap: 10px;
	}
}
@media (max-width: 620px) {
	body.home .pmu-front .pmu-trust {
		padding-top: 14px;
	}
	body.home .pmu-front .pmu-trust-item {
		min-height: 0;
		padding: 14px 16px;
		border-bottom: 1px solid var(--pmu-line);
	}
}

/* ------------------------------------------------------------------ */
/* Category tiles                                                       */
/* ------------------------------------------------------------------ */
body.home .pmu-front .pmu-category-grid {
	gap: 18px;
}
@media (min-width: 961px) {
	/* 8 tiles on a 4-col grid: 2+1+1 / 1+1+2 / 2+2 so no empty gap in the last row */
	body.home .pmu-front .pmu-category:nth-child(7),
	body.home .pmu-front .pmu-category:nth-child(8) {
		grid-column: span 2;
	}
}
body.home .pmu-front .pmu-category {
	min-height: 380px;
	border-radius: 22px;
	box-shadow: var(--pmu-card-shadow);
}
body.home .pmu-front .pmu-category:hover {
	box-shadow: var(--pmu-card-shadow-hover);
}
body.home .pmu-front .pmu-category-copy span {
	display: inline-flex;
	background: #fff;
	color: var(--pmu-black);
	border-color: #fff;
	padding: 9px 14px;
	font-size: 10px;
}
@media (max-width: 620px) {
	/* two tiles per row on phones: much shorter page, same 8 links */
	body.home .pmu-front .pmu-category-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	body.home .pmu-front .pmu-category {
		min-height: 230px;
		border-radius: 18px;
	}
	body.home .pmu-front .pmu-category-media img {
		padding: 14px 14px 46px;
	}
	body.home .pmu-front .pmu-category-copy {
		left: 12px;
		right: 12px;
		bottom: 12px;
	}
	body.home .pmu-front .pmu-category-copy small {
		font-size: 8px;
	}
	body.home .pmu-front .pmu-category-copy h3 {
		font-size: 17px;
		margin: 5px 0 8px;
		line-height: 1.15;
	}
	body.home .pmu-front .pmu-category-copy span {
		padding: 6px 10px;
		font-size: 9px;
	}
}

/* ------------------------------------------------------------------ */
/* Product cards (Fresh + On sale) — same card as the shop              */
/* ------------------------------------------------------------------ */
body.home .pmu-front .pmu-products {
	gap: 22px;
}
@media (max-width: 620px) {
	body.home .pmu-front .pmu-products {
		gap: 10px;
	}
}
body.home .pmu-front .pmu-product {
	border-radius: 20px;
	border: 1px solid var(--pmu-line);
	box-shadow: var(--pmu-card-shadow);
}
body.home .pmu-front .pmu-product:hover {
	box-shadow: var(--pmu-card-shadow-hover);
}
@media (min-width: 1500px) {
	body.home .pmu-front .pmu-product-image {
		height: 300px;
	}
}
body.home .pmu-front .pmu-product-copy {
	padding: 18px 18px 20px;
	text-align: center;
}
body.home .pmu-front .pmu-product-cat {
	display: inline-block;
	align-self: center;
	margin-bottom: 2px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--pmu-pale);
	color: var(--pmu-pink-deep);
	font-size: 9px;
	max-width: 100%;
}
body.home .pmu-front .pmu-product-name {
	font-size: 14px;
	line-height: 1.4;
	margin: 8px 0;
	text-align: center;
}
body.home .pmu-front .pmu-product-price-wrap {
	justify-content: center;
	gap: 8px 10px;
}
body.home .pmu-front .pmu-price-regular {
	order: -1;
}

/* Sale: small pill (matches shop + product page), top-left of the image */
body.home .pmu-front .pmu-sale-badge,
body.home .pmu-front .pmu-product:hover .pmu-sale-badge {
	top: 12px;
	right: auto;
	left: 12px;
	width: auto;
	height: auto;
	min-width: 0;
	padding: 5px 11px;
	border: 0;
	border-radius: 999px;
	background: var(--pmu-pink-deep);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	box-shadow: none;
	transform: none;
}
body.home .pmu-front .pmu-sale-section .pmu-price-sale {
	color: var(--pmu-pink-deep);
}
@media (max-width: 620px) {
	body.home .pmu-front .pmu-sale-badge,
	body.home .pmu-front .pmu-product:hover .pmu-sale-badge {
		top: 8px;
		left: 8px;
		width: auto;
		height: auto;
		font-size: 9px;
		padding: 4px 9px;
	}
	body.home .pmu-front .pmu-product-copy {
		padding: 12px 10px 14px;
	}
	body.home .pmu-front .pmu-product-name {
		font-size: 12px;
		min-height: 66px;
	}
}

/* Buttons: add to cart = solid black, view = outline, wishlist = soft pale.
   Hover/added states keep the page's own rules (they use !important). */
body.home .pmu-front .pmu-product-actions {
	gap: 8px;
	margin-top: 14px;
}
body.home .pmu-front .pmu-product-button,
body.home .pmu-front .pmu-add-cart,
body.home .pmu-front .pmu-wishlist-button {
	height: 48px;
	min-height: 48px;
	font-size: 11px;
	letter-spacing: 0.05em;
}
body.home .pmu-front .pmu-product-button {
	background: #fff;
	color: var(--pmu-black) !important;
	border-color: var(--pmu-line);
}
body.home .pmu-front .pmu-product-button:hover {
	background: var(--pmu-black) !important;
	color: #fff !important;
	border-color: var(--pmu-black) !important;
}
body.home .pmu-front .pmu-wishlist-button {
	background: var(--pmu-pale);
	border-color: var(--pmu-pale);
	color: var(--pmu-black) !important;
	height: 42px;
	min-height: 42px;
	font-size: 10px;
}
body.home .pmu-front .pmu-wishlist-button:hover {
	background: var(--pmu-pink) !important;
	border-color: var(--pmu-pink) !important;
	color: var(--pmu-black) !important;
}
body.home .pmu-front .pmu-wishlist-button.is-added {
	background: var(--pmu-black) !important;
	border-color: var(--pmu-black) !important;
	color: #fff !important;
}
@media (max-width: 620px) {
	body.home .pmu-front .pmu-product-button,
	body.home .pmu-front .pmu-add-cart {
		height: 42px;
		min-height: 42px;
		font-size: 10px;
		letter-spacing: 0.03em;
		padding: 8px 6px;
	}
	body.home .pmu-front .pmu-wishlist-button {
		height: 38px;
		min-height: 38px;
		font-size: 9px;
		padding: 6px;
	}
}

/* "View all" style pills a little bigger */
body.home .pmu-front .pmu-view-all,
body.home .pmu-front .pmu-trustpilot-link {
	min-height: 48px;
	padding: 0 24px;
	font-size: 11px;
	letter-spacing: 0.04em;
}

/* ------------------------------------------------------------------ */
/* Reviews + editorial panel                                            */
/* ------------------------------------------------------------------ */
body.home .pmu-front .pmu-review-card {
	border-radius: 20px;
	padding: 24px;
}
body.home .pmu-front .pmu-review-btn {
	width: 46px;
	height: 46px;
}
body.home .pmu-front .pmu-editorial-grid {
	border-radius: 28px;
	box-shadow: var(--pmu-card-shadow);
}

@media (max-width: 620px) {
	/* stronger shade so the small label stays readable on the 2-up tiles */
	body.home .pmu-front .pmu-category-shade {
		inset: 30% 0 0;
	}
}
