/* Truth Trade Core: order forms */
.tt-qs, .tt-order { --b: #0068D3; --bd: #00509F; --y: #FEC42D; --ink: #0B1B33; --sl: #46546B; --mu: #5B6B82; --ln: #CBD3DF; --tint: #EAF3FC; }
.tt-qs *, .tt-order * { box-sizing: border-box; }
.tt-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tt-field label { font-size: 13px; font-weight: 600; color: #33415C; }
.tt-field label em { font-weight: 400; color: var(--mu); font-style: normal; }
.tt-field input, .tt-field select {
	height: 46px; width: 100%; border: 1.5px solid var(--ln); border-radius: 8px; padding: 0 12px;
	font: inherit; font-size: 16px; color: var(--ink); background: #fff; margin: 0;
}
.tt-field input:focus, .tt-field select:focus { outline: 3px solid rgba(0,104,211,.25); border-color: var(--b); }
.tt-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 1px; text-transform: uppercase; }
.tt-help { font-size: 12px; color: var(--mu); }
.tt-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tt-vin-result { font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 8px; }
.tt-vin-result small { font-weight: 400; opacity: .8; }
.tt-vin-result.is-ok { background: var(--tint); color: var(--bd); }
.tt-vin-result.is-wait { background: #F3F6FA; color: var(--mu); }
.tt-vin-result.is-bad { background: #FDECEC; color: #9B1C1C; }
.tt-vin-result.is-warn { background: #FFF6DB; color: #5A4300; }
.tt-rush { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--ln); border-radius: 10px; cursor: pointer; background: #fff; }
.tt-rush input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--b); margin: 0; }
.tt-rush span { display: flex; flex-direction: column; gap: 2px; }
.tt-rush strong { font-size: 15px; color: var(--ink); }
.tt-rush small { font-size: 13px; color: var(--mu); }
.tt-cta {
	display: block; width: 100%; height: 56px; border: 0; border-radius: 10px; background: var(--y); color: var(--ink);
	font: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
}
.tt-cta:hover { background: #F5B400; }

/* Quick start (hero) */
.tt-qs { background: #fff; color: var(--ink); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 60px rgba(0,30,70,.35); }
.tt-qs p { color: var(--mu); }
.tt-qs__head { display: flex; justify-content: space-between; align-items: baseline; }
.tt-qs__title { margin: 0 !important; font-size: 26px !important; color: var(--ink) !important; }
.tt-qs__step { font-size: 13px; font-weight: 600; color: var(--mu); }
.tt-progress { height: 4px; border-radius: 4px; background: #E3E8EF; display: flex; }
.tt-progress span { border-radius: 4px; background: var(--b); }
.tt-qs__error { margin: 0; padding: 10px 12px; border-radius: 8px; background: #FDECEC; color: #9B1C1C !important; font-size: 14px; font-weight: 600; }
.tt-qs__multi { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--b) !important; text-align: center; }
.tt-qs__secure, .tt-qs__states { margin: 0; text-align: center; font-size: 12px; }

/* Order page */
.tt-order { display: flex; gap: 48px; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding: 56px 24px 96px; }
.tt-order__main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.tt-order__intro h1 { font-size: clamp(32px, 4vw, 44px); margin: 0 0 10px; }
.tt-order__intro p { margin: 0; font-size: 17px; color: var(--sl); }
.tt-order__states { font-size: 13px; color: var(--mu); margin: 0; }
.tt-banner { padding: 14px 18px; border-radius: 10px; font-size: 15px; }
.tt-banner.is-hint { background: #FFF6DB; border: 1px solid #F3D476; color: #5A4300; }
.tt-banner.is-ok { background: var(--tint); border: 1px solid #B9D6F5; color: var(--bd); font-weight: 600; }
.tt-banner.is-error { background: #FDECEC; border: 1px solid #F3B4B4; color: #9B1C1C; font-weight: 600; }
.tt-cars { display: flex; flex-direction: column; gap: 18px; }
.tt-car { background: #fff; border: 1px solid #E1E6EE; border-radius: 14px; padding: 22px 26px; display: flex; flex-direction: column; gap: 16px; }
.tt-car__head { display: flex; align-items: center; gap: 14px; }
.tt-car__num { width: 36px; height: 36px; border-radius: 50%; background: var(--b); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Archivo Black', sans-serif; flex-shrink: 0; }
.tt-car__name { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.tt-car__name strong { font-size: 17px; }
.tt-car__name small { font-size: 13px; color: var(--mu); }
.tt-car__price { font-size: 14px; font-weight: 700; white-space: nowrap; }
.tt-car__price.is-deal { color: var(--b); }
.tt-car__remove { width: 40px; height: 40px; border: 1px solid #E1E6EE; border-radius: 8px; background: #fff; color: var(--mu); cursor: pointer; font-size: 16px; }
.tt-car__remove:hover { background: #FDECEC; color: #9B1C1C; }
.tt-car__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.tt-full { grid-column: 1 / -1; }
.tt-addcar { height: 64px; border: 2px dashed var(--b); border-radius: 14px; background: #fff; color: var(--b); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.tt-addcar:disabled { opacity: .6; cursor: default; font-size: 14px; }
.tt-order__side { width: 400px; flex-shrink: 0; position: sticky; top: 24px; }
.tt-summary { background: #fff; border: 1px solid #E1E6EE; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 30px rgba(0,50,110,.06); }
.tt-summary h2 { margin: 0; font-size: 22px; }
.tt-summary__lines div, .tt-summary__save, .tt-summary__total { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.tt-summary__lines { display: flex; flex-direction: column; gap: 8px; color: var(--sl); }
.tt-summary__save { font-size: 14px; font-weight: 700; color: var(--b); }
.tt-summary__total { border-top: 1px solid #EDF0F5; padding-top: 14px; align-items: baseline; }
.tt-summary__total span { font-family: 'Archivo Black', sans-serif; font-size: 32px; }
.tt-summary__note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--mu); background: var(--tint); border-radius: 10px; padding: 14px 16px; }
.tt-summary__missing { padding: 14px; border: 1.5px dashed #9FB0C7; border-radius: 10px; color: var(--mu); font-size: 14px; }
.tt-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--sl); cursor: pointer; }
.tt-agree input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--b); }
.tt-summary__secure { margin: 0; text-align: center; font-size: 12px; color: var(--mu); }
.tt-cta:disabled { opacity: .7; cursor: wait; }

/* Thank-you page */
.tt-thanks { max-width: 680px; margin: 0 auto; padding: 72px 24px 104px; text-align: center; }
.tt-thanks__check { width: 72px; height: 72px; border-radius: 50%; background: #0068D3; color: #fff; font-size: 36px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.tt-thanks h1 { margin: 0 0 16px; }
.tt-thanks__lead { font-size: 18px; color: #46546B; }
.tt-thanks__steps { text-align: left; background: #fff; border: 1px solid #E1E6EE; border-radius: 14px; padding: 24px 24px 24px 48px; margin: 32px 0; display: flex; flex-direction: column; gap: 12px; color: #46546B; }
.tt-thanks__steps strong { color: #0B1B33; }

@media (max-width: 1024px) {
	.tt-order { flex-direction: column; padding: 32px 16px 64px; gap: 28px; }
	.tt-order__side { width: 100%; position: static; }
}
@media (max-width: 640px) {
	.tt-qs { padding: 22px; }
	.tt-car { padding: 18px; }
}
.tt-qs .tt-cta, .tt-order .tt-cta { background: #FEC42D !important; color: #0B1B33 !important; border: 0 !important; border-radius: 10px !important; box-shadow: none !important; }
.tt-qs .tt-cta:hover, .tt-order .tt-cta:hover { background: #F5B400 !important; }
.tt-mono::placeholder { text-transform: none; letter-spacing: 0; font-family: Archivo, system-ui, sans-serif; }
.tt-qs .tt-field input, .tt-qs .tt-field select, .tt-order .tt-field input, .tt-order .tt-field select {
	border: 1.5px solid #CBD3DF !important; border-radius: 8px !important; background-color: #fff !important; height: 46px !important; padding: 0 12px !important; box-shadow: none !important;
}
.tt-qs .tt-field input:focus, .tt-qs .tt-field select:focus, .tt-order .tt-field input:focus, .tt-order .tt-field select:focus { border-color: #0068D3 !important; outline: 3px solid rgba(0,104,211,.2) !important; }
@media (max-width: 640px) {
	.tt-car__head { flex-wrap: wrap; row-gap: 6px; }
	.tt-car__name { flex: 1 1 calc(100% - 110px); }
	.tt-car__price { order: 3; width: 100%; padding-left: 50px; }
}
.tt-bluebg .tt-qs p, .tt-bluebg .tt-qs .tt-help { color: #5B6B82 !important; }
.tt-bluebg .tt-qs .tt-qs__error { color: #9B1C1C !important; }

.tt-qs [hidden], .tt-order [hidden] { display: none !important; }
.tt-field__hint { font-size: 12px; color: var(--mu); }

.tt-hint { display: block; margin-top: 6px; font-size: 13px; color: #5b6573; line-height: 1.4; }
/* Order page: one field per row on phones so selects and placeholders aren't cut off. */
@media (max-width: 560px) {
	.tt-car__grid { grid-template-columns: minmax(0, 1fr); }
}
.tt-vl-msg:not([hidden]) { display: block; margin-top: 4px; color: var(--bd); font-weight: 500; line-height: 1.45; }

/* Thank-you page: "What happens next" (theme colors and fonts, with fallbacks) */
.tt-thanks { color: var(--tt-ink, #0B1B33); }
.tt-next { text-align: left; background: #fff; border: 1px solid var(--tt-line, #E1E6EE); border-radius: 14px; padding: 28px 28px 30px; margin: 32px 0 24px; }
.tt-next__title { margin: 0 0 20px !important; font-family: var(--wp--preset--font-family--archivo-black, 'Archivo Black', sans-serif); font-weight: 400; font-size: 22px !important; color: var(--tt-ink, #0B1B33); }
.tt-next__list { list-style: none; margin: 0; padding: 0 !important; counter-reset: ttn; display: flex; flex-direction: column; gap: 18px; }
.tt-next__list li { counter-increment: ttn; position: relative; padding-left: 52px; min-height: 36px; font-size: 16px; line-height: 1.55; color: var(--tt-slate, #46546B); margin: 0; }
.tt-next__list li::before { content: counter(ttn); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--tt-blue, #0068D3); color: #fff; font-family: var(--wp--preset--font-family--archivo-black, 'Archivo Black', sans-serif); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.tt-next__list li:last-child::before { background: var(--tt-yellow, #FEC42D); color: var(--tt-ink, #0B1B33); }
.tt-next__list strong { display: block; color: var(--tt-ink, #0B1B33); font-size: 17px; margin-bottom: 2px; }
.tt-next__list a, .tt-thanks a { color: var(--tt-blue, #0068D3); }
@media (max-width: 640px) {
	.tt-thanks { padding: 48px 16px 72px; }
	.tt-next { padding: 22px 18px; }
}

/* 404 page buttons (replace the theme's search form) */
.tt-404-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px !important; }
