/**
 * Llama Gift Cards — Storefront Styles
 */

.lgc-product-fields {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	margin: 0 0 20px;
}

.lgc-field-group {
	margin-bottom: 18px;
}

.lgc-field-label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: #111827;
	margin-bottom: 10px;
}

.lgc-amount-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lgc-amount-pill {
	appearance: none;
	background: #ffffff;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	color: #111827;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	padding: 10px 18px;
	transition: all 0.15s ease;
}

.lgc-amount-pill:hover {
	border-color: #4f46e5;
	color: #4f46e5;
}

.lgc-amount-pill.is-active {
	background: #4f46e5;
	border-color: #4f46e5;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.lgc-amount-pill.is-active .woocommerce-Price-amount {
	color: #ffffff;
}

.lgc-custom-amount-wrap {
	margin-top: 12px;
}

.lgc-sublabel {
	display: block;
	font-size: 13px;
	color: #4b5563;
	margin-bottom: 6px;
}

.lgc-recipient-fields {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lgc-field-row--two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 600px) {
	.lgc-field-row--two {
		grid-template-columns: 1fr;
	}
}

.lgc-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 4px;
}

.lgc-field label .required {
	color: #dc2626;
}

.lgc-field input.input-text,
.lgc-field textarea,
.lgc-custom-amount-input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	background: #ffffff;
}

.lgc-field-hint {
	display: block;
	font-size: 12px;
	color: #6b7280;
	margin-top: 4px;
}

.lgc-add-to-cart-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Cart & Checkout Redemption Box */
.lgc-redemption-box {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 16px 18px;
	margin: 16px 0;
}

.lgc-redemption-box__header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 15px;
	color: #111827;
}

.lgc-redemption-box__form {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.lgc-redemption-box__form .lgc-code-input {
	flex: 1 1 220px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 9px 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	text-transform: uppercase;
}

.lgc-wallet-quick-apply {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.lgc-wallet-quick-apply__label {
	font-size: 12px;
	color: #6b7280;
}

.lgc-wallet-chip {
	appearance: none;
	background: #eef2ff;
	border: 1px solid #c7d2fe;
	border-radius: 999px;
	color: #3730a3;
	cursor: pointer;
	font-size: 12px;
	padding: 4px 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.lgc-wallet-chip:hover {
	background: #e0e7ff;
}

.lgc-wallet-chip__action {
	font-weight: 700;
}

.lgc-redemption-feedback {
	margin-top: 8px;
	font-size: 13px;
}

.lgc-redemption-feedback.is-error {
	color: #dc2626;
}

.lgc-redemption-feedback.is-success {
	color: #059669;
}

.lgc-applied-pills {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lgc-applied-pill {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 999px;
	color: #065f46;
	font-size: 13px;
	font-weight: 500;
	padding: 4px 12px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.lgc-applied-pill .lgc-remove-card-btn {
	appearance: none;
	background: transparent;
	border: 0;
	color: #047857;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	padding: 0 2px;
}

.lgc-totals-row__remaining {
	display: block;
	font-weight: 400;
	color: #6b7280;
}

/* My Account Wallet */
.lgc-wallet-hero {
	background: linear-gradient(135deg, #4f46e5 0%, #1e1b4b 100%);
	border-radius: 14px;
	padding: 24px;
	color: #ffffff;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.lgc-wallet-hero__label {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.85;
}

.lgc-wallet-hero__amount {
	font-size: 32px;
	font-weight: 800;
	color: #ffffff;
}

.lgc-wallet-hero__amount .woocommerce-Price-amount {
	color: #ffffff;
}

.lgc-wallet-claim-form {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.lgc-wallet-claim-form input.input-text {
	border-radius: 8px;
	border: 0;
	padding: 10px 14px;
	min-width: 210px;
	text-transform: uppercase;
}

/* Status Badges */
.lgc-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.lgc-badge--active {
	background: #d1fae5;
	color: #065f46;
}

.lgc-badge--expired {
	background: #fef3c7;
	color: #92400e;
}

.lgc-badge--disabled {
	background: #fee2e2;
	color: #991b1b;
}

/* Balance Checker Shortcode */
.lgc-balance-checker {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	max-width: 520px;
	margin: 20px 0;
}

.lgc-balance-checker__form {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}

.lgc-balance-checker__form .lgc-balance-input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	text-transform: uppercase;
}

.lgc-balance-result {
	margin-top: 16px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 14px 16px;
}
