.wm-catalog {
	--wm-primary: #1b5e93;
	--wm-primary-dark: #154a74;
	--wm-primary-soft: #e8f2f9;
	--wm-secondary: #f6f6f6;
	--wm-border: #d8e2ec;
	--wm-text: #1e293b;
	--wm-muted: #64748b;
	--wm-radius: 14px;
	--wm-shadow: 0 18px 40px rgba(15, 40, 64, 0.08);
}

/* Page hero */
.wm-catalog-hero {
	background-color: var(--wm-secondary);
	background-size: cover;
	background-position: center;
	border-bottom: 1px solid var(--wm-border);
}

.wm-catalog-hero__inner {
	max-width: none;
	margin: 0;
	padding: 2.75rem 0 2.25rem;
}

.wm-catalog-hero__title {
	margin: 0 0 0.75rem;
	font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	color: var(--wm-primary);
}

.wm-catalog-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wm-catalog-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	color: #9ca3af;
}

.wm-catalog-breadcrumbs li + li::before {
	content: "/";
	margin-right: 0.5rem;
	color: #c4c4c4;
}

.wm-catalog-breadcrumbs a {
	color: #9ca3af;
	text-decoration: none;
}

.wm-catalog-breadcrumbs a:hover {
	color: var(--wm-primary);
}

.wm-catalog-breadcrumbs span {
	color: #6b7280;
}

/* Layout */
.wm-catalog-page {
	width: 100%;
}

.wm-catalog-page__layout {
	display: grid;
	grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
	align-items: stretch;
	gap: 2rem;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 2.25rem 0 3rem;
	box-sizing: border-box;
}

.wm-catalog-page__content {
	min-width: 0;
}

.wm-catalog-page__content > .site-main,
.wm-catalog-page--landing {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.wm-catalog-sidebar {
	position: sticky;
	top: var(--wm-header-offset, 88px);
	align-self: start;
	max-height: calc(100vh - var(--wm-header-offset, 88px) - 1.25rem);
	z-index: 20;
}

.wm-catalog-sidebar__widget {
	background: #fff;
	border: 1px solid var(--wm-border);
	border-radius: var(--wm-radius);
	box-shadow: var(--wm-shadow);
	max-height: inherit;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.wm-catalog-sidebar__title {
	flex-shrink: 0;
	margin: 0;
	padding: 1rem 1.15rem;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(135deg, var(--wm-primary) 0%, var(--wm-primary-dark) 100%);
}

.wm-catalog-sidebar__tree,
.wm-catalog-sidebar__children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wm-catalog-sidebar__tree {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #b8cfe0 transparent;
}

.wm-catalog-sidebar__tree::-webkit-scrollbar {
	width: 6px;
}

.wm-catalog-sidebar__tree::-webkit-scrollbar-thumb {
	background: #b8cfe0;
	border-radius: 999px;
}

.wm-catalog-sidebar__tree > .wm-catalog-sidebar__item > a {
	padding-left: 1rem;
	font-weight: 700;
}

.wm-catalog-sidebar__item a {
	display: block;
	padding: 0.68rem 1rem 0.68rem 1.35rem;
	border-bottom: 1px solid #eef3f7;
	color: #475569;
	text-decoration: none;
	font-size: 0.9rem;
	line-height: 1.4;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.wm-catalog-sidebar__item a:hover,
.wm-catalog-sidebar__item.is-current > a {
	color: var(--wm-primary);
	background: #f8fbfd;
}

.wm-catalog-sidebar__item.is-current > a {
	font-weight: 700;
	border-left: 3px solid var(--wm-primary);
	padding-left: calc(1.35rem - 3px);
}

.wm-catalog-sidebar__children .wm-catalog-sidebar__item a {
	padding-left: 1.75rem;
	font-weight: 500;
	font-size: 0.86rem;
}

.wm-catalog-intro {
	margin-bottom: 1.5rem;
	color: var(--wm-muted);
	line-height: 1.7;
}

/* Catalog landing intro band */
.wm-catalog-intro-band {
	position: relative;
	overflow: hidden;
	border-radius: var(--wm-radius);
	margin-bottom: 1.75rem;
	min-height: 168px;
	background-color: var(--wm-primary-dark);
	background-size: cover;
	background-position: center;
	box-shadow: var(--wm-shadow);
}

.wm-catalog-intro-band__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		115deg,
		rgba(8, 24, 40, 0.88) 0%,
		rgba(27, 94, 147, 0.72) 48%,
		rgba(27, 94, 147, 0.35) 100%
	);
}

.wm-catalog-intro-band__content {
	position: relative;
	z-index: 1;
	padding: 2rem 2.25rem;
	max-width: 640px;
}

.wm-catalog-intro-band__eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: rgba(255, 255, 255, 0.72);
}

.wm-catalog-intro-band__title {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0;
	font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 800;
	font-style: italic;
	line-height: 1.15;
	text-transform: uppercase;
	color: #fff;
}

.wm-catalog-section-label {
	margin: 0 0 1.25rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--wm-primary);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wm-catalog-empty {
	color: var(--wm-muted);
}

/* Category grids */
.wm-catalog-categories {
	display: grid;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wm-catalog-categories--showcase {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wm-catalog-categories--cards {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.wm-catalog-category-item {
	margin: 0;
}

.wm-catalog-category-item__link {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #e8edf2;
	overflow: hidden;
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.wm-catalog-category-item__link:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(27, 94, 147, 0.12);
	border-color: #cdd9e5;
}

.wm-catalog-category-item__media {
	display: block;
	overflow: hidden;
	background: #f3f6f9;
	aspect-ratio: 3 / 2;
}

.wm-catalog-category-item__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.wm-catalog-category-item__link:hover .wm-catalog-category-item__media img {
	transform: scale(1.04);
}

.wm-catalog-category-item__title {
	display: block;
	margin: 0;
	padding: 1rem 1.1rem 1.15rem;
	font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	color: var(--wm-primary);
	text-transform: none;
}

/* Brand list */
.wm-catalog-brands {
	display: grid;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wm-catalog-brands--list {
	grid-template-columns: 1fr;
}

.wm-catalog-brand-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	padding: 1.25rem 1.25rem 1rem;
}

.wm-catalog-brand-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-bottom: 1rem;
}

.wm-catalog-brand-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--wm-text);
}

.wm-catalog-brand-card__logo {
	position: relative;
	display: block;
	background: var(--wm-secondary);
	border: 1px solid #ececec;
	overflow: hidden;
}

.wm-catalog-brand-card__logo img {
	display: block;
	width: 100%;
	max-height: 220px;
	object-fit: contain;
	padding: 1.25rem;
}

.wm-catalog-brand-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(27, 94, 147, 0.86);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.82rem;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.wm-catalog-brand-card__logo:hover .wm-catalog-brand-card__overlay {
	opacity: 1;
}

/* Products */
.wm-catalog-products {
	display: grid;
	gap: 1.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.wm-catalog-products--landing {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.wm-catalog-products--promotii {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.75rem;
}

.wm-catalog-products--promotii .wm-catalog-product-card.is-promotie {
	border-color: rgba(217, 119, 6, 0.28);
	background: linear-gradient(180deg, #fff 0%, #fffaf3 100%);
	box-shadow: 0 18px 40px rgba(217, 119, 6, 0.08);
}

.wm-catalog-products--promotii .wm-catalog-product-card.is-promotie::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--wm-primary) 0%, #d97706 100%);
	z-index: 1;
}

.wm-catalog-products--promotii .wm-catalog-product-card.is-promotie:hover {
	border-color: rgba(217, 119, 6, 0.45);
	box-shadow: 0 24px 48px rgba(217, 119, 6, 0.14);
}

.wm-catalog-products--promotii .wm-catalog-product-card__badge {
	background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
	box-shadow: 0 6px 14px rgba(217, 119, 6, 0.28);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wm-catalog-products--promotii .wm-catalog-product-card__image img {
	height: 240px;
}

.wm-catalog-products--promotii .wm-catalog-product-card__body {
	padding: 1.15rem 1.2rem 1.25rem;
}

.wm-catalog-products--promotii .wm-catalog-product-card__title {
	font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.12rem;
	font-weight: 800;
	color: var(--wm-primary);
}

.wm-catalog-products--promotii .wm-catalog-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.wm-catalog-products--promotii .wm-catalog-product-card__title a:hover {
	color: var(--wm-primary-dark);
}

.wm-catalog-empty {
	margin: 0;
	padding: 2rem 1.5rem;
	text-align: center;
	color: var(--wm-muted);
	background: var(--wm-primary-soft);
	border: 1px dashed var(--wm-border);
	border-radius: var(--wm-radius);
}

.wm-catalog-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--wm-border);
	border-radius: calc(var(--wm-radius) - 2px);
	background: #fff;
	overflow: hidden;
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.wm-catalog-product-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--wm-shadow);
	border-color: #b8cfe0;
}

.wm-catalog-product-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	background: #d97706;
	color: #fff;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
}

.wm-catalog-product-card__image {
	display: block;
	overflow: hidden;
	background: var(--wm-primary-soft);
}

.wm-catalog-product-card__image img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.wm-catalog-product-card:hover .wm-catalog-product-card__image img {
	transform: scale(1.04);
}

.wm-catalog-product-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1rem;
	flex: 1;
}

.wm-catalog-product-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
}

.wm-catalog-product-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: auto;
}

.wm-catalog-brand-header {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #ececec;
}

.wm-catalog-brand-header__media img {
	display: block;
	width: 100%;
	height: auto;
	background: var(--wm-secondary);
	border: 1px solid #ececec;
	padding: 0.75rem;
}

/* Pagination */
.wm-catalog-pagination {
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--wm-border);
	display: flex;
	justify-content: center;
}

.wm-catalog-pagination ul.page-numbers,
.wm-catalog-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
	min-width: 0;
	height: auto;
}

.wm-catalog-pagination ul.page-numbers li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wm-catalog-pagination a.page-numbers,
.wm-catalog-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--wm-border);
	border-radius: 10px;
	background: #fff;
	color: var(--wm-text);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(15, 40, 64, 0.04);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.wm-catalog-pagination span.page-numbers.dots {
	min-width: auto;
	padding: 0 0.2rem;
	border-color: transparent;
	background: transparent;
	box-shadow: none;
	color: var(--wm-muted);
	font-weight: 500;
}

.wm-catalog-pagination span.page-numbers.current {
	background: var(--wm-primary);
	border-color: var(--wm-primary);
	color: #fff;
	box-shadow: 0 6px 16px rgba(27, 94, 147, 0.22);
	cursor: default;
}

.wm-catalog-pagination a.page-numbers:hover,
.wm-catalog-pagination a.page-numbers:focus-visible {
	background: var(--wm-primary-soft);
	border-color: rgba(27, 94, 147, 0.35);
	color: var(--wm-primary);
	box-shadow: 0 4px 12px rgba(27, 94, 147, 0.1);
	outline: none;
}

.wm-catalog-pagination a.page-numbers.prev,
.wm-catalog-pagination a.page-numbers.next {
	min-width: auto;
	padding: 0 1rem;
	font-size: 0.8rem;
	letter-spacing: 0.02em;
}

.wm-catalog-pagination a.page-numbers.prev:hover,
.wm-catalog-pagination a.page-numbers.next:hover,
.wm-catalog-pagination a.page-numbers.prev:focus-visible,
.wm-catalog-pagination a.page-numbers.next:focus-visible {
	background: var(--wm-primary);
	border-color: var(--wm-primary);
	color: #fff;
}

.watermota-site .wm-catalog-pagination a.page-numbers {
	color: var(--wm-text);
	text-decoration: none;
}

.watermota-site .wm-catalog-pagination a.page-numbers:hover,
.watermota-site .wm-catalog-pagination a.page-numbers:focus-visible {
	color: var(--wm-primary);
}

.watermota-site .wm-catalog-pagination a.page-numbers.prev:hover,
.watermota-site .wm-catalog-pagination a.page-numbers.next:hover,
.watermota-site .wm-catalog-pagination a.page-numbers.prev:focus-visible,
.watermota-site .wm-catalog-pagination a.page-numbers.next:focus-visible {
	color: #fff;
}

@media (max-width: 640px) {
	.wm-catalog-pagination ul.page-numbers,
	.wm-catalog-pagination .nav-links {
		gap: 0.35rem;
	}

	.wm-catalog-pagination a.page-numbers,
	.wm-catalog-pagination span.page-numbers {
		min-width: 2.25rem;
		height: 2.25rem;
		padding: 0 0.6rem;
		font-size: 0.82rem;
	}

	.wm-catalog-pagination a.page-numbers.prev,
	.wm-catalog-pagination a.page-numbers.next {
		flex: 1 1 100%;
		justify-content: center;
	}
}

/* Buttons */

.wm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wm-button--primary,
.wm-button--download {
	background: var(--wm-primary);
	color: #fff;
	border-color: var(--wm-primary);
}

.wm-button--primary:hover,
.wm-button--download:hover {
	background: var(--wm-primary-dark);
	border-color: var(--wm-primary-dark);
	color: #fff;
}

.wm-button--secondary,
.wm-button--ghost {
	background: #fff;
	border-color: var(--wm-border);
	color: var(--wm-text);
}

.wm-catalog-product-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

.wm-catalog-product-image img {
	width: 100%;
	height: auto;
	border: 1px solid #ececec;
}

.wm-catalog-attributes {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
}

.wm-catalog-attributes th,
.wm-catalog-attributes td {
	border-bottom: 1px solid var(--wm-border);
	padding: 0.6rem 0.75rem;
	text-align: left;
	vertical-align: top;
}

.wm-catalog-attributes th {
	width: 38%;
	color: #475569;
	font-weight: 600;
}

.wm-catalog-downloads__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.wm-catalog-download {
	display: inline-flex;
	padding: 0.75rem 1rem;
	border: 1px solid var(--wm-border);
	text-decoration: none;
}

.wm-quote-modal[hidden] {
	display: none;
}

.wm-quote-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
}

.wm-quote-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.wm-quote-modal__dialog {
	position: relative;
	width: min(720px, calc(100% - 2rem));
	max-height: calc(100vh - 2rem);
	overflow: auto;
	margin: 1rem auto;
	background: #fff;
	border-radius: 0;
	padding: 1.5rem;
}

.wm-quote-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	border: 0;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

@media (max-width: 1024px) {
	.wm-catalog-categories--showcase {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 921px) {
	.wm-catalog-page__layout,
	.wm-catalog-brand-header,
	.wm-catalog-product-layout {
		grid-template-columns: 1fr;
	}

	.wm-catalog-sidebar {
		order: 2;
		position: static;
		max-height: none;
	}

	.wm-catalog-intro-band__content {
		padding: 1.5rem 1.35rem;
	}
}

@media (max-width: 640px) {
	.wm-catalog-categories--showcase,
	.wm-catalog-categories--cards,
	.wm-catalog-products--promotii {
		grid-template-columns: 1fr;
	}

	.wm-catalog-page__layout {
		padding: 1.25rem;
	}

	.wm-catalog-products--promotii .wm-catalog-product-card__image img {
		height: 210px;
	}
}