/* ==========================================================================
   NounCity — component layer
   --------------------------------------------------------------------------
   theme.json owns tokens, typography and block styling. This file owns only
   what the block system cannot express: interactive components, the mobile
   navigation, focus behaviour and composite store widgets.

   Every value below references a theme.json token. If you find yourself
   typing a hex code here, add it to theme.json instead.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Foundations
   -------------------------------------------------------------------------- */

:root {
	--nc-radius-sm: var(--wp--custom--radius--sm, 6px);
	--nc-radius-md: var(--wp--custom--radius--md, 10px);
	--nc-radius-lg: var(--wp--custom--radius--lg, 16px);
	--nc-radius-full: var(--wp--custom--radius--full, 999px);
	--nc-transition-fast: var(--wp--custom--transition--fast, 150ms cubic-bezier(.4, 0, .2, 1));
	--nc-transition-base: var(--wp--custom--transition--base, 250ms cubic-bezier(.4, 0, .2, 1));
	--nc-control-height: var(--wp--custom--control--height, 48px);
	--nc-tap-target: var(--wp--custom--control--tap-target, 44px);
	--nc-header-height: 84px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--nc-header-height) + 1rem);
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Hyphenate long Malay compounds rather than let them overflow narrow cards. */
p,
li,
dd {
	overflow-wrap: break-word;
	hyphens: auto;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

/* --------------------------------------------------------------------------
   2. Focus — never removed, only restyled
   -------------------------------------------------------------------------- */

:focus-visible {
	outline: 3px solid var(--wp--preset--color--saffron);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Pointer users do not get a ring; keyboard users always do. */
:focus:not(:focus-visible) {
	outline: none;
}

.nc-skip-link {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 9999;
	padding: 0.75rem 1.25rem;
	transform: translate(-50%, -150%);
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	border-radius: 0 0 var(--nc-radius-md) var(--nc-radius-md);
	font-weight: 600;
	text-decoration: none;
	transition: transform var(--nc-transition-fast);
}

.nc-skip-link:focus {
	transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   3. Buttons — block style variations declared in inc/class-blocks.php
   -------------------------------------------------------------------------- */

.wp-block-button__link,
.nc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: var(--nc-control-height);
	padding-inline: 1.45rem;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	letter-spacing: -0.011em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 8px 16px rgb(180 79 1 / 0.16);
	transition: background-color var(--nc-transition-fast), transform var(--nc-transition-fast), box-shadow var(--nc-transition-fast);
}

.wp-block-button:not(.is-style-secondary):not(.is-style-quiet) .wp-block-button__link:hover,
.nc-button:not(.nc-button--secondary):hover {
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), 0 12px 22px rgb(180 79 1 / 0.22);
}

.wp-block-button__link:active,
.nc-button:active {
	transform: translateY(1px);
	box-shadow: none;
}

/* Secondary: ink line, no grey box. */
.wp-block-button.is-style-secondary .wp-block-button__link,
.nc-button--secondary {
	background-color: transparent;
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--ink);
	box-shadow: none;
}

.wp-block-button.is-style-secondary .wp-block-button__link:hover,
.nc-button--secondary:hover {
	background-color: var(--wp--preset--color--saffron-100);
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ink);
}

/* Quiet: a link that keeps button hit area. Ember passes AA on white. */
.wp-block-button.is-style-quiet .wp-block-button__link,
.nc-button--quiet {
	background-color: transparent;
	color: var(--wp--preset--color--ember);
	padding-inline: 0.5rem;
	box-shadow: none;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 2px;
}

.wp-block-button.is-style-quiet .wp-block-button__link:hover,
.nc-button--quiet:hover {
	background-color: var(--wp--preset--color--saffron-50);
	color: var(--wp--preset--color--saffron-800);
}

.nc-button[disabled],
.nc-button[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

/* --------------------------------------------------------------------------
   4. Block style variations
   -------------------------------------------------------------------------- */

.wp-block-group.is-style-card {
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--slate-200);
	border-radius: var(--nc-radius-lg);
	padding: var(--wp--preset--spacing--50);
	box-shadow: var(--wp--preset--shadow--raised);
	transition: box-shadow var(--nc-transition-base), transform var(--nc-transition-base);
}

.wp-block-group.is-style-panel-tinted {
	background-color: var(--wp--preset--color--saffron-50);
	border-radius: var(--nc-radius-lg);
	padding: var(--wp--preset--spacing--60);
}

.wp-block-image.is-style-rounded-gift img {
	border-radius: var(--nc-radius-lg);
}

.wp-block-heading.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--micro);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ember);
	margin-bottom: 0.5rem;
}

.wp-block-separator.is-style-ribbon {
	width: 64px;
	height: 4px;
	border: 0;
	border-radius: var(--nc-radius-full);
	background: var(--wp--preset--gradient--ribbon);
	opacity: 1;
	margin-inline: 0;
}

.wp-block-list.is-style-checks {
	list-style: none;
	padding-left: 0;
}

.wp-block-list.is-style-checks li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0.75rem;
}

.wp-block-list.is-style-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: var(--nc-radius-full);
	background-color: var(--wp--preset--color--saffron-100);
	/* Tick drawn as a mask so it inherits colour and needs no image request. */
	background-image: linear-gradient(var(--wp--preset--color--ember), var(--wp--preset--color--ember));
	background-size: 0.65rem 0.65rem;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-mask: none;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--saffron-200);
}

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */

.nc-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: color-mix(in srgb, var(--wp--preset--color--white) 92%, transparent);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--wp--preset--color--slate-200);
}

/* The theme block gap was opening 24px of white between the header and the page. */
.wp-site-blocks > .wp-block-template-part + main {
	margin-block-start: 0;
}

/* Full-bleed bands carry their own padding. The layout gap was stacking a second seam under each one. */
main.wp-block-group.is-layout-constrained > .alignfull,
main.wp-block-group.is-layout-constrained > .wp-block-template-part,
.wp-site-blocks > main + .wp-block-template-part {
	margin-block-start: 0;
}

.nc-header__inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 1.25rem;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	min-height: var(--nc-header-height);
}

.nc-header__logo {
	flex: 0 0 auto;
}

.nc-header__mark {
	display: block;
	line-height: 0;
}

.nc-header__mark img {
	display: block;
	height: 64px;
	width: auto;
	max-width: none;
}

@media (max-width: 781px) {
	.nc-header__mark img {
		height: 64px;
	}
}

/* One row. The five kinds, then corporate. Utilities live in the drawer. */

.nc-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1;
	min-width: 0;
	gap: 0.15rem;
}

.nc-header__actions {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	margin-left: 1.25rem;
}

.nc-header .wc-block-customer-account__link,
.nc-header .wc-block-mini-cart__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}

.nc-header .wc-block-customer-account__link:hover,
.nc-header .wc-block-mini-cart__button:hover {
	background: var(--wp--preset--color--saffron-100);
}

.nc-header .wc-block-customer-account__account-icon,
.nc-header .wc-block-mini-cart__icon {
	width: 22px;
	height: 22px;
}

.nc-header .wc-block-mini-cart__amount {
	display: none;
}

.nc-header .wc-block-mini-cart__badge {
	background-color: var(--wp--preset--color--saffron);
	color: var(--wp--preset--color--ink);
	font-weight: 700;
}

.nc-nav__links {
	display: flex;
	align-items: center;
	gap: 0.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nc-nav__links a,
.nc-nav__link {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.55rem;
	color: var(--wp--preset--color--ink);
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.011em;
	text-decoration: none;
	white-space: nowrap;
	background: none;
	border-radius: 0;
}

.nc-nav > .nc-nav__link {
	margin-left: 0.65rem;
	color: var(--wp--preset--color--slate-600);
}

.nc-nav__links a:hover,
.nc-nav__link:hover {
	color: var(--wp--preset--color--ember);
	background: none;
}

.nc-nav__links a:hover,
.nc-nav__link:hover,
.nc-nav__link[aria-current="page"] {
	box-shadow: inset 0 -1px 0 currentColor;
}

.nc-nav__kicker {
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--ember);
	font-size: var(--wp--preset--font-size--micro);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nc-nav__drawer-work {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nc-nav__drawer-work a {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.7rem 0.15rem;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.nc-nav__drawer-work strong {
	font-size: 1rem;
	font-weight: 600;
}

.nc-nav__drawer-work span {
	color: var(--wp--preset--color--slate-600);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	line-height: 1.4;
}

.nc-nav__drawer {
	display: none;
}

.nc-kinds {
	margin: 0 0 2rem;
}

.nc-kinds__list {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nc-kinds__list li {
	grid-column: span 2;
	scroll-margin-top: calc(var(--nc-header-height) + 1rem);
	padding: 1rem 1.05rem 1.1rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--slate-200);
	border-radius: var(--nc-radius-md);
}

.nc-kinds__list li:nth-child(4),
.nc-kinds__list li:nth-child(5) {
	grid-column: span 3;
}

.nc-kinds__list h2 {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
}

.nc-kinds__list p {
	margin: 0;
	color: var(--wp--preset--color--slate-600);
	font-size: var(--wp--preset--font-size--small);
}

@media (max-width: 781px) {
	.nc-header__inner {
		flex-wrap: nowrap;
	}

	.nc-nav {
		display: flex;
		flex: 0 0 auto;
		order: 2;
		width: auto;
		margin: 0 0 0 auto;
		padding: 0;
		border-top: 0;
	}

	.nc-nav__links,
	.nc-nav > .nc-nav__link {
		display: none;
	}

	.nc-nav__drawer:not([hidden]) {
		display: block;
		position: absolute;
		z-index: 40;
		left: 0;
		right: 0;
		top: 100%;
		max-height: calc(100vh - var(--nc-header-height));
		overflow: auto;
		padding: 0.5rem 1.25rem 1.5rem;
		background: var(--wp--preset--color--white);
		border-bottom: 1px solid var(--wp--preset--color--slate-200);
	}

	.nc-nav__drawer-work {
		flex-direction: column;
	}

	.nc-nav__drawer-links {
		display: grid;
		margin-top: 0.75rem;
		padding-top: 0.75rem;
		border-top: 1px solid var(--wp--preset--color--slate-200);
	}

	.nc-nav__drawer-links .nc-nav__link {
		padding: 0.7rem 0.2rem;
		font-size: 1.05rem;
	}

	.nc-kinds__list,
	.nc-kinds__list li,
	.nc-kinds__list li:nth-child(4),
	.nc-kinds__list li:nth-child(5) {
		grid-template-columns: 1fr;
		grid-column: auto;
	}
}

.nc-announcement {
	background-color: #9a4208;
	background-image: linear-gradient(90deg, #c45602 0%, #b44f01 46%, #8f3c06 100%);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	text-align: center;
	padding: 0.45rem 1rem;
}

.nc-announcement p {
	color: var(--wp--preset--color--white);
}

.nc-announcement a {
	color: inherit;
	text-underline-offset: 3px;
}

/* Mobile drawer toggle */
.nc-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: var(--nc-tap-target);
	height: var(--nc-tap-target);
	padding: 0;
	background: none;
	border: 0;
	border-radius: var(--nc-radius-sm);
	cursor: pointer;
	color: var(--wp--preset--color--ink);
}

.nc-nav-toggle__bar,
.nc-nav-toggle__bar::before,
.nc-nav-toggle__bar::after {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background-color: currentColor;
	transition: transform var(--nc-transition-fast), opacity var(--nc-transition-fast);
}

.nc-nav-toggle__bar::before,
.nc-nav-toggle__bar::after {
	content: "";
	position: absolute;
}

.nc-nav-toggle__bar::before {
	transform: translateY(-7px);
}

.nc-nav-toggle__bar::after {
	transform: translateY(7px);
}

.nc-nav-toggle[aria-expanded="true"] .nc-nav-toggle__bar {
	background-color: transparent;
}

.nc-nav-toggle[aria-expanded="true"] .nc-nav-toggle__bar::before {
	transform: rotate(45deg);
}

.nc-nav-toggle[aria-expanded="true"] .nc-nav-toggle__bar::after {
	transform: rotate(-45deg);
}

@media (max-width: 781px) {
	.nc-nav-toggle {
		display: inline-flex;
		position: relative;
		margin-left: auto;
	}
}

/* --------------------------------------------------------------------------
   6. Language switcher
   -------------------------------------------------------------------------- */

.nc-lang {
	position: relative;
	font-size: var(--wp--preset--font-size--small);
}

.nc-lang__list {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-lang__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--nc-tap-target);
	min-height: var(--nc-tap-target);
	padding-inline: 0.625rem;
	border-radius: var(--nc-radius-sm);
	color: var(--wp--preset--color--slate-700);
	text-decoration: none;
	font-weight: 500;
	transition: background-color var(--nc-transition-fast), color var(--nc-transition-fast);
}

.nc-lang__link:hover {
	background-color: var(--wp--preset--color--slate-100);
	color: var(--wp--preset--color--ink);
}

.nc-lang__link[aria-current="true"] {
	background-color: var(--wp--preset--color--saffron-100);
	color: var(--wp--preset--color--ember);
	font-weight: 600;
}

.nc-header .nc-lang__list {
	gap: 0;
}

.nc-header .nc-lang__link {
	min-width: 0;
	min-height: 0;
	padding: 0.1rem 0.3rem;
	border-radius: 0;
	background: transparent;
	color: var(--wp--preset--color--slate-500);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.06em;
}

.nc-header .nc-lang__link:hover {
	background: transparent;
	color: var(--wp--preset--color--ink);
}

.nc-header .nc-lang__link[aria-current="true"] {
	background: transparent;
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

.nc-header .nc-lang__item:not(:last-child) .nc-lang__link::after {
	content: "/";
	margin-left: 0.4rem;
	color: var(--wp--preset--color--slate-300);
	font-weight: 400;
	letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   7. Badges, pills, notices
   -------------------------------------------------------------------------- */

.nc-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.25rem 0.625rem;
	border-radius: var(--nc-radius-full);
	background-color: var(--wp--preset--color--saffron-100);
	/* saffron-800, not ember: ember on saffron-100 is 4.37:1 and fails AA.
	   saffron-800 on the same fill is 6.13:1. */
	color: var(--wp--preset--color--saffron-800);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--micro);
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.4;
	white-space: nowrap;
}

.nc-badge--sale {
	position: absolute;
	top: 0.75rem;
	inset-inline-start: 0.75rem;
	z-index: 2;
	background-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

.nc-notice {
	display: flex;
	gap: 0.75rem;
	padding: 1rem 1.125rem;
	border-radius: var(--nc-radius-md);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
	border: 1px solid transparent;
}

.nc-notice__icon {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.1rem;
}

.nc-notice--success {
	background-color: color-mix(in srgb, var(--wp--preset--color--success) 8%, white);
	border-color: color-mix(in srgb, var(--wp--preset--color--success) 25%, white);
	color: var(--wp--preset--color--success);
}

.nc-notice--error {
	background-color: color-mix(in srgb, var(--wp--preset--color--error) 8%, white);
	border-color: color-mix(in srgb, var(--wp--preset--color--error) 25%, white);
	color: var(--wp--preset--color--error);
}

.nc-notice--info {
	background-color: color-mix(in srgb, var(--wp--preset--color--info) 8%, white);
	border-color: color-mix(in srgb, var(--wp--preset--color--info) 25%, white);
	color: var(--wp--preset--color--info);
}

/* Warning is a cream panel with ochre text — an amber fill would read as brand. */
.nc-notice--warning {
	background-color: var(--wp--preset--color--warning-bg);
	border-color: color-mix(in srgb, var(--wp--preset--color--warning-text) 25%, var(--wp--preset--color--warning-bg));
	color: var(--wp--preset--color--warning-text);
}

/* --------------------------------------------------------------------------
   8. Forms
   -------------------------------------------------------------------------- */

.nc-field {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin-bottom: var(--wp--preset--spacing--40);
}

.nc-field__label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--wp--preset--color--ink);
}

.nc-field__required {
	color: var(--wp--preset--color--error);
	margin-inline-start: 0.125rem;
}

.nc-field__hint {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--slate-600);
}

.nc-field__error {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	color: var(--wp--preset--color--error);
}

.nc-field__error::before {
	content: "!";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	border-radius: var(--nc-radius-full);
	background-color: var(--wp--preset--color--error);
	color: var(--wp--preset--color--white);
	font-size: 0.6875rem;
	font-weight: 700;
}

.nc-input,
.nc-textarea,
.nc-select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
textarea,
select {
	width: 100%;
	min-height: var(--nc-control-height);
	padding: 0.75rem 0.875rem;
	background-color: var(--wp--preset--color--slate-100);
	border: 1.5px solid var(--wp--preset--color--slate-200);
	border-radius: var(--nc-radius-sm);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
	/* 16px minimum stops iOS Safari zooming the viewport on focus. */
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color var(--nc-transition-fast), background-color var(--nc-transition-fast), box-shadow var(--nc-transition-fast);
}

textarea,
.nc-textarea {
	min-height: 7.5rem;
	resize: vertical;
}

.nc-input:hover,
textarea:hover,
select:hover {
	border-color: var(--wp--preset--color--slate-300);
}

.nc-input:focus,
textarea:focus,
select:focus,
input:focus {
	background-color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--saffron);
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--saffron) 28%, transparent);
}

.nc-input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
	border-color: var(--wp--preset--color--error);
	background-color: color-mix(in srgb, var(--wp--preset--color--error) 4%, white);
}

::placeholder {
	color: var(--wp--preset--color--slate-400);
	opacity: 1;
}

/* Honeypot: off-screen but not display:none, which bots detect. */
.nc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.nc-charcount {
	font-size: var(--wp--preset--font-size--micro);
	color: var(--wp--preset--color--slate-600);
	text-align: end;
	font-variant-numeric: tabular-nums;
}

.nc-charcount--over {
	color: var(--wp--preset--color--error);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Trust bar
   -------------------------------------------------------------------------- */

.nc-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--wp--preset--spacing--50);
}

.nc-trust__item {
	display: flex;
	gap: 0.875rem;
	align-items: flex-start;
}

.nc-trust__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--nc-radius-full);
	background-color: var(--wp--preset--color--saffron-100);
	color: var(--wp--preset--color--ember);
}

.nc-trust__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--body);
	margin: 0 0 0.125rem;
}

.nc-trust__text {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--slate-600);
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9b. Category grid  (patterns/hidden-category-grid.php)
   -------------------------------------------------------------------------- */

.nc-cats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: var(--wp--preset--spacing--40);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-cats__item {
	margin: 0;
}

.nc-cats__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--slate-200);
	border-radius: var(--nc-radius-lg);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow var(--nc-transition-base), transform var(--nc-transition-base), border-color var(--nc-transition-base);
}

.nc-cats__media {
	display: block;
	background-color: var(--wp--preset--color--slate-50);
}

.nc-cats__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.nc-cats__body {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	padding: 0.875rem 1rem 1.125rem;
}

.nc-cats__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--body);
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	line-height: 1.3;
}

.nc-cats__count {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--slate-600);
}

@media (prefers-reduced-motion: no-preference) {
	.nc-cats__link:hover {
		transform: translateY(-3px);
		box-shadow: var(--wp--preset--shadow--floating);
		border-color: var(--wp--preset--color--saffron-200);
	}
}

.nc-cats__link:hover .nc-cats__name {
	color: var(--wp--preset--color--ember);
}

/* --------------------------------------------------------------------------
   9c. Numbered steps  (front-page "How it works")
   -------------------------------------------------------------------------- */

ol.nc-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--wp--preset--spacing--40);
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.nc-step {
	height: 100%;
	margin: 0;
	padding: var(--wp--preset--spacing--50);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--saffron-200);
	border-radius: var(--nc-radius-lg);
}

.nc-step__num {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--h3);
	font-weight: 700;
	line-height: 1;
	color: var(--wp--preset--color--ember);
}

.nc-step__title {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--h4);
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--ink);
}

.nc-step__text {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
	color: var(--wp--preset--color--slate-700);
	overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   9d. Customer quotes  (patterns/hidden-testimonials.php)
   -------------------------------------------------------------------------- */

.nc-quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: var(--wp--preset--spacing--50);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-quotes__item {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	margin: 0;
	padding: var(--wp--preset--spacing--50);
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--slate-200);
	border-radius: var(--nc-radius-lg);
}

.nc-quotes__stars {
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.14em;
	color: var(--wp--preset--color--saffron);
	line-height: 1;
}

.nc-quotes__text {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.6;
	color: var(--wp--preset--color--slate-700);
}

.nc-quotes__text::before {
	content: "\201C";
}

.nc-quotes__text::after {
	content: "\201D";
}

.nc-quotes__who {
	margin: auto 0 0;
	display: flex;
	flex-direction: column;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
}

.nc-quotes__who strong {
	color: var(--wp--preset--color--ink);
}

.nc-quotes__who span {
	color: var(--wp--preset--color--slate-600);
}

/* --------------------------------------------------------------------------
   10. Floating WhatsApp contact
   -------------------------------------------------------------------------- */

.nc-whatsapp {
	position: fixed;
	inset-inline-end: 1rem;
	inset-block-end: 1rem;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: var(--nc-tap-target);
	padding: 0.625rem 1rem;
	border-radius: var(--nc-radius-full);
	background-color: #1A7F56; /* WhatsApp brand green, darkened to pass AA on white text (5.0:1). */
	color: #FFFFFF;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: none;
	box-shadow: var(--wp--preset--shadow--floating);
	transition: transform var(--nc-transition-fast), box-shadow var(--nc-transition-fast);
}

.nc-whatsapp:hover {
	transform: translateY(-2px);
	box-shadow: var(--wp--preset--shadow--overlay);
	color: #FFFFFF;
}

.nc-whatsapp__label {
	display: none;
}

@media (min-width: 600px) {
	.nc-whatsapp__label {
		display: inline;
	}
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */

.nc-footer {
	position: relative;
	background-color: #141417;
	background-image: linear-gradient(160deg, #2a211c 0%, #1c1c1e 42%, #141417 100%);
	color: var(--wp--preset--color--slate-300);
}

.nc-footer::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 3px;
	background-image: linear-gradient(90deg, #fd7207 0%, #df6202 55%, #b44f01 100%);
}

.nc-footer a {
	color: var(--wp--preset--color--slate-300);
	text-decoration: none;
}

.nc-footer a:hover {
	color: var(--wp--preset--color--saffron);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nc-footer h2,
.nc-footer h3,
.nc-footer h4 {
	color: var(--wp--preset--color--white);
}

.nc-footer__legal {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--white) 12%, transparent);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--slate-400);
}

.nc-footer .nc-lang__list {
	gap: 0;
}

.nc-footer .nc-lang__link {
	min-width: 0;
	min-height: 0;
	padding: 0.15rem 0.35rem;
	border-radius: 0;
	background: transparent;
	color: var(--wp--preset--color--slate-400);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.06em;
}

.nc-footer .nc-lang__link:hover {
	background: transparent;
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.nc-footer .nc-lang__link[aria-current="true"] {
	background: transparent;
	color: var(--wp--preset--color--white);
	font-weight: 600;
}

.nc-footer .nc-lang__item:not(:last-child) .nc-lang__link::after {
	content: "/";
	margin-left: 0.4rem;
	color: var(--wp--preset--color--slate-600);
	font-weight: 400;
	letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   12. Photographic storefront
   -------------------------------------------------------------------------- */

.nc-mosaic {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	grid-template-rows: 230px 230px;
	gap: 0.75rem;
}

.nc-mosaic__item {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--nc-radius-lg);
	background: var(--wp--preset--color--slate-100);
}

.nc-mosaic__item--lead {
	grid-row: 1 / span 2;
}

.nc-mosaic__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nc-mosaic__item--lead img {
	object-position: center 46%;
}

.nc-mosaic__item:nth-child(2) img {
	object-position: center 35%;
}

.nc-mosaic__item figcaption {
	position: absolute;
	inset-inline-start: 0.75rem;
	inset-block-end: 0.75rem;
	margin: 0;
	padding: 0.25rem 0.65rem;
	border-radius: var(--nc-radius-full);
	background: color-mix(in srgb, var(--wp--preset--color--white) 92%, transparent);
	color: var(--wp--preset--color--ink);
	font-size: var(--wp--preset--font-size--micro);
	font-weight: 600;
	letter-spacing: 0.04em;
}

.nc-cats--feature {
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.nc-cats--feature .nc-cats__item {
	min-height: 240px;
}

.nc-cats--feature .nc-cats__link {
	position: relative;
	display: block;
	height: 100%;
	min-height: 240px;
	border: 0;
	color: var(--wp--preset--color--white);
}

.nc-cats--feature .nc-cats__media,
.nc-cats--feature .nc-cats__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
}

.nc-cats--feature .nc-cats__body {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	z-index: 1;
	padding: 3rem 1.15rem 1.05rem;
	background: linear-gradient(to top, rgba(28, 28, 30, 0.84), rgba(28, 28, 30, 0));
}

.nc-cats--feature .nc-cats__name,
.nc-cats--feature .nc-cats__count,
.nc-cats--feature .nc-cats__link:hover .nc-cats__name {
	color: var(--wp--preset--color--white);
}

.nc-cats--feature .nc-cats__count {
	color: color-mix(in srgb, var(--wp--preset--color--white) 82%, transparent);
}

@media (min-width: 782px) {
	.nc-cats--feature {
		grid-template-columns: 1.35fr 1fr 1fr;
		grid-template-rows: 230px 230px;
	}

	.nc-cats--feature .nc-cats__item:first-child {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.nc-cats--feature .nc-cats__item:nth-child(4) {
		grid-column: 2 / span 2;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.nc-cats--feature .nc-cats__img {
		transition: transform var(--nc-transition-base);
	}

	.nc-cats--feature .nc-cats__link:hover .nc-cats__img {
		transform: scale(1.04);
	}
}

.nc-photo-band {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.nc-photo-band img {
	display: block;
	width: 100%;
	height: 420px;
	object-fit: cover;
	object-position: center 42%;
}

.nc-photo-band__caption {
	position: absolute;
	inset-inline-start: 50%;
	inset-block-end: 1.5rem;
	transform: translateX(-50%);
	margin: 0;
	padding: 0.7rem 1.15rem;
	border-radius: var(--nc-radius-full);
	background: rgba(28, 28, 30, 0.82);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

.nc-trust-band {
	background-color: #fff7f0;
	background-image:
		radial-gradient(720px 280px at 12% 0%, rgba(253, 114, 7, 0.2), transparent 70%),
		radial-gradient(640px 260px at 92% 110%, rgba(180, 79, 1, 0.14), transparent 72%),
		linear-gradient(180deg, #fff1e4 0%, #ffe4cc 100%);
}

.nc-trust-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-trust-row li {
	margin: 0;
	padding: 1.35rem 1.35rem 1.5rem;
	background: var(--wp--preset--color--white);
	border-radius: var(--nc-radius-lg);
	box-shadow:
		0 16px 36px rgba(180, 79, 1, 0.08),
		inset 0 0 0 1px rgba(28, 28, 30, 0.06);
}

.nc-trust-row__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	margin-bottom: 0.9rem;
	border-radius: var(--nc-radius-full);
	color: var(--wp--preset--color--ember);
	background-image: linear-gradient(160deg, #ffe4cc 0%, #fff7f0 100%);
	box-shadow: inset 0 0 0 1px rgba(253, 114, 7, 0.28);
}

.nc-trust-row h3 {
	margin: 0 0 0.4rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--h4);
	font-weight: 600;
}

.nc-trust-row p {
	margin: 0;
	color: var(--wp--preset--color--slate-700);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

.nc-quotes-band {
	background-color: #f7f4f1;
	background-image: linear-gradient(180deg, #ffffff 0%, #f6f1ec 100%);
}

.nc-steps-band {
	background-color: #fff7f0;
	background-image:
		radial-gradient(680px 320px at 50% -10%, rgba(253, 114, 7, 0.22), transparent 70%),
		linear-gradient(180deg, #fff8f2 0%, #fde8d6 100%);
}

.nc-bestsellers {
	background-color: #ffffff;
	background-image: linear-gradient(180deg, #ffffff 0%, #fff7f0 100%);
}

.nc-hero.has-background {
	background-image:
		radial-gradient(540px 280px at 72% 12%, rgba(253, 114, 7, 0.2), transparent 70%),
		linear-gradient(180deg, #fef5ee 0%, #ffffff 78%);
}

.nc-corporate {
	background-color: #141417;
	background-image:
		radial-gradient(620px 420px at 82% 50%, rgba(253, 114, 7, 0.28), transparent 62%),
		linear-gradient(155deg, #3a2418 0%, #1c1c1e 48%, #141417 100%);
}

.nc-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: var(--wp--preset--spacing--60);
}

.nc-footer__grid h2 {
	margin: 0 0 1rem;
	font-size: var(--wp--preset--font-size--h4);
}

.nc-footer__grid ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-footer__grid li + li {
	margin-top: 0.55rem;
}

.nc-footer__mark {
	display: inline-block;
	line-height: 0;
}

.nc-footer__mark img {
	display: block;
	height: 64px;
	width: auto;
}

.nc-footer__mark:hover {
	text-decoration: none;
}

.nc-footer__brand p {
	margin: 1rem 0 0;
	max-width: 36ch;
}

.nc-footer__name {
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
}

.nc-corporate__photo {
	margin: 0;
}

.nc-corporate__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--nc-radius-lg);
}

@media (max-width: 781px) {
	.nc-mosaic {
		grid-template-rows: 260px 170px;
		margin-top: 0.5rem;
	}

	.nc-photo-band img {
		height: 280px;
	}

	.nc-photo-band__caption {
		inset-inline: 1rem;
		transform: none;
		width: auto;
	}

	.nc-trust-row,
	.nc-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.nc-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.nc-trust-row {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   13. Utilities
   -------------------------------------------------------------------------- */

.screen-reader-text,
.nc-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	padding: 0.75rem 1.25rem;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	z-index: 9999;
}

.nc-prose {
	max-width: var(--wp--custom--measure--prose, 68ch);
}

.nc-stack > * + * {
	margin-block-start: var(--nc-stack-gap, var(--wp--preset--spacing--40));
}

/* --------------------------------------------------------------------------
   13. Motion preferences — honoured, not ignored
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wp-block-group.is-style-card:hover {
		transform: translateY(-2px);
		box-shadow: var(--wp--preset--shadow--floating);
	}

	html {
		scroll-behavior: smooth;
	}
}

/* --------------------------------------------------------------------------
   14. Print
   -------------------------------------------------------------------------- */

@media print {
	.nc-header,
	.nc-footer,
	.nc-whatsapp,
	.nc-announcement,
	.nc-lang {
		display: none !important;
	}

	body {
		color: #000;
		background: #fff;
	}
}

/* --------------------------------------------------------------------------
   The house design collection, on the front page.
   -------------------------------------------------------------------------- */

.nc-designs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: var(--wp--preset--spacing--40);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-designs-grid__item {
	margin: 0;
}

.nc-designs-grid__link {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	height: 100%;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
}

.nc-designs-grid__frame {
	display: block;
	aspect-ratio: 1;
	margin-bottom: 0.25rem;
	padding: 8%;
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--saffron-200);
	border-radius: var(--nc-radius-lg);
}

.nc-designs-grid__art {
	display: block;
	width: 100%;
	height: auto;
}

.nc-designs-grid__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
}

.nc-designs-grid__note {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
	color: var(--wp--preset--color--slate-700);
}

@media (prefers-reduced-motion: no-preference) {
	.nc-designs-grid__frame {
		transition: border-color 150ms cubic-bezier(.4, 0, .2, 1), transform 150ms cubic-bezier(.4, 0, .2, 1);
	}
}

.nc-designs-grid__link:hover .nc-designs-grid__frame {
	border-color: var(--wp--preset--color--saffron);
	transform: translateY(-2px);
}

.nc-designs-grid__link:hover .nc-designs-grid__name {
	color: var(--wp--preset--color--saffron-800);
}
