/* ======================================================================
   Shop / All Products
   ====================================================================== */

.shop-page {
	max-width: none !important;
	width: 100% !important;
	background: #fff;
	color: #172033;
}

.shop-hero {
	/* height: 600px; */
	padding: 200px 24px;
	border-bottom: 1px solid #e2eaf5;
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 42%, rgba(255, 255, 255, .24) 72%, rgba(255, 255, 255, .06) 100%),
		url('../images/home/banner_2.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.shop-hero__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: #0758d1;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.shop-hero h1 {
	margin: 0;
	color: #0b1f3a;
	font-family: var(--potf-font-heading, "Inter", sans-serif);
	font-size: var(--potf-type-display);
	font-weight: 800;
	line-height: 1.08;
}

.shop-hero p {
	max-width: 700px;
	margin: 18px 0 0;
	color: #5f6f89;
	font-size: 16px;
	line-height: 1.75;
}

.shop-catalog {
	padding: 48px 24px 84px;
}

.shop-results-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 34px;
}

.shop-results-bar > p {
	margin: 0;
	color: #354258;
	font-size: 14px;
}

.shop-sort select {
	width: 220px;
	height: 44px;
	padding: 0 38px 0 14px;
	border: 0;
	border-bottom: 1px solid #d9e2ee;
	border-radius: 0;
	background-color: transparent;
	color: #354258;
	font-size: 14px;
	cursor: pointer;
}

.shop-sort select:focus {
	border-bottom-color: #0758d1;
	outline: none;
}

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

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

.shop-filter {
	padding: 0 12px 20px 0;
}

.shop-filter__group {
	min-width: 0;
	margin: 0;
	padding: 0 0 26px;
	border: 0;
	border-bottom: 1px solid #dfe5ee;
}

.shop-filter__group + .shop-filter__group {
	margin-top: 26px;
}

.shop-filter__group legend {
	width: 100%;
	margin: 0 0 25px;
	padding: 0;
	color: #0758d1;
	font-family: var(--potf-font-heading, "Inter", sans-serif);
	font-size: 23px;
	font-weight: 600;
}

.shop-price-range {
	position: relative;
	height: 22px;
}

.shop-price-range__track {
	position: absolute;
	top: 9px;
	left: 0;
	right: 0;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(
		to right,
		#d8e0ea 0 var(--price-min-position),
		#0758d1 var(--price-min-position) var(--price-max-position),
		#d8e0ea var(--price-max-position) 100%
	);
}

.shop-price-range input[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 22px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	pointer-events: none;
	appearance: none;
}

.shop-price-range input[type="range"]::-webkit-slider-runnable-track {
	height: 3px;
	background: transparent;
}

.shop-price-range input[type="range"]::-webkit-slider-thumb {
	width: 15px;
	height: 15px;
	margin-top: -6px;
	border: 0;
	border-radius: 50%;
	background: #0758d1;
	box-shadow: 0 2px 7px rgba(7, 88, 209, .25);
	pointer-events: auto;
	cursor: grab;
	appearance: none;
}

.shop-price-range input[type="range"]::-moz-range-track {
	height: 3px;
	background: transparent;
}

.shop-price-range input[type="range"]::-moz-range-thumb {
	width: 15px;
	height: 15px;
	border: 0;
	border-radius: 50%;
	background: #0758d1;
	pointer-events: auto;
	cursor: grab;
}

.shop-filter__price > p {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 10px 0 0;
	color: #0758d1;
	font-size: 14px;
}

.shop-filter__price strong {
	font-weight: 600;
}

.shop-filter__categories {
	display: grid;
	gap: 15px;
}

.shop-filter__categories legend {
	margin-bottom: 23px;
}

.shop-filter__categories label {
	display: grid;
	grid-template-columns: 17px minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	color: #4b5565;
	font-size: 12px;
	line-height: 1.35;
	cursor: pointer;
}

.shop-filter__categories input[type="radio"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #0758d1;
}

.shop-filter__categories small {
	color: #657287;
	font-size: 12px;
}

.shop-filter__submit,
.shop-filter__clear {
	width: 100%;
	height: 52px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .03em;
	text-decoration: none;
	text-transform: uppercase;
}

.shop-filter__submit {
	margin-top: 28px;
	border: 0;
	background: #0758d1;
	color: #fff;
	cursor: pointer;
}

.shop-filter__submit:hover {
	background: #0649ac;
}

.shop-filter__clear {
	margin-top: 9px;
	border: 1px solid #dfe5ee;
	background: #f6f7f9;
	color: #0758d1;
}

.shop-filter.is-loading,
.shop-sort-form.is-loading {
	opacity: .6;
	pointer-events: none;
}

.shop-products {
	min-width: 0;
}

.shop-products-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px 20px;
}

.shop-products-grid .product-card {
	min-width: 0;
	border-color: #e6ebf2;
	border-radius: 19px;
	box-shadow: 0 8px 24px rgba(25, 55, 94, .06);
}

.shop-products-grid .product-card:hover {
	box-shadow: 0 14px 34px rgba(25, 55, 94, .11);
}

.shop-products-grid .product-card__image-wrap {
	height: 292px;
	box-sizing: border-box;
	margin: 14px 14px 0;
	padding: 18px;
	border-radius: 15px;
}

.shop-products-grid .product-card__image {
	max-height: 245px;
}

.shop-products-grid .product-card__info {
	padding: 16px 18px 17px;
}

.shop-products-grid .product-card__title {
	min-height: 42px;
	font-size: 16px;
}

.shop-products-grid .product-card__price {
	padding-top: 8px;
	color: #0758d1;
	font-size: 18px;
}

.shop-products-grid .product-card__actions {
	margin-top: 12px;
}

.woocommerce .shop-products-grid .product-card__button--cart {
	min-height: 50px;
	border-radius: 10px;
	background: #0758d1;
	color: #fff;
	font-size: 14px;
	text-transform: none;
}

.woocommerce .shop-products-grid .product-card__button--cart:hover {
	background: #0649ac;
	color: #fff;
}

.shop-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 46px;
}

.shop-pagination a {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border: 1px solid #dbe5f2;
	border-radius: 9px;
	background: #fff;
	color: #526077;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.shop-pagination a:hover,
.shop-pagination a.is-active {
	border-color: #0758d1;
	background: #0758d1;
	color: #fff;
}

.shop-empty {
	padding: 70px 24px;
	border: 1px solid #dfe8f4;
	border-radius: 18px;
	background: #f8fbff;
	text-align: center;
}

.shop-empty svg {
	width: 48px;
	height: 48px;
	color: #0758d1;
}

.shop-empty h2 {
	margin: 18px 0 8px;
	color: #0b1f3a;
}

.shop-empty p {
	margin: 0;
	color: #718097;
}

.shop-empty a {
	margin-top: 22px;
	min-height: 42px;
	padding: 0 22px;
	display: inline-flex;
	align-items: center;
	border-radius: 8px;
	background: #0758d1;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.shop-page > .newsletter-signup {
	margin-bottom: 70px;
}

@media (max-width: 1120px) {
	.shop-layout {
		grid-template-columns: 230px minmax(0, 1fr);
		gap: 24px;
	}

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

@media (max-width: 820px) {
	.shop-catalog {
		padding: 42px 18px 70px;
	}

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

	.shop-sidebar {
		position: static;
	}

	.shop-filter {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 24px;
		padding: 22px;
		border: 1px solid #dfe5ee;
		border-radius: 14px;
		background: #fafcff;
	}

	.shop-filter__group,
	.shop-filter__group + .shop-filter__group {
		margin: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}

	.shop-filter__submit,
	.shop-filter__clear {
		margin-top: 0;
	}
}

@media (max-width: 580px) {
	.shop-hero {
		padding: 46px 16px;
	}

	.shop-results-bar {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.shop-sort-form,
	.shop-sort select {
		width: 100%;
	}

	.shop-filter {
		grid-template-columns: 1fr;
		padding: 20px 18px;
	}

	.shop-filter__categories {
		max-height: 270px;
		overflow-y: auto;
	}

	.shop-products-grid {
		grid-template-columns: 1fr;
		max-width: 370px;
		margin-inline: auto;
	}

	.shop-products-grid .product-card__image-wrap {
		height: 270px;
	}
}
