/**
 * Luxora Wallet Buttons
 * 1) Product page wallet button (.lx-wp, added by wallet-buttons.js)
 * 2) Cart drawer express buttons (.xpay a.xp[data-xpay], markup from the theme's site.js)
 *
 * Selectors in part 2 are deliberately more specific than the theme's lx.css rules
 * (including [data-theme="nocturne"] .xpay .xp), so load order never matters.
 */

/* ---------- 1. Product page ---------- */
.lx-wp {
	margin-top: 10px;
}

.lx-wp-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 52px;
	padding: 0 24px;
	background: #000;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 0;
	font: 500 16px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Commissioner, Arial, sans-serif;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: border-color .2s, background-color .2s;
}

.lx-wp-btn:hover {
	background: #0a0a0a;
	border-color: rgba(255, 255, 255, .5);
}

.lx-wp-btn:focus-visible {
	outline: 2px solid #cdb27a;
	outline-offset: 2px;
}

.lx-wp-btn[aria-busy="true"] {
	opacity: .6;
	pointer-events: none;
}

.lx-wp-btn img {
	display: block;
	width: auto;
	height: 22px;
	max-width: none;
}

.lx-wp-btn--google img {
	height: 20px;
}

.lx-wp-note {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
	color: var(--mute, rgba(243, 237, 226, .6)); /* theme muted text: readable in light and dark mode */
}

/* ---------- 2. Cart drawer express buttons ---------- */
html .xpay {
	gap: 10px;
}

html .xpay a.xp[data-xpay] {
	height: 48px;
	background-color: #000;
	background-repeat: no-repeat;
	background-position: center;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 0;
	transition: border-color .2s, background-color .2s;
}

html .xpay a.xp[data-xpay]:hover {
	background-color: #0a0a0a;
	border-color: rgba(255, 255, 255, .55);
}

html .xpay a.xp[data-xpay]:focus-visible {
	outline: 2px solid #cdb27a;
	outline-offset: 2px;
}

/* The theme's small card badge is replaced by the full white mark below. */
html .xpay a.xp[data-xpay] > svg,
html .xpay a.xp[data-xpay] > img {
	display: none;
}

html .xpay a.xp[data-xpay="apple_pay"] {
	background-image: url("apple-pay.svg");
	background-size: auto 21px;
}

html .xpay a.xp[data-xpay="google_pay"] {
	background-image: url("google-pay.svg");
	background-size: auto 19px;
}
