
:root {
	--tgb-primary: #343566;
	--tgb-primary-dark: #2c2d57;
	--tgb-accent: #C83F45;
	--tgb-accent-dark: #A9343A;
	--tgb-surface: #f2f2f6;
	--tgb-surface-strong: #e8e8ef;
	--tgb-card: #ffffff;
	--tgb-border: rgba(52, 53, 102, 0.10);
	--tgb-text: #1e1f2b;
	--tgb-muted: #666b7a;
	--tgb-white-muted: rgba(255, 255, 255, 0.84);
	--tgb-success: #1f7a43;
	--tgb-error: #b42318;
}

.tgb-wrap {
	width: 100%;
	max-width: none;
	margin: 32px 0;
	padding: 0;
	color: var(--tgb-text);
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
	font-size: 16px;
	line-height: 1.55;
}

.tgb-wrap * {
	box-sizing: border-box;
}

.tgb-wrap {
	font-family: "Roboto", Arial, sans-serif;
	font-weight: 400;
}

.tgb-wrap h1,
.tgb-wrap h2,
.tgb-wrap h3,
.tgb-wrap h4,
.tgb-wrap h5,
.tgb-wrap h6,
.tgb-hero h2,
.tgb-step h3 {
	font-family: "Open Sans", Arial, sans-serif;
	font-weight: 500;
}

.tgb-wrap p,
.tgb-wrap label,
.tgb-wrap input,
.tgb-wrap select,
.tgb-wrap textarea,
.tgb-wrap button,
.tgb-steps span,
.tgb-steps span em,
.tgb-steps span strong,
.tgb-checkbox,
.tgb-radio,
#tgb-summary th,
#tgb-summary td {
	font-family: "Roboto", Arial, sans-serif;
	font-weight: 400;
}

.tgb-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
	gap: 24px;
	padding: 0;
	background: transparent;
	border: 0;
}

.tgb-hero-content,
.tgb-hero-card {
	position: relative;
	overflow: hidden;
	border-radius: 0;
	min-height: 300px;
}

.tgb-hero-content {
	padding: 54px 58px;
	color: #ffffff;
	background: var(--tgb-primary);
	box-shadow: 0 20px 48px rgba(32, 34, 72, 0.12);
}

.tgb-hero-content::after {
	content: "";
	position: absolute;
	right: -110px;
	bottom: -115px;
	width: 260px;
	height: 260px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 0;
}

.tgb-kicker {
	position: relative;
	z-index: 1;
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tgb-hero h2 {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #ffffff;
	font-size: clamp(34px, 5vw, 72px);
	font-weight: 750;
	line-height: 1.02;
	letter-spacing: -0.045em;
}

.tgb-hero p:not(.tgb-kicker) {
	position: relative;
	z-index: 1;
	max-width: 580px;
	margin: 22px 0 0;
	color: var(--tgb-white-muted);
	font-size: 18px;
}

.tgb-hero-card {
	background: linear-gradient(180deg, #f3f3f7 0%, #ebebf1 100%);
	border: 1px solid rgba(52, 53, 102, 0.08);
	box-shadow: 0 20px 48px rgba(32, 34, 72, 0.08);
}

.tgb-hero-card.has-image {
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding: 0;
	background: var(--tgb-surface);
}

.tgb-hero-card.has-image .tgb-hero-image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
}

.tgb-hero-card.has-image::before,
.tgb-hero-card.has-image::after {
	display: none;
}

.tgb-hero-card::before,
.tgb-hero-card::after {
	content: "";
	position: absolute;
	border-radius: 0;
}

.tgb-hero-card::before {
	left: 52px;
	right: 52px;
	top: 60px;
	height: 160px;
	background: #ffffff;
	border: 2px solid rgba(200, 63, 69, 0.18);
	box-shadow: 0 16px 36px rgba(52, 53, 102, 0.08);
}

.tgb-hero-card::after {
	left: 82px;
	top: 60px;
	width: 26px;
	height: 160px;
	background: rgba(200, 63, 69, 0.88);
}

.tgb-hero-ribbon,
.tgb-hero-bow,
.tgb-hero-line {
	position: absolute;
	display: block;
}

.tgb-hero-ribbon {
	left: 52px;
	top: 126px;
	width: calc(100% - 104px);
	height: 18px;
	background: rgba(200, 63, 69, 0.88);
	border-radius: 0;
}

.tgb-hero-bow {
	left: 95px;
	top: 135px;
	width: 58px;
	height: 58px;
	border: 12px solid rgba(200, 63, 69, 0.88);
	border-radius: 0;
	transform: translate(-50%, -50%) rotate(-18deg);
	background: transparent;
}

.tgb-hero-line {
	right: 84px;
	top: 108px;
	width: 160px;
	height: 90px;
	border-radius: 0;
	background: transparent;
	border-top: 8px solid rgba(52, 53, 102, 0.18);
	border-right: 8px solid rgba(52, 53, 102, 0.18);
	transform: skewX(-18deg) rotate(-10deg);
}

.tgb-hero-card .tgb-hero-line::before,
.tgb-hero-card .tgb-hero-line::after {
	content: "";
	position: absolute;
	left: -100px;
	border-radius: 0;
	background: rgba(200, 63, 69, 0.88);
}

.tgb-hero-card .tgb-hero-line::before {
	bottom: -38px;
	width: 128px;
	height: 10px;
}

.tgb-hero-card .tgb-hero-line::after {
	bottom: -62px;
	width: 84px;
	height: 10px;
}

.tgb-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	padding: 24px 0 0;
}

.tgb-steps span {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	min-height: 62px;
	background: var(--tgb-surface);
	border: 1px solid rgba(52, 53, 102, 0.08);
	border-radius: 0;
	color: var(--tgb-muted);
}

.tgb-steps span strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 0;
	background: #ffffff;
	color: var(--tgb-primary);
	font-size: 14px;
	line-height: 1;
}

.tgb-steps span em {
	font-style: normal;
	font-size: 14px;
	font-weight: 700;
}

.tgb-steps span.active {
	color: #ffffff;
	background: var(--tgb-primary);
	border-color: transparent;
	box-shadow: 0 18px 40px rgba(52, 53, 102, 0.18);
}

.tgb-steps span.active strong {
	background: var(--tgb-accent);
	color: #ffffff;
}

.tgb-step {
	display: none;
	margin-top: 24px;
	padding: 34px;
	background: var(--tgb-card);
	border: 1px solid var(--tgb-border);
	border-radius: 0;
	box-shadow: 0 20px 48px rgba(32, 34, 72, 0.08);
}

.tgb-step.active {
	display: block;
}

.tgb-step h3 {
	margin: 0 0 20px;
	color: var(--tgb-primary);
	font-size: 28px;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.tgb-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
	margin-bottom: 20px;
}

.tgb-wrap label {
	display: block;
	margin: 0 0 18px;
	color: var(--tgb-primary-dark);
	font-weight: 700;
}

.tgb-wrap input,
.tgb-wrap select,
.tgb-wrap textarea {
	width: 100%;
	min-height: 56px;
	padding: 14px 16px;
	margin-top: 8px;
	color: var(--tgb-text);
	background: #ffffff;
	border: 1px solid rgba(52, 53, 102, 0.14);
	border-radius: 0;
	box-shadow: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tgb-wrap input:focus,
.tgb-wrap select:focus,
.tgb-wrap textarea:focus {
	outline: none;
	border-color: var(--tgb-accent);
	box-shadow: 0 0 0 4px rgba(200, 63, 69, 0.15);
}

.tgb-wrap input[type="number"] {
	font-size: 28px;
	font-weight: 750;
	letter-spacing: -0.02em;
}

.tgb-hint {
	margin: -4px 0 24px;
	padding: 16px 18px;
	color: var(--tgb-muted);
	background: var(--tgb-surface);
	border: 1px solid rgba(52, 53, 102, 0.08);
	border-radius: 0;
}

.tgb-checkbox,
.tgb-radio {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	padding: 15px 18px;
	font-weight: 500 !important;
	line-height: 1.45;
	background: var(--tgb-surface);
	border: 1px solid rgba(52, 53, 102, 0.08);
	border-radius: 0;
}

.tgb-checkbox input[type="checkbox"],
.tgb-radio input[type="radio"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	min-height: 18px;
	margin: 3px 0 0;
	accent-color: var(--tgb-accent);
}

.tgb-checkbox span,
.tgb-radio span {
	display: inline-block;
}

.tgb-checkbox a {
	color: var(--tgb-primary);
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.tgb-payment-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 18px;
}

.tgb-radio {
	align-items: center;
	min-height: 96px;
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tgb-radio:hover,
.tgb-radio:has(input:checked) {
	border-color: rgba(200, 63, 69, 0.42);
	box-shadow: 0 14px 32px rgba(52, 53, 102, 0.08);
	transform: translateY(-1px);
}

.tgb-radio strong,
.tgb-radio em {
	display: block;
}

.tgb-radio strong {
	font-size: 16px;
	color: var(--tgb-primary);
}

.tgb-radio em {
	margin-top: 4px;
	color: var(--tgb-muted);
	font-style: normal;
	font-size: 14px;
	font-weight: 500;
}

.tgb-wrap button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 13px 24px;
	margin: 8px 10px 8px 0;
	color: #ffffff;
	background: var(--tgb-accent);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-weight: 750;
	cursor: pointer;
	transition: transform 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.tgb-wrap button:hover {
	opacity: 0.98;
	transform: translateY(-1px);
	background: var(--tgb-accent-dark);
}

.tgb-wrap button:focus-visible {
	outline: 3px solid rgba(200, 63, 69, 0.28);
	outline-offset: 3px;
}

.tgb-prev {
	color: var(--tgb-primary) !important;
	background: var(--tgb-surface) !important;
	border: 1px solid rgba(52, 53, 102, 0.12) !important;
}

#tgb-bank-submit {
	background: var(--tgb-primary);
}

#tgb-bank-submit:hover {
	background: var(--tgb-primary-dark);
}

.tgb-hidden {
	display: none !important;
}

#tgb-summary {
	margin: 0 0 26px;
	padding: 0;
	background: var(--tgb-surface);
	border: 1px solid rgba(52, 53, 102, 0.08);
	border-radius: 0;
	overflow: hidden;
}

#tgb-summary table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

#tgb-summary th,
#tgb-summary td {
	padding: 16px 20px;
	border-bottom: 1px solid rgba(52, 53, 102, 0.08);
	text-align: left;
	vertical-align: top;
}

#tgb-summary tr:last-child th,
#tgb-summary tr:last-child td {
	border-bottom: 0;
	background: rgba(200, 63, 69, 0.12);
}

#tgb-summary th {
	width: 38%;
	color: var(--tgb-muted);
	font-size: 14px;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

#tgb-summary td {
	font-weight: 650;
}

#tgb-summary strong {
	color: var(--tgb-primary);
	font-size: 20px;
}

#tgb-paypal-buttons {
	margin: 16px 0 10px;
}

.tgb-success,
.tgb-error {
	padding: 22px 24px;
	margin: 12px 0;
	border-radius: 0;
	font-weight: 650;
}

.tgb-success {
	color: #0f5132;
	background: #ecfdf3;
	border: 1px solid rgba(31, 122, 67, 0.28);
}

.tgb-error {
	color: var(--tgb-error);
	background: #fff1f0;
	border: 1px solid rgba(180, 35, 24, 0.24);
}

@media (max-width: 980px) {
	.tgb-hero {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.tgb-hero-content,
	.tgb-hero-card {
		min-height: 260px;
	}

	.tgb-hero-content {
		padding: 38px 28px;
	}

	.tgb-hero-card::before {
		left: 32px;
		right: 32px;
		top: 52px;
	}

	.tgb-hero-card::after {
		left: 58px;
		top: 52px;
	}

	.tgb-hero-ribbon {
		left: 32px;
		width: calc(100% - 64px);
	}

	.tgb-hero-bow {
		left: 72px;
	}

	.tgb-hero-line {
		right: 58px;
		top: 102px;
	}

	.tgb-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tgb-step {
		padding: 28px 20px;
	}

	.tgb-grid,
	.tgb-payment-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.tgb-wrap {
		margin: 20px 0;
	}

	.tgb-hero h2 {
		font-size: 42px;
	}

	.tgb-hero p:not(.tgb-kicker) {
		font-size: 16px;
	}

	.tgb-steps {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.tgb-steps span {
		min-height: 54px;
	}

	#tgb-summary th,
	#tgb-summary td {
		display: block;
		width: 100%;
		padding: 12px 16px;
	}

	#tgb-summary th {
		padding-bottom: 4px;
	}

	#tgb-summary td {
		padding-top: 4px;
	}
}

/* Typography and edge overrides requested in version 1.2.12. */
.tgb-wrap,
.tgb-wrap p,
.tgb-wrap label,
.tgb-wrap input,
.tgb-wrap select,
.tgb-wrap textarea,
.tgb-wrap button,
.tgb-steps span,
.tgb-steps span em,
.tgb-steps span strong,
.tgb-checkbox,
.tgb-checkbox *,
.tgb-radio,
.tgb-radio *,
#tgb-summary,
#tgb-summary * {
	font-family: "Roboto", Arial, sans-serif;
	font-weight: 400;
}

.tgb-wrap h1,
.tgb-wrap h2,
.tgb-wrap h3,
.tgb-wrap h4,
.tgb-wrap h5,
.tgb-wrap h6,
.tgb-hero h2,
.tgb-step h3 {
	font-family: "Open Sans", Arial, sans-serif;
	font-weight: 500;
}

.tgb-wrap *,
.tgb-wrap *::before,
.tgb-wrap *::after {
	border-radius: 0 !important;
}


.tgb-required {
	color: #C83F45;
	display: inline-block;
	font-weight: 500;
	margin-left: 2px;
}

/* Accessibility: keyboard focus, accessible notifications, and steps. */
.tgb-wrap .tgb-step[hidden],
.tgb-wrap #tgb-shipping-address[hidden],
.tgb-wrap #tgb-bank-submit[hidden],
.tgb-wrap #tgb-paypal-buttons[hidden] {
	display: none !important;
}

.tgb-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.tgb-wrap :is(button, input, select, textarea, a):focus-visible {
	outline: 3px solid #343566 !important;
	outline-offset: 3px !important;
}

.tgb-wrap .tgb-hero h2:focus,
.tgb-wrap .tgb-step h3:focus,
.tgb-error-summary:focus,
#tgb-payment-errors:focus {
	outline: 3px solid #343566;
	outline-offset: 4px;
}

.tgb-wrap [aria-invalid="true"] {
	border: 2px solid #b42318 !important;
}

.tgb-error-summary {
	margin-top: 24px;
	padding: 20px;
	color: #7a1717;
	background: #fff2f2;
	border: 2px solid #b42318;
}

.tgb-error-summary ul {
	margin: 10px 0 0;
	padding-left: 22px;
}

.tgb-error-summary .tgb-error-link {
	min-height: 0;
	margin: 3px 0;
	padding: 2px;
	color: #7a1717;
	background: transparent;
	box-shadow: none;
	text-align: left;
	text-decoration: underline;
	font-weight: 400;
}

.tgb-error-summary .tgb-error-link:hover {
	color: #7a1717;
	background: transparent;
	box-shadow: none;
	transform: none;
}

.tgb-payment-fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.tgb-wrap a {
	text-underline-offset: 3px;
}

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

.tgb-field-error { display: block; margin-top: 5px; color: #a52e35; font-size: 0.95em; }
.tgb-edit-step { margin: 4px 0 4px 12px !important; min-height: 36px !important; padding: 6px 12px !important; font-size: 0.9em; }
.tgb-review-notice { margin: 0 0 22px; }
.tgb-wrap [hidden], .tgb-wrap [inert] { display: none !important; }
