/* TMT price calculator for the website ([tmt_precios]). Everything is scoped to .tmt-cot so the theme is untouched. */
.tmt-cot {
  --tc-brand: #2A1B7F; --tc-brand-soft: #ECE9FA; --tc-gold: #E2B53C; --tc-gold-ink: #2B2000;
  --tc-ink: #17142B; --tc-muted: #5F5B76; --tc-line: #DAD7E6; --tc-bg: #F6F5FA; --tc-surface: #FFFFFF; --tc-bad: #B4262E;
  font-family: inherit; color: var(--tc-ink); max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px;
  font-size: 16px; line-height: 1.45; text-align: left;
}
.tmt-cot *, .tmt-cot *::before, .tmt-cot *::after { box-sizing: border-box; }
.tmt-cot button, .tmt-cot input { font: inherit; }
.tmt-cot .tc-title { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; text-transform: uppercase; color: var(--tc-ink); }
.tmt-cot .tc-sub { margin: -6px 0 0; color: var(--tc-muted); font-size: 15px; }
.tmt-cot .tc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--tc-bg); border: 1px solid var(--tc-line); border-radius: 14px; padding: 4px; }
.tmt-cot .tc-tabs button { border: 0; background: transparent; color: var(--tc-muted); border-radius: 10px; padding: 10px 6px; font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; }
.tmt-cot .tc-tabs button[aria-selected="true"] { background: var(--tc-brand); color: #fff; }
.tmt-cot .tc-card { background: var(--tc-surface); border: 1px solid var(--tc-line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(23,20,43,.05), 0 8px 24px rgba(23,20,43,.06); }
.tmt-cot .tc-field { display: flex; flex-direction: column; gap: 6px; }
.tmt-cot .tc-field label, .tmt-cot .tc-step { font-weight: 700; font-size: 15px; }
.tmt-cot .tc-field input { width: 100%; border: 1.5px solid var(--tc-line); border-radius: 12px; padding: 12px 14px; font-size: 16px; background: #fff; color: var(--tc-ink); }
.tmt-cot .tc-field input:focus { outline: 2px solid var(--tc-brand); outline-offset: 1px; border-color: var(--tc-brand); }
.tmt-cot .tc-field small, .tmt-cot .tc-muted { color: var(--tc-muted); font-size: 13.5px; }
.tmt-cot .tc-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; text-transform: uppercase; }
.tmt-cot .tc-btn { display: inline-flex; justify-content: center; align-items: center; width: 100%; border: 0; border-radius: 12px; padding: 14px 16px; background: var(--tc-brand); color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none !important; cursor: pointer; text-align: center; }
.tmt-cot .tc-btn:disabled { opacity: .6; cursor: progress; }
.tmt-cot .tc-btn.tc-alt { background: var(--tc-gold); color: var(--tc-gold-ink) !important; }
.tmt-cot .tc-link { border: 0; background: none; padding: 2px 0; color: var(--tc-brand); text-decoration: underline; font-weight: 600; font-size: 14.5px; cursor: pointer; align-self: flex-start; text-align: left; }
.tmt-cot .tc-inline { color: var(--tc-brand); font-weight: 700; }
.tmt-cot .tc-sm { border: 1.5px solid var(--tc-line); background: #fff; color: var(--tc-ink); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: 14px; cursor: pointer; flex: none; }
.tmt-cot .tc-err { color: var(--tc-bad); font-weight: 600; font-size: 14.5px; }
.tmt-cot .tc-note { background: var(--tc-brand-soft); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; }
.tmt-cot .tc-vh { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.tmt-cot .tc-vh small { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--tc-muted); }
.tmt-cot .tc-vh b { font-size: 19px; line-height: 1.2; }
.tmt-cot .tc-veh { border-color: var(--tc-brand); }
.tmt-cot .tc-yards { display: flex; flex-direction: column; gap: 6px; }
.tmt-cot .tc-ylist { display: flex; flex-direction: column; border: 1px solid var(--tc-line); border-radius: 12px; overflow: hidden; max-height: 320px; overflow-y: auto; }
.tmt-cot .tc-ylist button { display: flex; justify-content: space-between; gap: 10px; border: 0; border-top: 1px solid var(--tc-line); background: #fff; padding: 11px 14px; text-align: left; cursor: pointer; color: var(--tc-ink); font-size: 15px; }
.tmt-cot .tc-ylist button:first-child { border-top: 0; }
.tmt-cot .tc-ylist button:hover, .tmt-cot .tc-ylist button:focus-visible { background: var(--tc-brand-soft); }
.tmt-cot .tc-ylist i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--tc-muted); background: var(--tc-bg); border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.tmt-cot .tc-ylist span:last-child { color: var(--tc-muted); white-space: nowrap; }
.tmt-cot .tc-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tmt-cot .tc-opts label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--tc-line); border-radius: 99px; padding: 8px 14px; font-size: 15px; cursor: pointer; background: #fff; }
.tmt-cot .tc-opts label:has(input:checked) { border-color: var(--tc-brand); background: var(--tc-brand-soft); font-weight: 700; }
.tmt-cot .tc-opts input { accent-color: var(--tc-brand); margin: 0; }
.tmt-cot .tc-quote { background: var(--tc-brand); color: #fff; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.tmt-cot .tc-ln { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.tmt-cot .tc-tot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255,255,255,.25); padding-top: 10px; margin-top: 4px; font-weight: 700; }
.tmt-cot .tc-tot b { font-size: 32px; color: var(--tc-gold); line-height: 1; }
.tmt-cot .tc-quote p { margin: 0; font-size: 13px; opacity: .85; }
.tmt-cot .tc-quote p.tc-disc { font-size: 12px; opacity: .8; }
.tmt-cot .tc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tmt-cot .tc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tmt-cot .tc-loading { color: var(--tc-muted); }
@media (max-width: 520px) {
  .tmt-cot .tc-tabs button { font-size: 12.5px; padding: 9px 4px; }
  .tmt-cot .tc-actions { grid-template-columns: 1fr; }
  .tmt-cot .tc-title { font-size: 22px; }
}
/* size guide pop-up (outside .tmt-cot) */
.tc-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(10,8,20,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tc-mbox { background: #fff; color: #17142B; border-radius: 16px; padding: 18px; max-width: 900px; width: 100%; max-height: 92vh; overflow: auto; position: relative; font-family: inherit; }
.tc-mbox h3 { margin: 0 0 6px; font-size: 20px; }
.tc-mbox p { margin: 0 0 10px; font-size: 14px; color: #5F5B76; }
.tc-mbox img { width: 100%; height: auto; display: block; }
.tc-x { position: absolute; top: 8px; right: 10px; border: 0; background: #F0EEF7; width: 36px; height: 36px; border-radius: 99px; font-size: 22px; line-height: 1; cursor: pointer; color: #17142B; }
.tmt-cot .tc-mono::placeholder { text-transform: none; letter-spacing: 0; }
