/* Nova Supply chrome: announcement, header, menu drawer, mini cart, footer. Tokens only. */

/* ---------- Page frame: header, main and footer sit edge to edge ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ---------- Header: announcement scrolls away, bar sticks ---------- */
.wp-site-blocks > header.wp-block-template-part { display: contents; }

.nv-announce p { margin: 0; }
.nv-announce a { color: var(--wp--preset--color--link); text-decoration: underline; text-underline-offset: 0.2em; }
.nv-announce a:hover { color: var(--wp--preset--color--contrast); }

.nv-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: var(--wp--custom--z--header);
}
.nv-header__bar { min-height: var(--wp--custom--layout--header-height); }
/* Under 600px the admin bar scrolls away, so the sticky bar goes to the very top. */
@media (max-width: 600px) {
	.nv-header { top: 0; }
}

.nv-logo { margin: 0; flex-shrink: 0; }
.nv-logo a { display: inline-flex; align-items: center; min-height: var(--wp--custom--control--height-sm); }
.nv-logo img { display: block; height: var(--wp--custom--icon--size); width: auto; }

/* Main navigation */
.nv-header__bar > .wp-block-navigation { margin-inline: var(--wp--preset--spacing--40) auto; }
.nv-header__bar > .nv-header__tools { margin-inline-start: auto; }

.nv-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: var(--wp--custom--control--height-sm);
	padding-inline: var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--medium);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	border-bottom: var(--wp--custom--border--width-strong) solid transparent;
	transition: color var(--wp--custom--transition--fast);
}
.nv-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--link); }
.nv-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content,
.nv-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > [aria-current="page"] {
	border-bottom-color: var(--wp--preset--color--link);
}
.nv-header__nav .wp-block-navigation__submenu-icon { color: var(--wp--preset--color--accent-4); }

/* Shop dropdown: a two-column panel */
.wp-block-navigation.nv-header__nav:not(.has-background) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: var(--wp--preset--shadow--md);
	z-index: var(--wp--custom--z--dropdown);
}
.nv-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child:where(:hover, :focus-within) > .wp-block-navigation__submenu-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(calc(var(--wp--custom--layout--sidebar) * 0.66), 1fr));
	gap: calc(var(--wp--preset--spacing--20) / 2);
	padding: var(--wp--preset--spacing--30);
}
.nv-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	min-height: var(--wp--custom--control--height-sm);
	padding: 0 var(--wp--preset--spacing--30);
	border-radius: var(--wp--custom--radius--md);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast);
}
.nv-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--contrast);
}

/* Tools: search, account, cart (and the menu button) as 48px icon buttons. The search also sits in the menu drawer. */
.nv-header__tools :is(.wp-block-search__button, .wc-block-customer-account__link, .wc-block-mini-cart__button),
.nv-header__search .wp-block-search__button { display: inline-flex; }
.nv-header__tools :is(.wp-block-search__button, .wc-block-customer-account__link, .wc-block-mini-cart__button),
.nv-header__search .wp-block-search__button,
.nv-header__bar .wp-block-navigation__responsive-container-open {
	align-items: center;
	justify-content: center;
	min-width: var(--wp--custom--control--height);
	min-height: var(--wp--custom--control--height);
	padding: 0;
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border: 0;
	border-radius: var(--wp--custom--radius--button);
	transition: background-color var(--wp--custom--transition--fast);
}
.nv-header__tools :where(.wp-block-search__button, .wc-block-customer-account__link, .wc-block-mini-cart__button):hover,
.nv-header__search .wp-block-search__button:hover,
.nv-header__bar .wp-block-navigation__responsive-container-open:hover {
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--contrast);
}
.nv-header__tools svg,
.nv-header__search .wp-block-search__button svg { width: var(--wp--custom--icon--size); height: var(--wp--custom--icon--size); }
.nv-header__tools .wc-block-customer-account__account-icon { fill: currentColor; }

.wc-block-mini-cart__badge {
	min-width: var(--wp--custom--icon--size-sm);
	height: var(--wp--custom--icon--size-sm);
	padding-inline: calc(var(--wp--preset--spacing--20) / 2);
	border: 0;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent-1) !important;
	color: var(--wp--preset--color--on-accent) !important;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: var(--wp--custom--icon--size-sm);
}

/* Search: icon expands into a field */
.nv-header__search { margin: 0; }
.nv-header__search .wp-block-search__inside-wrapper { gap: var(--wp--preset--spacing--20); border: 0; padding: 0; }
.nv-header__search .wp-block-search__input {
	min-height: var(--wp--custom--control--height);
	padding-inline: var(--wp--custom--control--padding-x-sm);
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--contrast);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--border-strong);
	border-radius: var(--wp--custom--radius--input);
	font-size: var(--wp--preset--font-size--medium);
}
.nv-header__search .wp-block-search__input::placeholder { color: var(--wp--preset--color--accent-4); }
.nv-header__search.wp-block-search__searchfield-hidden .wp-block-search__input { border-width: 0; padding: 0; }
.nv-header__search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper {
	width: calc(var(--wp--custom--layout--sidebar) * 1.25);
}

/* ---------- Under 1024px: menu button left, drawer, search on its own row ---------- */
@media (max-width: 1023px) {
	.nv-header__bar > .wp-block-navigation {
		order: -1;
		margin-inline: calc(var(--wp--preset--spacing--30) * -1) 0;
	}
	.nv-header__tools .nv-header__search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		width: auto;
		padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
		background: var(--wp--preset--color--base);
		border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	}
}
@media (min-width: 600px) and (max-width: 1023px) {
	.nv-header__nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; }
}

/* ---------- Menu drawer (custom navigation overlay, under 1024px) ----------
   Core switches the overlay between display:none and flex, which cannot animate. Here it stays laid out and is hidden with
   visibility (so nothing inside can take focus), the dim ground fades and the drawer slides in from the left, and back out
   on close (visibility flips after the slide). body + three classes beats core's :not(.is-menu-open) rules whatever the load order. */
@media (max-width: 1023px) {
	body .wp-block-navigation.nv-header__nav .wp-block-navigation__responsive-container {
		display: flex;
		position: fixed;
		inset: var(--wp-admin--admin-bar--height, 0px) 0 0 0;
		padding: 0;
		color: var(--wp--preset--color--contrast);
		background-color: transparent;
		visibility: hidden;
		pointer-events: none;
		z-index: var(--wp--custom--z--drawer);
		animation: none;
		transition: background-color var(--wp--custom--transition--slow), visibility var(--wp--custom--transition--slow); /* visibility stays visible until the slide-out ends */
	}
	body .wp-block-navigation.nv-header__nav .wp-block-navigation__responsive-container.is-menu-open {
		visibility: visible;
		pointer-events: auto;
		background-color: var(--wp--preset--color--overlay);
		transition: background-color var(--wp--custom--transition--slow), visibility var(--wp--custom--transition--slow);
	}
	.nv-header__nav .wp-block-navigation__responsive-container :is(.wp-block-navigation__responsive-close, .wp-block-navigation__responsive-dialog, .wp-block-navigation__responsive-container-content, .wp-block-navigation__overlay-container) {
		display: block;
		max-width: none;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
	}
	/* The header's own menu list lives in the overlay too; core hides it only while the menu is open, so it flashed at the
	   top during the slide-out. Under 1024px only the drawer is used. */
	body .nv-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content > .wp-block-navigation__container { display: none; }
	.nv-header__nav .wp-block-navigation__responsive-container .nv-drawer {
		transform: translateX(-100%);
		transition: transform var(--wp--custom--transition--slow);
	}
	.nv-header__nav .wp-block-navigation__responsive-container.is-menu-open .nv-drawer { transform: none; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
	body .wp-block-navigation.nv-header__nav .wp-block-navigation__responsive-container { transition: none; }
}

.nv-drawer {
	position: relative;
	width: min(100%, calc(var(--wp--custom--layout--content) * 0.66));
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: var(--wp--preset--shadow--lg);
	border-right: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
}
.nv-drawer::before { /* lit top edge, as on the order summary */
	content: "";
	position: absolute;
	inset: 0 var(--wp--preset--spacing--40) auto;
	height: var(--wp--custom--border--width);
	background: var(--wp--custom--glow--edge);
	z-index: 1;
}
.nv-drawer__head { min-height: var(--wp--custom--layout--header-height); box-sizing: border-box; align-items: center; }
.nv-drawer__head .wp-block-navigation-overlay-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--wp--custom--control--height);
	min-height: var(--wp--custom--control--height);
	padding: 0;
	color: var(--wp--preset--color--contrast);
	background: transparent;
	border-radius: var(--wp--custom--radius--button);
	transition: background-color var(--wp--custom--transition--fast);
}
.nv-drawer__head .wp-block-navigation-overlay-close:hover { background: var(--wp--preset--color--accent-5); }
.nv-drawer__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--40);
	padding-block: var(--wp--preset--spacing--40);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.nv-drawer__body > * { margin: 0 !important; }
.nv-drawer__body > .nv-drawer__offer { order: 1; } /* offer right under the menu, the range card last */
.nv-drawer__body > .nv-drawer__card { order: 2; }

/* Search: one field with the search button inside it (48px, divided by a hairline), FormControls focus */
.nv-drawer .nv-header__search { margin: 0; }
.nv-drawer .nv-header__search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { position: relative; width: 100%; }
.nv-drawer .nv-header__search .wp-block-search__input {
	width: 100%;
	padding-inline: var(--wp--custom--control--padding-x) calc(var(--wp--custom--control--height) + var(--wp--preset--spacing--20));
	background: var(--wp--preset--color--accent-5);
}
.nv-drawer .nv-header__search .wp-block-search__input:hover { border-color: var(--wp--preset--color--contrast); }
.nv-drawer .nv-header__search .wp-block-search__input:focus,
.nv-drawer .nv-header__search .wp-block-search__input:focus-visible {
	outline: var(--wp--custom--border--width-strong) solid var(--wp--preset--color--focus);
	outline-offset: 0;
	border-color: var(--wp--preset--color--focus);
}
.nv-drawer .nv-header__search .wp-block-search__button {
	position: absolute;
	top: 0;
	right: 0;
	width: var(--wp--custom--control--height);
	height: 100%;
	margin: 0;
	color: var(--wp--preset--color--contrast);
	background: transparent;
	border-left: var(--wp--custom--border--width) solid var(--wp--preset--color--border-strong);
	border-radius: 0 var(--wp--custom--radius--input) var(--wp--custom--radius--input) 0;
}
.nv-drawer .nv-header__search .wp-block-search__button:hover { background: var(--wp--preset--color--accent-6); color: var(--wp--preset--color--contrast); }
.nv-drawer .nv-header__search .wp-block-search__button:focus-visible { outline-offset: calc(var(--wp--custom--border--width-strong) * -1); }

/* Nav: 56px rows, hairlines, chevron, current page in the link colour */
.nv-drawer__nav, .nv-drawer__nav .wp-block-navigation__container { width: 100%; align-items: stretch; gap: 0; }
.nv-drawer__nav .wp-block-navigation-item { width: 100%; }
.nv-drawer__nav .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	width: 100%;
	min-height: calc(var(--wp--custom--control--height) + var(--wp--preset--spacing--20));
	border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--font-weight--medium);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: color var(--wp--custom--transition--fast);
}
.nv-drawer__nav .wp-block-navigation-item__content::after {
	content: "";
	flex: none;
	width: var(--wp--custom--icon--size-sm);
	height: var(--wp--custom--icon--size-sm);
	background: var(--wp--preset--color--accent-4);
	mask: url("../icons/chevron-right.svg") center / contain no-repeat;
	transition: transform var(--wp--custom--transition--fast), background-color var(--wp--custom--transition--fast);
}
.nv-drawer__nav .wp-block-navigation-item__content:hover,
.nv-drawer__nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--wp--preset--color--link); }
.nv-drawer__nav .wp-block-navigation-item__content:hover::after { background-color: var(--wp--preset--color--link); transform: translateX(var(--wp--custom--border--width-strong)); }
.nv-drawer__nav .wp-block-navigation-item__content:focus-visible { outline-offset: calc(var(--wp--custom--border--width-strong) * -1); }
/* In the drawer, Shop is one large link; its categories live on the Shop page. */
.wp-block-navigation .nv-drawer__nav :is(.wp-block-navigation__submenu-container, .wp-block-navigation-submenu__toggle, .wp-block-navigation__submenu-icon) { display: none; }

/* Range card: scene photo with the side scrim, text in its dark left, the whole card is the link */
.nv-drawer__card.wp-block-cover {
	position: relative;
	min-height: calc(var(--wp--custom--control--height) * 4.33);
	padding: var(--wp--preset--spacing--40);
	align-items: center;
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
}
.nv-drawer__card .wp-block-cover__image-background { transition: transform var(--wp--custom--transition--slow); }
.nv-drawer__card .wp-block-cover__background { opacity: 1 !important; background: var(--wp--custom--glow--scrim-side) !important; }
.nv-drawer__card .wp-block-cover__inner-container { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--20); width: 62% !important; margin: 0 !important; }
.nv-drawer__card .wp-block-cover__inner-container > * { margin: 0; }
.nv-drawer__card-title {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: var(--wp--custom--line-height--large);
	font-weight: var(--wp--custom--font-weight--semibold);
	color: var(--wp--preset--color--contrast);
}
.nv-drawer__card-link { font-size: var(--wp--preset--font-size--small); }
.nv-drawer__card-link a::before { content: ""; position: absolute; inset: 0; z-index: 2; } /* ::after is the arrow-link arrow */
.nv-drawer__card:hover .wp-block-cover__image-background { transform: scale(1.03); }
.nv-drawer__card:has(a:focus-visible) { outline: var(--wp--custom--border--width-strong) solid var(--wp--preset--color--focus); outline-offset: 2px; }
.nv-drawer__card a:focus-visible { outline: none; }

/* Offer row: opens the newsletter modal */
.nv-drawer__offer {
	position: relative;
	gap: var(--wp--preset--spacing--30) !important;
	align-items: center;
	min-height: var(--wp--custom--control--height);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	background: var(--wp--preset--color--accent-5);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--lg);
	transition: border-color var(--wp--custom--transition--fast);
}
.nv-drawer__offer > * { margin: 0 !important; }
.nv-drawer__offer .wp-block-icon { flex: none; color: var(--wp--preset--color--link); }
.nv-drawer__offer .wp-block-icon svg { width: var(--wp--custom--icon--size-sm); height: var(--wp--custom--icon--size-sm); }
.nv-drawer__offer p { font-size: var(--wp--preset--font-size--small); font-weight: var(--wp--custom--font-weight--semibold); }
.nv-drawer__offer a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.nv-drawer__offer a::after { content: ""; position: absolute; inset: 0; }
.nv-drawer__offer:hover { border-color: var(--wp--preset--color--border-strong); }
.nv-drawer__offer:has(a:focus-visible) { outline: var(--wp--custom--border--width-strong) solid var(--wp--preset--color--focus); outline-offset: 2px; }
.nv-drawer__offer a:focus-visible { outline: none; }

/* Foot: account on the left, social on the right */
.nv-drawer__foot { align-items: center; gap: var(--wp--preset--spacing--30) !important; }
.nv-drawer__foot .wc-block-customer-account__link {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	min-height: var(--wp--custom--control--height-sm);
	color: var(--wp--preset--color--contrast);
	font-weight: var(--wp--custom--font-weight--medium);
	text-decoration: none;
}
.nv-drawer__foot .wc-block-customer-account__link:hover { color: var(--wp--preset--color--link); }
.nv-drawer__foot .wc-block-customer-account__account-icon { fill: currentColor; }
.nv-drawer .nv-drawer__social { margin: 0 !important; }

/* ---------- Mini cart drawer ---------- */
.wc-block-components-drawer__screen-overlay { background-color: var(--wp--preset--color--overlay); }
.wc-block-mini-cart__drawer.wc-block-components-drawer,
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-contents {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	width: min(100%, calc(var(--wp--custom--layout--content) * 0.66));
	box-shadow: var(--wp--preset--shadow--lg);
	z-index: var(--wp--custom--z--drawer);
}
/* Drawer head: "Your cart" + count pill + close on one row, hairline below (handoff .nv-drawer__head) */
.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	min-height: var(--wp--custom--control--height);
	margin: 0 !important;
	padding: var(--wp--preset--spacing--30) calc(var(--wp--custom--control--height) + var(--wp--preset--spacing--30)) var(--wp--preset--spacing--30) var(--wp--preset--spacing--40) !important;
	border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large) !important;
	font-weight: var(--wp--custom--font-weight--semibold);
	line-height: var(--wp--custom--line-height--large);
	letter-spacing: var(--wp--custom--letter-spacing--x-large);
}
.wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-title-items-counter-block {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--wp--custom--icon--size);
	height: var(--wp--custom--icon--size);
	padding-inline: var(--wp--preset--spacing--20);
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--on-accent);
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--font-weight--semibold);
	letter-spacing: 0;
	box-sizing: border-box;
}
.wc-block-mini-cart__drawer .wc-block-components-drawer__close {
	top: var(--wp--preset--spacing--30) !important; /* same as the title padding: both rows are control-height tall */
	right: var(--wp--preset--spacing--30) !important;
	margin: 0 !important; /* WooCommerce pulls it up with a negative margin */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--wp--custom--control--height);
	height: var(--wp--custom--control--height);
	padding: 0 !important;
	color: var(--wp--preset--color--contrast);
	background: transparent;
	border-radius: var(--wp--custom--radius--button);
}
.wc-block-mini-cart__drawer .wc-block-components-drawer__close:hover { background: var(--wp--preset--color--accent-5); }
/* The (usually empty) notices area above the title keeps a top margin: drop it until a notice shows */
.wc-block-mini-cart__drawer .wc-block-components-notices:not(:has(*)) { margin: 0 !important; }
.wc-block-mini-cart__items { padding: 0 var(--wp--preset--spacing--40); }
.wc-block-mini-cart__items .wc-block-cart-items__row { border-bottom: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6); }
.wc-block-mini-cart__items .wc-block-cart-item__image img {
	aspect-ratio: var(--wp--custom--image--ratio-product);
	object-fit: cover;
	background: var(--wp--preset--color--accent-3);
	border-radius: var(--wp--custom--radius--image);
}
.wc-block-mini-cart__items .wc-block-components-product-name { color: var(--wp--preset--color--contrast); font-weight: var(--wp--custom--font-weight--semibold); text-decoration: none; }
.wc-block-mini-cart__items .wc-block-components-product-metadata { color: var(--wp--preset--color--accent-4); font-size: var(--wp--preset--font-size--small); }
.wc-block-mini-cart__items .wc-block-components-product-metadata__description { display: none; }
.wc-block-mini-cart__items .wc-block-cart-item__remove-link { color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--small); }
.wc-block-mini-cart__items .wc-block-cart-item__remove-link:hover { color: var(--wp--preset--color--error); }
.wc-block-mini-cart__footer {
	position: relative;
	padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--surface);
	border-top: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
}
.wc-block-mini-cart__footer::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: calc(var(--wp--custom--border--width) * -1);
	height: var(--wp--custom--border--width);
	background: var(--wp--custom--glow--edge);
}
.wc-block-mini-cart__footer-subtotal { font-weight: var(--wp--custom--font-weight--semibold); }
.wc-block-mini-cart__footer .wc-block-components-totals-item__description { color: var(--wp--preset--color--accent-4); font-size: var(--wp--preset--font-size--small); }
.wc-block-mini-cart__footer-actions { gap: var(--wp--preset--spacing--20); }
.wc-block-mini-cart__footer-actions .wc-block-components-button {
	min-height: var(--wp--custom--control--height);
	border-radius: var(--wp--custom--radius--button);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semibold);
}
.wc-block-mini-cart__footer-actions .wc-block-components-button.outlined {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	box-shadow: inset 0 0 0 var(--wp--custom--border--width) var(--wp--preset--color--border-strong);
}
.wc-block-mini-cart__footer-actions .wc-block-components-button.outlined:hover { box-shadow: inset 0 0 0 var(--wp--custom--border--width) var(--wp--preset--color--contrast); }
.wc-block-mini-cart__footer-actions .wc-block-components-button.contained {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--on-accent);
}
.wc-block-mini-cart__footer-actions .wc-block-components-button.contained:hover { background: var(--wp--preset--color--accent-1-strong); }

/* Empty cart: dot-grid panel */
.wc-block-mini-cart__empty-cart-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--30);
	min-height: 100%;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
	text-align: center;
	background-image: var(--wp--custom--motif--dots);
	background-size: var(--wp--custom--motif--dots-size);
}
.wc-block-mini-cart__empty-cart-wrapper h2 { margin: 0; font-size: var(--wp--preset--font-size--large); }
.wc-block-mini-cart__empty-cart-wrapper p { margin: 0; color: var(--wp--preset--color--accent-4); }
.wc-block-mini-cart__shopping-button {
	min-height: var(--wp--custom--control--height);
	border-radius: var(--wp--custom--radius--button);
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--on-accent);
}

/* ---------- Footer ---------- */
.nv-footer :where(p, h2) { margin-block: 0; }
.nv-footer .is-style-eyebrow { margin: 0 0 var(--wp--preset--spacing--30) !important; }
.nv-footer__nav .wp-block-navigation__container { gap: 0; }
.nv-footer__nav .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: calc(var(--wp--custom--control--height-sm) - var(--wp--preset--spacing--20));
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.nv-footer__nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--link); text-decoration: underline; }
.nv-footer__bottom .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: var(--wp--custom--control--height-sm);
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--on-dark-muted);
}
/* Social icons (core Social Icons, logos only): outlined 44px touch targets, muted until hover */
:is(.nv-footer__social, .nv-drawer__social) { gap: var(--wp--preset--spacing--20) !important; margin-top: var(--wp--preset--spacing--40) !important; padding: 0; }
:is(.nv-footer__social, .nv-drawer__social) .wp-social-link { margin: 0; }
:is(.nv-footer__social, .nv-drawer__social).wp-block-social-links .wp-social-link a {
	display: grid;
	place-items: center;
	width: var(--wp--custom--control--height-sm);
	height: var(--wp--custom--control--height-sm);
	box-sizing: border-box;
	padding: 0;
	color: var(--wp--preset--color--on-dark-muted);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--button);
	transition: color var(--wp--custom--transition--fast), border-color var(--wp--custom--transition--fast);
}
/* `.wp-block-social-links` added for specificity: core's `.wp-block-social-links .wp-social-link a, … a:hover { border-bottom: 0 }` ties with ours and loads after chrome.css on the home page */
:is(.nv-footer__social, .nv-drawer__social).wp-block-social-links .wp-social-link a:hover { color: var(--wp--preset--color--contrast); border: var(--wp--custom--border--width) solid var(--wp--preset--color--border-strong); }
:is(.nv-footer__social, .nv-drawer__social).wp-block-social-links .wp-social-link a:focus-visible { outline: var(--wp--custom--border--width-strong) solid var(--wp--preset--color--focus); outline-offset: var(--wp--custom--border--width-strong); }
:is(.nv-footer__social, .nv-drawer__social) .wp-social-link svg { width: var(--wp--custom--icon--size-sm); height: var(--wp--custom--icon--size-sm); }

/* Accepted cards (Icon blocks with the Simple Icons marks): small card-shaped tiles */
.nv-footer__pay { gap: var(--wp--preset--spacing--20) !important; }
.nv-footer__pay .nv-pay {
	display: grid;
	place-items: center;
	width: var(--wp--custom--control--height);
	aspect-ratio: 3 / 2;
	margin: 0;
	background: var(--wp--preset--color--accent-5);
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--accent-6);
	border-radius: var(--wp--custom--radius--sm);
	color: var(--wp--preset--color--on-dark-muted);
	box-sizing: border-box;
}
.nv-footer__pay .nv-pay svg { width: var(--wp--custom--icon--size); height: var(--wp--custom--icon--size); }

@media (max-width: 781px) {
	.nv-footer__grid { flex-wrap: wrap !important; }
	.wp-block-columns.nv-footer__grid:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: calc(50% - var(--wp--preset--spacing--40)) !important; }
	.wp-block-columns.nv-footer__grid:not(.is-not-stacked-on-mobile) > .nv-footer__brand { flex-basis: 100% !important; }
}
