.ftm-catalog-bar {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	margin: 0 0 1.35rem;
	border-bottom: 1px solid #ececec;
	min-height: 3.1rem;
	background: #fff;
}

.ftm-view {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	padding-left: 0.15rem;
}

.ftm-view button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #c4c4c4;
	cursor: pointer;
}

.ftm-view button.is-active {
	color: #111111;
}

.ftm-view svg {
	display: block;
	width: 1.05rem;
	height: 1.05rem;
}

.ftm-ico {
	display: inline-flex;
}

.ftm-ico--grid {
	display: none;
}

@media (min-width: 768px) {
	.ftm-view button.ftm-view__single {
		display: none;
	}
}

.ftm-sort {
	position: relative;
	margin-left: auto;
}

.ftm-sort__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-width: 10.5rem;
	height: 100%;
	min-height: 3.1rem;
	padding: 0 1rem;
	border: 0;
	border-left: 1px solid #ececec;
	background: #fff;
	color: #111111;
	font-family: inherit;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}

.ftm-sort__btn svg {
	width: 0.7rem;
	height: 0.7rem;
	transition: transform 0.2s ease;
}

.ftm-sort.is-open .ftm-sort__btn svg {
	transform: rotate(180deg);
}

.ftm-sort__menu {
	position: absolute;
	top: calc(100% - 1px);
	right: 0;
	z-index: 30;
	min-width: 15.5rem;
	margin: 0;
	padding: 0.35rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid #ececec;
	box-shadow: 0 10px 28px rgba(17, 17, 17, 0.06);
}

.ftm-sort__menu a {
	display: block;
	padding: 0.55rem 1.05rem;
	color: #222222;
	font-size: 0.95rem;
	line-height: 1.35;
	text-decoration: none;
}

.ftm-sort__menu a:hover,
.ftm-sort__menu a:focus-visible,
.ftm-sort__menu a.is-current {
	background: #fafafa;
}

.ftm-sort__menu a.is-current {
	font-weight: 600;
}

body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count,
body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
	display: none;
}

body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
	display: grid;
	gap: 1.35rem 0.85rem;
}

html.ftm-cols-4 body.post-type-archive-product ul.products,
html.ftm-cols-4 body.tax-product_cat ul.products,
html.ftm-cols-4 body.tax-product_tag ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

html.ftm-cols-3 body.post-type-archive-product ul.products,
html.ftm-cols-3 body.tax-product_cat ul.products,
html.ftm-cols-3 body.tax-product_tag ul.products {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

html.ftm-cols-2 body.post-type-archive-product ul.products,
html.ftm-cols-2 body.tax-product_cat ul.products,
html.ftm-cols-2 body.tax-product_tag ul.products {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.ftm-cols-1 body.post-type-archive-product ul.products,
html.ftm-cols-1 body.tax-product_cat ul.products,
html.ftm-cols-1 body.tax-product_tag ul.products {
	grid-template-columns: minmax(0, 1fr);
}

body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
	width: auto;
	margin: 0;
	float: none;
}

body.post-type-archive-product .product-card__name,
body.tax-product_cat .product-card__name,
body.tax-product_tag .product-card__name,
body.post-type-archive-product .product-card__price,
body.tax-product_cat .product-card__price,
body.tax-product_tag .product-card__price {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}

body.post-type-archive-product .product-card__name,
body.tax-product_cat .product-card__name,
body.tax-product_tag .product-card__name {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	margin-top: 0.75rem;
}

body.post-type-archive-product .product-card__badge,
body.tax-product_cat .product-card__badge,
body.tax-product_tag .product-card__badge {
	top: 0.65rem;
	left: 0.65rem;
	padding: 0.28rem 0.45rem;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	background: #e10600;
}

body.post-type-archive-product .product-card__plus,
body.tax-product_cat .product-card__plus,
body.tax-product_tag .product-card__plus {
	right: 0.65rem;
	bottom: 0.65rem;
	width: 2.15rem;
	height: 2.15rem;
	background: #ffffff;
	border: 0;
	box-shadow: 0 1px 4px rgba(17, 17, 17, 0.16);
}

.product-card__price {
	font-size: 0.95rem;
	font-weight: 600;
	color: #9a1b1b;
}

.product-card__price .price,
.product-card__price ins,
.product-card__price .woocommerce-Price-amount,
.product-card__price > span.price {
	color: #d01212 !important;
	font-weight: 600;
	font-size: 1.05rem !important;
}

.product-card__price s,
.product-card__price del {
	color: #8d8d8d;
	font-weight: 400;
	font-size: 0.92em;
	text-decoration: line-through;
}

.single-product div.product p.price,
.single-product .summary .price {
	font-size: 1.45rem;
	font-weight: 600;
	color: #9a1b1b;
}

.single-product div.product p.price del,
.single-product .summary .price del {
	color: #8d8d8d;
	font-size: 0.72em;
	font-weight: 400;
	margin-right: 0.45rem;
}

.single-product div.product p.price ins,
.single-product .summary .price ins {
	color: #9a1b1b;
	font-weight: 650;
	text-decoration: none;
}

body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after,
body.tax-product_tag ul.products::before,
body.tax-product_tag ul.products::after {
	content: none !important;
	display: none !important;
}

body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	float: none !important;
}

@media (min-width: 1024px) {
	.product-card__price,
	.product-card__price .price {
		font-size: 1.2rem !important;
	}

	.product-card__name {
		font-size: 0.84rem;
	}
}

@media (max-width: 767px) {
	.ftm-view button.ftm-view__wide {
		display: none;
	}

	.ftm-view button.ftm-view__single {
		display: inline-flex;
	}

	.ftm-ico--bars {
		display: none;
	}

	.ftm-ico--grid {
		display: inline-flex;
	}

	body.post-type-archive-product .woocommerce-products-header,
	body.tax-product_cat .woocommerce-products-header,
	body.tax-product_tag .woocommerce-products-header,
	body.post-type-archive-product .ftm-breadcrumbs,
	body.tax-product_cat .ftm-breadcrumbs,
	body.tax-product_tag .ftm-breadcrumbs {
		display: none;
	}

	body.post-type-archive-product .store-wrap,
	body.tax-product_cat .store-wrap,
	body.tax-product_tag .store-wrap {
		width: 100%;
		margin-top: 0;
	}

	.ftm-catalog-bar {
		margin: 0;
		min-height: 3rem;
		border-top: 1px solid #e6e6e6;
		border-bottom: 1px solid #e6e6e6;
	}

	.ftm-sort {
		order: 1;
		flex: 1;
		margin-left: 0;
	}

	.ftm-view {
		order: 2;
		border-left: 1px solid #e6e6e6;
		padding-left: 0;
	}

	.ftm-sort__btn {
		width: 100%;
		min-width: 0;
		border-left: 0;
		color: #6b6b6b;
		font-size: 0.68rem;
		letter-spacing: 0.16em;
	}

	.ftm-sort__menu {
		left: 0;
		right: auto;
		min-width: 14rem;
	}

	body.post-type-archive-product ul.products,
	body.tax-product_cat ul.products,
	body.tax-product_tag ul.products {
		padding: 0.45rem 0.35rem 1rem;
		gap: 1rem 0.4rem;
	}

	html.ftm-cols-4 body.post-type-archive-product ul.products,
	html.ftm-cols-4 body.tax-product_cat ul.products,
	html.ftm-cols-4 body.tax-product_tag ul.products,
	html.ftm-cols-3 body.post-type-archive-product ul.products,
	html.ftm-cols-3 body.tax-product_cat ul.products,
	html.ftm-cols-3 body.tax-product_tag ul.products,
	html.ftm-cols-2 body.post-type-archive-product ul.products,
	html.ftm-cols-2 body.tax-product_cat ul.products,
	html.ftm-cols-2 body.tax-product_tag ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	html.ftm-cols-1 body.post-type-archive-product ul.products,
	html.ftm-cols-1 body.tax-product_cat ul.products,
	html.ftm-cols-1 body.tax-product_tag ul.products {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 1024px) {
	body.post-type-archive-product ul.products,
	body.tax-product_cat ul.products,
	body.tax-product_tag ul.products {
		gap: 1.8rem 1.1rem;
	}
}
