/* P.A.N. Category Experience: presentation-only, scoped to product categories. */
.tax-product_cat.woocommerce .pan-category-experience {
	margin: 0 0 1.25rem;
	color: #02225a;
}

.tax-product_cat.woocommerce .pan-category-experience__hero {
	position: relative;
	min-height: 112px;
	max-height: 190px;
	overflow: hidden;
	background: #02225a;
	display: flex;
	align-items: center;
}

.tax-product_cat.woocommerce .pan-category-experience__hero img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .78;
}

.tax-product_cat.woocommerce .pan-category-experience__hero-content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 1rem clamp(1rem, 4vw, 3.25rem);
	color: #fff;
}

.tax-product_cat.woocommerce .pan-category-experience__eyebrow {
	margin: 0 0 .25rem;
	font-family: "Metropolis-Bold", sans-serif;
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .9;
}

.tax-product_cat.woocommerce .pan-category-experience h1 {
	max-width: 850px;
	margin: 0;
	font-family: "Metropolis-Bold", sans-serif;
	font-size: clamp(1.45rem, 4vw, 3rem);
	line-height: 1.08;
	text-wrap: balance;
}

.tax-product_cat.woocommerce .pan-category-experience__intro {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: .65rem 0 .25rem;
}

.tax-product_cat.woocommerce .pan-category-experience__count,
.tax-product_cat.woocommerce .pan-category-experience__summary {
	margin: 0;
}

.tax-product_cat.woocommerce .pan-category-experience__count {
	font-family: "Metropolis-Bold", sans-serif;
	font-size: .95rem;
}

.tax-product_cat.woocommerce .pan-category-experience__summary {
	max-width: 760px;
	margin-top: .2rem;
	color: #4d5b73;
	font-family: "Metropolis-Regular", sans-serif;
	font-size: .9rem;
	line-height: 1.35;
}

.tax-product_cat.woocommerce .pan-category-experience__details-link {
	flex: 0 0 auto;
	align-self: center;
	font-size: .82rem;
	font-family: "Metropolis-Bold", sans-serif;
	color: #02225a;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tax-product_cat.woocommerce .pan-category-experience__description-bottom {
	max-width: 900px;
	width: 100%;
	box-sizing: border-box;
	margin: 2rem auto 1rem;
	padding: 1.25rem 1rem 0;
	border-top: 1px solid #e6e8ec;
	color: #3e4655;
	font-family: "Metropolis-Regular", sans-serif;
	font-size: .92rem;
	line-height: 1.55;
}

.tax-product_cat.woocommerce .pan-category-experience__description-bottom h2 {
	margin: 0 0 .75rem;
	color: #02225a;
	font-family: "Metropolis-Bold", sans-serif;
	font-size: 1.35rem;
}

.tax-product_cat.woocommerce .pan-category-experience__description-bottom p {
	margin: 0 0 .7rem;
}

.tax-product_cat.woocommerce .pan-category-experience__chips {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-width: 0;
	margin: .25rem 0 .55rem;
}

.tax-product_cat.woocommerce .pan-category-experience__chips-scroll {
	display: flex;
	gap: .5rem;
	min-width: 0;
	overflow-x: auto;
	padding: .15rem .1rem .35rem;
	scrollbar-width: none;
}

.tax-product_cat.woocommerce .pan-category-experience__chips-scroll::-webkit-scrollbar {
	display: none;
}

.tax-product_cat.woocommerce .pan-category-experience__chips a {
	flex: 0 0 auto;
	padding: .55rem .8rem;
	border: 1px solid #d7dce5;
	border-radius: 999px;
	background: #fff;
	color: #02225a;
	font-family: "Metropolis-Bold", sans-serif;
	font-size: .76rem;
	text-decoration: none;
	white-space: nowrap;
}

.tax-product_cat.woocommerce .pan-category-experience__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin: .35rem 0 .75rem;
	padding: .7rem .85rem;
	border-top: 1px solid #e6e8ec;
	border-bottom: 1px solid #e6e8ec;
	background: #fff;
	color: #02225a;
}

.tax-product_cat.woocommerce .pan-category-experience__toolbar-count,
.tax-product_cat.woocommerce .pan-category-experience__toolbar-order > span {
	font-family: "Metropolis-Bold", sans-serif;
	font-size: .78rem;
}

.tax-product_cat.woocommerce .pan-category-experience__toolbar-order {
	display: flex;
	align-items: center;
	gap: .55rem;
}

.tax-product_cat.woocommerce .pan-category-experience__toolbar-order .woocommerce-ordering {
	margin: 0;
	padding: 0 !important;
}

.tax-product_cat.woocommerce .pan-category-experience__toolbar-order select {
	min-height: 38px;
	padding: .45rem 2rem .45rem .7rem;
	border: 1px solid #b9c0cc;
	border-radius: 6px;
	background: #fff;
	color: #02225a;
	font-family: "Metropolis-Bold", sans-serif;
	font-size: .78rem;
}

/* Use a stable card grid on mobile instead of the theme's positional offsets. */
.tax-product_cat.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
}

.tax-product_cat.woocommerce ul.products::before,
.tax-product_cat.woocommerce ul.products::after {
	display: none;
}

.tax-product_cat.woocommerce ul.products li.product {
	display: flex;
	flex-direction: column;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 0 .75rem;
	border: 1px solid #e6e8ec;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	text-align: left;
}

.tax-product_cat.woocommerce ul.products li.product a {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	margin: 0 !important;
	color: inherit;
}

.tax-product_cat.woocommerce ul.products li.product img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	margin: 0 !important;
	padding: 12px !important;
	background: #f3f2e9;
	object-fit: contain;
}

.tax-product_cat.woocommerce ul.products li.product a .woocommerce-loop-product__title {
	min-height: 2.65em;
	margin: .7rem .75rem .25rem;
	padding: 0;
	position: static;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-family: "Metropolis-Bold", sans-serif;
	font-size: .82rem;
	line-height: 1.3;
}

.tax-product_cat.woocommerce ul.products li.product a .price {
	position: static;
	order: 3;
	margin: .15rem .75rem 0;
	color: #02225a !important;
	font-size: 1.05rem !important;
	line-height: 1.2;
	text-align: left;
}

.tax-product_cat.woocommerce ul.products li.product a .price del,
.tax-product_cat.woocommerce ul.products li.product a .price ins {
	font-size: inherit !important;
}

.tax-product_cat.woocommerce ul.products li.product .button {
	position: static;
	display: grid !important;
	grid-template-columns: 18px minmax(0, 1fr) 14px;
	align-items: center;
	align-self: stretch;
	gap: .25rem;
	width: auto !important;
	height: 42px;
	min-height: 42px;
	margin: .55rem .65rem 0 !important;
	padding: .5rem .65rem !important;
	border-radius: 8px;
	background: #02225a;
	font-family: "Metropolis-Bold", sans-serif;
	font-size: .76rem;
	line-height: 1.1;
	transform: none;
}

.tax-product_cat.woocommerce ul.products li.product .button .xoo-wsc-bki {
	justify-self: start;
	font-size: .94rem;
}

.tax-product_cat.woocommerce ul.products li.product .pan-category-add-label {
	min-width: 0;
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tax-product_cat.woocommerce ul.products li.product .pan-category-add-plus {
	justify-self: end;
	font-size: 1rem;
	line-height: 1;
}

@media (min-width: 768px) {
	.tax-product_cat.woocommerce .pan-category-experience__hero {
		min-height: 150px;
	}

	.tax-product_cat.woocommerce ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 18px;
	}
}

@media (min-width: 992px) {
	.tax-product_cat.woocommerce .pan-category-experience {
		margin-bottom: .85rem;
	}

	.tax-product_cat.woocommerce .pan-category-experience__hero {
		width: 100vw;
		width: 100dvw;
		min-height: clamp(220px, 13vw, 250px);
		max-height: none;
		margin-left: calc(50% - 50vw);
		margin-left: calc(50% - 50dvw);
	}

	.tax-product_cat.woocommerce .pan-category-experience__hero::after {
		content: "";
		position: absolute;
		z-index: 1;
		inset: 0;
		background: linear-gradient(90deg, rgba(2,34,90,.28) 0, rgba(2,34,90,.1) 46%, rgba(2,34,90,0) 72%);
		pointer-events: none;
	}

	.tax-product_cat.woocommerce .pan-category-experience__hero img {
		opacity: .86;
		object-position: center;
	}

	.tax-product_cat.woocommerce .pan-category-experience__hero-content {
		z-index: 2;
		width: calc(100% - 48px);
		max-width: 1320px;
		margin: 0 auto;
		padding: 1.8rem 12px;
	}

	.tax-product_cat.woocommerce .pan-category-experience__eyebrow {
		margin-bottom: .4rem;
		font-size: .72rem;
	}

	.tax-product_cat.woocommerce .pan-category-experience h1 {
		max-width: 790px;
		font-size: clamp(2.45rem, 3.15vw, 3.55rem);
		line-height: 1.02;
		letter-spacing: -.025em;
	}

	.tax-product_cat.woocommerce .pan-category-experience__intro {
		padding-top: .8rem;
		padding-bottom: .15rem;
	}

	.tax-product_cat.woocommerce .pan-category-experience__summary {
		max-width: 850px;
	}

	.tax-product_cat.woocommerce .pan-category-experience__chips {
		margin-top: .2rem;
		margin-bottom: .35rem;
	}

	.tax-product_cat.woocommerce .pan-category-experience__toolbar {
		margin-top: .2rem;
		margin-bottom: .65rem;
		padding: .6rem .75rem;
	}

	.tax-product_cat.woocommerce ul.products li.product {
		border-radius: 16px;
		box-shadow: 0 8px 22px rgba(2,34,90,.045);
		transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	}

	.tax-product_cat.woocommerce ul.products li.product:hover {
		transform: translateY(-3px);
		border-color: rgba(2,34,90,.18);
		box-shadow: 0 16px 34px rgba(2,34,90,.11);
	}

	.tax-product_cat.woocommerce ul.products li.product .button {
		border-radius: 10px;
	}
}

@media (max-width: 760px) {
	.tax-product_cat.woocommerce .pan-category-experience {
		margin-bottom: .4rem;
	}

	.tax-product_cat.woocommerce .pan-category-experience__hero {
		width: calc(100% + 24px);
		max-width: none;
		min-height: 120px;
		margin-right: -12px;
		margin-left: -12px;
	}

	.tax-product_cat.woocommerce .pan-category-experience__hero-content {
		padding: 1rem;
	}

	.tax-product_cat.woocommerce .pan-category-experience__intro {
		padding-top: .7rem;
	}

	.tax-product_cat.woocommerce .pan-category-experience__summary {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.tax-product_cat.woocommerce .pan-category-experience__chips {
		margin-top: .45rem;
		margin-bottom: .3rem;
	}

	.tax-product_cat.woocommerce .pan-category-experience__chips-scroll {
		width: 100%;
	}

	.tax-product_cat.woocommerce .pan-category-experience__toolbar {
		position: sticky;
		top: 64px;
		z-index: 5;
		width: calc(100% - 24px) !important;
		max-width: calc(100% - 24px) !important;
		margin: 0 12px .75rem !important;
		padding: .55rem .65rem;
		border: 1px solid #e0e4eb;
		border-radius: 10px;
		box-shadow: 0 4px 14px rgba(2, 34, 90, .05);
	}

	.tax-product_cat.woocommerce .pan-category-experience__toolbar-order > span {
		display: none;
	}

	.tax-product_cat.woocommerce .pan-category-experience__toolbar-order select {
		width: clamp(170px, 50vw, 205px);
		max-width: 205px;
	}

	.tax-product_cat.woocommerce ul.products {
		width: calc(100% - 24px) !important;
		max-width: calc(100% - 24px) !important;
		margin: 0 12px !important;
	}

	.tax-product_cat.woocommerce ul.products li.product {
		padding-bottom: .6rem;
		border-radius: 10px;
	}

	.tax-product_cat.woocommerce ul.products li.product a .woocommerce-loop-product__title {
		margin: .65rem .65rem .2rem;
	}

	.tax-product_cat.woocommerce ul.products li.product a .price {
		margin-right: .65rem;
		margin-left: .65rem;
	}
}

@media (max-width: 575px) {
	.tax-product_cat.woocommerce .pan-category-experience__intro {
		display: block;
	}

	.tax-product_cat.woocommerce .pan-category-experience__details-link {
		display: inline-block;
		margin-top: .55rem;
	}

}
