.xg-drawer {
	position: fixed;
	inset: 0;
	z-index: 9999;
	visibility: hidden;
}
.xg-drawer[aria-hidden="false"] {
	visibility: visible;
}
.xg-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 60, 66, 0.55);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.xg-drawer[aria-hidden="false"] .xg-drawer__overlay {
	opacity: 1;
}
.xg-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 600px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	transform: translateX(100%);
	transition: transform 0.25s ease;
	box-shadow: -8px 0px 30px 0px #00000033;

}
.xg-drawer[aria-hidden="false"] .xg-drawer__panel {
	transform: none;
}
body.xg-drawer-open {
	overflow: hidden;
}

.xg-drawer__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 24px;
	border-bottom: 1px solid #EDEFF2;
}
.xg-drawer__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #006775;
}
.xg-drawer__csv {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid #D4D4D4;
	box-shadow: 0px 1px 2px 0px #0000000D;
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 700;
	color: #404040;
	cursor: pointer;
	margin-right: auto;
}
.xg-drawer__close {
	border: none;
	background: none;
	font-size: 26px;
	line-height: 1;
	color: #171717;
	cursor: pointer;
}

.xg-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 8px 24px;
}
.xg-drawer__body:has(.xg-drawer__empty:not([hidden])){
	display: flex;
	align-items: center;
}
.xg-drawer__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 24px;
}
.xg-drawer__empty-icon {
	margin-bottom: 12px;
}
.xg-drawer__empty-title {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 800;
	color: #006775;
}
.xg-drawer__empty-text {
	margin: 0;
	max-width: 400px;
	font-size: 14px;
	line-height: 1.6;
	color: #6e6e6e;
}

.xg-drawer__items {
	margin: 0;
	padding: 0;
	list-style: none;
}
.xg-drawer__row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid #EDEFF2;
}
.xg-drawer__row-img img {
	width: 44px;
	height: 60px;
	object-fit: contain;
}
.xg-drawer__row-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.xg-drawer__row-sku {
	font-size: 14px;
	font-weight: 500;
	color: #43A977 !important;
	text-decoration: none;
	margin-bottom: 3px;
}
.xg-drawer__row-name {
	font-size: 14px;
	font-weight: 700;
	color: #404040;
	margin-bottom: 3px;
}
.xg-drawer__row-sub {
	font-size: 13px;
	color: #6e6e6e;
}

.xg-drawer__qty {
	display: inline-flex;
	border: 1px solid #D4D4D4;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0px 1px 2px 0px #0000000D;
}
.xg-drawer__qty button {
	width: 38px;
	height: 38px;
	border: none;
	background: #fff;
	font-size: 17px;
	color: #404040;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.xg-drawer__qty-val {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	border-left: 1px solid #d4d4d4;
	border-right: 1px solid #d4d4d4;
	font-size: 14px;
	color: #404040;
	font-weight: 700;
}

.xg-drawer__clear {
	display: block;
	margin: 16px 0 0 auto;
	border: none;
	background: none;
	font-size: 14px;
	font-weight: 600;
	color: #525252;
	cursor: pointer;
}

.xg-drawer__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	padding: 18px 24px;
	border-top: 1px solid #ececec;
}
.xg-drawer__count {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #8a8a8a;
}

.xg-drawer__save {
	flex: 1;
	justify-content: center;
	cursor: pointer;
}
.xg-drawer__tooltip {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	padding: 7px 12px;
	border-radius: 6px;
	background: #004a54;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
}
.xg-drawer__tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: #004a54;
}
.bookmark-url {
	position: relative;
}
.bookmark-url.has-items:before {
	content: "";
	width: 10px;
	height: 10px;
	background-color: #22c55e;
	border: 2px solid #fff;
	position: absolute;
	top: -1px;
	left: -1px;
	border-radius: 999px;
}
.xg-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
}

.xg-modal[aria-hidden="false"] {
	visibility: visible;
}

.xg-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 60, 66, 0.55);
}

.xg-modal__box {
	position: relative;
	width: 544px;
	max-width: calc(100% - 32px);
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0px 8px 8px -4px #00000008, 0px 20px 24px -4px #00000014;
}

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

.xg-modal__title {
	margin: 0 0 18px;
	font-size: 24px;
	font-weight: 600;
	color: #171717;
}

.xg-modal__close {
	border: none;
	background: none;
	font-size: 26px;
	line-height: 1;
	color: #6E6E6E;
	cursor: pointer;
}

.xg-modal__close--abs {
	position: absolute;
	top: 20px;
	right: 24px;
}

.xg-modal__label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #404040;
}

.xg-modal__label span {
	color: #E0574B;
	font-weight: 400;
}

.xg-modal__input {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid #D4D4D4;
	border-radius: 10px;
	font-size: 15px;
	box-sizing: border-box;
	margin-bottom: 18px;
}

.xg-modal__input:focus {
	outline: none;
	border-color: #54CE92;
	box-shadow: 0 0 0 1px #54CE92;
}

.xg-modal__subhead {
	margin: 4px 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: #404040;
}

.xg-modal__error {
	margin: 0 0 14px;
	font-size: 13px;
	color: #E0574B;
}

.xg-modal__error a {
	color: #006775;
	font-weight: 700;
}

.xg-modal__actions {
	display: flex;
	gap: 14px;
	padding-top: 18px;
	border-top: 1px solid #ECECEC;
}

.xg-modal__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	box-sizing: border-box;
}

.xg-modal__btn--primary {
	flex: 1;
	border: 1px solid #43A977;
	background: #43A977;
	color: #fff;
}

.xg-modal__btn--ghost {
	flex: 1;
	border: 1px solid #D4D4D4;
	background: #fff;
	color: #404040;
}

.xg-modal__btn--wide {
	width: 100%;
}

.xg-modal__or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 14px 0;
	font-size: 12px;
	font-weight: 700;
	color: #8A8A8A;
}

.xg-modal__or::before,
.xg-modal__or::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #ECECEC;
}

.xg-modal__login {
	margin: 16px 0 0;
	text-align: center;
	font-size: 14px;
	color: #6E6E6E;
}

.xg-modal__login a {
	color: #43A977;
	font-weight: 700;
}

.xg-modal__state[data-xg-state="success"] {
	text-align: center;
	padding-top: 8px;
}

.xg-modal__success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #E8F6EE;
	margin-bottom: 16px;
}

.xg-modal__success-title {
	margin: 0 0 10px;
	font-size: 19px;
	font-weight: 800;
	color: #404040;
}

.xg-modal__success-text {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: #6E6E6E;
}

.xg-modal__success-text a {
	color: #006775;
	font-weight: 700;
	text-decoration: underline;
}

.xg-modal__rule {
	border: none;
	border-top: 1px solid #ECECEC;
	margin: 0 0 20px;
}

.xg-lists__heading {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 800;
	color: #404040;
}

.xg-lists__sub {
	margin: 0 0 20px;
	font-size: 14px;
	color: #8A8A8A;
	padding-bottom: 16px;
	border-bottom: 1px solid #ECECEC;
}

.xg-lists__item {
	border-bottom: 1px solid #ECECEC;
}

.xg-lists__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 0;
	flex-wrap: wrap;
}

.xg-lists__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #E8F6EE;
	flex: 0 0 auto;
}

.xg-lists__title-wrap {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.xg-lists__title {
	font-size: 16px;
	font-weight: 700;
	color: #404040;
}

.xg-lists__count {
	font-size: 13px;
	color: #8A8A8A;
}

.xg-lists__btn {
	padding: 10px 18px;
	border: 1px solid #D4D4D4;
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 700;
	color: #404040;
	cursor: pointer;
}

.xg-lists__remove {
	border: none;
	background: none;
	font-size: 14px;
	font-weight: 600;
	color: #404040;
	cursor: pointer;
}

.xg-lists__toggle {
	width: 30px;
	height: 30px;
	border: none;
	background: none;
	cursor: pointer;
	position: relative;
}

.xg-lists__toggle::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid #404040;
	border-bottom: 2px solid #404040;
	transform: translate(-50%, -70%) rotate(45deg);
	transition: transform 0.15s ease;
}

.xg-lists__toggle[aria-expanded="true"]::before {
	transform: translate(-50%, -30%) rotate(225deg);
}

.xg-lists__rows {
	margin: 0;
	padding: 0 0 8px;
	list-style: none;
}

.xg-lists__row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 0 14px 58px;
	border-top: 1px solid #F5F5F5;
}

.xg-lists__row-img {
	width: 40px;
	height: 56px;
	object-fit: contain;
	flex: 0 0 auto;
}

.xg-lists__row-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.xg-lists__row-name {
	font-size: 15px;
	font-weight: 700;
	color: #404040;
}

.xg-lists__row-sub {
	font-size: 13px;
	color: #8A8A8A;
}

.xg-lists__row-qty {
	font-size: 14px;
	font-weight: 700;
	color: #404040;
	white-space: nowrap;
}

.xg-lists__row-view {
	padding: 9px 16px;
	border: 1px solid #D4D4D4;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: #404040;
	text-decoration: none;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 8px;
}

.xg-lists__row-view::after {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	background: no-repeat center / contain 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='M15 10.8333V15.8333C15 16.2754 14.8244 16.6993 14.5118 17.0118C14.1993 17.3244 13.7754 17.5 13.3333 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V6.66667C2.5 6.22464 2.67559 5.80072 2.98816 5.48816C3.30072 5.17559 3.72464 5 4.16667 5H9.16667M17.5 7.5V2.5H12.5M17.5 2.5L8.33333 11.6667' stroke='%23404040' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.xg-modal__box--inquiry {
	width: 620px;
}

.xg-inquiry__lead {
	margin: 0 0 18px;
	font-size: 14px;
	color: #525252;
}

.xg-inquiry__lead strong {
	color: #008294;
}

.xg-inquiry__product {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 6px;
	background: #EFFAF3;
	border-radius: 10px;
	margin-bottom: 20px;
}

.xg-inquiry__product img {
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.xg-inquiry__product-name {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #171717;
	margin-bottom: 3px;
}

.xg-inquiry__product-ref {
	font-size: 13px;
	font-weight: 600;
	color: #737373;
}

.xg-inquiry__product-ref strong {
	color: #006A77;
}

.xg-inquiry__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
}

.xg-inquiry__grid > * {
	flex: 0 0 calc(50% - 8px);
}



.wpcf7 .xg-inquiry__field {
	margin: 0 0 14px;
}

.wpcf7 .xg-inquiry__field label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #404040;
}

.xg-req {
	color: #43A977;
	font-weight: 400;
}

.xg-inquiry__consent {
	margin: 4px 0 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #ECECEC;
	font-size: 13px;
	color: #404040;
}

.xg-inquiry__consent a {
	color: #006775;
	font-weight: 700;
}

.xg-inquiry__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.xg-inquiry__actions > * {
	flex: 0 0 calc(50% - 6px);
}

.xg-modal__box--inquiry select.wpcf7-form-control {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236E6E6E' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	color: #404040;
}

.xg-modal[aria-hidden="true"] {
	display: none;
}

.xg-requested__row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid #ECECEC;
	flex-wrap: wrap;
}

.xg-requested__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.xg-requested__date {
	font-size: 12px;
	color: #A0A0A0;
}

.xg-drawer__qty-val {
	width: 44px;
	padding: 0;
	min-width: 0;
	border: none;
	border-left: 1px solid #D4D4D4;
	border-right: 1px solid #D4D4D4;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	-moz-appearance: textfield;
	appearance: textfield;
	border-radius: 0;
	margin-top: 0;
}

.xg-drawer__qty-val::-webkit-outer-spin-button,
.xg-drawer__qty-val::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.xg-drawer__qty-val:focus {
	outline: none;
	background: #F5FBF7;
}


@media (hover: hover) and (pointer: fine) {
	.xg-lists__btn:hover,
	.xg-lists__row-view:hover {
		border-color: #43A977;
	}

	.xg-lists__remove:hover {
		color: #E0574B;
	}

	.xg-modal__btn--primary:hover {
		background: #389466;
		border-color: #389466;
	}

	.xg-modal__btn--ghost:hover {
		border-color: #43A977;
	}
}

@media (max-width: 991px) {
	.xg-drawer__foot > * {
		flex: 0 0 100%;
	}
	.xg-drawer__foot {
		gap: 16px;
	}
	.xg-lists__row-img {
		width: 48px;
		height: 48px;
		align-self: start;
	}
	.xg-lists__row-view {
		margin-left: auto;
	}
	.xg-lists__row-text, .xg-requested__text {
		flex: 0 0 calc(100% - 65px);
	}
	.xg-lists__icon {
		width: 40px;
		height: 40px;
	}
	.xg-lists__title-wrap {
		flex: 0 0 calc(100% - 55px);
	}
	.xg-lists__btn[data-xg-list-share] {
		font-size: 0;
	}
	.xg-lists__btn[data-xg-list-share]::before {
		content: "";
		display: inline-block;
		width: 20px;
		height: 20px;
		background: no-repeat center / contain 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='M3.33301 10.0001V16.6667C3.33301 17.1088 3.5086 17.5327 3.82116 17.8453C4.13372 18.1578 4.55765 18.3334 4.99967 18.3334H14.9997C15.4417 18.3334 15.8656 18.1578 16.1782 17.8453C16.4907 17.5327 16.6663 17.1088 16.6663 16.6667V10.0001M6.66634 5.00008L9.99967 1.66675L13.333 5.00008M9.99967 1.66675V12.5001' stroke='%23525252' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	}
	.xg-requested__row {
		flex-wrap: wrap;
	}
	
	.xg-lists__head {
		flex-wrap: wrap;
	}
	
	.xg-lists__row {
		padding-left: 0;
		flex-wrap: wrap;
	}
	.xg-drawer__panel {
		width: 100%;
	}
}
