/**
 * WC Buy Now Button – Stylesheet v1.2.0
 * Author: maswebsite.id
 */

/* ── Force height sama persis dengan Add to Cart ─────────────── */
/* Add to Cart dapat 55px dari:
   .entry-summary-items > .ct-product-add-to-cart > .cart { --theme-button-min-height: 55px }
   Kita bypass semua inheritance dan set langsung */

.buy-now-button {
	min-height: 55px !important;
	height: 55px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
	flex-basis: 100% !important;
	flex-shrink: 0 !important;
	margin-top: 0.75em;
	cursor: pointer;
	opacity: 1;
	transition: opacity 0.2s ease, filter 0.2s ease;
}

/* ── State: belum pilih variasi ──────────────────────────────── */
.buy-now-button.wc-buy-now--unselected,
.buy-now-button:disabled:not(.loading) {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

/* ── State: loading ──────────────────────────────────────────── */
.buy-now-button.loading {
	opacity: 0.65;
	cursor: wait;
	pointer-events: none;
}
