/*
Theme Name: KNHAA Editorial Child
Description: Product-page and storefront customizations for KNHAA Editorial.
Author: KNHAA
Template: knhaa-editorial
Version: 1.3.21
Text Domain: knhaa-editorial-child
*/

:root {
	--knhaa-green: #234441;
	--knhaa-ivory: #f7f6f0;
	--knhaa-yellow: #f4d33f;
	--knhaa-blue: #123f6b;
	--knhaa-ink: #171918;
	--knhaa-line: rgba(23, 25, 24, 0.18);
	--knhaa-radius: 10px;
	--knhaa-radius-card: 14px;
	--knhaa-font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--knhaa-font-display: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('assets/fonts/inter-latin-variable.woff2') format('woff2');
}

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('assets/fonts/manrope-latin-variable.woff2') format('woff2');
}

/* A clear reading face paired with a tighter editorial headline face. */
html body {
	font-family: var(--knhaa-font-body);
	font-weight: 400;
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .product_title,
html body .woocommerce-loop-product__title,
html body .wp-block-heading {
	font-family: var(--knhaa-font-display);
}

html body button,
html body input,
html body select,
html body textarea {
	font-family: var(--knhaa-font-body);
}

/* Product pages: give the gallery and product information room to breathe. */
@media (min-width: 900px) {
	.single-product div.product {
		display: grid;
		grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
		grid-template-areas: "gallery summary";
		align-items: start;
		column-gap: clamp(32px, 5vw, 84px);
		row-gap: 0;
	}

	.single-product div.product div.images,
	.single-product div.product div.summary {
		float: none;
		width: auto;
		max-width: none;
		margin: 0;
	}

	.single-product div.product div.images {
		grid-area: gallery;
		align-self: start;
	}

	.single-product div.product div.summary {
		grid-area: summary;
		position: static;
	}

	/* Product-page.js moves the tabs into the summary so all product details
	 * stay together in the right-hand column, beside the gallery. */
	.single-product div.product .summary .woocommerce-tabs {
		width: auto;
		max-width: none;
		min-height: 360px;
		margin: 28px 0 0;
		padding: 0;
	}

	.single-product div.product .summary .woocommerce-tabs ul.tabs {
		display: flex;
		flex-wrap: nowrap;
		gap: clamp(12px, 1.4vw, 24px);
		margin: 0 0 18px;
		padding: 0 0 12px;
		border-bottom: 1px solid var(--knhaa-line);
	}

	.single-product div.product .summary .woocommerce-tabs ul.tabs li {
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.single-product div.product .summary .woocommerce-tabs ul.tabs li::before,
	.single-product div.product .summary .woocommerce-tabs ul.tabs li::after {
		display: none;
	}

	.single-product div.product .summary .woocommerce-tabs ul.tabs li a {
		padding: 0;
		color: rgba(23, 25, 24, 0.58);
		font-size: 0.82rem;
		font-weight: 500;
	}

	.single-product div.product .summary .woocommerce-tabs ul.tabs li.active a {
		color: var(--knhaa-ink);
	}

	.single-product div.product .summary .woocommerce-tabs .panel {
		margin: 0;
		padding: 0;
		color: rgba(23, 25, 24, 0.78);
		font-size: 0.92rem;
		line-height: 1.65;
	}

	.single-product div.product > .up-sells,
	.single-product div.product > .related,
	.single-product div.product > .knhaa-recommendations,
	.single-product div.product > .knhaa-you-may-also-like,
	.single-product div.product > .knhaa-recently-viewed,
	.single-product div.product > .recently-viewed-products {
		grid-column: 1 / -1;
	}
}

@media (max-width: 899px) {
	.single-product div.product {
		display: block;
	}

	.single-product div.product div.images,
	.single-product div.product div.summary {
		float: none;
		width: 100%;
		max-width: none;
		margin-right: 0;
		margin-left: 0;
	}

	.single-product div.product .woocommerce-tabs {
		margin-top: 36px;
		min-height: 360px;
	}
}

/* KNHAA product purchase controls: compact price hierarchy, quantity stepper,
 * and paired Add to Bag / Buy Now actions. */
.single-product div.product .summary .product_title {
	margin: 0 0 0.18rem !important;
}

.single-product div.product .summary p.price,
.single-product div.product .summary span.price {
	margin: 0 0 1.15rem !important;
	padding: 0;
}

.single-product div.product form.cart:not(.variations_form),
.single-product div.product form.cart .woocommerce-variation-add-to-cart {
	display: grid;
	grid-template-columns: minmax(116px, 0.62fr) minmax(0, 1.38fr);
	align-items: center;
	gap: 12px;
}

.single-product div.product form.cart .quantity {
	display: inline-flex;
	grid-column: 1;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 4px 8px;
	border: 1px solid rgba(23, 25, 24, 0.28);
	border-radius: 999px;
	background: #fff;
}

.single-product div.product form.cart .quantity input.qty {
	width: 40px;
	min-width: 30px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--knhaa-ink);
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
	appearance: textfield;
}

.single-product div.product form.cart .quantity input.qty::-webkit-inner-spin-button,
.single-product div.product form.cart .quantity input.qty::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.single-product div.product form.cart .quantity .knhaa-qty-step {
	display: grid;
	width: 34px;
	min-width: 34px;
	height: 34px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--knhaa-ivory);
	color: var(--knhaa-ink);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.single-product div.product form.cart .knhaa-product-actions {
	display: grid;
	grid-column: 2;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	min-width: 0;
}

.single-product div.product form.cart .knhaa-product-actions button {
	display: inline-flex;
	min-width: 0;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--knhaa-green);
	border-radius: 999px !important;
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.055em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	white-space: normal;
	cursor: pointer;
}

.single-product div.product form.cart .knhaa-product-actions .knhaa-add-to-bag {
	background: var(--knhaa-green) !important;
	background-color: var(--knhaa-green) !important;
	border-color: var(--knhaa-green) !important;
	color: #fff !important;
}

.single-product div.product form.cart .knhaa-product-actions .knhaa-buy-now {
	background: var(--knhaa-ink) !important;
	background-color: var(--knhaa-ink) !important;
	border-color: var(--knhaa-ink) !important;
	color: #fff !important;
}

.single-product div.product form.cart .knhaa-product-actions button:hover:not(:disabled) {
	background: var(--knhaa-yellow) !important;
	background-color: var(--knhaa-yellow) !important;
	border-color: var(--knhaa-yellow) !important;
	color: var(--knhaa-ink) !important;
}

.single-product div.product form.cart .knhaa-product-actions button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.single-product .knhaa-product-cart-message {
	grid-column: 1 / -1;
	margin: 0;
	color: #a32920;
	font-size: 0.88rem;
}

@media (max-width: 899px) {
	.single-product div.product form.cart:not(.variations_form),
	.single-product div.product form.cart .woocommerce-variation-add-to-cart {
		grid-template-columns: minmax(96px, 0.42fr) minmax(0, 1.58fr);
		gap: 9px;
	}

	.single-product div.product form.cart .quantity {
		min-height: 48px;
		padding-inline: 5px;
	}

	.single-product div.product form.cart .quantity .knhaa-qty-step {
		width: 30px;
		min-width: 30px;
		height: 30px;
	}

	.single-product div.product form.cart .knhaa-product-actions {
		gap: 7px;
	}

	.single-product div.product form.cart .knhaa-product-actions button {
		min-height: 48px;
		padding-inline: 8px;
		font-size: 0.68rem;
	}
}

/* Consistent yellow Sale seal on product detail and product cards. */
html body.woocommerce span.onsale,
html body .woocommerce span.onsale {
	border: 1px solid var(--knhaa-ink) !important;
	border-radius: 50% !important;
	background: var(--knhaa-yellow) !important;
	background-color: var(--knhaa-yellow) !important;
	color: var(--knhaa-ink) !important;
	font-weight: 700;
	text-transform: uppercase;
}

/* BLUORNG-inspired right-side cart drawer, using KNHAA's palette. */
.knhaa-cart-overlay[hidden] {
	display: none !important;
}

.knhaa-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	justify-content: flex-end;
	background: rgba(23, 25, 24, 0.52);
}

.knhaa-cart-drawer {
	display: flex;
	width: min(440px, 100vw);
	height: 100%;
	flex-direction: column;
	background: var(--knhaa-ivory);
	color: var(--knhaa-ink);
	box-shadow: -12px 0 42px rgba(0, 0, 0, 0.16);
	outline: none;
	animation: knhaa-cart-enter 220ms ease-out both;
}

@keyframes knhaa-cart-enter {
	from { transform: translateX(28px); opacity: 0.85; }
	to { transform: translateX(0); opacity: 1; }
}

.knhaa-cart-drawer-header {
	display: flex;
	min-height: 72px;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	border-bottom: 1px solid var(--knhaa-line);
}

.knhaa-cart-drawer-header h2 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 650;
}

.knhaa-cart-close {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--knhaa-ink);
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

.knhaa-cart-drawer-body {
	flex: 1 1 auto;
	overflow: auto;
	padding: 18px 20px 28px;
}

.knhaa-cart-items {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.knhaa-cart-item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 14px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--knhaa-line);
	transition: opacity 160ms ease;
}

.knhaa-cart-item.is-updating {
	opacity: 0.5;
}

.knhaa-cart-item-media img {
	display: block;
	width: 96px;
	height: 116px;
	border-radius: var(--knhaa-radius-card);
	background: #fff;
	object-fit: cover;
}

.knhaa-cart-item-info {
	min-width: 0;
}

.knhaa-cart-item-name {
	display: block;
	margin: 2px 0 4px;
	color: var(--knhaa-ink);
	font-size: 0.96rem;
	font-weight: 650;
	text-decoration: none;
}

.knhaa-cart-item-variation,
.knhaa-cart-item-price {
	margin: 3px 0;
	font-size: 0.84rem;
}

.knhaa-cart-item-variation p {
	margin: 0;
}

.knhaa-cart-item-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
}

.knhaa-cart-quantity {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	border: 1px solid var(--knhaa-line);
	border-radius: 999px;
	background: #fff;
}

.knhaa-cart-quantity button {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--knhaa-ink);
	font-size: 1rem;
	cursor: pointer;
}

.knhaa-cart-quantity input {
	width: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--knhaa-ink);
	font-size: 0.85rem;
	text-align: center;
	appearance: textfield;
}

.knhaa-cart-quantity input::-webkit-inner-spin-button,
.knhaa-cart-quantity input::-webkit-outer-spin-button {
	appearance: none;
}

.knhaa-cart-remove,
.knhaa-cart-view {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--knhaa-ink);
	font-size: 0.78rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.knhaa-cart-summary {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-top: 22px;
	font-size: 1rem;
}

.knhaa-cart-tax-note {
	margin: 8px 0 18px;
	color: rgba(23, 25, 24, 0.66);
	font-size: 0.78rem;
}

.knhaa-cart-checkout,
.knhaa-cart-continue {
	display: flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border: 1px solid var(--knhaa-green);
	border-radius: 999px;
	background: var(--knhaa-green);
	color: #fff !important;
	font-size: 0.84rem;
	font-weight: 650;
	text-align: center;
	text-decoration: none;
}

.knhaa-cart-view {
	display: table;
	margin: 15px auto 0;
}

.knhaa-cart-empty {
	display: grid;
	min-height: 220px;
	align-content: center;
	justify-items: center;
	gap: 18px;
	text-align: center;
}

.knhaa-header-cart-count {
	display: inline-grid;
	min-width: 20px;
	height: 20px;
	place-items: center;
	margin-left: 5px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--knhaa-yellow);
	color: var(--knhaa-ink);
	font-size: 0.68rem;
	font-weight: 700;
}

body.knhaa-cart-drawer-open {
	overflow: hidden;
}

@media (max-width: 480px) {
	.knhaa-cart-drawer-header {
		min-height: 62px;
		padding-inline: 17px;
	}

	.knhaa-cart-drawer-body {
		padding-inline: 16px;
	}

	.knhaa-cart-item {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 11px;
	}

	.knhaa-cart-item-media img {
		width: 82px;
		height: 102px;
	}
}

/* Moving, multi-link news strip above the site header. */
.knhaa-announcement-bar {
	position: relative;
	z-index: 20;
	width: 100%;
	overflow: hidden;
	background: var(--knhaa-green);
	color: var(--knhaa-ivory);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.knhaa-announcement-viewport {
	width: 100%;
	overflow: hidden;
}

.knhaa-announcement-track {
	display: flex;
	width: max-content;
	animation: knhaa-announcement-scroll 30s linear infinite;
}

.knhaa-announcement-group {
	display: flex;
	flex: 0 0 auto;
	align-items: stretch;
	gap: clamp(28px, 5vw, 72px);
	padding-right: clamp(28px, 5vw, 72px);
}

.knhaa-announcement-item {
	display: flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 7px 0;
	color: inherit;
	white-space: nowrap;
	text-decoration: none;
}

.knhaa-announcement-item:hover,
.knhaa-announcement-item:focus-visible {
	color: #fff;
	text-decoration: none;
}

.knhaa-announcement-cta {
	display: inline-flex;
	min-height: 24px;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border: 1px solid rgba(247, 246, 240, 0.55);
	border-radius: 999px;
	font-size: 0.62rem;
	letter-spacing: 0.08em;
}

.knhaa-announcement-item:hover .knhaa-announcement-cta,
.knhaa-announcement-item:focus-visible .knhaa-announcement-cta {
	background: var(--knhaa-ivory);
	color: var(--knhaa-green);
}

.knhaa-announcement-bar:hover .knhaa-announcement-track,
.knhaa-announcement-bar:focus-within .knhaa-announcement-track {
	animation-play-state: paused;
}

@keyframes knhaa-announcement-scroll {
	to { transform: translateX(-50%); }
}

/* Custom KNHAA footer. The previous theme footer is hidden to avoid doubles. */
body footer:not(.knhaa-store-footer) {
	display: none !important;
}

.knhaa-store-footer {
	margin-top: clamp(48px, 7vw, 96px);
	padding: 22px clamp(16px, 4vw, 64px) 18px;
	background: var(--knhaa-green);
	color: var(--knhaa-ivory);
}

.knhaa-footer-discovery {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 68px;
	margin: 0 0 clamp(44px, 6vw, 78px);
	padding: 16px clamp(16px, 3vw, 38px);
	border-radius: 13px;
	background: #fff;
	color: var(--knhaa-ink);
}

.knhaa-footer-discovery > h2 {
	flex: 0 0 auto;
	margin: 0;
	font-size: 0.93rem;
	font-weight: 650;
}

.knhaa-footer-discovery-groups {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(18px, 3vw, 48px);
}

.knhaa-footer-discovery-group {
	position: relative;
	font-size: 0.88rem;
}

.knhaa-footer-discovery-group summary {
	list-style: none;
	cursor: pointer;
	white-space: nowrap;
}

.knhaa-footer-discovery-group summary::-webkit-details-marker {
	display: none;
}

.knhaa-footer-discovery-group summary::after {
	content: '+';
	margin-left: 0.45rem;
	color: var(--knhaa-green);
}

.knhaa-footer-discovery-group[open] summary::after {
	content: '−';
}

.knhaa-footer-discovery-group > ul {
	position: absolute;
	right: 0;
	bottom: calc(100% + 12px);
	z-index: 5;
	min-width: 190px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--knhaa-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(23, 25, 24, 0.14);
	list-style: none;
}

.knhaa-footer-discovery-group > ul li + li {
	margin-top: 9px;
}

.knhaa-footer-discovery-group a,
.knhaa-footer-column a,
.knhaa-footer-bottom a {
	color: inherit;
	text-decoration: none;
}

.knhaa-footer-discovery-group a:hover,
.knhaa-footer-column a:hover,
.knhaa-footer-bottom a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.knhaa-footer-discovery-group > ul a {
	color: var(--knhaa-ink);
}

.knhaa-footer-main {
	display: grid;
	grid-template-columns: repeat(3, minmax(145px, 1fr)) 132px;
	gap: clamp(26px, 4vw, 72px);
	max-width: 1500px;
	margin: 0 auto;
}

.knhaa-footer-brand,
.knhaa-footer-column {
	max-width: 340px;
}

.knhaa-footer-wordmark {
	display: inline-block;
	margin-bottom: 14px;
	color: var(--knhaa-ivory);
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.08em;
	line-height: 1;
	text-decoration: none;
}

.knhaa-footer-brand p,
.knhaa-footer-about p {
	max-width: 270px;
	margin: 0;
	color: rgba(247, 246, 240, 0.75);
	font-size: 0.9rem;
	line-height: 1.65;
}

.knhaa-footer-column h2 {
	margin: 0 0 16px;
	color: var(--knhaa-ivory);
	font-size: 0.82rem;
	font-weight: 650;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.knhaa-footer-column p {
	max-width: 270px;
	margin: 0;
	color: rgba(247, 246, 240, 0.72);
	font-size: 0.88rem;
	line-height: 1.65;
}

.knhaa-footer-column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.knhaa-footer-column li + li {
	margin-top: 10px;
}

.knhaa-footer-column a {
	color: rgba(247, 246, 240, 0.78);
	font-size: 0.9rem;
}

.knhaa-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1500px;
	margin: clamp(42px, 6vw, 76px) auto 0;
	padding-top: 16px;
	border-top: 1px solid rgba(247, 246, 240, 0.22);
	color: rgba(247, 246, 240, 0.68);
	font-size: 0.76rem;
}

.knhaa-footer-bottom .knhaa-footer-wordmark {
	margin: 0;
	font-size: 1.7rem;
}

/* Animated KNHAA shopping bag, placed at the right edge of the footer. */
.knhaa-footer-shopping-bag {
	position: relative;
	display: block;
	width: 106px;
	height: 132px;
	justify-self: end;
	align-self: center;
	color: var(--knhaa-ink);
	text-decoration: none;
	transform-origin: 50% 8%;
	animation: knhaa-bag-settle 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both, knhaa-bag-orbit 12s ease-in-out 1.2s infinite;
}

.knhaa-shopping-bag-handle {
	position: absolute;
	top: 8px;
	left: 33px;
	width: 40px;
	height: 37px;
	border: 3px solid var(--knhaa-ivory);
	border-bottom: 0;
	border-radius: 22px 22px 0 0;
}

.knhaa-shopping-bag-body {
	position: absolute;
	inset: 34px 3px 0;
	display: grid;
	place-items: center;
	padding: 14px 8px 8px;
	border-radius: 7px 7px 12px 12px;
	background: var(--knhaa-ivory);
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
	animation: knhaa-bag-pulse 4.2s ease-in-out 1s infinite;
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.knhaa-shopping-bag-emblem {
	width: 54px;
	max-height: 48px;
	object-fit: contain;
}

.knhaa-shopping-bag-wordmark {
	font-size: 0.86rem;
	font-weight: 750;
	letter-spacing: -0.08em;
}

.knhaa-shopping-bag-count {
	position: absolute;
	top: 27px;
	right: -4px;
	display: grid;
	width: 25px;
	height: 25px;
	place-items: center;
	border: 2px solid var(--knhaa-green);
	border-radius: 50%;
	background: var(--knhaa-yellow);
	color: var(--knhaa-ink);
	font-size: 0.7rem;
	font-weight: 700;
}

.knhaa-footer-shopping-bag:hover .knhaa-shopping-bag-body,
.knhaa-footer-shopping-bag:focus-visible .knhaa-shopping-bag-body {
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
	transform: translateY(-5px) rotate(-2deg);
}

.knhaa-footer-shopping-bag:focus-visible {
	border-radius: 10px;
	outline: 2px solid var(--knhaa-yellow);
	outline-offset: 5px;
}

@keyframes knhaa-bag-settle {
	0% { opacity: 0; transform: translateY(-14px) rotate(7deg); }
	62% { opacity: 1; transform: translateY(3px) rotate(-3deg); }
	100% { transform: translateY(0) rotate(0); }
}

@keyframes knhaa-bag-pulse {
	0%, 100% { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16); }
	50% { box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24); }
}

@keyframes knhaa-bag-orbit {
	0%, 84%, 100% { transform: rotate(0deg); }
	92% { transform: rotate(360deg); }
}

/* Editorial page design shared by story, policy, FAQ, careers, and media pages. */
.knhaa-editorial-page {
	max-width: 920px;
	margin: clamp(42px, 8vw, 96px) auto;
	padding: 0 clamp(18px, 4vw, 54px) clamp(20px, 5vw, 64px);
	color: var(--knhaa-ink);
}

.knhaa-editorial-page .knhaa-page-review-note {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0 0 clamp(30px, 5vw, 56px);
	padding: 14px 18px;
	border-left: 3px solid var(--knhaa-yellow);
	border-radius: 0 10px 10px 0;
	background: rgba(244, 211, 63, 0.17);
	font-size: 0.86rem;
	line-height: 1.55;
}

.knhaa-editorial-page .knhaa-page-review-note strong,
.knhaa-editorial-page .knhaa-page-kicker {
	color: var(--knhaa-green);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.knhaa-editorial-page .knhaa-page-kicker {
	margin: 0 0 14px;
}

.knhaa-editorial-page h1 {
	max-width: 760px;
	margin: 0 0 26px;
	font-size: clamp(2.4rem, 7vw, 5.8rem);
	font-weight: 600;
	letter-spacing: -0.065em;
	line-height: 0.98;
}

.knhaa-editorial-page h2 {
	margin: clamp(32px, 5vw, 56px) 0 12px;
	font-size: clamp(1.25rem, 2.6vw, 1.8rem);
	font-weight: 600;
	letter-spacing: -0.035em;
}

.knhaa-editorial-page p,
.knhaa-editorial-page li {
	max-width: 740px;
	color: rgba(23, 25, 24, 0.76);
	font-size: clamp(1rem, 1.4vw, 1.08rem);
	line-height: 1.8;
}

.knhaa-editorial-page hr {
	margin: 38px 0;
	border: 0;
	border-top: 1px solid var(--knhaa-line);
}

/* WooCommerce account, login and registration pages use the same palette. */
.woocommerce-account:not(.logged-in) .woocommerce {
	max-width: 1120px;
	margin: clamp(48px, 8vw, 96px) auto;
	padding: 0 clamp(16px, 3vw, 36px);
}

.woocommerce-account:not(.logged-in) .woocommerce .u-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 4vw, 48px);
}

.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
}

.woocommerce-account:not(.logged-in) .woocommerce .u-columns:not(:has(.u-column2)) .u-column1 {
	grid-column: 1 / -1;
	width: min(100%, 560px);
	margin-inline: auto;
}

.woocommerce-account:not(.logged-in) .woocommerce form.login,
.woocommerce-account:not(.logged-in) .woocommerce form.register {
	margin: 0;
	padding: clamp(22px, 3vw, 38px);
	border: 1px solid var(--knhaa-line);
	border-radius: 10px;
	background: var(--knhaa-ivory);
}

.woocommerce-account:not(.logged-in) .woocommerce h2 {
	margin-top: 0;
	color: var(--knhaa-ink);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.woocommerce-account .woocommerce form .form-row label {
	margin-bottom: 7px;
	color: var(--knhaa-ink);
	font-size: 0.88rem;
}

.woocommerce-account .woocommerce form .form-row input.input-text,
.woocommerce-account .woocommerce form .form-row textarea,
.woocommerce-account .woocommerce form .form-row select {
	min-height: 46px;
	padding: 11px 13px;
	border: 1px solid rgba(23, 25, 24, 0.28);
	border-radius: 10px;
	background: #fff;
	color: var(--knhaa-ink);
}

.woocommerce-account .woocommerce form .form-row input:focus,
.woocommerce-account .woocommerce form .form-row textarea:focus,
.woocommerce-account .woocommerce form .form-row select:focus {
	border-color: var(--knhaa-green);
	box-shadow: 0 0 0 2px rgba(35, 68, 65, 0.12);
	outline: 0;
}

.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce a.button,
.woocommerce-account .woocommerce input.button {
	min-height: 46px;
	padding: 12px 22px;
	border: 1px solid var(--knhaa-green);
	border-radius: 10px;
	background: var(--knhaa-green);
	color: var(--knhaa-ivory);
	font-weight: 600;
}

.woocommerce-account .woocommerce button.button:hover,
.woocommerce-account .woocommerce a.button:hover,
.woocommerce-account .woocommerce input.button:hover {
	background: #183936;
	color: #fff;
}

.woocommerce-account .woocommerce a:not(.button) {
	color: var(--knhaa-blue);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 14px;
	border-bottom: 1px solid var(--knhaa-line);
	color: var(--knhaa-ink);
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--knhaa-green);
	color: var(--knhaa-ivory);
}

@media (max-width: 899px) {
	.knhaa-footer-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.knhaa-footer-shopping-bag {
		grid-column: 2;
		grid-row: 2;
	}

	.knhaa-footer-discovery {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.knhaa-footer-discovery-groups {
		width: 100%;
		justify-content: space-between;
		gap: 12px;
	}

	.knhaa-footer-discovery-group > ul {
		right: auto;
		left: 0;
	}
}

@media (max-width: 600px) {
	.knhaa-footer-main {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.knhaa-footer-discovery-groups {
		align-items: flex-start;
		flex-direction: column;
	}

	.knhaa-footer-discovery-group[open] > ul {
		position: static;
		min-width: 0;
		margin: 10px 0 0;
		padding: 8px 12px;
		border-radius: 6px;
		box-shadow: none;
	}

	.knhaa-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.knhaa-footer-shopping-bag {
		grid-column: 1;
		grid-row: auto;
		margin-top: 4px;
	}

	.knhaa-editorial-page {
		margin-top: 38px;
		padding-inline: 18px;
	}

	.woocommerce-account:not(.logged-in) .woocommerce .u-columns {
		grid-template-columns: 1fr;
	}
}

/* One button system across WooCommerce, content blocks, and the campaign pages. */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link,
.wp-element-button {
	box-sizing: border-box;
	min-height: 46px;
	padding: 12px 20px;
	border: 1px solid var(--knhaa-green);
	border-radius: 2px;
	background: var(--knhaa-green);
	background-image: none;
	box-shadow: none;
	color: var(--knhaa-ivory);
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
	border-color: var(--knhaa-ink);
	background: var(--knhaa-ink);
	color: #fff;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 2vw, 28px);
	margin-inline: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
}

.woocommerce ul.products li.product {
	display: flex;
	float: none;
	width: auto;
	min-width: 0;
	height: 100%;
	margin: 0;
	flex-direction: column;
	align-items: stretch;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
	display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	min-height: 2.5em;
	line-height: 1.25;
}

.woocommerce ul.products li.product .price {
	margin-bottom: 12px;
}

.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.added_to_cart {
	display: flex;
	width: 100%;
	min-height: 46px;
	margin-top: auto;
	align-items: center;
	justify-content: center;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
	min-height: 44px;
	padding: 8px 32px 8px 12px;
	border: 1px solid var(--knhaa-line);
	background-color: #fff;
}

.woocommerce .quantity .qty {
	box-sizing: border-box;
	min-height: 46px;
	border-color: var(--knhaa-line);
}

.woocommerce-checkout #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	width: 100%;
	min-height: 52px;
	align-items: center;
	justify-content: center;
}

@media (max-width: 899px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 380px) {
	.woocommerce ul.products {
		gap: 9px;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.88rem;
	}

	.woocommerce ul.products li.product a.button,
	.woocommerce ul.products li.product a.added_to_cart {
		padding-inline: 8px;
		font-size: 0.78rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.knhaa-footer-shopping-bag,
	.knhaa-shopping-bag-body {
		animation: none !important;
		transition: none !important;
	}
	.knhaa-announcement-track {
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
		animation: none !important;
	}
	.knhaa-announcement-group[aria-hidden="true"] {
		display: none;
	}
	.knhaa-announcement-group {
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px 24px;
		padding: 6px 12px;
	}
	.knhaa-announcement-item {
		white-space: normal;
		text-align: center;
	}
}

/* Final theme/plugin override for the native WooCommerce purchase button. */
html body.single-product div.product .summary form.cart .single_add_to_cart_button,
html body.single-product div.product form.cart button.single_add_to_cart_button,
html body.single-product div.product form.cart button.single_add_to_cart_button.alt,
html body.single-product div.product form.cart button.single_add_to_cart_button.button.alt,
html body.single-product div.product form.cart button.single_add_to_cart_button.disabled,
html body.single-product div.product form.cart button.single_add_to_cart_button:disabled,
html body.single-product div.product form.cart input.single_add_to_cart_button,
html body.single-product div.product form.cart input[type="submit"] {
	background: #234441 !important;
	background-color: #234441 !important;
	background-image: none !important;
	border-color: #234441 !important;
	box-shadow: none !important;
	color: #f7f6f0 !important;
	opacity: 1;
}

html body.single-product div.product form.cart .single_add_to_cart_button:hover:not(:disabled):not(.disabled),
html body.single-product div.product form.cart button.single_add_to_cart_button.button.alt:hover:not(:disabled):not(.disabled) {
	background: #171918 !important;
	background-color: #171918 !important;
	background-image: none !important;
	border-color: #171918 !important;
	color: #fff !important;
}

html body.single-product div.product form.cart .single_add_to_cart_button:disabled,
html body.single-product div.product form.cart .single_add_to_cart_button.disabled {
	background: #234441 !important;
	background-color: #234441 !important;
	background-image: none !important;
	border-color: #234441 !important;
	color: #f7f6f0 !important;
	opacity: 0.6;
}

/* Keep the purchase control on-brand even when the theme or WooCommerce adds
 * alternate, disabled, or variation-selection button classes. */
html body.single-product .woocommerce .summary form.cart button[type="submit"],
html body.single-product .woocommerce .summary form.cart input[type="submit"] {
	background: var(--knhaa-green) !important;
	background-color: var(--knhaa-green) !important;
	background-image: none !important;
	border-color: var(--knhaa-green) !important;
	box-shadow: none !important;
	color: var(--knhaa-ivory) !important;
	opacity: 1;
}

html body.single-product .woocommerce .summary form.cart button[type="submit"]:hover:not(:disabled):not(.disabled),
html body.single-product .woocommerce .summary form.cart input[type="submit"]:hover:not(:disabled):not(.disabled) {
	background: var(--knhaa-ink) !important;
	background-color: var(--knhaa-ink) !important;
	border-color: var(--knhaa-ink) !important;
	color: #fff !important;
}

.single-product div.product .product_title {
	color: var(--knhaa-ink);
	font-size: clamp(1.65rem, 2.5vw, 2.45rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.single-product div.product p.price,
.single-product div.product span.price {
	color: var(--knhaa-ink);
	font-size: 1.1rem;
}

.single-product .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	background: var(--knhaa-ivory);
	object-fit: cover;
}

.single-product div.product form.cart {
	margin-top: 1.5rem;
}

.single-product div.product form.cart .single_add_to_cart_button,
.single-product div.product .button.single_add_to_cart_button {
	min-height: 52px;
	padding: 14px 24px;
	border: 1px solid var(--knhaa-green);
	border-radius: 0;
	background: var(--knhaa-green);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.single-product div.product form.cart .single_add_to_cart_button:hover,
.single-product div.product .button.single_add_to_cart_button:hover {
	border-color: var(--knhaa-ink);
	background: var(--knhaa-ink);
	color: #fff;
}

.single-product div.product form.cart .single_add_to_cart_button:disabled,
.single-product div.product form.cart .single_add_to_cart_button.disabled {
	border-color: #b8b9b4;
	background: #b8b9b4;
	color: #fff;
	cursor: not-allowed;
}

/* Override WooCommerce/plugin button presets on the product page. */
body.single-product div.product form.cart button.single_add_to_cart_button {
	background-color: var(--knhaa-green) !important;
	border-color: var(--knhaa-green) !important;
	color: var(--knhaa-ivory) !important;
}

html body.single-product div.product form.cart button.single_add_to_cart_button.button.alt {
	background: var(--knhaa-green) !important;
	background-color: var(--knhaa-green) !important;
	background-image: none !important;
	border-color: var(--knhaa-green) !important;
	color: var(--knhaa-ivory) !important;
}

body.single-product div.product form.cart button.single_add_to_cart_button:hover {
	background-color: var(--knhaa-ink) !important;
	border-color: var(--knhaa-ink) !important;
	color: #fff !important;
}

html body.single-product div.product form.cart button.single_add_to_cart_button.button.alt:hover {
	background: var(--knhaa-ink) !important;
	background-color: var(--knhaa-ink) !important;
	background-image: none !important;
	border-color: var(--knhaa-ink) !important;
	color: #fff !important;
}

body.single-product div.product form.cart button.single_add_to_cart_button:disabled,
body.single-product div.product form.cart button.single_add_to_cart_button.disabled {
	background: var(--knhaa-green) !important;
	background-color: var(--knhaa-green) !important;
	background-image: none !important;
	border-color: var(--knhaa-green) !important;
	color: var(--knhaa-ivory) !important;
	opacity: 0.62;
}

/* Keep the WooCommerce variation button in the brand palette, including its
 * disabled state before a customer has selected all product options. */
html body.single-product div.product form.cart button[type="submit"].single_add_to_cart_button,
html body.single-product div.product form.cart button[type="submit"].single_add_to_cart_button.disabled,
html body.single-product div.product form.cart button[type="submit"].single_add_to_cart_button:disabled {
	background: #234441 !important;
	background-color: #234441 !important;
	background-image: none !important;
	border-color: #234441 !important;
	box-shadow: none !important;
	color: #f7f6f0 !important;
}

html body.single-product div.product form.cart button[type="submit"].single_add_to_cart_button:hover:not(:disabled):not(.disabled) {
	background: #171918 !important;
	background-color: #171918 !important;
	background-image: none !important;
	border-color: #171918 !important;
	color: #fff !important;
}

.single-product div.product table.variations {
	margin: 0 0 1rem;
	border: 0;
}

.single-product div.product table.variations th,
.single-product div.product table.variations td {
	padding: 0.45rem 0;
	border: 0;
	background: transparent;
	text-align: left;
}

.single-product div.product table.variations th.label {
	padding-bottom: 0.65rem;
	color: var(--knhaa-ink);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.knhaa-child-variation-picker {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
	gap: 10px;
	width: 100%;
	margin: 0.25rem 0 0.9rem;
}

.knhaa-child-variation-picker button {
	width: 100%;
	min-width: 76px;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid var(--knhaa-line);
	border-radius: 999px;
	background: transparent;
	color: var(--knhaa-ink);
	font: inherit;
	font-size: 0.98rem;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.knhaa-child-variation-picker button:hover,
.knhaa-child-variation-picker button.is-selected {
	border-color: var(--knhaa-green);
	background: var(--knhaa-green);
	color: #fff;
}

.knhaa-child-variation-picker button:focus-visible {
	outline: 2px solid var(--knhaa-yellow);
	outline-offset: 2px;
}

.knhaa-child-variation-picker button:disabled {
	border-color: rgba(23, 25, 24, 0.1);
	background: transparent;
	color: rgba(23, 25, 24, 0.35);
	cursor: not-allowed;
	text-decoration: line-through;
}

.knhaa-child-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.single-product div.product .reset_variations {
	margin: 0.25rem 0 0.5rem;
	color: var(--knhaa-blue);
	font-size: 0.8rem;
}

/* Keep standard WooCommerce and KNHAA recommendation sections consistent. */
.single-product .related.products,
.single-product .up-sells.upsells,
.single-product .knhaa-recommendations,
.single-product .knhaa-you-may-also-like,
.single-product .knhaa-recently-viewed,
.single-product .recently-viewed-products {
	margin-top: clamp(48px, 8vw, 100px);
}

/* Recommendations are moved outside WooCommerce's two-column product grid. */
.single-product .knhaa-product-discovery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(48px, 8vw, 100px);
	width: 100%;
	max-width: 1500px;
	margin: clamp(48px, 8vw, 100px) auto 0;
}

.single-product .knhaa-product-discovery > * {
	grid-column: 1 / -1;
	min-width: 0;
}

.single-product .related.products > h2,
.single-product .up-sells.upsells > h2,
.single-product .knhaa-recommendations > h2,
.single-product .knhaa-you-may-also-like > h2,
.single-product .knhaa-recently-viewed > h2,
.single-product .recently-viewed-products > h2 {
	margin-bottom: 1.4rem;
	color: var(--knhaa-ink);
	font-size: clamp(1.25rem, 2vw, 1.8rem);
	letter-spacing: -0.025em;
}

.single-product .related.products ul.products,
.single-product .up-sells.upsells ul.products,
.single-product .knhaa-recommendations ul.products,
.single-product .knhaa-you-may-also-like ul.products,
.single-product .knhaa-recently-viewed ul.products,
.single-product .recently-viewed-products ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 2vw, 28px);
	margin: 0;
}

.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after,
.single-product .up-sells.upsells ul.products::before,
.single-product .up-sells.upsells ul.products::after {
	display: none;
}

.single-product .related.products ul.products li.product,
.single-product .up-sells.upsells ul.products li.product,
.single-product .knhaa-recommendations ul.products li.product,
.single-product .knhaa-you-may-also-like ul.products li.product,
.single-product .knhaa-recently-viewed ul.products li.product,
.single-product .recently-viewed-products ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
}

.single-product .related.products ul.products li.product img,
.single-product .up-sells.upsells ul.products li.product img,
.single-product .knhaa-recommendations ul.products li.product img,
.single-product .knhaa-you-may-also-like ul.products li.product img,
.single-product .knhaa-recently-viewed ul.products li.product img,
.single-product .recently-viewed-products ul.products li.product img {
	width: 100%;
	margin: 0 0 0.8rem;
	background: var(--knhaa-ivory);
}

.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
.single-product .up-sells.upsells ul.products li.product .woocommerce-loop-product__title,
.single-product .knhaa-recommendations ul.products li.product .woocommerce-loop-product__title,
.single-product .knhaa-you-may-also-like ul.products li.product .woocommerce-loop-product__title,
.single-product .knhaa-recently-viewed ul.products li.product .woocommerce-loop-product__title,
.single-product .recently-viewed-products ul.products li.product .woocommerce-loop-product__title {
	color: var(--knhaa-ink);
	font-size: 0.9rem;
}

@media (max-width: 899px) {
	.single-product div.product {
		display: flex;
		flex-direction: column;
	}

	.single-product div.product div.images,
	.single-product div.product div.summary {
		float: none;
		width: 100%;
		margin: 0 0 1.5rem;
	}

	.single-product .related.products ul.products,
	.single-product .up-sells.upsells ul.products,
	.single-product .knhaa-recommendations ul.products,
	.single-product .knhaa-you-may-also-like ul.products,
	.single-product .knhaa-recently-viewed ul.products,
	.single-product .recently-viewed-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Same circular seal on every sale item; the product-card layout is unchanged. */
html body .woocommerce span.onsale {
	box-sizing: border-box;
	display: grid;
	width: 58px;
	min-width: 58px;
	height: 58px;
	min-height: 58px;
	place-items: center;
	padding: 6px;
	border: 1px solid var(--knhaa-green);
	border-radius: 50% !important;
	background: var(--knhaa-yellow);
	background-image: none;
	box-shadow: 0 4px 12px rgba(23, 25, 24, 0.14);
	color: var(--knhaa-ink);
	font-family: var(--knhaa-font-body);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1.05;
	text-align: center;
	text-transform: uppercase;
}

/* Consistent curved controls and image corners across all storefront routes. */
html body .woocommerce button.button,
html body .woocommerce a.button,
html body .woocommerce input.button,
html body .woocommerce #respond input#submit,
html body .woocommerce .single_add_to_cart_button,
html body .wp-block-button__link,
html body .wp-element-button {
	border-radius: var(--knhaa-radius) !important;
}

html body .woocommerce input.input-text,
html body .woocommerce textarea,
html body .woocommerce select,
html body .woocommerce .select2-container .select2-selection {
	border-radius: 8px;
}

html body .woocommerce ul.products li.product .woocommerce-loop-product__link img,
html body .single-product .woocommerce-product-gallery__image img {
	border-radius: var(--knhaa-radius-card);
}

html body .single-product div.product .summary .woocommerce-tabs {
	min-height: 360px;
}

html body .single-product div.product form.cart .single_add_to_cart_button {
	min-height: 52px;
	vertical-align: middle;
}

.knhaa-editorial-info-page .entry-title {
	max-width: 920px;
	margin: clamp(42px, 8vw, 96px) auto 18px;
	padding-inline: clamp(18px, 4vw, 54px);
	font-size: clamp(2.4rem, 7vw, 5.8rem);
	font-weight: 600;
	letter-spacing: -0.065em;
	line-height: 0.98;
}

.knhaa-editorial-info-page .knhaa-editorial-page {
	margin-top: 0;
}

@media (max-width: 899px) {
	html body .single-product div.product .summary .woocommerce-tabs {
		min-height: 360px;
	}

	.knhaa-editorial-info-page .entry-title {
		margin-top: 38px;
		font-size: clamp(2.35rem, 10vw, 4.2rem);
	}

	html body .woocommerce .woocommerce-ordering,
	html body .woocommerce .woocommerce-result-count {
		float: none;
	}

	html body .woocommerce .woocommerce-ordering {
		margin: 0 0 16px;
	}
}

/* Final product-page layout: size first, paired actions next, quantity in bag. */
html body.single-product div.product .summary h1.product_title {
	margin: 0 0 6px !important;
	line-height: 1.06 !important;
}

html body.single-product div.product .summary p.price,
html body.single-product div.product .summary span.price {
	margin: 0 0 16px !important;
	padding: 0 !important;
	line-height: 1.15 !important;
}

html body.single-product div.product .summary form.cart .quantity {
	display: none !important;
}

html body.single-product div.product .summary form.cart:not(.variations_form),
html body.single-product div.product .summary form.cart .woocommerce-variation-add-to-cart {
	display: block !important;
	width: 100%;
}

html body.single-product div.product .summary form.cart div.knhaa-product-actions {
	display: grid !important;
	width: 100%;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 4px 0 0;
}

html body.single-product div.product .summary form.cart div.knhaa-product-actions > button.knhaa-add-to-bag,
html body.single-product div.product .summary form.cart div.knhaa-product-actions > button.knhaa-buy-now {
	display: inline-flex !important;
	width: 100% !important;
	min-width: 0;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 12px 14px !important;
	border: 1px solid var(--knhaa-green) !important;
	border-radius: 999px !important;
	background: var(--knhaa-green) !important;
	background-color: var(--knhaa-green) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 0.76rem;
	font-weight: 650;
	letter-spacing: 0.045em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

html body.single-product div.product .summary form.cart div.knhaa-product-actions > button.knhaa-buy-now {
	border-color: var(--knhaa-ink) !important;
	background: var(--knhaa-ink) !important;
	background-color: var(--knhaa-ink) !important;
	color: #fff !important;
}

html body.single-product div.product .summary form.cart div.knhaa-product-actions > button.knhaa-add-to-bag:hover:not(:disabled),
html body.single-product div.product .summary form.cart div.knhaa-product-actions > button.knhaa-buy-now:hover:not(:disabled) {
	border-color: var(--knhaa-yellow) !important;
	background: var(--knhaa-yellow) !important;
	background-color: var(--knhaa-yellow) !important;
	color: var(--knhaa-ink) !important;
}

html body.single-product div.product .summary form.cart div.knhaa-product-actions > button:disabled {
	opacity: 0.72;
}

html body.single-product .woocommerce .knhaa-product-discovery {
	display: flex !important;
	width: 100%;
	flex-direction: column;
	gap: clamp(32px, 4vw, 56px);
	margin: clamp(36px, 4vw, 64px) auto 0 !important;
}

html body.single-product .woocommerce .knhaa-product-discovery > .related.products,
html body.single-product .woocommerce .knhaa-product-discovery > .up-sells.upsells,
html body.single-product .woocommerce .knhaa-product-discovery > .knhaa-recommendations,
html body.single-product .woocommerce .knhaa-product-discovery > .knhaa-you-may-also-like,
html body.single-product .woocommerce .knhaa-product-discovery > .knhaa-recently-viewed,
html body.single-product .woocommerce .knhaa-product-discovery > .recently-viewed-products {
	display: block !important;
	width: 100%;
	float: none !important;
	clear: both;
}

html body.single-product .woocommerce .knhaa-product-discovery > * > h2 {
	display: block !important;
	width: 100%;
	margin: 0 0 18px !important;
}

@media (max-width: 520px) {
	html body.single-product div.product .summary form.cart div.knhaa-product-actions {
		gap: 8px;
	}

	html body.single-product div.product .summary form.cart div.knhaa-product-actions > button.knhaa-add-to-bag,
	html body.single-product div.product .summary form.cart div.knhaa-product-actions > button.knhaa-buy-now {
		min-height: 48px;
		padding-inline: 8px !important;
		font-size: 0.68rem;
	}
}

/* Match the supplied BLUORNG product composition using KNHAA styling. */
@media (min-width: 900px) {
	html body.single-product div.product div.summary {
		position: sticky;
		top: 22px;
		align-self: start;
	}

	html body.single-product .woocommerce-product-gallery .flex-viewport {
		height: auto !important;
		overflow: visible !important;
	}

	html body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
		display: grid !important;
		width: 100% !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		transform: none !important;
	}

	html body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
		display: block !important;
		width: 100% !important;
		float: none !important;
		margin: 0 !important;
	}

	html body.single-product .woocommerce-product-gallery .flex-control-thumbs {
		display: none !important;
	}
}

html body.single-product div.product .summary .knhaa-product-buy-card,
html body.single-product div.product .summary .knhaa-product-info-card {
	box-sizing: border-box;
	width: 100%;
	padding: clamp(16px, 1.8vw, 26px);
	border: 1px solid rgba(23, 25, 24, 0.12);
	border-radius: 16px;
	background: #fff;
}

html body.single-product div.product .summary .knhaa-product-info-card {
	margin-top: 16px;
}

html body.single-product div.product .summary .knhaa-product-buy-card > .product_title {
	margin: 0 0 4px !important;
	font-size: clamp(1.3rem, 1.55vw, 1.75rem) !important;
	line-height: 1.14 !important;
}

html body.single-product div.product .summary .knhaa-product-buy-card > .price {
	margin: 0 0 16px !important;
	font-size: 1rem !important;
	line-height: 1.2 !important;
}

html body.single-product div.product .summary .knhaa-product-buy-card .woocommerce-product-details__short-description {
	margin: 10px 0 14px;
	font-size: 0.9rem;
	line-height: 1.5;
}

html body.single-product div.product .summary .knhaa-product-buy-card .product_meta {
	margin-top: 14px;
	font-size: 0.75rem;
}

html body.single-product div.product .summary .knhaa-product-info-card .woocommerce-tabs {
	box-sizing: border-box;
	width: 100%;
	height: 360px !important;
	min-height: 360px !important;
	margin: 0 !important;
	overflow-y: auto !important;
}

html body.single-product .woocommerce .knhaa-product-discovery ul.products {
	display: grid !important;
	width: 100% !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	clear: both;
	float: none !important;
	margin: 0 !important;
}

html body.single-product .woocommerce .knhaa-product-discovery,
html body.single-product .woocommerce .knhaa-product-discovery > * {
	position: static !important;
	float: none !important;
	clear: both !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	transform: none !important;
	animation: none !important;
}

html body.single-product .woocommerce .knhaa-product-discovery > * {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0 !important;
}

html body.single-product .woocommerce .knhaa-product-discovery > * > h2 {
	order: 0;
	margin: 0 0 18px !important;
	text-align: left !important;
}

html body.single-product .woocommerce .knhaa-product-discovery > * > ul.products {
	order: 1;
}

html body.single-product .woocommerce .knhaa-product-discovery ul.products::before,
html body.single-product .woocommerce .knhaa-product-discovery ul.products::after {
	display: none !important;
}

@media (max-width: 899px) {
	html body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
		display: grid !important;
		width: 100% !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		transform: none !important;
	}

	html body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
		width: 100% !important;
		float: none !important;
	}

	html body.single-product .woocommerce-product-gallery .flex-control-thumbs {
		display: none !important;
	}

	html body.single-product div.product .summary .knhaa-product-info-card .woocommerce-tabs {
		height: 360px !important;
		min-height: 360px !important;
	}

	html body.single-product .woocommerce .knhaa-product-discovery ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	html body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
		grid-template-columns: 1fr;
	}
}

/* v1.2.5: final product buying and discovery layout. */
html body.single-product {
	overflow-x: clip;
}

html body.single-product .woocommerce,
html body.single-product div.product,
html body.single-product div.product > *,
html body.single-product .woocommerce-product-gallery,
html body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
	box-sizing: border-box;
	min-width: 0;
}

html body.single-product div.product form.cart .quantity {
	display: none !important;
}

html body.single-product div.product .summary .knhaa-product-buy-card > h1.product_title,
html body.single-product div.product .summary .knhaa-product-buy-card > .product_title {
	margin: 0 0 5px !important;
	font-size: clamp(1.35rem, 1.8vw, 1.85rem) !important;
	line-height: 1.12 !important;
}

html body.single-product div.product .summary .knhaa-product-buy-card > p.price,
html body.single-product div.product .summary .knhaa-product-buy-card > span.price {
	margin: 0 0 12px !important;
	line-height: 1.2 !important;
}

html body.single-product div.product .summary form.cart div.knhaa-product-actions {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	width: 100% !important;
	gap: 16px !important;
	margin-top: 8px !important;
}

html body.single-product div.product .summary form.cart div.knhaa-product-actions > button.knhaa-add-to-bag {
	background: #234441 !important;
	background-color: #234441 !important;
	border-color: #234441 !important;
	color: #f7f6f0 !important;
}

html body.single-product div.product .summary form.cart div.knhaa-product-actions > button.knhaa-buy-now {
	background: #171918 !important;
	background-color: #171918 !important;
	border-color: #171918 !important;
	color: #f7f6f0 !important;
}

html body.single-product div.product > .related.products,
html body.single-product div.product > .up-sells.upsells,
html body.single-product div.product > .knhaa-recommendations,
html body.single-product div.product > .knhaa-you-may-also-like,
html body.single-product div.product > .knhaa-recently-viewed,
html body.single-product div.product > .recently-viewed-products,
html body.single-product .woocommerce .knhaa-product-discovery > *,
html body.single-product .woocommerce .knhaa-product-discovery > .knhaa-discovery-section {
	position: static !important;
	float: none !important;
	clear: both !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	transform: none !important;
	animation: none !important;
}

html body.single-product div.product > .related.products,
html body.single-product div.product > .up-sells.upsells,
html body.single-product div.product > .knhaa-recommendations,
html body.single-product div.product > .knhaa-you-may-also-like,
html body.single-product div.product > .knhaa-recently-viewed,
html body.single-product div.product > .recently-viewed-products,
html body.single-product .woocommerce .knhaa-product-discovery > *,
html body.single-product .woocommerce .knhaa-product-discovery > .knhaa-discovery-section {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0 !important;
}

html body.single-product .woocommerce .knhaa-product-discovery h2,
html body.single-product .woocommerce .knhaa-product-discovery h3,
html body.single-product div.product > .related.products h2,
html body.single-product div.product > .up-sells.upsells h2,
html body.single-product div.product > .knhaa-recommendations h2,
html body.single-product div.product > .knhaa-you-may-also-like h2,
html body.single-product div.product > .knhaa-recently-viewed h2,
html body.single-product div.product > .recently-viewed-products h2 {
	order: 0;
	width: 100%;
	margin: 0 0 18px !important;
	text-align: left !important;
	font-size: clamp(1.35rem, 2.3vw, 2rem) !important;
	line-height: 1.1 !important;
}

html body.single-product .woocommerce .knhaa-product-discovery ul.products,
html body.single-product div.product > .related.products ul.products,
html body.single-product div.product > .up-sells.upsells ul.products,
html body.single-product div.product > .knhaa-recommendations ul.products,
html body.single-product div.product > .knhaa-you-may-also-like ul.products,
html body.single-product div.product > .knhaa-recently-viewed ul.products,
html body.single-product div.product > .recently-viewed-products ul.products {
	order: 1;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	width: 100% !important;
	margin: 0 !important;
}

@media (max-width: 899px) {
	html body.single-product .woocommerce .knhaa-product-discovery ul.products,
	html body.single-product div.product > .related.products ul.products,
	html body.single-product div.product > .up-sells.upsells ul.products,
	html body.single-product div.product > .knhaa-recommendations ul.products,
	html body.single-product div.product > .knhaa-you-may-also-like ul.products,
	html body.single-product div.product > .knhaa-recently-viewed ul.products,
	html body.single-product div.product > .recently-viewed-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Keep recommendations in a full-width row after the complete product grid. */
html body.single-product div.product::after {
	content: "" !important;
	display: block !important;
	clear: both !important;
}

html body.single-product .woocommerce > .knhaa-product-discovery {
	position: relative !important;
	clear: both !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 48px auto 0 !important;
	padding: 0 !important;
	grid-column: 1 / -1 !important;
}

html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section {
	position: static !important;
	float: none !important;
	clear: both !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	align-items: stretch !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	transform: none !important;
	animation: none !important;
}

html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section > h2 {
	position: static !important;
	float: none !important;
	clear: both !important;
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
	transform: none !important;
	text-align: left !important;
}

html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section > ul.products {
	grid-row: 2 !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

/* You May Also Like becomes a touch-friendly auto-advancing rail only when
 * there are more than four products. Its heading remains anchored above it. */
html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section[data-knhaa-carousel="true"] > ul.products {
	display: flex !important;
	flex-flow: row nowrap !important;
	gap: 18px !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0 0 8px !important;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section[data-knhaa-carousel="true"] > ul.products > li.product {
	float: none !important;
	clear: none !important;
	flex: 0 0 calc((100% - 54px) / 4) !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	scroll-snap-align: start;
}

@media (max-width: 899px) {
	html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section[data-knhaa-carousel="true"] > ul.products {
		gap: 12px !important;
	}

	html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section[data-knhaa-carousel="true"] > ul.products > li.product {
		flex-basis: calc((100% - 12px) / 2) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section[data-knhaa-carousel="true"] > ul.products {
		scroll-behavior: auto;
	}
}

html body.single-product div.product .summary form.cart .quantity,
html body.single-product div.product .summary form.cart .quantity .knhaa-qty-step,
html body.single-product div.product .summary form.cart .quantity input.qty {
	display: none !important;
	visibility: hidden !important;
}

html body.single-product div.product .summary form.cart div.knhaa-product-actions {
	gap: 16px !important;
}

html body.single-product div.product .summary form.cart div.knhaa-product-actions > button.knhaa-add-to-bag {
	background: #234441 !important;
	background-color: #234441 !important;
	border-color: #234441 !important;
	color: #f7f6f0 !important;
}

html body.single-product div.product .summary form.cart div.knhaa-product-actions > button.knhaa-buy-now {
	background: #171918 !important;
	background-color: #171918 !important;
	border-color: #171918 !important;
	color: #f7f6f0 !important;
}

@media (max-width: 520px) {
	html body.single-product div.product .summary form.cart div.knhaa-product-actions {
		grid-template-columns: 1fr !important;
	}
}

/* One branded sale seal across classic WooCommerce and block product cards. */
html body .woocommerce span.onsale,
html body .woocommerce-page span.onsale,
html body .wc-block-grid__product-onsale,
html body .wc-block-components-product-sale-badge,
html body .wp-block-woocommerce-product-sale-badge {
	box-sizing: border-box !important;
	display: grid !important;
	width: 60px !important;
	min-width: 60px !important;
	max-width: 60px !important;
	height: 60px !important;
	min-height: 60px !important;
	place-items: center !important;
	margin: 0 !important;
	padding: 6px !important;
	border: 1px solid var(--knhaa-green) !important;
	border-radius: 50% !important;
	background: var(--knhaa-yellow) !important;
	background-color: var(--knhaa-yellow) !important;
	background-image: none !important;
	box-shadow: 0 4px 12px rgba(23, 25, 24, 0.16) !important;
	color: var(--knhaa-ink) !important;
	font-family: var(--knhaa-font-body) !important;
	font-size: 0.64rem !important;
	font-weight: 750 !important;
	letter-spacing: 0.06em !important;
	line-height: 1.05 !important;
	text-align: center !important;
	text-transform: uppercase !important;
}

html body .woocommerce ul.products li.product > a .onsale,
html body .woocommerce ul.products li.product .woocommerce-loop-product__link .onsale,
html body .woocommerce div.product div.images .onsale,
html body .wc-block-grid__product .wc-block-grid__product-onsale {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	left: auto !important;
	z-index: 5 !important;
}

html body .woocommerce ul.products li.product,
html body .wc-block-grid__product {
	position: relative;
}

/* v1.3.1: final overrides for WooCommerce controls and discovery placement. */
html body.single-product div.product .summary form.cart .quantity,
html body.single-product div.product .summary form.cart .quantity input.qty,
html body.single-product div.product .summary form.cart .quantity button,
html body.single-product div.product .summary form.cart a.reset_variations,
html body.single-product div.product .summary form.cart .reset_variations {
	display: none !important;
	visibility: hidden !important;
}

/* Keep the variation buttons; omit the repeated visible attribute caption. */
html body.single-product div.product .summary form.variations_form table.variations th.label,
html body.single-product div.product .summary form.variations_form table.variations td.label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

html body.single-product div.product .summary form.variations_form .knhaa-child-variation-picker {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)) !important;
	gap: 10px !important;
	width: 100% !important;
}

html body.single-product div.product .summary form.variations_form .knhaa-child-variation-picker button {
	width: 100% !important;
	min-width: 0 !important;
	min-height: 54px !important;
	padding: 12px 14px !important;
	font-size: 1rem !important;
}

html body.single-product div.product .summary .knhaa-product-buy-card > .product_title {
	margin: 0 0 5px !important;
	font-size: clamp(1.35rem, 1.8vw, 1.85rem) !important;
	line-height: 1.12 !important;
}

html body.single-product div.product .summary .knhaa-product-buy-card > .price {
	margin: 0 0 12px !important;
	line-height: 1.2 !important;
}

html body.single-product div.product .summary form.cart .knhaa-product-actions {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	align-items: stretch !important;
	gap: 18px !important;
	width: 100% !important;
	margin: 8px 0 0 !important;
}

html body.single-product div.product .summary form.cart .knhaa-product-actions > button.knhaa-add-to-bag,
html body.single-product div.product .summary form.cart .knhaa-product-actions > button.knhaa-buy-now {
	display: inline-flex !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 52px !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	border: 1px solid #234441 !important;
	border-radius: 999px !important;
	background: #234441 !important;
	background-color: #234441 !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #f7f6f0 !important;
	font-size: 0.76rem !important;
	font-weight: 650 !important;
	letter-spacing: 0.045em !important;
	line-height: 1.2 !important;
	text-align: center !important;
	text-transform: uppercase !important;
}

html body.single-product div.product .summary form.cart .knhaa-product-actions > button.knhaa-add-to-bag:hover,
html body.single-product div.product .summary form.cart .knhaa-product-actions > button.knhaa-buy-now:hover,
html body.single-product div.product .summary form.cart .knhaa-product-actions > button.knhaa-add-to-bag:focus-visible,
html body.single-product div.product .summary form.cart .knhaa-product-actions > button.knhaa-buy-now:focus-visible {
	background: #234441 !important;
	background-color: #234441 !important;
	border-color: #234441 !important;
	color: #f7f6f0 !important;
}

html body.single-product .woocommerce > .knhaa-product-discovery {
	position: relative !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	clear: both !important;
	float: none !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: clamp(36px, 5vw, 72px) 0 0 !important;
	padding: 0 !important;
	transform: none !important;
}

/* v1.3.2: hide the duplicate size caption while keeping picker buttons and an
 * accessible group label; tighten the product title-to-price rhythm. */
html body.single-product div.product .summary .product_title {
	margin: 0 0 2px !important;
	line-height: 1.02 !important;
}

html body.single-product div.product .summary p.price,
html body.single-product div.product .summary span.price {
	margin: 0 0 12px !important;
	padding: 0 !important;
	line-height: 1.12 !important;
}

html body.single-product div.product .summary form.variations_form .knhaa-size-label-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

html body.single-product div.product .summary form.variations_form .knhaa-size-guide-trigger {
	display: block !important;
	width: max-content !important;
	margin: 0 0 10px auto !important;
	padding: 8px 14px !important;
	border: 1px solid var(--knhaa-line) !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: var(--knhaa-ink) !important;
	font-size: 0.72rem !important;
	font-weight: 650 !important;
	letter-spacing: 0.04em !important;
	line-height: 1.1 !important;
	cursor: pointer;
}

html body.single-product .knhaa-size-guide-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(23, 25, 24, 0.58);
}

html body.single-product .knhaa-size-guide-dialog {
	position: relative;
	width: min(100%, 660px);
	max-height: min(90vh, 760px);
	overflow: auto;
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid var(--knhaa-line);
	border-radius: 18px;
	background: var(--knhaa-ivory);
	color: var(--knhaa-ink);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

html body.single-product .knhaa-size-guide-dialog h2 {
	margin: 0 48px 10px 0;
	font-size: clamp(1.5rem, 4vw, 2rem);
}

html body.single-product .knhaa-size-guide-note,
html body.single-product .knhaa-size-guide-footnote {
	font-size: 0.88rem;
	line-height: 1.55;
}

html body.single-product .knhaa-size-guide-units {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
	margin: 18px 0 10px;
}

html body.single-product .knhaa-size-guide-units button,
html body.single-product .knhaa-size-guide-close {
	border: 1px solid var(--knhaa-line);
	border-radius: 999px;
	background: #fff;
	color: var(--knhaa-ink);
	cursor: pointer;
}

html body.single-product .knhaa-size-guide-units button {
	min-width: 48px;
	padding: 8px 12px;
}

html body.single-product .knhaa-size-guide-units button.is-active {
	border-color: var(--knhaa-green);
	background: var(--knhaa-green);
	color: #fff;
}

html body.single-product .knhaa-size-guide-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	font-size: 1.5rem;
	line-height: 1;
}

html body.single-product .knhaa-size-guide-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--knhaa-line);
	border-radius: 12px;
	background: #fff;
}

html body.single-product .knhaa-size-guide-table {
	width: 100%;
	min-width: 420px;
	border-collapse: collapse;
	text-align: center;
}

html body.single-product .knhaa-size-guide-table th,
html body.single-product .knhaa-size-guide-table td {
	padding: 12px 10px;
	border-bottom: 1px solid rgba(23, 25, 24, 0.1);
}

html body.single-product .knhaa-size-guide-table tr:last-child th,
html body.single-product .knhaa-size-guide-table tr:last-child td {
	border-bottom: 0;
}

html body.single-product .woocommerce > .knhaa-product-discovery {
	display: flex !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	grid-column: 1 / -1 !important;
	align-self: stretch !important;
	justify-self: stretch !important;
	float: none !important;
	clear: both !important;
}

html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section {
	display: flex !important;
	width: 100% !important;
	max-width: 100% !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

html body.single-product .knhaa-product-discovery {
	grid-column: 1 / -1 !important;
	flex: 0 0 100% !important;
	clear: both !important;
	position: relative !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: clamp(36px, 5vw, 72px) 0 0 !important;
	transform: none !important;
}

html body.single-product .knhaa-product-discovery > .knhaa-discovery-section {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section {
	position: static !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	grid-template-rows: auto auto !important;
	float: none !important;
	clear: both !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
}

html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section > h2,
html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section > h3 {
	grid-row: 1 !important;
	position: static !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 18px !important;
	text-align: left !important;
	transform: none !important;
}

html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section > ul.products,
html body.single-product .woocommerce > .knhaa-product-discovery > .knhaa-discovery-section > .products {
	grid-row: 2 !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

/* v1.3.3: make the recommendation shelf a separate, full-width row beneath
 * the product, with each section title directly above its product cards. */
html body.single-product .site-main > .knhaa-product-discovery,
html body.single-product main > .knhaa-product-discovery,
html body.single-product #primary > .knhaa-product-discovery {
	position: relative !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	grid-column: 1 / -1 !important;
	clear: both !important;
	float: none !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: clamp(36px, 5vw, 72px) 0 0 !important;
	padding: 0 clamp(18px, 4vw, 72px) !important;
	transform: none !important;
}

html body.single-product .knhaa-product-discovery > .knhaa-discovery-section {
	position: static !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	grid-template-rows: auto auto !important;
	float: none !important;
	clear: both !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 0 clamp(36px, 5vw, 64px) !important;
	padding: 0 !important;
	transform: none !important;
}

html body.single-product .knhaa-product-discovery > .knhaa-discovery-section > h2,
html body.single-product .knhaa-product-discovery > .knhaa-discovery-section > h3 {
	grid-row: 1 !important;
	position: static !important;
	display: block !important;
	float: none !important;
	clear: both !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
	font-size: clamp(1.5rem, 2.6vw, 2.4rem) !important;
	line-height: 1.05 !important;
	text-align: left !important;
	transform: none !important;
}

html body.single-product .knhaa-product-discovery .knhaa-discovery-section > ul.products,
html body.single-product .knhaa-product-discovery .knhaa-discovery-section > .products {
	grid-row: 2 !important;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: clamp(12px, 1.6vw, 24px) !important;
	float: none !important;
	clear: both !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body.single-product .knhaa-product-discovery .knhaa-discovery-section > ul.products > li.product {
	float: none !important;
	clear: none !important;
	box-sizing: border-box !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
}

html body.single-product .knhaa-product-discovery .knhaa-discovery-section[data-knhaa-carousel="true"] > ul.products {
	display: flex !important;
	flex-flow: row nowrap !important;
	gap: 18px !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

html body.single-product .knhaa-product-discovery .knhaa-discovery-section[data-knhaa-carousel="true"] > ul.products > li.product {
	flex: 0 0 calc((100% - 54px) / 4) !important;
	scroll-snap-align: start;
}

/* Place Size Guide in the product-information tab row, immediately after Shipping. */
html body.single-product div.product .summary .woocommerce-tabs ul.tabs {
	flex-wrap: wrap !important;
	align-items: center !important;
}

html body.single-product div.product .summary .woocommerce-tabs ul.tabs li.knhaa-size-guide-tab {
	flex: 0 0 auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body.single-product div.product .summary .woocommerce-tabs ul.tabs li.knhaa-size-guide-tab > .knhaa-size-guide-trigger {
	position: static !important;
	display: inline-flex !important;
	width: auto !important;
	min-height: 0 !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: rgba(23, 25, 24, 0.72) !important;
	font: inherit !important;
	font-size: 0.82rem !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
	line-height: inherit !important;
	text-transform: none !important;
	cursor: pointer !important;
}

html body.single-product div.product .summary .woocommerce-tabs ul.tabs li.knhaa-size-guide-tab > .knhaa-size-guide-trigger:hover,
html body.single-product div.product .summary .woocommerce-tabs ul.tabs li.knhaa-size-guide-tab > .knhaa-size-guide-trigger:focus-visible {
	color: var(--knhaa-green) !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Tighten the product name and price into one compact title block. */
html body.single-product div.product .summary .knhaa-product-buy-card > .product_title {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.04 !important;
}

html body.single-product div.product .summary .knhaa-product-buy-card > .price {
	margin: 2px 0 8px !important;
	padding: 0 !important;
	line-height: 1.12 !important;
}

@media (max-width: 899px) {
	html body.single-product .knhaa-product-discovery .knhaa-discovery-section > ul.products,
	html body.single-product .knhaa-product-discovery .knhaa-discovery-section > .products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	html body.single-product .knhaa-product-discovery {
		padding-inline: 16px !important;
	}
}

/* Uniform outline badge, matching the supplied store-card reference. */
html body .woocommerce span.onsale,
html body .woocommerce-page span.onsale,
html body .wc-block-grid__product-onsale,
html body .wc-block-components-product-sale-badge,
html body .wp-block-woocommerce-product-sale-badge {
	display: inline-flex !important;
	box-sizing: border-box !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 7px 11px !important;
	border: 1px solid #171918 !important;
	border-radius: 6px !important;
	background: #fff !important;
	background-color: #fff !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #171918 !important;
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.035em !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
}

html body .woocommerce ul.products li.product > a .onsale,
html body .woocommerce ul.products li.product .woocommerce-loop-product__link .onsale,
html body .woocommerce div.product div.images .onsale,
html body .wc-block-grid__product .wc-block-grid__product-onsale {
	top: 12px !important;
	right: 12px !important;
	left: auto !important;
}

@media (max-width: 520px) {
	html body.single-product div.product .summary form.variations_form .knhaa-child-variation-picker {
		grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)) !important;
		gap: 8px !important;
	}
	html body.single-product div.product .summary form.variations_form .knhaa-child-variation-picker button {
		min-height: 50px !important;
	}
	html body.single-product div.product .summary form.cart .knhaa-product-actions {
		gap: 10px !important;
	}
	html body.single-product div.product .summary form.cart .knhaa-product-actions > button.knhaa-add-to-bag,
	html body.single-product div.product .summary form.cart .knhaa-product-actions > button.knhaa-buy-now {
		min-height: 48px !important;
		padding-inline: 8px !important;
		font-size: 0.68rem !important;
	}
}


/* v1.3.4 — authoritative recommendation shelf layout.
   Keep each heading and its product cards together in a full-width section. */
html body.single-product .knhaa-product-discovery {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-flow: row !important;
  align-items: start !important;
  justify-items: stretch !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
  position: relative !important;
  width: 100% !important;
  max-width: 1500px !important;
  min-width: 0 !important;
  margin: clamp(36px, 5vw, 72px) auto 0 !important;
  padding: 0 clamp(18px, 4vw, 72px) !important;
  transform: none !important;
}
html body.single-product .knhaa-product-discovery > .knhaa-discovery-section {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: start !important;
  justify-items: stretch !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  grid-column: 1 / -1 !important;
  margin: 0 0 clamp(36px, 5vw, 64px) !important;
  padding: 0 !important;
  transform: none !important;
}
html body.single-product .knhaa-product-discovery > .knhaa-discovery-section > h2,
html body.single-product .knhaa-product-discovery > .knhaa-discovery-section > h3 {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  text-align: left !important;
  transform: none !important;
}
html body.single-product .knhaa-product-discovery > .knhaa-discovery-section > ul.products,
html body.single-product .knhaa-product-discovery > .knhaa-discovery-section > .products {
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(12px, 1.6vw, 24px) !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body.single-product .knhaa-product-discovery > .knhaa-discovery-section > ul.products > li.product,
html body.single-product .knhaa-product-discovery > .knhaa-discovery-section > .products > li.product {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}
@media (max-width: 899px) {
  html body.single-product .knhaa-product-discovery {
    padding-inline: 16px !important;
  }
  html body.single-product .knhaa-product-discovery > .knhaa-discovery-section > ul.products,
  html body.single-product .knhaa-product-discovery > .knhaa-discovery-section > .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* v1.3.5: Keep WooCommerce tabs and recommendations in native document flow. */
body.single-product div.product > .woocommerce-tabs {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  margin: 42px 0 12px !important;
  padding: 20px 0 0 !important;
  position: static !important;
}
body.single-product div.product > .knhaa-recommendations,
body.single-product div.product > .related,
body.single-product div.product > .up-sells {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  position: static !important;
  clear: both !important;
}
body.single-product div.product > .knhaa-recommendations .knhaa-recommendation-heading {
  display: block !important;
  width: 100% !important;
  margin: 0 0 20px !important;
}
body.single-product div.product > .knhaa-recommendations .knhaa-recommendation-heading h2 {
  margin: 0 !important;
}
body.single-product div.product > .knhaa-recommendations ul.products {
  width: 100% !important;
}
@media (max-width: 800px) {
  body.single-product div.product > .woocommerce-tabs {
    margin-top: 28px !important;
  }
}


/* v1.3.6: Let the parent theme's native WooCommerce hook order control tabs and recommendations. */
body.single-product div.product > .summary { min-width: 0; }
body.single-product div.product > .woocommerce-tabs,
body.single-product div.product > .knhaa-recommendations,
body.single-product div.product > .related,
body.single-product div.product > .up-sells { position: static !important; float: none !important; clear: both !important; height: auto !important; min-height: 0 !important; overflow: visible !important; }
body.single-product div.product > .woocommerce-tabs { width: 100% !important; max-width: 100% !important; margin: 36px 0 16px !important; }
body.single-product div.product > .knhaa-recommendations { width: 100% !important; max-width: 100% !important; margin: 28px 0 0 !important; }


/* v1.3.7 product summary refinements: keep purchase controls intact. */
.single-product div.product .summary .product_title {
  margin-bottom: 2px !important;
}
.single-product div.product .summary p.price,
.single-product div.product .summary span.price {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}
/* Trust row is inserted after the existing cart form; never restyle cart buttons. */
.single-product .knhaa-product-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 18px;
  padding: 12px 0;
  border-top: 1px solid var(--knhaa-line);
  border-bottom: 1px solid var(--knhaa-line);
}
.single-product .knhaa-product-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  text-align: center;
  color: var(--knhaa-ink);
  font-size: 11px;
  line-height: 1.35;
}
.single-product .knhaa-product-trust-item svg {
  width: 21px;
  height: 21px;
  display: block;
  stroke: var(--knhaa-green);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.single-product div.product .summary .woocommerce-tabs.knhaa-product-accordions {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: both !important;
}
.single-product .knhaa-product-accordions > ul.tabs { display: none !important; }
.single-product .knhaa-product-accordion {
  border-bottom: 1px solid var(--knhaa-line);
}
.single-product .knhaa-product-accordion > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--knhaa-ink);
}
.single-product .knhaa-product-accordion > summary::-webkit-details-marker { display: none; }
.single-product .knhaa-product-accordion > summary::after {
  content: '+';
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}
.single-product .knhaa-product-accordion[open] > summary::after { content: '−'; }
.single-product .knhaa-product-accordion .panel {
  display: block !important;
  margin: 0 !important;
  padding: 0 0 16px !important;
  color: rgba(23,25,24,.78);
  font-size: 13px;
  line-height: 1.65;
}
@media (max-width: 899px) {
  .single-product .knhaa-product-trust { gap: 5px; }
  .single-product .knhaa-product-trust-item { font-size: 10px; }
}


/* v1.3.8 product information layout */
html body.single-product div.product .summary .product_title { margin-bottom: 3px !important; }
html body.single-product div.product .summary p.price,
html body.single-product div.product .summary span.price { margin-top: 0 !important; margin-bottom: 10px !important; }
html body.single-product div.product .summary .knhaa-product-trust-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; width:100%; margin:14px 0 12px; padding:10px 0; border-top:1px solid var(--knhaa-line); border-bottom:1px solid var(--knhaa-line); }
html body.single-product div.product .summary .knhaa-trust-item { display:flex; align-items:center; justify-content:center; gap:6px; text-align:center; font-size:11px; line-height:1.35; }
html body.single-product div.product .summary .knhaa-trust-icon { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; font-size:18px; color:var(--knhaa-green); }
html body.single-product div.product .summary .woocommerce-tabs { width:100% !important; max-width:none !important; float:none !important; clear:both !important; margin:0 !important; padding:0 !important; }
html body.single-product div.product .summary .woocommerce-tabs ul.tabs { display:none !important; }
html body.single-product div.product .summary .woocommerce-tabs .knhaa-product-accordion { display:block; margin:0; border-bottom:1px solid var(--knhaa-line); }
html body.single-product div.product .summary .woocommerce-tabs .knhaa-product-accordion > summary { display:flex; align-items:center; justify-content:space-between; padding:15px 0; cursor:pointer; list-style:none; font-size:13px; font-weight:600; }
html body.single-product div.product .summary .woocommerce-tabs .knhaa-product-accordion > summary::-webkit-details-marker { display:none; }
html body.single-product div.product .summary .woocommerce-tabs .knhaa-product-accordion > summary::after { content:'+'; font-size:19px; font-weight:400; }
html body.single-product div.product .summary .woocommerce-tabs .knhaa-product-accordion[open] > summary::after { content:'−'; }
html body.single-product div.product .summary .woocommerce-tabs .knhaa-product-accordion .panel { display:block !important; float:none !important; width:100% !important; margin:0 !important; padding:0 0 16px !important; border:0 !important; }
@media (max-width: 520px) { html body.single-product div.product .summary .knhaa-product-trust-row { gap:5px; } html body.single-product div.product .summary .knhaa-trust-item { flex-direction:column; font-size:10px; } }

/* v1.3.9: final, scoped product information layout. Purchase controls remain untouched. */
html body.single-product div.product .summary > .product_title { margin-bottom: 2px !important; }
html body.single-product div.product .summary > p.price,
html body.single-product div.product .summary > span.price { margin-top: 0 !important; margin-bottom: 12px !important; }
html body.single-product div.product .summary .knhaa-product-trust { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; width:100%; margin:14px 0 12px; padding:12px 0; border-top:1px solid var(--knhaa-line); border-bottom:1px solid var(--knhaa-line); }
html body.single-product div.product .summary .knhaa-product-trust-item { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:6px; text-align:center; font-size:11px; line-height:1.35; }
html body.single-product div.product .summary .knhaa-product-trust-item svg { display:block; width:21px; height:21px; fill:none; stroke:var(--knhaa-green); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
html body.single-product div.product .summary .woocommerce-tabs.knhaa-product-accordions { display:block !important; float:none !important; clear:both !important; width:100% !important; max-width:100% !important; height:auto !important; min-height:0 !important; margin:0 !important; padding:0 !important; }
html body.single-product div.product .summary .woocommerce-tabs.knhaa-product-accordions > ul.tabs { display:none !important; }
html body.single-product div.product .summary .knhaa-product-accordion { display:block; margin:0; border-bottom:1px solid var(--knhaa-line); }
html body.single-product div.product .summary .knhaa-product-accordion > summary { display:flex; align-items:center; justify-content:space-between; padding:14px 0; cursor:pointer; list-style:none; font-size:13px; font-weight:600; }
html body.single-product div.product .summary .knhaa-product-accordion > summary::-webkit-details-marker { display:none; }
html body.single-product div.product .summary .knhaa-product-accordion > summary:after { content:'+'; font-size:19px; font-weight:400; }
html body.single-product div.product .summary .knhaa-product-accordion[open] > summary:after { content:'−'; }
html body.single-product div.product .summary .knhaa-product-accordion .panel { display:block !important; float:none !important; width:100% !important; margin:0 !important; padding:0 0 15px !important; border:0 !important; }
@media(max-width:520px){ html body.single-product div.product .summary .knhaa-product-trust { gap:5px; } html body.single-product div.product .summary .knhaa-product-trust-item { font-size:10px; } }


/* v1.3.10: Keep recommendations after the entire product grid, never beneath the gallery alone. */
html body.single-product .knhaa-recommendations-full-width {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  grid-column: 1 / -1 !important;
  margin-top: clamp(28px, 4vw, 56px) !important;
}
html body.single-product div.product .summary > .product_title {
  margin-bottom: 2px !important;
  padding-bottom: 0 !important;
  line-height: 1.04 !important;
}
html body.single-product div.product .summary > p.price,
html body.single-product div.product .summary > span.price {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* v1.3.11: keep recommendation shelves outside the two-column product layout. */
.single-product .knhaa-recommendations-full-width {
  display: block !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  grid-column: 1 / -1 !important;
  align-self: stretch !important;
  margin-top: 2rem !important;
}
.single-product .knhaa-recommendations-full-width > h2,
.single-product .knhaa-recommendations-full-width > .knhaa-discovery-section > h2 {
  width: 100%;
}


/* v1.3.12: Recommendations are rendered after the main product wrapper. */
html body.single-product .woocommerce > .knhaa-recommendations,
html body.single-product .woocommerce > .knhaa-recommendations-full-width,
html body.single-product .woocommerce > section.knhaa-recommendations {
  display: block !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: clamp(32px, 5vw, 72px) 0 0 !important;
  grid-column: 1 / -1 !important;
}
html body.single-product .woocommerce > .knhaa-recommendations .knhaa-recommendation-heading,
html body.single-product .woocommerce > .knhaa-recommendations-full-width .knhaa-recommendation-heading {
  width: 100% !important;
  max-width: none !important;
}

/* v1.3.16: preserve the product's two-column grid; recommendation wrappers use scoped rules above. */


/*
 * v1.3.17 — Structural layout guard.
 * The product is a two-column element; recommendation sections are its siblings.
 * Keep the page-content wrapper in normal block flow so recommendations cannot
 * occupy a second column beside the product or wrap around floated product media.
 */
html body.single-product main#main > .page-content {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	overflow: visible !important;
}
html body.single-product main#main > .page-content > div.product,
html body.single-product main#main > .page-content > .product {
	display: grid !important;
	width: 100% !important;
	max-width: 1500px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	float: none !important;
	clear: both !important;
}
html body.single-product main#main > .page-content > section.knhaa-recommendations,
html body.single-product main#main > .page-content > .knhaa-recommendations,
html body.single-product main#main > .page-content > .knhaa-product-discovery,
html body.single-product main#main > .page-content > .related,
html body.single-product main#main > .page-content > .up-sells {
	display: block !important;
	position: static !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 1500px !important;
	box-sizing: border-box !important;
	margin: clamp(40px, 6vw, 88px) auto 0 !important;
	grid-column: 1 / -1 !important;
	align-self: stretch !important;
}
html body.single-product main#main > .page-content > section.knhaa-recommendations .woocommerce,
html body.single-product main#main > .page-content > .knhaa-recommendations .woocommerce {
	width: 100% !important;
	float: none !important;
	clear: both !important;
}


/* KNHAA Shop toolbar and filter drawer — v1.3.21 */
.knhaa-shop-toolbar {
	display:flex; align-items:center; justify-content:space-between; gap:24px;
	width:100%; margin:0 0 22px; padding:12px 0;
	border-top:1px solid var(--knhaa-line); border-bottom:1px solid var(--knhaa-line);
	color:var(--knhaa-ink); font-family:var(--knhaa-font-body);
}
.knhaa-shop-toolbar__filters,.knhaa-shop-toolbar__meta { display:flex; align-items:center; }
.knhaa-shop-toolbar__filters { justify-content:flex-start; gap:clamp(20px,2.8vw,42px); min-width:0; }
.knhaa-shop-toolbar__meta { justify-content:flex-end; gap:10px; margin-left:auto; flex-shrink:0; }
.knhaa-shop-toolbar button,.knhaa-shop-toolbar select {
	font:inherit; font-size:10px; letter-spacing:.075em; font-weight:600; color:var(--knhaa-ink);
	background:transparent; border:0; border-radius:0; padding:8px 0; cursor:pointer; white-space:nowrap;
}
.knhaa-shop-toolbar button:hover,.knhaa-shop-toolbar button:focus-visible { color:var(--knhaa-green); }
.knhaa-shop-toolbar .knhaa-filter-open { margin-right:clamp(4px,1vw,12px); }
.knhaa-filter-icon { display:inline-block; margin-right:6px; font-size:15px; line-height:1; vertical-align:-1px; }
.knhaa-filter-shortcut span { margin-left:3px; font-size:13px; letter-spacing:0; }
.knhaa-shop-count,.knhaa-sort-label { font-size:9px; letter-spacing:.07em; white-space:nowrap; }
.knhaa-shop-toolbar .knhaa-shop-orderby { max-width:155px; min-height:30px; padding:5px 18px 5px 2px; border:0; border-radius:0; background-color:transparent; font-size:10px; letter-spacing:.015em; }
.knhaa-filter-overlay[hidden],.knhaa-filter-drawer[hidden] { display:none !important; }
.knhaa-filter-overlay { position:fixed; inset:0; z-index:99990; background:rgba(23,25,24,.42); opacity:0; transition:opacity .22s ease; }
.knhaa-filter-overlay.is-visible { opacity:1; }
.knhaa-filter-drawer { position:fixed; z-index:99991; top:0; left:0; width:min(430px,92vw); height:100dvh; display:flex; flex-direction:column; background:var(--knhaa-ivory); color:var(--knhaa-ink); box-shadow:12px 0 35px rgba(0,0,0,.12); transform:translateX(-102%); transition:transform .22s ease; }
.knhaa-filter-drawer.is-open { transform:translateX(0); }
.knhaa-filter-drawer__head { min-height:68px; display:flex; align-items:center; justify-content:space-between; padding:0 25px; border-bottom:1px solid var(--knhaa-line); font-size:12px; font-weight:700; letter-spacing:.12em; }
.knhaa-filter-close { border:0; background:none; font-size:30px; line-height:1; font-weight:300; cursor:pointer; color:var(--knhaa-ink); }
.knhaa-filter-form { flex:1; min-height:0; display:flex; flex-direction:column; overflow:auto; }
.knhaa-filter-section { border-bottom:1px solid var(--knhaa-line); }
.knhaa-filter-section summary { display:flex; justify-content:space-between; align-items:center; padding:21px 25px; list-style:none; cursor:pointer; font-size:11px; font-weight:700; letter-spacing:.1em; }
.knhaa-filter-section summary::-webkit-details-marker { display:none; }
.knhaa-filter-section summary span { font-size:18px; font-weight:300; transition:transform .15s ease; }
.knhaa-filter-section[open] summary span { transform:rotate(45deg); }
.knhaa-filter-options { padding:0 25px 20px; display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.knhaa-filter-option { display:flex; align-items:center; gap:9px; min-width:0; padding:9px 0; font-size:12px; cursor:pointer; }
.knhaa-filter-option input { accent-color:var(--knhaa-green); width:15px; height:15px; flex:0 0 15px; margin:0; }
.knhaa-filter-option span { overflow-wrap:anywhere; }
.knhaa-filter-option small { margin-left:auto; color:#777; font-size:10px; }
.knhaa-filter-drawer__actions { margin-top:auto; position:sticky; bottom:0; display:flex; gap:12px; padding:18px 25px calc(18px + env(safe-area-inset-bottom)); background:var(--knhaa-ivory); border-top:1px solid var(--knhaa-line); }
.knhaa-filter-clear,.knhaa-filter-apply { min-height:48px; flex:1; display:flex; align-items:center; justify-content:center; text-align:center; text-decoration:none; font-size:10px; font-weight:700; letter-spacing:.1em; }
.knhaa-filter-clear { border:1px solid var(--knhaa-ink); color:var(--knhaa-ink); }
.knhaa-filter-apply { border:1px solid var(--knhaa-green); background:var(--knhaa-green); color:#fff; cursor:pointer; }
.knhaa-filter-clear:hover { background:rgba(35,68,65,.06); color:var(--knhaa-ink); }
.knhaa-filter-apply:hover { background:#193633; color:#fff; }
body.knhaa-filter-is-open { overflow:hidden; }
@media (max-width:700px) {
	.knhaa-shop-toolbar { align-items:center; flex-wrap:wrap; gap:8px 12px; margin-bottom:16px; padding:9px 0; }
	.knhaa-shop-toolbar__filters { flex:1 1 100%; flex-wrap:wrap; gap:7px 18px; }
	.knhaa-shop-toolbar__meta { width:100%; justify-content:flex-end; gap:8px; }
	.knhaa-shop-toolbar .knhaa-filter-open,.knhaa-shop-toolbar .knhaa-filter-shortcut { font-size:9px; letter-spacing:.055em; }
	.knhaa-filter-icon { font-size:13px; margin-right:4px; }
	.knhaa-shop-count { font-size:9px; }
	.knhaa-shop-toolbar .knhaa-shop-orderby { max-width:125px; font-size:10px; }
	.knhaa-filter-drawer { width:min(390px,92vw); }
	.knhaa-filter-drawer__head { padding:0 20px; }
	.knhaa-filter-section summary { padding:19px 20px; }
	.knhaa-filter-options { padding:0 20px 18px; }
	.knhaa-filter-drawer__actions { padding-left:20px; padding-right:20px; }
}
