/*
 * Nauka z efektem — storefront redesign layer.
 * Loaded after the legacy Custom CSS so the child theme remains upgrade-safe.
 */

:root {
	--color-background: #fbf7f1;
	--color-surface: #fff;
	--color-surface-soft: #f7f1e8;
	--color-text: #22312c;
	--color-text-muted: #5e6b66;
	--color-primary: #aa432e;
	--color-primary-hover: #84301f;
	--color-accent: #2f7255;
	--color-border: #d9e2dd;
	--color-success: #2f7255;
	--color-mint: #eef5f1;
	--color-blush: #faece7;
	--color-blue: #eaf2f7;
	--color-lavender: #f0edf7;
	--radius-small: 8px;
	--radius-medium: 12px;
	--radius-large: 16px;
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;
	--shadow-small: 0 5px 16px rgba(34, 49, 44, .055);
	--shadow-medium: 0 12px 30px rgba(34, 49, 44, .075);
	--content-wide: 1280px;
	--content-reading: 760px;
	--nze-shop-accent: var(--color-primary);
	--nze-shop-accent-dark: var(--color-primary-hover);
	--nze-shop-cream: var(--color-background);
	--nze-shop-ink: var(--color-text);
	--nze-shop-muted: var(--color-text-muted);
	--nze-shop-sage: var(--color-mint);
	--nze-shop-sage-dark: var(--color-accent);
	--nze-shop-surface: var(--color-surface);
	--nze-shop-border: var(--color-border);
}

html {
	background: var(--color-background);
}

body.nze-shop-child {
	background: var(--color-background);
	color: var(--color-text);
	font-size: 16px;
	line-height: 1.65;
}

body.nze-shop-child,
body.nze-shop-child button,
body.nze-shop-child input,
body.nze-shop-child select,
body.nze-shop-child textarea {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.nze-shop-child h1,
body.nze-shop-child h2,
body.nze-shop-child h3,
body.nze-shop-child h4 {
	color: var(--color-text);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.18;
}

body.nze-shop-child a {
	color: var(--color-primary);
}

body.nze-shop-child a:hover,
body.nze-shop-child a:focus-visible {
	color: var(--color-primary-hover);
}

body.nze-shop-child a:focus-visible,
body.nze-shop-child button:focus-visible,
body.nze-shop-child input:focus-visible,
body.nze-shop-child select:focus-visible,
body.nze-shop-child textarea:focus-visible,
body.nze-shop-child [tabindex]:focus-visible {
	outline: 3px solid rgba(47, 114, 85, .34) !important;
	outline-offset: 3px;
}

body.nze-shop-child #content .wrap,
body.nze-shop-child .navigation-top .wrap,
body.nze-shop-child .site-branding .wrap,
body.nze-shop-child .site-footer .wrap {
	max-width: var(--content-wide);
}

body.nze-shop-child .site-content-contain {
	background: var(--color-background);
}

body.nze-shop-child .site-content {
	padding-top: var(--space-6);
}

/* Buttons and fields */
body.nze-shop-child button,
body.nze-shop-child input[type="button"],
body.nze-shop-child input[type="submit"],
body.nze-shop-child .button,
body.nze-shop-child .woocommerce a.button,
body.nze-shop-child .woocommerce button.button,
body.nze-shop-child .woocommerce input.button {
	background: var(--color-primary) !important;
	border: 1px solid var(--color-primary) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: .92rem;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
	line-height: 1.25 !important;
	min-height: 46px;
	padding: 12px 18px !important;
	text-align: center;
	text-transform: none !important;
	transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

body.nze-shop-child button:hover,
body.nze-shop-child input[type="button"]:hover,
body.nze-shop-child input[type="submit"]:hover,
body.nze-shop-child .button:hover,
body.nze-shop-child .woocommerce a.button:hover,
body.nze-shop-child .woocommerce button.button:hover,
body.nze-shop-child .woocommerce input.button:hover {
	background: var(--color-primary-hover) !important;
	border-color: var(--color-primary-hover) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

body.nze-shop-child .nze-button-secondary {
	background: var(--color-surface) !important;
	border-color: var(--color-primary) !important;
	color: var(--color-primary) !important;
}

body.nze-shop-child .nze-button-secondary:hover,
body.nze-shop-child .nze-button-secondary:focus-visible {
	background: var(--color-blush) !important;
	color: var(--color-primary-hover) !important;
}

body.nze-shop-child input[type="text"],
body.nze-shop-child input[type="email"],
body.nze-shop-child input[type="password"],
body.nze-shop-child input[type="search"],
body.nze-shop-child input[type="tel"],
body.nze-shop-child input[type="number"],
body.nze-shop-child select,
body.nze-shop-child textarea {
	background: #fff;
	border: 1px solid #aebdb5;
	border-radius: var(--radius-small);
	box-shadow: none;
	color: var(--color-text);
	font: inherit;
	min-height: 46px;
	padding: 10px 12px;
}

body.nze-shop-child input::placeholder,
body.nze-shop-child textarea::placeholder {
	color: #73807a;
	opacity: 1;
}

/* Compact header and commerce tools */
body.nze-shop-child .navigation-top {
	background: rgba(255, 255, 255, .98);
	border-color: var(--color-border);
	box-shadow: 0 5px 18px rgba(34, 49, 44, .07);
}

body.nze-shop-child .main-navigation a {
	color: var(--color-text);
	font-size: 1rem;
	font-weight: 750;
	text-transform: none;
}

body.nze-shop-child .main-navigation a:hover,
body.nze-shop-child .main-navigation a:focus,
body.nze-shop-child .main-navigation li.current-menu-item > a,
body.nze-shop-child .main-navigation li.current_page_item > a {
	color: var(--color-primary);
}

body.nze-shop-child .nze-shop-search-menu-item {
	margin-left: var(--space-3);
	vertical-align: middle;
}

.nze-product-search {
	align-items: stretch;
	display: flex;
	gap: var(--space-2);
	margin: 0;
	max-width: 100%;
}

body.nze-shop-child .nze-product-search__field {
	flex: 1 1 auto;
	margin: 0;
	min-width: 0;
	width: 100%;
}

body.nze-shop-child .nze-product-search__submit {
	flex: 0 0 auto;
	margin: 0;
	min-height: 46px;
	padding-left: 14px !important;
	padding-right: 14px !important;
}

.nze-product-search--header {
	width: 250px;
}

body.nze-shop-child .nze-product-search--header .nze-product-search__field,
body.nze-shop-child .nze-product-search--header .nze-product-search__submit {
	min-height: 40px;
}

body.nze-shop-child .nze-product-search--header .nze-product-search__field {
	font-size: .82rem;
	padding: 7px 9px;
}

body.nze-shop-child .nze-product-search--header .nze-product-search__submit {
	font-size: .78rem;
	padding: 8px 10px !important;
}

body.nze-shop-child .nze-shop-account-menu-item > a,
body.nze-shop-child .nze-shop-cart-menu-item > a {
	align-items: center;
	display: inline-flex;
	gap: 6px;
}

body.nze-shop-child .nze-shop-cart-menu-item > a {
	background: var(--color-mint);
	border: 1px solid #c7ded2;
	border-radius: 10px;
	margin: 6px 2px;
	padding: 9px 12px;
}

.nze-shop-cart-count {
	align-items: center;
	background: var(--color-primary);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: .72rem;
	font-weight: 850;
	height: 22px;
	justify-content: center;
	min-width: 22px;
	padding: 0 6px;
}

body.nze-shop-child .main-navigation .menu-item-nze-teacher-planner > a {
	background: var(--color-primary);
	border-radius: 10px;
	color: #fff;
	margin: 6px 2px;
	padding: 10px 14px;
}

body.nze-shop-child .main-navigation .menu-item-nze-teacher-planner > a:hover,
body.nze-shop-child .main-navigation .menu-item-nze-teacher-planner > a:focus-visible {
	background: var(--color-primary-hover);
	color: #fff;
}

@media (min-width: 761px) {
	body.nze-shop-child #top-menu > .nze-shop-header-social {
		display: none !important;
	}

	body.home.nze-shop-child .custom-header,
	body.home.nze-shop-child .custom-header-media,
	body.home.nze-shop-child .site-branding {
		height: clamp(300px, 31vw, 430px) !important;
		min-height: 300px !important;
	}

	body.home.nze-shop-child .custom-header-media img {
		height: 100% !important;
		object-fit: cover;
		object-position: center 48%;
		width: 100%;
	}
}

/* Homepage purchase journey */
body.home.nze-shop-child .site-content {
	padding-top: 0;
}

body.home.nze-shop-child #content .wrap,
body.home.nze-shop-child .panel-content .wrap,
body.home.nze-shop-child #primary,
body.home.nze-shop-child #primary .entry-content {
	float: none !important;
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

body.home.nze-shop-child #primary .entry-header {
	display: none;
}

body.home.nze-shop-child #main > article.twentyseventeen-panel:not(#post-8) {
	display: none !important;
}

.nze-home {
	background: var(--color-background);
	color: var(--color-text);
}

.nze-home__inner {
	margin: 0 auto;
	max-width: var(--content-wide);
	padding-left: var(--space-5);
	padding-right: var(--space-5);
}

.nze-home-hero {
	background: linear-gradient(125deg, var(--color-mint), var(--color-background) 52%, var(--color-blush));
	border-bottom: 1px solid var(--color-border);
	padding: clamp(48px, 7vw, 88px) 0;
}

.nze-home-hero__grid {
	align-items: center;
	display: grid;
	gap: clamp(32px, 5vw, 72px);
	grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
}

.nze-home-eyebrow {
	color: var(--color-accent);
	font-size: .76rem;
	font-weight: 850;
	letter-spacing: .11em;
	margin: 0 0 var(--space-3);
	text-transform: uppercase;
}

.nze-home-hero h1 {
	font-size: clamp(2.35rem, 5vw, 4.35rem);
	letter-spacing: -.045em;
	margin: 0;
	max-width: 760px;
}

.nze-home-hero__copy > p:not(.nze-home-eyebrow) {
	color: var(--color-text-muted);
	font-size: clamp(1.03rem, 1.6vw, 1.22rem);
	margin: var(--space-5) 0;
	max-width: 650px;
}

.nze-home-hero__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-4);
}

.nze-home-hero__actions .button {
	font-size: 1rem;
	min-height: 52px;
	padding: 15px 22px !important;
}

.nze-text-link {
	font-weight: 800;
	text-underline-offset: 4px;
}

.nze-home-search-card {
	background: rgba(255, 255, 255, .93);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
	box-shadow: var(--shadow-medium);
	padding: clamp(24px, 4vw, 36px);
}

.nze-home-search-card h2 {
	font-size: clamp(1.45rem, 3vw, 2rem);
	margin: 0 0 var(--space-2);
}

.nze-home-search-card > p {
	color: var(--color-text-muted);
	margin: 0 0 var(--space-5);
}

.nze-product-search--home .nze-product-search__field {
	min-height: 52px;
}

.nze-product-search--home .nze-product-search__submit {
	min-height: 52px;
}

.nze-home-trust-list,
.nze-product-reassurance {
	display: grid;
	gap: var(--space-2);
	list-style: none;
	margin: var(--space-5) 0 0;
	padding: 0;
}

.nze-home-trust-list li,
.nze-product-reassurance li {
	color: var(--color-text-muted);
	font-size: .88rem;
	font-weight: 700;
	padding-left: 24px;
	position: relative;
}

.nze-home-trust-list li::before,
.nze-product-reassurance li::before {
	color: var(--color-success);
	content: "\2713";
	font-weight: 900;
	left: 0;
	position: absolute;
	top: 0;
}

.nze-home-section {
	padding: clamp(48px, 7vw, 80px) 0;
}

.nze-home-section:nth-of-type(even) {
	background: rgba(255, 255, 255, .6);
}

.nze-home-section h2 {
	font-size: clamp(1.75rem, 3.5vw, 2.65rem);
	margin: 0 0 var(--space-6);
}

.nze-home-categories {
	display: grid;
	gap: var(--space-4);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nze-home-category {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-medium);
	box-shadow: var(--shadow-small);
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
	min-height: 112px;
	padding: var(--space-5);
	text-decoration: none;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.nze-home-category:nth-child(3n + 1) {
	background: var(--color-mint);
}

.nze-home-category:nth-child(3n + 2) {
	background: var(--color-blue);
}

.nze-home-category:nth-child(3n) {
	background: var(--color-lavender);
}

.nze-home-category:hover,
.nze-home-category:focus-visible {
	border-color: #aac7b8;
	box-shadow: var(--shadow-medium);
	transform: translateY(-2px);
}

.nze-home-category strong {
	color: var(--color-text);
	font-size: 1.08rem;
}

.nze-home-category span {
	color: var(--color-text-muted);
	font-size: .86rem;
}

.nze-home-needs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.nze-home-needs a,
.nze-category-chips a {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 10px;
	color: var(--color-text);
	font-weight: 750;
	min-height: 44px;
	padding: 10px 16px;
	text-decoration: none;
}

.nze-home-needs a:hover,
.nze-home-needs a:focus-visible,
.nze-category-chips a:hover,
.nze-category-chips a:focus-visible {
	background: var(--color-mint);
	border-color: #aac7b8;
	color: var(--color-text);
}

.nze-home-section__footer {
	margin: var(--space-6) 0 0;
	text-align: center;
}

.nze-home-section--testimonials {
	background: var(--color-mint) !important;
	border-bottom: 1px solid var(--color-border);
	border-top: 1px solid var(--color-border);
}

.nze-home-testimonials {
	display: grid;
	gap: var(--space-5);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nze-home-testimonial {
	background: #fff;
	border: 1px solid var(--color-border);
	border-left: 4px solid var(--color-accent);
	border-radius: var(--radius-medium);
	box-shadow: var(--shadow-small);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 0;
	min-height: 190px;
	padding: var(--space-5);
}

.nze-home-testimonial > p {
	color: var(--color-text);
	font-size: 1rem;
	line-height: 1.65;
	margin: 0 0 var(--space-5);
}

.nze-home-testimonial footer {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	justify-content: space-between;
}

.nze-home-testimonial footer strong {
	font-size: .85rem;
}

.nze-home-testimonial footer a {
	font-size: .8rem;
	font-weight: 800;
	text-underline-offset: 3px;
}

.nze-post-home-link {
	margin: 0 0 var(--space-5);
}

.nze-post-home-link a {
	align-items: center;
	background: var(--color-mint);
	border: 1px solid #b9cfc4;
	border-radius: 9px;
	color: var(--color-text) !important;
	display: inline-flex;
	font-size: .86rem;
	font-weight: 800;
	gap: var(--space-2);
	min-height: 42px;
	padding: 9px 14px;
	text-decoration: none;
}

.nze-post-home-link a:hover,
.nze-post-home-link a:focus-visible {
	background: #e2efe8;
	border-color: var(--color-accent);
}

/* Catalogue discovery and full-width archives */
body.nze-shop-child.woocommerce-page #content .wrap {
	max-width: var(--content-wide) !important;
}

body.nze-shop-child.woocommerce-page #primary,
body.nze-shop-child.woocommerce-page.has-sidebar #primary,
body.nze-shop-child.woocommerce-page #primary.content-area,
body.nze-shop-child.woocommerce-page .content-area {
	float: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: none !important;
	width: 100% !important;
}

body.nze-shop-child.woocommerce-page #secondary,
body.nze-shop-child.woocommerce-page .widget-area {
	display: none !important;
}

body.nze-shop-child .woocommerce-products-header__title,
body.nze-shop-child .page-title {
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	text-transform: none !important;
}

.nze-catalogue-discovery {
	background: linear-gradient(125deg, var(--color-mint), #fff);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
	display: grid;
	gap: var(--space-5);
	grid-template-columns: minmax(230px, .75fr) minmax(320px, 1.25fr);
	margin: 0 0 var(--space-6);
	padding: clamp(20px, 4vw, 32px);
}

.nze-catalogue-discovery h2 {
	font-size: clamp(1.35rem, 2.6vw, 1.9rem);
	margin: 0 0 var(--space-2);
	text-transform: none !important;
}

.nze-catalogue-discovery p {
	color: var(--color-text-muted);
	margin: 0;
}

.nze-product-search--catalogue {
	align-self: center;
}

.nze-category-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	grid-column: 1 / -1;
}

body.nze-shop-child .woocommerce .woocommerce-result-count {
	color: var(--color-text-muted);
	font-size: .9rem;
	margin: 8px 0 18px;
}

body.nze-shop-child .woocommerce .woocommerce-ordering {
	margin: 0 0 var(--space-5);
}

body.nze-shop-child .woocommerce .woocommerce-ordering select {
	background-color: #fff;
	width: min(100%, 340px);
}

/* Product grids and cards */
body.nze-shop-child .woocommerce ul.products,
body.nze-shop-child .woocommerce-page ul.products,
body.nze-shop-child ul.products {
	display: grid !important;
	gap: var(--space-5) !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	margin: var(--space-5) 0 var(--space-6) !important;
}

body.nze-shop-child .woocommerce ul.products::before,
body.nze-shop-child .woocommerce ul.products::after,
body.nze-shop-child .woocommerce-page ul.products::before,
body.nze-shop-child .woocommerce-page ul.products::after {
	display: none !important;
}

body.nze-shop-child .woocommerce ul.products li.product,
body.nze-shop-child .woocommerce-page ul.products li.product,
body.nze-shop-child ul.products li.product {
	background: var(--color-surface) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius-large) !important;
	box-shadow: var(--shadow-small) !important;
	display: flex !important;
	flex-direction: column !important;
	float: none !important;
	margin: 0 !important;
	overflow: hidden;
	padding: var(--space-3) !important;
	position: relative;
	width: auto !important;
}

body.nze-shop-child .woocommerce ul.products li.product:hover,
body.nze-shop-child .woocommerce-page ul.products li.product:hover {
	border-color: #bfd0c7 !important;
	box-shadow: var(--shadow-medium) !important;
}

body.nze-shop-child .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
body.nze-shop-child .woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	text-decoration: none;
}

body.nze-shop-child .woocommerce ul.products li.product a img,
body.nze-shop-child .woocommerce-page ul.products li.product a img {
	aspect-ratio: 1 / 1;
	background: var(--color-surface-soft);
	border-radius: 10px;
	height: auto !important;
	margin: 0 0 var(--space-3) !important;
	object-fit: contain;
	width: 100% !important;
}

body.nze-shop-child .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.nze-shop-child .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	color: var(--color-text) !important;
	font-size: 1rem !important;
	font-weight: 800 !important;
	letter-spacing: -.01em !important;
	line-height: 1.35 !important;
	margin: 0 !important;
	min-height: 2.7em;
	padding: 0 2px 8px !important;
	text-transform: none !important;
}

.nze-product-card__excerpt {
	color: var(--color-text-muted);
	font-size: .82rem;
	line-height: 1.45;
	margin: 0;
	min-height: 3.6em;
	padding: 0 2px var(--space-3);
}

body.nze-shop-child .woocommerce ul.products li.product .price,
body.nze-shop-child .woocommerce-page ul.products li.product .price {
	color: var(--color-primary) !important;
	font-size: 1.08rem !important;
	font-weight: 850 !important;
	margin: auto 0 0 !important;
	padding: var(--space-2) 2px var(--space-3) !important;
}

body.nze-shop-child .woocommerce ul.products li.product .button,
body.nze-shop-child .woocommerce-page ul.products li.product .button {
	display: flex !important;
	justify-content: center;
	margin: 0 !important;
	width: 100% !important;
}

.nze-product-badge,
body.nze-shop-child .woocommerce span.onsale {
	align-items: center;
	background: var(--color-accent) !important;
	border-radius: var(--radius-small) !important;
	color: #fff;
	display: inline-flex;
	font-size: .7rem !important;
	font-weight: 850;
	justify-content: center;
	left: 22px !important;
	letter-spacing: .045em;
	line-height: 1 !important;
	min-height: 28px !important;
	min-width: 0 !important;
	padding: 8px 10px !important;
	position: absolute;
	text-transform: uppercase;
	top: 22px !important;
	z-index: 4;
}

body.nze-shop-child .woocommerce span.onsale {
	background: var(--color-primary) !important;
}

/* Product detail */
body.single-product.nze-shop-child #primary {
	max-width: 1180px !important;
}

body.nze-shop-child .single-product div.product,
body.single-product.nze-shop-child div.product {
	background: #fff !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius-large) !important;
	box-shadow: var(--shadow-medium) !important;
	overflow: visible !important;
	padding: clamp(18px, 3vw, 36px) !important;
}

body.single-product.nze-shop-child div.product div.images {
	width: 48% !important;
}

body.single-product.nze-shop-child div.product div.summary {
	background: var(--color-mint);
	border: 1px solid #d4e5dc;
	border-radius: var(--radius-large);
	padding: clamp(20px, 3vw, 32px);
	width: 47% !important;
}

body.single-product.nze-shop-child div.product .product_title {
	font-size: clamp(1.75rem, 3.5vw, 2.65rem) !important;
	margin-bottom: var(--space-4);
	text-transform: none !important;
}

body.single-product.nze-shop-child div.product p.price,
body.single-product.nze-shop-child div.product span.price {
	color: var(--color-primary) !important;
	font-size: clamp(1.45rem, 3vw, 2rem) !important;
	font-weight: 850 !important;
	margin-bottom: var(--space-4);
}

body.single-product.nze-shop-child .woocommerce-product-details__short-description {
	color: var(--color-text);
	font-size: 1rem;
}

body.single-product.nze-shop-child div.product form.cart {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-medium);
	margin: var(--space-5) 0 var(--space-4);
	padding: var(--space-3);
}

body.single-product.nze-shop-child div.product form.cart .single_add_to_cart_button {
	font-size: 1rem;
	min-height: 54px;
}

body.single-product.nze-shop-child .nze-product-reassurance {
	border-top: 1px solid #c8ded2;
	margin-top: var(--space-4);
	padding-top: var(--space-4);
}

body.single-product.nze-shop-child .product_meta {
	background: rgba(255, 255, 255, .65);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-small);
	font-size: .84rem;
	margin-top: var(--space-5);
	padding: var(--space-3);
}

body.single-product.nze-shop-child .woocommerce-product-gallery__image img,
body.single-product.nze-shop-child .flex-control-thumbs img {
	border-radius: var(--radius-medium);
}

body.single-product.nze-shop-child div.product .woocommerce-tabs {
	clear: both;
	padding-top: var(--space-7);
}

body.single-product.nze-shop-child div.product .woocommerce-tabs .panel {
	color: var(--color-text);
	font-size: 1rem;
	line-height: 1.75;
	max-width: 900px;
}

body.single-product.nze-shop-child .upsells.products {
	clear: both;
	padding-top: var(--space-7);
}

body.single-product.nze-shop-child .upsells.products > h2 {
	font-size: clamp(1.55rem, 3vw, 2.2rem);
	text-transform: none !important;
}

/* WooCommerce notices and AJAX cart confirmation */
body.nze-shop-child .woocommerce-message,
body.nze-shop-child .woocommerce-info,
body.nze-shop-child .woocommerce-error {
	background: #fff !important;
	border: 1px solid var(--color-border) !important;
	border-left: 4px solid var(--color-success) !important;
	border-radius: var(--radius-medium) !important;
	box-shadow: var(--shadow-small) !important;
	color: var(--color-text) !important;
	padding: 16px 18px 16px 48px !important;
}

body.nze-shop-child .woocommerce-error {
	border-left-color: var(--color-primary) !important;
}

.nze-cart-confirmation {
	align-items: flex-end;
	display: flex;
	inset: 0;
	justify-content: flex-end;
	pointer-events: none;
	position: fixed;
	z-index: 99999;
}

.nze-cart-confirmation__panel {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
	box-shadow: 0 20px 55px rgba(34, 49, 44, .22);
	margin: var(--space-5);
	max-width: 390px;
	opacity: 0;
	padding: var(--space-5);
	pointer-events: auto;
	position: relative;
	transform: translateY(24px);
	transition: opacity .18s ease, transform .18s ease;
	visibility: hidden;
	width: calc(100% - 48px);
}

.nze-cart-confirmation.is-visible .nze-cart-confirmation__panel {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.nze-cart-confirmation__panel strong {
	color: var(--color-success);
	display: block;
	font-size: 1.15rem;
}

.nze-cart-confirmation__panel p {
	color: var(--color-text-muted);
	margin: 4px 0 16px;
}

body.nze-shop-child .nze-cart-confirmation__close,
body.nze-shop-child .nze-cart-confirmation__continue {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--color-text) !important;
	min-height: 44px;
	padding: 8px !important;
}

body.nze-shop-child .nze-cart-confirmation__close {
	font-size: 1.4rem;
	position: absolute;
	right: 8px;
	top: 5px;
}

.nze-cart-confirmation__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

body.nze-shop-child .nze-cart-confirmation__actions .button {
	flex: 1 1 180px;
}

body.nze-shop-child .nze-cart-confirmation__continue {
	flex: 0 0 auto;
	font-weight: 750 !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Cart */
body.woocommerce-cart.nze-shop-child #primary {
	max-width: 1180px !important;
}

body.woocommerce-cart.nze-shop-child #primary article {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
	box-shadow: var(--shadow-medium);
	padding: clamp(18px, 3vw, 34px);
}

body.woocommerce-cart.nze-shop-child table.shop_table {
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius-medium) !important;
	border-spacing: 0;
	overflow: hidden;
}

body.woocommerce-cart.nze-shop-child table.shop_table th {
	background: var(--color-mint);
	font-weight: 800;
}

body.woocommerce-cart.nze-shop-child .coupon {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
}

body.woocommerce-cart.nze-shop-child .coupon input {
	flex: 1 1 180px;
	width: auto !important;
}

body.woocommerce-cart.nze-shop-child .cart-collaterals {
	align-items: start;
	display: grid;
	gap: var(--space-6);
	grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
	margin-top: var(--space-6);
}

body.woocommerce-cart.nze-shop-child .cart-collaterals .cross-sells {
	float: none !important;
	grid-column: 1;
	margin: 0 !important;
	order: 2;
	width: 100% !important;
}

body.woocommerce-cart.nze-shop-child .cart-collaterals .cart_totals {
	background: var(--color-blush);
	border: 1px solid #ead4cb;
	border-radius: var(--radius-large);
	float: none !important;
	grid-column: 2;
	grid-row: 1;
	order: 1;
	padding: var(--space-5);
	position: sticky;
	top: 96px;
	width: 100% !important;
}

body.woocommerce-cart.nze-shop-child .cart-collaterals .cart_totals h2,
body.woocommerce-cart.nze-shop-child .cross-sells > h2 {
	font-size: 1.45rem;
	text-transform: none !important;
}

body.woocommerce-cart.nze-shop-child .cross-sells ul.products {
	gap: var(--space-4) !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.woocommerce-cart.nze-shop-child .wc-proceed-to-checkout .checkout-button {
	font-size: 1rem !important;
	min-height: 54px;
	width: 100%;
}

body.woocommerce-cart.nze-shop-child .woocommerce-message .button {
	display: none !important;
}

/* Checkout */
body.woocommerce-checkout.nze-shop-child #masthead,
body.woocommerce-checkout.nze-shop-child .navigation-top {
	display: none !important;
}

body.woocommerce-checkout.nze-shop-child .custom-header,
body.woocommerce-checkout.nze-shop-child .site-branding {
	background: #fff;
	height: 104px !important;
	min-height: 104px !important;
}

body.woocommerce-checkout.nze-shop-child .custom-header-media {
	display: none !important;
}

body.woocommerce-checkout.nze-shop-child .site-branding {
	padding: 18px 0 !important;
	position: relative !important;
}

body.woocommerce-checkout.nze-shop-child .site-title,
body.woocommerce-checkout.nze-shop-child .site-title a {
	color: var(--color-text) !important;
	font-size: 1.35rem;
	font-weight: 850;
	letter-spacing: -.02em;
	text-shadow: none;
}

body.woocommerce-checkout.nze-shop-child .site-description {
	color: var(--color-text-muted) !important;
	font-size: .82rem;
	text-shadow: none;
}

body.woocommerce-checkout.nze-shop-child .site-content {
	padding-top: var(--space-5);
}

body.woocommerce-checkout.nze-shop-child #primary {
	max-width: 1180px !important;
}

body.woocommerce-checkout.nze-shop-child #primary article {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
	box-shadow: var(--shadow-medium);
	padding: clamp(18px, 3vw, 34px);
}

.nze-checkout-intro {
	align-items: center;
	background: var(--color-mint);
	border: 1px solid #d4e5dc;
	border-radius: var(--radius-medium);
	display: flex;
	gap: var(--space-4);
	justify-content: space-between;
	margin: 0 0 var(--space-5);
	padding: var(--space-4) var(--space-5);
}

.nze-checkout-intro strong,
.nze-checkout-intro span {
	display: block;
}

.nze-checkout-intro strong {
	color: var(--color-text);
	font-size: 1.05rem;
}

.nze-checkout-intro span {
	color: var(--color-text-muted);
	font-size: .84rem;
}

.nze-checkout-intro a {
	font-size: .86rem;
	font-weight: 750;
	white-space: nowrap;
}

body.woocommerce-checkout.nze-shop-child form.checkout {
	align-items: start;
	display: grid;
	gap: var(--space-5) var(--space-6);
	grid-template-areas: "details summary";
	grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
}

body.woocommerce-checkout.nze-shop-child #customer_details {
	grid-area: details;
}

body.woocommerce-checkout.nze-shop-child #customer_details .col-1,
body.woocommerce-checkout.nze-shop-child #customer_details .col-2 {
	float: none !important;
	width: 100% !important;
}

body.woocommerce-checkout.nze-shop-child #customer_details .col-2 {
	background: var(--color-mint);
	border: 1px solid #d4e5dc;
	border-radius: var(--radius-medium);
	margin-top: var(--space-5);
	padding: var(--space-5);
}

body.woocommerce-checkout.nze-shop-child #order_review_heading {
	grid-area: summary;
	align-self: start;
	margin: 0;
	padding: 0;
}

body.woocommerce-checkout.nze-shop-child #order_review {
	background: var(--color-blush);
	border: 1px solid #ead4cb;
	border-radius: var(--radius-large);
	align-self: start;
	grid-area: summary;
	margin-top: 54px;
	padding: var(--space-5);
	position: sticky;
	top: 32px;
}

body.woocommerce-checkout.nze-shop-child #billing_vat_number_field {
	clear: both !important;
}

body.woocommerce-checkout.nze-shop-child .form-row {
	margin: 0 0 var(--space-4) !important;
	padding: 0 !important;
}

body.woocommerce-checkout.nze-shop-child .form-row label {
	color: var(--color-text);
	display: block;
	font-size: .9rem;
	font-weight: 750;
	line-height: 1.45;
	margin-bottom: 6px;
	width: auto;
}

body.woocommerce-checkout.nze-shop-child .form-row input.input-text,
body.woocommerce-checkout.nze-shop-child .form-row textarea,
body.woocommerce-checkout.nze-shop-child .form-row select,
body.woocommerce-checkout.nze-shop-child .select2-container {
	max-width: 100%;
	min-height: 48px;
	width: 100% !important;
}

body.woocommerce-checkout.nze-shop-child .woocommerce-additional-fields label,
body.woocommerce-checkout.nze-shop-child .woocommerce-terms-and-conditions-wrapper label {
	font-size: .86rem;
	font-weight: 650;
	line-height: 1.55;
}

body.woocommerce-checkout.nze-shop-child .woocommerce-checkout-review-order-table {
	background: #fff;
	border: 0 !important;
}

body.woocommerce-checkout.nze-shop-child #payment {
	background: #fff !important;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-medium) !important;
}

body.woocommerce-checkout.nze-shop-child #place_order {
	float: none !important;
	font-size: 1rem;
	min-height: 56px;
	width: 100% !important;
}

body.woocommerce-checkout.nze-shop-child .woocommerce-privacy-policy-text {
	color: var(--color-text-muted);
	font-size: .8rem;
	line-height: 1.55;
}

/* Account and footer */
body.woocommerce-account.nze-shop-child .woocommerce-MyAccount-navigation a {
	color: var(--color-text);
	font-weight: 700;
}

body.woocommerce-account.nze-shop-child .woocommerce-MyAccount-navigation .is-active a {
	background: var(--color-text);
	color: #fff;
}

body.nze-shop-child .site-footer {
	background: #f1ebe3;
	border-color: var(--color-border);
}

@media (max-width: 1180px) {
	body.nze-shop-child #content .wrap {
		padding-left: var(--space-5);
		padding-right: var(--space-5);
	}

	.nze-product-search--header {
		width: 205px;
	}

	body.nze-shop-child .main-navigation a {
		font-size: .9rem;
		padding-left: 9px;
		padding-right: 9px;
	}

	body.nze-shop-child .woocommerce ul.products,
	body.nze-shop-child .woocommerce-page ul.products,
	body.nze-shop-child ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	body.single-product.nze-shop-child .upsells.products ul.products,
	body.home.nze-shop-child ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 960px) {
	.nze-shop-search-menu-item {
		display: none !important;
	}

	.nze-home-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr);
	}

	.nze-home-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nze-home-testimonials {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.nze-shop-child .woocommerce ul.products,
	body.nze-shop-child .woocommerce-page ul.products,
	body.nze-shop-child ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	body.single-product.nze-shop-child .upsells.products ul.products,
	body.home.nze-shop-child ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.woocommerce-checkout.nze-shop-child form.checkout {
		grid-template-areas:
			"details"
			"heading"
			"review";
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-checkout.nze-shop-child #order_review {
		grid-area: review;
		margin-top: 0;
		position: static;
	}

	body.woocommerce-checkout.nze-shop-child #order_review_heading {
		grid-area: heading;
	}
}

@media (max-width: 760px) {
	body.nze-shop-child {
		font-size: 15px;
	}

	body.nze-shop-child #content .wrap,
	.nze-home__inner {
		padding-left: var(--space-4);
		padding-right: var(--space-4);
	}

	body.nze-shop-child .custom-header,
	body.nze-shop-child .custom-header-media,
	body.nze-shop-child .site-branding {
		height: 104px !important;
		min-height: 104px !important;
	}

	body.nze-shop-child .menu-toggle {
		background: #fff !important;
		color: var(--color-text) !important;
		min-height: 52px;
	}

	body.nze-shop-child .main-navigation.toggled-on > div > ul {
		background: #fff;
		border-top: 1px solid var(--color-border);
		padding: var(--space-2) var(--space-3) var(--space-4);
	}

	body.nze-shop-child .main-navigation.toggled-on li a {
		min-height: 46px;
	}

	body.nze-shop-child .main-navigation.toggled-on .nze-shop-search-menu-item {
		display: block !important;
		margin: var(--space-2) 0;
	}

	.nze-product-search--header {
		width: 100%;
	}

	body.nze-shop-child .nze-shop-cart-menu-item > a,
	body.nze-shop-child .main-navigation .menu-item-nze-teacher-planner > a {
		justify-content: center;
		margin: var(--space-2) 0;
	}

	.nze-home-hero {
		padding: var(--space-7) 0;
	}

	.nze-home-hero__grid {
		gap: var(--space-6);
		grid-template-columns: minmax(0, 1fr);
	}

	.nze-home-hero h1 {
		font-size: clamp(2rem, 10vw, 3rem);
	}

	.nze-home-hero__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.nze-home-hero__actions .button,
	.nze-home-hero__actions .nze-text-link {
		text-align: center;
		width: 100%;
	}

	.nze-home-search-card {
		padding: var(--space-5);
	}

	.nze-product-search--home,
	.nze-product-search--catalogue {
		align-items: stretch;
		flex-direction: column;
	}

	.nze-home-section {
		padding: var(--space-7) 0;
	}

	.nze-home-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nze-home-testimonials {
		grid-template-columns: 1fr;
	}

	.nze-home-testimonial {
		min-height: 0;
		padding: var(--space-4);
	}

	.nze-home-category {
		min-height: 104px;
		padding: var(--space-4);
	}

	.nze-catalogue-discovery {
		gap: var(--space-4);
		grid-template-columns: minmax(0, 1fr);
		padding: var(--space-5);
	}

	.nze-category-chips {
		grid-column: 1;
		overflow-x: auto;
		padding-bottom: 4px;
		flex-wrap: nowrap;
	}

	.nze-category-chips a {
		flex: 0 0 auto;
	}

	body.nze-shop-child .woocommerce ul.products,
	body.nze-shop-child .woocommerce-page ul.products,
	body.nze-shop-child ul.products,
	body.home.nze-shop-child ul.products,
	body.single-product.nze-shop-child .upsells.products ul.products {
		gap: var(--space-4) !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.single-product.nze-shop-child div.product div.images,
	body.single-product.nze-shop-child div.product div.summary {
		float: none !important;
		width: 100% !important;
	}

	body.single-product.nze-shop-child div.product div.summary {
		margin-top: var(--space-5);
	}

	body.single-product.nze-shop-child div.product form.cart,
	body.single-product.nze-shop-child div.product form.cart .button,
	body.single-product.nze-shop-child div.product form.cart .quantity {
		width: 100%;
	}

	body.single-product.nze-shop-child div.product.product-type-simple form.cart {
		align-items: stretch;
		display: grid;
		gap: var(--space-2);
		grid-template-columns: minmax(72px, 90px) minmax(0, 1fr);
	}

	body.single-product.nze-shop-child div.product.product-type-simple form.cart::before,
	body.single-product.nze-shop-child div.product.product-type-simple form.cart::after {
		display: none !important;
	}

	body.single-product.nze-shop-child div.product.product-type-simple form.cart .quantity,
	body.single-product.nze-shop-child div.product.product-type-simple form.cart .single_add_to_cart_button {
		float: none;
		margin: 0 !important;
		width: 100% !important;
	}

	body.woocommerce-cart.nze-shop-child #primary article,
	body.woocommerce-checkout.nze-shop-child #primary article {
		padding: var(--space-4);
	}

	body.woocommerce-cart.nze-shop-child .cart-collaterals {
		display: flex;
		flex-direction: column;
	}

	body.woocommerce-cart.nze-shop-child .coupon {
		align-items: stretch;
		flex-direction: column;
	}

	body.woocommerce-cart.nze-shop-child .coupon input,
	body.woocommerce-cart.nze-shop-child .coupon button {
		width: 100% !important;
	}

	body.woocommerce-cart.nze-shop-child .cart-collaterals .cart_totals {
		order: -1;
		position: static;
	}

	body.woocommerce-cart.nze-shop-child .cart-collaterals .cross-sells ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.woocommerce-checkout.nze-shop-child #customer_details .col-2,
	body.woocommerce-checkout.nze-shop-child #order_review {
		padding: var(--space-4);
	}

	.nze-checkout-intro {
		align-items: flex-start;
		flex-direction: column;
		padding: var(--space-4);
	}

	body.woocommerce-checkout.nze-shop-child .form-row-first,
	body.woocommerce-checkout.nze-shop-child .form-row-last,
	body.woocommerce-checkout.nze-shop-child #billing_first_name_field,
	body.woocommerce-checkout.nze-shop-child #billing_last_name_field {
		clear: both !important;
		float: none !important;
		width: 100% !important;
	}

	.nze-cart-confirmation__panel {
		margin: var(--space-4);
		width: calc(100% - 32px);
	}
}

@media (max-width: 520px) {
	body.nze-shop-child .woocommerce ul.products,
	body.nze-shop-child .woocommerce-page ul.products,
	body.nze-shop-child ul.products,
	body.single-product.nze-shop-child .upsells.products ul.products {
		grid-template-columns: 1fr !important;
	}

	body.home.nze-shop-child ul.products,
	body.woocommerce-cart.nze-shop-child .cart-collaterals .cross-sells ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.home.nze-shop-child .woocommerce ul.products li.product .woocommerce-loop-product__title,
	body.woocommerce-cart.nze-shop-child .cross-sells .woocommerce-loop-product__title {
		font-size: .86rem !important;
	}

	body.home.nze-shop-child .nze-product-card__excerpt,
	body.woocommerce-cart.nze-shop-child .cross-sells .nze-product-card__excerpt {
		display: none;
	}

	body.home.nze-shop-child .woocommerce ul.products li.product .button,
	body.woocommerce-cart.nze-shop-child .cross-sells li.product .button {
		font-size: .76rem;
		padding-left: 7px !important;
		padding-right: 7px !important;
	}

	.nze-home-categories {
		grid-template-columns: 1fr;
	}

	.nze-product-search {
		flex-direction: column;
	}

	.nze-cart-confirmation__actions {
		align-items: stretch;
		flex-direction: column;
	}

	body.nze-shop-child .nze-cart-confirmation__actions .button,
	body.nze-shop-child .nze-cart-confirmation__continue {
		flex: 0 0 auto;
		width: 100%;
	}
}

@media (max-width: 340px) {
	body.home.nze-shop-child ul.products,
	body.woocommerce-cart.nze-shop-child .cart-collaterals .cross-sells ul.products {
		grid-template-columns: 1fr !important;
	}
}

/* Visual refinement: calm header, flat homepage sections and cleaner commerce cards. */
body.home.nze-shop-child .custom-header,
body.home.nze-shop-child .custom-header-media {
	height: clamp(250px, 28vw, 370px) !important;
	min-height: 250px !important;
}

body.home.nze-shop-child .custom-header-media {
	inset: auto !important;
	overflow: hidden;
	position: relative !important;
}

body.home.nze-shop-child .site-branding {
	display: none !important;
}

body.home.nze-shop-child .custom-header-media::before {
	display: none !important;
}

body.home.nze-shop-child .custom-header-media #wp-custom-header,
body.home.nze-shop-child .custom-header-media #wp-custom-header img {
	height: 100% !important;
	width: 100% !important;
}

body.home.nze-shop-child .custom-header-media #wp-custom-header {
	inset: 0;
	position: absolute;
}

body.home.nze-shop-child .custom-header-media #wp-custom-header img {
	inset: 0;
	object-fit: cover;
	object-position: center;
	position: absolute !important;
	transform: none !important;
}

.nze-front-header-copy {
	color: #552518;
	display: flex;
	flex-direction: column;
	inset: 0;
	justify-content: center;
	margin: 0 auto;
	max-width: var(--content-wide);
	pointer-events: none;
	padding: 0 clamp(24px, 5vw, 72px);
	position: absolute;
	z-index: 2;
}

.nze-front-header-copy strong {
	font-size: clamp(2rem, 4vw, 3.8rem);
	font-weight: 850;
	letter-spacing: -.04em;
	line-height: 1;
	max-width: 640px;
}

.nze-front-header-copy span {
	color: #315f50;
	font-size: clamp(.95rem, 1.5vw, 1.3rem);
	font-weight: 750;
	margin-top: var(--space-3);
}

body.home.nze-shop-child .site-content-contain,
body.home.nze-shop-child .site-content,
body.home.nze-shop-child .panel-content,
body.home.nze-shop-child #main > article,
body.home.nze-shop-child #primary .entry-content,
body.home.nze-shop-child .nze-home,
body.home.nze-shop-child .nze-home-hero,
body.home.nze-shop-child .nze-home-section {
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.home.nze-shop-child .nze-home-hero {
	background: #f3f6f2;
	padding: clamp(36px, 4.5vw, 58px) 0;
}

body.home.nze-shop-child .nze-home-hero__grid {
	gap: clamp(26px, 3.7vw, 52px);
}

body.home.nze-shop-child .nze-home-hero h1 {
	font-size: clamp(2.2rem, 4.35vw, 3.8rem);
}

body.home.nze-shop-child .nze-home-search-card {
	padding: clamp(22px, 3vw, 30px);
}

body.nze-shop-child .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
body.nze-shop-child .woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
	box-shadow: none !important;
	gap: 0;
}

body.nze-shop-child .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.nze-shop-child .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
body.nze-shop-child .woocommerce ul.products li.product .price,
body.nze-shop-child .woocommerce-page ul.products li.product .price {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.nze-shop-child .woocommerce ul.products li.product .price,
body.nze-shop-child .woocommerce-page ul.products li.product .price {
	border-top: 1px solid var(--color-border) !important;
	margin-top: auto !important;
	padding-top: var(--space-3) !important;
}

body.nze-shop-child .woocommerce ul.products li.product .button,
body.nze-shop-child .woocommerce-page ul.products li.product .button {
	background-color: var(--color-primary) !important;
	background-image: none !important;
	border-radius: 8px !important;
}

body.single-product.nze-shop-child div.product .woocommerce-tabs .panel {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	max-width: none;
	padding: var(--space-6) 0 var(--space-3) !important;
}

body.single-product.nze-shop-child div.product .woocommerce-tabs .panel > h2 {
	border-bottom: 1px solid var(--color-border);
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	margin-bottom: var(--space-5);
	padding-bottom: var(--space-3);
}

body.single-product.nze-shop-child div.product .woocommerce-tabs .panel > p,
body.single-product.nze-shop-child div.product .woocommerce-tabs .panel > ul,
body.single-product.nze-shop-child div.product .woocommerce-tabs .panel > ol {
	max-width: 850px;
}

body.single-product.nze-shop-child div.product .woocommerce-tabs .panel li {
	margin-bottom: .42rem;
}

body.nze-shop-child .social-navigation a {
	background: var(--color-primary) !important;
	border: 1px solid var(--color-primary-hover);
	color: #fff !important;
}

body.nze-shop-child .social-navigation a:hover,
body.nze-shop-child .social-navigation a:focus-visible {
	background: var(--color-primary-hover) !important;
	color: #fff !important;
}

body.nze-shop-child .social-navigation a .icon,
body.nze-shop-child .social-navigation a svg {
	fill: #fff !important;
	color: #fff !important;
}

.nze-coffee-button {
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	display: inline-flex !important;
	justify-content: center;
	line-height: 1;
	padding: 0 !important;
	text-decoration: none !important;
}

.nze-coffee-button__images {
	display: grid;
	height: auto;
	width: clamp(142px, 42vw, 159px);
}

.nze-coffee-button__images img {
	grid-area: 1 / 1;
	height: auto;
	margin: 0 !important;
	transition: opacity .16s ease;
	width: 100%;
}

.nze-coffee-button__hover {
	opacity: 0;
}

.nze-coffee-button:hover .nze-coffee-button__hover,
.nze-coffee-button:focus-visible .nze-coffee-button__hover {
	opacity: 1;
}

.nze-coffee-button:hover .nze-coffee-button__images img:first-child,
.nze-coffee-button:focus-visible .nze-coffee-button__images img:first-child {
	opacity: 0;
}

body.nze-shop-child .main-navigation .nze-shop-header-coffee > a {
	min-height: 44px;
	padding: 2px 0 !important;
}

body.nze-shop-child #top-menu > .nze-shop-header-coffee {
	display: none !important;
}

body.nze-shop-child .social-navigation .nze-buycoffee-menu-item {
	width: auto;
}

body.nze-shop-child .social-navigation ul {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
}

body.nze-shop-child .social-navigation li {
	margin: 0;
}

body.nze-shop-child .social-navigation .nze-buycoffee-menu-item > .nze-coffee-button {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	height: auto;
	min-height: 44px;
	padding: 2px 0 !important;
	width: auto;
}

.nze-free-post-support {
	align-items: center;
	background: #f3f6f2;
	border-bottom: 1px solid var(--color-border);
	border-top: 1px solid var(--color-border);
	display: flex;
	gap: clamp(24px, 5vw, 64px);
	justify-content: space-between;
	margin: clamp(36px, 6vw, 64px) 0 0;
	padding: clamp(24px, 4vw, 38px);
}

.nze-free-post-support__eyebrow {
	color: var(--color-accent);
	font-size: .72rem;
	font-weight: 850;
	letter-spacing: .1em;
	margin: 0 0 var(--space-2);
	text-transform: uppercase;
}

.nze-free-post-support h2 {
	font-size: clamp(1.35rem, 2.8vw, 2rem);
	margin: 0 0 var(--space-2);
}

.nze-free-post-support p:last-child {
	color: var(--color-text-muted);
	margin: 0;
}

.nze-free-post-support .nze-coffee-button {
	flex: 0 0 auto;
}

@media (min-width: 761px) {
	body.nze-shop-child .navigation-top .wrap {
		align-items: center;
		display: flex;
		min-height: 94px;
		padding-bottom: 10px;
		padding-top: 10px;
	}

	body.nze-shop-child .main-navigation {
		width: 100%;
	}

	body.nze-shop-child #top-menu {
		align-items: center;
		display: flex;
		min-height: 72px;
	}

	body.nze-shop-child #top-menu > li {
		align-items: center;
		display: flex;
	}

	body.nze-shop-child #top-menu > li > a {
		padding-bottom: 15px;
		padding-top: 15px;
	}

	body.home.nze-shop-child .nze-front-header-copy {
		justify-content: flex-start;
		padding-left: clamp(180px, 16vw, 240px);
		padding-top: clamp(48px, 5vw, 70px);
	}

	body.home.nze-shop-child .nze-front-header-copy strong {
		font-size: clamp(2rem, 3.5vw, 3.4rem);
		max-width: 560px;
	}

	body.home.nze-shop-child .nze-front-header-copy span {
		margin-left: 60px;
	}
}

@media (max-width: 760px) {
	body.home.nze-shop-child .custom-header,
	body.home.nze-shop-child .custom-header-media {
		height: 170px !important;
		min-height: 170px !important;
	}

	body.home.nze-shop-child .custom-header-media #wp-custom-header img {
		object-position: center;
	}

	.nze-front-header-copy {
		padding: 0 20px;
	}

	.nze-front-header-copy strong {
		font-size: clamp(1.55rem, 8vw, 2.15rem);
		max-width: 280px;
	}

	.nze-front-header-copy span {
		font-size: .78rem;
		max-width: 260px;
	}

	.nze-free-post-support {
		align-items: flex-start;
		flex-direction: column;
		padding: 24px 18px;
	}

	.nze-free-post-support .nze-coffee-button {
		min-height: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nze-home-category,
	.nze-cart-confirmation__panel {
		transition: none !important;
	}
}

/* Keep the primary navigation on every inner page and use a compact brand header. */
body:not(.home).nze-shop-child #masthead,
body:not(.home).nze-shop-child .navigation-top {
	display: block !important;
}

body:not(.home).nze-shop-child #masthead {
	height: auto !important;
	min-height: 0 !important;
}

body:not(.home).nze-shop-child .custom-header,
body:not(.home).nze-shop-child .custom-header-media {
	height: 92px !important;
	min-height: 92px !important;
}

body:not(.home).nze-shop-child .custom-header-media {
	background: #eef4f0;
	inset: auto !important;
	overflow: hidden;
	position: relative !important;
}

body:not(.home).nze-shop-child .custom-header-media::before,
body:not(.home).nze-shop-child .custom-header-media #wp-custom-header,
body:not(.home).nze-shop-child .site-branding,
body:not(.home).nze-shop-child .single-featured-image-header {
	display: none !important;
}

body:not(.home).nze-shop-child .navigation-top {
	bottom: auto !important;
	position: relative !important;
	top: auto !important;
}

body:not(.home).nze-shop-child .nze-front-header-copy.is-compact {
	justify-content: center;
	padding: 0 clamp(22px, 5vw, 72px);
}

body:not(.home).nze-shop-child .nze-front-header-copy.is-compact strong {
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	max-width: none;
}

body:not(.home).nze-shop-child .nze-front-header-copy.is-compact span {
	font-size: .84rem;
	margin-top: 7px;
	max-width: none;
}

@media (max-width: 760px) {
	body:not(.home).nze-shop-child .custom-header,
	body:not(.home).nze-shop-child .custom-header-media {
		height: 74px !important;
		min-height: 74px !important;
	}

	body:not(.home).nze-shop-child .nze-front-header-copy.is-compact {
		padding: 0 16px;
	}

	body:not(.home).nze-shop-child .nze-front-header-copy.is-compact strong {
		font-size: 1.35rem;
	}

	body:not(.home).nze-shop-child .nze-front-header-copy.is-compact span {
		font-size: .72rem;
		margin-top: 4px;
	}
}
