/**
 * TCW Gift Certificate — frontend styles.
 * Luxury Ayurveda / wellness aesthetic: warm ivory, sand, muted gold, soft
 * green, generous whitespace, elegant serif display + calm sans body.
 * Brand colours come from CSS custom properties injected inline.
 *
 * Buttons are pinned with !important where the active theme's global button
 * styles (dark fills on hover/focus) would otherwise bleed through.
 */

.tcwgc-wrap {
	--tcwgc-sand: #F2E9DA;
	--tcwgc-line: rgba(58, 54, 46, 0.12);
	--tcwgc-line-strong: rgba(58, 54, 46, 0.2);
	--tcwgc-muted: #6a6457;
	--tcwgc-soft: #9a9284;
	--tcwgc-radius: 24px;
	--tcwgc-radius-sm: 14px;
	--tcwgc-shadow: 0 24px 60px -30px rgba(47, 74, 58, 0.38);
	--tcwgc-serif: "Cormorant Garamond", Georgia, serif;

	box-sizing: border-box;
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(16px, 4vw, 40px) clamp(16px, 4vw, 40px);
	color: var(--tcwgc-ink, #3A362E);
	font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.tcwgc-wrap *,
.tcwgc-wrap *::before,
.tcwgc-wrap *::after { box-sizing: inherit; }
.tcwgc-wrap [hidden] { display: none !important; }

/* ---------- Hero ---------- */
.tcwgc-botanical {
	display: block;
	width: 118px;
	height: 40px;
	margin: 0 auto 10px;
	color: var(--tcwgc-gold, #C9A84C);
	opacity: 0.9;
}
.tcwgc-hero { text-align: center; margin-bottom: clamp(22px, 4vw, 34px); }
.tcwgc-eyebrow {
	margin: 0 0 8px;
	font-size: 0.74rem;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--tcwgc-green, #2F4A3A);
	font-weight: 500;
}
.tcwgc-title {
	font-family: var(--tcwgc-serif);
	font-weight: 600;
	font-size: clamp(2rem, 5.2vw, 3rem);
	line-height: 1.08;
	margin: 0 0 12px;
	color: var(--tcwgc-ink, #3A362E);
}
.tcwgc-subtitle {
	margin: 0 auto;
	max-width: 46ch;
	color: var(--tcwgc-muted);
	font-size: 1.02rem;
}

/* ---------- Progress stepper ---------- */
.tcwgc-steps {
	--tcwgc-progress: 0;
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
	margin: 0 auto clamp(18px, 3vw, 26px);
	padding: 0;
	max-width: 560px;
}
/* Track + fill line, drawn between the first and last dot centres. */
.tcwgc-steps::before,
.tcwgc-steps::after {
	content: "";
	position: absolute;
	top: 17px;
	left: 12.5%;
	height: 2px;
	border-radius: 2px;
}
.tcwgc-steps::before { right: 12.5%; background: var(--tcwgc-line-strong); }
.tcwgc-steps::after {
	width: calc(75% * var(--tcwgc-progress));
	background: var(--tcwgc-gold, #C9A84C);
	transition: width .35s ease;
}
.tcwgc-step { position: relative; z-index: 1; margin: 0; padding: 0; text-align: center; }
.tcwgc-wrap .tcwgc-step-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0;
	font: inherit;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	cursor: default;
}
.tcwgc-wrap .tcwgc-step-btn:not(:disabled) { cursor: pointer; }
.tcwgc-wrap .tcwgc-step-btn:disabled { opacity: 1; }
.tcwgc-step-num {
	position: relative;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid var(--tcwgc-line-strong);
	color: var(--tcwgc-soft);
	font-size: 0.9rem;
	font-weight: 500;
	transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.tcwgc-step-check { display: none; }
.tcwgc-step-label {
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tcwgc-soft);
	transition: color .25s ease;
}
.tcwgc-step.is-active .tcwgc-step-num {
	background: var(--tcwgc-green, #2F4A3A);
	border-color: var(--tcwgc-green, #2F4A3A);
	color: #FBF7EF;
	box-shadow: 0 0 0 5px var(--tcwgc-green-14, rgba(47,74,58,.14));
}
.tcwgc-step.is-active .tcwgc-step-label { color: var(--tcwgc-green, #2F4A3A); font-weight: 500; }
.tcwgc-step.is-done .tcwgc-step-num {
	background: var(--tcwgc-gold, #C9A84C);
	border-color: var(--tcwgc-gold, #C9A84C);
	color: #fff;
}
.tcwgc-step.is-done .tcwgc-step-n { display: none; }
.tcwgc-step.is-done .tcwgc-step-check { display: block; }
.tcwgc-step.is-done .tcwgc-step-label { color: var(--tcwgc-ink, #3A362E); }
.tcwgc-wrap .tcwgc-step.is-done .tcwgc-step-btn:hover .tcwgc-step-num { filter: brightness(1.06); transform: scale(1.05); }
.tcwgc-step-btn:focus-visible { outline: none; }
.tcwgc-step-btn:focus-visible .tcwgc-step-num { outline: 2px solid var(--tcwgc-gold, #C9A84C); outline-offset: 3px; }

/* ---------- Panels ---------- */
.tcwgc-panel {
	background: linear-gradient(180deg, #ffffff 0%, var(--tcwgc-bg, #FBF7EF) 100%);
	border: 1px solid var(--tcwgc-line);
	border-radius: var(--tcwgc-radius);
	box-shadow: var(--tcwgc-shadow);
	padding: clamp(22px, 4.5vw, 44px);
}
.tcwgc-substep,
.tcwgc-panel[data-tcwgc-step="pay"] { animation: tcwgc-in .35s ease both; }
@keyframes tcwgc-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

.tcwgc-kicker {
	margin: 0 0 4px;
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tcwgc-gold, #C9A84C);
	font-weight: 500;
}
.tcwgc-step-title {
	font-family: var(--tcwgc-serif);
	font-size: clamp(1.6rem, 3.6vw, 2rem);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 6px;
	color: var(--tcwgc-green, #2F4A3A);
}
.tcwgc-step-desc {
	margin: 0 0 clamp(18px, 3vw, 26px);
	color: var(--tcwgc-muted);
	font-size: 0.95rem;
}

/* ---------- Alert ---------- */
.tcwgc-alert {
	margin: 0 0 16px;
	padding: 13px 16px;
	border-radius: var(--tcwgc-radius-sm);
	background: #FBECEC;
	border: 1px solid #E3B7B3;
	color: #8A2B22;
	font-size: 0.95rem;
}

/* ---------- Fields ---------- */
.tcwgc-field { margin-bottom: 18px; }
.tcwgc-field-row { display: flex; gap: 16px; }
.tcwgc-field-row .tcwgc-field { flex: 1 1 0; min-width: 0; }

.tcwgc-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #5c574c;
}
.tcwgc-req { color: var(--tcwgc-gold, #C9A84C); }
.tcwgc-opt { color: var(--tcwgc-soft); font-weight: 400; letter-spacing: 0; }

.tcwgc-wrap input[type="text"],
.tcwgc-wrap input[type="email"],
.tcwgc-wrap input[type="tel"],
.tcwgc-wrap input[type="number"],
.tcwgc-wrap textarea {
	width: 100%;
	padding: 14px 16px;
	font: inherit;
	color: var(--tcwgc-ink, #3A362E);
	background: #fff;
	border: 1px solid var(--tcwgc-line-strong);
	border-radius: var(--tcwgc-radius-sm);
	transition: border-color .18s ease, box-shadow .18s ease;
	-webkit-appearance: none;
	appearance: none;
	-moz-appearance: textfield;
}
.tcwgc-wrap input::-webkit-outer-spin-button,
.tcwgc-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tcwgc-wrap input::placeholder,
.tcwgc-wrap textarea::placeholder { color: #b5ae9f; }
.tcwgc-wrap textarea { resize: vertical; min-height: 110px; }
.tcwgc-wrap input:hover,
.tcwgc-wrap textarea:hover { border-color: rgba(58, 54, 46, 0.3); }
.tcwgc-wrap input:focus,
.tcwgc-wrap textarea:focus {
	outline: none;
	border-color: var(--tcwgc-gold, #C9A84C);
	box-shadow: 0 0 0 4px var(--tcwgc-green-14, rgba(47,74,58,.14));
}
.tcwgc-wrap input.tcwgc-invalid,
.tcwgc-wrap textarea.tcwgc-invalid {
	border-color: #C0564C;
	box-shadow: 0 0 0 4px rgba(192, 86, 76, 0.14);
}
.tcwgc-hint { margin: 6px 0 0; font-size: 0.8rem; color: var(--tcwgc-soft); }
.tcwgc-count { text-align: right; }

/* ---------- Amount chips ---------- */
.tcwgc-amounts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.tcwgc-wrap .tcwgc-amount {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 78px;
	margin: 0;
	padding: 14px 8px;
	font-family: var(--tcwgc-serif);
	font-size: 1.65rem;
	font-weight: 600;
	line-height: 1;
	color: var(--tcwgc-ink, #3A362E) !important;
	background: #fff !important;
	background-image: none !important;
	border: 1px solid var(--tcwgc-line-strong) !important;
	border-radius: var(--tcwgc-radius-sm);
	cursor: pointer;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.tcwgc-wrap .tcwgc-amount:hover,
.tcwgc-wrap .tcwgc-amount:focus {
	background: var(--tcwgc-green-08, rgba(47,74,58,.08)) !important;
	color: var(--tcwgc-ink, #3A362E) !important;
	border-color: var(--tcwgc-gold, #C9A84C) !important;
	transform: translateY(-2px);
}
.tcwgc-wrap .tcwgc-amount[aria-checked="true"],
.tcwgc-wrap .tcwgc-amount[aria-checked="true"]:hover,
.tcwgc-wrap .tcwgc-amount[aria-checked="true"]:focus {
	background: var(--tcwgc-green, #2F4A3A) !important;
	color: #FBF7EF !important;
	border-color: var(--tcwgc-green, #2F4A3A) !important;
	box-shadow: 0 14px 28px -16px rgba(47, 74, 58, 0.9) !important;
	transform: none;
}
/* Selected tick */
.tcwgc-wrap .tcwgc-amount[aria-checked="true"]::after {
	content: "";
	position: absolute;
	top: 9px;
	right: 9px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--tcwgc-gold, #C9A84C) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/11px no-repeat;
}
.tcwgc-wrap .tcwgc-amount:focus-visible {
	outline: 2px solid var(--tcwgc-gold, #C9A84C);
	outline-offset: 2px;
}

.tcwgc-divider {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 20px 0 14px;
	color: var(--tcwgc-soft);
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.tcwgc-divider::before,
.tcwgc-divider::after { content: ""; flex: 1; height: 1px; background: var(--tcwgc-line); }

.tcwgc-input-money { position: relative; }
.tcwgc-money-sym,
.tcwgc-money-cur {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #8a8475;
	pointer-events: none;
}
.tcwgc-money-sym { left: 16px; font-size: 1.1rem; }
.tcwgc-money-cur { right: 16px; font-size: 0.8rem; letter-spacing: 0.1em; }
.tcwgc-wrap .tcwgc-input-money input {
	padding-left: 38px !important;
	padding-right: 60px !important;
	font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.tcwgc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 16px 26px;
	font: inherit;
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.2;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: filter .16s ease, transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}
.tcwgc-btn svg { flex: 0 0 auto; transition: transform .16s ease; }
.tcwgc-wrap .tcwgc-btn-primary,
.tcwgc-wrap .tcwgc-btn-primary:hover,
.tcwgc-wrap .tcwgc-btn-primary:focus,
.tcwgc-wrap .tcwgc-btn-primary:active {
	background: var(--tcwgc-green, #2F4A3A) !important;
	background-image: none !important;
	color: #FBF7EF !important;
	border: 0 !important;
	text-decoration: none !important;
}
.tcwgc-btn-primary { box-shadow: 0 14px 28px -16px rgba(47, 74, 58, 0.85); }
.tcwgc-btn-primary:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.tcwgc-btn-next:hover:not(:disabled) svg { transform: translateX(3px); }
.tcwgc-btn-primary:focus-visible { outline: 2px solid var(--tcwgc-gold, #C9A84C); outline-offset: 3px; }

.tcwgc-wrap .tcwgc-btn-ghost,
.tcwgc-wrap .tcwgc-btn-ghost:focus,
.tcwgc-wrap .tcwgc-btn-ghost:active {
	background: transparent !important;
	background-image: none !important;
	color: var(--tcwgc-green, #2F4A3A) !important;
	border: 1px solid var(--tcwgc-line-strong) !important;
	box-shadow: none !important;
}
.tcwgc-wrap .tcwgc-btn-ghost:hover {
	background: var(--tcwgc-green-08, rgba(47,74,58,.08)) !important;
	color: var(--tcwgc-green, #2F4A3A) !important;
	border-color: var(--tcwgc-gold, #C9A84C) !important;
}
.tcwgc-btn-ghost:hover svg { transform: translateX(-3px); }
.tcwgc-btn-ghost:focus-visible { outline: 2px solid var(--tcwgc-gold, #C9A84C); outline-offset: 3px; }

.tcwgc-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.tcwgc-btn.is-busy { position: relative; color: transparent !important; }
.tcwgc-btn.is-busy > * { visibility: hidden; }
.tcwgc-btn.is-busy::after {
	content: "";
	position: absolute;
	width: 18px; height: 18px;
	border: 2px solid rgba(251, 247, 239, 0.4);
	border-top-color: #FBF7EF;
	border-radius: 50%;
	animation: tcwgc-spin .7s linear infinite;
}
@keyframes tcwgc-spin { to { transform: rotate(360deg); } }

/* Step navigation row */
.tcwgc-nav {
	display: flex;
	gap: 12px;
	margin-top: clamp(22px, 4vw, 32px);
	padding-top: clamp(18px, 3vw, 24px);
	border-top: 1px solid var(--tcwgc-line);
}
.tcwgc-nav .tcwgc-btn-ghost { flex: 0 0 auto; width: auto; padding-left: 22px; padding-right: 22px; }
.tcwgc-nav .tcwgc-btn-primary { flex: 1 1 auto; }
.tcwgc-nav-end { justify-content: flex-end; }

.tcwgc-wrap .tcwgc-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--tcwgc-green, #2F4A3A) !important;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	padding: 4px 0;
	margin: 0 0 4px;
}
.tcwgc-wrap .tcwgc-back:hover { color: var(--tcwgc-gold, #C9A84C) !important; }
.tcwgc-back svg { width: 16px; height: 16px; }

/* ---------- Gift card preview (review step) ---------- */
.tcwgc-giftcard {
	position: relative;
	overflow: hidden;
	margin: clamp(16px, 3vw, 22px) 0 18px;
	padding: clamp(24px, 5vw, 36px) clamp(20px, 5vw, 36px);
	text-align: center;
	color: #FBF7EF;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(201, 168, 76, 0.28) 0%, transparent 55%),
		radial-gradient(90% 80% at 0% 100%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
		var(--tcwgc-green, #2F4A3A);
	border-radius: 20px;
	box-shadow: 0 26px 50px -28px rgba(47, 74, 58, 0.95);
}
/* Inner gold hairline frame */
.tcwgc-giftcard::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(201, 168, 76, 0.55);
	border-radius: 13px;
	pointer-events: none;
}
.tcwgc-giftcard-leaf {
	display: block;
	width: 84px;
	height: 28px;
	margin: 0 auto 6px;
	color: var(--tcwgc-gold, #C9A84C);
}
.tcwgc-giftcard-brand {
	margin: 0;
	font-size: 0.7rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	opacity: 0.8;
}
.tcwgc-giftcard-label {
	margin: 4px 0 0;
	font-family: var(--tcwgc-serif);
	font-size: clamp(1.3rem, 3.4vw, 1.6rem);
	font-style: italic;
	color: var(--tcwgc-gold, #C9A84C);
}
.tcwgc-giftcard-amount {
	margin: 6px 0 14px;
	font-family: var(--tcwgc-serif);
	font-size: clamp(2.4rem, 7vw, 3.2rem);
	font-weight: 600;
	line-height: 1.05;
	color: #fff;
}
.tcwgc-giftcard-meta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 32px;
	padding-top: 14px;
	border-top: 1px solid rgba(251, 247, 239, 0.18);
}
.tcwgc-giftcard-meta > div { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.tcwgc-giftcard-meta span {
	font-size: 0.68rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	opacity: 0.7;
}
.tcwgc-giftcard-meta strong {
	font-family: var(--tcwgc-serif);
	font-size: 1.3rem;
	font-weight: 600;
	overflow-wrap: anywhere;
}
.tcwgc-giftcard-msg {
	position: relative;
	margin: 14px auto 0;
	max-width: 44ch;
	font-family: var(--tcwgc-serif);
	font-style: italic;
	font-size: 1.1rem;
	line-height: 1.45;
	opacity: 0.92;
	overflow-wrap: anywhere;
}

/* Order lines under the card */
.tcwgc-order { margin: 0 0 6px; }
.tcwgc-order > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 8px 0;
}
.tcwgc-order dt { margin: 0; color: var(--tcwgc-muted); font-size: 0.92rem; }
.tcwgc-order dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.tcwgc-order-total { border-top: 1px solid var(--tcwgc-line); padding-top: 12px !important; }
.tcwgc-order-total dt,
.tcwgc-order-total dd {
	font-family: var(--tcwgc-serif);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--tcwgc-ink, #3A362E);
}

/* ---------- Payment ---------- */
.tcwgc-pay {
	margin-top: 18px;
	padding-top: 22px;
	border-top: 1px solid var(--tcwgc-line);
}
.tcwgc-pay-title {
	font-family: var(--tcwgc-serif);
	font-size: 1.4rem;
	font-weight: 600;
	margin: 0 0 14px;
	color: var(--tcwgc-green, #2F4A3A);
}
.tcwgc-methods {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}
.tcwgc-wrap .tcwgc-method {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 14px 16px;
	font: inherit;
	font-size: 0.95rem;
	text-align: left;
	background: #fff !important;
	background-image: none !important;
	border: 1px solid var(--tcwgc-line-strong) !important;
	border-radius: var(--tcwgc-radius-sm);
	cursor: pointer;
	color: var(--tcwgc-ink, #3A362E) !important;
	box-shadow: none !important;
	transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.tcwgc-method svg { flex: 0 0 auto; color: var(--tcwgc-soft); transition: color .16s ease; }
/* Radio indicator */
.tcwgc-wrap .tcwgc-method::after {
	content: "";
	margin-left: auto;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid var(--tcwgc-line-strong);
	background: #fff;
	transition: border-color .16s ease, box-shadow .16s ease;
}
.tcwgc-wrap .tcwgc-method:hover { border-color: var(--tcwgc-gold, #C9A84C) !important; }
.tcwgc-wrap .tcwgc-method[aria-selected="true"] {
	border-color: var(--tcwgc-green, #2F4A3A) !important;
	background: var(--tcwgc-green-08, rgba(47,74,58,.08)) !important;
	box-shadow: 0 0 0 1px var(--tcwgc-green, #2F4A3A) !important;
	font-weight: 500;
}
.tcwgc-method[aria-selected="true"] svg { color: var(--tcwgc-green, #2F4A3A); }
.tcwgc-wrap .tcwgc-method[aria-selected="true"]::after {
	border-color: var(--tcwgc-green, #2F4A3A);
	box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--tcwgc-green, #2F4A3A);
}
.tcwgc-method:focus-visible { outline: 2px solid var(--tcwgc-gold, #C9A84C); outline-offset: 2px; }

.tcwgc-stripe-element {
	padding: 16px;
	background: #fff;
	border: 1px solid var(--tcwgc-line-strong);
	border-radius: var(--tcwgc-radius-sm);
	margin-bottom: 16px;
	min-height: 56px;
}
.tcwgc-stripe-element:empty {
	background:
		linear-gradient(90deg, transparent 0%, rgba(47,74,58,.06) 50%, transparent 100%) 0 0 / 200% 100% no-repeat,
		#fff;
	animation: tcwgc-shimmer 1.2s linear infinite;
}
@keyframes tcwgc-shimmer { from { background-position: 200% 0, 0 0; } to { background-position: -200% 0, 0 0; } }
.tcwgc-stripe-error {
	margin: 0;
	padding: 2px;
	color: #9b2c2c;
	font-size: 0.9rem;
	line-height: 1.5;
}
.tcwgc-local-note {
	margin: 0 0 16px;
	padding: 14px 16px;
	background: var(--tcwgc-green-08, rgba(47,74,58,.08));
	border: 1px solid var(--tcwgc-line);
	border-radius: var(--tcwgc-radius-sm);
	font-size: 0.95rem;
	line-height: 1.6;
	color: #5c574c;
}
.tcwgc-secure {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	margin: 16px 0 0;
	font-size: 0.8rem;
	color: #8a8475;
	text-align: center;
}
.tcwgc-secure svg { flex: 0 0 auto; margin-top: 2px; color: var(--tcwgc-green, #2F4A3A); }

/* ---------- Success ---------- */
.tcwgc-success { text-align: center; }
.tcwgc-success-mark { color: var(--tcwgc-green, #2F4A3A); margin-bottom: 8px; }
.tcwgc-success-list {
	max-width: 420px;
	margin: 22px auto 26px;
	text-align: left;
}
.tcwgc-success-list > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid var(--tcwgc-line);
}
.tcwgc-success-list dt { color: var(--tcwgc-muted); margin: 0; }
.tcwgc-success-list dd { margin: 0; text-align: right; font-weight: 500; }
.tcwgc-code {
	font-family: "Jost", monospace;
	letter-spacing: 0.08em;
	color: var(--tcwgc-green, #2F4A3A);
	font-weight: 600 !important;
}
.tcwgc-success .tcwgc-btn { max-width: 420px; margin: 0 auto; }
.tcwgc-emailed { margin: 14px 0 0; font-size: 0.9rem; color: #8a8475; }
.tcwgc-badge-pending {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: #FCEED6;
	border: 1px solid #E6C48A;
	color: #8C520A;
	font-size: 0.8rem;
	font-weight: 500;
	white-space: nowrap;
}
.tcwgc-pending-note {
	max-width: 440px;
	margin: 14px auto 0;
	padding: 12px 14px;
	background: #FCF6EA;
	border: 1px solid #EEDDBA;
	border-radius: var(--tcwgc-radius-sm);
	font-size: 0.85rem;
	line-height: 1.55;
	color: #7a5a24;
}

/* ---------- Notice (unavailable) ---------- */
.tcwgc-notice {
	text-align: center;
	padding: 40px 20px;
	background: var(--tcwgc-bg, #FBF7EF);
	border: 1px solid var(--tcwgc-line);
	border-radius: var(--tcwgc-radius);
	color: var(--tcwgc-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
	.tcwgc-field-row { flex-direction: column; gap: 0; }
	.tcwgc-amounts { gap: 10px; }
	.tcwgc-wrap .tcwgc-amount { font-size: 1.3rem; min-height: 64px; padding: 12px 4px; }
	.tcwgc-step-label { font-size: 0.62rem; letter-spacing: 0.04em; }
	.tcwgc-panel { border-radius: 20px; }
}
@media (max-width: 380px) {
	.tcwgc-amounts { grid-template-columns: repeat(2, 1fr); }
	.tcwgc-step-label { display: none; }
	.tcwgc-nav .tcwgc-btn-ghost { padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.tcwgc-wrap *,
	.tcwgc-wrap *::before,
	.tcwgc-wrap *::after { transition: none !important; animation: none !important; }
}
