.marketplace {
	overflow: hidden;
}

.market-hero__layout {
	display: grid;
	align-items: center;
	gap: 48px;
	padding-bottom: 56px;
}

.market-hero__content {
	min-width: 0;
}

.market-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 36px;
	padding: 0 15px;
	border-radius: 999px;
	background: var(--color-secondary);
	color: #ffffff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
}

.market-breadcrumb a,
.market-breadcrumb span {
	color: inherit;
	text-decoration: none;
}

.market-breadcrumb a {
	opacity: 0.72;
	transition: opacity 180ms ease;
}

.market-breadcrumb a:hover {
	opacity: 1;
}

.market-breadcrumb [aria-current="page"] {
	opacity: 1;
}

.market-breadcrumb__separator {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.45;
}

.market-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	width: 100%;
	border: 1px solid var(--color-stroke-2);
	background: var(--color-background-1);
}

.market-search input[type="search"] {
	min-width: 0;
	height: 56px;
	padding: 0 18px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--color-secondary);
	font-size: 14px;
	font-weight: 400;
}

.market-search input[type="search"]::placeholder {
	color: rgb(26 26 28 / 50%);
}

.market-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-width: 120px;
	height: 56px;
	padding: 0 20px;
	border: 0;
	background: var(--color-secondary);
	color: #ffffff;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: opacity 180ms ease;
}

.market-search button:hover {
	opacity: 0.88;
}

.market-categories {
	border: 1px solid var(--color-stroke-2);
	background: var(--color-background-1);
}

.market-categories__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 64px;
	padding: 0 22px;
	border-bottom: 1px solid var(--color-stroke-2);
	color: var(--color-secondary);
}

.market-categories__heading > span {
	font-size: 24px;
}

.market-categories__heading h2 {
	margin: 0;
	color: inherit;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
}

.market-categories__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 8px 20px 17px;
}

.market-category-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 47px;
	padding: 0 12px;
	border-bottom: 1px solid var(--color-stroke-2);
	color: var(--color-secondary);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	transition:
		background-color 180ms ease,
		color 180ms ease;
}

.market-category-link small {
	color: rgb(26 26 28 / 52%);
	font-size: 12px;
	font-weight: 500;
}

.market-category-link:hover {
	background: var(--color-background-2);
	color: var(--color-secondary);
}

.market-section {
	padding: 54px 0 58px;
}

.market-section__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 27px;
}

.market-section__heading {
	max-width: 720px;
}

.market-section__title {
	margin: 0 0 7px;
	color: var(--color-secondary);
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 500;
	line-height: 1.18;
	letter-spacing: -0.025em;
}

.market-section__description {
	max-width: 680px;
	margin: 0;
	color: rgb(26 26 28 / 76%);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.58;
}

.market-section__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
}

.market-view-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 15px;
	border: 1px solid var(--color-stroke-3);
	background: var(--color-background-1);
	color: var(--color-secondary);
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition:
		border-color 180ms ease,
		background-color 180ms ease;
}

.market-view-all:hover {
	border-color: var(--color-secondary);
}

.market-slider {
	width: 100%;
	overflow: hidden;
}

.market-slider__track {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	padding: 2px 0 5px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
}

.market-slider__track::-webkit-scrollbar {
	display: none;
}

.market-slider__track > * {
	flex: 0 0 calc((100% - 44px) / 3);
	min-width: 0;
	scroll-snap-align: start;
}

.market-slider-controls {
	display: flex;
	align-items: center;
	gap: 6px;
}

.market-slider-controls button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--color-stroke-3);
	background: transparent;
	color: var(--color-secondary);
	cursor: pointer;
	transition:
		border-color 180ms ease,
		background-color 180ms ease;
}

.market-slider-controls button:hover:not(:disabled) {
	border-color: var(--color-secondary);
	background: var(--color-background-2);
}

.market-slider-controls button:disabled {
	opacity: 0.3;
	cursor: default;
}

.market-card {
	min-width: 0;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--color-stroke-2);
	border-radius: 8px;
	background: var(--color-background-1);
	list-style: none;
	overflow: hidden;
	transition:
		border-color 220ms ease,
		transform 260ms ease;
}

.market-card:hover {
	border-color: var(--color-stroke-3);
	transform: translateY(-2px);
}

.market-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.market-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	margin: 0;
	border-bottom: 1px solid var(--color-stroke-2);
	background: var(--color-background-3);
	overflow: hidden;
}

.market-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 220ms ease;
}

.market-card:hover .market-card__image {
	opacity: 0.97;
	transform: none;
}

.market-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: rgb(26 26 28 / 42%);
	font-size: 48px;
}

.market-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 21px 20px 18px;
}

.market-card__content {
	flex: 1;
}

.market-card__title {
	display: -webkit-box;
	margin: 0 0 9px;
	color: var(--color-secondary);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.32;
	letter-spacing: -0.018em;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.market-card__description {
	display: -webkit-box;
	margin: 0 0 20px;
	color: rgb(26 26 28 / 76%);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.58;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.market-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--color-stroke-2);
}

.market-card__price {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.market-card__price > span {
	color: rgb(26 26 28 / 64%);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
}

.market-card__price strong {
	color: var(--color-secondary);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.3;
}

.market-card__price del {
	margin-right: 5px;
	color: rgb(26 26 28 / 58%);
	font-size: 14px;
	font-weight: 400;
}

.market-card__price ins {
	text-decoration: none;
}

.market-card__action {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--color-secondary);
	color: var(--color-secondary);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	transition:
		background-color 200ms ease,
		color 200ms ease;
}

.market-card:hover .market-card__action {
	background: var(--color-secondary);
	color: #ffffff;
}

.market-card__action svg {
	transition: transform 220ms ease;
}

.market-card:hover .market-card__action svg {
	transform: translateX(3px);
}

.market-card__meta {
	margin: 11px 0 0;
	color: rgb(26 26 28 / 66%);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
}

.market-card .onsale,
.market-card .button,
.market-card .added_to_cart,
.market-card .star-rating {
	display: none !important;
}

.market-toolbar-section {
	padding: 24px 0;
	border-bottom: 1px solid var(--color-stroke-2);
}

.market-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.market-toolbar__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	color: var(--color-secondary);
	font-size: 14px;
	line-height: 1.4;
}

.market-toolbar__summary strong {
	font-weight: 600;
}

.market-toolbar__category {
	margin-left: 8px;
	padding-left: 14px;
	border-left: 1px solid var(--color-stroke-3);
	color: rgb(26 26 28 / 66%);
}

.market-toolbar__ordering {
	display: flex;
	align-items: center;
	gap: 10px;
}

.market-toolbar__ordering > span {
	color: rgb(26 26 28 / 64%);
	font-size: 12px;
}

.market-toolbar__ordering .woocommerce-ordering {
	float: none;
	margin: 0;
}

.market-toolbar__ordering select {
	min-width: 180px;
	height: 40px;
	padding: 0 30px 0 12px;
	border: 1px solid var(--color-stroke-3);
	border-radius: 0;
	outline: 0;
	background: var(--color-background-1);
	color: var(--color-secondary);
	font-size: 13px;
	cursor: pointer;
}

.market-archive-section {
	padding: 56px 0 112px;
}

.market-archive-layout {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}

.market-sidebar {
	position: sticky;
	top: 120px;
	border-top: 1px solid var(--color-stroke-2);
}

.market-sidebar__header {
	padding: 17px 4px;
	border-bottom: 1px solid var(--color-stroke-2);
}

.market-sidebar__header h2 {
	margin: 0;
	color: var(--color-secondary);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}

.market-sidebar__nav {
	display: flex;
	flex-direction: column;
}

.market-sidebar-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 43px;
	padding: 0 4px;
	border-bottom: 1px solid var(--color-stroke-2);
	color: rgb(26 26 28 / 76%);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
}

.market-sidebar-link small {
	color: rgb(26 26 28 / 52%);
	font-size: 11px;
}

.market-sidebar-link:hover,
.market-sidebar-link.is-active {
	color: var(--color-secondary);
	font-weight: 500;
}

.market-results {
	min-width: 0;
}

.market-archive-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.market-archive-grid .market-card {
	width: 100% !important;
	height: 100%;
}

.market-archive-grid .market-card__body {
	padding: 18px 16px 16px;
}

.market-archive-grid .market-card__title {
	font-size: 18px;
	line-height: 1.3;
}

.market-archive-grid .market-card__description {
	font-size: 13px;
	line-height: 1.52;
}

.market-archive-grid .market-card__footer {
	gap: 10px;
	padding-top: 14px;
}

.market-archive-grid .market-card__price > span {
	font-size: 11px;
}

.market-archive-grid .market-card__price strong {
	font-size: 17px;
}

.market-archive-grid .market-card__action {
	min-height: 37px;
	padding: 0 10px;
	font-size: 12px;
}

.market-archive-grid .market-card__action svg {
	width: 15px;
	height: 15px;
}

.market-pagination {
	margin-top: 48px;
}

.market-pagination .woocommerce-pagination {
	display: flex;
	justify-content: center;
}

.market-pagination ul.page-numbers {
	display: flex !important;
	align-items: center;
	gap: 6px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none;
}

.market-pagination ul.page-numbers li {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.market-pagination .page-numbers a,
.market-pagination .page-numbers span {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 8px !important;
	border: 1px solid var(--color-stroke-2) !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--color-secondary) !important;
	font-size: 13px;
}

.market-pagination .page-numbers span.current,
.market-pagination .page-numbers a:hover {
	border-color: var(--color-secondary) !important;
	background: var(--color-secondary) !important;
	color: #ffffff !important;
}

.market-empty {
	padding: 60px 30px;
	border: 1px solid var(--color-stroke-2);
	text-align: center;
}

.market-empty h2 {
	margin: 0 0 10px;
	color: var(--color-secondary);
	font-size: 27px;
	font-weight: 500;
}

.market-empty p {
	margin: 0 0 22px;
	color: rgb(26 26 28 / 74%);
	font-size: 14px;
}

.market-empty a {
	color: var(--color-secondary);
	font-size: 14px;
	font-weight: 500;
}

.market-seo-content {
	max-width: 900px;
	margin: 76px auto 0;
	padding-top: 52px;
	border-top: 1px solid var(--color-stroke-2);
}

.market-cta-section {
	padding: 0 0 90px;
}

.market-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	padding: 50px 56px;
	border-radius: 18px;
	overflow: hidden;
}

.market-cta::before {
	position: absolute;
	top: -220px;
	right: -100px;
	width: 420px;
	height: 420px;
	border: 1px solid rgb(255 255 255 / 7%);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

@media (min-width: 1024px) {
	.market-hero__layout {
		grid-template-columns: minmax(0, 1fr) 430px;
	}
}

@media (max-width: 1260px) {
	.market-archive-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.market-categories__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.market-slider__track > * {
		flex-basis: calc((100% - 22px) / 2);
	}

	.market-archive-layout {
		grid-template-columns: 180px minmax(0, 1fr);
	}

	.market-archive-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.market-archive-layout {
		grid-template-columns: 1fr;
	}

	.market-sidebar {
		position: static;
	}

	.market-sidebar__nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.market-sidebar-link:nth-child(even) {
		padding-left: 14px;
		border-left: 1px solid var(--color-stroke-2);
	}

	.market-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.market-hero__layout {
		gap: 30px;
		padding-bottom: 44px;
	}

	.market-search {
		grid-template-columns: 1fr;
	}

	.market-search button {
		width: 100%;
	}

	.market-categories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.market-section {
		padding: 46px 0 50px;
	}

	.market-section__header {
		align-items: flex-start;
		gap: 20px;
	}

	.market-section__actions {
		gap: 8px;
	}

	.market-view-all {
		padding-inline: 11px;
	}

	.market-slider__track {
		gap: 16px;
	}

	.market-slider__track > * {
		flex-basis: 86%;
	}

	.market-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.market-toolbar__ordering {
		justify-content: space-between;
	}

	.market-toolbar__ordering select {
		width: 100%;
		min-width: 0;
	}

	.market-archive-section {
		padding: 44px 0 84px;
	}

	.market-cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 40px 26px;
	}

	.market-cta .btn {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.market-categories__grid {
		grid-template-columns: 1fr;
		padding-inline: 14px;
	}

	.market-categories__heading {
		padding-inline: 18px;
	}

	.market-section__header {
		flex-direction: column;
	}

	.market-section__actions {
		width: 100%;
		justify-content: space-between;
	}

	.market-sidebar__nav {
		grid-template-columns: 1fr;
	}

	.market-sidebar-link:nth-child(even) {
		padding-left: 4px;
		border-left: 0;
	}

	.market-archive-grid {
		grid-template-columns: 1fr;
	}

	.market-seo-content {
		margin-top: 60px;
		padding-top: 42px;
	}

	.market-cta-section {
		padding-bottom: 64px;
	}
}