/* ==========================================================================
   Homepage Products
   ========================================================================== */

.flamtees-products {
	padding: 22px 0 28px;
	background: #ffffff;
}

.flamtees-products__header {
	display: grid;
	grid-template-columns: auto minmax(280px, 1fr) auto;
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
	margin-bottom: 30px;
}

.flamtees-products__title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	color: var(--flamtees-color-primary);
}

/* ==========================================================================
   Product Search
   ========================================================================== */

.flamtees-products__search {
	width: 100%;
	margin: 0;
}

.flamtees-products__search-field {
	position: relative;
	width: 100%;
}

.flamtees-products__search-icon {
	position: absolute;
	top: 50%;
	left: 15px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50% !important;
	background: transparent;
	color: var(--flamtees-color-primary);
	transform: translateY(-50%);
	cursor: pointer;
	pointer-events: auto;
}

.flamtees-products__search-icon:hover,
.flamtees-products__search-icon:focus-visible {
	background: color-mix(in srgb, var(--flamtees-color-primary) 12%, transparent);
	outline: none;
}

.flamtees-products__search input[type="search"] {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 7px 48px;
	border: 3px solid var(--flamtees-color-primary);
	border-radius: 9px;
	outline: none;
	background: #ffffff;
	font: inherit;
	color: #111111;
	transition:
		border-color var(--flamtees-transition-fast),
		box-shadow var(--flamtees-transition-fast);
}

.flamtees-products__search input[type="search"]:focus {
	border-color: var(--flamtees-color-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--flamtees-color-primary) 18%, transparent);
}

.flamtees-products__search-submit {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	clip-path: inset(50%);
}

/* ==========================================================================
   Shop All Button
   ========================================================================== */

.flamtees-products__shop-link,
.flamtees-products__mobile-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 166px;
	min-height: 50px;
	padding: 13px 28px;
	border: 2px solid var(--flamtees-color-primary);
	background: var(--flamtees-color-primary);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
	color: #ffffff;
	transition:
		background-color var(--flamtees-transition-fast),
		color var(--flamtees-transition-fast),
		transform var(--flamtees-transition-fast);
}

.flamtees-products__shop-link:hover,
.flamtees-products__mobile-link:hover {
	background: #ffffff;
	color: var(--flamtees-color-primary);
	transform: translateY(-2px);
}

/* ==========================================================================
   Products Grid
   ========================================================================== */

.flamtees-products__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: 28px 20px;
}

.flamtees-product-card {
	min-width: 0;
	height: 100%;
	background: #ffffff;
}

.flamtees-product-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: #111111;
}

/* ==========================================================================
   Product Image
   ========================================================================== */

.flamtees-product-card__media {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	background: #f3f3f3;
	aspect-ratio: 4 / 5;
	border-radius: 8px;
}

.flamtees-product-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.flamtees-product-card__image {
	position: absolute;
	inset: 0;
	transition:
		opacity 350ms ease,
		transform 500ms ease;
}

.flamtees-product-card__image--main {
	z-index: 1;
	opacity: 1;
}

.flamtees-product-card__image--hover {
	z-index: 2;
	opacity: 0;
}

.flamtees-product-card:hover .flamtees-product-card__image--main {
	transform: scale(1.025);
}

.flamtees-product-card:hover .flamtees-product-card__image--hover {
	opacity: 1;
	transform: scale(1.025);
}

/* ==========================================================================
   Product Information
   ========================================================================== */

.flamtees-product-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding-top: 15px;
}

.flamtees-product-card__title {
	display: -webkit-box;
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	overflow: hidden;
	padding: 0 6px;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.4;
	color: #111111;
	text-transform: none;
	overflow-wrap: normal;
	word-break: normal;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* ==========================================================================
   Price Box
   ========================================================================== */

.flamtees-product-card__price {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin-top: auto;
	padding: 11px 12px;
	background: var(--flamtees-color-primary);
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	color: #ffffff;
	transition:
		opacity var(--flamtees-transition-fast),
		transform var(--flamtees-transition-fast);
}

.flamtees-product-card:hover .flamtees-product-card__price {
	opacity: 0.88;
	transform: translateY(-2px);
}

.flamtees-product-card__price .woocommerce-Price-amount,
.flamtees-product-card__price .woocommerce-Price-currencySymbol {
	color: #ffffff;
}

.flamtees-product-card__price del {
	margin-right: 8px;
	font-size: 0.8rem;
	opacity: 0.65;
	color: #ffffff;
}

.flamtees-product-card__price del .woocommerce-Price-amount,
.flamtees-product-card__price del .woocommerce-Price-currencySymbol {
	color: #ffffff;
}

.flamtees-product-card__price ins {
	text-decoration: none;
	color: #ffffff;
}

.flamtees-product-card__price ins .woocommerce-Price-amount,
.flamtees-product-card__price ins .woocommerce-Price-currencySymbol {
	color: #ffffff;
}

.flamtees-products__mobile-action {
	display: none;
	margin-top: 28px;
	text-align: center;
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1024px) {
	.flamtees-products {
		padding: 20px 0 28px;
	}

	.flamtees-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px 16px;
	}

	.flamtees-products__header {
		grid-template-columns: auto minmax(220px, 1fr) auto;
		gap: 20px;
	}
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 768px) {
	.flamtees-products {
		padding: 18px 0 24px;
	}

	.flamtees-products__header {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-bottom: 20px;
	}

	.flamtees-products__title {
		font-size: clamp(1.7rem, 8vw, 2.35rem);
	}

	.flamtees-products__shop-link {
		display: none;
	}

	.flamtees-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px 10px;
	}

	.flamtees-product-card__content {
		padding-top: 10px;
	}

	.flamtees-product-card__title {
		height: 44px;
		min-height: 44px;
		max-height: 44px;
		padding: 0 2px;
		font-size: 0.75rem;
		line-height: 1.3;
	}

	.flamtees-product-card__price {
		min-height: 44px;
		padding: 9px 6px;
		font-size: 0.82rem;
	}

	.flamtees-product-card__price del {
		display: block;
		margin: 0 0 2px;
		font-size: 0.65rem;
	}

	.flamtees-products__mobile-action {
		display: block;
	}

	.flamtees-products__mobile-link {
		width: 100%;
		min-height: 48px;
	}
}

@media (max-width: 390px) {
	.flamtees-products__grid {
		gap: 24px 8px;
	}

	.flamtees-product-card__title {
		font-size: 0.7rem;
	}

	.flamtees-product-card__price {
		font-size: 0.75rem;
	}
}/* ==========================================================================
   Products Pagination
   ========================================================================== */

.flamtees-products-pagination {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.flamtees-products-pagination__links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.flamtees-products-pagination a,
.flamtees-products-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 48px;
	padding: 0 18px;
	border: 2px solid var(--flamtees-color-primary);
	background: #ffffff;
	color: var(--flamtees-color-primary);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: 8px;
	transition:
		background-color .25s ease,
		color .25s ease,
		transform .25s ease;
}

.flamtees-products-pagination a:hover {
	background: var(--flamtees-color-primary);
	color: #ffffff;
	transform: translateY(-2px);
}

.flamtees-products-pagination .current {
	background: var(--flamtees-color-primary);
	color: #ffffff;
	cursor: default;
}

.flamtees-products-pagination .prev,
.flamtees-products-pagination .next {
	padding: 0 22px;
}

@media (max-width: 768px) {

	.flamtees-products-pagination {
		margin-top: 36px;
	}

	.flamtees-products-pagination__links {
		gap: 8px;
	}

	.flamtees-products-pagination a,
	.flamtees-products-pagination span {
		min-width: 42px;
		height: 42px;
		padding: 0 14px;
		font-size: .8rem;
	}

	.flamtees-products-pagination .prev,
	.flamtees-products-pagination .next {
		padding: 0 16px;
	}
}

/* Custom Shop Sections use their own taxonomy body class. Keep their archive
   controls inside the same catalogue container as Shop and product categories. */
body.tax-flamtees_section #primary.site-main {
	width: 100%;
}

body.tax-flamtees_section #primary.site-main {
	width: min(calc(100% - 96px), var(--flamtees-container-width));
	margin: 0 auto;
	padding: 28px 0 72px;
}

body.tax-flamtees_section .flamtees-shop__header {
	grid-template-columns: minmax(0, auto) minmax(280px, 1fr);
	max-width: 100%;
}

body.tax-flamtees_section .flamtees-shop__title,
body.tax-flamtees_section .flamtees-shop__search,
body.tax-flamtees_section .flamtees-shop__search input[type="search"] {
	min-width: 0;
	max-width: 100%;
}

body.tax-flamtees_section .woocommerce-result-count {
	margin: 0 0 24px;
	font-size: 0.82rem;
	color: var(--flamtees-color-muted);
}

body.tax-flamtees_section .woocommerce-ordering {
	margin: 0 0 24px;
}

body.tax-flamtees_section .woocommerce-ordering select {
	appearance: none;
	min-width: 210px;
	max-width: 100%;
	height: 44px;
	padding: 8px 44px 8px 16px;
	border: 2px solid var(--flamtees-color-primary);
	border-radius: 10px;
	background-color: #fff;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--flamtees-color-primary) 50%),
		linear-gradient(135deg, var(--flamtees-color-primary) 50%, transparent 50%);
	background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 0.88rem;
	font-weight: 500;
	color: #111;
}

body.tax-flamtees_section ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 30px 18px !important;
	clear: both;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

body.tax-flamtees_section ul.products::before,
body.tax-flamtees_section ul.products::after {
	display: none !important;
	content: none !important;
}

body.tax-flamtees_section ul.products li.product {
	float: none !important;
	clear: none !important;
	width: 100% !important;
	margin: 0 !important;
}

@media (max-width: 1024px) {
	body.tax-flamtees_section #primary.site-main {
		width: calc(100% - 64px);
	}

	body.tax-flamtees_section ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 768px) {
	body.tax-flamtees_section #primary.site-main {
		width: calc(100% - 28px);
		padding-top: 20px;
	}

	body.tax-flamtees_section .flamtees-shop__header {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	body.tax-flamtees_section .woocommerce-result-count,
	body.tax-flamtees_section .woocommerce-ordering {
		float: none;
		width: 100%;
	}

	body.tax-flamtees_section .woocommerce-result-count {
		margin-bottom: 12px;
	}

	body.tax-flamtees_section .woocommerce-ordering select {
		width: 100%;
	}

	body.tax-flamtees_section ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 26px 10px !important;
	}
}

/* ==========================================================================
   WooCommerce Shop Archive
   ========================================================================== */

body.post-type-archive-product #primary.content-area,
body.tax-product_cat #primary.content-area,
body.tax-product_tag #primary.content-area {
	width: 100%;
}

body.post-type-archive-product main.site-main,
body.tax-product_cat main.site-main,
body.tax-product_tag main.site-main {
	width: min(calc(100% - 96px), var(--flamtees-container-width));
	margin: 0 auto;
	padding: 28px 0 72px;
}

body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
body.tax-product_tag .woocommerce-breadcrumb {
	margin: 0 0 28px;
	font-size: 0.78rem;
	color: var(--flamtees-color-muted);
}

.flamtees-shop__header {
	display: grid;
	grid-template-columns: auto minmax(280px, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
	width: 100%;
	margin: 0 0 24px;
}

.flamtees-shop__title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	color: var(--flamtees-color-primary);
}

.flamtees-shop__search {
	position: relative;
	width: 100%;
	margin: 0;
}

.flamtees-shop__search-icon {
	position: absolute;
	top: 50%;
	left: 15px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50% !important;
	background: transparent;
	color: var(--flamtees-color-primary);
	transform: translateY(-50%);
	cursor: pointer;
	pointer-events: auto;
}

.flamtees-shop__search-icon:hover,
.flamtees-shop__search-icon:focus-visible {
	background: color-mix(in srgb, var(--flamtees-color-primary) 12%, transparent);
	outline: none;
}

.flamtees-shop__search input[type="search"] {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 7px 48px;
	border: 3px solid var(--flamtees-color-primary);
	border-radius: 9px;
	outline: none;
	background: #ffffff;
	color: #111111;
}

.flamtees-shop__search input[type="search"]:focus {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--flamtees-color-primary) 18%, transparent);
}

body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_tag .woocommerce-result-count {
	margin: 0 0 24px;
	font-size: 0.82rem;
	color: var(--flamtees-color-muted);
}

body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
	margin: 0 0 24px;
}

body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select {
	appearance: none;
	min-width: 210px;
	height: 44px;
	padding: 8px 44px 8px 16px;
	border: 2px solid var(--flamtees-color-primary);
	border-radius: 10px;
	outline: none;
	background-color: #ffffff;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--flamtees-color-primary) 50%),
		linear-gradient(135deg, var(--flamtees-color-primary) 50%, transparent 50%);
	background-position:
		calc(100% - 19px) 50%,
		calc(100% - 14px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	font-family: "Manrope", Arial, sans-serif;
	font-size: 0.88rem;
	font-weight: 500;
	color: #111111;
	cursor: pointer;
	transition:
		border-color var(--flamtees-transition-fast),
		box-shadow var(--flamtees-transition-fast);
}

body.post-type-archive-product .woocommerce-ordering select:hover,
body.tax-product_cat .woocommerce-ordering select:hover,
body.tax-product_tag .woocommerce-ordering select:hover,
body.post-type-archive-product .woocommerce-ordering select:focus,
body.tax-product_cat .woocommerce-ordering select:focus,
body.tax-product_tag .woocommerce-ordering select:focus {
	border-color: var(--flamtees-color-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--flamtees-color-primary) 18%, transparent);
}

body.post-type-archive-product .woocommerce-ordering option,
body.tax-product_cat .woocommerce-ordering option,
body.tax-product_tag .woocommerce-ordering option {
	padding: 10px 14px;
	background: #ffffff;
	font-family: "Manrope", Arial, sans-serif;
	font-size: 0.88rem;
	font-weight: 500;
	color: #111111;
}

body.post-type-archive-product .woocommerce-ordering option:checked,
body.tax-product_cat .woocommerce-ordering option:checked,
body.tax-product_tag .woocommerce-ordering option:checked {
	background: var(--flamtees-color-primary);
	color: #ffffff;
}

body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 30px 18px !important;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

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 {
	display: none !important;
	content: 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 {
	display: flex;
	flex-direction: column;
	float: none !important;
	clear: none !important;
	width: 100% !important;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

body.post-type-archive-product ul.products li.product > a.woocommerce-loop-product__link,
body.tax-product_cat ul.products li.product > a.woocommerce-loop-product__link,
body.tax-product_tag ul.products li.product > a.woocommerce-loop-product__link {
	display: flex;
	flex: 1;
	flex-direction: column;
}

body.post-type-archive-product ul.products li.product img,
body.tax-product_cat ul.products li.product img,
body.tax-product_tag ul.products li.product img {
	width: 100% !important;
	height: auto !important;
	margin: 0 0 14px !important;
	background: #f3f3f3;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 8px;
}

body.post-type-archive-product ul.products .onsale,
body.tax-product_cat ul.products .onsale,
body.tax-product_tag ul.products .onsale {
	display: none;
}

body.post-type-archive-product ul.products .woocommerce-loop-product__title,
body.tax-product_cat ul.products .woocommerce-loop-product__title,
body.tax-product_tag ul.products .woocommerce-loop-product__title {
	display: -webkit-box;
	height: 44px;
	min-height: 44px;
	margin: 0;
	overflow: hidden;
	padding: 0 6px;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.4;
	color: #111111;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.post-type-archive-product ul.products .price,
body.tax-product_cat ul.products .price,
body.tax-product_tag ul.products .price {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	width: 100%;
	min-height: 50px;
	margin-top: auto !important;
	padding: 10px 8px;
	border-radius: 8px;
	background: var(--flamtees-color-primary);
	font-size: 0.9rem;
	font-weight: 700;
	color: #ffffff !important;
	box-sizing: border-box;
}

body.post-type-archive-product ul.products .price del,
body.tax-product_cat ul.products .price del,
body.tax-product_tag ul.products .price del {
	font-size: 0.75rem;
	opacity: 0.62;
	color: #ffffff !important;
}

body.post-type-archive-product ul.products .price ins,
body.post-type-archive-product ul.products .price .woocommerce-Price-amount,
body.tax-product_cat ul.products .price ins,
body.tax-product_cat ul.products .price .woocommerce-Price-amount,
body.tax-product_tag ul.products .price ins,
body.tax-product_tag ul.products .price .woocommerce-Price-amount {
	text-decoration: none;
	/* The unified FLAMTEES cards use a white body, not the old blue price bar. */
	color: inherit !important;
}

body.post-type-archive-product ul.products li.product > .button,
body.post-type-archive-product ul.products li.product > .added_to_cart,
body.tax-product_cat ul.products li.product > .button,
body.tax-product_cat ul.products li.product > .added_to_cart,
body.tax-product_tag ul.products li.product > .button,
body.tax-product_tag ul.products li.product > .added_to_cart {
	display: none !important;
}

body.post-type-archive-product .woocommerce-pagination,
body.tax-product_cat .woocommerce-pagination,
body.tax-product_tag .woocommerce-pagination {
	margin-top: 50px;
}

body.post-type-archive-product .woocommerce-pagination ul.page-numbers,
body.tax-product_cat .woocommerce-pagination ul.page-numbers,
body.tax-product_tag .woocommerce-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	border: 0;
}

body.post-type-archive-product .woocommerce-pagination ul.page-numbers li,
body.tax-product_cat .woocommerce-pagination ul.page-numbers li,
body.tax-product_tag .woocommerce-pagination ul.page-numbers li {
	border: 0;
}

body.post-type-archive-product .woocommerce-pagination .page-numbers a,
body.post-type-archive-product .woocommerce-pagination .page-numbers span,
body.tax-product_cat .woocommerce-pagination .page-numbers a,
body.tax-product_cat .woocommerce-pagination .page-numbers span,
body.tax-product_tag .woocommerce-pagination .page-numbers a,
body.tax-product_tag .woocommerce-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 16px;
	border: 2px solid var(--flamtees-color-primary);
	border-radius: 8px;
	background: #ffffff;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--flamtees-color-primary);
}

body.post-type-archive-product .woocommerce-pagination .page-numbers .current,
body.post-type-archive-product .woocommerce-pagination .page-numbers a:hover,
body.tax-product_cat .woocommerce-pagination .page-numbers .current,
body.tax-product_cat .woocommerce-pagination .page-numbers a:hover,
body.tax-product_tag .woocommerce-pagination .page-numbers .current,
body.tax-product_tag .woocommerce-pagination .page-numbers a:hover {
	background: var(--flamtees-color-primary);
	color: #ffffff;
}

@media (max-width: 1024px) {
	body.post-type-archive-product main.site-main,
	body.tax-product_cat main.site-main,
	body.tax-product_tag main.site-main {
		width: calc(100% - 64px);
	}

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

@media (max-width: 768px) {
	body.post-type-archive-product main.site-main,
	body.tax-product_cat main.site-main,
	body.tax-product_tag main.site-main {
		width: calc(100% - 28px);
		padding-top: 20px;
	}

	.flamtees-shop__header {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	body.post-type-archive-product .woocommerce-result-count,
	body.tax-product_cat .woocommerce-result-count,
	body.tax-product_tag .woocommerce-result-count {
		float: none;
		margin-bottom: 12px;
	}

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

	body.post-type-archive-product .woocommerce-ordering select,
	body.tax-product_cat .woocommerce-ordering select,
	body.tax-product_tag .woocommerce-ordering select {
		width: 100%;
	}

	body.post-type-archive-product ul.products,
	body.tax-product_cat ul.products,
	body.tax-product_tag ul.products {
		gap: 26px 10px !important;
	}

	body.post-type-archive-product ul.products .woocommerce-loop-product__title,
	body.tax-product_cat ul.products .woocommerce-loop-product__title,
	body.tax-product_tag ul.products .woocommerce-loop-product__title {
		height: 44px;
		min-height: 44px;
		max-height: 44px;
		padding: 0 2px;
		overflow: hidden;
		font-size: 0.74rem;
		line-height: 1.3;
		-webkit-line-clamp: 2;
	}

	body.post-type-archive-product ul.products .price,
	body.tax-product_cat ul.products .price,
	body.tax-product_tag ul.products .price {
		min-height: 46px;
		font-size: 0.78rem;
	}
}
