/* --- Panel --- */
.muus-mega-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 5;
	background: var(--wp--preset--color--background);
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.6);
	max-height: min(560px, calc(100vh - 160px));
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--wp--preset--color--border) transparent;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	pointer-events: none;
	transition: opacity 130ms ease, transform 130ms ease, visibility 0s linear 130ms;
}

.muus-nav-item.is-open .muus-mega-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 180ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.muus-mega-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 44px 40px;
	display: grid;
	grid-template-columns: minmax(300px, 360px) 1fr;
	column-gap: 64px;
	align-items: start;
}

/* --- Left link column --- */
.muus-mega-eyebrow {
	margin: 0 0 20px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-muted);
}

.muus-mega-panel .muus-mega-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 2.75rem;
	border-bottom: 1px solid rgba(51, 51, 51, 0.8);
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.86rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 150ms ease, padding-left 150ms ease;
}

.muus-mega-panel .muus-mega-link:last-child {
	border-bottom: 0;
}

.muus-mega-panel .muus-mega-link::after {
	content: "\203A"; /* › */
	margin-left: 1rem;
	color: var(--wp--preset--color--text-muted);
	font-size: 1rem;
	line-height: 1;
	transition: color 150ms ease, transform 150ms ease;
}

.muus-mega-panel .muus-mega-link:hover,
.muus-mega-panel .muus-mega-link:focus-visible,
.muus-mega-panel .muus-mega-link[aria-current="page"] {
	color: var(--wp--preset--color--primary);
	padding-left: 0.35rem;
}

.muus-mega-panel .muus-mega-link:hover::after,
.muus-mega-panel .muus-mega-link:focus-visible::after,
.muus-mega-panel .muus-mega-link[aria-current="page"]::after {
	color: var(--wp--preset--color--primary);
	transform: translateX(3px);
}

/* Hub link ("All Knives" / "All Guides") — gold with a trailing arrow. */
.muus-mega-panel .muus-mega-link.is-hub {
	color: var(--wp--preset--color--primary);
}

.muus-mega-panel .muus-mega-link.is-hub::after {
	content: "\2192"; /* → */
	color: var(--wp--preset--color--primary);
}

/* --- Right image cards --- */
.muus-mega-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

.muus-mega-cards.is-single {
	grid-template-columns: minmax(0, 480px);
}

.muus-mega-card {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 2px;
	isolation: isolate;
	text-decoration: none;
}

.muus-mega-card img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transform: scale(1);
	transition: transform 500ms ease;
}

.muus-mega-card:hover img,
.muus-mega-card:focus-visible img {
	transform: scale(1.06);
}

/* Bottom gradient scrim (above the image, below the caption). */
.muus-mega-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%);
}

.muus-mega-card__caption {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 18px;
	z-index: 2;
	display: grid;
	gap: 0.3rem;
}

.muus-mega-card__caption strong {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #f2efe9;
}

.muus-mega-card__caption span {
	font-size: 0.8rem;
	color: rgba(232, 229, 224, 0.76);
}

/* Keyboard focus ring (dark bg). */
.muus-primary-nav .muus-nav-trigger:focus-visible,
.muus-mega-panel .muus-mega-link:focus-visible,
.muus-mega-card:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary, #c8a97e);
	outline-offset: 2px;
}

/* --- Mobile (<=781px): reuse the hamburger overlay; groups become accordions,
   image cards are dropped. Selectors use 3 classes to beat the legacy mobile
   rule .muus-primary-nav .muus-nav-list a. --- */
@media (max-width: 781px) {
	.muus-primary-nav {
		align-items: stretch;
		justify-content: flex-start;
		padding: 4.5rem 1.5rem 6rem;
		overflow-y: auto;
	}

	.muus-primary-nav .muus-nav-list {
		flex-direction: column;
		gap: 0;
		align-items: stretch;
		text-align: left;
		width: 100%;
		max-width: 460px;
		margin: 0 auto;
	}

	.muus-primary-nav .muus-nav-item {
		border-bottom: 1px solid var(--wp--preset--color--border);
	}

	.muus-primary-nav .muus-nav-item .muus-nav-trigger {
		display: flex;
		width: 100%;
		justify-content: space-between;
		align-items: center;
		min-height: 3.4rem;
		padding: 0.9rem 0;
		font-size: 1.05rem;
		letter-spacing: 0.12em;
	}

	/* Repurpose the underline pseudo as the accordion "+" -> "x" marker. */
	.muus-primary-nav .muus-nav-item .muus-nav-trigger::after {
		content: "+";
		position: static;
		left: auto;
		right: auto;
		bottom: auto;
		width: auto;
		height: auto;
		background: transparent;
		opacity: 1;
		transform: none;
		color: var(--wp--preset--color--text-muted);
		font-size: 1.5rem;
		line-height: 1;
		transition: transform 250ms ease, color 250ms ease;
	}

	.muus-primary-nav .muus-nav-item.is-open .muus-nav-trigger::after {
		transform: rotate(45deg);
		color: var(--wp--preset--color--primary);
	}

	/* Panel becomes an inline, height-animated accordion body. Collapsed panels are
	   visibility:hidden so their links stay out of the tab order / a11y tree (max-height:0
	   alone only clips them). Visibility flips to hidden AFTER the 260ms collapse so links
	   stay visible during the close animation, and shows immediately on open. */
	.muus-mega-panel {
		position: static;
		max-height: 0;
		overflow: hidden;
		border: 0;
		box-shadow: none;
		background: transparent;
		opacity: 1;
		visibility: hidden;
		transform: none;
		pointer-events: auto;
		transition: max-height 260ms ease, visibility 0s linear 260ms;
	}

	.muus-nav-item.is-open .muus-mega-panel {
		max-height: 600px;
		visibility: visible;
		transform: none;
		transition: max-height 260ms ease, visibility 0s;
	}

	.muus-mega-inner {
		display: block;
		max-width: none;
		padding: 0 0 0.75rem;
	}

	.muus-mega-eyebrow {
		display: none;
	}

	.muus-mega-cards {
		display: none;
	}

	.muus-primary-nav .muus-mega-panel .muus-mega-link {
		min-height: 2.9rem;
		padding-left: 1rem;
		font-size: 0.82rem;
		letter-spacing: 0.08em;
		color: rgba(232, 229, 224, 0.82);
	}

	.muus-primary-nav .muus-mega-panel .muus-mega-link:hover,
	.muus-primary-nav .muus-mega-panel .muus-mega-link:focus-visible,
	.muus-primary-nav .muus-mega-panel .muus-mega-link[aria-current="page"] {
		color: var(--wp--preset--color--primary);
		padding-left: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.muus-mega-panel,
	.muus-nav-item.is-open .muus-mega-panel,
	.muus-mega-card img,
	.muus-primary-nav .muus-nav-trigger::after,
	.muus-mega-panel .muus-mega-link {
		transition: none !important;
	}
	.muus-mega-panel,
	.muus-nav-item.is-open .muus-mega-panel {
		transform: none !important;
	}
	.muus-mega-card:hover img,
	.muus-mega-card:focus-visible img {
		transform: none !important;
	}
}

/* =========================================================================
   Guides hub (/guides/ editorial index)
   Server-rendered muus/guides-hub block: hero, featured pillar, guide grid,
   closing CTA. Reproduces the approved editorial mockup; its tokens are mapped
   onto the theme's --wp--preset--* variables here. EVERY selector is scoped
   under .muus-guides-hub. The block renders inside the page content column and
   the inner .__wrap fluidly fills that column up to a 1200px cap.
   ========================================================================= */
.muus-guides-hub {
	--gh-accent: var(--wp--preset--color--primary, #c8a97e);
	--gh-accent-strong: #d8bd92;
	--gh-fg: var(--wp--preset--color--text, #e8e5e0);
	--gh-muted: var(--wp--preset--color--text-muted, #999999);
	--gh-faint: #6d6a66;
	--gh-border: var(--wp--preset--color--border, #333333);
	--gh-surface: var(--wp--preset--color--surface, #1a1a1a);
	--gh-bg: var(--wp--preset--color--background, #111111);
	--gh-display: var(--wp--preset--font-family--heading, 'Jost', sans-serif);
	--gh-body: var(--wp--preset--font-family--body, 'Inter', sans-serif);
	--gh-maxw: 1200px;
	--gh-gutter: clamp(16px, 3vw, 40px);
	--gh-r: 4px;
	--gh-r-lg: 8px;
	--gh-ease: cubic-bezier(.22, .61, .36, 1);
	width: 100%;
	color: var(--gh-fg);
	font-family: var(--gh-body);
	line-height: 1.6;
}
.muus-guides-hub *,
.muus-guides-hub *::before,
.muus-guides-hub *::after {
	box-sizing: border-box;
}
.muus-guides-hub img {
	display: block;
	max-width: 100%;
}
.muus-guides-hub__wrap {
	max-width: var(--gh-maxw);
	margin-inline: auto;
	padding-inline: var(--gh-gutter);
}

/* ---- HERO ---- */
.muus-guides-hub__hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--gh-border);
}
.muus-guides-hub__hero .muus-guides-hub__wrap {
	position: relative;
	z-index: 1;
	padding-block: clamp(36px, 6vw, 76px);
}
.muus-guides-hub__glow {
	position: absolute;
	top: -40%;
	right: -8%;
	width: 56%;
	height: 170%;
	z-index: 0;
	background: radial-gradient(ellipse at center, rgba(200, 169, 126, .08), transparent 62%);
	pointer-events: none;
}
.muus-guides-hub__crumbs {
	margin-bottom: 22px;
	font-size: 12px;
	letter-spacing: .04em;
	color: var(--gh-faint);
}
.muus-guides-hub__crumbs a {
	color: var(--gh-faint);
	text-decoration: none;
	transition: color .15s var(--gh-ease);
}
.muus-guides-hub__crumbs a:hover {
	color: var(--gh-accent);
}
.muus-guides-hub__crumbs span[aria-current] {
	color: var(--gh-muted);
}
.muus-guides-hub__eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--gh-accent);
}
/* Headings are double-scoped under .muus-guides-hub (0,2,0) so their size/weight
   deterministically beat theme.json's `:root :where(h1|h2|h3)` element rules
   (0,1,0) regardless of stylesheet load order. */
.muus-guides-hub .muus-guides-hub__title {
	max-width: 15ch;
	margin: 14px 0 0;
	font-family: var(--gh-display);
	font-size: clamp(38px, 6vw, 84px);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: var(--gh-fg);
}
.muus-guides-hub__lede {
	max-width: 58ch;
	margin: 24px 0 0;
	font-size: clamp(16px, 1.6vw, 19px);
	line-height: 1.6;
	color: var(--gh-fg);
	opacity: .9;
}
.muus-guides-hub__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid var(--gh-border);
}
.muus-guides-hub__meta b {
	display: block;
	font-family: var(--gh-display);
	font-size: 26px;
	font-weight: 400;
	color: var(--gh-accent);
}
.muus-guides-hub__meta span {
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--gh-muted);
}

/* ---- FEATURED PILLAR ---- */
.muus-guides-hub__pillar .muus-guides-hub__wrap {
	padding-block: clamp(36px, 5vw, 68px);
}
.muus-guides-hub__pillar-card {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	overflow: hidden;
	background: linear-gradient(180deg, var(--gh-surface), var(--gh-bg));
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-r-lg);
}
.muus-guides-hub__pillar-media,
.muus-guides-hub__pillar-body {
	min-width: 0;
}
.muus-guides-hub__pillar-media {
	position: relative;
	display: block;
	height: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.muus-guides-hub__pillar-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--gh-ease);
}
.muus-guides-hub__pillar-card:hover .muus-guides-hub__pillar-media img {
	transform: scale(1.04);
}
.muus-guides-hub__pillar-tag {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 7px 12px;
	border-radius: 99px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gh-bg);
	background: var(--gh-accent);
}
.muus-guides-hub__pillar-body {
	padding: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0;
}
.muus-guides-hub__pillar-body .muus-guides-hub__eyebrow {
	margin-bottom: 16px;
}
.muus-guides-hub .muus-guides-hub__pillar-heading {
	margin: 0;
	font-family: var(--gh-display);
	font-size: clamp(26px, 3.4vw, 44px);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: var(--gh-fg);
}
.muus-guides-hub__pillar-blurb {
	max-width: 52ch;
	margin: 18px 0 0;
	line-height: 1.6;
	color: var(--gh-fg);
	opacity: .82;
}
.muus-guides-hub__pillar-read,
.muus-guides-hub__read {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--gh-accent);
}
.muus-guides-hub__pillar-read {
	margin-top: 28px;
	font-size: 13px;
}
.muus-guides-hub__arw {
	transition: transform .2s var(--gh-ease);
}
.muus-guides-hub__pillar-card:hover .muus-guides-hub__pillar-read .muus-guides-hub__arw,
.muus-guides-hub__card:hover .muus-guides-hub__read .muus-guides-hub__arw {
	transform: translateX(4px);
}

/* ---- GUIDE GRID ---- */
.muus-guides-hub__grid-sec .muus-guides-hub__wrap {
	padding-bottom: clamp(40px, 5vw, 72px);
}
.muus-guides-hub__sec-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}
.muus-guides-hub .muus-guides-hub__sec-title {
	margin: 0;
	font-family: var(--gh-display);
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 300;
	letter-spacing: -.02em;
	color: var(--gh-fg);
}
.muus-guides-hub__sec-link {
	white-space: nowrap;
	font-size: 13px;
	letter-spacing: .06em;
	text-decoration: none;
	color: var(--gh-accent);
}
.muus-guides-hub__sec-link:hover {
	text-decoration: underline;
}
.muus-guides-hub__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 28px);
}
.muus-guides-hub__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: var(--gh-surface);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-r-lg);
	transition: border-color .3s, transform .3s var(--gh-ease);
}
.muus-guides-hub__card:hover {
	border-color: #4a4a48;
	transform: translateY(-4px);
}
.muus-guides-hub__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #0d0d0d;
}
.muus-guides-hub__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s var(--gh-ease);
}
.muus-guides-hub__card:hover .muus-guides-hub__thumb img {
	transform: scale(1.06);
}
.muus-guides-hub__rt {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 99px;
	border: 1px solid rgba(255, 255, 255, .14);
	background: rgba(12, 12, 12, .72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	font-size: 11px;
	letter-spacing: .04em;
	font-variant-numeric: tabular-nums;
	color: var(--gh-fg);
}
.muus-guides-hub__card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	padding: 20px 20px 24px;
}
.muus-guides-hub .muus-guides-hub__card-title {
	margin: 0;
	font-family: var(--gh-display);
	font-size: 21px;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--gh-fg);
}
.muus-guides-hub__card-blurb {
	flex: 1;
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--gh-muted);
}
.muus-guides-hub__read {
	margin-top: 6px;
	font-size: 12px;
}

/* ---- CLOSING CTA ---- */
.muus-guides-hub__closing {
	position: relative;
	overflow: hidden;
	text-align: center;
	border-top: 1px solid var(--gh-border);
}
.muus-guides-hub__closing-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.muus-guides-hub__closing-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	opacity: .2;
	filter: grayscale(.2);
}
.muus-guides-hub__closing-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, rgba(17, 17, 17, .4), var(--gh-bg) 78%);
}
.muus-guides-hub__closing .muus-guides-hub__wrap {
	position: relative;
	z-index: 1;
	padding-block: clamp(44px, 5.5vw, 80px);
}
.muus-guides-hub .muus-guides-hub__closing-title {
	max-width: 18ch;
	margin: 0 auto;
	font-family: var(--gh-display);
	font-size: clamp(28px, 4.4vw, 52px);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: var(--gh-fg);
}
.muus-guides-hub__closing-lede {
	max-width: 46ch;
	margin: 18px auto 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--gh-muted);
}
/* Double-scoped (0,2,0)/(0,3,0) so the dark button text wins over theme.json's
   `:where(a)` link colour (gold) — otherwise gold-on-gold would be invisible. */
.muus-guides-hub .muus-guides-hub__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 34px;
	padding: 16px 30px;
	border-radius: var(--gh-r);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	color: #141210;
	background: var(--gh-accent);
	transition: background .25s var(--gh-ease), transform .25s var(--gh-ease);
}
.muus-guides-hub .muus-guides-hub__btn:hover {
	color: #141210;
	background: var(--gh-accent-strong);
	transform: translateY(-2px);
}

/* ---- RESPONSIVE (mockup breakpoints: 3->2 at 900px, ->1 at 560px) ---- */
@media (max-width: 900px) {
	.muus-guides-hub__pillar-card {
		grid-template-columns: 1fr;
	}
	.muus-guides-hub__pillar-media {
		aspect-ratio: 16 / 10;
	}
	.muus-guides-hub__pillar-body {
		padding: clamp(22px, 5vw, 34px);
	}
	.muus-guides-hub__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 560px) {
	.muus-guides-hub {
		--gh-gutter: 18px;
	}
	.muus-guides-hub__grid {
		grid-template-columns: 1fr;
	}
	.muus-guides-hub__meta {
		gap: 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.muus-guides-hub__pillar-media img,
	.muus-guides-hub__thumb img,
	.muus-guides-hub__card,
	.muus-guides-hub__arw,
	.muus-guides-hub__btn {
		transition: none !important;
	}
	.muus-guides-hub__card:hover,
	.muus-guides-hub__btn:hover {
		transform: none !important;
	}
	.muus-guides-hub__card:hover .muus-guides-hub__thumb img,
	.muus-guides-hub__pillar-card:hover .muus-guides-hub__pillar-media img {
		transform: none !important;
	}
}

/* --- Guides hub: page-container overrides + keyboard focus.
   /guides/ renders through the generic templates/page.html, whose content group is
   `alignfull` but constrained to 800px and carries a <hr> separator above the (now
   suppressed) title. Free ONLY that content group (targeted via :has(> post-content)
   so the header/footer alignfull groups are untouched) so the full-bleed editorial
   hub can span the viewport; its own .muus-guides-hub__wrap re-caps content at 1200px.
   All scoped to body.muus-guides-hub-page — inert on every other page. --- */
body.muus-guides-hub-page .wp-block-separator {
	display: none;
}
body.muus-guides-hub-page .wp-block-group.alignfull:has(> .wp-block-post-content) {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
body.muus-guides-hub-page .wp-block-group.alignfull:has(> .wp-block-post-content) > *,
body.muus-guides-hub-page .wp-block-post-content,
body.muus-guides-hub-page .wp-block-post-content > * {
	max-width: none !important;
}

/* Keyboard focus — the mockup shipped hover states only, invisible on the dark bg. */
.muus-guides-hub a:focus-visible,
.muus-guides-hub__btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ── Распроданные ножи: плашка «Продано» + приглушение (16.07.2026) ─────────── */
.muus-sold-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	padding: 6px 12px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text, #e8e5e0);
	background: rgba(17, 17, 17, 0.82);
	border: 1px solid var(--wp--preset--color--border, #333);
	backdrop-filter: blur(2px);
	pointer-events: none;
}
.muus-card-soldout { position: relative; }
.muus-card-soldout img {
	filter: grayscale(0.55) brightness(0.85);
	transition: filter 0.3s ease;
}
.muus-card-soldout:hover img { filter: grayscale(0.25) brightness(0.95); }
.muus-card-soldout .muus-add-to-cart { display: none; }
.muus-gallery-soldout { position: relative; }
.muus-sold-badge--single {
	top: 18px;
	left: 18px;
	padding: 8px 16px;
	font-size: 12px;
}

/* Robokassa redirect interstitial — recolor the plugin's white card
   (assets/css/robokassa-redirect.css) to the MUUS dark theme so the brief
   "redirecting to payment" hand-off stays on-brand. `body` prefix wins over
   the plugin's single-class rules regardless of stylesheet load order. */
body .robokassa-redirect-wrapper,
body .robokassa-redirect-notice {
	background-color: var(--wp--preset--color--surface);
	border-color: var(--wp--preset--color--border);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
	color: var(--wp--preset--color--text);
}

/* Hide the plugin's "Thank you for your order!" — premature, the order is not
   paid yet; the spinner + message carry the redirect hand-off on their own. */
body .robokassa-redirect-title {
	display: none;
}

/* Centre the card in the visible area (the order-page chrome sits above it)
   without position:fixed — that would cover content and hide the manual-submit
   fallback the plugin reveals after ~6s on error. */
body .robokassa-redirect-wrapper {
	margin: max(22vh, 3rem) auto 3rem;
}

body .robokassa-redirect-status,
body .robokassa-redirect-message {
	color: var(--wp--preset--color--text-muted);
}

/* Spinner is now the focal element, so make it a touch larger. */
body .robokassa-redirect-loader {
	width: 54px;
	height: 54px;
	border-color: rgba(200, 169, 126, 0.2);
	border-top-color: var(--wp--preset--color--primary);
}

/* ── 404 ─────────────────────────────────────────────────────────────────── */
/* The theme had no 404 template until 2026-07-20; WordPress fell back to the
   posts loop and a lost visitor got an empty page between header and footer. */
.muus-not-found {
	padding: 6rem 1.5rem 7rem;
	text-align: center;
}

.muus-not-found__code {
	margin: 0 0 1rem;
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(3.5rem, 12vw, 6rem);
	line-height: 1;
	opacity: 0.35;
}

.muus-not-found__title {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 400;
}

.muus-not-found__text {
	max-width: 34rem;
	margin: 0 auto 2.5rem;
	color: var(--wp--preset--color--text-muted);
	line-height: 1.6;
}

.muus-not-found__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.75rem;
}

.muus-not-found__cta {
	padding: 0.9rem 2.25rem;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 0.2s ease;
}

.muus-not-found__cta:hover {
	opacity: 0.85;
}

.muus-not-found__link {
	color: var(--wp--preset--color--text-muted);
	font-size: 0.85rem;
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--border);
	transition: color 0.2s ease;
}

.muus-not-found__link:hover {
	color: var(--wp--preset--color--text);
}
