.tfgp-product-rate,
.tfgp-product-rate-group,
.tfgp-rate-card,
.tfgp-breakdown-wrap,
.tfgp-table-wrap,
.tfgp-calculator {
	--tfgp-primary: #343434;
	--tfgp-gold: #e6b31e;
	--tfgp-gold-light: #e6b31e;
	--tfgp-ink: #343434;
	--tfgp-muted: #727272;
	--tfgp-border: #e4e4e4;
	--tfgp-cream: #fff;
	--tfgp-danger: #a12d2d;
	box-sizing: border-box;
	font-family: inherit;
}

.tfgp-rate-card *,
.tfgp-product-rate-group *,
.tfgp-breakdown-wrap *,
.tfgp-table-wrap *,
.tfgp-calculator * {
	box-sizing: border-box;
}

.tfgp-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;
}

/* Current rate card. */
.tfgp-rate-card {
	direction: rtl;
	margin: 18px 0;
	color: var(--tfgp-ink);
}

.tfgp-rate-card--spot {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: 94px minmax(0, 1fr);
	align-items: center;
	gap: clamp(18px, 4vw, 34px);
	min-height: 210px;
	padding: clamp(24px, 5vw, 42px);
	overflow: hidden;
	border: 1px solid rgba(230, 179, 30, .58);
	border-radius: 26px;
	background:
		radial-gradient(circle at 12% 18%, rgba(230, 179, 30, .13), transparent 30%),
		#fff;
	box-shadow: 0 18px 44px rgba(52, 52, 52, .11);
	color: var(--tfgp-ink);
}

.tfgp-rate-card--spot::before {
	position: absolute;
	z-index: -1;
	inset-inline-end: -78px;
	top: -95px;
	width: 270px;
	height: 270px;
	border: 1px solid rgba(230, 179, 30, .24);
	border-radius: 50%;
	box-shadow: 0 0 0 36px rgba(230, 179, 30, .045), 0 0 0 72px rgba(52, 52, 52, .025);
	content: "";
}

.tfgp-rate-card--spot::after {
	position: absolute;
	z-index: -1;
	inset-inline-start: 0;
	bottom: 0;
	width: 42%;
	height: 4px;
	background: linear-gradient(90deg, var(--tfgp-gold-light), transparent);
	content: "";
}

.tfgp-feature-icon {
	position: relative;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--tfgp-gold);
	border-radius: 16px;
	background: #343434;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 22px rgba(52, 52, 52, .14);
}

.tfgp-feature-icon::before,
.tfgp-feature-icon::after {
	position: absolute;
	content: "";
}

.tfgp-feature-icon--rate {
	width: 94px;
	height: 94px;
	border-radius: 24px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 30px rgba(52, 52, 52, .18);
}

.tfgp-feature-icon--rate::before {
	inset: 24px 21px 22px;
	border-bottom: 2px solid rgba(230, 179, 30, .42);
	border-inline-start: 2px solid rgba(230, 179, 30, .42);
	border-radius: 0 0 0 4px;
}

.tfgp-feature-icon--rate::after {
	inset: 25px 22px;
	background: var(--tfgp-gold);
	clip-path: polygon(0 82%, 23% 54%, 43% 67%, 72% 25%, 66% 24%, 100% 0, 91% 35%, 88% 29%, 49% 83%, 25% 70%, 8% 100%);
}

.tfgp-feature-icon--table::before {
	inset: 13px;
	border: 2px solid var(--tfgp-gold);
	border-radius: 4px;
	background:
		linear-gradient(to bottom, transparent 29%, var(--tfgp-gold) 29%, var(--tfgp-gold) 37%, transparent 37%, transparent 63%, var(--tfgp-gold) 63%, var(--tfgp-gold) 71%, transparent 71%),
		linear-gradient(to left, transparent 29%, var(--tfgp-gold) 29%, var(--tfgp-gold) 37%, transparent 37%, transparent 63%, var(--tfgp-gold) 63%, var(--tfgp-gold) 71%, transparent 71%);
}

.tfgp-feature-icon--calculator::before {
	top: 9px;
	width: 27px;
	height: 32px;
	border: 2px solid var(--tfgp-gold);
	border-radius: 5px;
}

.tfgp-feature-icon--calculator::after {
	top: 14px;
	width: 19px;
	height: 23px;
	background:
		linear-gradient(var(--tfgp-gold), var(--tfgp-gold)) 0 0 / 100% 5px no-repeat,
		radial-gradient(circle, var(--tfgp-gold) 1.6px, transparent 1.9px) 0 10px / 8px 8px;
}

.tfgp-rate-content {
	display: grid;
	min-width: 0;
	gap: 5px;
}

.tfgp-eyebrow {
	display: block;
	margin-bottom: 2px;
	color: #806300;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .02em;
}

.tfgp-rate-label {
	color: var(--tfgp-muted);
	font-size: clamp(.94rem, 2vw, 1.08rem);
}

.tfgp-rate-value {
	display: block;
	margin: 2px 0 6px;
	color: var(--tfgp-ink);
	font-size: clamp(1.65rem, 5vw, 2.65rem);
	font-weight: 800;
	line-height: 1.35;
}

.tfgp-rate-value .woocommerce-Price-currencySymbol {
	color: #9a7500;
	font-size: .55em;
	font-weight: 600;
}

.tfgp-updated,
.tfgp-widget-meta {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--tfgp-muted);
	font-size: .78rem;
}

.tfgp-updated > span,
.tfgp-widget-meta > span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #55d99a;
	box-shadow: 0 0 0 4px rgba(85, 217, 154, .14);
}

.tfgp-rate-card--spot.is-stale {
	border-color: var(--tfgp-gold);
}

.tfgp-rate-card--spot.is-stale .tfgp-updated > span {
	background: #f1a53e;
	box-shadow: 0 0 0 4px rgba(241, 165, 62, .16);
}

.tfgp-rate-card.is-unavailable {
	padding: 16px 18px;
	border: 1px solid #f1cccc;
	border-inline-start: 4px solid #c73b3b;
	border-radius: 14px;
	background: #fff5f5;
	color: var(--tfgp-danger);
	box-shadow: none;
}

/* Shared premium widget shell. */
.tfgp-widget,
.tfgp-breakdown-wrap {
	direction: rtl;
	margin: 20px 0;
	border: 1px solid var(--tfgp-border);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(52, 52, 52, .08);
}

.tfgp-widget-head,
.tfgp-calculator-head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tfgp-widget-head h3,
.tfgp-calculator-head h3 {
	margin: 0;
	color: var(--tfgp-ink);
	font: inherit;
	font-size: clamp(1.08rem, 3vw, 1.35rem);
	font-weight: 800;
	line-height: 1.5;
}

/* Common-purity table. */
.tfgp-table-wrap {
	position: relative;
	isolation: isolate;
	padding: 0;
	overflow: hidden;
	border-color: rgba(230, 179, 30, .34);
	border-radius: 30px;
	background: #fffdf7;
	box-shadow: 0 24px 64px rgba(52, 52, 52, .13);
}

.tfgp-table-wrap::before {
	position: absolute;
	z-index: 3;
	inset-inline-start: 0;
	top: 0;
	width: 36%;
	height: 4px;
	background: linear-gradient(90deg, var(--tfgp-gold), #f7d970, transparent);
	content: "";
}

.tfgp-table-wrap::after {
	position: absolute;
	z-index: 0;
	inset-inline-end: -135px;
	top: -155px;
	width: 350px;
	height: 350px;
	border: 1px solid rgba(230, 179, 30, .24);
	border-radius: 50%;
	box-shadow: 0 0 0 48px rgba(230, 179, 30, .045), 0 0 0 96px rgba(255, 255, 255, .025);
	pointer-events: none;
	content: "";
}

.tfgp-table-hero {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(20px, 4vw, 42px);
	padding: clamp(27px, 5vw, 18px);
	overflow: hidden;
	background:
		radial-gradient(circle at 8% 0%, rgba(230, 179, 30, .2), transparent 32%),
		linear-gradient(135deg, #252525 0%, #383838 58%, #292929 100%);
	color: #fff;
}

.tfgp-breakdown {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	background: transparent;
}

.tfgp-table-heading {
	display: flex;
	align-items: center;
	gap: clamp(15px, 3vw, 23px);
	min-width: 0;
}

.tfgp-table-heading > div {
	min-width: 0;
}

.tfgp-table-hero .tfgp-feature-icon {
	width: clamp(60px, 7vw, 74px);
	height: clamp(60px, 7vw, 74px);
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 22px;
	background: linear-gradient(145deg, #f8d96c, var(--tfgp-gold));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 16px 32px rgba(0, 0, 0, .24);
}

.tfgp-table-hero .tfgp-feature-icon--table::before {
	inset: 17px;
	border-color: #343434;
	background:
		linear-gradient(to bottom, transparent 29%, #343434 29%, #343434 37%, transparent 37%, transparent 63%, #343434 63%, #343434 71%, transparent 71%),
		linear-gradient(to left, transparent 29%, #343434 29%, #343434 37%, transparent 37%, transparent 63%, #343434 63%, #343434 71%, transparent 71%);
}

.tfgp-table-hero .tfgp-eyebrow {
	margin-bottom: 4px;
	color: #f0c94f;
	font-size: .78rem;
}

.tfgp-table-hero h3 {
	margin: 0;
	color: #fff;
	font: inherit;
	font-size: clamp(1.35rem, 3vw, 2rem);
	font-weight: 900;
	line-height: 1.45;
}

.tfgp-table-updated {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	justify-self: end;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 99px;
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
	color: rgba(255, 255, 255, .78);
	font-size: .75rem;
	white-space: nowrap;
	backdrop-filter: blur(8px);
}

.tfgp-table-updated > span {
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	border-radius: 50%;
	background: #55d99a;
	box-shadow: 0 0 0 5px rgba(85, 217, 154, .13);
}

.tfgp-table-wrap.is-stale .tfgp-table-updated > span {
	background: #f1a53e;
	box-shadow: 0 0 0 5px rgba(241, 165, 62, .15);
}

.tfgp-purity-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(10px, 1.5vw, 16px);
	padding: clamp(18px, 3vw, 30px);
	background:
		radial-gradient(circle at 100% 100%, rgba(230, 179, 30, .08), transparent 28%),
		linear-gradient(180deg, #fffdf7 0%, #fff 100%);
}

.tfgp-purity-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 210px;
	padding: clamp(16px, 2vw, 21px);
	overflow: hidden;
	border: 1px solid #ece6d7;
	border-radius: 20px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 9px 25px rgba(52, 52, 52, .06);
	color: var(--tfgp-ink);
	flex-direction: column;
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.tfgp-purity-card::before {
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--tfgp-gold), transparent);
	opacity: .58;
	content: "";
}

.tfgp-purity-card::after {
	position: absolute;
	inset-inline-end: -32px;
	bottom: -44px;
	width: 105px;
	height: 105px;
	border: 1px solid rgba(230, 179, 30, .14);
	border-radius: 50%;
	pointer-events: none;
	content: "";
}

.tfgp-purity-card:hover {
	transform: translateY(-5px);
	border-color: rgba(230, 179, 30, .62);
	box-shadow: 0 18px 36px rgba(52, 52, 52, .12);
}

.tfgp-purity-card.is-featured {
	border-color: rgba(230, 179, 30, .82);
	background:
		radial-gradient(circle at 100% 0%, rgba(230, 179, 30, .18), transparent 38%),
		linear-gradient(145deg, #292929, #3a3a3a);
	box-shadow: 0 17px 35px rgba(52, 52, 52, .2);
	color: #fff;
}

.tfgp-purity-card.is-featured::after {
	border-color: rgba(230, 179, 30, .22);
	box-shadow: 0 0 0 22px rgba(230, 179, 30, .035);
}

.tfgp-purity-card-head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.tfgp-purity-card-head > strong {
	color: inherit;
	font-size: clamp(.92rem, 1.35vw, 1.04rem);
	font-weight: 850;
	line-height: 1.6;
}

.tfgp-base-badge {
	flex: 0 0 auto;
	padding: 4px 8px;
	border: 1px solid rgba(230, 179, 30, .48);
	border-radius: 99px;
	background: rgba(230, 179, 30, .13);
	color: #f5d45e;
	font-size: .64rem;
	font-weight: 750;
	white-space: nowrap;
}

.tfgp-purity-card .tfgp-fineness {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: baseline;
	gap: 6px;
	align-self: flex-start;
	margin: 19px 0 17px;
	padding: 7px 10px;
	border: 1px solid rgba(230, 179, 30, .36);
	border-radius: 12px;
	background: #fff9e8;
	color: #755a08;
	line-height: 1;
}

.tfgp-purity-card .tfgp-fineness span,
.tfgp-purity-card .tfgp-fineness small {
	font-size: .66rem;
	font-weight: 600;
}

.tfgp-purity-card .tfgp-fineness strong {
	color: #4a3a08;
	font-size: 1.02rem;
	font-weight: 900;
}

.tfgp-purity-card.is-featured .tfgp-fineness {
	border-color: rgba(230, 179, 30, .3);
	background: rgba(230, 179, 30, .1);
	color: rgba(255, 255, 255, .65);
}

.tfgp-purity-card.is-featured .tfgp-fineness strong {
	color: #f5d45e;
}

.tfgp-purity-card .tfgp-table-price {
	position: relative;
	z-index: 1;
	display: block;
	margin-top: auto;
}

.tfgp-purity-card .tfgp-table-price > span {
	display: block;
	margin-bottom: 5px;
	color: var(--tfgp-muted);
	font-size: .7rem;
	font-weight: 600;
}

.tfgp-purity-card .tfgp-table-price > strong,
.tfgp-purity-card .tfgp-table-price .woocommerce-Price-amount {
	color: var(--tfgp-ink);
	font-size: clamp(.98rem, 1.45vw, 1.2rem);
	font-weight: 900;
	line-height: 1.55;
	white-space: nowrap;
}

.tfgp-purity-card .tfgp-table-price .woocommerce-Price-currencySymbol {
	color: #9a7500;
	font-size: .68em;
	font-weight: 700;
}

.tfgp-purity-card.is-featured .tfgp-table-price > span {
	color: rgba(255, 255, 255, .58);
}

.tfgp-purity-card.is-featured .tfgp-table-price > strong,
.tfgp-purity-card.is-featured .tfgp-table-price .woocommerce-Price-amount,
.tfgp-purity-card.is-featured .tfgp-table-price .woocommerce-Price-currencySymbol {
	color: #f5d45e;
}

.tfgp-table-wrap > .tfgp-stale-note {
	margin: 0 clamp(18px, 3vw, 30px) clamp(18px, 3vw, 30px);
}

@media (max-width: 1180px) {
	.tfgp-purity-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.tfgp-stale-note,
.tfgp-calculator-warning {
	display: block;
	margin-top: 14px;
	padding: 10px 12px;
	border: 1px solid #f0d79a;
	border-radius: 11px;
	background: #fff9e9;
	color: #73591e;
	font-size: .82rem;
}

/* Interactive calculator. */
.tfgp-calculator {
	--tfgp-calculator-padding: clamp(14px, 3vw, 22px);
	position: relative;
	isolation: isolate;
	margin: 16px 0;
	padding: var(--tfgp-calculator-padding);
	overflow: hidden;
	border-color: rgba(230, 179, 30, .34);
	border-radius: 24px;
	background: #fffdf7;
	box-shadow: 0 18px 46px rgba(52, 52, 52, .1);
}

.tfgp-calculator::before {
	position: absolute;
	z-index: 4;
	inset-inline-start: 0;
	top: 0;
	width: 36%;
	height: 4px;
	background: linear-gradient(90deg, var(--tfgp-gold), #f7d970, transparent);
	content: "";
}

.tfgp-calculator-head {
	position: relative;
	z-index: 1;
	justify-content: space-between;
	gap: clamp(16px, 3vw, 30px);
	margin: calc(0px - var(--tfgp-calculator-padding)) calc(0px - var(--tfgp-calculator-padding)) 14px;
	padding: clamp(19px, 3vw, 25px) clamp(18px, 3vw, 24px);
	overflow: hidden;
	border-bottom: 0;
	background:
		radial-gradient(circle at 8% 0%, rgba(230, 179, 30, .2), transparent 32%),
		linear-gradient(135deg, #252525 0%, #383838 58%, #292929 100%);
	color: #fff;
}

.tfgp-calculator-head::after {
	position: absolute;
	z-index: 0;
	inset-inline-end: -82px;
	top: -110px;
	width: 250px;
	height: 250px;
	border: 1px solid rgba(230, 179, 30, .2);
	border-radius: 50%;
	box-shadow: 0 0 0 34px rgba(230, 179, 30, .035), 0 0 0 68px rgba(255, 255, 255, .02);
	pointer-events: none;
	content: "";
}

.tfgp-calculator-heading {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
}

.tfgp-calculator-heading > div {
	min-width: 0;
}

.tfgp-calculator-head .tfgp-feature-icon {
	width: 56px;
	height: 56px;
	border-color: rgba(255, 255, 255, .34);
	border-radius: 18px;
	background: linear-gradient(145deg, #f8d96c, var(--tfgp-gold));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 13px 28px rgba(0, 0, 0, .22);
}

.tfgp-calculator-head .tfgp-feature-icon--calculator::before {
	top: 10px;
	width: 29px;
	height: 35px;
	border-color: #343434;
}

.tfgp-calculator-head .tfgp-feature-icon--calculator::after {
	top: 15px;
	width: 21px;
	height: 26px;
	background:
		linear-gradient(#343434, #343434) 0 0 / 100% 5px no-repeat,
		radial-gradient(circle, #343434 1.6px, transparent 1.9px) 0 10px / 8px 8px;
}

.tfgp-calculator-head .tfgp-eyebrow {
	margin-bottom: 3px;
	color: #f0c94f;
	font-size: .75rem;
}

.tfgp-calculator-head h3 {
	color: #fff;
	font-size: clamp(1.2rem, 2.5vw, 1.55rem);
	font-weight: 900;
}

.tfgp-calculator-rate {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	display: grid;
	gap: 4px;
	min-width: 190px;
	padding: 10px 13px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 14px;
	background: rgba(255, 255, 255, .08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
	backdrop-filter: blur(8px);
}

.tfgp-calculator-rate > span {
	display: flex;
	align-items: center;
	gap: 7px;
	color: rgba(255, 255, 255, .68);
	font-size: .7rem;
}

.tfgp-calculator-rate i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tfgp-gold);
	box-shadow: 0 0 0 4px rgba(230, 179, 30, .12);
}

.tfgp-calculator .tfgp-calculator-rate strong,
.tfgp-calculator .tfgp-calculator-rate strong .woocommerce-Price-amount,
.tfgp-calculator .tfgp-calculator-rate strong .woocommerce-Price-currencySymbol,
.tfgp-calculator .tfgp-calculator-rate strong bdi {
	color: var(--tfgp-gold) !important;
	font-size: .92rem;
	font-weight: 800;
	white-space: nowrap;
}

.tfgp-calculator .tfgp-calculator-rate strong small {
	margin-inline-start: 4px;
	color: rgba(255, 255, 255, .78) !important;
	font-size: .66rem;
	font-weight: 500;
}

.tfgp-calculator-section {
	margin-top: 12px;
	padding: clamp(14px, 2vw, 18px);
	border: 1px solid #e7e7e7;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 5px 16px rgba(52, 52, 52, .03);
}

.tfgp-calculator-section.is-primary {
	border-color: rgba(230, 179, 30, .62);
	background: linear-gradient(135deg, #fff 0%, #fff 55%, rgba(230, 179, 30, .075) 100%);
}

.tfgp-section-title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 12px;
	color: var(--tfgp-ink);
	font-size: .9rem;
}

.tfgp-section-title > span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(230, 179, 30, .45);
	border-radius: 10px;
	background: #343434;
	color: var(--tfgp-gold);
	font-size: .75rem;
	font-weight: 800;
}

.tfgp-section-title > div {
	display: grid;
	gap: 1px;
}

.tfgp-section-title strong {
	font-size: .9rem;
}

.tfgp-section-title small {
	color: var(--tfgp-muted);
	font-size: .69rem;
	font-weight: 400;
}

.tfgp-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.tfgp-form-grid label {
	display: grid;
	gap: 6px;
	margin: 0;
	color: var(--tfgp-ink);
	font-size: .8rem;
	font-weight: 650;
}

.tfgp-field-label {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tfgp-field-label small {
	color: #858585;
	font-size: .72rem;
	font-weight: 400;
}

.tfgp-form-grid input,
.tfgp-form-grid select,
.tfgp-input-control {
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 8px 11px;
	border: 1px solid #dcdcdc;
	border-radius: 12px;
	outline: 0;
	background: #fff;
	box-shadow: 0 2px 5px rgba(52, 52, 52, .035);
	color: var(--tfgp-ink);
	font: inherit;
	font-size: .9rem;
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.tfgp-input-control {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	padding: 0;
}

.tfgp-input-control input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	min-height: 44px;
	padding: 8px 11px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.tfgp-input-control > span {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	min-width: 50px;
	padding: 0 10px;
	border-inline-start: 1px solid #e6e6e6;
	background: #f8f8f8;
	color: #737373;
	font-size: .69rem;
	font-weight: 550;
}

.tfgp-form-grid > label > input:focus,
.tfgp-form-grid select:focus,
.tfgp-input-control:focus-within {
	border-color: var(--tfgp-gold);
	box-shadow: 0 0 0 3px rgba(230, 179, 30, .18);
	background: #fff;
}

.tfgp-input-control input:focus {
	outline: 0;
	box-shadow: none;
}

.tfgp-purity-presets {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px dashed rgba(52, 52, 52, .13);
}

.tfgp-purity-presets > span {
	margin-inline-end: 2px;
	color: var(--tfgp-muted);
	font-size: .75rem;
}

.tfgp-purity-presets button {
	min-height: 34px;
	margin: 0;
	padding: 5px 10px;
	border: 1px solid #dedede;
	border-radius: 10px;
	background: #fff;
	color: #5f5f5f;
	font: inherit;
	font-size: .72rem;
	font-weight: 650;
	line-height: 1.3;
	cursor: pointer;
	transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.tfgp-purity-presets button:hover,
.tfgp-purity-presets button.is-active {
	border-color: var(--tfgp-gold);
	background: #343434;
	box-shadow: 0 6px 14px rgba(52, 52, 52, .12);
	color: var(--tfgp-gold);
}

.tfgp-purity-presets button:active {
	transform: scale(.97);
}

.tfgp-extra-options {
	margin-top: 12px;
	padding: 0 14px;
	border: 1px solid #e2e2e2;
	border-radius: 14px;
	background: #fff;
}

.tfgp-extra-options summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 0;
	color: var(--tfgp-ink);
	font-size: .82rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.tfgp-extra-options summary::-webkit-details-marker {
	display: none;
}

.tfgp-extra-options summary > span {
	display: grid;
	gap: 2px;
}

.tfgp-extra-options summary small {
	color: var(--tfgp-muted);
	font-size: .7rem;
	font-weight: 400;
}

.tfgp-extra-options summary > b {
	padding: 4px 8px;
	border: 1px solid rgba(230, 179, 30, .5);
	border-radius: 99px;
	background: rgba(230, 179, 30, .09);
	color: #715800;
	font-size: .66rem;
	font-weight: 650;
}

.tfgp-extra-options[open] {
	padding-bottom: 14px;
}

.tfgp-extra-options[open] summary {
	margin-bottom: 12px;
	border-bottom: 1px solid #ededed;
}

.tfgp-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 50px;
	margin: 14px 0 0;
	padding: 9px 18px;
	border: 1px solid #343434;
	border-radius: 12px;
	background: #343434;
	box-shadow: 0 12px 26px rgba(52, 52, 52, .2);
	color: #fff;
	font: inherit;
	font-size: .91rem;
	font-weight: 750;
	cursor: pointer;
	transition: box-shadow .18s ease, transform .18s ease, opacity .18s ease;
}

.tfgp-button b {
	display: grid;
	place-items: center;
	width: 27px;
	height: 27px;
	border: 1px solid rgba(230, 179, 30, .6);
	border-radius: 9px;
	background: rgba(230, 179, 30, .1);
	color: var(--tfgp-gold-light);
	font-size: 1rem;
}

.tfgp-button b::before {
	content: "←";
}

.tfgp-button:hover {
	box-shadow: 0 14px 28px rgba(52, 52, 52, .24);
	transform: translateY(-1px);
}

.tfgp-button:disabled {
	opacity: .64;
	cursor: wait;
	transform: none;
}

.tfgp-calculator-result {
	margin-top: 14px;
}

.tfgp-calculator-result:empty {
	display: none;
}

.tfgp-calculator-result.is-error {
	display: block;
	padding: 11px 13px;
	border: 1px solid #f0cccc;
	border-radius: 11px;
	background: #fff4f4;
	color: var(--tfgp-danger);
	font-size: .84rem;
}

/* Product status and price breakdown. */
.tfgp-product-rate-group {
	direction: rtl;
	margin: 10px 0;
}

[data-tfgp-rate-context="shortcode"] + .tfgp-breakdown-wrap {
	margin-top: 12px;
}

.tfgp-product-rate {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0;
	padding: 10px 13px;
	border: 1px solid var(--tfgp-border);
	border-inline-start: 3px solid var(--tfgp-gold);
	border-radius: 12px;
	background: #fff;
	color: var(--tfgp-ink);
	font-size: .88rem;
}

.tfgp-product-rate small {
	margin-inline-start: auto;
	color: var(--tfgp-muted);
}

.tfgp-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #20a66a;
	box-shadow: 0 0 0 4px rgba(32, 166, 106, .12);
}

.tfgp-product-rate.is-stale .tfgp-dot {
	background: #d63638;
	box-shadow: 0 0 0 4px rgba(214, 54, 56, .12);
}

.tfgp-safety-message {
	margin: 8px 0 14px;
	padding: 10px 13px;
	border-radius: 10px;
	background: #fff1f0;
	color: #9f241f;
	font-size: .88rem;
}

.tfgp-breakdown-wrap {
	padding: clamp(16px, 3vw, 22px);
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(52, 52, 52, .07);
}

@supports selector(body:has([data-tfgp-replaces-auto])) {
	body:has([data-tfgp-replaces-auto]) [data-tfgp-breakdown-context="auto"] {
		display: none !important;
	}

	body:has([data-tfgp-replaces-auto]) [data-tfgp-rate-context="auto"] {
		display: none !important;
	}

	body:has([data-tfgp-rate-replaces-auto]) [data-tfgp-rate-context="auto"] {
		display: none !important;
	}
}

.tfgp-breakdown-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-bottom: 11px;
	border-bottom: 1px solid #ededed;
}

.tfgp-breakdown-title strong {
	color: var(--tfgp-ink);
	font-size: .94rem;
}

.tfgp-breakdown-title span {
	padding: 4px 8px;
	border-radius: 8px;
	border: 1px solid rgba(230, 179, 30, .45);
	background: rgba(230, 179, 30, .12);
	color: var(--tfgp-ink);
	font-size: .74rem;
}

.tfgp-breakdown th,
.tfgp-breakdown td {
	padding: 10px 4px;
	border: 0;
	border-bottom: 1px dashed var(--tfgp-border);
	text-align: start;
}

.tfgp-breakdown th {
	color: var(--tfgp-muted);
	font-size: .84rem;
	font-weight: 500;
}

.tfgp-breakdown td {
	color: var(--tfgp-ink);
	font-size: .86rem;
	font-weight: 650;
	text-align: end;
}

.tfgp-breakdown .tfgp-total th,
.tfgp-breakdown .tfgp-total td {
	padding-top: 14px;
	border-bottom: 0;
	color: var(--tfgp-ink);
	font-size: .98rem;
	font-weight: 800;
}

.tfgp-calculator-result .tfgp-breakdown-wrap {
	margin: 0;
	padding: clamp(14px, 2vw, 18px);
	border-color: #dedede;
	border-radius: 16px;
	background: #fff;
}

.tfgp-select-variation {
	padding: 8px;
	color: var(--tfgp-muted);
	text-align: center;
}

.tfgp-calculator :focus-visible,
.tfgp-table-wrap :focus-visible {
	outline: 3px solid rgba(230, 179, 30, .35);
	outline-offset: 2px;
}

@media (max-width: 680px) {
	.tfgp-rate-card--spot {
		grid-template-columns: 68px minmax(0, 1fr);
		gap: 15px;
		min-height: 175px;
		border-radius: 20px;
	}

	.tfgp-feature-icon--rate {
		width: 68px;
		height: 68px;
		border-radius: 19px;
	}

	.tfgp-feature-icon--rate::before {
		inset: 17px 15px 16px;
	}

	.tfgp-feature-icon--rate::after {
		inset: 18px 16px;
	}

	.tfgp-calculator-head {
		align-items: flex-start;
		gap: 14px;
		padding: 18px;
		flex-direction: column;
	}

	.tfgp-calculator-heading {
		width: 100%;
	}

	.tfgp-calculator-rate {
		width: 100%;
		min-width: 0;
	}

	.tfgp-calculator-head .tfgp-feature-icon {
		width: 50px;
		height: 50px;
		border-radius: 15px;
	}

	.tfgp-calculator-head .tfgp-feature-icon--calculator::before {
		top: 8px;
		width: 25px;
		height: 31px;
	}

	.tfgp-calculator-head .tfgp-feature-icon--calculator::after {
		top: 13px;
		width: 17px;
		height: 22px;
	}

	.tfgp-table-hero {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.tfgp-table-heading {
		width: 100%;
	}

	.tfgp-table-updated {
		max-width: 100%;
		justify-self: start;
		line-height: 1.65;
		white-space: normal;
	}

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

	.tfgp-purity-card {
		min-height: 200px;
	}

	.tfgp-breakdown-title {
		align-items: flex-start;
		flex-direction: column;
	}

	.tfgp-product-rate small {
		width: 100%;
		margin-inline-start: 0;
	}
}

@media (max-width: 520px) {
	.tfgp-form-grid {
		grid-template-columns: 1fr;
	}

	.tfgp-purity-grid {
		grid-template-columns: 1fr;
	}

	.tfgp-purity-card {
		min-height: 185px;
	}
}

@media (max-width: 420px) {
	.tfgp-rate-card--spot {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.tfgp-feature-icon--rate {
		margin: 0 auto;
	}

	.tfgp-updated {
		justify-content: center;
	}

	.tfgp-widget-head {
		align-items: flex-start;
	}

	.tfgp-table-heading {
		align-items: flex-start;
		gap: 12px;
	}

	.tfgp-table-hero {
		gap: 16px;
	}

	.tfgp-table-hero .tfgp-feature-icon {
		width: 52px;
		height: 52px;
		border-radius: 17px;
	}

	.tfgp-table-hero .tfgp-feature-icon--table::before {
		inset: 13px;
	}

	.tfgp-table-hero h3 {
		font-size: clamp(1.14rem, 6vw, 1.35rem);
	}

	.tfgp-purity-grid {
		grid-template-columns: 1fr;
	}

	.tfgp-purity-card {
		min-height: 185px;
	}

	.tfgp-calculator-heading {
		align-items: flex-start;
		gap: 11px;
	}

	.tfgp-calculator-head h3 {
		font-size: 1.18rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tfgp-purity-card,
	.tfgp-form-grid input,
	.tfgp-form-grid select,
	.tfgp-purity-presets button,
	.tfgp-button {
		transition: none;
	}
}
