:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product.product-category>a {
	width: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	gap: 8px;
	border: 1px solid #F3F4F4;
	border-radius: 4px;
	transition: all 180ms ease-in-out;
}

:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product.product-category>a:hover {
	border: 1px solid #F47F2D;
}

:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product .woocommerce-loop-category__title {
	text-transform: none;
	font-weight: 500;
	padding: 12px 16px;
	text-align: left;
	backdrop-filter: blur(24px);
	background-color: rgba(244, 244, 244, 0.8);
	border-radius: 8px 4px 4px 8px;
	color: #07404F;
	position: unset;
	width: 100%;
	min-height: auto;
	line-height: 20px;
	position: relative;
	bottom: unset;
	right: unset;
	left: unset;
}

:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product .woocommerce-loop-category__title::after {
	content: '';
	position: absolute;
	bottom: 12px;
	right: 12px;
	width: 20px;
	height: 20px;
	background-image: url("../Icons/Chevron_Right.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	transition: all 180ms ease-in-out;
	opacity: 0.5;
}

:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product.product-category>a:hover .woocommerce-loop-category__title::after {
	transform: translateX(4px);
	opacity: 1;
}

.woocommerce-js ul.products li.product.product-category a img {
	height: 96px;
	width: 96px;
	margin-bottom: 0;
}

:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product>a:hover .woocommerce-loop-category__title {
	background-color: rgba(244, 244, 244, 0.5);
}

:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product>a:hover img {
	transition: all 180ms ease-in-out;
}

:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product>a:hover img {
	transition: all 180ms ease-in-out;
	border-color: rgba(209, 210, 213, 1)
}

:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product .woocommerce-loop-category__title .count {
	font-size: 14px;
	opacity: 1;
	font-weight: 400;
	margin-top: 4px;
	color: #8B8F95;
}

/* Main catalog introduction sits between Astra's title and the category grid. */
.woocommerce-shop #primary>.ast-archive-description {
	margin-bottom: 12px;
}

.woocommerce-shop .altyn-catalog-intro {
	margin-bottom: 28px;
	color: var(--ast-global-color-3, #454C56);
}

.woocommerce-shop .altyn-catalog-intro__description {
	max-width: 920px;
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 24px;
}

.woocommerce-shop .altyn-catalog-intro__resources,
.woocommerce-shop .altyn-catalog-intro__resources ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.woocommerce-shop .altyn-catalog-intro__label {
	margin-right: 4px;
	font-size: 14px;
	line-height: 20px;
}

.woocommerce-shop .altyn-catalog-intro__resources ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-shop .altyn-catalog-intro__resources li {
	margin: 0;
	padding: 0;
}

.woocommerce-shop .altyn-catalog-intro__resources a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	box-sizing: border-box;
	padding: 6px 14px;
	border: 1px solid #E6ECED;
	border-radius: 99шpx;
	background: #F7F8F8;
	color: var(--ast-global-color-0, #07404F);
	font-size: 14px;
	font-weight: 500;
	line-height: 22px;
	text-decoration: none;
	transition: border-color 160ms ease, background-color 160ms ease;
}

.woocommerce-shop .altyn-catalog-intro__resources a:hover {
	border-color: var(--ast-global-color-1, #F47F2D);
	background: #FFF9F4;
}

.woocommerce-shop .altyn-catalog-intro__resources a:focus-visible {
	outline: 2px solid var(--ast-global-color-1, #F47F2D) !important;
	outline-offset: 3px;
}

@media screen and (max-width: 568px) {
	.woocommerce-shop .altyn-catalog-intro {
		margin-bottom: 24px;
	}

	.woocommerce-shop .altyn-catalog-intro__description {
		font-size: 14px;
		line-height: 22px;
	}

	.woocommerce-shop .altyn-catalog-intro__label {
		flex-basis: 100%;
		margin-right: 0;
	}

	.woocommerce-shop .altyn-catalog-intro__resources a {
		padding-inline: 12px;
	}
}

.altyn-brand-count {
	font-size: 20px;
	line-height: 28px;
	color: #8B8F95;
}

/* Все стили CF7-форм находятся в forms.css. */

@media screen and (max-width: 1336px) {
	:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product>a img {
		aspect-ratio: 1/1;
		object-fit: cover;
		object-position: center;
	}

	.woocommerce-js ul.products li.product.product-category a img {
		height: 100%;
		width: 120px;
	}
}

@media screen and (max-width: 1140px) {

	:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product .woocommerce-loop-category__title .count {
		font-size: 12px;
		line-height: 16px;
	}

	:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product .woocommerce-loop-category__title {
		padding: 12px 12px 8px 12px;
		line-height: 18px;
	}

	:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products {
		grid-column-gap: 8px !important;
		grid-row-gap: 8px !important;
	}

	.altyn-brand-count {
		font-size: 16px;
		line-height: 24px;
	}

	.woocommerce-js ul.products li.product.product-category a img {
		width: 80px;
	}
}

@media screen and (max-width: 921px) {
	:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products {
		grid-column-gap: 8px !important;
		grid-row-gap: 16px !important;
	}

	.altyn-brand-count {
		font-size: 14px;
		line-height: 20px;
	}
}

@media screen and (max-width: 568px) {
	:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product .woocommerce-loop-category__title {
		padding: 8px;
		min-height: 96px;
		font-size: 14px;
		line-height: 18px;
		padding: 8px;
		border-radius: 8px 8px 4px 4px;
		margin-top: -24px;
	}

	:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product.product-category>a {
		gap: 0px;
		flex-direction: column;
	}

	.woocommerce-js ul.products li.product.product-category a img {
		width: 100%;
		height: 100%;
	}

	:is(.woocommerce-js .cat-section, .post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product .woocommerce-loop-category__title .count {
		font-size: 14px;
		line-height: 22px;
	}

}

/* Keep the shop landing page on the same category-card component as the home page. */
:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 16px;
	margin: 0;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4::before,
:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4::after {
	display: none;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4 li.product.product-category {
	float: none;
	width: auto;
	margin: 0;
	min-width: 0;
	min-height: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
	align-self: stretch;
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid #E6ECED;
	border-radius: 8px;
	background: #FFFFFF;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4 li.product.product-category>a {
	height: auto;
	min-height: 96px;
	align-self: start;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4 li.product.product-category .woocommerce-loop-category__title {
	flex: 1 1 auto;
	min-height: 92px;
}

.tax-product_cat .altyn-category-popular-products {
	margin-top: 48px;
}

.tax-product_cat .altyn-category-popular-products h2 {
	margin-bottom: 24px;
	font-size: 32px;
	font-weight: 500;
	line-height: 40px;
}

.tax-product_cat .altyn-category-popular-products__grid {
	margin: 0;
}

.tax-product_cat .altyn-category-brands {
	margin-top: 24px;
}

.tax-product_cat .altyn-category-brands h2 {
	margin-bottom: 24px;
	font-size: 32px;
	font-weight: 500;
	line-height: 40px;
	color: #171F2C;
}

.tax-product_cat .altyn-category-brands__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tax-product_cat .altyn-category-brands__list li {
	margin: 0;
	padding: 0;
}

.tax-product_cat .altyn-category-brands__logo {
	display: block;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	padding: 2px;
	border: 1px solid #E6ECED;
	border-radius: 99px;
	background: #FFFFFF;
	object-fit: contain;
}

.tax-product_cat .altyn-category-brands__list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 6px 12px 6px 6px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #F7F8F8;
	color: #07404F;
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
	transition: border-color 180ms ease-in-out, background-color 180ms ease-in-out;
}

.tax-product_cat .altyn-category-brands__list a:hover,
.tax-product_cat .altyn-category-brands__list a:focus-visible {
	border-color: #F47F2D;
	background: #FFF9F4;
}

.tax-product_cat .altyn-category-brands__count {
	color: #8B8F95;
	font-size: 13px;
	white-space: nowrap;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children {
	display: block;
	width: 100%;
	min-width: 0;
	flex: 1 1 auto;
	box-sizing: border-box;
	margin: 0;
	padding: 8px 12px 12px;
	border-top: 1px solid #E6ECED;
	background: #F7F8F8;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children__list li {
	margin: 0;
	padding: 0;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	min-height: 36px;
	padding: 7px 8px;
	box-sizing: border-box;
	border: 1px solid transparent;
	border-radius: 4px;
	background: transparent;
	color: #07404F;
	font-size: 13px;
	line-height: 18px;
	white-space: normal;
	overflow-wrap: anywhere;
	text-decoration: none;
	transition: border-color 180ms ease-in-out, background-color 180ms ease-in-out;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children a:hover,
:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children a:focus-visible {
	background: #FFFFFF;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children a::after {
	content: '';
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	background: url("../Icons/Chevron_Right.svg") center / contain no-repeat;
	opacity: 0.45;
}

/* One frame encloses the parent link and its children, only in the catalog. */
:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4 li.product.product-category>a {
	flex-direction: row;
	align-items: stretch;
	gap: 8px;
	min-height: 100px;
	border: 0;
	border-radius: 0;
	transition: background-color 180ms ease-in-out;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4 li.product.product-category>a:hover {
	border: 0;
	background: #F7F8F8;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4 li.product.product-category>a .woocommerce-loop-category__title {
	min-width: 0;
	min-height: 100px;
	margin: 0;
	padding: 14px 28px 14px 8px;
	border-radius: 0;
	backdrop-filter: none;
	background: transparent;
	overflow-wrap: anywhere;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4 li.product.product-category>a img {
	flex: 0 0 96px;
	width: 96px;
	height: 100px;
	padding: 6px;
	box-sizing: border-box;
	object-fit: contain;
	align-self: center;
}

:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products li.product.product-category a:focus-visible {
	outline: 2px solid #F47F2D !important;
	outline-offset: -3px;
}

/* Virtual category card and return link for the disabled other-products view.
.tax-product_cat ul.products.columns-4 li.product.altyn-other-products-tile {
	background: #F7F8F8;
}

.tax-product_cat ul.products.columns-4 li.product.altyn-other-products-tile>a {
	flex: 1 1 auto;
	align-self: stretch;
}

.tax-product_cat ul.products.columns-4 li.product.altyn-other-products-tile>a .woocommerce-loop-category__title {
	padding-left: 16px;
}

.altyn-other-products-back {
	margin: 16px 0 24px;
}

.altyn-other-products-back a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #07404F;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.altyn-other-products-back a:focus-visible {
	outline: 2px solid #F47F2D;
	outline-offset: 3px;
}
*/

@media screen and (max-width: 1336px) {
	.tax-product_cat .altyn-category-brands__logo {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
	}

	.tax-product_cat .altyn-category-brands__list {
		gap: 6px;
	}
}

@media screen and (max-width: 1140px) {
	.post-type-archive-product ul.products.columns-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px 8px;
	}

	:is(.tax-product_cat, .tax-product_brand) ul.products.columns-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px 8px;
	}

	:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children {
		padding: 8px;
	}

	:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children__list {
		gap: 2px;
	}

	:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children a {
		font-size: 12px;
		line-height: 16px;
	}

	.tax-product_cat .altyn-category-brands {
		margin-top: 40px;
	}

	.tax-product_cat .altyn-category-brands h2 {
		margin-bottom: 20px;
		font-size: 28px;
		line-height: 36px;
	}

	.tax-product_cat .altyn-category-brands__logo {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
	}

	.tax-product_cat .altyn-category-brands__list a {
		min-height: 32px;
		padding: 5px 10px;
		font-size: 13px;
		line-height: 18px;
	}
}

@media screen and (max-width: 921px) {
	.post-type-archive-product ul.products.columns-4 {
		gap: 12px 8px;
	}

	:is(.tax-product_cat, .tax-product_brand) ul.products.columns-4 {
		gap: 12px 8px;
	}

	:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4:has(>li.product-category) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tax-product_cat .altyn-category-brands {
		margin-top: 36px;
	}

	.tax-product_cat .altyn-category-brands h2 {
		font-size: 24px;
		line-height: 32px;
	}

	.tax-product_cat .altyn-category-brands__logo {
		flex-basis: 28px;
		width: 28px;
		height: 28px;
	}

	.tax-product_cat .altyn-category-brands__list a {
		gap: 6px;
		font-size: 12px;
		line-height: 16px;
	}

	.tax-product_cat .altyn-category-brands__count {
		font-size: 12px;
	}
}

@media screen and (max-width: 568px) {
	.post-type-archive-product ul.products.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 8px;
	}

	:is(.tax-product_cat, .tax-product_brand) ul.products.columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 8px;
	}

	:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) ul.products.columns-4:has(>li.product-category) {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-type-archive-product ul.products.columns-4 li.product.product-category>a {
		width: 100%;
	}

	.tax-product_cat ul.products.columns-4 li.product.product-category>a {
		width: 100%;
	}

	.post-type-archive-product ul.products li.product.product-category a img {
		aspect-ratio: 1 / 1;
		object-fit: contain;
	}

	.tax-product_cat ul.products li.product.product-category a img {
		aspect-ratio: 1 / 1;
		object-fit: contain;
	}

	:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children a {
		min-height: 40px;
		padding: 8px;
		font-size: 13px;
		line-height: 18px;
		max-width: 100%;
		overflow: hidden;
	}

	:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children__list li {
		min-width: 0;
		max-width: 100%;
	}

	:is(.post-type-archive-product, .tax-product_cat, .tax-product_brand) .altyn-category-children a span {
		display: block;
		flex: 0 1 auto;
		min-width: 0;
		max-width: 100%;
		white-space: normal;
	}

	.post-type-archive-product ul.products.columns-4 li.product.product-category .woocommerce-loop-category__title {
		flex: 1 1 auto;
		min-height: 96px;
	}

	.tax-product_cat ul.products.columns-4 li.product.product-category .woocommerce-loop-category__title {
		flex: 1 1 auto;
		min-height: 96px;
	}

	.tax-product_cat .altyn-category-popular-products {
		margin-top: 32px;
	}

	.tax-product_cat .altyn-category-popular-products h2 {
		margin-bottom: 16px;
		font-size: 24px;
		font-weight: 500;
		line-height: 32px;
	}

	.tax-product_cat .altyn-category-brands {
		margin-top: 32px;
	}

	.tax-product_cat .altyn-category-brands h2 {
		margin-bottom: 16px;
		font-size: 20px;
		line-height: 28px;
	}

	.tax-product_cat .altyn-category-brands__list {
		gap: 6px;
	}

	.tax-product_cat .altyn-category-brands__list a {
		min-height: 32px;
		padding: 5px 9px;
		font-size: 12px;
		line-height: 16px;
	}

	.tax-product_cat .altyn-category-brands__logo {
		flex-basis: 24px;
		width: 24px;
		height: 24px;
	}

	.tax-product_cat .altyn-category-brands__count {
		font-size: 11px;
	}
}

/* Larger square thumbnails on the hand-protection category landing page. */
.tax-product_cat.term-34 ul.products.columns-4 li.product.product-category > a img {
	flex: 0 0 128px;
	width: 128px;
	height: 128px;
	padding: 0;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
}

.tax-product_cat.term-34 ul.products.columns-4 li.product.product-category > a img[src*="woocommerce-placeholder"] {
	object-fit: contain;
}

@media screen and (max-width: 568px) {
	.tax-product_cat.term-34 ul.products.columns-4 li.product.product-category > a img {
		flex-basis: 112px;
		width: 112px;
		height: 112px;
	}
}
