/*
 * Важно: не скрываем все aside на странице, потому что Blocksy/шапка
 * может использовать aside внутри своего всплывающего каталога.
 * Ограничиваем отключение сайдбара только областью нашей страницы каталога.
 */
body.glcp-catalog-page-active .glcp-page .ct-sidebar,
body.glcp-catalog-page-active .glcp-page .ct-widget-area,
body.glcp-catalog-page-active .glcp-page [data-sidebar],
body.glcp-catalog-page-active .glcp-page .woocommerce-sidebar {
	display: none !important;
}

body.glcp-catalog-page-active .glcp-page,
body.glcp-catalog-page-active .glcp-page .site-main,
body.glcp-catalog-page-active .glcp-page #primary,
body.glcp-catalog-page-active .glcp-page .content-area {
	width: 100% !important;
	max-width: none !important;
}

.glcp-page {
	padding: 28px 0 56px;
	background: linear-gradient(180deg, #f7fbff 0%, #ffffff 360px);
	color: #111827;
}

.glcp-page * {
	box-sizing: border-box;
}

.glcp-container {
	width: min(100% - 32px, 1280px);
	margin: 0 auto;
}

.glcp-hero {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, .72fr);
	gap: 30px;
	margin: 0 0 18px;
	padding: 38px;
	border-radius: 34px;
	background:
		radial-gradient(circle at 12% 12%, rgba(252, 180, 36, .36), transparent 27%),
		radial-gradient(circle at 92% 92%, rgba(255, 255, 255, .17), transparent 30%),
		linear-gradient(135deg, #015eba 0%, #014c96 54%, #062f5a 100%);
	box-shadow: 0 24px 70px rgba(1, 94, 186, .22);
}

.glcp-hero:after {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -150px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: rgba(252, 180, 36, .24);
}

.glcp-hero__content,
.glcp-hero__side {
	position: relative;
	z-index: 2;
}

.glcp-label {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin: 0 0 12px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.glcp-label--blue {
	background: rgba(1, 94, 186, .09);
	color: #015eba;
}

.glcp-hero h1 {
	max-width: 850px;
	margin: 0 0 15px;
	color: #fff;
	font-size: clamp(34px, 4vw, 58px);
	line-height: 1.03;
	font-weight: 950;
	letter-spacing: -0.045em;
}

.glcp-hero__lead {
	max-width: 780px;
	margin: 0 0 24px;
	color: rgba(255, 255, 255, .9);
	font-size: 18px;
	line-height: 1.65;
}

.glcp-search {
	display: flex;
	max-width: 780px;
	margin: 0 0 18px;
	padding: 7px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
}

.glcp-search input {
	width: 100%;
	min-height: 54px;
	padding: 0 16px;
	border: 0 !important;
	border-radius: 15px;
	outline: none !important;
	box-shadow: none !important;
	background: #fff;
	color: #111827;
	font-size: 16px;
}

.glcp-search button {
	flex: 0 0 auto;
	min-height: 54px;
	padding: 0 26px;
	border: 0;
	border-radius: 15px;
	background: #fcb424;
	color: #111827;
	font-size: 15px;
	font-weight: 950;
	cursor: pointer;
	transition: transform .18s ease, background-color .18s ease;
}

.glcp-search button:hover {
	transform: translateY(-1px);
	background: #ffd061;
}

.glcp-hero__actions,
.glcp-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.glcp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 15px;
	text-decoration: none !important;
	font-size: 15px;
	font-weight: 900;
	line-height: 1;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.glcp-btn:hover {
	transform: translateY(-1px);
}

.glcp-btn--yellow {
	background: #fcb424;
	color: #111827 !important;
	box-shadow: 0 12px 28px rgba(252, 180, 36, .32);
}

.glcp-btn--white {
	background: #fff;
	color: #015eba !important;
}

.glcp-btn--ghost {
	background: rgba(255, 255, 255, .12);
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, .28);
}

.glcp-hero__side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-self: stretch;
}

.glcp-stat {
	padding: 25px;
	border-radius: 26px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .2);
	color: #fff;
	backdrop-filter: blur(10px);
}

.glcp-stat strong {
	display: block;
	margin: 0 0 5px;
	font-size: 45px;
	line-height: 1;
	font-weight: 950;
	letter-spacing: -0.04em;
}

.glcp-stat span {
	display: block;
	color: rgba(255, 255, 255, .86);
	font-weight: 700;
	line-height: 1.45;
}

.glcp-mini-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.glcp-mini-grid span {
	min-height: 64px;
	display: flex;
	align-items: center;
	padding: 14px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .14);
	color: #fff;
	font-weight: 850;
}

.glcp-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 36px;
}

.glcp-benefits div {
	padding: 21px;
	border-radius: 24px;
	background: #fff;
	border: 1px solid #e7edf5;
	box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.glcp-benefits strong {
	display: block;
	margin: 0 0 7px;
	color: #015eba;
	font-size: 17px;
}

.glcp-benefits span {
	display: block;
	color: #5d6878;
	line-height: 1.55;
}

.glcp-section-head,
.glcp-products__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin: 0 0 18px;
}

.glcp-section-head--categories {
	margin-top: 32px;
}

.glcp-section-head h2,
.glcp-cta h2,
.glcp-seo h2,
.glcp-products__head h2 {
	margin: 0;
	color: #111827;
	font-size: clamp(27px, 3vw, 40px);
	line-height: 1.12;
	font-weight: 950;
	letter-spacing: -0.04em;
}

.glcp-section-head p,
.glcp-products__head p {
	max-width: 560px;
	margin: 0;
	color: #687385;
	line-height: 1.6;
}

.glcp-scenario-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 6px;
}

.glcp-scenario {
	position: relative;
	overflow: hidden;
	min-height: 164px;
	padding: 22px;
	border-radius: 25px;
	background: linear-gradient(135deg, #ffffff 0%, #f3f8fd 100%);
	border: 1px solid #e7edf5;
	color: #111827;
	text-decoration: none !important;
	box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.glcp-scenario:after {
	content: "→";
	position: absolute;
	right: 18px;
	bottom: 15px;
	width: 37px;
	height: 37px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #015eba;
	color: #fff;
	font-weight: 900;
}

.glcp-scenario:hover {
	transform: translateY(-3px);
	border-color: rgba(1, 94, 186, .25);
	box-shadow: 0 20px 46px rgba(15, 23, 42, .1);
}

.glcp-scenario strong {
	display: block;
	margin: 0 0 9px;
	font-size: 19px;
	font-weight: 950;
	letter-spacing: -0.02em;
}

.glcp-scenario span {
	display: block;
	padding-right: 18px;
	color: #5d6878;
	line-height: 1.55;
}

.glcp-cat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 0 0 32px;
}

.glcp-cat-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	border-radius: 26px;
	background: #fff;
	border: 1px solid #e7edf5;
	box-shadow: 0 16px 38px rgba(15, 23, 42, .07);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.glcp-cat-card:hover {
	transform: translateY(-3px);
	border-color: rgba(1, 94, 186, .28);
	box-shadow: 0 22px 50px rgba(15, 23, 42, .1);
}

.glcp-cat-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 195px;
	background:
		radial-gradient(circle at 18% 14%, rgba(252, 180, 36, .22), transparent 30%),
		linear-gradient(135deg, rgba(1, 94, 186, .11), rgba(1, 94, 186, .03));
	text-decoration: none !important;
}

.glcp-cat-card__media:after {
	content: "";
	position: absolute;
	inset: auto 18px 16px 18px;
	height: 18px;
	border-radius: 999px;
	background: rgba(1, 94, 186, .08);
	filter: blur(10px);
}

.glcp-cat-card__media img {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 20px;
	transition: transform .18s ease;
}

.glcp-cat-card:hover .glcp-cat-card__media img {
	transform: scale(1.04);
}

.glcp-cat-card__media span {
	font-size: 58px;
	line-height: 1;
}

.glcp-cat-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 21px;
}

.glcp-cat-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
}

.glcp-cat-card h3 {
	margin: 0;
	font-size: 20px;
	line-height: 1.18;
	font-weight: 950;
	letter-spacing: -0.025em;
}

.glcp-cat-card h3 a {
	color: #111827;
	text-decoration: none !important;
}

.glcp-cat-card small {
	flex: 0 0 auto;
	margin-top: 2px;
	padding: 5px 8px;
	border-radius: 999px;
	background: rgba(1, 94, 186, .08);
	color: #015eba;
	font-size: 12px;
	font-weight: 900;
	white-space: nowrap;
}

.glcp-cat-card p {
	margin: 0 0 14px;
	color: #5d6878;
	line-height: 1.55;
}

.glcp-cat-card__children {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0 0 16px;
}

.glcp-cat-card__children a {
	display: inline-flex;
	padding: 6px 9px;
	border-radius: 999px;
	background: #f4f7fb;
	color: #344256;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
}

.glcp-cat-card__children a:hover {
	background: rgba(252, 180, 36, .25);
	color: #111827;
}

.glcp-cat-card__button {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	border-radius: 14px;
	background: #015eba;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 900;
}

.glcp-cat-card__button:hover {
	background: #014f9d;
}

.glcp-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	margin: 0 0 30px;
	padding: 32px;
	border-radius: 32px;
	background:
		radial-gradient(circle at 100% 0%, rgba(252, 180, 36, .25), transparent 30%),
		linear-gradient(135deg, #015eba 0%, #01477f 100%);
	color: #fff;
}

.glcp-cta > div:first-child {
	max-width: 800px;
}

.glcp-cta h2 {
	color: #fff;
}

.glcp-cta p {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, .86);
	font-size: 17px;
	line-height: 1.6;
}

.glcp-seo {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
	gap: 18px;
	margin: 0 0 30px;
}

.glcp-seo > div {
	padding: 26px;
	border-radius: 26px;
	background: #fff;
	border: 1px solid #e7edf5;
	box-shadow: 0 12px 30px rgba(15, 23, 42, .04);
}

.glcp-seo h2,
.glcp-seo h3 {
	margin: 0 0 10px;
	color: #111827;
}

.glcp-seo h3 {
	font-size: 22px;
	line-height: 1.2;
	font-weight: 950;
	letter-spacing: -0.025em;
}

.glcp-seo p {
	margin: 0;
	color: #5d6878;
	line-height: 1.7;
}

.glcp-products {
	padding: 26px;
	border-radius: 30px;
	background: #fff;
	border: 1px solid #e7edf5;
	box-shadow: 0 16px 44px rgba(15, 23, 42, .06);
}

.glcp-products__head {
	margin-bottom: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid #e7edf5;
}

.glcp-products__loop .woocommerce-result-count {
	color: #687385;
}

.glcp-products__loop .woocommerce-ordering select {
	min-height: 42px;
	border-radius: 12px;
	border-color: #d8e3ef;
}

body.glcp-catalog-page-active ul.products {
	margin-bottom: 0;
}

@media (max-width: 1100px) {
	.glcp-hero {
		grid-template-columns: 1fr;
	}

	.glcp-benefits,
	.glcp-cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.glcp-scenario-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.glcp-section-head,
	.glcp-products__head,
	.glcp-cta {
		align-items: flex-start;
		flex-direction: column;
	}

	.glcp-seo {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.glcp-page {
		padding-top: 16px;
	}

	.glcp-container {
		width: min(100% - 20px, 1280px);
	}

	.glcp-hero {
		padding: 22px;
		border-radius: 24px;
	}

	.glcp-search {
		display: block;
		padding: 6px;
	}

	.glcp-search button {
		width: 100%;
		margin-top: 6px;
	}

	.glcp-hero__actions,
	.glcp-cta__actions {
		width: 100%;
	}

	.glcp-btn {
		width: 100%;
	}

	.glcp-mini-grid,
	.glcp-benefits,
	.glcp-scenario-grid,
	.glcp-cat-grid {
		grid-template-columns: 1fr;
	}

	.glcp-cat-card__media {
		height: 165px;
	}

	.glcp-cat-card__top {
		display: block;
	}

	.glcp-cat-card small {
		display: inline-flex;
		margin-top: 8px;
	}

	.glcp-products {
		padding: 18px;
		border-radius: 22px;
	}
}
