.rcm-market-archive,
.rcm-market-archive * {
	box-sizing: border-box;
	letter-spacing: 0;
}

.rcm-market-archive {
	padding: 44px 0 100px;
	color: var(--text-primary, #000);
	font-family: "Lato", sans-serif;
}

.rcm-market-archive__container {
	display: flex;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 60px;
	flex-direction: column;
	align-items: flex-start;
}

.rcm-market-archive__header {
	width: 100%;
	margin: 0 0 44px;
}

.rcm-market-archive__title {
	margin: 0;
	color: var(--text-primary, #000);
	font-family: "Lato", sans-serif;
	font-size: 4.4rem;
	font-weight: 700;
	line-height: 5.5rem;
}

.rcm-market-toolbar {
	display: flex;
	width: 100%;
	margin-bottom: 40px;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
}

.rcm-market-tabs {
	min-width: 0;
}

.rcm-market-tabs__list {
	display: flex;
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.rcm-market-tabs__list::-webkit-scrollbar {
	display: none;
}

.rcm-market-tabs__item {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

.rcm-market-tabs__link {
	display: block;
	width: max-content;
	padding: 8px 16px;
	border-bottom: 1px solid var(--divider, rgba(0, 0, 0, 0.12));
	color: var(--text-secondary, #565656);
	font-family: "Lato", sans-serif;
	font-size: 2rem;
	font-weight: 700;
	line-height: 136%;
	text-decoration: none;
}

.rcm-market-tabs__link.is-active {
	padding-bottom: 5px;
	border-bottom: 4px solid var(--text-primary, #000);
	color: var(--text-primary, #000);
}

.rcm-market-sort {
	position: relative;
	flex: 0 0 220px;
	margin: 0;
}

.rcm-market-sort::after {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 9px;
	height: 9px;
	border-right: 1.5px solid #0f0f0f;
	border-bottom: 1.5px solid #0f0f0f;
	content: "";
	pointer-events: none;
	transform: rotate(45deg);
	transform-origin: center;
}

.rcm-market-sort select {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 11px 48px 11px 16px;
	border: 1px solid #9e9e9e;
	border-radius: 8px;
	outline: none;
	background: #fff;
	color: var(--text-primary, #000);
	font-family: "Lato", sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 136%;
	appearance: none;
	cursor: pointer;
}

.rcm-market-sort select:focus-visible {
	border-color: #0f0f0f;
	outline: 2px solid rgba(15, 15, 15, 0.22);
	outline-offset: 2px;
}

.rcm-market-grid {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.rcm-market-grid__empty {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 1.8rem;
	line-height: 136%;
}

.rcm-market-grid .product-card {
	display: flex;
	width: 100%;
	min-width: 0;
	min-height: 480px;
	padding: 0;
	overflow: hidden;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	border: 1px solid var(--divider, rgba(0, 0, 0, 0.12));
	border-radius: 8px;
	background: var(--background-paper-elevation-23, #fff);
}

.rcm-market-grid .product-card__image {
	display: block;
	width: 100%;
	min-width: 0;
	height: 240px;
	overflow: hidden;
	flex: 0 0 240px;
	border-radius: 0;
}

.rcm-market-grid .product-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	border-radius: 0;
	object-fit: cover;
}

.rcm-market-grid .product-card__meta {
	top: 16px;
	left: 16px;
	max-width: calc(100% - 32px);
}

.rcm-market-grid .product-card__attribute {
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 136%;
}

.rcm-market-grid .product-card__content {
	display: flex;
	width: 100%;
	height: 240px;
	min-height: 230px;
	padding: 16px;
	flex: 0 0 240px;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	align-self: stretch;
}

.rcm-market-grid .product-card__title {
	margin: 0 0 8px;
	color: var(--text-primary, #000);
	font-family: "Lato", sans-serif;
	font-size: 2rem;
	font-weight: 700;
	line-height: 136%;
}

.rcm-market-grid .product-card__title a {
	color: inherit;
	text-decoration: none;
}

.rcm-market-grid .product-card__description {
	color: var(--text-secondary, #565656);
	font-family: "Lato", sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 136%;
}

.rcm-market-grid .product-card__actions {
	display: flex;
	width: 100%;
	margin-top: auto;
	padding-top: 24px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.rcm-market-grid .product-card__actions > div {
	flex: 0 1 auto;
}

.rcm-market-grid .product-card__actions > .product-card__price {
	display: flex;
	min-width: 0;
	align-items: baseline;
	flex: 1 1 auto;
	gap: 8px;
	color: var(--text-primary, #000);
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 136%;
	white-space: nowrap;
}

.rcm-market-grid .product-card__price--regular,
.rcm-market-grid .product-card__price--sale {
	font: inherit;
}

.rcm-market-grid del.product-card__price--regular,
.rcm-market-grid .product-card__price:has(.product-card__price--sale) .product-card__price--regular {
	color: var(--text-secondary, #565656);
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 136%;
}

.rcm-market-grid .product-card__btns {
	display: flex;
	min-width: 0;
	margin-left: auto;
	align-items: center;
	flex: 0 1 218px;
	justify-content: flex-end;
	gap: 8px;
}

.rcm-market-grid .product-card__btns .btn,
.rcm-merch-card__buy {
	display: inline-flex;
	width: 184px;
	min-width: 112px;
	min-height: 48px;
	margin: 0;
	padding: 11px 20px;
	align-items: center;
	justify-content: center;
	border: 1px solid #0f0f0f;
	border-radius: 1000px;
	background: transparent;
	color: #0f0f0f;
	font-family: "Lato", sans-serif;
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 136%;
	text-align: center;
	text-decoration: none;
}

.rcm-market-grid .product-card__btns .btn:hover,
.rcm-merch-card__buy:hover {
	background: #0f0f0f;
	color: #fff;
}

.rcm-market-grid .yith-wcwl-add-to-wishlist-button-block,
.rcm-market-grid .yith-wcwl-add-to-wishlist {
	flex: 0 0 44px;
	margin: 0 !important;
}

.rcm-market-grid .yith-add-to-wishlist-button-block .yith-wcwl-add-to-wishlist-button,
.rcm-market-grid .yith-wcwl-add-to-wishlist-button {
	display: inline-flex;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 9px;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: #0f0f0f;
}

.rcm-market-grid .yith-wcwl-add-to-wishlist-button svg {
	width: 26px;
	height: 26px;
}

.rcm-market-grid .yith-wcwl-add-to-wishlist-button__label {
	display: none;
}

.rcm-merch-card {
	position: relative;
}

.rcm-market-grid .rcm-merch-card__image {
	background: var(--lighter-grey, #f8f8f8);
}

.rcm-market-grid .rcm-merch-card__image img {
	padding: 0;
	background: var(--lighter-grey, #f8f8f8);
	object-fit: cover;
}

.rcm-market-grid .rcm-merch-card__title {
	margin: 0;
}

.rcm-merch-card__stock {
	position: absolute;
	z-index: 2;
	top: 16px;
	left: 16px;
	display: inline-flex;
	padding: 4px 8px;
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 100px;
	background: #353535;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 136%;
}

.rcm-merch-card.is-out-of-stock .rcm-merch-card__image img,
.rcm-merch-card.is-out-of-stock .rcm-merch-card__title,
.rcm-merch-card.is-out-of-stock .rcm-merch-card__actions {
	opacity: 0.38;
}

.rcm-merch-card__buttons {
	flex: 0 1 218px;
}

.rcm-merch-card__wishlist {
	display: flex;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
}

.rcm-merch-card__wishlist-fallback {
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	color: #0f0f0f;
}

.rcm-merch-card__buy.is-disabled {
	border-color: #bdbdbd;
	color: #9e9e9e;
	cursor: not-allowed;
}

.rcm-merch-card__buy.loading {
	color: transparent;
	pointer-events: none;
}

.rcm-market-grid .added_to_cart.wc-forward {
	display: none;
}

.rcm-pagination {
	display: flex;
	width: 100%;
	margin-top: 44px;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.rcm-pagination .page-numbers,
.rcm-pagination__control {
	display: inline-flex;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #0f0f0f;
	font-family: "Lato", sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 136%;
	text-decoration: none;
}

.rcm-pagination .page-numbers.current {
	background: #0f0f0f;
	color: #fff;
}

.rcm-pagination .page-numbers.dots {
	pointer-events: none;
}

.rcm-pagination__control {
	font-size: 2.6rem;
	line-height: 1;
}

.rcm-pagination__control.is-disabled {
	color: #9e9e9e;
}

@media (max-width: 1199px) {
	.rcm-market-archive__container {
		padding: 0 24px;
	}

	.rcm-market-toolbar {
		flex-direction: column;
		gap: 16px;
	}

	.rcm-market-tabs {
		width: 100%;
	}

	.rcm-market-sort {
		width: 220px;
		margin-left: auto;
		flex: 0 0 auto;
	}
}

@media (max-width: 1024px) {
	.rcm-market-archive {
		padding-top: 32px;
	}

	.rcm-market-archive__header {
		margin-bottom: 24px;
	}

	.rcm-market-toolbar {
		min-height: 0;
		margin-bottom: 24px;
	}
}

@media (max-width: 1023px) {
	.rcm-market-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 992px) {
	.rcm-market-archive__title {
		font-size: 2.4rem;
		line-height: 3.2rem;
	}
}

@media (max-width: 767px) {
	.rcm-market-archive {
		padding: 32px 0 64px;
	}

	.rcm-market-archive__container {
		padding: 0 16px;
	}

	.rcm-market-archive__header {
		margin-bottom: 32px;
	}

	.rcm-market-tabs__link {
		padding-right: 12px;
		padding-left: 12px;
		font-size: 1.6rem;
	}

	.rcm-market-toolbar {
		margin-bottom: 24px;
	}

	.rcm-market-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rcm-market-grid .product-card {
		min-height: 0;
	}

	.rcm-market-grid .product-card__content {
		height: auto;
		min-height: 220px;
		flex: 1 0 auto;
	}
}

@media (max-width: 420px) {
	.rcm-market-sort {
		width: 100%;
		flex-basis: auto;
	}

	.rcm-market-grid .product-card__actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.rcm-market-grid .product-card__btns,
	.rcm-merch-card__buttons {
		width: 100%;
		flex-basis: auto;
	}

	.rcm-market-grid .product-card__btns .btn,
	.rcm-merch-card__buy {
		width: 100%;
	}
}
