/* Product category / shop archive */
.help-shop-page {
	padding: 24px 0 56px;
	background: #fff;
}

.help-shop-page__inner {
	width: min(100% - 2rem, var(--help-tema-max-width));
	margin: 0 auto;
}

.help-shop-breadcrumb {
	margin-bottom: 18px;
	padding: 10px 16px;
	border: 1px solid var(--line);
	border-radius: 3px;
	background: #fbfcfd;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.help-shop-breadcrumb a {
	color: var(--green-700);
	text-decoration: none;
}

.help-shop-breadcrumb .delimiter {
	margin: 0 7px;
	color: var(--faint);
}

.help-shop-layout {
	display: grid;
	grid-template-columns: 218px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}

.help-shop-sidebar {
	position: sticky;
	top: 16px;
}

.help-shop-sidebar__box {
	border: 1px solid var(--line);
	background: var(--card);
}

.help-shop-sidebar__box h2 {
	margin: 0;
	padding: 13px 14px;
	border-bottom: 1px solid var(--line);
	background: var(--navy);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.help-shop-cats,
.help-shop-cats__children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.help-shop-cats__item {
	border-bottom: 1px solid var(--line-2);
}

.help-shop-cats__item:last-child {
	border-bottom: 0;
}

.help-shop-cats__children {
	border-top: 1px solid var(--line-2);
	background: #fbfcfd;
}

.help-shop-cats__link {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 38px;
	padding: 8px 10px 8px 12px;
	color: var(--ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	transition: background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}

.help-shop-cats__item--depth-1 .help-shop-cats__link {
	padding-left: 30px;
	font-size: 11px;
	font-weight: 600;
}

.help-shop-cats__item--depth-2 .help-shop-cats__link {
	padding-left: 42px;
	font-size: 11px;
}

.help-shop-cats__link:hover,
.help-shop-cats__link:focus-visible,
.help-shop-cats__item.is-active > .help-shop-cats__link {
	background: linear-gradient(90deg, var(--green-50), #fff);
	box-shadow: inset 4px 0 0 var(--green);
	color: var(--navy);
	outline: 0;
	transform: translateX(2px);
}

.help-shop-cats__icon {
	display: inline-grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 7px;
	background: var(--navy-50);
	color: var(--navy);
	flex: 0 0 auto;
	transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.help-shop-cats__link:hover .help-shop-cats__icon,
.help-shop-cats__item.is-active > .help-shop-cats__link .help-shop-cats__icon {
	background: var(--green);
	color: #fff;
}

.help-shop-cats__icon .help-icon {
	width: 15px;
	height: 15px;
	stroke-width: 2.2;
}

.help-shop-cats__name {
	min-width: 0;
	flex: 1 1 auto;
}

.help-shop-cats__count {
	display: inline-flex;
	min-width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--line-2);
	color: var(--muted);
	font-size: 10px;
	font-weight: 800;
}

.help-shop-content {
	min-width: 0;
}

.help-shop-hero {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
}

.help-shop-hero__eyebrow {
	margin: 0 0 3px;
	color: var(--green-700);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.help-shop-hero h1 {
	margin: 0;
	color: var(--navy);
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 800;
	line-height: 1.05;
}

.help-shop-hero__description {
	max-width: 760px;
	margin-top: 8px;
	color: var(--muted);
	font-size: 13px;
}

.help-shop-hero__description p {
	margin: 0;
}

.help-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fbfcfd;
}

.help-shop-toolbar__count .woocommerce-result-count {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
}

.help-shop-toolbar__order .woocommerce-ordering {
	margin: 0;
}

.help-shop-toolbar select.orderby {
	min-width: 190px;
	min-height: 36px;
	padding: 6px 34px 6px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background-color: #fff;
	color: var(--navy);
	font-size: 12px;
	font-weight: 700;
}

.help-shop-page.woocommerce ul.products,
.woocommerce .help-shop-page ul.products {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px 16px;
	margin: 0;
	padding: 0;
}

.help-shop-page.woocommerce ul.products::before,
.help-shop-page.woocommerce ul.products::after,
.woocommerce .help-shop-page ul.products::before,
.woocommerce .help-shop-page ul.products::after {
	display: none;
}

.help-shop-page.woocommerce ul.products li.product,
.woocommerce .help-shop-page ul.products li.product {
	padding: 10px 8px 12px;
	border: 1px solid transparent;
	border-radius: 8px;
	box-shadow: none;
}

.help-shop-page.woocommerce ul.products li.product a img,
.woocommerce .help-shop-page ul.products li.product a img {
	height: 132px;
}

.help-shop-page.woocommerce span.onsale,
.woocommerce .help-shop-page span.onsale {
	min-width: 42px;
	min-height: 22px;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--green);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

.help-shop-pagination {
	margin-top: 28px;
	text-align: center;
}

.help-shop-pagination .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	gap: 7px;
	margin: 0;
	border: 0;
}

.help-shop-pagination .woocommerce-pagination ul.page-numbers li {
	border: 0;
}

.help-shop-pagination .page-numbers {
	display: inline-flex;
	min-width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	color: var(--navy);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.help-shop-pagination .page-numbers.current,
.help-shop-pagination a.page-numbers:hover,
.help-shop-pagination a.page-numbers:focus-visible {
	border-color: var(--green);
	background: var(--green);
	color: #fff;
}

.help-shop-empty {
	padding: 34px;
	border: 1px dashed var(--line);
	border-radius: 14px;
	background: #fbfcfd;
	color: var(--muted);
	text-align: center;
}

@media (max-width: 1199px) {
	.help-shop-layout {
		grid-template-columns: 190px minmax(0, 1fr);
		gap: 18px;
	}

	.help-shop-page.woocommerce ul.products,
	.woocommerce .help-shop-page ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.help-shop-layout {
		grid-template-columns: 1fr;
	}

	.help-shop-sidebar {
		position: static;
	}

	.help-shop-cats {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.help-shop-cats__children {
		display: none;
	}

	.help-shop-page.woocommerce ul.products,
	.woocommerce .help-shop-page ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.help-shop-page {
		padding-top: 16px;
	}

	.help-shop-toolbar,
	.help-shop-hero {
		align-items: stretch;
		flex-direction: column;
	}

	.help-shop-toolbar select.orderby {
		width: 100%;
	}

	.help-shop-cats {
		grid-template-columns: 1fr;
	}

	.help-shop-page.woocommerce ul.products,
	.woocommerce .help-shop-page ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 10px;
	}
}

/* Category product cards use the same visual component from the home page. */
.help-shop-product-grid {
	align-items: stretch;
	margin-top: 0;
}

.help-shop-product-grid > .col {
	display: flex;
}

.help-shop-product-grid .home-product-card {
	width: 100%;
}

.help-shop-product-grid .home-product-card__thumb {
	min-height: 132px;
}

.help-shop-product-grid .home-product-card h3 {
	min-height: 42px;
}

.help-shop-page .products {
	margin-bottom: 0;
}

@media (max-width: 1199px) {
	.help-shop-product-grid.row {
		--bs-gutter-x: 0.875rem;
		--bs-gutter-y: 0.875rem;
	}
}

@media (max-width: 640px) {
	.help-shop-product-grid.row {
		--bs-gutter-x: 0.625rem;
		--bs-gutter-y: 0.875rem;
	}
}
