:where(.term-iphone, .term-mac, .term-ipad, .term-apple-watch, .term-airpods, .term-vision, .term-home, .term-accessories) .woocommerce-products-header {
	margin: 0 0 24px;
}

.sansara-category-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(350px, 36vw, 430px);
	overflow: hidden;
	border: 1px solid #d9e6e5;
	border-radius: 30px;
	background: #f6f1e8;
	box-shadow: 0 24px 50px rgba(20, 58, 61, .09);
}

.sansara-category-hero__image {
	position: absolute;
	z-index: -1;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
}

.sansara-category-hero__copy {
	display: flex;
	width: min(50%, 585px);
	min-height: inherit;
	box-sizing: border-box;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(38px, 5vw, 68px);
}

.sansara-category-hero__eyebrow {
	margin-bottom: 15px;
	color: #008d8a;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .16em;
}

.sansara-category-hero h1 {
	max-width: 560px;
	margin: 0;
	color: #102d30;
	font-size: clamp(38px, 4.4vw, 59px);
	font-weight: 900;
	letter-spacing: -.055em;
	line-height: .98;
}

.sansara-category-hero p {
	max-width: 500px;
	margin: 22px 0 0;
	color: #4f6567;
	font-size: clamp(15px, 1.5vw, 18px);
	line-height: 1.48;
}

.sansara-category-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	margin-top: 28px;
}

.sansara-category-hero__button {
	display: inline-flex;
	min-height: 50px;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: 14px;
	padding: 13px 20px;
	background: linear-gradient(135deg, #0aa6a1, #1fc4be);
	box-shadow: 0 13px 26px rgba(11, 158, 153, .22);
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.sansara-category-hero__button:hover,
.sansara-category-hero__button:focus-visible {
	box-shadow: 0 16px 30px rgba(11, 158, 153, .3);
	color: #fff;
	transform: translateY(-2px);
}

.sansara-category-hero__note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #315557;
	font-size: 12px;
	font-weight: 800;
}

.sansara-category-hero__note i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2cac68;
	box-shadow: 0 0 0 5px rgba(44, 172, 104, .12);
}

.sansara-category-anchor {
	display: block;
	height: 0;
	scroll-margin-top: 115px;
}

.term-iphone .sansara-catalog-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 20px 0 18px;
	border-bottom: 1px solid #dfe9e8;
	padding: 0 3px 16px;
}

.sansara-catalog-toolbar__summary,
.sansara-catalog-toolbar__sort {
	display: flex;
	align-items: center;
}

.sansara-catalog-toolbar__summary {
	gap: 14px;
}

.sansara-catalog-toolbar__summary strong {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	color: #173638;
	font-size: 14px;
	font-weight: 800;
}

.sansara-catalog-toolbar__summary strong b {
	font-size: 19px;
	font-weight: 900;
	letter-spacing: -.03em;
}

.sansara-catalog-toolbar__summary > span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border-radius: 999px;
	padding: 7px 10px;
	background: #eef8f5;
	color: #317354;
	font-size: 11px;
	font-weight: 800;
}

.sansara-catalog-toolbar__summary > span i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #35a85d;
}

.sansara-catalog-toolbar__sort {
	gap: 11px;
}

.sansara-catalog-toolbar__sort > span {
	color: #738486;
	font-size: 11px;
	font-weight: 700;
}

.term-iphone .sansara-catalog-toolbar .woocommerce-ordering {
	position: relative;
	float: none;
	margin: 0;
}

.term-iphone .sansara-catalog-toolbar .woocommerce-ordering::after {
	position: absolute;
	top: 50%;
	right: 15px;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid #36595b;
	border-bottom: 1.5px solid #36595b;
	content: "";
	pointer-events: none;
	transform: translateY(-70%) rotate(45deg);
}

.term-iphone .sansara-catalog-toolbar .woocommerce-ordering select {
	min-width: 205px;
	height: 44px;
	appearance: none;
	border: 0;
	border-radius: 13px;
	padding: 0 40px 0 15px;
	background: #f1f6f5;
	box-shadow: inset 0 0 0 1px rgba(23, 54, 56, .06);
	color: #173638;
	font-size: 12px;
	font-weight: 800;
	outline: none;
	cursor: pointer;
}

.term-iphone .sansara-catalog-toolbar .woocommerce-ordering select:hover,
.term-iphone .sansara-catalog-toolbar .woocommerce-ordering select:focus-visible {
	background: #eaf3f2;
	box-shadow: inset 0 0 0 1px rgba(0, 143, 139, .25), 0 0 0 3px rgba(20, 184, 179, .08);
}

@media (max-width: 820px) {
	.sansara-category-hero__copy {
		width: 55%;
		padding: 34px 28px;
	}

	.sansara-category-hero h1 {
		font-size: clamp(35px, 5.5vw, 48px);
	}
}

@media (max-width: 620px) {
	:where(.term-iphone, .term-mac, .term-ipad, .term-apple-watch, .term-airpods, .term-vision, .term-home, .term-accessories) .woocommerce-products-header {
		margin-bottom: 16px;
	}

	.sansara-category-hero {
		display: grid;
		min-height: 0;
		border-radius: 22px;
		box-shadow: 0 16px 32px rgba(20, 58, 61, .08);
	}

	.sansara-category-hero__copy {
		width: 100%;
		min-height: 0;
		padding: 27px 22px 23px;
	}

	.sansara-category-hero h1 {
		max-width: 390px;
		font-size: clamp(32px, 10vw, 42px);
		line-height: 1;
	}

	.sansara-category-hero p {
		margin-top: 15px;
		font-size: 14px;
	}

	.sansara-category-hero__actions {
		align-items: flex-start;
		margin-top: 20px;
	}

	.sansara-category-hero__button {
		min-height: 46px;
		padding: 11px 17px;
	}

	.sansara-category-hero__note {
		min-height: 46px;
	}

	.sansara-category-hero__image {
		position: relative;
		z-index: 0;
		width: 100%;
		height: clamp(230px, 70vw, 320px);
		object-fit: cover;
		object-position: 78% center;
	}

	.term-iphone .sansara-catalog-toolbar {
		display: none;
	}

	.sansara-catalog-toolbar__summary {
		gap: 8px;
	}

	.sansara-catalog-toolbar__summary strong {
		font-size: 12px;
	}

	.sansara-catalog-toolbar__summary strong b {
		font-size: 16px;
	}

	.sansara-catalog-toolbar__summary > span {
		display: none;
	}

	.sansara-catalog-toolbar__sort > span {
		display: none;
	}

	.term-iphone .sansara-catalog-toolbar .woocommerce-ordering select {
		min-width: 0;
		width: min(52vw, 184px);
		height: 42px;
		border-radius: 12px;
		font-size: 11px;
	}
}

@media (max-width: 390px) {
	.sansara-category-hero__copy {
		padding-inline: 18px;
	}

	.sansara-category-hero h1 {
		font-size: 31px;
	}

	.sansara-category-hero__actions {
		display: grid;
	}

	.sansara-category-hero__image {
		height: 250px;
	}
}

/* Mobile category pages start with navigation and products, not a large banner. */
@media (max-width: 720px) {
	body.tax-product_cat .sansara-category-hero {
		display: none;
	}
}
