/* ==========================================================================
   Shop archive: filter sidebar, toolbar, product grid and pagination.
   Loaded only on shop/category/product-search pages (includes/shop.php).
   ========================================================================== */

.hrec-shop__inner {
	width: min(var(--hrec-container), calc(100% - 32px));
	margin: 0 auto;
	padding: 22px 0 56px;
}

.hrec-shop .woocommerce-breadcrumb {
	margin: 0 0 14px;
	color: var(--hrec-muted);
	font-size: 13px;
}

.hrec-shop .woocommerce-breadcrumb a {
	color: var(--hrec-muted);
	text-decoration: none;
}

.hrec-shop .woocommerce-breadcrumb a:hover {
	color: var(--hrec-orange);
}

.hrec-shop__head {
	margin-bottom: 18px;
}

.hrec-shop__title {
	margin: 0;
	font-size: clamp(24px, 3vw, 32px);
}

.hrec-shop__head .term-description {
	max-width: 760px;
	color: var(--hrec-muted);
	font-size: 14px;
}

.hrec-shop__layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}

.hrec-shop-overlay {
	display: none;
}

.hrec-shop__main {
	min-width: 0;
}

/* --------------------------------------------------------------------------
   Sidebar.
   -------------------------------------------------------------------------- */

.hrec-shop-sidebar {
	display: grid;
	gap: 14px;
	padding-right: 2px;
}

.hrec-shop-sidebar__head {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding: 2px 2px 0;
}

.hrec-shop-sidebar__head strong {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: var(--hrec-ink);
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.hrec-shop-sidebar__head strong svg.hrec-icon {
	color: var(--hrec-orange);
}

.hrec-shop-sidebar__clear {
	font-size: 12px;
	font-weight: 700;
	color: var(--hrec-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hrec-shop-sidebar__close {
	display: none;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--hrec-line);
	background: var(--hrec-white);
	color: var(--hrec-ink);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

/* Filter boxes */

.hrec-filter {
	border: 1px solid var(--hrec-line);
	border-radius: var(--hrec-radius);
	background: var(--hrec-white);
	box-shadow: 0 6px 16px rgba(24, 35, 52, .04);
	overflow: hidden;
}

.hrec-filter__head {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 13px 16px;
	border: 0;
	border-radius: 0;
	background: var(--hrec-white);
	color: var(--hrec-ink);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	cursor: pointer;
}

.hrec-filter__head:hover {
	color: var(--hrec-blue);
}

.hrec-filter__chevron {
	color: var(--hrec-muted);
	transition: transform .18s ease;
}

.hrec-filter.is-collapsed .hrec-filter__chevron {
	transform: rotate(-90deg);
}

.hrec-filter__body {
	display: grid;
	gap: 2px;
	padding: 2px 8px 12px;
}

.hrec-filter.is-collapsed .hrec-filter__body {
	display: none;
}

.hrec-filter__group {
	display: grid;
	gap: 2px;
}

.hrec-filter__group + .hrec-filter__group {
	margin-top: 8px;
}

.hrec-filter__group-label {
	padding: 8px 8px 2px;
	color: var(--hrec-blue);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
}

/* Checkbox-style option rows */

.hrec-filter-option {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 7px 8px;
	border-radius: 6px;
	color: var(--hrec-ink);
	font-size: 14px;
	text-decoration: none;
	transition: background .15s ease;
}

.hrec-filter-option:hover {
	background: var(--hrec-soft);
	color: var(--hrec-ink);
}

.hrec-filter-option.is-filtered-out {
	display: none !important;
}

.hrec-filter-option__box {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 2px solid var(--hrec-line);
	border-radius: 5px;
	background: var(--hrec-white);
	transition: border-color .15s ease, background .15s ease;
}

.hrec-filter-option__box svg.hrec-icon {
	width: 12px;
	height: 12px;
	color: var(--hrec-white);
	opacity: 0;
	stroke-width: 3;
	transition: opacity .15s ease;
}

.hrec-filter-option:hover .hrec-filter-option__box {
	border-color: var(--hrec-blue);
}

.hrec-filter-option.is-checked .hrec-filter-option__box {
	border-color: var(--hrec-blue);
	background: var(--hrec-blue);
}

.hrec-filter-option.is-checked .hrec-filter-option__box svg.hrec-icon {
	opacity: 1;
}

.hrec-filter-option.is-checked .hrec-filter-option__label {
	font-weight: 700;
	color: var(--hrec-blue);
}

.hrec-filter-option__label {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hrec-filter-option__count {
	flex: 0 0 auto;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--hrec-soft);
	color: var(--hrec-muted);
	font-size: 11px;
	font-weight: 700;
}

/* Search input inside long lists (brands) */

.hrec-filter__search {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 6px 8px 8px;
	padding: 0 10px;
	border: 1px solid var(--hrec-line);
	border-radius: 6px;
	background: var(--hrec-soft);
	color: var(--hrec-muted);
}

.hrec-filter__search svg.hrec-icon {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
}

.hrec-filter__search input {
	width: 100%;
	padding: 8px 0;
	border: 0;
	background: transparent;
	color: var(--hrec-ink);
	font-size: 13px;
	outline: none;
}

.hrec-filter__list {
	display: grid;
	gap: 2px;
	max-height: 210px;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 2px;
	scrollbar-width: thin;
	scrollbar-color: var(--hrec-line) transparent;
}

.hrec-filter--subcats .hrec-filter__body {
	max-height: 210px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--hrec-line) transparent;
}

/* Price filter */

.hrec-price-filter {
	display: grid;
	gap: 16px;
	padding: 10px 10px 4px;
}

.hrec-price-filter__slider {
	position: relative;
	height: 20px;
}

.hrec-price-filter__track {
	position: absolute;
	inset: 8px 0 auto;
	height: 4px;
	border-radius: 999px;
	background: var(--hrec-line);
}

.hrec-price-filter__range {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border-radius: 999px;
	background: var(--hrec-blue);
}

.hrec-price-filter__slider input[type="range"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 20px;
	margin: 0;
	padding: 0;
	background: transparent;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.hrec-price-filter__slider input[type="range"]::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	border: 3px solid var(--hrec-blue);
	border-radius: 50%;
	background: var(--hrec-white);
	box-shadow: 0 2px 6px rgba(24, 35, 52, .25);
	cursor: grab;
	pointer-events: auto;
	-webkit-appearance: none;
	appearance: none;
}

.hrec-price-filter__slider input[type="range"]::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border: 3px solid var(--hrec-blue);
	border-radius: 50%;
	background: var(--hrec-white);
	box-shadow: 0 2px 6px rgba(24, 35, 52, .25);
	cursor: grab;
	pointer-events: auto;
}

.hrec-price-filter__slider input[type="range"]:active::-webkit-slider-thumb {
	border-color: var(--hrec-orange);
	cursor: grabbing;
}

.hrec-price-filter__slider input[type="range"]:active::-moz-range-thumb {
	border-color: var(--hrec-orange);
	cursor: grabbing;
}

.hrec-price-filter__values {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
}

.hrec-price-filter__values label {
	display: flex;
	flex: 1 1 0;
	gap: 6px;
	align-items: center;
	padding: 0 10px;
	border: 1px solid var(--hrec-line);
	border-radius: 6px;
	color: var(--hrec-muted);
	font-size: 13px;
}

.hrec-price-filter__values input {
	width: 100%;
	padding: 7px 0;
	border: 0;
	background: transparent;
	color: var(--hrec-ink);
	font-size: 13px;
	font-weight: 700;
	outline: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.hrec-price-filter__values input::-webkit-outer-spin-button,
.hrec-price-filter__values input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.hrec-price-filter__sep {
	color: var(--hrec-muted);
}

/* --------------------------------------------------------------------------
   Toolbar.
   -------------------------------------------------------------------------- */

.hrec-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	padding: 10px 14px;
	border: 1px solid var(--hrec-line);
	border-radius: var(--hrec-radius);
	background: var(--hrec-white);
	box-shadow: 0 6px 16px rgba(24, 35, 52, .04);
}

.hrec-shop-toolbar__filters {
	position: relative;
	display: none;
	gap: 8px;
	align-items: center;
	padding: 9px 14px;
	border: 1px solid var(--hrec-line);
	border-radius: 6px;
	background: var(--hrec-white);
	color: var(--hrec-ink);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
}

.hrec-shop-toolbar__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--hrec-orange);
	color: var(--hrec-white);
	font-size: 11px;
}

.hrec-shop-count {
	margin: 0;
	color: var(--hrec-muted);
	font-size: 14px;
}

.hrec-shop-count strong {
	color: var(--hrec-ink);
}
.hrec-shop-count#hrec-shop-count{
	margin-block-end: 0px !important;
}

.hrec-shop-toolbar__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
}

.hrec-shop-select {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: var(--hrec-muted);
	font-size: 13px;
}

.hrec-shop-select select {
	padding: 8px 10px;
	border: 1px solid var(--hrec-line);
	border-radius: 6px;
	background: var(--hrec-white);
	color: var(--hrec-ink);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.hrec-shop-select select:focus {
	border-color: var(--hrec-blue);
	outline: none;
}

.hrec-cols-switch {
	display: inline-flex;
	border: 1px solid var(--hrec-line);
	border-radius: 6px;
	overflow: hidden;
}

.hrec-shop .hrec-cols-switch button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--hrec-white);
	color: var(--hrec-muted);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.hrec-shop .hrec-cols-switch button + button {
	border-left: 1px solid var(--hrec-line);
}

.hrec-shop .hrec-cols-switch button:hover {
	color: var(--hrec-blue);
}

.hrec-shop .hrec-cols-switch button.is-active {
	background: var(--hrec-blue);
	color: var(--hrec-white);
}

/* --------------------------------------------------------------------------
   Active filter chips.
   -------------------------------------------------------------------------- */

.hrec-shop-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 14px;
}

.hrec-chip {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	padding: 6px 11px;
	border: 1px solid var(--hrec-line);
	border-radius: 999px;
	background: var(--hrec-soft);
	color: var(--hrec-blue);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease;
}

.hrec-chip svg.hrec-icon {
	width: 12px;
	height: 12px;
	stroke-width: 2.4;
}

.hrec-chip:hover {
	border-color: var(--hrec-orange);
	color: var(--hrec-orange);
}

.hrec-chips__clear {
	margin-left: 4px;
	color: var(--hrec-muted);
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hrec-chips__clear:hover {
	color: var(--hrec-orange);
}

/* --------------------------------------------------------------------------
   Product grid and cards.
   -------------------------------------------------------------------------- */

.hrec-products-wrap {
	position: relative;
	min-height: 220px;
}

/* Loading veil while the grid refreshes over AJAX. */
.hrec-shop.is-loading .hrec-products-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 5;
	background: rgba(255, 255, 255, .55);
}

.hrec-shop.is-loading .hrec-products-wrap::after {
	content: "";
	position: absolute;
	top: 110px;
	left: 50%;
	z-index: 6;
	width: 36px;
	height: 36px;
	margin-left: -18px;
	border: 3px solid var(--hrec-line);
	border-top-color: var(--hrec-orange);
	border-radius: 50%;
	animation: hrec-spin .7s linear infinite;
}

@keyframes hrec-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Grid: overrides the generic ul.products rules in theme.css. */
.hrec-shop ul.products.hrec-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hrec-shop ul.products.hrec-products[data-cols="2"] {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hrec-shop ul.products.hrec-products[data-cols="6"] {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hrec-shop ul.products li.product.hrec-pcard {
	display: flex;
	flex-direction: column;
	float: none;
	width: auto !important;
	margin: 0 !important;
	padding: 0;
	border: 1px solid var(--hrec-line);
	border-radius: var(--hrec-radius);
	background: var(--hrec-white);
	box-shadow: 0 6px 16px rgba(24, 35, 52, .04);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hrec-shop ul.products li.product.hrec-pcard:hover {
	border-color: rgba(0, 54, 142, .35);
	box-shadow: var(--hrec-shadow);
	transform: translateY(-3px);
}

.hrec-pcard__media {
	position: relative;
	display: block;
	padding: 14px;
	background: var(--hrec-soft);
}

.hrec-shop ul.products li.product .hrec-pcard__media img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 6px;
	background: var(--hrec-white);
	mix-blend-mode: multiply;
}

.hrec-pcard__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 5px 9px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.hrec-pcard__badge--sale {
	background: var(--hrec-orange);
	color: var(--hrec-white);
}

.hrec-pcard__badge--stock {
	background: var(--hrec-ink);
	color: var(--hrec-white);
}

.hrec-pcard__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px 14px;
}

.hrec-pcard__meta {
	display: flex;
	gap: 8px;
	align-items: baseline;
	justify-content: space-between;
	margin: 0;
	min-width: 0;
}

.hrec-pcard__ref {
	overflow: hidden;
	color: var(--hrec-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .02em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hrec-pcard__brand {
	flex: 0 0 auto;
	max-width: 50%;
	overflow: hidden;
	color: var(--hrec-blue);
	font-size: 11px;
	font-weight: 800;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.hrec-shop ul.products li.product a.hrec-pcard__title,
.hrec-pcard a.hrec-pcard__title {
	display: -webkit-box;
	flex: 1 1 auto;
	overflow: hidden;
	color: var(--hrec-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hrec-pcard a.hrec-pcard__title:hover {
	color: var(--hrec-blue);
}

.hrec-pcard__stock {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.hrec-pcard__stock-dot {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent);
}

.hrec-pcard__stock.is-in {
	color: var(--hrec-green);
}

.hrec-pcard__stock.is-out {
	color: var(--hrec-red);
}

.hrec-pcard__buy {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-top: 4px;
}

.hrec-pcard__price {
	color: var(--hrec-blue);
	font-size: 17px;
	font-weight: 900;
	line-height: 1.1;
}

.hrec-pcard__price del {
	margin-right: 6px;
	color: var(--hrec-muted);
	font-size: 13px;
	font-weight: 600;
}

.hrec-pcard__price ins {
	text-decoration: none;
}

/* Add-to-cart icon button; beats the generic .woocommerce a.button rules. */
.hrec-shop .hrec-pcard a.hrec-pcard__add,
.woocommerce .hrec-pcard a.hrec-pcard__add,
.hrec-pcard a.hrec-pcard__add {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--hrec-orange);
	color: var(--hrec-white);
	line-height: 1;
	transition: background .15s ease, transform .15s ease;
}

.woocommerce ul.products li.product.hrec-pcard .button.hrec-pcard__add {
	display: inline-flex;
	margin-top: 0;
}

.hrec-shop .hrec-pcard a.hrec-pcard__add:hover,
.woocommerce .hrec-pcard a.hrec-pcard__add:hover,
.hrec-pcard a.hrec-pcard__add:hover {
	background: var(--hrec-blue-700);
	color: var(--hrec-white);
	transform: scale(1.06);
}

.hrec-pcard a.hrec-pcard__add svg.hrec-icon {
	display: block;
	width: 20px;
	height: 20px;
}

.hrec-pcard a.hrec-pcard__add.ajax_add_to_cart svg.hrec-icon {
	width: 22px;
	height: 22px;
}

.hrec-pcard a.hrec-pcard__add--view {
	background: var(--hrec-blue);
}

/* WooCommerce AJAX add-to-cart feedback. */
.hrec-pcard a.hrec-pcard__add.loading svg.hrec-icon {
	opacity: 0;
}

.hrec-pcard a.hrec-pcard__add.loading::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, .4);
	border-top-color: var(--hrec-white);
	border-radius: 50%;
	animation: hrec-spin .7s linear infinite;
}

.hrec-pcard a.hrec-pcard__add.added .hrec-pcard__add-plus {
	display: none;
}

/* The mini cart drawer opens instead; hide the default "View cart" link. */
.hrec-pcard .added_to_cart {
	display: none;
}

/* Empty state */

.hrec-shop-empty {
	display: grid;
	gap: 6px;
	justify-items: center;
	padding: 56px 20px;
	border: 1px dashed var(--hrec-line);
	border-radius: var(--hrec-radius);
	background: var(--hrec-soft);
	text-align: center;
}

.hrec-shop-empty svg.hrec-icon {
	width: 40px;
	height: 40px;
	color: var(--hrec-muted);
}

.hrec-shop-empty p {
	margin: 0;
	color: var(--hrec-muted);
	font-size: 14px;
}

.hrec-shop-empty p strong {
	color: var(--hrec-ink);
	font-size: 16px;
}

.hrec-shop-empty .hrec-button {
	margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Pagination.
   -------------------------------------------------------------------------- */

.hrec-shop-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	justify-content: center;
	margin-top: 26px;
}

.hrec-shop-pagination:empty {
	display: none;
}

.hrec-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 6px;
	border: 1px solid var(--hrec-line);
	border-radius: 6px;
	background: var(--hrec-white);
	color: var(--hrec-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.hrec-page-link:hover {
	border-color: var(--hrec-blue);
	color: var(--hrec-blue);
}

.hrec-page-link.is-current {
	border-color: var(--hrec-blue);
	background: var(--hrec-blue);
	color: var(--hrec-white);
	pointer-events: none;
}

.hrec-page-gap {
	padding: 0 4px;
	color: var(--hrec-muted);
}

/* --------------------------------------------------------------------------
   Responsive.
   -------------------------------------------------------------------------- */

@media (max-width: 1280px) {
	.hrec-shop ul.products.hrec-products[data-cols="6"] {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.hrec-shop__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Sidebar becomes an off-canvas drawer. */
	.hrec-shop-sidebar {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 1300;
		width: min(340px, 88vw);
		max-height: none;
		padding: 16px;
		background: var(--hrec-white);
		box-shadow: 14px 0 40px rgba(24, 35, 52, .18);
		transform: translateX(-105%);
		transition: transform .25s ease;
	}

	.hrec-filters-open .hrec-shop-sidebar {
		transform: translateX(0);
	}

	.hrec-shop-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1290;
		background: rgba(24, 35, 52, .45);
		opacity: 0;
		pointer-events: none;
		transition: opacity .25s ease;
	}

	.hrec-filters-open .hrec-shop-overlay {
		opacity: 1;
		pointer-events: auto;
	}

	body.hrec-no-scroll {
		overflow: hidden;
	}

	.hrec-shop .hrec-shop-sidebar__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.hrec-shop-toolbar__filters {
		display: inline-flex;
	}

	.hrec-shop ul.products.hrec-products,
	.hrec-shop ul.products.hrec-products[data-cols="6"],
	.hrec-shop ul.products.hrec-products[data-cols="4"] {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.hrec-shop ul.products.hrec-products,
	.hrec-shop .hrec-products[data-cols] {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.hrec-cols-switch {
		display: none;
	}

	.hrec-shop-count {
		order: 3;
		flex-basis: 100%;
	}
}

@media (max-width: 480px) {
	.hrec-shop ul.products.hrec-products,
	.hrec-shop .hrec-products[data-cols] {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.hrec-shop-toolbar__controls {
		flex-basis: 100%;
		justify-content: space-between;
	}
}
