/**
 * WC Order Gate — sepet sayfası.
 * Aura Kinetic belirteçlerini kullanır; başka temada yedek değerlere düşer.
 */
.wcog-referral {
	margin: 0 0 1rem;
	padding: var(--ak-wc-panel-pad, 1.25rem);
	border: 1px solid var(--ak-border, rgba(127, 127, 127, 0.3));
	border-radius: var(--ak-radius-l, 16px);
	background: var(--ak-bg-surface, transparent);
	-webkit-backdrop-filter: blur(var(--ak-blur, 0));
	backdrop-filter: blur(var(--ak-blur, 0));
}

.wcog-referral.is-applied {
	border-color: color-mix(in srgb, var(--ak-accent-2, #2e7d32) 55%, transparent);
}

.wcog-referral__title {
	margin: 0 0 0.5rem;
	font-size: var(--ak-fs-500, 1.15rem);
}

.wcog-referral__lead {
	margin: 0 0 0.75rem;
	color: var(--ak-text-muted, inherit);
	font-size: var(--ak-fs-300, 0.95rem);
}

.wcog-referral__form {
	margin: 0;
}

.wcog-referral__row {
	display: flex;
	gap: 0.5rem;
}

.wcog-referral__row .input-text {
	flex: 1 1 auto;
	min-width: 0;
	text-transform: uppercase;
}

.wcog-referral__row .input-text::placeholder {
	text-transform: none;
}

.wcog-referral__row .button {
	flex: 0 0 auto;
}

.wcog-referral__applied {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
}

.wcog-referral__badge {
	display: inline-grid;
	place-items: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--ak-accent-2, #2e7d32) 22%, transparent);
	color: var(--ak-accent-2, #2e7d32);
	font-weight: 800;
}

/* Ödemeye geç engeli (.cart_totals içinde) */
.wcog-blocked {
	margin-top: 1rem;
}

.wcog-blocked__title {
	margin: 0 0 0.5rem;
	font-weight: 700;
}

.wcog-blocked__list {
	display: grid;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.wcog-blocked__item {
	padding: 0.7rem 0.9rem;
	border: 1px solid color-mix(in srgb, var(--ak-accent-1, #c62828) 45%, transparent);
	border-radius: var(--ak-radius-m, 12px);
	background: color-mix(in srgb, var(--ak-accent-1, #c62828) 10%, transparent);
	font-size: var(--ak-fs-300, 0.95rem);
	line-height: 1.5;
}

.woocommerce .cart_totals .wcog-blocked__button,
.wcog-blocked__button {
	display: flex;
	justify-content: center;
	width: 100%;
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
	filter: grayscale(0.4);
}
