/* KWS CHA-NO-WA CATEGORY ARCHIVES START */
.cnw-catalog-archive {
	--cnw-catalog-green: #0b3a28;
	--cnw-catalog-green-deep: #062d1f;
	--cnw-catalog-green-soft: #e9efe7;
	--cnw-catalog-gold: #c5a34f;
	--cnw-catalog-ivory: #fbf8f0;
	--cnw-catalog-ink: #10291f;
	--cnw-catalog-muted: #617069;
	--cnw-catalog-line: rgba(11, 58, 40, 0.18);
	background: var(--cnw-catalog-ivory);
	color: var(--cnw-catalog-ink);
}

.cnw-catalog-archive .hero-section {
	display: none;
}

.cnw-catalog-archive .site-main,
.cnw-catalog-archive .ct-container-full {
	padding-top: 0;
}

.cnw-catalog-archive .site-main > .ct-container {
	padding-top: 0;
}

.cnw-catalog-archive .ct-container {
	max-width: 1380px;
}

.cnw-catalog-hero {
	position: relative;
	left: 50%;
	width: 100vw;
	height: clamp(360px, 31vw, 470px);
	margin-left: -50vw;
	overflow: hidden;
	background: var(--cnw-catalog-green-deep);
}

.cnw-catalog-hero__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	animation: cnw-catalog-hero-arrive 900ms cubic-bezier(0.2, 0.7, 0, 1) both;
}

.cnw-catalog-hero__shade {
	display: none;
}

.cnw-catalog-hero__inner {
	position: relative;
	z-index: 2;
	width: min(1320px, calc(100% - 72px));
	height: 100%;
	margin-inline: auto;
}

.cnw-catalog-breadcrumb {
	position: absolute;
	top: 32px;
	left: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(16, 41, 31, 0.72);
	font-size: 12px;
	letter-spacing: 0.025em;
}

.cnw-catalog-breadcrumb a {
	color: var(--cnw-catalog-green);
	text-decoration: none;
}

.cnw-catalog-breadcrumb a:hover,
.cnw-catalog-breadcrumb a:focus-visible {
	color: var(--cnw-catalog-gold);
}

.cnw-catalog-hero__copy {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.cnw-catalog-tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: center;
	gap: 8px;
	margin: 28px 0 0;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--cnw-catalog-line);
}

.cnw-catalog-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 48px;
	padding: 12px 16px;
	background: transparent;
	color: var(--cnw-catalog-green);
	border: 1px solid var(--cnw-catalog-line);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.cnw-catalog-tab.is-active {
	background: var(--cnw-catalog-green);
	color: var(--cnw-catalog-ivory);
	border-color: var(--cnw-catalog-green);
}

.cnw-catalog-tab:hover,
.cnw-catalog-tab:focus-visible {
	background: var(--cnw-catalog-green-soft);
	color: var(--cnw-catalog-green-deep);
	border-color: var(--cnw-catalog-green);
}

.cnw-catalog-tab.is-active:hover,
.cnw-catalog-tab.is-active:focus-visible {
	background: var(--cnw-catalog-green-deep);
	color: var(--cnw-catalog-ivory);
}

.cnw-catalog-tab:focus-visible {
	outline: 2px solid var(--cnw-catalog-gold);
	outline-offset: 2px;
}

.cnw-catalog-tab:active {
	background: var(--cnw-catalog-green-deep);
	color: var(--cnw-catalog-ivory);
}

.cnw-catalog-tabs + .cnw-catalog-introduction {
	margin-top: 20px;
}

.cnw-collection-rail {
	margin: clamp(34px, 4vw, 52px) 0 30px;
}

.cnw-collection-rail__heading {
	display: block;
	margin-bottom: 22px;
}

.cnw-catalog-eyebrow {
	margin: 0 0 10px;
	color: var(--cnw-catalog-green);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.17em;
	text-transform: uppercase;
}

.cnw-collection-rail__heading h2 {
	margin: 0;
	color: var(--cnw-catalog-green);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 3vw, 3.2rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.035em;
}

.cnw-collection-rail__track {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.cnw-collection-tile {
	min-width: 0;
	overflow: hidden;
	background: var(--cnw-catalog-green);
	color: #fff;
	text-decoration: none;
	border: 1px solid rgba(11, 58, 40, 0.16);
	transition: transform 240ms ease, box-shadow 240ms ease;
}

.cnw-collection-tile__media {
	display: block;
	overflow: hidden;
	background: var(--cnw-catalog-green-soft);
	aspect-ratio: 4 / 3;
}

.cnw-collection-tile__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 520ms cubic-bezier(0.2, 0.7, 0, 1);
}

.cnw-collection-tile__label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 68px;
	padding: 15px 17px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.25;
}

.cnw-collection-tile__label > :last-child {
	color: var(--cnw-catalog-gold);
	font-family: Arial, sans-serif;
	font-size: 20px;
	transition: transform 220ms ease;
}

.cnw-collection-tile:hover,
.cnw-collection-tile:focus-visible {
	color: #fff;
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(6, 45, 31, 0.15);
}

.cnw-collection-tile:hover img,
.cnw-collection-tile:focus-visible img {
	transform: scale(1.035);
}

.cnw-collection-tile:hover .cnw-collection-tile__label > :last-child,
.cnw-collection-tile:focus-visible .cnw-collection-tile__label > :last-child {
	transform: translateX(4px);
}

.cnw-catalog-introduction {
	display: grid;
	grid-template-columns: minmax(150px, 0.7fr) minmax(0, 2.3fr);
	align-items: start;
	gap: clamp(28px, 5vw, 76px);
	margin: clamp(30px, 4vw, 48px) 0 22px;
	padding: 26px 0 28px;
	border-top: 1px solid var(--cnw-catalog-line);
	border-bottom: 1px solid var(--cnw-catalog-line);
}

.cnw-catalog-introduction__body {
	display: grid;
	grid-template-columns: minmax(190px, 0.85fr) minmax(0, 1.45fr);
	align-items: start;
	gap: clamp(24px, 4vw, 64px);
}

.cnw-catalog-introduction h2 {
	margin: 0;
	color: var(--cnw-catalog-green);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.75rem, 2.3vw, 2.6rem);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -0.035em;
}

.cnw-catalog-introduction__body > p {
	max-width: 58ch;
	margin: 0;
	color: var(--cnw-catalog-muted);
	font-size: 15px;
	line-height: 1.7;
}

.cnw-catalog-toolbar {
	display: flex;
	align-items: center;
	clear: both;
	gap: 18px;
	width: 100%;
	min-height: 56px;
	margin-bottom: 30px;
	padding: 8px 14px;
	background: var(--cnw-catalog-green);
	color: #fff;
}

.cnw-catalog-toolbar__label {
	margin-right: auto;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.cnw-catalog-toolbar .woocommerce-result-count {
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 13px;
}

.cnw-catalog-toolbar .woocommerce-ordering {
	margin: 0;
}

.cnw-catalog-toolbar .woocommerce-ordering select {
	min-width: 176px;
	min-height: 38px;
	padding: 6px 36px 6px 12px;
	background-color: var(--cnw-catalog-ivory);
	color: var(--cnw-catalog-green-deep);
	border: 1px solid rgba(197, 163, 79, 0.55);
	border-radius: 0;
}

.cnw-catalog-products-anchor {
	position: relative;
	top: -120px;
}

.cnw-catalog-archive ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	column-gap: clamp(18px, 2.2vw, 30px);
	row-gap: clamp(48px, 5vw, 68px);
}

.cnw-catalog-archive ul.products li.product {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: stretch;
	height: 100%;
	text-align: left;
}

.cnw-catalog-archive ul.products li.product .ct-media-container,
.cnw-catalog-archive ul.products li.product > .woocommerce-LoopProduct-link:first-child {
	overflow: hidden;
	background: var(--cnw-catalog-green-soft);
	aspect-ratio: 1 / 1;
}

.cnw-catalog-archive ul.products li.product img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.2, 0.7, 0, 1), filter 300ms ease;
}

.cnw-catalog-archive ul.products li.product:hover img {
	transform: scale(1.025);
	filter: saturate(1.04);
}

.cnw-catalog-archive ul.products li.product .woocommerce-loop-product__title,
.cnw-catalog-archive ul.products li.product .woocommerce-loop-category__title {
	min-height: 4.05em;
	margin: 18px 0 12px;
	color: var(--cnw-catalog-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.02rem, 1.2vw, 1.2rem);
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: -0.015em;
}

.cnw-catalog-archive ul.products li.product .price {
	margin: auto 0 14px;
	color: var(--cnw-catalog-green);
	font-size: 14px;
	font-weight: 700;
}

.cnw-catalog-archive ul.products li.product .entry-meta {
	display: none;
}

.cnw-catalog-archive ul.products li.product .button,
.cnw-catalog-archive ul.products li.product .added_to_cart {
	width: 100%;
	min-height: 42px;
	margin-top: 0;
	padding: 10px 14px;
	background: transparent;
	color: var(--cnw-catalog-green);
	border: 1px solid rgba(11, 58, 40, 0.58);
	border-radius: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-align: center;
	text-transform: uppercase;
	transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.cnw-catalog-archive ul.products li.product .button:hover,
.cnw-catalog-archive ul.products li.product .button:focus-visible,
.cnw-catalog-archive ul.products li.product .added_to_cart:hover,
.cnw-catalog-archive ul.products li.product .added_to_cart:focus-visible {
	background: var(--cnw-catalog-green);
	color: #fff;
	border-color: var(--cnw-catalog-green);
}

.cnw-catalog-archive .onsale,
.cnw-catalog-archive .out-of-stock-badge {
	background: var(--cnw-catalog-green-deep);
	color: #fff;
	border-radius: 0;
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cnw-catalog-values {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(58px, 6vw, 86px) 0 0;
	background: var(--cnw-catalog-green);
	color: #fff;
	border-top: 1px solid rgba(197, 163, 79, 0.5);
	border-bottom: 1px solid rgba(197, 163, 79, 0.5);
}

.cnw-catalog-value {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-height: 96px;
	padding: 20px;
	border-left: 1px solid rgba(255, 255, 255, 0.16);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	text-align: center;
}

.cnw-catalog-value:first-child {
	border-left: 0;
}

.cnw-catalog-value svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: var(--cnw-catalog-gold);
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@keyframes cnw-catalog-hero-arrive {
	from { transform: scale(1.025); opacity: 0.86; }
	to { transform: scale(1); opacity: 1; }
}

@media (max-width: 1180px) {
	.cnw-collection-rail__track {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.cnw-collection-tile:last-child {
		display: none;
	}

}

@media (max-width: 900px) {
	.cnw-catalog-hero__inner {
		width: min(100% - 48px, 760px);
	}

	.cnw-collection-rail__track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
		padding-bottom: 10px;
	}

	.cnw-collection-tile,
	.cnw-collection-tile:last-child {
		display: block;
		flex: 0 0 min(310px, 72vw);
		scroll-snap-align: start;
	}


	.cnw-catalog-introduction {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.cnw-catalog-introduction__body {
		grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
		gap: 28px;
	}

	.cnw-catalog-archive ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cnw-catalog-values {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cnw-catalog-value:nth-child(3) {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.16);
	}

	.cnw-catalog-value:nth-child(4) {
		border-top: 1px solid rgba(255, 255, 255, 0.16);
	}
}

@media (max-width: 767px) {
	.cnw-catalog-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 20px;
	}

	.cnw-catalog-tab {
		padding-inline: 8px;
		font-size: 14px;
	}

	.cnw-catalog-tab:last-child {
		grid-column: 1 / -1;
	}

	.cnw-catalog-archive .ct-container {
		width: min(100% - 36px, 620px);
	}

	.cnw-catalog-hero {
		height: min(520px, calc(100svh - 92px));
		min-height: 440px;
	}

	.cnw-catalog-hero__image {
		object-position: 72% center;
	}

	.cnw-catalog-hero__shade {
		display: block;
		position: absolute;
		inset: 0;
		background: linear-gradient(0deg, rgba(6, 45, 31, 0.96) 0%, rgba(6, 45, 31, 0.78) 48%, rgba(6, 45, 31, 0.1) 100%);
	}

	.cnw-catalog-hero__inner {
		width: calc(100% - 40px);
	}

	.cnw-catalog-breadcrumb {
		top: 24px;
		color: rgba(255, 255, 255, 0.78);
	}

	.cnw-catalog-breadcrumb a {
		color: #fff;
	}

	.cnw-catalog-hero__copy {
		position: absolute;
		left: 0;
		bottom: 38px;
		width: min(100%, 440px);
		height: auto;
		margin: 0;
		overflow: visible;
		clip: auto;
		white-space: normal;
		color: #fff;
	}

	.cnw-catalog-hero__copy h1 {
		margin: 0;
		color: #fff;
		font-family: Georgia, "Times New Roman", serif;
		font-size: clamp(2.75rem, 13vw, 4rem);
		font-weight: 400;
		line-height: 0.95;
		letter-spacing: -0.045em;
	}

	.cnw-catalog-hero__rule {
		display: block;
		width: 62px;
		height: 2px;
		margin: 22px 0;
		background: var(--cnw-catalog-gold);
	}

	.cnw-catalog-hero__copy p {
		max-width: 34ch;
		margin: 0;
		color: rgba(255, 255, 255, 0.86);
		font-size: 15px;
		line-height: 1.6;
	}

	.cnw-collection-rail {
		margin-top: 34px;
		margin-bottom: 24px;
	}

	.cnw-collection-tile,
	.cnw-collection-tile:last-child {
		flex-basis: min(300px, 78vw);
	}

	.cnw-catalog-introduction {
		margin-bottom: 16px;
		padding: 22px 0 24px;
	}

	.cnw-catalog-introduction__body {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.cnw-catalog-introduction h2 {
		font-size: 2rem;
	}

	.cnw-catalog-toolbar {
		align-items: center;
		flex-wrap: nowrap;
		gap: 10px;
		min-height: 52px;
		padding: 7px 10px;
	}

	.cnw-catalog-toolbar__label {
		display: none;
	}

	.cnw-catalog-toolbar .woocommerce-result-count {
		display: block !important;
		flex: 1 1 auto;
		float: none;
		font-size: 11px;
		line-height: 1.35;
	}

	.cnw-catalog-toolbar .woocommerce-ordering {
		flex: 0 1 170px;
		width: auto;
	}

	.cnw-catalog-toolbar .woocommerce-ordering select {
		width: 100%;
	}

	.cnw-catalog-archive ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 14px;
		row-gap: 42px;
	}

	.cnw-catalog-archive ul.products li.product .woocommerce-loop-product__title {
		min-height: 5.4em;
		margin-top: 14px;
		font-size: 0.98rem;
	}

	.cnw-catalog-value {
		min-height: 92px;
		padding: 16px 12px;
		font-size: 14px;
	}
}

@media (max-width: 350px) {
	.cnw-catalog-tabs {
		grid-template-columns: minmax(0, 1fr);
	}

	.cnw-catalog-tab:last-child {
		grid-column: auto;
	}
}

@media (max-width: 379px) {
	.cnw-catalog-archive ul.products {
		grid-template-columns: 1fr;
	}

	.cnw-catalog-values {
		grid-template-columns: 1fr;
	}

	.cnw-catalog-value {
		border-top: 1px solid rgba(255, 255, 255, 0.16);
		border-left: 0;
	}

	.cnw-catalog-value:first-child {
		border-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cnw-catalog-archive *,
	.cnw-catalog-archive *::before,
	.cnw-catalog-archive *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
/* KWS CHA-NO-WA CATEGORY ARCHIVES END */


/* 2026-07-22: keep embedded sweets title clear of desktop breadcrumb. */
@media (min-width: 768px) {
	.cnw-catalog-hero--matcha-sweets-and-cakes .cnw-catalog-hero__image {
		object-position: center 32%;
	}
}
