/* NZ Catalog browser — Figma 02 · Catalog (desktop values here; the
   tablet/mobile switches are in catalog.responsive.css, filled in with the
   site's Elementor breakpoints). */
.nz-cat {
	--nz-cat-sidebar: 240px;
	position: relative;
	font-family: var(--nz-font-family);
}

.nz-cat button {
	font-family: inherit;
}

/* Head: title + description | search */
.nz-cat .nz-cat__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.nz-cat .nz-cat__intro {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	max-width: 550px;
}

.nz-cat .nz-cat__title {
	margin: 0;
	font-family: var(--nz-font-display);
	font-size: var(--nz-font-size-display);
	font-weight: 600;
	line-height: var(--nz-line-height-display);
	letter-spacing: -0.015em;
	color: var(--nz-color-text-primary);
}

.nz-cat .nz-cat__desc {
	margin: 0;
	font-size: var(--nz-font-size-body-lg);
	line-height: var(--nz-line-height-body-lg);
	color: var(--nz-color-text-secondary);
}

.nz-cat .nz-cat__tools {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
	width: 360px;
	max-width: 100%;
}

.nz-cat .nz-cat__search {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 0 12px 0 14px;
	border: 1px solid var(--nz-color-border-default);
	border-radius: 999px;
	background-color: var(--nz-color-surface-page);
	cursor: text;
}

.nz-cat .nz-cat__search:focus-within {
	border-color: var(--nz-color-border-focus);
	box-shadow: 0 0 0 3px rgba(235, 245, 107, 0.9);
}

.nz-cat .nz-cat__search-icon,
.nz-cat .nz-cat__search-icon svg {
	display: block;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--nz-color-text-secondary);
}

/* Stronger than the kit's form-field rules (border, padding, focus ring). */
.nz-cat .nz-cat__tools .nz-cat__search .nz-cat__search-input[type="search"],
.nz-cat .nz-cat__tools .nz-cat__search .nz-cat__search-input[type="search"]:focus {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	font-family: inherit;
	font-size: var(--nz-font-size-small);
	line-height: var(--nz-line-height-small);
	color: var(--nz-color-text-primary);
}

.nz-cat .nz-cat__search-input::placeholder {
	color: var(--nz-color-text-muted);
	opacity: 1;
}

.nz-cat .nz-cat__filter-btn {
	position: relative;
	display: none;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--nz-color-surface-brand);
	color: var(--nz-color-text-on-brand);
	cursor: pointer;
}

.nz-cat .nz-cat__filter-btn svg {
	width: 20px;
	height: 20px;
}

.nz-cat .nz-cat__filter-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	box-sizing: border-box;
	border-radius: 999px;
	background-color: var(--nz-color-surface-accent);
	font-size: 12px;
	font-weight: 600;
	line-height: 20px;
	color: var(--nz-color-text-on-accent);
}

/* Filter bar: category chips | sort. Full-bleed lines above and below. */
.nz-cat .nz-cat__bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 40px;
	padding: 16px 0;
}

.nz-cat .nz-cat__bar::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	border-top: 1px solid var(--nz-color-border-default);
	border-bottom: 1px solid var(--nz-color-border-default);
	pointer-events: none;
}

.nz-cat .nz-cat__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.nz-cat .nz-cat__chip,
.nz-cat .nz-cat__chip:hover,
.nz-cat .nz-cat__chip:focus {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 4px;
	box-sizing: border-box;
	min-height: 34px;
	margin: 0;
	padding: 6px 12px;
	border: 1px solid var(--nz-color-border-default);
	border-radius: 999px;
	background-color: var(--nz-color-surface-page);
	font-size: var(--nz-font-size-small);
	font-weight: 600;
	line-height: var(--nz-line-height-small);
	color: var(--nz-color-text-secondary);
	white-space: nowrap;
	cursor: pointer;
}

.nz-cat .nz-cat__chip:hover {
	border-color: var(--nz-color-border-strong);
}

.nz-cat .nz-cat__chip .nz-cat__chip-count {
	font-size: var(--nz-font-size-caption);
	font-weight: 500;
	line-height: var(--nz-line-height-caption);
	color: var(--nz-color-text-muted);
}

.nz-cat .nz-cat__chip.is-active {
	border-color: var(--nz-color-surface-accent);
	background-color: var(--nz-color-surface-accent);
	color: var(--nz-color-text-on-accent);
}

.nz-cat .nz-cat__chip.is-active .nz-cat__chip-count {
	color: var(--nz-color-text-on-accent);
}

.nz-cat .nz-cat__sort {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: var(--nz-font-size-small);
	font-weight: 400;
	line-height: var(--nz-line-height-small);
	color: var(--nz-color-text-muted);
}

.nz-cat .nz-cat__bar .nz-cat__sort .nz-cat__sort-select,
.nz-cat .nz-cat__bar .nz-cat__sort .nz-cat__sort-select:focus {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0 24px 0 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: inherit;
	font-size: var(--nz-font-size-small);
	line-height: var(--nz-line-height-small);
	color: var(--nz-color-text-primary);
	cursor: pointer;
}

.nz-cat .nz-cat__sort-icon {
	position: absolute;
	right: 0;
	display: flex;
	pointer-events: none;
	color: var(--nz-color-text-primary);
}

.nz-cat .nz-cat__sort-icon svg {
	width: 18px;
	height: 18px;
}

/* Body: filters | results */
.nz-cat .nz-cat__body {
	display: flex;
	align-items: flex-start;
	gap: 48px;
	padding-top: 40px;
}

.nz-cat .nz-cat__filters {
	flex: 0 0 var(--nz-cat-sidebar);
	width: var(--nz-cat-sidebar);
}

.nz-cat .nz-cat__drawer-head,
.nz-cat .nz-cat__drawer-foot {
	display: none;
}

.nz-cat .nz-cat__groups {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.nz-cat .nz-cat__group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.nz-cat .nz-cat__legend {
	float: left;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: var(--nz-font-size-caption);
	font-weight: 600;
	line-height: var(--nz-line-height-caption);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nz-color-text-muted);
}

.nz-cat .nz-cat__legend + * {
	clear: both;
}

/* Checkbox rows (product type, print method) */
.nz-cat .nz-cat__check {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: var(--nz-font-size-small);
	font-weight: 400;
	line-height: var(--nz-line-height-small);
	color: var(--nz-color-text-primary);
	cursor: pointer;
}

.nz-cat .nz-cat__check input,
.nz-cat .nz-cat__swatch input,
.nz-cat .nz-cat__opt input,
.nz-cat .nz-cat__pswatch input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.nz-cat .nz-cat__box {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	border: 1px solid var(--nz-color-border-strong);
	border-radius: 6px;
	color: transparent;
}

.nz-cat .nz-cat__box svg {
	width: 14px;
	height: 14px;
}

.nz-cat .nz-cat__check input:checked + .nz-cat__box {
	border-color: var(--nz-color-surface-brand);
	background-color: var(--nz-color-surface-brand);
	color: var(--nz-color-text-on-brand);
}

.nz-cat .nz-cat__check input:focus-visible + .nz-cat__box,
.nz-cat .nz-cat__swatch input:focus-visible + span,
.nz-cat .nz-cat__opt input:focus-visible + span,
.nz-cat .nz-cat__pswatch input:focus-visible + span {
	outline: 3px solid rgba(20, 113, 115, 0.45);
	outline-offset: 2px;
}

.nz-cat .nz-cat__check-label {
	flex: 1 1 auto;
	min-width: 0;
}

.nz-cat .nz-cat__count {
	font-size: var(--nz-font-size-caption);
	font-weight: 500;
	line-height: var(--nz-line-height-caption);
	color: var(--nz-color-text-muted);
}

/* Colour swatches: 24 px dot in a 32 px ring */
.nz-cat .nz-cat__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.nz-cat .nz-cat__swatch,
.nz-cat .nz-cat__pswatch {
	position: relative;
	display: inline-flex;
	margin: 0;
	cursor: pointer;
}

.nz-cat .nz-cat__swatch span[aria-hidden],
.nz-cat .nz-cat__pswatch span[aria-hidden] {
	display: block;
	box-sizing: border-box;
	width: 32px;
	height: 32px;
	border: 2px solid transparent;
	border-radius: 50%;
	background:
		radial-gradient(circle, var(--nz-swatch) 0 11px, var(--nz-color-border-default) 11px 12px, transparent 12px);
}

.nz-cat .nz-cat__swatch input:checked + span,
.nz-cat .nz-cat__pswatch input:checked + span {
	border-color: var(--nz-color-text-brand);
}

/* Option chips (size, print area, print method in the panel) */
.nz-cat .nz-cat__chip-row,
.nz-cat .nz-cat__poptions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nz-cat .nz-cat__opt {
	position: relative;
	display: inline-flex;
	margin: 0;
	cursor: pointer;
}

.nz-cat .nz-cat__opt span {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 34px;
	padding: 6px 12px;
	border: 1px solid var(--nz-color-border-default);
	border-radius: 999px;
	background-color: var(--nz-color-surface-page);
	font-size: var(--nz-font-size-small);
	font-weight: 600;
	line-height: var(--nz-line-height-small);
	color: var(--nz-color-text-secondary);
}

.nz-cat .nz-cat__opt:hover span {
	border-color: var(--nz-color-border-strong);
}

.nz-cat .nz-cat__opt input:checked + span {
	border-color: var(--nz-color-surface-accent);
	background-color: var(--nz-color-surface-accent);
	color: var(--nz-color-text-on-accent);
}

/* Results */
.nz-cat .nz-cat__results {
	flex: 1 1 auto;
	min-width: 0;
}

.nz-cat .nz-cat__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 24px;
}

.nz-cat .nz-cat__grid .nz-pcard[hidden] {
	display: none;
}

.nz-cat .nz-cat__empty {
	padding: 48px 0;
	font-size: var(--nz-font-size-body);
	line-height: var(--nz-line-height-body);
	color: var(--nz-color-text-secondary);
}

.nz-cat .nz-cat__empty p {
	margin: 0 0 16px;
}

.nz-cat .nz-cat__clear,
.nz-cat .nz-cat__clear:hover,
.nz-cat .nz-cat__clear:focus {
	margin: 0;
	padding: 12px 20px;
	border: 1px solid var(--nz-color-border-strong);
	border-radius: 999px;
	background: transparent;
	font-size: var(--nz-font-size-small);
	font-weight: 600;
	line-height: var(--nz-line-height-small);
	color: var(--nz-color-text-primary);
	cursor: pointer;
}

.nz-cat .nz-cat__note {
	margin: 120px 0 0;
	font-size: var(--nz-font-size-caption);
	font-weight: 500;
	line-height: var(--nz-line-height-caption);
	color: var(--nz-color-text-muted);
}

/* Overlay + product panel (desktop: from the right) */
.nz-cat .nz-cat__overlay {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background-color: rgba(6, 28, 29, 0.45);
}

.nz-cat .nz-cat__panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	width: 520px;
	max-width: 100%;
	background-color: var(--nz-color-surface-page);
	box-shadow: -12px 0 40px rgba(5, 28, 28, 0.18);
	transform: translateX(24px);
	opacity: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nz-cat .nz-cat__panel.is-open {
	transform: none;
	opacity: 1;
}

.nz-cat .nz-cat__panel[hidden],
.nz-cat .nz-cat__overlay[hidden] {
	display: none;
}

.nz-cat .nz-cat__panel-scroll {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 24px;
	min-height: 0;
	padding: 24px 32px;
	overflow-y: auto;
}

.nz-cat .nz-cat__ptop {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nz-cat .nz-cat__pcrumb {
	margin: 0;
	font-size: var(--nz-font-size-caption);
	font-weight: 500;
	line-height: var(--nz-line-height-caption);
	color: var(--nz-color-text-muted);
	white-space: pre;
}

.nz-cat .nz-cat__close,
.nz-cat .nz-cat__close:hover,
.nz-cat .nz-cat__close:focus {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--nz-color-border-default);
	border-radius: 50%;
	background-color: var(--nz-color-surface-page);
	color: var(--nz-color-text-primary);
	cursor: pointer;
}

.nz-cat .nz-cat__close svg {
	width: 20px;
	height: 20px;
	transform: rotate(45deg);
}

.nz-cat .nz-cat__pmedia {
	display: flex;
	gap: 8px;
	height: 400px;
}

.nz-cat .nz-cat__pmain {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	border-radius: 12px;
	background-color: var(--nz-color-surface-subtle);
}

.nz-cat .nz-cat__pmain img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.nz-cat .nz-cat__pmain img[hidden] {
	display: none;
}

.nz-cat .nz-cat__pcounter {
	position: absolute;
	top: 12px;
	right: 12px;
	display: none;
	padding: 6px 12px;
	border-radius: 999px;
	background-color: var(--nz-color-surface-page);
	font-size: var(--nz-font-size-caption);
	font-weight: 500;
	line-height: var(--nz-line-height-caption);
	color: var(--nz-color-text-primary);
}

.nz-cat .nz-cat__pthumbs {
	display: flex;
	flex: 0 0 80px;
	flex-direction: column;
	gap: 8px;
}

.nz-cat .nz-cat__pthumb,
.nz-cat .nz-cat__pthumb:hover,
.nz-cat .nz-cat__pthumb:focus {
	flex: 0 0 128px;
	height: 128px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 8px;
	background: var(--nz-color-surface-subtle);
	cursor: pointer;
}

.nz-cat .nz-cat__pthumb.is-active {
	border-color: var(--nz-color-text-brand);
}

.nz-cat .nz-cat__pthumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.nz-cat .nz-cat__pname {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nz-cat .nz-cat__ptitle {
	margin: 0;
	font-family: var(--nz-font-display);
	font-size: var(--nz-font-size-h3);
	font-weight: 500;
	line-height: var(--nz-line-height-h3);
	letter-spacing: -0.005em;
}

.nz-cat .nz-cat__ptitle a {
	color: var(--nz-color-text-primary);
	text-decoration: none;
}

.nz-cat .nz-cat__ptitle a:hover {
	color: var(--nz-color-text-link);
}

.nz-cat .nz-cat__pmeta {
	margin: 0;
	font-size: var(--nz-font-size-small);
	line-height: var(--nz-line-height-small);
	color: var(--nz-color-text-muted);
}

.nz-cat .nz-cat__pgroup {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
}

.nz-cat .nz-cat__plegend {
	float: left;
	width: 100%;
	margin: 0;
	padding: 0;
}

.nz-cat .nz-cat__plegend .nz-cat__legend {
	float: none;
	display: inline;
	width: auto;
}

.nz-cat .nz-cat__picked {
	margin-left: 6px;
	font-size: var(--nz-font-size-caption);
	font-weight: 500;
	line-height: var(--nz-line-height-caption);
	color: var(--nz-color-text-primary);
}

.nz-cat .nz-cat__plegend + * {
	clear: both;
}

.nz-cat .nz-cat__pswatch span[aria-hidden] {
	width: 36px;
	height: 36px;
	background:
		radial-gradient(circle, var(--nz-swatch) 0 13px, var(--nz-color-border-default) 13px 14px, transparent 14px);
}

.nz-cat .nz-cat__pinfo {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 16px;
	border-radius: 12px;
	background-color: var(--nz-color-surface-subtle);
	list-style: none;
}

.nz-cat .nz-cat__pinfo li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: var(--nz-font-size-small);
	line-height: var(--nz-line-height-small);
	color: var(--nz-color-text-secondary);
}

.nz-cat .nz-cat__pinfo-icon,
.nz-cat .nz-cat__pinfo-icon svg {
	display: block;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--nz-color-text-brand);
}

.nz-cat .nz-cat__panel-bar {
	display: flex;
	gap: 12px;
	padding: 16px 32px 24px;
	border-top: 1px solid var(--nz-color-border-default);
	background-color: var(--nz-color-surface-page);
}

.nz-cat .nz-cat__pquote,
.nz-cat .nz-cat__pask {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	min-height: 52px;
	padding: 14px 24px;
	border-radius: 999px;
	font-size: var(--nz-font-size-body);
	font-weight: 600;
	line-height: var(--nz-line-height-body);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s;
}

.nz-cat .nz-cat__pquote {
	flex: 1 1 auto;
	background-color: var(--nz-color-surface-brand);
	color: var(--nz-color-text-on-brand);
}

.nz-cat .nz-cat__pquote:hover,
.nz-cat .nz-cat__pquote:focus-visible {
	background-color: var(--nz-color-action-primary-hover, #0c4c4d);
	color: var(--nz-color-text-on-brand);
}

.nz-cat .nz-cat__pask {
	flex: 0 0 auto;
	border: 1px solid var(--nz-color-border-strong);
	color: var(--nz-color-text-primary);
}

.nz-cat .nz-cat__pask:hover,
.nz-cat .nz-cat__pask:focus-visible {
	background-color: var(--nz-color-surface-subtle);
	color: var(--nz-color-text-primary);
}

.nz-cat .nz-cat__pquote span,
.nz-cat .nz-cat__pask span,
.nz-cat .nz-cat__pquote svg,
.nz-cat .nz-cat__pask svg {
	display: flex;
	width: 20px;
	height: 20px;
}

html.nz-noscroll,
html.nz-noscroll body {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.nz-cat .nz-cat__panel {
		transition: none;
	}
}
