/* ==========================================================================
   Geo Shop — Catalog (cards, archives, category tiles, pagination)

   Brand card treatment: white surface, cyan accents, and a light image well so
   product photography still reads correctly. Shared by homepage, shop, search,
   related products, and All Categories.
   ========================================================================== */

.gs-catalog-page .main-wrap,
.gs-product-page .main-wrap {
	background: var(--geo-page);
	color: var(--geo-text);
}

/* --- Product cards --- */

.products .product {
	position: relative;
	display: flex !important;
	flex-direction: column;
	gap: 0;
	height: 100%;
	margin: 0;
	padding: 0.75rem;
	border-radius: var(--geo-radius-lg);
	background: var(--geo-navy-card);
	border: 1px solid var(--geo-line);
	overflow: hidden;
	opacity: 1;
	transition:
		transform 0.4s var(--geo-ease),
		border-color 0.3s ease,
		box-shadow 0.4s var(--geo-ease);
}

@media (hover: hover) and (pointer: fine) {
	.products .product:hover {
		transform: translateY(-6px);
		border-color: rgba(62, 200, 244, 0.3);
		box-shadow: var(--geo-shadow-card);
	}
}

.products .product .colors-count,
.products .product .sale-percent {
	position: absolute;
	top: 1.25rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.625rem;
	border-radius: var(--geo-radius-pill);
	font-family: var(--geo-font);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

.products .product .colors-count {
	left: 1.25rem;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--geo-line-strong);
	color: var(--geo-text);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.products .product .sale-percent {
	right: 1.25rem;
	background: linear-gradient(135deg, var(--geo-cyan), var(--geo-cyan-dark));
	border: none;
	color: var(--geo-navy-dark);
	box-shadow: 0 4px 14px rgba(62, 200, 244, 0.3);
}

.products .product .product__img {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	margin: 0 0 1rem;
	padding: 1.25rem;
	border-radius: var(--geo-radius-md);
	background: var(--geo-well);
	overflow: hidden;
}

.products .product .product__img a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.products .product .product__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.6s var(--geo-ease);
}

@media (hover: hover) and (pointer: fine) {
	.products .product:hover .product__img img {
		transform: scale(1.06);
	}
}

.products .product .product__footer {
	display: flex !important;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem;
	flex: 1;
	padding: 0 0.25rem 0.25rem;
}

.products .product .product__footer-info {
	min-width: 0;
}

.products .product .product__title a {
	text-decoration: none;
}

.products .product .product__title h3 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--geo-font);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--geo-text);
	margin: 0 0 0.5rem;
	transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
	.products .product:hover .product__title h3 {
		color: var(--geo-cyan-dark);
	}
}

.products .product .product__price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
}

.products .product .product__price .price,
.products .product .product__price .price .woocommerce-Price-amount,
.products .product .product__price .woocommerce-Price-amount {
	font-family: var(--geo-font);
	font-size: 1rem;
	font-weight: 700;
	color: var(--geo-text);
}

.products .product .product__price del,
.products .product .product__price .last-price,
.products .product .product__price .last-price .woocommerce-Price-amount {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--geo-text-faint);
	text-decoration: line-through;
}

.products .product .product__footer-action {
	flex-shrink: 0;
}

.products .product .add-to-cart {
	position: relative;
	bottom: auto;
	right: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid rgba(62, 200, 244, 0.32);
	border-radius: var(--geo-radius-pill);
	background: rgba(62, 200, 244, 0.1);
	color: var(--geo-cyan-dark);
	opacity: 1 !important;
	visibility: visible !important;
	transform: none;
	cursor: pointer;
	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		color 0.25s ease,
		transform 0.2s ease,
		box-shadow 0.25s ease;
}

.products .product .add-to-cart svg {
	width: 0.875rem;
	height: 0.875rem;
}

.products .product .add-to-cart svg path {
	fill: currentColor;
}

@media (hover: hover) and (pointer: fine) {
	.products .product .add-to-cart:hover {
		background: linear-gradient(135deg, var(--geo-cyan), var(--geo-cyan-dark));
		border-color: transparent;
		color: var(--geo-navy-dark);
		transform: translateY(-1px);
		box-shadow: var(--geo-shadow-btn);
	}
}

.products .product .add-to-cart:focus-visible {
	outline: 2px solid var(--geo-cyan);
	outline-offset: 2px;
}

.products .product .add-to-cart.loading {
	opacity: 0.6;
	pointer-events: none;
}

.products .product .add-to-cart.active,
.products .product .add-to-cart.added {
	background: linear-gradient(135deg, var(--geo-cyan), var(--geo-cyan-dark)) !important;
	border-color: transparent !important;
	color: var(--geo-navy-dark) !important;
}

.products .product .add-to-cart.active svg path,
.products .product .add-to-cart.added svg path {
	fill: currentColor;
	filter: none;
}

@media (prefers-reduced-motion: reduce) {
	.products .product,
	.products .product .product__img img,
	.products .product .add-to-cart {
		transition: none;
	}

	.products .product:hover {
		transform: none;
	}

	.products .product:hover .product__img img {
		transform: none;
	}
}

/* --- Catalog page chrome --- */

.gs-catalog {
	position: relative;
	z-index: 1;
	padding-bottom: 5rem;
}

.gs-catalog .catalog__head {
	display: block;
	padding: clamp(3rem, 7vw, 4.5rem) 1.5rem 0 !important;
	margin: 0 !important;
}

.gs-catalog .catalog__head-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: var(--geo-container-wide);
	margin: 0 auto;
	padding: 0 0.5rem;
}

.gs-catalog .catalog__head-title {
	min-width: 0;
	padding: 0 !important;
}

.gs-catalog .catalog__head-title .geo-section__label,
.gs-catalog .catalog-breadcrumbs {
	margin-bottom: 0.5rem;
}

.catalog-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0;
	margin: 0 !important;
	padding: 0;
	list-style: none;
	font-family: var(--geo-font);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--geo-cyan-dark);
}

.catalog-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-width: 0;
}

.catalog-breadcrumbs__item:not(:last-child)::after {
	content: "/";
	margin-right: 0.45rem;
	color: var(--geo-text-faint);
	font-weight: 500;
}

.catalog-breadcrumbs__item a {
	color: var(--geo-cyan-dark);
	text-decoration: none;
}

.catalog-breadcrumbs__item a:hover {
	color: var(--geo-text);
}

.catalog-breadcrumbs__item.is-current span {
	color: var(--geo-text-muted);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
}

.catalog-siblings {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	margin: 0.9rem 0 0;
	max-width: 100%;
	overflow-x: auto;
	padding-bottom: 0.15rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.catalog-siblings__chip {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 0.4rem 0.85rem;
	border-radius: var(--geo-radius-pill);
	border: 1px solid rgba(62, 200, 244, 0.22);
	background: rgba(255, 255, 255, 0.85);
	font-family: var(--geo-font);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--geo-text);
	text-decoration: none;
	white-space: nowrap;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.catalog-siblings__chip:hover {
	border-color: rgba(62, 200, 244, 0.4);
	background: rgba(62, 200, 244, 0.1);
	color: var(--geo-cyan-dark);
}

.catalog-siblings__chip.is-current {
	background: linear-gradient(135deg, var(--geo-cyan), var(--geo-cyan-dark));
	border-color: transparent;
	color: #fff;
}

.gs-catalog .catalog-group {
	scroll-margin-top: 5.5rem;
	margin-bottom: 2.75rem;
}

.gs-catalog .catalog-group:last-child {
	margin-bottom: 0;
}

.gs-catalog .catalog-group__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-start;
	gap: 0.5rem 0.75rem;
	margin: 0 0 1.1rem;
}

.gs-catalog .catalog-group__title {
	margin: 0 !important;
	font-family: var(--geo-font);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--geo-text);
}

.gs-catalog .catalog-group__title a {
	color: inherit;
	text-decoration: none;
}

.gs-catalog .catalog-group__title a:hover {
	color: var(--geo-cyan-dark);
}

.gs-catalog .catalog-group__more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	flex-shrink: 0;
	font-family: var(--geo-font);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--geo-text-soft);
	text-decoration: none;
	white-space: nowrap;
}

.gs-catalog .catalog-group__more:hover {
	color: var(--geo-cyan-dark);
}

.gs-catalog .catalog-group__more-arrow {
	font-weight: 400;
	line-height: 1;
}

.gs-catalog .catalog__head-intro {
	margin: 0.75rem 0 0;
	max-width: 40rem;
	font-family: var(--geo-font);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--geo-text-soft);
}

.gs-catalog .catalog__head-title .custom-title,
.gs-catalog .catalog__head-title h1 {
	margin: 0;
	font-family: var(--geo-font);
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--geo-text);
}

/* GSAP word-split hides letters until it plays — keep titles readable. */
.gs-catalog .catalog__head-title .custom-title span span,
.gs-catalog .search-page__section-title span span,
.gs-catalog .catalog-group__title span span,
.gs-catalog .cats__item h4 span span {
	transform: none !important;
}

.gs-catalog .catalog__head-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	padding: 0 !important;
}

.gs-catalog .woocommerce-result-count {
	margin: 0;
	padding: 0.45rem 0.9rem;
	border-radius: var(--geo-radius-pill);
	border: 1px solid var(--geo-line);
	background: rgba(255, 255, 255, 0.72);
	font-family: var(--geo-font);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--geo-text-muted);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.gs-catalog .woocommerce-ordering {
	position: relative;
	margin: 0;
}

.gs-catalog .woocommerce-ordering:after {
	content: none;
}

.gs-catalog .woocommerce-ordering select.orderby {
	appearance: none;
	-webkit-appearance: none;
	min-height: 2.25rem;
	padding: 0.45rem 2.25rem 0.45rem 0.9rem;
	border-radius: var(--geo-radius-pill);
	border: 1px solid rgba(62, 200, 244, 0.22);
	background-color: rgba(255, 255, 255, 0.85);
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%230a1628' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	font-family: var(--geo-font);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--geo-text);
	cursor: pointer;
}

.gs-catalog .woocommerce-ordering select.orderby:focus-visible {
	outline: 2px solid var(--geo-cyan);
	outline-offset: 2px;
}

.gs-catalog .woocommerce-ordering.is-enhanced select.orderby {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.catalog-sort {
	position: relative;
}

.catalog-sort__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 2.25rem;
	padding: 0.45rem 0.85rem 0.45rem 0.95rem;
	border-radius: var(--geo-radius-pill);
	border: 1px solid rgba(62, 200, 244, 0.28);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
	font-family: var(--geo-font);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--geo-text);
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		background 0.2s ease,
		box-shadow 0.2s ease;
}

.catalog-sort__toggle:hover,
.catalog-sort__toggle[aria-expanded="true"] {
	border-color: rgba(62, 200, 244, 0.55);
	background: #fff;
	box-shadow: 0 8px 20px rgba(10, 22, 40, 0.08);
}

.catalog-sort__toggle:focus-visible {
	outline: 2px solid var(--geo-cyan);
	outline-offset: 2px;
}

.catalog-sort__chevron {
	width: 12px;
	height: 8px;
	flex: 0 0 auto;
	transition: transform 0.2s ease;
}

.catalog-sort__toggle[aria-expanded="true"] .catalog-sort__chevron {
	transform: rotate(180deg);
}

.catalog-sort__menu {
	position: absolute;
	top: calc(100% + 0.4rem);
	right: 0;
	z-index: 30;
	min-width: 100%;
	width: max-content;
	max-width: min(18rem, 80vw);
	margin: 0;
	padding: 0.35rem;
	list-style: none;
	border-radius: var(--geo-radius-md);
	border: 1px solid var(--geo-line);
	background: #fff;
	box-shadow: var(--geo-shadow-card);
}

.catalog-sort__menu[hidden] {
	display: none;
}

.catalog-sort__option {
	display: block;
	width: 100%;
	padding: 0.55rem 0.75rem;
	border: 0;
	border-radius: var(--geo-radius-sm);
	background: transparent;
	font-family: var(--geo-font);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
	color: var(--geo-text);
	cursor: pointer;
}

.catalog-sort__option:hover,
.catalog-sort__option:focus-visible {
	color: var(--geo-cyan-dark);
	outline: none;
}

.catalog-sort__option.is-selected {
	background: rgba(62, 200, 244, 0.16);
	color: var(--geo-cyan-dark);
}

.gs-catalog .catalog,
.gs-catalog .search-page-categories,
.gs-catalog .categories {
	padding: 2.5rem 0 0;
}

.gs-catalog .catalog .container,
.gs-catalog .search-page-categories .container,
.gs-catalog .categories .container {
	max-width: var(--geo-container-wide);
	margin: 0 auto;
	padding: 0 2rem;
}

.gs-catalog .search-page__section-title,
.gs-catalog .categories .section__title h2 {
	margin: 0 0 1.25rem;
	font-family: var(--geo-font);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--geo-text);
}

.gs-catalog .search-page__no-results {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 4rem 1rem;
	color: var(--geo-text-muted);
	text-align: center;
}

.gs-catalog .search-page__no-results svg {
	color: var(--geo-cyan-dark);
	opacity: 0.7;
}

/* --- Product grid --- */

.gs-catalog .products,
.gs-pdp .recommendations .products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	margin-top: 0;
	padding: 0;
}

@media (max-width: 1100px) {
	.gs-catalog .products,
	.gs-pdp .recommendations .products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.gs-catalog .products,
	.gs-pdp .recommendations .products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.875rem;
	}

	.gs-catalog .catalog .container,
	.gs-catalog .search-page-categories .container,
	.gs-catalog .categories .container {
		padding: 0 1.25rem;
	}
}

/* --- Category tiles --- */

.gs-catalog .cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.gs-catalog .cats__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	min-height: 0;
	padding: 0.75rem;
	border-radius: var(--geo-radius-lg);
	border: 1px solid var(--geo-line);
	background: var(--geo-navy-card);
	text-decoration: none;
	overflow: hidden;
	transition:
		transform 0.4s var(--geo-ease),
		border-color 0.3s ease,
		box-shadow 0.4s var(--geo-ease);
}

.gs-catalog .cats__item h4,
.gs-catalog .cats h4 {
	position: static;
	top: auto;
	left: auto;
	order: 2;
	margin: 0.85rem 0.25rem 0.15rem !important;
	font-family: var(--geo-font);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--geo-text);
	transition: color 0.25s ease;
}

.gs-catalog .cats__item h4 span span {
	transform: none !important;
}

.gs-catalog .cats__item img {
	order: 1;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	padding: 1.25rem;
	border-radius: var(--geo-radius-md);
	background: var(--geo-well);
	transition: transform 0.6s var(--geo-ease);
}

@media (hover: hover) and (pointer: fine) {
	.gs-catalog .cats__item:hover {
		transform: translateY(-6px);
		border-color: rgba(62, 200, 244, 0.3);
		box-shadow: var(--geo-shadow-card);
	}

	.gs-catalog .cats__item:hover h4 {
		color: var(--geo-cyan-dark);
	}

	.gs-catalog .cats__item:hover img {
		transform: scale(1.05);
	}
}

@media (max-width: 1100px) {
	.gs-catalog .cats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.gs-catalog .cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.875rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gs-catalog .cats__item,
	.gs-catalog .cats__item img {
		transition: none;
	}

	.gs-catalog .cats__item:hover,
	.gs-catalog .cats__item:hover img {
		transform: none;
	}
}

/* --- Pagination --- */

.gs-catalog .pagination,
.gs-catalog .pagination-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 2.5rem 0 0;
}

.gs-catalog .pagination__numbers ul,
.gs-catalog .pagination-wrap .page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	list-style: none;
	margin: 0 !important;
	padding: 0;
}

.gs-catalog .pagination__numbers a,
.gs-catalog .pagination__numbers span,
.gs-catalog .pagination-wrap a,
.gs-catalog .pagination-wrap span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.7rem;
	border-radius: var(--geo-radius-pill);
	border: 1px solid var(--geo-line);
	background: #fff;
	font-family: var(--geo-font);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--geo-text);
	text-decoration: none;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.gs-catalog .pagination__numbers a:hover,
.gs-catalog .pagination-wrap a:hover {
	border-color: rgba(62, 200, 244, 0.4);
	background: rgba(62, 200, 244, 0.1);
	color: var(--geo-ink);
}

.gs-catalog .pagination__numbers .current,
.gs-catalog .pagination-wrap .current {
	background: linear-gradient(135deg, var(--geo-cyan), var(--geo-cyan-dark));
	border-color: transparent;
	color: var(--geo-navy-dark);
}

.gs-catalog .pagination__arrows {
	display: flex;
	gap: 0.5rem;
}

.gs-catalog .pagination__arrows a {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.95rem;
	border-radius: var(--geo-radius-pill);
	border: 1px solid var(--geo-line-strong);
	background: transparent;
	font-family: var(--geo-font);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--geo-text);
	text-decoration: none;
}

.gs-catalog .pagination__arrows a:hover {
	background: var(--geo-surface-hover);
	border-color: rgba(26, 159, 212, 0.45);
}

/* --- Category filters --- */

.gs-catalog .catalog-layout {
	display: grid;
	grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
	align-items: start;
	gap: 2rem;
}

.catalog-filters {
	position: sticky;
	top: 5.5rem;
}

.catalog-filters__toggle {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.5rem;
	margin: 0 0 1rem;
	padding: 0.5rem 1rem;
	border-radius: var(--geo-radius-pill);
	border: 1px solid rgba(62, 200, 244, 0.22);
	background: rgba(255, 255, 255, 0.9);
	font-family: var(--geo-font);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--geo-text);
	cursor: pointer;
}

.catalog-filters__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--geo-cyan), var(--geo-cyan-dark));
	color: #fff;
	font-size: 0.6875rem;
}

.catalog-filters__form {
	padding: 1.15rem 1.2rem 1.25rem;
	border-radius: var(--geo-radius-lg);
	border: 1px solid var(--geo-line);
	background: var(--geo-navy-card);
}

.catalog-filters__group {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin: 0 0 1.15rem;
	padding: 0 0 1.05rem;
	border: 0;
	border-bottom: 1px solid var(--geo-line);
	min-width: 0;
}

.gs-catalog .catalog-filters__group legend {
	display: block;
	float: none;
	position: static;
	width: 100%;
	margin: 0 0 0.7rem;
	padding: 0;
	font-family: var(--geo-font);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--geo-text-muted);
}

.catalog-filters__group:last-of-type {
	margin-bottom: 0.75rem;
}

.catalog-filters__price input::placeholder {
	color: var(--geo-text-faint);
}

.catalog-filters__check {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 0.45rem;
	font-family: var(--geo-font);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--geo-text);
	cursor: pointer;
}

.catalog-filters__check input {
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: var(--geo-cyan-dark);
	flex: 0 0 auto;
}

.catalog-filters__count {
	margin-left: auto;
	color: var(--geo-text-faint);
	font-size: 0.75rem;
	font-weight: 500;
}

.catalog-filters__swatch {
	width: 0.95rem;
	height: 0.95rem;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px var(--geo-line-strong);
	flex: 0 0 auto;
}

.catalog-filters__price {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
}

.catalog-filters__price label {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	font-family: var(--geo-font);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--geo-text-muted);
}

.catalog-filters__price input {
	width: 100%;
	min-height: 2.25rem;
	padding: 0.4rem 0.65rem;
	border-radius: var(--geo-radius-sm);
	border: 1px solid var(--geo-line-strong);
	background: #fff;
	font-family: var(--geo-font);
	font-size: 0.875rem;
	color: var(--geo-text);
}

.catalog-filters__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.catalog-filters__apply {
	min-height: 2.25rem;
	padding: 0.45rem 1rem;
	font-size: 0.8125rem;
}

.catalog-filters__clear {
	font-family: var(--geo-font);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--geo-cyan-dark);
	text-decoration: none;
}

.catalog-filters__clear:hover {
	color: var(--geo-text);
}

.catalog-results {
	min-width: 0;
}

@media (max-width: 900px) {
	.gs-catalog .catalog-layout {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.catalog-filters {
		position: static;
	}

	.catalog-filters__toggle {
		display: inline-flex;
		width: auto;
	}

	.catalog-filters__form {
		display: none;
	}

	.catalog-filters.is-open .catalog-filters__form {
		display: block;
	}
}
