/* WooCommerce catalog styles */
/* Single product */

.rm-product-single {
	padding: 42px 0 0;
	background: #fff;
}

.rm-product-single__container {
	width: min(100% - 32px, 1280px);
	max-width: none;
}

.rm-product-breadcrumbs {
	margin-bottom: 18px;
	color: #7a828c;
	font-size: 13px;
	line-height: 1.4;
}

.rm-product-breadcrumbs a {
	color: #7a828c;
}

.rm-product-breadcrumbs a:hover {
	color: var(--rm-orange);
}

.rm-product-single__title {
	margin: 0 0 32px;
	color: #050505;
	font-size: clamp(36px, 4vw, 58px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.rm-product-single__hero {
	display: grid;
	grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
	gap: 46px;
	align-items: start;
	margin-bottom: 42px;
}

.rm-product-single__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 430px;
	padding: 28px;
	background: #f7f4ef;
	border-radius: 8px;
}

.rm-product-single__image {
	display: block;
	width: 100%;
	max-height: 360px;
	object-fit: contain;
}

.rm-product-single__summary {
	padding-top: 10px;
}

.rm-product-single__excerpt {
	color: #111827;
	font-size: 16px;
	line-height: 1.45;
}

.rm-product-single__excerpt h2,
.rm-product-single__excerpt h3 {
	margin: 0 0 14px;
	color: #050505;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.rm-product-single__excerpt p {
	margin: 0 0 14px;
}

.rm-product-single__excerpt ul {
	margin: 10px 0 18px 20px;
	padding: 0;
}

.rm-product-single__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 260px;
	min-height: 52px;
	margin-top: 20px;
	padding: 0 28px;
	color: #fff !important;
	background: var(--rm-orange);
	border: 0;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s ease;
}

.rm-product-single__button:hover,
.rm-product-single__button:focus {
	color: #fff !important;
	background: #e96f00;
	text-decoration: none;
}

.rm-product-single__content {
	margin-top: 16px;
	color: #667085;
	font-size: 15px;
	line-height: 1.55;
}

.rm-product-single__content > *:first-child {
	margin-top: 0;
}

.rm-product-single__content p {
	margin: 0 0 16px;
}

.rm-product-single__content details {
	margin: 0 0 14px;
	background: #f3f0ec;
	border-radius: 8px;
}

.rm-product-single__content summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 0 18px;
	color: #001f3f;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
}

.rm-product-single__content summary::-webkit-details-marker {
	display: none;
}

.rm-product-single__content summary::after {
	content: "⌄";
	margin-left: 16px;
	color: #001f3f;
	font-size: 16px;
}

.rm-product-single__content details[open] summary::after {
	transform: rotate(180deg);
}

.rm-product-single__content details > *:not(summary) {
	padding: 0 18px 18px;
}

.rm-product-single .price,
.rm-product-single .cart,
.rm-product-single .stock,
.rm-product-single .sku_wrapper,
.rm-product-single .product_meta,
.rm-product-single .woocommerce-product-rating {
	display: none !important;
}

@media (max-width: 980px) {
	.rm-product-single {
		padding-top: 28px;
	}

	.rm-product-single__title {
		margin-bottom: 26px;
		font-size: 34px;
		line-height: 1.08;
	}

	.rm-product-single__hero {
		grid-template-columns: 1fr;
		gap: 26px;
		margin-bottom: 34px;
	}

	.rm-product-single__media {
		min-height: 0;
		padding: 24px;
	}

	.rm-product-single__image {
		max-height: 300px;
	}

	.rm-product-single__summary {
		padding-top: 0;
	}

	.rm-product-single__excerpt {
		font-size: 15px;
	}

	.rm-product-single__excerpt h2,
	.rm-product-single__excerpt h3 {
		font-size: 22px;
	}

	.rm-product-single__button {
		width: 100%;
		min-width: 0;
	}

	.rm-product-single__content {
		font-size: 14px;
	}

	.rm-product-single__content summary {
		min-height: 58px;
		font-size: 13px;
		line-height: 1.25;
	}
}
/* Product technical tabs */

.rm-product-tabs {
	display: grid;
	gap: 14px;
	margin: 38px 0 34px;
}

.rm-product-tabs__item {
	margin: 0;
	background: #fff;
	border: 0;
	border-radius: 8px;
	overflow: hidden;
}

.rm-product-tabs__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 0 18px;
	color: #001f3f;
	background: #f3f0ec;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
	transition: color .2s ease, background-color .2s ease;
}

.rm-product-tabs__title:hover,
.rm-product-tabs__item[open] .rm-product-tabs__title {
	color: #fff;
	background: var(--rm-blue);
}

.rm-product-tabs__title::-webkit-details-marker {
	display: none;
}

.rm-product-tabs__title::marker {
	content: "";
}

.rm-product-tabs__title::after {
	content: "⌄";
	margin-left: 16px;
	color: currentColor;
	font-size: 16px;
	line-height: 1;
	transition: transform .2s ease;
}

.rm-product-tabs__item[open] .rm-product-tabs__title::after {
	transform: rotate(180deg);
}

.rm-product-tabs__content {
	padding: 34px 30px 28px;
	color: #1f2933;
	background: #fff;
	font-size: 15px;
	line-height: 1.55;
}

.rm-product-tabs__content > *:first-child {
	margin-top: 0;
}

.rm-product-tabs__content > *:last-child {
	margin-bottom: 0;
}

.rm-product-tabs__content img {
	max-width: 100%;
	height: auto;
}

.rm-product-tabs__content table {
	width: 100% !important;
	border-collapse: collapse;
	margin: 12px 0;
	background: #fff;
}

.rm-product-tabs__content th,
.rm-product-tabs__content td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--rm-border);
	color: #111827;
	text-align: left;
	vertical-align: middle;
}

.rm-product-tabs__content th {
	font-weight: 500;
}

@media (max-width: 980px) {
	.rm-product-tabs {
		gap: 12px;
		margin: 30px 0 30px;
	}

	.rm-product-tabs__title {
		min-height: 58px;
		padding: 0 14px;
		font-size: 13px;
		line-height: 1.25;
	}

	.rm-product-tabs__content {
		padding: 24px 14px 22px;
		font-size: 14px;
		overflow-x: auto;
	}

	.rm-product-tabs__content table {
		min-width: 560px;
	}

	.rm-product-tabs__content th,
	.rm-product-tabs__content td {
		padding: 12px 10px;
	}
}
/* Product category */

.rm-product-category {
	padding: 42px 0 0;
	background: #fff;
}

.rm-product-category__container {
	width: min(100% - 32px, 1280px);
	max-width: none;
}

.rm-product-category__header {
	margin-bottom: 34px;
}

.rm-product-category__title {
	margin: 0 0 22px;
	color: #050505;
	font-size: clamp(38px, 4.2vw, 62px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.rm-product-category__description {
	width: 100%;
	max-width: none;
	color: #667085;
	font-size: 16px;
	line-height: 1.55;
}

.rm-product-category__description--bottom {
	width: 100%;
	max-width: none;
	margin: -18px 0 54px;
}

.rm-product-category__description p {
	margin: 0 0 16px;
}

.rm-category-grid,
.rm-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 28px 0 54px;
}

.rm-category-card,
.rm-product-card {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	min-height: 0;
	color: #111827;
	background: #f7f4ef;
	border-radius: 0;
	overflow: hidden;
	transition: box-shadow .2s ease;
}

.rm-category-card:hover,
.rm-product-card:hover {
	box-shadow: 0 16px 34px rgba(15, 23, 42, .1);
}

.rm-category-card__image-wrap,
.rm-product-card__image-wrap {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 78px 34px 34px;
	background: #f7f4ef;
}

.rm-category-card__image,
.rm-product-card__image {
	display: block;
	max-width: 100%;
	max-height: 78%;
	object-fit: contain;
	transition: transform .35s ease;
}

.rm-category-card:hover .rm-category-card__image,
.rm-product-card:hover .rm-product-card__image {
	transform: scale(1.08);
}

.rm-category-card__title,
.rm-product-card__title {
	position: absolute;
	top: 28px;
	left: 26px;
	right: 26px;
	z-index: 2;
	display: block;
	min-height: 0;
	padding: 0;
	color: #111827;
	background: transparent;
	font-size: 21px;
	font-weight: 500;
	line-height: 1.18;
	text-align: center;
	text-transform: uppercase;
}

.rm-category-card:hover .rm-category-card__title,
.rm-product-card:hover .rm-product-card__title {
	color: var(--rm-orange);
}

.rm-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 54px;
}

.rm-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	color: #111827;
	background: #f3f0ec;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
}

.rm-pagination .page-numbers.current,
.rm-pagination .page-numbers:hover {
	color: #fff;
	background: var(--rm-blue);
}

.rm-product-category__empty {
	margin: 0 0 54px;
	color: #667085;
	font-size: 16px;
}

@media (max-width: 980px) {
	.rm-product-category {
		padding-top: 28px;
	}

	.rm-product-category__title {
		margin-bottom: 18px;
		font-size: 34px;
		line-height: 1.08;
	}

	.rm-product-category__description {
		font-size: 15px;
	}

	.rm-category-grid,
	.rm-product-grid {
		grid-template-columns: 1fr;
		gap: 18px;
		margin: 24px 0 38px;
	}

	.rm-category-card,
.rm-product-card {
	aspect-ratio: 1 / 1;
	min-height: 0;
}

	.rm-category-card__image,
.rm-product-card__image {
	max-height: 74%;
}

	.rm-category-card__title,
.rm-product-card__title {
	top: 22px;
	left: 20px;
	right: 20px;
	min-height: 0;
	padding: 0;
	font-size: 18px;
}
}
/* Extended product category */

.rm-product-category--extended {
	padding-top: 0;
}

.rm-category-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 430px;
	grid-template-areas:
		"breadcrumbs breadcrumbs"
		"main aside";
	gap: 28px 58px;
	align-items: center;
	margin: 0 0 62px;
	padding: 72px 0 74px;
	background: #eef5ff;
	box-shadow: 0 0 0 100vmax #eef5ff;
	clip-path: inset(0 -100vmax);
}

.rm-category-hero__breadcrumbs {
	grid-area: breadcrumbs;
	margin-bottom: 6px;
	color: #7a828c;
	font-size: 13px;
	line-height: 1.4;
}

.rm-category-hero__breadcrumbs a {
	color: #7a828c;
}

.rm-category-hero__breadcrumbs a:hover {
	color: var(--rm-orange);
}

.rm-category-hero__main {
	grid-area: main;
	min-width: 0;
}

.rm-category-hero .rm-product-category__title {
	margin-bottom: 24px;
	font-size: clamp(42px, 4.4vw, 64px);
	line-height: .98;
}

.rm-category-hero__text {
	max-width: 760px;
	color: #111827;
	font-size: 17px;
	line-height: 1.42;
}

.rm-category-hero__text p {
	margin: 0 0 16px;
}

.rm-category-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 320px;
	min-height: 56px;
	margin-top: 28px;
	padding: 0 28px;
	color: #fff !important;
	background: var(--rm-orange);
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s ease;
}

.rm-category-hero__button::after {
	content: "→";
	margin-left: 12px;
	font-size: 18px;
	line-height: 1;
}

.rm-category-hero__button:hover {
	color: #fff !important;
	background: #e96f00;
}

.rm-category-hero__aside {
	position: relative;
	grid-area: aside;
	display: block;
	max-height: none;
	padding: 34px 38px 58px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
	color: #111827;
	font-size: 15px;
	line-height: 1.55;
	overflow: hidden;
}

.rm-category-hero__aside-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.rm-category-hero__aside-content {
	max-height: 196px;
	overflow: hidden;
	transition: max-height .25s ease;
}

.rm-category-hero__aside-toggle:checked ~ .rm-category-hero__aside-content {
	max-height: none;
	overflow: visible;
}

.rm-category-hero__aside:has(.rm-category-hero__aside-toggle:checked) {
	overflow: visible;
}

.rm-category-hero__aside::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 44px;
	z-index: 1;
	height: 58px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 78%);
	pointer-events: none;
}

.rm-category-hero__aside:has(.rm-category-hero__aside-toggle:checked)::before {
	display: none;
}

.rm-category-hero__aside h2,
.rm-category-hero__aside h3 {
	margin: 0 0 20px;
	color: #050505;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.08;
	text-transform: uppercase;
}

.rm-category-hero__aside ul {
	display: grid;
	gap: 12px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.rm-category-hero__aside li {
	position: relative;
	padding-left: 18px;
}

.rm-category-hero__aside li::before {
	content: "";
	position: absolute;
	top: .7em;
	left: 0;
	width: 4px;
	height: 4px;
	background: var(--rm-orange);
	border-radius: 50%;
}

.rm-category-hero__aside p {
	margin: 0 0 14px;
}

.rm-category-hero__aside-more {
	position: absolute;
	left: 38px;
	bottom: 26px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--rm-orange);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.rm-category-hero__aside-more::after {
	content: "⌄";
	font-size: 16px;
	line-height: 1;
	transition: transform .2s ease;
}

.rm-category-hero__aside-toggle:checked ~ .rm-category-hero__aside-more::after {
	transform: rotate(180deg);
}

.rm-category-hero__aside-more-close {
	display: none;
}

.rm-category-hero__aside-toggle:checked ~ .rm-category-hero__aside-more .rm-category-hero__aside-more-open {
	display: none;
}

.rm-category-hero__aside-toggle:checked ~ .rm-category-hero__aside-more .rm-category-hero__aside-more-close {
	display: inline;
}
.rm-category-tabs {
	margin-top: 10px;
}

@media (max-width: 980px) {
	.rm-category-hero {
		grid-template-columns: 1fr;
		grid-template-areas:
			"breadcrumbs"
			"main"
			"aside";
		gap: 24px;
		margin-bottom: 36px;
		padding: 30px 0 38px;
	}

	.rm-category-hero .rm-product-category__title {
		margin-bottom: 20px;
		font-size: 34px;
		line-height: 1.08;
	}

	.rm-category-hero__text {
		max-width: none;
		font-size: 15px;
		line-height: 1.45;
	}

	.rm-category-hero__button {
		width: 100%;
		min-width: 0;
	}

	.rm-category-hero__aside {
	padding: 24px 20px 54px;
	border-radius: 10px;
	overflow: hidden;
}

.rm-category-hero__aside-content {
	max-height: 270px;
	overflow: hidden;
}

.rm-category-hero__aside-toggle:checked ~ .rm-category-hero__aside-content {
	max-height: none;
	overflow: visible;
}

.rm-category-hero__aside::before {
	bottom: 42px;
	height: 54px;
}

.rm-category-hero__aside-more {
	left: 20px;
	bottom: 24px;
}	

	.rm-category-hero__aside h2,
	.rm-category-hero__aside h3 {
		font-size: 23px;
	}
}
html {
	scroll-behavior: smooth;
}

#category-items,
#category-products,
#category-tabs {
	scroll-margin-top: 120px;
}
/* Catalog page */

.rm-catalog-page {
	padding-top: 42px;
}

.rm-catalog-page__header {
	margin-bottom: 46px;
}

.rm-catalog-grid {
	grid-template-columns: repeat(2, minmax(0, 410px));
	justify-content: start;
	gap: 24px;
	margin: 0 0 62px;
}

.rm-catalog-card {
	aspect-ratio: 1 / 1;
}

.rm-category-card__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 20px;
	margin-left: 8px;
	padding: 0 8px;
	color: #667085;
	background: #fff;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	vertical-align: middle;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}

.rm-catalog-page__description {
	max-width: 620px;
	margin: 0 0 46px;
	color: #7a828c;
	font-size: 16px;
	line-height: 1.55;
}

@media (max-width: 980px) {
	.rm-catalog-page {
		padding-top: 30px;
	}

	.rm-catalog-page__header {
		margin-bottom: 24px;
	}

	.rm-catalog-grid {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-bottom: 42px;
	}

	.rm-catalog-page__description {
		max-width: none;
		margin-bottom: 42px;
		font-size: 15px;
	}
}
/* Search page */

.rm-search-page {
	padding-top: 42px;
}

.rm-search-page__header {
	margin-bottom: 34px;
}

.rm-search-page__lead {
	max-width: 680px;
	margin: 0;
	color: #667085;
	font-size: 16px;
	line-height: 1.55;
}

.rm-search-page__grid {
	margin-top: 0;
}

.rm-search-page__empty {
	max-width: 620px;
	margin: 0 0 54px;
	color: #667085;
	font-size: 16px;
	line-height: 1.55;
}

.rm-search-page__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 52px;
	margin-top: 18px;
	padding: 0 24px;
	color: #fff !important;
	background: var(--rm-orange);
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
}

.rm-search-page__button:hover {
	color: #fff !important;
	background: #e96f00;
}

.rm-search-page__list {
	display: grid;
	gap: 14px;
	margin: 0 0 54px;
}

.rm-search-page__item {
	display: grid;
	gap: 8px;
	padding: 22px 24px;
	background: #f7f4ef;
	color: #111827;
}

.rm-search-page__item:hover .rm-search-page__item-title {
	color: var(--rm-orange);
}

.rm-search-page__item-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

.rm-search-page__item-text {
	color: #667085;
	font-size: 15px;
	line-height: 1.45;
}

@media (max-width: 980px) {
	.rm-search-page {
		padding-top: 28px;
	}

	.rm-search-page__lead,
	.rm-search-page__empty {
		font-size: 15px;
	}
}