/* GetnDrive FX Consumers 0.2.4: visual priority between a local price and its approximate equivalent (since 0.2.1). */
/* The area stands before its local amount and is displayed only while the equivalent is usable. Its typography is set by the connector from the amount it leads. */
.gnd-fx-eq { display: none; }
.gnd-fx-eq[data-gnd-fx-lead] { display: block; flex-basis: 100%; max-width: 100%; margin: 0; white-space: normal; overflow-wrap: break-word; }
.gnd-fx-eq [hidden] { display: none; }
dd.gnd-fx-eq { margin-left: 0; }
/* The original amount under a usable equivalent. !important: owners style their amounts with higher specificity, and this state must win only while the attribute exists. */
[data-gnd-fx-secondary] { color: #4b5b70 !important; font-weight: 500 !important; line-height: 1.3 !important; letter-spacing: normal !important; }
[data-gnd-fx-secondary="lg"] { font-size: 14px !important; }
[data-gnd-fx-secondary="sm"] { font-size: 12px !important; }
/* Card header on wider screens: the name and the price share one row, so the longer equivalent is capped and a long name may use one more line instead of being cut. */
@media (min-width: 651px) {
	.gnd-card-header .gnd-fx-eq[data-gnd-fx-lead] { font-size: clamp(1.05rem, 1.45vw, 1.2rem) !important; }
	.gnd-card-header:has(.gnd-fx-eq[data-gnd-fx-lead]) .sch-demo-vehicle-card__title { -webkit-line-clamp: 3 !important; line-clamp: 3 !important; }
}
/* Narrow two-column catalog: no room for a name beside the longer equivalent, so the price moves under the name, as the card already does on phones. */
@media (min-width: 651px) and (max-width: 860px) {
	.gnd-card-header:has(.gnd-fx-eq[data-gnd-fx-lead]) { grid-template-columns: minmax(0, 1fr) !important; }
	.gnd-card-header:has(.gnd-fx-eq[data-gnd-fx-lead]) > .gnd-card-prices { grid-column: 1 !important; grid-row: auto !important; justify-self: start !important; text-align: left !important; }
	.gnd-card-header:has(.gnd-fx-eq[data-gnd-fx-lead]) .gnd-card-price--day { align-items: flex-start !important; }
	.gnd-card-header .gnd-fx-eq[data-gnd-fx-lead] { text-align: left !important; }
}
/* Georgian request summary: label and equivalent on the first line, the original amount right-aligned under them. */
.gnd-ge-checkout__lines dd.gnd-fx-eq[data-gnd-fx-lead] { flex-basis: auto; margin-left: auto; }
.gnd-ge-checkout__lines dd[data-gnd-fx-secondary] { flex-basis: 100%; margin: 0; text-align: right; }
/* 0.2.3: an area inside a table / list cell sits above the cell's own amount. */
td > .gnd-fx-eq[data-gnd-fx-lead], th > .gnd-fx-eq[data-gnd-fx-lead], li > .gnd-fx-eq[data-gnd-fx-lead] { display: block; }
/* 0.2.3: section lines — "conversion unavailable" (top of the section) and, in a summary, the payment currency (end). */
.gnd-fx-line { box-sizing: border-box; max-width: 100%; margin: 8px 0; color: #334155; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.gnd-fx-line--fallback { padding: 8px 12px; border-radius: 8px; background: #f1f5f9; }
.gnd-fx-line--pay { margin-top: 6px; color: #4b5b70; font-size: 12px; }
/* 0.2.3: a value that is more than one amount (words around it, several amounts): each equivalent stays in the line and its original follows in brackets. */
.gnd-fx-inline .gnd-fx-eq[data-gnd-fx-lead] { display: inline; flex-basis: auto; }
.gnd-fx-inline [data-gnd-fx-secondary]::before { content: " ("; }
.gnd-fx-inline [data-gnd-fx-secondary]::after { content: ")"; }
/* 0.2.4: a money phrase inside partner prose. The equivalent replaces the phrase in the sentence; the original follows in brackets. */
.gnd-fx-prose__probe { display: none !important; }
.gnd-fx-prose__eq { font-weight: 600; }
.gnd-fx-prose[data-gnd-fx-on] > .gnd-fx-prose__orig { color: #4b5b70; }
.gnd-fx-prose[data-gnd-fx-on] > .gnd-fx-prose__orig::before { content: " ("; }
.gnd-fx-prose[data-gnd-fx-on] > .gnd-fx-prose__orig::after { content: ")"; }
