/* =====================================================
 * GREEN THEME: replaces every maroon tint with the logo green (#033816).
 * Colours only. Gradients, layout and animations are unchanged.
 * ===================================================== */

/* ---------- Hero (arch only; the hero background is already green) ---------- */
.hero__arch {
	box-shadow: 0 50px 90px rgba(0, 0, 0, 0.65), 0 0 60px rgba(3, 56, 22, 0.6);
}

.hero__arch-img {
	background:
		url('../images/hero.jpg') center / cover no-repeat,
		linear-gradient(160deg, #033816 0%, #0a1a10 45%, #6b4a2a 100%);
}

/* ---------- About section ---------- */
.brand-intro {
	background:
		radial-gradient(50% 36% at 88% 62%, rgba(3, 56, 22, 0.7) 0%, rgba(3, 56, 22, 0) 70%),
		radial-gradient(42% 30% at 6% 92%, rgba(200, 169, 106, 0.14) 0%, rgba(200, 169, 106, 0) 70%),
		linear-gradient(
			180deg,
			transparent 0,
			transparent var(--bi-bridge),
			var(--bi-espresso) var(--bi-bridge)
		);
}

.bi-media__frame {
	background: #0a1a10;
	box-shadow: 0 50px 90px rgba(0, 0, 0, 0.55), 0 0 60px rgba(3, 56, 22, 0.5);
}

.bi-media__placeholder {
	background:
		radial-gradient(60% 40% at 50% 28%, rgba(200, 169, 106, 0.3), rgba(200, 169, 106, 0) 70%),
		linear-gradient(160deg, #033816 0%, #0a1a10 45%, #6b4a2a 100%);
}

/* ---------- Homepage collection ---------- */
.collection__bg {
	background:
		radial-gradient(50% 38% at 82% 30%, rgba(3, 56, 22, 0.85) 0%, rgba(3, 56, 22, 0) 70%),
		radial-gradient(45% 35% at 8% 72%, rgba(3, 56, 22, 0.6) 0%, rgba(3, 56, 22, 0) 70%),
		radial-gradient(40% 30% at 50% 100%, rgba(200, 169, 106, 0.1) 0%, rgba(200, 169, 106, 0) 70%),
		linear-gradient(180deg, #0c0a09 0%, #07120b 50%, #0c0a09 100%);
}

.collection__bridge {
	background: linear-gradient(
		180deg,
		#30251f 0%,
		#30251f 6%,
		#1c1b14 38%,
		#0a150d 70%,
		#0c0a09 100%
	);
}

.cl-card__frame {
	background: #0a1a10;
	box-shadow: 0 40px 70px rgba(0, 0, 0, 0.55), 0 0 50px rgba(3, 56, 22, 0.5);
}

.cl-card__placeholder {
	background:
		radial-gradient(60% 40% at 50% 28%, rgba(200, 169, 106, 0.3), rgba(200, 169, 106, 0) 70%),
		linear-gradient(170deg, #033816 0%, #0a1a10 50%, #6b4a2a 100%);
}

/* ---------- Shop page ---------- */
.sp-bg {
	background:
		radial-gradient(50% 30% at 85% 12%, rgba(3, 56, 22, 0.85) 0%, rgba(3, 56, 22, 0) 70%),
		radial-gradient(45% 28% at 6% 55%, rgba(3, 56, 22, 0.55) 0%, rgba(3, 56, 22, 0) 70%),
		radial-gradient(40% 20% at 50% 100%, rgba(200, 169, 106, 0.1) 0%, rgba(200, 169, 106, 0) 70%),
		linear-gradient(180deg, #0c0a09 0%, #07120b 45%, #0c0a09 100%);
}

.sp-card__frame {
	background: linear-gradient(110deg, #0a1a10 30%, #12261a 50%, #0a1a10 70%);
	background-size: 200% 100%;
}

.sp-card__placeholder {
	background:
		radial-gradient(60% 40% at 50% 28%, rgba(200, 169, 106, 0.28), rgba(200, 169, 106, 0) 70%),
		linear-gradient(170deg, #033816 0%, #0a1a10 50%, #6b4a2a 100%);
}

.sp-sort select option {
	background: #07120b;
}

.sp-drawer {
	background: #08130c;
}

/* ---------- Product page ---------- */
.pd-bg {
	background:
		radial-gradient(50% 30% at 88% 10%, rgba(3, 56, 22, 0.8) 0%, rgba(3, 56, 22, 0) 70%),
		radial-gradient(45% 28% at 4% 60%, rgba(3, 56, 22, 0.5) 0%, rgba(3, 56, 22, 0) 70%),
		radial-gradient(40% 20% at 50% 100%, rgba(200, 169, 106, 0.1) 0%, rgba(200, 169, 106, 0) 70%),
		linear-gradient(180deg, #0c0a09 0%, #07120b 45%, #0c0a09 100%);
}

.pd-track {
	background: #0a1a10;
	box-shadow: 0 50px 90px rgba(0, 0, 0, 0.6), 0 0 70px rgba(3, 56, 22, 0.55);
}

.pd-slide {
	background: linear-gradient(170deg, #033816 0%, #0a1a10 50%, #6b4a2a 100%);
}

.pd-slide__ph,
.pd-card__ph {
	background:
		radial-gradient(60% 40% at 50% 28%, rgba(200, 169, 106, 0.28), rgba(200, 169, 106, 0) 70%),
		linear-gradient(170deg, #033816 0%, #0a1a10 50%, #6b4a2a 100%);
}

.pd-thumb,
.pd-card__frame {
	background: #0a1a10;
}

.pdp .variations select:not(.pd-native) {
	background: #07120b;
}

/* ---------- About section: emerald stage (matches hero + collection) ---------- */

/* 1. Bridge from the hero: black into deep emerald-black */
.brand-intro__bridge {
	background: linear-gradient(
		180deg,
		rgba(12, 10, 9, 0) 0,
		#0b0a09 var(--bi-fade),
		#08100a calc(var(--bi-fade) + (var(--bi-bridge) - var(--bi-fade)) * 0.55),
		#07100a var(--bi-bridge)
	) !important;
}

/* 2. Base: emerald-black, no brown anywhere */
.brand-intro {
	background: linear-gradient(
		180deg,
		transparent 0,
		transparent var(--bi-bridge),
		#07100a var(--bi-bridge),
		#09160d calc(var(--bi-bridge) + 260px),
		#08120b calc(100% - 260px),
		#070b08 100%
	) !important;
}

/* 3. Light layer: emerald glows, champagne spotlight, soft diagonal sheen */
.brand-intro::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 46% 36% at 90% 62%, rgba(3, 56, 22, 0.9) 0%, rgba(3, 56, 22, 0.35) 48%, rgba(3, 56, 22, 0) 100%),
		radial-gradient(ellipse 34% 24% at 68% 22%, rgba(3, 56, 22, 0.3) 0%, rgba(3, 56, 22, 0) 100%),
		radial-gradient(ellipse 28% 38% at 26% 48%, rgba(216, 197, 172, 0.1) 0%, rgba(216, 197, 172, 0) 100%),
		radial-gradient(ellipse 36% 22% at 6% 92%, rgba(200, 169, 106, 0.09) 0%, rgba(200, 169, 106, 0) 100%),
		linear-gradient(115deg, rgba(3, 56, 22, 0) 28%, rgba(3, 56, 22, 0.2) 50%, rgba(3, 56, 22, 0) 72%);
	-webkit-mask-image: linear-gradient(
		180deg,
		transparent 0,
		transparent calc(var(--bi-bridge) * 0.6),
		#000 calc(var(--bi-bridge) * 1.15),
		#000 calc(100% - 320px),
		transparent 100%
	);
	mask-image: linear-gradient(
		180deg,
		transparent 0,
		transparent calc(var(--bi-bridge) * 0.6),
		#000 calc(var(--bi-bridge) * 1.15),
		#000 calc(100% - 320px),
		transparent 100%
	);
}

/* 4. Grain fades in and out */
.brand-intro::after {
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 160px), transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 160px), transparent 100%);
}

/* 5. Emerald halo glowing behind the arch (the "special" touch) */
.bi-media::before {
	content: "";
	position: absolute;
	z-index: 0;
	width: 128%;
	aspect-ratio: 1;
	left: -16%;
	top: -2%;
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(closest-side, rgba(3, 56, 22, 0.85) 0%, rgba(3, 56, 22, 0.4) 50%, rgba(3, 56, 22, 0) 100%);
}

/* 6. Arch frame: champagne edge, emerald glow */
.bi-media__frame {
	border-color: rgba(216, 197, 172, 0.55) !important;
	box-shadow:
		0 50px 90px rgba(0, 0, 0, 0.65),
		0 0 90px rgba(3, 56, 22, 0.6),
		inset 0 0 0 1px rgba(216, 197, 172, 0.1) !important;
}
.bi-media__ring {
	border-color: rgba(216, 197, 172, 0.45) !important;
}

/* 7. Big MAISON word: champagne fading into the dark */
.brand-intro__word {
	color: transparent !important;
	background: linear-gradient(180deg, rgba(216, 197, 172, 0.17) 0%, rgba(216, 197, 172, 0.03) 70%, rgba(216, 197, 172, 0) 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

/* ---------- Seam: About -> Collection (removes the brown band) ---------- */

/* Make sure the Collection can hold an overlay at its top */
.collection {
	position: relative;
}

/* Emerald-black fade laid over the brown band, then melting into the section */
.collection::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
	height: 340px;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		#070b08 0,
		#070b08 22%,
		rgba(7, 11, 8, 0.7) 58%,
		rgba(7, 11, 8, 0) 100%
	);
}

/* Also recolour the original bridge, in case it is the source */
.collection__bridge {
	background: linear-gradient(
		180deg,
		#070b08 0,
		rgba(7, 11, 8, 0.85) 30%,
		rgba(7, 11, 8, 0) 100%
	) !important;
}

/* ---------- Gold glow: placed on the sides and corners ---------- */

/* ABOUT: emerald kept, gold spotlight above the arch + top-right corner */
.brand-intro::before {
	background:
		radial-gradient(ellipse 46% 36% at 90% 62%, rgba(3, 56, 22, 0.9) 0%, rgba(3, 56, 22, 0.35) 48%, rgba(3, 56, 22, 0) 100%),
		radial-gradient(ellipse 34% 24% at 68% 22%, rgba(3, 56, 22, 0.3) 0%, rgba(3, 56, 22, 0) 100%),
		radial-gradient(ellipse 36% 30% at 24% 30%, rgba(200, 169, 106, 0.2) 0%, rgba(200, 169, 106, 0.07) 50%, rgba(200, 169, 106, 0) 100%),
		radial-gradient(ellipse 26% 20% at 98% 20%, rgba(200, 169, 106, 0.14) 0%, rgba(200, 169, 106, 0) 100%),
		radial-gradient(ellipse 28% 38% at 26% 56%, rgba(216, 197, 172, 0.08) 0%, rgba(216, 197, 172, 0) 100%),
		linear-gradient(115deg, rgba(3, 56, 22, 0) 28%, rgba(3, 56, 22, 0.2) 50%, rgba(3, 56, 22, 0) 72%) !important;
	-webkit-mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--bi-bridge) * 0.6), #000 calc(var(--bi-bridge) * 1.15), #000 calc(100% - 320px), transparent 100%) !important;
	mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--bi-bridge) * 0.6), #000 calc(var(--bi-bridge) * 1.15), #000 calc(100% - 320px), transparent 100%) !important;
}

/* HERO: warm gold behind the headline, top left */
.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 36% 34% at 14% 34%, rgba(200, 169, 106, 0.17) 0%, rgba(200, 169, 106, 0.06) 50%, rgba(200, 169, 106, 0) 100%),
		radial-gradient(ellipse 24% 20% at 2% 4%, rgba(200, 169, 106, 0.1) 0%, rgba(200, 169, 106, 0) 100%);
}

/* SHOP page: top-right corner + left edge */
.sp-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 34% 26% at 94% 4%, rgba(200, 169, 106, 0.16) 0%, rgba(200, 169, 106, 0.05) 50%, rgba(200, 169, 106, 0) 100%),
		radial-gradient(ellipse 22% 30% at 0% 50%, rgba(200, 169, 106, 0.07) 0%, rgba(200, 169, 106, 0) 100%);
}

/* PRODUCT page: top-left corner + right edge */
.pd-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 34% 26% at 6% 6%, rgba(200, 169, 106, 0.16) 0%, rgba(200, 169, 106, 0.05) 50%, rgba(200, 169, 106, 0) 100%),
		radial-gradient(ellipse 22% 30% at 100% 55%, rgba(200, 169, 106, 0.07) 0%, rgba(200, 169, 106, 0) 100%);
}

/* ---------- About section: more gold, less green (final balance) ---------- */

.brand-intro::before {
	background:
		/* emerald, toned down */
		radial-gradient(ellipse 42% 32% at 92% 66%, rgba(3, 56, 22, 0.62) 0%, rgba(3, 56, 22, 0.24) 50%, rgba(3, 56, 22, 0) 100%),
		radial-gradient(ellipse 30% 22% at 66% 18%, rgba(3, 56, 22, 0.18) 0%, rgba(3, 56, 22, 0) 100%),
		/* gold: big warm light behind the arch */
		radial-gradient(ellipse 40% 44% at 24% 42%, rgba(200, 169, 106, 0.3) 0%, rgba(200, 169, 106, 0.12) 50%, rgba(200, 169, 106, 0) 100%),
		/* gold: soft glow behind the headline */
		radial-gradient(ellipse 34% 26% at 66% 38%, rgba(200, 169, 106, 0.14) 0%, rgba(200, 169, 106, 0) 100%),
		/* gold: right edge, lower */
		radial-gradient(ellipse 28% 22% at 98% 84%, rgba(200, 169, 106, 0.16) 0%, rgba(200, 169, 106, 0) 100%),
		/* gold: top-right corner */
		radial-gradient(ellipse 28% 20% at 98% 14%, rgba(200, 169, 106, 0.2) 0%, rgba(200, 169, 106, 0) 100%),
		/* gold: bottom-left warmth */
		radial-gradient(ellipse 32% 22% at 4% 82%, rgba(200, 169, 106, 0.16) 0%, rgba(200, 169, 106, 0) 100%),
		/* faint diagonal sheen, now champagne instead of green */
		linear-gradient(115deg, rgba(200, 169, 106, 0) 28%, rgba(200, 169, 106, 0.07) 50%, rgba(200, 169, 106, 0) 72%) !important;
}

/* Halo behind the arch: gold core fading into emerald */
.bi-media::before {
	background: radial-gradient(
		closest-side,
		rgba(200, 169, 106, 0.28) 0%,
		rgba(3, 56, 22, 0.5) 45%,
		rgba(3, 56, 22, 0) 100%
	) !important;
}

/* Arch frame: gold-led glow */
.bi-media__frame {
	box-shadow:
		0 50px 90px rgba(0, 0, 0, 0.65),
		0 0 70px rgba(200, 169, 106, 0.22),
		0 0 110px rgba(3, 56, 22, 0.35),
		inset 0 0 0 1px rgba(216, 197, 172, 0.12) !important;
}


/* ---------- Logo: centred under the wordmark, bigger, flipping ---------- */

.site-header__left {
	position: static;
}

.site-mark {
	position: absolute;
	left: 50%;
	top: 54px;                 /* distance from the top of the navbar */
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 168px;              /* logo size */
	height: 168px;
	margin: 0;
	padding: 8px;
	border-radius: 50%;
	perspective: 700px;        /* gives the flip its 3D depth */
	background: radial-gradient(circle, rgba(12, 10, 9, 0.92) 62%, rgba(12, 10, 9, 0.6) 100%);
	box-shadow:
		0 16px 38px rgba(0, 0, 0, 0.5),
		0 0 32px rgba(200, 169, 106, 0.2);
	transition: box-shadow 0.5s ease;
}
.site-mark:hover {
	box-shadow:
		0 20px 44px rgba(0, 0, 0, 0.55),
		0 0 40px rgba(200, 169, 106, 0.32);
}

.site-mark img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: contain;
	display: block;
		animation: mdz-logo-flip 6s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

/* One full turn around the vertical axis, then a short rest, every second */
@keyframes mdz-logo-flip {
	0%   { transform: rotateY(0deg); }
	27%  { transform: rotateY(360deg); }
	100% { transform: rotateY(360deg); }
}

@media (max-width: 768px) {
	.site-mark {
		top: 44px;
		width: 104px;
		height: 104px;
		padding: 5px;
	}
}

/* Respect people who turn animations off */
@media (prefers-reduced-motion: reduce) {
	.site-mark img {
		animation: none;
	}
}


/* ---------- Navbar: logo inside the bar, shrinks on scroll ---------- */

/* Tall bar at the top of the homepage */
html body .site-header {
	padding-top: 1rem;
	padding-bottom: 1rem;
}
/* Inner pages (shop, product, etc.): always slim */
html body:not(.home) .site-header {
	padding-top: 0.6rem;
	padding-bottom: 0.6rem;
}
/* After scrolling: slim everywhere (must stay after the two rules above) */
html body .site-header.is-scrolled {
	padding-top: 0.55rem;
	padding-bottom: 0.55rem;
}

/* Wordmark on top, logo underneath, both centred */
.site-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: 0;
}

.site-mark {
	display: block;
	width: 150px;                 /* tall state: logo size */
	height: 150px;
	margin: 0;
	perspective: 700px;
	transition:
		width 0.5s var(--ease),
		height 0.5s var(--ease),
		opacity 0.4s ease;
}
body:not(.home) .site-mark {
	width: 84px;                 /* inner pages */
	height: 84px;
}
.site-header.is-scrolled .site-mark {
	width: 72px;                 /* after scrolling */
	height: 72px;
}

/* Beats the old "height: 60px" logo rule */
.site-mark img,
.site-mark svg {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: contain;
	display: block;
}
.site-mark img {
	animation: mdz-logo-flip 6s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

/* Smooth flip, once every 6 seconds */
@keyframes mdz-logo-flip {
	0%   { transform: rotateY(0deg); }
	27%  { transform: rotateY(360deg); }
	100% { transform: rotateY(360deg); }
}

@media (max-width: 900px) {
	.site-mark {
		width: 92px;
		height: 92px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-mark img {
		animation: none;
	}
}

/* ============ Footer logo size ============ */
html body .site-footer img {
	width: 130px;
	height: auto;
	max-width: none;
}

@media (max-width: 768px) {
	html body .site-footer img {
		width: 104px;
	}
}

/* ============ Navbar: bag link + cart count ============ */
html body .site-header__tools {
	align-items: center;
	gap: 0.9rem;
}

html body .site-header .cart-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0;
	line-height: 1;
}

html body .site-header .cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6rem;
	height: 1.6rem;
	margin: 0;
	padding: 0 0.35rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
}

/* ============ Shop: add to bag button ============ */
html body .sp-item .sp-add {
	display: block;
	width: 100%;
	margin-top: 0.9rem;
	padding: 0.85rem 1rem;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ivory);
	background: transparent;
	border: 1px solid rgba(200, 169, 106, 0.55);
	transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

html body .sp-item .sp-add:hover,
html body .sp-item .sp-add:focus-visible {
	background: var(--gold);
	color: var(--ink);
	border-color: var(--gold);
}

html body .sp-item .sp-add.loading {
	opacity: 0.6;
	pointer-events: none;
}

html body .sp-item .sp-add.added {
	background: var(--gold);
	color: var(--ink);
	border-color: var(--gold);
}

html body .sp-item .sp-add.added::after {
	content: " \2713";
}

/* WooCommerce adds its own "View cart" link after adding. Hide it; the navbar bag shows the count. */
html body .sp-item .added_to_cart {
	display: none;
}

/* ============ Shop: keep the add-to-bag buttons aligned ============ */
html body .sp-grid > .sp-item {
	display: flex;
	flex-direction: column;
	align-self: stretch;
}

html body .sp-grid > .sp-item > .sp-card {
	flex: 1 1 auto;
}

html body .sp-grid > .sp-item > .sp-add {
	margin-top: auto;
	flex: 0 0 auto;
}

/* ============ Shop: space between colour dots and the button ============ */
html body .sp-grid > .sp-item > .sp-card {
	padding-bottom: 1.1rem;
}

html body .sp-card__swatches {
	margin-top: 0.75rem;
	margin-bottom: 0.4rem;
}

/* ============ Mobile navbar: logo inside the bar, tidy spacing ============ */
@media (max-width: 900px) {

	html body .site-header {
		grid-template-columns: 1fr auto !important;
		align-items: center;
		gap: 0.75rem !important;
		padding: 0.6rem 0.85rem !important;
	}

	/* The empty nav column is hidden on phones */
	html body .site-header .site-header__left {
		display: none;
	}

	/* Logo + wordmark in one row, logo first */
	html body .site-header .site-brand {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 0.65rem;
		min-width: 0;
	}

	html body .site-header .site-mark {
		order: -1;
		position: static !important;
		inset: auto !important;
		transform: none !important;
		translate: none !important;
		margin: 0 !important;
		width: 44px !important;
		height: 44px !important;
		flex: 0 0 auto;
	}

	html body .site-header .site-mark img,
	html body .site-header .site-mark svg {
		width: 100% !important;
		height: 100% !important;
	}

	html body .site-header .site-logo {
		font-size: 0.86rem;
		letter-spacing: 0.16em;
		text-align: left;
		white-space: nowrap;
		min-width: 0;
	}

	html body .site-header .site-logo span {
		letter-spacing: 0.1em;
	}

	/* Space the moon button and Bag away from the wordmark */
	html body .site-header .site-header__tools {
		gap: 0.7rem;
		margin-left: 0.4rem;
	}
}

/* Very small phones: shorten the wordmark a little more */
@media (max-width: 380px) {
	html body .site-header .site-logo {
		font-size: 0.74rem;
		letter-spacing: 0.12em;
	}
	html body .site-header .site-mark {
		width: 38px !important;
		height: 38px !important;
	}
}

/* ============ Mobile navbar: make everything fit ============ */
@media (max-width: 900px) {

	html body .site-header {
		grid-template-columns: minmax(0, 1fr) auto !important;
		gap: 0.5rem !important;
		padding: 0.55rem 0.7rem !important;
	}

	html body .site-header .site-brand {
		min-width: 0;
		gap: 0.5rem;
	}

	html body .site-header .site-mark {
		width: 38px !important;
		height: 38px !important;
	}

	/* Wordmark shrinks with the screen so it never touches the buttons */
	html body .site-header .site-logo {
		font-size: clamp(0.6rem, 3vw, 0.84rem);
		letter-spacing: 0.12em;
	}

	html body .site-header .site-logo span {
		letter-spacing: 0.06em;
	}

	html body .site-header .site-header__tools {
		align-items: center;
		gap: 0.55rem;
		margin-left: 0;
	}

	html body .site-header .mdz-theme-toggle {
		width: 32px;
		height: 32px;
		flex: 0 0 auto;
	}

	html body .site-header .cart-link {
		font-size: 0.68rem;
		letter-spacing: 0.16em;
		gap: 0.4rem;
	}

	html body .site-header .cart-count {
		min-width: 1.4rem;
		height: 1.4rem;
		font-size: 0.75rem;
	}
}

/* ============ Two logos: dark theme / light theme ============ */
html body .site-mark img.mdz-logo--light {
	display: none !important;
}

html[data-theme="light"] body .site-mark img.mdz-logo--dark {
	display: none !important;
}

html[data-theme="light"] body .site-mark img.mdz-logo--light {
	display: block !important;
}

/* ============ Product photos everywhere: no colour layer on top ============ */
html body .pdp [class*="frame"]::before,
html body .pdp [class*="frame"]::after,
html body .pdp [class*="media"]::before,
html body .pdp [class*="media"]::after,
html body .pdp [class*="slide"]::before,
html body .pdp [class*="slide"]::after,
html body .pdp [class*="thumb"]::before,
html body .pdp [class*="thumb"]::after,
html body .pdp [class*="card"]::before,
html body .pdp [class*="card"]::after,
html body .pdp [class*="rel"] a::before,
html body .pdp [class*="rel"] a::after,
html body .pd-gallery::before,
html body .pd-gallery::after,
html body .pd-stage::before,
html body .pd-stage::after,
html body .shop-page .sp-card__frame::before,
html body .shop-page .sp-card__frame::after,
html body .shop-page .sp-item a::before,
html body .shop-page .sp-item a::after,
html body .collection [class*="frame"]::before,
html body .collection [class*="frame"]::after,
html body .collection [class*="media"]::before,
html body .collection [class*="media"]::after,
html body .collection [class*="card"]::before,
html body .collection [class*="card"]::after {
	background: none !important;
}

/* ============ Homepage photos: clear photos, captions below ============ */

/* Shop by Category: no gradient, no strip. Caption sits under the photo. */
html body .cat-card__shade,
html body .cat-card::after {
	display: none !important;
}

html body .cat-card {
	display: flex;
	flex-direction: column;
	background: transparent !important;
	border: 0 !important;
	overflow: visible;
}

html body .cat-card__media {
	position: relative;
	inset: auto;
	flex: 1 1 auto;
	min-height: 0;
	border: 1px solid rgba(216, 197, 172, 0.22);
}

html body .cat-card__body {
	position: static;
	padding: 1rem 4.4rem 0.2rem 0;
}

html body .cat-card__arrow {
	bottom: 0.3rem;
	right: 0;
}

/* The Maison Experience: remove the edge fade on both photos */
html body .mx-img::after,
html body .mx-detail .mx-img::after,
html[data-theme="light"] body .mx-img::after {
	display: none !important;
}

/* ============ Shop by Category: modern editorial styling ============ */

/* Floating gold frame around each photo */
html body .cat-card__media {
	outline: 1px solid rgba(200, 169, 106, 0.4);
	outline-offset: 9px;
	transition:
		outline-offset 0.7s var(--ease, ease),
		outline-color 0.5s ease,
		box-shadow 0.7s var(--ease, ease);
}

/* Every second card: soft arch top, to match the hero */
html body .cat-card:nth-child(even) .cat-card__media {
	border-radius: 50% 50% 0 0 / 20% 20% 0 0;
}

/* Lift on hover, with the shadow under the photo (never over it) */
html body .cat-card {
	transition: transform 0.8s var(--ease, ease);
}

html body .cat-card:hover,
html body .cat-card:focus-visible {
	transform: translateY(-8px);
}

html body .cat-card:hover .cat-card__media,
html body .cat-card:focus-visible .cat-card__media {
	outline-offset: 15px;
	outline-color: rgba(200, 169, 106, 0.85);
	box-shadow: 0 30px 50px -26px rgba(0, 0, 0, 0.5);
}

/* Caption: gold dash before the piece count */
html body .cat-card__count {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--gold, #c8a96a);
}

html body .cat-card__count::before {
	content: "";
	display: block;
	width: 1.4rem;
	height: 1px;
	background: currentColor;
	transition: width 0.7s var(--ease, ease);
}

html body .cat-card:hover .cat-card__count::before,
html body .cat-card:focus-visible .cat-card__count::before {
	width: 2.6rem;
}

/* Name turns gold and italic on hover */
html body .cat-card:hover .cat-card__name,
html body .cat-card:focus-visible .cat-card__name {
	color: var(--gold, #c8a96a);
	font-style: italic;
}

/* Number moves out of the photo into the caption row */
html body .cat-card__index {
	top: auto;
	left: auto;
	right: 0;
	bottom: 4.7rem;
	font-size: 1.1rem;
	letter-spacing: 0.08em;
}

@media (prefers-reduced-motion: reduce) {
	html body .cat-card:hover,
	html body .cat-card:focus-visible {
		transform: none;
	}
}

/* ============ Shop by Category: bold editorial upgrade ============ */

/* Warm gold glow BEHIND each card, for depth */
html body .cat-card::before {
	content: "";
	position: absolute;
	inset: -10% -8% 2% -8%;
	z-index: -1;
	pointer-events: none;
	background: radial-gradient(ellipse at 30% 25%, rgba(200, 169, 106, 0.34), rgba(200, 169, 106, 0) 68%);
	filter: blur(26px);
	opacity: 0.7;
	transition: opacity 0.8s var(--ease, ease), transform 0.8s var(--ease, ease);
}

html body .cat-card:hover::before,
html body .cat-card:focus-visible::before {
	opacity: 1;
	transform: scale(1.08);
}

/* Stronger gold frame and a permanent soft shadow under the photo */
html body .cat-card__media {
	outline: 1.5px solid rgba(200, 169, 106, 0.75);
	outline-offset: 12px;
	box-shadow: 0 40px 60px -34px rgba(0, 0, 0, 0.55);
}

html body .cat-card:hover .cat-card__media,
html body .cat-card:focus-visible .cat-card__media {
	outline-offset: 20px;
	outline-color: #c8a96a;
	box-shadow: 0 44px 70px -30px rgba(0, 0, 0, 0.6);
}

/* Photo zooms more on hover */
html body .cat-card:hover .cat-card__zoom,
html body .cat-card:focus-visible .cat-card__zoom {
	transform: scale(1.1);
}

/* Bigger arch on every second card */
html body .cat-card:nth-child(even) .cat-card__media {
	border-radius: 50% 50% 0 0 / 26% 26% 0 0;
}

/* Gold arrow button: filled, bigger, and it spins on hover */
html body .cat-card__arrow {
	width: 3.6rem;
	height: 3.6rem;
	background: #c8a96a;
	border-color: #c8a96a;
	color: #0c0a09;
	box-shadow: 0 14px 30px -12px rgba(200, 169, 106, 0.7);
}

html body .cat-card:hover .cat-card__arrow,
html body .cat-card:focus-visible .cat-card__arrow {
	background: transparent;
	color: #c8a96a;
	transform: rotate(45deg) scale(1.08);
}

html body .cat-card:hover .cat-card__arrow svg,
html body .cat-card:focus-visible .cat-card__arrow svg {
	transform: none;
}

/* Spacing: a little more air under the photo */
html body .cat-card__body {
	padding-top: 1.7rem;
}

html body .cat-card__index {
	bottom: 5.2rem;
}

/* ============ The Maison Experience: clean text column, nothing over the text ============ */
@media (min-width: 769px) {

	/* Heading, paragraph and button share one left edge, clear of both photos */
	html body .mx-head {
		left: 63%;
		top: 2%;
		width: 37%;
	}

	html body .mx-copy {
		left: 63%;
		top: 38%;
		width: 34%;
	}

	/* The arch photo moves left so it never touches the text */
	html body .mx-detail {
		left: 38%;
		width: 24%;
		bottom: -2%;
	}
}

/* Tablets: slightly smaller heading so it fits the narrower column */
@media (min-width: 769px) and (max-width: 1024px) {
	html body .mx-head {
		left: 62%;
		width: 38%;
	}
	html body .mx-title {
		font-size: clamp(2.1rem, 5.2vw, 3rem);
	}
	html body .mx-copy {
		left: 62%;
		top: 40%;
		width: 36%;
	}
	html body .mx-detail {
		left: 38%;
		width: 24%;
	}
}

/* ============ Hero: no gradient over the photo ============ */
html body .hero__arch::before,
html body .hero__arch::after,
html body .hero__arch-img::before,
html body .hero__arch-img::after,
html body .hero__media::before,
html body .hero__media::after {
	background: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	mix-blend-mode: normal !important;
}

html body .hero__arch-img {
	-webkit-mask-image: none !important;
	mask-image: none !important;
}

