/* Keep the catalog, contact form and long-form text on the same readable rhythm. */
:root {
	--morc-ink: #202124;
	--morc-text: #404348;
	--morc-line: #dddfe2;
	--morc-accent: #c51624;
	--morc-gutter: clamp(1rem, 4vw, 2rem);
}

.mkdf-content {
	color: var(--morc-text);
	font-weight: 400;
}

.mkdf-content a:focus-visible,
.mkdf-page-header a:focus-visible,
.mkdf-mobile-header a:focus-visible,
.mkdf-page-footer a:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

/* The old homepage placed the transparent navigation over an empty red spacer. */
.home .mkdf-content {
	margin-top: 0 !important;
}

.home .wpb-content-wrapper > .vc_row:has(.vc_custom_1790722804249),
.home .wpb-content-wrapper > .mkdf-row-grid-section-wrapper:has(.vc_custom_1766434935946) {
	display: none;
}

.home .morc-home-intro {
	padding-block: clamp(2rem, 4.5vw, 4rem) clamp(1.25rem, 2.5vw, 2rem);
}

.home .morc-home-title {
	max-width: 23ch;
	margin: 0;
	color: var(--morc-ink);
	font-family: Rajdhani, sans-serif;
	font-size: clamp(2rem, 4.4vw, 4.3rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.018em;
	text-transform: none;
	text-wrap: balance;
}

.home .mkdf-row-grid-section-wrapper:has(ul.products) .vc_row {
	padding-block: 0 !important;
}

.home .mkdf-row-grid-section-wrapper:has(ul.products) .vc_empty_space {
	display: none;
}

.home .mkdf-row-grid-section-wrapper:has(ul.products) {
	margin-bottom: clamp(2.25rem, 5vw, 4.5rem);
}

.home .mkdf-section-title-holder.mkdf-st-split {
	padding: 0 !important;
	margin: 0 0 clamp(1rem, 2.2vw, 1.75rem);
}

.home .mkdf-section-title-holder.mkdf-st-split .mkdf-st-inner {
	display: block;
	margin: 0;
}

.home .mkdf-section-title-holder.mkdf-st-split .mkdf-st-tagline,
.home .mkdf-section-title-holder.mkdf-st-split .mkdf-sts-separator {
	display: none;
}

.home .mkdf-section-title-holder.mkdf-st-split .mkdf-st-title {
	position: static;
	width: auto;
	margin: 0;
	border-left: 4px solid var(--morc-accent);
	padding: 0 0 0 .65rem;
	color: var(--morc-ink);
	font-size: clamp(1.45rem, 2.5vw, 2.05rem);
	line-height: 1.1;
	text-align: left;
}

.home .mkdf-section-title-holder.mkdf-st-split .mkdf-sts-title-text {
	position: static;
	display: block;
	opacity: 1;
	font-size: inherit;
	line-height: inherit;
	transform: none;
	overflow-wrap: anywhere;
}

/* Captions stay visible on the white backgrounds of MORC's category images. */
.home .woocommerce ul.products:has(> .product-category) {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(.75rem, 1.8vw, 1.5rem);
	margin: 0;
}

.home .woocommerce ul.products:has(> .product-category)::before,
.home .woocommerce ul.products:has(> .product-category)::after {
	display: none;
}

.home .woocommerce ul.products > li.product-category.product {
	width: auto;
	margin: 0;
	padding: 0;
	border: 1px solid var(--morc-line);
	background: #fff;
}

.home .woocommerce ul.products > li.product-category.product > a {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.home .woocommerce ul.products > li.product-category.product > a::before,
.home .woocommerce ul.products > li.product-category.product > a::after {
	display: none;
}

.home .woocommerce ul.products > li.product-category.product img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

.home .woocommerce ul.products > li.product-category.product .woocommerce-loop-category__title {
	position: static;
	box-sizing: border-box;
	width: 100%;
	margin: auto 0 0;
	padding: .6rem .75rem;
	color: var(--morc-ink);
	background: #f3f4f5;
	font-size: clamp(.98rem, 1.5vw, 1.25rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .015em;
	text-align: left;
	overflow-wrap: anywhere;
	opacity: 1;
	transform: none;
}

.home .woocommerce ul.products > li.product-category.product a:is(:hover, :focus-visible) .woocommerce-loop-category__title {
	color: var(--morc-accent);
	text-decoration: underline;
	text-underline-offset: .18em;
}

.mkdf-content ul.products li.product .mkdf-product-list-title {
	margin: .35rem 0;
	color: var(--morc-ink);
	font: 500 clamp(.96rem, 1.12vw, 1.08rem)/1.34 Ubuntu, sans-serif;
	letter-spacing: normal;
	text-transform: none;
	overflow-wrap: anywhere;
}

.mkdf-content ul.products > li.type-product .mkdf-pl-inner {
	min-height: 0;
}

.mkdf-content ul.products > li.type-product .mkdf-pl-image .mkdf-pl-text {
	background: transparent;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
	.mkdf-content ul.products > li.type-product:hover .mkdf-pl-image .mkdf-pl-text {
		background: rgb(32 33 36 / 7%);
	}
}

/* MORC's legacy CSS made this empty image link a second, full-height row. */
.mkdf-content ul.products > li.type-product > a.woocommerce-LoopProduct-link {
	position: absolute !important;
	inset: 0;
	z-index: 1;
}

.mkdf-content ul.products > li.type-product > :is(.mkdf-pl-text-wrapper, .yith-wcwl-add-to-wishlist) {
	position: relative;
	z-index: 2;
	pointer-events: none;
}

.mkdf-content ul.products > li.type-product :is(.mkdf-pl-text-wrapper, .yith-wcwl-add-to-wishlist) :is(a, button) {
	pointer-events: auto;
}

.mkdf-content ul.products > li.type-product .mkdf-product-list-title a {
	display: block;
}

.mkdf-content ul.products > li.type-product > a.woocommerce-LoopProduct-link:focus-visible {
	outline: 3px solid var(--morc-accent);
	outline-offset: -3px;
}

.mkdf-content ul.products li.product .price {
	line-height: 1.25;
	text-align: left;
}

.mkdf-content ul.products li.product .woocommerce-price-suffix {
	display: block;
	color: var(--morc-text);
	font-family: Ubuntu, sans-serif;
	font-size: .78rem;
	font-weight: 400;
	line-height: 1.45;
	text-transform: none;
}

.single-product .summary .mkdf-single-product-title {
	margin: 0 0 .65rem;
	color: var(--morc-ink);
	font-size: clamp(1.65rem, 3.25vw, 2.65rem) !important;
	line-height: 1.12;
	letter-spacing: -.01em;
	text-transform: none;
	overflow-wrap: anywhere;
}

.single-product .mkdf-title-holder .mkdf-title-info .mkdf-page-title {
	color: #fff;
	font-family: Rajdhani, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
}

.mkdf-content .morc-legal-document {
	max-width: 72ch;
	margin-inline: auto;
	padding-block: clamp(1rem, 2.5vw, 2.5rem);
	color: var(--morc-text);
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.morc-legal-document :is(h2, h3) {
	margin-block: 1.4em .45em;
	line-height: 1.18;
}

.morc-legal-document :is(p, li) a {
	text-decoration: underline;
	text-underline-offset: .14em;
}

.mkdf-content .pm-leadgen-form input:not([type=checkbox]):not([type=hidden]),
.mkdf-content .pm-leadgen-form textarea {
	box-sizing: border-box;
	max-width: 100%;
	font-size: 1rem;
	line-height: 1.5;
}

@media (min-width: 1025px) and (max-width: 1199px) {
	.mkdf-page-header .mkdf-menu-area .mkdf-logo-wrapper > a {
		height: 70px !important;
	}
}

@media (min-width: 1025px) {
	.mkdf-content:has(.mkdf-title-holder.mkdf-standard-with-breadcrumbs-type) {
		margin-top: 0 !important;
	}

	.mkdf-content .mkdf-title-holder.mkdf-standard-with-breadcrumbs-type,
	.mkdf-content .mkdf-title-holder.mkdf-standard-with-breadcrumbs-type .mkdf-title-wrapper {
		display: block;
		position: relative;
		height: auto !important;
		padding: 0 !important;
		background-color: var(--morc-accent) !important;
	}

	.woocommerce .mkdf-content .mkdf-title-holder.mkdf-standard-with-breadcrumbs-type {
		margin-bottom: clamp(1rem, 2vw, 1.75rem);
	}

	.mkdf-content .mkdf-title-holder.mkdf-standard-with-breadcrumbs-type .mkdf-title-inner {
		display: block;
		height: auto;
		padding-block: clamp(1.15rem, 2vw, 1.75rem);
	}

	.mkdf-standard-with-breadcrumbs-type .mkdf-title-inner > .mkdf-grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(18rem, 36%);
		grid-template-areas: "title search" "crumbs search";
		align-items: center;
		column-gap: clamp(1.5rem, 4vw, 4rem);
		row-gap: .25rem;
	}

	.mkdf-standard-with-breadcrumbs-type .mkdf-title-inner > .mkdf-grid::before,
	.mkdf-standard-with-breadcrumbs-type .mkdf-title-inner > .mkdf-grid::after {
		display: none;
	}

	.mkdf-standard-with-breadcrumbs-type .mkdf-title-inner .mkdf-title-info {
		grid-area: title;
		display: block;
	}

	.mkdf-standard-with-breadcrumbs-type .mkdf-title-info .mkdf-page-title {
		margin: 0;
		color: #fff;
		font: 700 clamp(2rem, 3vw, 3rem)/1.1 Rajdhani, sans-serif;
		letter-spacing: .01em;
		text-transform: uppercase;
		overflow-wrap: anywhere;
	}

	.mkdf-standard-with-breadcrumbs-type .mkdf-title-inner .mkdf-breadcrumbs-info {
		display: block !important;
		grid-area: crumbs;
		text-align: left;
	}

	.mkdf-standard-with-breadcrumbs-type .mkdf-breadcrumbs-info .mkdf-breadcrumbs,
	.mkdf-standard-with-breadcrumbs-type .mkdf-breadcrumbs-info .mkdf-breadcrumbs :is(a, span) {
		color: #fff !important;
		font: 400 .875rem/1.45 Ubuntu, sans-serif;
		letter-spacing: normal;
		text-transform: none;
		overflow-wrap: anywhere;
	}

	.mkdf-standard-with-breadcrumbs-type .mkdf-breadcrumbs a {
		text-decoration: underline;
		text-underline-offset: .14em;
	}

	.mkdf-standard-with-breadcrumbs-type .mkdf-breadcrumbs-info .mkdf-breadcrumbs .mkdf-delimiter {
		display: inline;
		width: auto;
		height: auto;
		margin: 0 .45rem;
		padding: 0;
		inset: auto;
		vertical-align: baseline;
		background: none;
	}

	.mkdf-standard-with-breadcrumbs-type .mkdf-breadcrumbs .mkdf-delimiter::before {
		display: none;
	}

	.mkdf-standard-with-breadcrumbs-type .mkdf-breadcrumbs .mkdf-delimiter::after {
		content: "/";
		display: inline;
		position: static;
		background: none;
	}

	.mkdf-standard-with-breadcrumbs-type .mkdf-title-inner .toto {
		grid-area: search;
		width: 100%;
		min-width: 0;
		margin: 0;
	}
}

@media (max-width: 1024px) {
	.mkdf-mobile-header .mkdf-mobile-nav {
		max-height: calc(100vh - 70px);
		max-height: calc(100dvh - 70px);
		overflow-y: auto !important;
		overscroll-behavior-y: contain;
	}

	.mkdf-mobile-header:has(.mkdf-mobile-menu-opened) .mkdf-mobile-nav {
		height: auto !important;
	}

	.mkdf-mobile-header .mkdf-mobile-nav > :is(.ps__rail-x, .ps__rail-y) {
		display: none;
	}

	.mkdf-mobile-header .mkdf-mobile-nav ul li > a {
		box-sizing: border-box;
		display: flex;
		align-items: center;
		min-height: 44px;
		padding-right: 48px;
	}

	.mkdf-mobile-header .mkdf-mobile-nav .mobile_arrow {
		box-sizing: border-box;
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		line-height: 1;
	}

	.mkdf-mobile-header :is(.mobile_arrow, .mkdf-mobile-menu-opener, .mkdf-mobile-menu-opener a):focus-visible {
		outline: 2px solid currentColor;
		outline-offset: -4px;
	}

	.mkdf-content .mkdf-grid,
	.mkdf-content .mkdf-container-inner,
	.mkdf-content .mkdf-row-grid-section {
		width: calc(100% - 2 * var(--morc-gutter));
	}

	.home .woocommerce ul.products:has(> .product-category) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.mkdf-content .mkdf-title-holder.mkdf-standard-with-breadcrumbs-type {
		height: auto !important;
	}

	.mkdf-content .mkdf-title-holder.mkdf-standard-with-breadcrumbs-type .mkdf-title-wrapper {
		position: relative;
		display: block;
		height: auto !important;
	}

	.mkdf-content .mkdf-title-holder.mkdf-standard-with-breadcrumbs-type .mkdf-title-inner {
		display: block;
		height: auto;
		padding-block: 1.15rem;
	}

	.mkdf-title-holder .mkdf-title-info .mkdf-page-title {
		margin: 0;
		font-family: Rajdhani, sans-serif;
		font-size: clamp(1.65rem, 4vw, 2.25rem);
		font-weight: 700;
		line-height: 1.12;
		overflow-wrap: anywhere;
	}

	.single-product .mkdf-content .morc-product-column {
		padding-inline: 0;
	}
}

.mkdf-title-holder .toto div.asp_main_container .probox {
	height: 44px !important;
	align-items: center;
	background: #fff !important;
}

.mkdf-title-holder .toto div.asp_main_container .proinput input:is(.orig, .autocomplete) {
	height: 44px !important;
	font-size: 1rem !important;
	color: var(--morc-ink) !important;
}

.mkdf-title-holder .toto div.asp_main_container .proinput input::placeholder {
	color: #505358 !important;
	font: 400 1rem/1.4 Ubuntu, sans-serif !important;
	opacity: 1;
}

.mkdf-title-holder .toto div.asp_main_container .probox .promagnifier {
	height: 44px !important;
	width: 44px !important;
	background: #8f1220 !important;
}

/* Use WooCommerce's own × and give it a full touch target on phones. */
.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-remove a.remove {
	display: inline-grid;
	place-items: center;
	box-sizing: border-box;
	inline-size: 44px;
	block-size: 44px;
	border: 1px solid #d5dadc;
	border-radius: .35rem;
	background: #fff;
	color: #8f1220;
	font: 500 1.5rem/1 Ubuntu, sans-serif;
	text-decoration: none;
}

.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-remove a.remove::after {
	content: none;
}

.woocommerce-cart .woocommerce-cart-form table.cart tr.cart_item td.product-remove a.remove:is(:hover, :focus-visible) {
	border-color: #8f1220;
	background: #fdf1f2;
}


@media (max-width: 359px) {
	.woocommerce-cart .woocommerce-cart-form table.cart :is(thead th, td.product-name) {
		overflow-wrap: anywhere;
	}
}

@media (max-width: 680px) {
	.home .woocommerce ul.products:has(> .product-category) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mkdf-content .woocommerce-ordering,
	.mkdf-content .woocommerce-ordering .select2-container {
		width: 100% !important;
		max-width: 100%;
	}

	.page-id-1297 .vc_row.vc_custom_1673540947013 {
		padding-block: 2rem !important;
	}

	.page-id-1297 .vc_row.vc_custom_1673540947013 > .vc_column_container + .vc_column_container {
		margin-top: 1rem;
	}
}

@media (max-width: 680px) {
	.mkdf-content .mkdf-pl-main-holder ul.products,
	.home .woocommerce ul.products:not(:has(> .product-category)),
	.single-product .related ul.products {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem .85rem;
		margin: 0;
	}

	.mkdf-content .mkdf-pl-main-holder ul.products::before,
	.mkdf-content .mkdf-pl-main-holder ul.products::after,
	.home .woocommerce ul.products:not(:has(> .product-category))::before,
	.home .woocommerce ul.products:not(:has(> .product-category))::after,
	.single-product .related ul.products::before,
	.single-product .related ul.products::after {
		display: none;
	}

	.mkdf-content .mkdf-pl-main-holder ul.products > li.product,
	.home .woocommerce ul.products > li.type-product,
	.single-product .related ul.products > li.product {
		width: auto;
		margin: 0;
		padding: 0;
	}
}

@media (max-width: 359px) {
	.mkdf-content .mkdf-pl-main-holder ul.products,
	.home .woocommerce ul.products:not(:has(> .product-category)),
	.single-product .related ul.products {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.home .mkdf-section-title-holder.mkdf-has-appear-animation * {
		animation: none;
		transition: none;
	}
}
