/* Keep WooCommerce's native remove button, with its target covering the coupon. */
body .wc-block-components-totals-discount .wc-block-components-totals-discount__coupon-list-item {
	position: relative;
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 44px;
	max-width: 100%;
	padding: 10px 38px 10px 14px;
	border: 0;
	border-radius: 6px;
	background: #005663;
	color: #fff;
	font-size: 14px;
	font-weight: 650;
	line-height: 24px;
}

body .wc-block-components-totals-discount__coupon-list-item .wc-block-components-chip__text {
	margin: 0;
	color: #fff;
	overflow-wrap: anywhere;
	pointer-events: none;
}

body .wc-block-components-totals-discount__coupon-list-item .wc-block-components-chip__remove {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 0 !important;
	border-radius: inherit;
	background: transparent !important;
	color: #fff !important;
	box-shadow: none;
	cursor: pointer;
}

body .wc-block-components-totals-discount__coupon-list-item .wc-block-components-chip__remove svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

body .wc-block-components-totals-discount__coupon-list-item:has(.wc-block-components-chip__remove:hover) {
	background: #003f49;
}

body .wc-block-components-totals-discount__coupon-list-item .wc-block-components-chip__remove:focus-visible {
	outline: 3px solid #167f99 !important;
	outline-offset: 3px !important;
}

body .wc-block-components-totals-discount__coupon-list-item:has(.wc-block-components-chip__remove:disabled) {
	opacity: 0.6;
}

body .wc-block-components-totals-discount__coupon-list-item .wc-block-components-chip__remove:disabled {
	cursor: wait;
}

body dialog.axo-coupon-confirm {
	box-sizing: border-box;
	width: min(420px, calc(100% - 32px));
	max-width: none;
	padding: 24px;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: #111820;
	box-shadow: 0 12px 48px #11182040;
}

.axo-coupon-confirm::backdrop { background: #11182080; }
body .axo-coupon-confirm h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; }
body .axo-coupon-confirm p { margin: 0 0 24px; font-size: 16px; line-height: 1.5; }
.axo-coupon-confirm__actions { display: flex; gap: 12px; flex-wrap: wrap; }

body .axo-coupon-confirm__actions button {
	flex: 1 1 140px;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid #005663 !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: #005663 !important;
	font: inherit;
	font-weight: 650;
	line-height: 1.4;
	box-shadow: none;
	cursor: pointer;
}

body .axo-coupon-confirm__actions .axo-coupon-confirm__remove { background: #005663 !important; color: #fff !important; }
body .axo-coupon-confirm__actions button:focus-visible { outline: 3px solid #167f99 !important; outline-offset: 3px !important; }
