/* Independent catalogue shell. Product cards always come from the theme. */
.bp-independent-catalog .bp-page-hero,
.bp-independent-catalog .bp-ux-promo {
	display: none !important;
}

.bp-cc {
	width: min(1240px, calc(100% - 32px));
	margin: 30px auto 76px;
	color: #302d26;
}

.bp-cc__hero {
	display: grid;
	grid-template-columns: 1fr minmax(300px, 440px);
	gap: 28px;
	align-items: center;
	border-radius: 26px;
	background: linear-gradient(135deg, #1f674e, #164435);
	color: #fff;
	padding: 32px;
}

.bp-cc__hero h1 {
	margin: 4px 0 8px;
	color: #fff;
	font-size: clamp(34px, 5vw, 54px);
}

.bp-cc__hero p {
	margin: 0;
	color: #dbeae4;
}

.bp-cc__hero > div > span {
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.bp-cc-search {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	border-radius: 15px;
	background: #fff;
	padding: 7px;
}

.bp-cc-search input {
	width: 100%;
	height: 44px;
	border: 0;
	padding: 0 10px;
	font: inherit;
}

.bp-cc-search button,
.bp-cc-filters button {
	min-height: 44px;
	border: 0;
	border-radius: 10px;
	background: #efbf38;
	padding: 0 18px;
	font-weight: 850;
	cursor: pointer;
}

.bp-cc-cats {
	display: flex;
	gap: 8px;
	overflow: auto;
	margin: 18px 0;
	padding: 2px;
}

.bp-cc-cats a {
	display: flex;
	gap: 7px;
	align-items: center;
	white-space: nowrap;
	border: 1px solid #ded6c9;
	border-radius: 999px;
	background: #fff;
	padding: 9px 13px;
	color: #3c3932;
	font-weight: 750;
	text-decoration: none;
}

.bp-cc-cats a.is-active {
	border-color: #237155;
	background: #e8f3ed;
	color: #176044;
}

.bp-cc-cats small {
	display: grid;
	place-items: center;
	min-width: 21px;
	height: 21px;
	border-radius: 50%;
	background: #f0ede6;
	font-size: 11px;
}

.bp-cc-filters {
	display: grid;
	grid-template-columns: 1.1fr .8fr .8fr 1.2fr auto auto;
	gap: 10px;
	align-items: end;
	border: 1px solid #e4dccf;
	border-radius: 18px;
	background: #fff;
	padding: 16px;
}

.bp-cc-filters label {
	display: grid;
	gap: 6px;
}

.bp-cc-filters label span {
	font-size: 12px;
	font-weight: 800;
}

.bp-cc-filters select,
.bp-cc-filters input {
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	border: 1px solid #d8d0c3;
	border-radius: 10px;
	background: #fff;
	padding: 0 10px;
	font: inherit;
}

.bp-cc-filters > a {
	display: grid;
	place-items: center;
	height: 44px;
	color: #176044;
	font-weight: 800;
}

.bp-cc__result {
	display: flex;
	gap: 5px;
	margin: 22px 0 12px;
	color: #746e64;
}

.bp-cc__result strong {
	color: #1e674e;
}

.bp-cc-grid.bp-home-products {
	display: block;
	padding: 0;
	background: transparent;
}

.bp-cc-grid.bp-home-products .woocommerce ul.products {
	grid-template-columns: repeat(4, minmax(0, 270px));
	justify-content: space-between;
	gap: 30px;
	margin: 0;
}

.bp-cc-empty {
	border: 1px dashed #cfc5b6;
	border-radius: 22px;
	background: #fbfaf7;
	padding: 44px;
	text-align: center;
}

.bp-cc-empty a {
	color: #176044;
	font-weight: 850;
}

.bp-cc .pagination {
	margin-top: 28px;
}

.bp-cc .nav-links {
	display: flex;
	justify-content: center;
	gap: 7px;
}

.bp-cc .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	border: 1px solid #ddd4c7;
	border-radius: 10px;
	color: #176044;
	text-decoration: none;
}

.bp-cc .page-numbers.current {
	background: #1f674e;
	color: #fff;
}

@media (max-width: 1100px) {
	.bp-cc-grid.bp-home-products .woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 680px) {
	.bp-cc {
		width: min(100% - 20px, 560px);
		margin-top: 18px;
	}

	.bp-cc__hero {
		grid-template-columns: 1fr;
		padding: 23px;
	}

	.bp-cc-search,
	.bp-cc-filters {
		grid-template-columns: 1fr;
	}

	.bp-cc-search button {
		height: 44px;
	}

	.bp-cc-grid.bp-home-products .woocommerce ul.products {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (max-width: 640px) {
	.bp-cc-grid.bp-home-products {
		width: calc(100% - 8px);
		margin-inline: auto;
	}
}
