/* Category banner
   -------------------------------------------------------------------------- */
.xg-cat-banner {
   position: relative;
   overflow: hidden;
   border-radius: 16px 16px 0 0;
}

.xg-cat-banner__bg {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: contain;
   z-index: -1;
}

.xg-cat-banner::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(100deg, rgba(0, 103, 117, 0.9) 0%, rgba(67, 169, 119, 0.85) 100%);
}

.xg-cat-banner__inner {
	position: relative;
	padding: 93px 59px 66px 59px;
}

.xg-cat-banner__title {
	font-weight: 900;
	font-size: 56px;
	line-height: 60px;
	letter-spacing: -5%;
	margin-bottom: 3px;
	color: #fff;
}

.xg-cat-banner__text {
	max-width: 900px;
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	color: #fff;
}

.xg-cat-banner__text p {
	margin: 0 0 8px;
}

.xg-cat-banner__text p:last-child {
	margin-bottom: 0;
}

/* Category nav tabs
   -------------------------------------------------------------------------- */
.xg-cat-nav {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
	background: #ECFAFD;
}

.xg-cat-nav__item {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	text-decoration: none;
	transition: background-color 0.15s ease;
	border-left: 1px solid #FFF;
}

.xg-cat-nav__item:first-of-type {
	border: none;
}

.xg-cat-nav__item.is-current {
	background: #fff;
}

.xg-cat-nav__img {
	flex: 0 0 auto;
	width: 36px;
	height: 52px;
	object-fit: contain;
}

.xg-cat-nav__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.xg-cat-nav__name {
	font-size: 16px;
	font-weight: 700;
	color: #006775;
}

.xg-cat-nav__item.is-current .xg-cat-nav__name {
	color: #262626;
}

.xg-cat-nav__sub {
	font-size: 13px;
	color: #006775;
}

.xg-cat-nav__item.is-current .xg-cat-nav__sub {
	color: #737373;
}

.cat-img-wrapper {
	width: 40px;
	aspect-ratio: 1;
}

.cat-img-wrapper img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

/* Archive layout: filters + main
   -------------------------------------------------------------------------- */
.xg-archive {
	--xg-archive-gap: 32px;
	display: flex;
	align-items: flex-start;
	gap: var(--xg-archive-gap);
}

.xg-archive__filters {
	flex: 0 0 280px;
}

.xg-archive__main {
	flex: 1;
	min-width: 0;
}

.xg-archive__filters-placeholder {
	margin: 0;
	padding: 16px;
	border: 1px dashed #D4D4D4;
	font-size: 13px;
	color: #8A8A8A;
}

/* Active filters bar
   -------------------------------------------------------------------------- */
.xg-active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 41px;
}

.xg-active-filters__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #737373;
}

.xg-active-filters__chips {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
}

.xg-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 12px;
	background: #DEF0ED;
	font-size: 14px;
	font-weight: 600;
	color: #307D57;
	text-decoration: none;
	border-radius: 16px;
}

.xg-filter-chip::after {
	content: '×';
	font-size: 15px;
	line-height: 1;
}

.xg-active-filters__clear {
	font-size: 14px;
	font-weight: 600;
	color: #044E59;
	text-decoration: none;
}

.woocommerce-result-count {
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	color: #737373;
	margin-bottom: 32px;
}

.xg-filter-group__item.is-disabled {
	opacity: 0.4;
	pointer-events: none;
}

.xg-filter-group__item.is-disabled .xg-filter-group__link {
	cursor: default;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	text-decoration: none;
}

/* Product grid & cards
   -------------------------------------------------------------------------- */
.xg-archive__main ul.products {
	--xg-grid-gap: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: var(--xg-grid-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.xg-archive__main ul.products li.xg-card {
	flex: 0 0 calc((100% - 3 * var(--xg-grid-gap)) / 4);
	position: relative;
	margin: 0;
	display: flex;
	flex-direction: column;
}

.xg-card__inner {
	border-radius: 12px;
	border: 1px solid #E0E0E0;
	height: 100%;
	overflow: hidden;
	background-color: #fff;
	position: relative;
}

.xg-card__image {
	display: block;
	flex: 1;
	aspect-ratio: 1;
	padding: 30px;
}

.xg-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.product-info-wrapper {
	padding: 6px 16px 14px 16px;
}

.xg-card__sku {
	font-weight: 400;
	font-size: 9px;
	line-height: 12px;
	color: #737373;
	margin-bottom: 12px;
}

.xg-card__title {
	font-weight: 600;
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 12px;
	color: #000000;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.xg-card__sub {
	font-weight: 400;
	font-size: 12px;
	line-height: 18px;
	color: #737373;
}

.xg-card__cta {
	background: #43A977;
	box-shadow: 0px 1px 2px 0px #0000000D;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	color: #fff;
	display: none;
	gap: 8px;
	justify-content: center;
	align-items: center;
	border-radius: 50px;
	padding: 10px;
	justify-content: center;
	margin-top: 12px;
	margin-bottom: 16px;
}

.xg-card__header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	align-items: center;
	padding: 15px 16px 0 16px;
	background-color: transparent;
}

.xg-card__add {
	margin-left: auto;
}

.page-numbers {
	display: flex;
	gap: 8px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.xg-card__badge {
	padding: 4px;
	border: 1px solid #008294;
	border-radius: 6px;
	background: #ECFAFD;
	font-weight: 700;
	font-size: 9px;
	line-height: 12px;
	color: #008294;
	z-index: 2;
}

/* Sidebar: search + context
   -------------------------------------------------------------------------- */
.xg-filters__search .aws-container .aws-search-form .aws-search-field {
	padding-left: 42px;
	border: 1px solid #D4D4D4;
	border-radius: 8px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z' stroke='%23737373' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 14px center;
	font-size: 16x;
	color: #737373;
}
   
.xg-filters__search .aws-container .aws-search-form .aws-search-field::placeholder {
	color: #737373;
}

/* Hide AWS's own submit button / loader icon if present */
.xg-filters__search .aws-container .aws-search-form .aws-search-btn {
	display: none;
}

.xg-filters__search .aws-container .aws-search-form .aws-form-btn {
	display: none;
}

.xg-filters__context {
	margin: 10px 0 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #ECECEC;
	font-size: 13px;
	color: #8A8A8A;
}

/* Sidebar filter groups (generic)
   -------------------------------------------------------------------------- */
.xg-filter-group {
	margin-bottom: 24px;
	padding-bottom: 8px;
	border-bottom: 1px solid #ECECEC;
}

.group-compatibility .xg-filter-group__list {
	max-height: 300px;
	overflow-y: auto;
}

.xg-filter-group__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0 0 17px;
	padding: 0;
	border: none;
	background: none;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #044E59;
	cursor: pointer;
	text-align: left;
}

.xg-filter-group__title::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid #737373;
	border-bottom: 2px solid #737373;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.xg-filter-group__title[aria-expanded="false"]::after {
	transform: rotate(-45deg);
}

.xg-filter-group__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.xg-filter-group__title[aria-expanded="false"] + .xg-filter-group__list {
	display: none;
}

.xg-filter-group__item a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	text-decoration: none;
}

.xg-filter-group__box {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border: 1px solid #D4D4D4;
	border-radius: 4px;
	background: #fff;
}

.xg-filter-group__name {
	flex: 1;
	font-size: 14px;
	color: #1E1E1E;
}

.xg-filter-group__count {
	font-size: 14px;
	color: #6E6E6E;
}

.xg-filter-group__item.is-current .xg-filter-group__box {
	border-color: #43A977;
	background: #E8F6EE;
	position: relative;
}

.xg-filter-group__item.is-current .xg-filter-group__box::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #43A977;
	border-bottom: 2px solid #43A977;
	transform: rotate(45deg);
}

.xg-filter-group__item.is-current .xg-filter-group__name {
	font-weight: 700;
	color: #006775;
}

.xg-archive__main .woocommerce-info {
	margin: 0;
	padding: 24px;
	border: 1px dashed #D4D4D4;
	background: none;
	font-size: 15px;
	color: #6E6E6E;
}



.xg-catalog-disclaimer {
	margin: 32px 0;
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	text-align: center;
	color: #737373;
}

/* Shop page header
   -------------------------------------------------------------------------- */
.xg-shop-header {
	margin: 29px 0;
	text-align: center;
}

.xg-shop-header__title {
	margin: 0 auto 24px auto;
	font-size: 56px;
	font-weight: 900;
	color: #006675;
	max-width: 700px;
}

.xg-shop-header__title span {
	color: #43A977;
}

.xg-shop-header__text {
	max-width: 700px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 160%;
	color: #006675;
}

.xg-shop-header__text a {
	font-weight: 700;
	text-decoration: underline;
}

/* Shop landing: category cards
   -------------------------------------------------------------------------- */
.woocommerce-shop .content-area {
	background: url('../img/shop_bg.png') no-repeat top center / contain;
}

.solutions-list {
	display: flex;
	padding-top: 100px;
	gap: 37px;
	flex-wrap: wrap;
	margin-top: 40px;
	margin-bottom: 40px;
}
.xg-shop-content {
	font-weight: 400;
	font-size: 16px;
	line-height: 160%;
	letter-spacing: 0%;
	text-align: center;
	margin-bottom: 16px;
	color: #006675;
}
.xg-shop-content a {
	font-weight: 900;
	text-decoration: underline;
}
.solutions-list .block-wrapper {
	background: #ffffff80;
	padding: 0 75px 83px 75px;
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px dashed;
	border-radius: 10px;
	width: 100%;
	min-width: 14%;
	position: relative;
	flex: 0 0 calc(33.3333% - 25px);
}
.solutions-list .block-wrapper img {
	height: 90px;
	transform: scale(2);
	transform-origin: bottom center;
	margin-bottom: 29px;
}
.solutions-list .block-title {
	font-weight: 900;
	font-size: 72.93px;
	line-height: 77.48px;
	letter-spacing: -5%;
	text-align: center;
	color: #006675;
	margin-bottom: 12px;
}
.solutions-list .block-subtitle {
	font-weight: 300;
	font-size: 14.59px;
	line-height: 17.32px;
	letter-spacing: 0%;
	letter-spacing: 0%;
	text-align: center;
}
.solutions-list .a-btn {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -23px;
	width: fit-content;
	padding: 11px 30px;
	font-weight: 600;
	font-size: 14.59px;
	line-height: 20.05px;
	letter-spacing: 0%;
}
.solutions-list .block-title span {
	color: #00AC73;
}
.xg-shop-cats {
	--xg-shopcats-gap: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: var(--xg-shopcats-gap);
	margin: 0 0 32px;
}

.xg-shop-cats__card {
	flex: 0 0 calc((100% - 2 * var(--xg-shopcats-gap)) / 3);
	display: flex;
	align-items: center;
	padding: 20px;
	border: 1px solid #B3E7C9;
	border-radius: 16px;
	gap: 20px;
	background: #FAFAFA;
	text-decoration: none;
	text-align: center;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.xg-shop-cats__title {
	font-weight: 900;
	font-size: 20px;
	line-height: 26px;
	letter-spacing: 0%;
	color: #006775;
	width: 100%;
	text-align: left;
	white-space: normal;
}

.xg-shop-cats__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	margin-bottom: 24px;
	border: 1px solid #D4D4D4;
	box-shadow: 0px 1px 2px 0px #0000000D;
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	color: #404040;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cat-thumb-wrapper {
	aspect-ratio: 1;
	width: 96px;
	border-radius: 12px;
	overflow: hidden;
}
.cat-thumb-wrapper img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}


/* Shop landing: logos strip
   -------------------------------------------------------------------------- */
.xg-shop-logos {
	padding: 100px 0;
	border-top: 1px solid #C1E1DC;
}

.xg-shop-logos-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	max-width: 1100px;
	margin: 0 auto;
}

.xg-shop-logos__item {
	max-height: 90px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
}

.xg-card__add:not(.is-in-list) .checked, .xg-card__add.is-in-list .default {
	display: none;
}

/* Product pagination
   -------------------------------------------------------------------------- */
.woocommerce-pagination {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #ECECEC;
}

.woocommerce-pagination ul.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	border: none;
}

.woocommerce-pagination ul.page-numbers li {
	margin: 0;
	border: none;
}

.woocommerce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border-radius: 8px;
	font-size: 15px;
	color: #6E6E6E;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.woocommerce-pagination .page-numbers.current {
	background: #E8F6EE;
	color: #43A977;
	font-weight: 700;
}

.woocommerce-pagination .page-numbers.dots {
	min-width: 24px;
	color: #B0B0B0;
}

/* Prev / next pinned to the edges */
.woocommerce-pagination li:has(.prev),
.woocommerce-pagination li:has(.next) {
	position: absolute;
}

.woocommerce-pagination li:has(.prev) {
	left: 0;
}

.woocommerce-pagination li:has(.next) {
	right: 0;
}

.woocommerce-pagination .prev,
.woocommerce-pagination .next {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 40px;
	padding: 0 18px;
	border: 1px solid #D4D4D4;
	border-radius: 999px;
	background: #fff;
	font-size: 15px;
	font-weight: 600;
	color: #1E1E1E;
}

/* Mobile filters toggle
   -------------------------------------------------------------------------- */
.xg-filters-toggle {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	margin-bottom: 20px;
	border: 1px solid #D4D4D4;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	font-size: 14px;
	font-weight: 600;
	color: #404040;
	cursor: pointer;
}

.xg-filters-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.xg-filters__head {
	display: none;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.xg-filters__title {
	font-size: 18px;
	font-weight: 700;
	color: #1E1E1E;
}

.xg-filters__close {
	border: none;
	background: none;
	font-size: 28px;
	line-height: 1;
	color: #1E1E1E;
	cursor: pointer;
}


@media (hover: hover) and (pointer: fine) {
	.woocommerce-pagination a.page-numbers:not(.prev):not(.next):hover {
		background: #F5F5F5;
		color: #1E1E1E;
	}

	.woocommerce-pagination .prev:hover,
	.woocommerce-pagination .next:hover {
		border-color: #43A977;
	}
	.xg-shop-cats__card:hover {
		border-color: #54CE92;
		box-shadow: inset 0 0 0 1px #54CE92;
		background: #EFFAF3;
	}

	.xg-shop-cats__card:hover .xg-shop-cats__btn {
		background: #43A977;
		border-color: #43A977;
		color: #fff;
		box-shadow: 0px 1px 2px 0px #0000000D;
	}

	.xg-archive__main ul.page-numbers a.page-numbers:hover {
		border-color: #43A977;
		color: #006775;
	}
	
	.xg-filter-group__item a:hover .xg-filter-group__name {
		color: #006775;
	}
	
	.xg-card:hover .xg-card__inner,
	.xg-card:focus-within .xg-card__inner {
		
	}
	
	.xg-card:hover .xg-card__inner .xg-card__cta {
		display: flex;
	}
	
	.xg-card__add:hover {
		color: #43A977;
	}

	.xg-card:hover {
		z-index: 5;
	}

	.xg-card:hover .xg-card__inner {
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
		border: 1px solid #43A977
	}

	.xg-card:hover .xg-card__cta {
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	}

	.xg-card__add:hover {
		color: #43A977;
	}
	.xg-cat-nav__item:hover {
		background: rgba(255, 255, 255, 0.6);
	}

}



@media (max-width: 991px) {
	.xg-archive__main ul.products {
		--xg-grid-gap: 12px;
	}
	.xg-filters-toggle,
	.xg-filters__head {
		display: flex;
	}
	
	.woocommerce-result-count, .xg-active-filters {
		margin-bottom: 16px;
	}
	
	.xg-archive {
		--xg-archive-gap: 0;
	}
	
	.xg-archive__filters {
		position: fixed;
		inset: 0;
		z-index: 9000;
		overflow-y: auto;
		padding: 20px;
		background: #fff;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
	}
	
	.xg-archive__filters.is-active {
		transform: none;
	}
	
	body.xg-filters-open {
		overflow: hidden;
	}
	
	.xg-cat-nav {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		background-color: #fff;
		gap: 22px;
		border-bottom: 2px solid #E5E5E5;
	}
	
	.xg-cat-nav::-webkit-scrollbar {
		display: none;
	}
	
	.xg-cat-nav__item {
		flex: 0 0 auto;
		scroll-snap-align: center;
	}
	.xg-cat-nav__name {
		white-space: nowrap;
	}
	.xg-cat-nav__item.is-current {
		border-bottom: 2px solid #006775;
	}
	.xg-cat-nav__item.is-current .xg-cat-nav__name {
		color: #006775;
	}
	.xg-cat-nav__name {
		color: #737373;
	}
	.xg-cat-nav__item {
		padding: 12px 20px 12px 0;
	}
	.xg-cat-nav__sub {
		display: none;
	}
	.woocommerce-pagination ul.page-numbers {
		flex-wrap: wrap;
		gap: 6px;
	}
	
	.woocommerce-pagination li:has(.prev),
	.woocommerce-pagination li:has(.next) {
		position: static;
	}
	
	.woocommerce-pagination li:has(.next) {
		margin-left: auto;
	}
	.xg-shop-logos {
		justify-content: center;
		gap: 24px 40px;
		padding: 24px 0;
	}
	.xg-shop-logos__item {
		max-height: 64px;
	}
	.xg-shop-cats__card {
		flex: 0 0 100%;
	}
	
	.xg-archive__main ul.products li.xg-card {
		flex: 0 0 calc((100% - var(--xg-grid-gap)) / 2);
	}
	.xg-archive {
		flex-direction: column;
	}
	.xg-archive__filters {
		flex: none;
		width: 100%;
	}
	.xg-cat-banner__inner {
		padding: 40px 24px;
	}
	.xg-cat-banner__title {
		font-size: 30px;
	}
	.solutions-list .block-wrapper {
		flex: 0 0 100%;
	}
	
	.solutions-list {
		gap: 145px;
	}
	.solutions-list .a-btn {
		white-space: nowrap;
	}
	.solutions-list .block-wrapper {
		padding: 0 41px 70px 41px;
	}
}