/* Trans-Tech Decal Storefront — Find Your Decal
 * Official AAR S-910 stencil font ("AAR") headings, Trans-Tech maroon/gold. Scoped under .ttds-
 * to avoid colliding with theme/Elementor styles. */

/* Self-contained font: bundled with the plugin so it works regardless of the
 * child theme / Batch-1 mu-plugin. Relative URL resolves to assets/fonts/.
 * 2026-08-28: aar-s910.woff2/woff are the OFFICIAL AAR S-910 stencil font
 * (AARS910v8152021, from the client) — replaced Railroad Gothic CC, and renamed the
 * files (was aar.woff2/woff) so browsers can't serve a stale cached copy of the old
 * font under the same URL. That font
 * ships as a single Regular (weight 400) master — which is the correct real
 * railcar-stencil weight — so we declare font-weight: 100 900 here: the one file
 * answers every weight this plugin requests (400 and 700) with its own outlines,
 * with NO faux-bold synthesis that would thicken and distort the stencil letters. */
@font-face {
	font-family: "AAR";
	src: url("fonts/aar-s910.woff2") format("woff2"),
	     url("fonts/aar-s910.woff") format("woff");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--ttds-maroon: #7a1420;
	--ttds-maroon-d: #5c0f18;
	--ttds-gold: #c69a4e;
	--ttds-gold-d: #a97f38;
	--ttds-ink: #23201e;
	--ttds-paper: #fffdf9;
	--ttds-line: #e7ddcb;
	--ttds-shadow: 0 18px 50px rgba(40, 12, 16, .28);
}

/* Universal Anti-Theme Reset Shield:
   Guarantees 100% isolation from WordPress/Elementor theme styles (e.g. pink buttons or borders). */
.ttds-overlay button,
.ttds-card button,
.ttds-drawer button,
.ttds-pick button,
.ttds-cart-fab,
.ttds-lb button,
.ttds-qual-wrap button,
.ttds-overlay input,
.ttds-card input,
.ttds-drawer input,
.ttds-pick input,
.ttds-qual-wrap input,
.ttds-overlay a,
.ttds-card a,
.ttds-drawer a,
.ttds-pick a {
	outline-color: var(--ttds-gold) !important;
	accent-color: var(--ttds-maroon) !important;
}
.ttds-overlay button:hover,
.ttds-card button:hover,
.ttds-drawer button:hover,
.ttds-pick button:hover,
.ttds-overlay button:focus,
.ttds-card button:focus,
.ttds-drawer button:focus,
.ttds-pick button:focus,
.ttds-overlay button:active,
.ttds-card button:active,
.ttds-drawer button:active,
.ttds-pick button:active {
	outline-color: var(--ttds-gold) !important;
}

/* Make the existing hotspot dots read as clickable "shop" targets */
.ttds-active .e-hotspot__button { cursor: pointer; }
.ttds-active .e-hotspot__outer-circle,
.ttds-active .e-hotspot__inner-circle { transition: transform .15s ease, box-shadow .15s ease; }
.ttds-active .e-hotspot:hover .e-hotspot__outer-circle { transform: scale(1.25); box-shadow: 0 0 0 4px rgba(198, 154, 78, .35); }

/* ---------- shared ---------- */
.ttds-font { font-family: "AAR", "Oswald", "Arial Narrow", sans-serif; letter-spacing: .5px; }

.ttds-overlay {
	position: fixed; inset: 0; z-index: 100000;
	background: rgba(30, 8, 12, .55); backdrop-filter: blur(2px);
	display: flex; align-items: center; justify-content: center;
	padding: 20px; opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.ttds-overlay.ttds-open { opacity: 1; pointer-events: auto; }

.ttds-card {
	background: var(--ttds-paper); color: var(--ttds-ink);
	width: 100%; max-width: 460px; border-radius: 12px; overflow: hidden;
	box-shadow: var(--ttds-shadow); transform: translateY(14px) scale(.98);
	transition: transform .2s ease; max-height: 92vh; display: flex; flex-direction: column;
}
.ttds-overlay.ttds-open .ttds-card { transform: none; }

.ttds-card__head {
	background: linear-gradient(135deg, var(--ttds-maroon), var(--ttds-maroon-d));
	color: #fff; padding: 18px 22px; position: relative;
}
.ttds-card__head h3 {
	margin: 0; font-family: "AAR", "Oswald", "Arial Narrow", sans-serif;
	font-size: 26px; line-height: 1.05; letter-spacing: .5px; text-transform: uppercase; color: #fff;
}
.ttds-card__head .ttds-sub { margin-top: 4px; font-size: 13px; opacity: .85; }
.ttds-close {
	/* !important throughout: the theme's own reset.css puts a generic pink (#cc3366)
	   border/color on every `button`/[type=button] element, tied in specificity with
	   these rules and winning on source order — same fight the decal-search picker
	   already had to win elsewhere in this file. Locking these down so the close
	   button can't silently go pink again if the theme's CSS ever changes order. */
	position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
	border: none !important; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff !important;
	font-size: 20px; line-height: 1; cursor: pointer; transition: background .15s, color .15s;
}
.ttds-close:hover,
.ttds-close:focus { background: var(--ttds-gold) !important; color: var(--ttds-maroon) !important; }

.ttds-card__body { padding: 20px 22px; overflow-y: auto; }
.ttds-card__foot { padding: 16px 22px; border-top: 1px solid var(--ttds-line); background: #fff; }

/* UNUSED as of 2026-08-20 — the Photoreal/Simple compare switch this styled is gone now that
   SIMPLE mode is disabled (decision made: full-train/photoreal only). Left in case it's ever
   needed again for a future preview-style decision. */
.ttds-modesw {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	margin: 0 0 10px; padding: 8px 10px; border: 1.5px dashed var(--ttds-line);
	border-radius: 8px; background: #fbf8f2;
}
.ttds-modesw__lab { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #a99; }
.ttds-modesw__row { display: flex; gap: 4px; flex: 0 0 auto; }
.ttds-modesw__btn {
	border: 1.5px solid var(--ttds-line); background: #fff; color: var(--ttds-maroon);
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
	padding: 5px 10px; border-radius: 6px; cursor: pointer; transition: background .12s, color .12s;
}
.ttds-modesw__btn:hover { background: #faf3e6; }
.ttds-modesw__btn.is-on { background: var(--ttds-maroon); border-color: var(--ttds-maroon); color: #fff; }

/* "Finish" choice buttons — currently just Reflective / Non-Reflective on the tank's 9"
   Reporting Mark. Real customer-facing control (unlike .ttds-modesw above), styled like the
   rest of the form rather than as a dev tool. Same theme-reset fight as the other real
   <button> elements in this file (.ttds-close/.ttds-btn/.ttds-pick__item) — this one had
   never been locked down, so it was exposed to the theme's pink border/text/hover-fill. */
.ttds-choice-row { display: flex; gap: 8px; }
.ttds-choice-btn {
	flex: 1; border: 1.5px solid var(--ttds-line) !important; background: #fff; color: var(--ttds-maroon) !important;
	font-family: "AAR", "Oswald", sans-serif; font-size: 13px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .4px; padding: 10px 12px; border-radius: 8px;
	cursor: pointer; transition: background .12s, color .12s;
}
.ttds-choice-btn:hover,
.ttds-choice-btn:focus { background: #faf3e6 !important; color: var(--ttds-maroon) !important; }
.ttds-choice-btn.is-on { background: var(--ttds-maroon) !important; border-color: var(--ttds-maroon) !important; color: #fff !important; }

/* ---------- live preview ---------- */
.ttds-pv { margin: -4px 0 18px; }
.ttds-pv__stage {
	position: relative; width: 100%; overflow: hidden; border-radius: 10px;
	background: #eceae4;
	border: 1px solid var(--ttds-line); box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
}
.ttds-pv__img { position: absolute; top: 0; left: 0; max-width: none; user-select: none; pointer-events: none; }
/* 2026-08-27: simple-mode box — same element/positioning as the photo <img> above (see
   buildPreviewPhoto in storefront.js), just a flat color instead of a photo. Texture purely for
   visual effect, not meant to read as a literal photo: a top-lit/bottom-shaded sheen (suggests
   the curve of a tank car), low-opacity so the actual body color (set as backgroundColor,
   per-color, in JS) still reads clearly through it, on every color. Kept as a CSS layer (not an
   image) so this mode stays true to its whole point: zero art files, any color works instantly.
   2026-08-28: the rivet-line ::before/::after that used to flank the text were removed per
   feedback — the plain sheen box reads cleaner, and the centered text is bigger now that nothing
   crowds it above/below. */
.ttds-pv__img--simple {
	position: absolute;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
	transition: background-color .15s;
	background-image: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .04) 18%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .16) 100%);
}
.ttds-pv__cover { position: absolute; display: none; pointer-events: none; }
.ttds-pv__text {
	position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
	font-family: "AAR", "Oswald", "Arial Narrow", sans-serif; font-weight: 700;
	letter-spacing: 1px; line-height: 1; text-transform: uppercase; pointer-events: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
}
.ttds-pv__text.is-ghost { opacity: .4; }
.ttds-pv__cap {
	text-align: center; font-size: 11px; letter-spacing: .6px; text-transform: uppercase;
	color: #a99; margin-top: 6px; font-weight: 700;
}

/* SIMPLE preview mode — UNUSED as of 2026-08-20 (decision made to go full-train/photoreal
   only; buildPreviewSimple() is commented out in storefront.js). Left here in case it ever
   comes back — these rules just have nothing to apply to right now. */
.ttds-pv--simple .ttds-pv__simple-strip {
	position: relative; width: 100%; aspect-ratio: 3.4 / 1; border-radius: 10px;
	overflow: hidden; display: flex; align-items: center; justify-content: center;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 1px 3px rgba(0, 0, 0, .25);
	transition: background-color .15s ease;
}
.ttds-pv__simple-notch {
	position: absolute; left: 6%; top: 50%; width: 9%; aspect-ratio: 1 / 1.3;
	transform: translateY(-50%); border: 2px solid rgba(255, 255, 255, .22);
	border-radius: 6px; pointer-events: none;
}
.ttds-pv__simple-seam {
	position: absolute; right: 14%; top: 8%; bottom: 8%; width: 1px;
	background: rgba(255, 255, 255, .18); pointer-events: none;
}
.ttds-pv__simple-text {
	position: relative; z-index: 1; max-width: 82%; padding: 0 4%;
	font-family: "AAR", "Oswald", "Arial Narrow", sans-serif; font-weight: 700;
	letter-spacing: 1.5px; text-transform: uppercase; text-align: center;
	font-size: clamp(20px, 6vw, 40px); line-height: 1.05;
	overflow-wrap: break-word; text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.ttds-pv__simple-text.is-ghost { opacity: .38; }

/* preview controls (color swatches + font chips) */
.ttds-pv__ctl { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.ttds-pv__ctl-lab {
	flex: 0 0 auto; width: 70px; font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .7px; color: var(--ttds-maroon);
}
.ttds-sw-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ttds-sw {
	width: 26px; height: 26px; border-radius: 50%; cursor: pointer; padding: 0;
	border: 2px solid #fff; box-shadow: 0 0 0 1px var(--ttds-line); transition: transform .12s, box-shadow .12s;
}
.ttds-sw:hover { transform: scale(1.12); }
.ttds-sw.is-on { box-shadow: 0 0 0 2px var(--ttds-gold-d); transform: scale(1.12); }

/* ---------- form ---------- */
.ttds-field { margin-bottom: 16px; }
.ttds-field:last-child { margin-bottom: 0; }
.ttds-label {
	display: flex; justify-content: space-between; align-items: baseline;
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px;
	color: var(--ttds-maroon); margin-bottom: 6px;
}
.ttds-counter { font-weight: 600; color: #a99; font-size: 11px; }
.ttds-counter.ttds-max { color: var(--ttds-gold-d); }
.ttds-input, .ttds-textarea {
	width: 100%; box-sizing: border-box; border: 1.5px solid var(--ttds-line);
	border-radius: 8px; padding: 11px 13px; font-size: 15px; color: var(--ttds-ink);
	background: #fff; transition: border-color .15s, box-shadow .15s; font-family: inherit;
}
.ttds-input:focus, .ttds-textarea:focus {
	outline: none; border-color: var(--ttds-gold);
	box-shadow: 0 0 0 3px rgba(198, 154, 78, .22);
}
.ttds-input.ttds-decaltext {
	font-family: "AAR", "Oswald", monospace; font-size: 20px; letter-spacing: 1px; text-align: center;
}
.ttds-textarea { resize: vertical; min-height: 60px; }

.ttds-row { display: flex; gap: 14px; }
.ttds-row .ttds-field { flex: 1; }

/* quantity stepper */
.ttds-qty { display: flex; align-items: stretch; max-width: 150px; }
/* Same theme-reset fight as every other <button> in this file — and the one the v0.11.7 pink
   audit missed. reset.css loads AFTER this file, so on any specificity tie the theme wins: its
   `button:focus { background:#cc3366; color:#fff }` turned the +/- button solid pink the moment
   it was clicked (the old rule only styled :hover, not :focus, and without !important). Locked
   border/background/color for rest, hover AND focus, same as .ttds-qtymini below. */
.ttds-qty button {
	width: 42px; border: 1.5px solid var(--ttds-line) !important; background: #fff !important; color: var(--ttds-maroon) !important;
	font-size: 20px; cursor: pointer; transition: background .12s;
}
.ttds-qty button:hover,
.ttds-qty button:focus { background: #faf3e6 !important; color: var(--ttds-maroon) !important; }
.ttds-qty button:first-child { border-radius: 8px 0 0 8px; border-right: none !important; }
.ttds-qty button:last-child { border-radius: 0 8px 8px 0; border-left: none !important; }
.ttds-qty input {
	width: 60px; text-align: center; border: 1.5px solid var(--ttds-line); border-left: none; border-right: none;
	font-size: 16px; font-weight: 700; color: var(--ttds-ink); -moz-appearance: textfield;
}
.ttds-qty input::-webkit-outer-spin-button, .ttds-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ttds-meta { font-size: 13px; color: #776; margin: -4px 0 16px; }
.ttds-meta b { color: var(--ttds-ink); }

/* ---------- buttons ---------- */
.ttds-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: none; border-radius: 9px; padding: 13px 20px; font-size: 15px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .6px; cursor: pointer; transition: transform .1s, filter .15s;
	font-family: "AAR", "Oswald", sans-serif;
}
.ttds-btn:active { transform: translateY(1px); }
/* Same theme-reset fight as .ttds-close above — the theme's [type=button] rule was
   putting a pink (#cc3366) border + text color on this button, and turning it solid
   pink on hover/focus, despite this rule already saying `border: none` and a real
   text color. !important locks both states to on-brand white instead. */
.ttds-btn--gold { background: linear-gradient(135deg, var(--ttds-gold), var(--ttds-gold-d)); color: #fff !important; width: 100%; border: none !important; }
.ttds-btn--gold:hover,
.ttds-btn--gold:focus { filter: brightness(1.06); color: #fff !important; }
.ttds-btn--maroon { background: linear-gradient(135deg, var(--ttds-maroon), var(--ttds-maroon-d)); color: #fff !important; width: 100%; border: none !important; }
.ttds-btn--maroon:hover,
.ttds-btn--maroon:focus { filter: brightness(1.1); color: #fff !important; }
.ttds-btn--ghost { background: transparent; color: var(--ttds-maroon) !important; border: 1.5px solid var(--ttds-line) !important; }
.ttds-btn--ghost:hover,
.ttds-btn--ghost:focus { background: #faf3e6 !important; color: var(--ttds-maroon) !important; }
.ttds-btn[disabled] { opacity: .5; cursor: not-allowed; filter: none; }

/* ---------- floating cart ---------- */
/* Same theme-reset fight as the rest of this file, and the highest-impact one — this button
   is on screen the whole time. Its icon is `stroke="currentColor"`, so an unlocked `color`
   meant the icon itself (not just a hover state) was exposed to the theme's pink text color.
   No :hover/:focus rule existed at all before, so the theme's solid-pink hover fill was fully
   unopposed too. */
.ttds-cart-fab {
	position: fixed; right: 22px; bottom: 22px; z-index: 99998;
	width: 62px; height: 62px; border-radius: 50%; border: none !important; cursor: pointer;
	background: linear-gradient(135deg, var(--ttds-maroon), var(--ttds-maroon-d));
	color: #fff !important; box-shadow: var(--ttds-shadow); display: flex; align-items: center; justify-content: center;
	transform: scale(0); transition: transform .25s cubic-bezier(.2, 1.4, .4, 1);
}
.ttds-cart-fab:hover,
.ttds-cart-fab:focus {
	background: linear-gradient(135deg, var(--ttds-maroon), var(--ttds-maroon-d)) !important;
	color: #fff !important; filter: brightness(1.08);
}
.ttds-cart-fab.ttds-show { transform: scale(1); }
.ttds-cart-fab svg { width: 26px; height: 26px; }
.ttds-cart-fab .ttds-badge {
	position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px;
	border-radius: 12px; background: var(--ttds-gold); color: #3a2a08; font-size: 13px; font-weight: 800;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
@keyframes ttds-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.ttds-cart-fab.ttds-bump { animation: ttds-pop .35s ease; }

/* cart drawer */
.ttds-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 99999; width: 400px; max-width: 92vw;
	background: var(--ttds-paper); box-shadow: var(--ttds-shadow); display: flex; flex-direction: column;
	transform: translateX(105%); transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.ttds-drawer.ttds-open { transform: none; }
.ttds-drawer__head {
	background: linear-gradient(135deg, var(--ttds-maroon), var(--ttds-maroon-d)); color: #fff;
	padding: 20px 22px; display: flex; align-items: center; justify-content: space-between;
}
.ttds-drawer__head h3 { margin: 0; font-family: "AAR", "Oswald", sans-serif; font-size: 24px; text-transform: uppercase; letter-spacing: .5px; color: #fff; }
.ttds-drawer__body { flex: 1; overflow-y: auto; padding: 14px 18px; }
.ttds-drawer__foot { padding: 16px 18px; border-top: 1px solid var(--ttds-line); background: #fff; }

.ttds-line {
	display: flex; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--ttds-line);
}
.ttds-line__main { flex: 1; min-width: 0; }
.ttds-line__name { font-weight: 700; color: var(--ttds-ink); font-size: 15px; }
.ttds-line__spec { font-size: 13px; color: #776; margin-top: 2px; }
.ttds-line__spec .ttds-txt { font-family: "AAR", "Oswald", monospace; color: var(--ttds-maroon); font-weight: 700; letter-spacing: .5px; }
/* 2026-08-28: structured order-sheet summary for a Tank Qualification line -- was one long
   pipe-joined text blob (formatQualSummary()), now a real row-by-row list matching the same
   data shown in the admin record/email tables elsewhere in this plugin. */
.ttds-line__qual { margin-top: 3px; font-size: 12.5px; }
.ttds-line__qual-spec { font-weight: 700; color: var(--ttds-maroon); letter-spacing: .3px; margin-bottom: 3px; }
.ttds-line__qual-row { display: flex; gap: 8px; padding: 1px 0; }
.ttds-line__qual-lbl { flex: 0 0 auto; color: #998; }
.ttds-line__qual-lbl::after { content: ':'; }
.ttds-line__qual-val { font-family: "AAR", "Oswald", monospace; color: var(--ttds-ink); font-weight: 600; letter-spacing: .3px; }
.ttds-line__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ttds-line__qty { font-weight: 800; color: var(--ttds-maroon); font-size: 15px; }
/* #b06 (-> #bb0066) was an actual authored pink, not the theme's fault -- nobody meant for
   "Remove"/"Clear all" to read as pink. Switched to the brand maroon, !important-locked same
   as everything else here since it's a real <button> and had no hover override at all.
   2026-09-01: also lock background to the lighter wash (theme's button:hover{background:#cc3366}
   would otherwise win on source order and turn the link solid pink on hover). */
.ttds-line__rm { background: none !important; border: none !important; color: var(--ttds-maroon) !important; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.ttds-line__rm:hover,
.ttds-line__rm:focus { background: rgba(122,20,32,.08) !important; color: var(--ttds-maroon-d) !important; }

/* order-sheet per-line quantity stepper + actions */
.ttds-qtymini { display: inline-flex; align-items: center; border: 1.5px solid var(--ttds-line); border-radius: 7px; overflow: hidden; background: #fff; }
.ttds-qtymini button { width: 28px; height: 28px; border: none !important; background: #fff; color: var(--ttds-maroon) !important; font-size: 17px; line-height: 1; cursor: pointer; transition: background .12s; }
.ttds-qtymini button:hover,
.ttds-qtymini button:focus { background: #faf3e6 !important; color: var(--ttds-maroon) !important; }
.ttds-qtymini__n { min-width: 26px; text-align: center; font-weight: 800; font-size: 14px; color: var(--ttds-ink); }
.ttds-line__acts { display: flex; gap: 12px; align-items: center; }
.ttds-line__edit { background: none !important; border: none !important; color: var(--ttds-maroon) !important; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.ttds-line__edit:hover,
.ttds-line__edit:focus { background: rgba(122,20,32,.08) !important; color: var(--ttds-maroon-d) !important; }

/* "know the name?" decal search picker */
.ttds-pick { margin: 14px auto 0; max-width: 460px; position: relative; z-index: 50; }
.ttds-pick--float { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: 92%; max-width: 460px; z-index: 99997; }
.ttds-pick__box { position: relative; }
.ttds-pick__input {
	width: 100%; box-sizing: border-box; border: 1.5px solid var(--ttds-line); border-radius: 10px;
	padding: 12px 16px; font-size: 15px; font-family: inherit; color: var(--ttds-ink);
	background: #fff; box-shadow: 0 6px 20px rgba(40, 12, 16, .12);
}
.ttds-pick__input:focus { outline: none; border-color: var(--ttds-gold); box-shadow: 0 0 0 3px rgba(198, 154, 78, .3); }
.ttds-pick__results {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff;
	border: 1px solid var(--ttds-line); border-radius: 10px; box-shadow: var(--ttds-shadow);
	overflow: hidden; display: none; z-index: 2;
}
.ttds-pick__results.is-open { display: block; }
.ttds-pick__item {
	display: flex !important; justify-content: space-between; align-items: center; gap: 12px;
	width: 100% !important; float: none !important; margin: 0 !important; box-shadow: none !important;
	text-align: left; background: #fff; border: none !important;
	border-bottom: 1px solid var(--ttds-line) !important;
	border-radius: 0; padding: 11px 15px; cursor: pointer; text-transform: none; letter-spacing: normal;
}
.ttds-pick__item:last-child { border-bottom: none !important; }
/* Same theme-reset fight as .ttds-close/.ttds-btn — this row is a real <button>, so it
   was catching the theme's generic pink :hover fill too. Dark-red (maroon) tint instead
   of a solid invert, matching the light-wash hover language already used for
   .ttds-qtymini/.ttds-choice-btn/.ttds-modesw__btn elsewhere in this file. */
.ttds-pick__item:hover,
.ttds-pick__item:focus { background: rgba(122, 20, 32, .08) !important; }
.ttds-pick__name { font-weight: 600; color: var(--ttds-ink); font-size: 14px; }
.ttds-pick__car { font-size: 12px; color: #998; white-space: nowrap; }
.ttds-pick__empty { padding: 14px 15px; color: #998; font-size: 14px; }

.ttds-empty { text-align: center; color: #998; padding: 48px 20px; font-size: 15px; }
.ttds-empty svg { width: 54px; height: 54px; opacity: .35; margin-bottom: 12px; }

/* success state */
.ttds-success { text-align: center; padding: 30px 10px; }
.ttds-success .ttds-check {
	width: 68px; height: 68px; border-radius: 50%; background: #eaf6ec; color: #2e9e4f;
	display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 38px;
}
.ttds-success h3 { font-family: "AAR", "Oswald", sans-serif; color: var(--ttds-maroon); font-size: 26px; margin: 0 0 6px; text-transform: uppercase; }
.ttds-success p { color: #665; font-size: 14px; margin: 4px 0; }
.ttds-success .ttds-rid { font-family: monospace; font-weight: 700; color: var(--ttds-ink); }

.ttds-error { background: #fdecec; color: #a1272b; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }

/* "email me a copy" checkbox */
.ttds-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: #665; margin-top: 2px; }
.ttds-check input { width: 17px; height: 17px; accent-color: var(--ttds-maroon); cursor: pointer; flex: 0 0 auto; }

/* confirmation toast */
.ttds-toast {
	position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(10px);
	background: var(--ttds-ink); color: #fff; padding: 11px 20px; border-radius: 24px;
	font-family: "AAR", "Oswald", sans-serif; font-size: 15px; letter-spacing: .5px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .32); z-index: 100001; opacity: 0; pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}
.ttds-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- mobile ---------- */
@media (max-width: 600px) {
	.ttds-card { max-width: 100%; }
	.ttds-cart-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
	.ttds-drawer { width: 100%; }
	.ttds-overlay { padding: 0; align-items: flex-end; }
	.ttds-card { border-radius: 14px 14px 0 0; max-height: 88vh; }
}


/* ---------- Tank Qualification Stencil Table ---------- */
.ttds-qual-wrap {
	margin: 14px 0 10px;
	background: #0b0f17;
	border: 1.5px solid #2d3748;
	border-radius: 8px;
	padding: 14px 12px;
	color: #ffffff;
	font-family: "AAR", "Oswald", "Arial Narrow", sans-serif;
	box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
}
.ttds-qual-header-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 10px;
}
.ttds-qual-yellow-input {
	background: rgba(0, 0, 0, 0.7);
	border: 1px solid rgba(253, 181, 0, 0.45);
	color: #fdb500 !important;
	font-family: "AAR", "Oswald", "Arial Narrow", sans-serif !important;
	font-weight: 700;
	font-size: 13.5px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	padding: 5px 8px;
	border-radius: 4px;
	width: 100%;
	outline: none;
	text-align: center;
	box-sizing: border-box;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.ttds-qual-yellow-input:focus {
	border-color: #fdb500;
	box-shadow: 0 0 0 2px rgba(253, 181, 0, 0.3);
	background: rgba(0, 0, 0, 0.9);
}

.ttds-qual-table-container {
	overflow-x: auto;
	margin: 4px 0;
	border: 1.5px solid #ffffff;
	border-radius: 2px;
}
.ttds-qual-table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 10.5px;
	background: #000000;
}
.ttds-qual-table th,
.ttds-qual-table td {
	border: 1px solid #ffffff;
	padding: 3px 3px;
	text-align: center;
	vertical-align: middle;
	line-height: 1.2;
	box-sizing: border-box;
}
.ttds-qual-table th {
	background: #111827;
	color: #ffffff;
	font-weight: 700;
	font-size: 9.5px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	padding: 5px 2px;
}
.ttds-qual-table th:nth-child(1),
.ttds-qual-table td:nth-child(1) {
	width: 43%;
	text-align: left;
}
.ttds-qual-table th:nth-child(2),
.ttds-qual-table td:nth-child(2),
.ttds-qual-table th:nth-child(3),
.ttds-qual-table td:nth-child(3),
.ttds-qual-table th:nth-child(4),
.ttds-qual-table td:nth-child(4) {
	width: 19%;
	text-align: center;
}
.ttds-qual-cell-lbl {
	text-align: left !important;
	font-weight: 700;
	white-space: nowrap;
	font-size: 9.5px;
	color: #ffffff;
	padding: 3px 4px !important;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ttds-qual-flex-cell {
	display: flex;
	align-items: center;
	gap: 3px;
	width: 100%;
	box-sizing: border-box;
}
.ttds-qual-flex-cell span {
	font-weight: 700;
	font-size: 9.5px;
	white-space: nowrap;
	flex-shrink: 0;
}
.ttds-qual-cell-input {
	background: #000000;
	border: 1px solid #334155;
	color: #ffffff !important;
	font-family: "AAR", "Oswald", "Arial Narrow", sans-serif !important;
	font-size: 10.5px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	padding: 3px 2px;
	width: 100%;
	min-width: 0;
	border-radius: 2px;
	outline: none;
	box-sizing: border-box;
	transition: all 0.12s;
}
.ttds-qual-cell-input:focus {
	border-color: #c69a4e;
	background: #1e293b;
	box-shadow: 0 0 0 1px #c69a4e;
}
.ttds-qual-flex-input {
	flex: 1 1 0;
	min-width: 0;
	padding: 2px 3px;
	font-size: 10px;
}
.ttds-qual-hint {
	display: block;
	font-size: 11px;
	color: #94a3b8;
	font-weight: normal;
	text-transform: none;
	margin-top: 3px;
}
.ttds-qual-divider td {
	background: #000000;
	height: 6px;
	padding: 0;
}

/* Stencil Table overlay on live preview stage */
.ttds-pv__table-layer {
	position: absolute;
	pointer-events: none;
	z-index: 6;
	font-family: "AAR", "Oswald", "Arial Narrow", sans-serif;
	line-height: 1;
	transform-origin: center center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ttds-pv__tbl-header {
	color: #fdb500;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.3px;
	white-space: nowrap;
	line-height: 1.15;
}
.ttds-pv__tbl-grid {
	border-collapse: collapse;
	border: 1.5px solid #ffffff;
	margin: 3px 0;
	background: rgba(0, 0, 0, 0.85);
}
.ttds-pv__tbl-grid th,
.ttds-pv__tbl-grid td {
	border: 1px solid #ffffff;
	color: #ffffff;
	text-align: center;
	vertical-align: middle;
	font-weight: 700;
	white-space: nowrap;
	line-height: 1.15;
}
