.mfti-searcher {
  --mfti-accent: #ff7800;
  --mfti-accent-dark: #e56800;
  --mfti-ink: #17212b;
  --mfti-muted: #667085;
  --mfti-line: #e5e7eb;
  max-width: 1120px;
  margin: 32px auto;
  padding: 34px;
  overflow: hidden;
  color: var(--mfti-ink);
  background: #fff;
  border: 1px solid #edf0f2;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(23, 33, 43, .09);
  font-family: inherit;
  container-type: inline-size;
  visibility: visible;
}
.mfti-popular-measures { visibility: visible; }
.mfti-searcher *, .mfti-searcher *::before, .mfti-searcher *::after { box-sizing: border-box; }
.mfti-heading { margin-bottom: 24px; }
.mfti-heading h2 { margin: 5px 0 6px; color: var(--mfti-ink); font-size: clamp(23px, 3vw, 32px); line-height: 1.15; }
.mfti-heading p { margin: 0; color: var(--mfti-muted); font-size: 15px; }
.mfti-kicker { color: var(--mfti-accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mfti-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; padding: 6px; background: #f4f5f7; border-radius: 13px; }
.mfti-tabs button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 11px 18px; color: #53606d; background: transparent; border: 0; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.mfti-tabs button:hover { color: var(--mfti-ink); background: rgba(255,255,255,.6); }
.mfti-tabs button.is-active { color: var(--mfti-accent-dark); background: #fff; box-shadow: 0 3px 12px rgba(23,33,43,.09); }
.mfti-tab-icon { display: grid; place-items: center; width: 24px; height: 24px; color: #fff; background: #8b949e; border-radius: 7px; font-size: 13px; }
.mfti-tab-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mfti-tabs button.is-active .mfti-tab-icon { background: var(--mfti-accent); }
.mfti-panel[hidden] { display: none !important; }
.mfti-panel.is-active { animation: mftiFade .25s ease both; }
.mfti-active-filter { display: flex; min-height: 48px; margin: -5px 0 15px; padding: 9px 11px; align-items: center; gap: 9px; color: #344054; background: #fff8ef; border: 1px solid #f7d7b2; border-radius: 10px; }
.mfti-active-filter-icon { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; color: #fff; background: var(--mfti-accent); border-radius: 50%; font-size: 11px; font-weight: 800; }
.mfti-active-filter > div { display: grid; line-height: 1.1; }
.mfti-active-filter small { color: #8a5a20; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mfti-active-filter strong { margin-top: 2px; color: #293541; font-size: 14px; }
.mfti-active-filter a { display: inline-flex; margin-left: auto; align-items: center; gap: 4px; color: #7a5a35 !important; font-size: 10px; font-weight: 700; text-decoration: none !important; }
.mfti-active-filter a:hover { color: var(--mfti-accent-dark) !important; }
.mfti-active-filter a span { font-size: 15px; line-height: 1; }
.mfti-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(190px, .85fr); gap: 16px; align-items: end; }
.mfti-field { display: grid; gap: 8px; margin: 0; color: #344054; font-size: 14px; font-weight: 700; }
.mfti-field[hidden] { display: none !important; }
.mfti-field select, .mfti-field input { width: 100%; min-height: 54px; padding: 0 42px 0 15px; color: #344054; background-color: #fff; border: 1px solid #d6dbe1; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 500; box-shadow: 0 1px 2px rgba(16,24,40,.04); transition: border-color .2s ease, box-shadow .2s ease; }
.mfti-field input { padding-right: 15px; }
.mfti-field select:hover, .mfti-field input:hover { border-color: #aeb7c2; }
.mfti-field select:focus, .mfti-field input:focus { outline: none; border-color: var(--mfti-accent); box-shadow: 0 0 0 4px rgba(255,138,0,.14); }
.mfti-field select:disabled { color: #98a2b3; background-color: #f5f6f7; cursor: not-allowed; }
.mfti-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 54px; padding: 12px 20px; color: #fff; background: var(--mfti-accent); border: 0; border-radius: 10px; box-shadow: none; font: inherit; font-size: 14px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.mfti-submit:hover { color: #fff; background: var(--mfti-accent-dark); transform: translateY(-1px); box-shadow: none; }
.mfti-submit:focus-visible, .mfti-tabs button:focus-visible { outline: 3px solid rgba(255,138,0,.35); outline-offset: 2px; }
.mfti-submit:disabled { color: #98a2b3; background: #eaecf0; box-shadow: none; cursor: not-allowed; transform: none; }
.mfti-advisor-cta { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 15px; padding-top: 14px; color: var(--mfti-muted); border-top: 1px solid #e7e9ed; }
.mfti-advisor-cta strong { color: #475467; font-size: 11px; }
.mfti-whatsapp-button { display: inline-flex; padding: 3px 0; align-items: center; justify-content: center; gap: 5px; flex: 0 0 auto; color: #168a45 !important; background: transparent; border: 0; border-bottom: 1px solid rgba(22,138,69,.3); border-radius: 0; font-size: 11px; font-weight: 750; line-height: 1.4; text-decoration: none !important; }
.mfti-whatsapp-button:hover { color: #106d37 !important; border-bottom-color: #106d37; }
.mfti-whatsapp-button > span { color: inherit; font-size: 12px; }
.mfti-popular-measures { --mfti-accent: #ff7800; --mfti-accent-dark: #e56800; max-width: 1040px; margin: 18px auto 24px; padding: 18px; color: #17212b; background: #fff; border: 1px solid #edf0f2; border-radius: 14px; box-shadow: none; font-family: inherit; }
.mfti-popular-integrated { max-width: none; margin: 22px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid #e7e9ed; border-radius: 0; }
.mfti-popular-heading { display: flex; gap: 10px; margin-bottom: 12px; align-items: center; }
.mfti-popular-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; color: #fff; background: var(--mfti-accent); border-radius: 50%; font-size: 17px; font-weight: 800; }
.mfti-popular-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mfti-popular-heading strong { color: #25313d; font-size: 15px; }
.mfti-popular-toggle { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 4px; color: #667085; background: transparent; border: 0; font: inherit; font-size: 11px; cursor: pointer; }
.mfti-popular-toggle:hover { color: var(--mfti-accent-dark); }
.mfti-popular-toggle[aria-expanded="true"] > span:last-child { transform: rotate(180deg); }
.mfti-popular-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; overflow: visible; }
.mfti-popular-list a { display: flex; min-width: 0; min-height: 48px; padding: 9px 12px; align-items: center; gap: 9px; color: #17212b; background: #fff; border: 1px solid #dfe3e8; border-radius: 10px; text-decoration: none !important; box-shadow: none; transition: border-color .2s ease, background .2s ease; }
.mfti-popular-list a:hover { color: #17212b; background: #fffaf5; border-color: var(--mfti-accent); }
.mfti-popular-tire-icon { display: grid; place-items: center; width: 20px; height: 24px; flex: 0 0 auto; color: var(--mfti-accent); line-height: 1; }
.mfti-popular-tire-icon svg { width: 18px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mfti-popular-list a > strong { min-width: 0; overflow: hidden; color: #25313d; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.mfti-popular-arrow { margin-left: auto; color: #667085; font-size: 18px; }
.mfti-popular-extra[hidden] { display: none !important; }
.mfti-popular-compacto { margin: 12px 0; padding: 12px; border-radius: 12px; }
.mfti-popular-compacto .mfti-popular-heading strong { font-size: 13px; }
.mfti-vehicle-query-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr); gap: 16px; align-items: end; }
.mfti-vehicle-query input { font-size: 16px; }
.mfti-vehicle-status { margin-top: 14px; padding: 12px 14px; color: #795000; background: #fff8e8; border: 1px solid #ffd994; border-radius: 10px; font-size: 13px; }
.mfti-vehicle-status[hidden], .mfti-vehicle-results[hidden] { display: none !important; }
.mfti-vehicle-status.is-error { color: #9b1c1c; background: #fff1f1; border-color: #fecaca; }
.mfti-vehicle-results { margin-top: 16px; padding: 18px; background: #f8faf9; border: 1px solid #dfe8e3; border-radius: 13px; }
.mfti-vehicle-title { display: block; color: var(--mfti-ink); font-size: 19px; }
.mfti-vehicle-results > p { margin: 4px 0 13px; color: var(--mfti-muted); font-size: 13px; }
.mfti-vehicle-measures-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .3fr); gap: 14px; align-items: end; }
.mfti-vehicle-measures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 9px; }
.mfti-vehicle-measure { position: relative; display: block; margin: 0; cursor: pointer; }
.mfti-vehicle-measure input { position: absolute; opacity: 0; pointer-events: none; }
.mfti-vehicle-measure > span { display: grid; gap: 1px; min-height: 58px; padding: 9px 12px; align-content: center; background: #fff; border: 1px solid #d6dbe1; border-radius: 10px; transition: border-color .2s ease, box-shadow .2s ease; }
.mfti-vehicle-measure:hover > span { border-color: #f5a34a; }
.mfti-vehicle-measure input:checked + span { border-color: var(--mfti-accent); box-shadow: 0 0 0 3px rgba(255,138,0,.14); }
.mfti-vehicle-measure strong { color: var(--mfti-ink); font-size: 18px; }
.mfti-vehicle-measure small { color: var(--mfti-muted); font-size: 11px; }
.mfti-vehicle-warning { margin-top: 13px; padding: 10px 12px; color: #5f4a18; background: #fff9e9; border-radius: 9px; font-size: 12px; line-height: 1.45; }
.mfti-vehicle-analyze.is-loading span:first-child::after { content: ''; display: inline-block; width: 13px; height: 13px; margin-left: 9px; vertical-align: -2px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: mftiSpin .8s linear infinite; }
.mfti-image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 15px; margin-bottom: 20px; }
.mfti-image-choice { position: relative; padding: 9px 9px 12px; overflow: hidden; text-align: center; background: #fff; border: 1px solid var(--mfti-line); border-radius: 12px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.mfti-image-choice:hover { border-color: #f5a34a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23,33,43,.08); }
.mfti-image-choice input { position: absolute; opacity: 0; pointer-events: none; }
.mfti-image-choice:has(input:checked) { border-color: var(--mfti-accent); box-shadow: 0 0 0 3px rgba(255,138,0,.15); }
.mfti-image-choice img, .mfti-image-placeholder { display: grid; place-items: center; width: 100%; height: 112px; margin-bottom: 9px; object-fit: cover; background: #f4f5f7; border-radius: 8px; }
.mfti-image-placeholder { color: #687480; font-weight: 750; }
.mfti-image-choice strong { color: #344054; font-size: 14px; }
.mfti-image-submit { max-width: 250px; margin-left: auto; }
.mfti-upload-stage { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .65fr); gap: 18px; }
.mfti-dropzone { display: flex; min-height: 245px; padding: 30px; align-items: center; justify-content: center; flex-direction: column; text-align: center; background: linear-gradient(145deg, #fffaf4, #fff); border: 2px dashed #f2a556; border-radius: 16px; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.mfti-dropzone:hover { background: #fff8ef; border-color: var(--mfti-accent); transform: translateY(-2px); }
.mfti-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mfti-dropzone strong { margin: 10px 0 4px; color: var(--mfti-ink); font-size: 18px; }
.mfti-dropzone > span:not(.mfti-upload-icon) { color: var(--mfti-muted); font-size: 14px; }
.mfti-dropzone small { margin-top: 12px; color: #98a2b3; font-size: 12px; }
.mfti-upload-icon { display: grid; place-items: center; width: 54px; height: 54px; color: #fff; background: var(--mfti-accent); border-radius: 50%; box-shadow: none; font-size: 28px; font-weight: 700; }
.mfti-photo-preview { position: relative; min-height: 245px; overflow: hidden; background: #111; border-radius: 16px; }
.mfti-photo-preview img { display: block; width: 100%; height: 245px; object-fit: contain; }
.mfti-change-photo { position: absolute; right: 12px; bottom: 12px; min-height: 38px; padding: 8px 13px; color: #fff; background: rgba(17,24,39,.8); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; backdrop-filter: blur(6px); }
.mfti-photo-help { display: flex; min-height: 245px; padding: 25px; justify-content: center; flex-direction: column; background: #f7f8f9; border: 1px solid #eceff2; border-radius: 16px; }
.mfti-photo-help::before { content: '275/50R20'; display: block; margin-bottom: 18px; color: var(--mfti-accent-dark); font-size: 27px; font-weight: 850; letter-spacing: .03em; }
.mfti-photo-help strong { margin-bottom: 6px; font-size: 15px; }
.mfti-photo-help span { color: var(--mfti-muted); font-size: 13px; line-height: 1.55; }
.mfti-image-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.mfti-analyze-button { max-width: 270px; }
.mfti-analyze-button.is-loading span:first-child::after { content: ''; display: inline-block; width: 13px; height: 13px; margin-left: 9px; vertical-align: -2px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: mftiSpin .8s linear infinite; }
.mfti-analysis-status { margin-top: 16px; padding: 13px 15px; color: #795000; background: #fff8e8; border: 1px solid #ffd994; border-radius: 10px; font-size: 14px; }
.mfti-analysis-status.is-error { color: #9b1c1c; background: #fff1f1; border-color: #fecaca; }
.mfti-detected-result { margin-top: 22px; padding: 24px; background: #f8faf9; border: 1px solid #dfe8e3; border-radius: 16px; }
.mfti-result-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.mfti-result-top > div { display: grid; gap: 3px; }
.mfti-result-top > div > span { color: var(--mfti-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.mfti-measure-label { color: var(--mfti-ink); font-size: clamp(27px, 4vw, 38px); line-height: 1.15; }
.mfti-confidence { padding: 7px 11px; color: #087443; background: #dff7ea; border-radius: 999px; font-size: 12px; font-weight: 800; }
.mfti-confidence.is-warning { color: #8a5700; background: #fff0ce; }
.mfti-detected-result > p { margin: 10px 0 18px; color: var(--mfti-muted); font-size: 13px; }
@keyframes mftiSpin { to { transform: rotate(360deg); } }
@keyframes mftiFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .mfti-searcher *, .mfti-searcher *::before, .mfti-searcher *::after { animation: none !important; transition: none !important; } }
@media (max-width: 860px) { .mfti-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mfti-submit { grid-column: span 2; } }
@media (max-width: 760px) { .mfti-upload-stage { grid-template-columns: 1fr; } .mfti-photo-help { min-height: auto; } }
@media (max-width: 600px) {
  .mfti-searcher { margin: 18px 10px; padding: 22px 16px; border-radius: 16px; }
  .mfti-heading { text-align: center; }
  .mfti-heading p { font-size: 14px; }
  .mfti-tabs { gap: 4px; padding: 4px; }
  .mfti-tabs button { flex-direction: column; gap: 4px; min-height: 64px; padding: 8px 3px; font-size: 11px; line-height: 1.15; }
  .mfti-tab-icon { width: 22px; height: 22px; }
  .mfti-form { grid-template-columns: 1fr; gap: 13px; }
  .mfti-submit { grid-column: auto; margin-top: 3px; }
  .mfti-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mfti-image-submit { max-width: none; }
  .mfti-dropzone, .mfti-photo-preview, .mfti-photo-preview img { min-height: 210px; height: 210px; }
  .mfti-photo-help { padding: 18px; }
  .mfti-photo-help::before { margin-bottom: 10px; font-size: 23px; }
  .mfti-image-actions, .mfti-analyze-button { width: 100%; max-width: none; }
  .mfti-detected-result { padding: 18px 14px; }
  .mfti-result-top { align-items: flex-start; flex-direction: column; }
  .mfti-popular-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .mfti-popular-list a { min-height: 43px; padding: 7px 9px; }
  .mfti-popular-list a > strong { font-size: 11px; }
  .mfti-popular-heading strong { font-size: 13px; }
  .mfti-popular-icon { width: 29px; height: 29px; }
  .mfti-advisor-cta { flex-wrap: wrap; gap: 5px 10px; }
}

/* Compact interface 1.2.1 */
.mfti-searcher { max-width: 1040px; margin: 20px auto; padding: 22px 24px; border-radius: 14px; box-shadow: 0 10px 30px rgba(23,33,43,.07); }
.mfti-heading { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; margin-bottom: 14px; }
.mfti-heading .mfti-kicker { grid-column: 1 / -1; font-size: 10px; }
.mfti-heading h2 { margin: 2px 0 0; font-size: clamp(20px, 2.4vw, 25px); }
.mfti-heading p { margin: 0; font-size: 13px; }
.mfti-tabs { gap: 5px; margin-bottom: 16px; padding: 4px; border-radius: 10px; }
.mfti-tabs button { min-height: 42px; padding: 8px 12px; font-size: 12px; }
.mfti-tab-icon { width: 20px; height: 20px; border-radius: 6px; font-size: 11px; }
.mfti-heading { display: block; }
.mfti-heading p { display: none; }
.mfti-heading h2 { margin-top: 5px; color: #07142f !important; font-size: clamp(25px, 3vw, 32px); font-weight: 850 !important; font-style: italic; text-transform: uppercase; letter-spacing: -.025em; }
.mfti-panel[data-mfti-panel="measure"] > .mfti-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mfti-panel[data-mfti-panel="measure"] > .mfti-form > .mfti-submit { grid-column: 1 / -1; min-height: 58px; margin-top: 18px; font-size: 17px; }
@media (min-width: 601px) {
  .mfti-tabs { gap: 0; padding: 0; overflow: hidden; background: #fff; border: 1px solid #dfe4ea; }
  .mfti-tabs button { min-height: 72px; border-radius: 0; border-right: 1px solid #dfe4ea; }
  .mfti-tabs button:last-child { border-right: 0; }
  .mfti-tabs button.is-active { box-shadow: inset 0 0 0 3px #f3f4f6; }
}
.mfti-dropzone[hidden], .mfti-photo-preview[hidden], .mfti-analysis-status[hidden], .mfti-detected-result[hidden] { display: none !important; }
.mfti-upload-stage { display: block; }
.mfti-dropzone { min-height: 118px; padding: 18px 24px; border-width: 1.5px; border-radius: 12px; }
.mfti-upload-icon { width: 38px; height: 38px; font-size: 20px; }
.mfti-dropzone strong { margin: 7px 0 2px; font-size: 15px; }
.mfti-dropzone > span:not(.mfti-upload-icon) { font-size: 12px; }
.mfti-dropzone small { margin-top: 5px; font-size: 10px; }
.mfti-photo-help { display: none; }
.mfti-photo-preview { min-height: 145px; border-radius: 12px; }
.mfti-photo-preview img { height: 145px; object-fit: cover; }
.mfti-change-photo { right: 9px; bottom: 9px; min-height: 32px; padding: 6px 10px; }
.mfti-image-actions { margin-top: 10px; }
.mfti-analyze-button { max-width: 235px; min-height: 46px; }
.mfti-analysis-status { margin-top: 10px; padding: 10px 12px; font-size: 12px; }
.mfti-detected-result { margin-top: 12px; padding: 15px 16px; border-radius: 12px; }
.mfti-result-top > div { display: flex; align-items: baseline; gap: 10px; }
.mfti-measure-label { font-size: 28px; }
.mfti-confidence { padding: 5px 9px; font-size: 10px; }
.mfti-detected-result > p { margin: 4px 0 11px; font-size: 11px; }
.mfti-result-fields { gap: 10px; }
.mfti-result-fields .mfti-field { gap: 4px; font-size: 12px; }
.mfti-result-fields .mfti-field input, .mfti-result-fields .mfti-submit { min-height: 44px; }

@media (max-width: 600px) {
  .mfti-searcher { margin: 12px 7px; padding: 17px 13px; }
  .mfti-heading { display: block; margin-bottom: 11px; text-align: left; }
  .mfti-heading .mfti-kicker, .mfti-heading p { display: none; }
  .mfti-heading h2 { margin: 0; font-size: 20px; }
  .mfti-tabs { margin-bottom: 12px; }
  .mfti-tabs button { min-height: 49px; padding: 5px 2px; font-size: 10px; }
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form { grid-template-columns: 1fr; }
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form > .mfti-submit { grid-column: auto; min-height: 44px; margin-top: 6px; font-size: 13px; }
  .mfti-dropzone { min-height: 105px; padding: 13px; }
  .mfti-dropzone > span:not(.mfti-upload-icon) { display: none; }
  .mfti-photo-preview, .mfti-photo-preview img { min-height: 130px; height: 130px; }
  .mfti-analyze-button { min-height: 44px; }
  .mfti-detected-result { padding: 13px 11px; }
  .mfti-result-top { align-items: center; flex-direction: row; }
  .mfti-result-top > div { display: grid; gap: 1px; }
  .mfti-measure-label { font-size: 24px; }
  .mfti-result-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .mfti-result-fields .mfti-submit { grid-column: span 3; }
  .mfti-result-fields .mfti-field input { padding: 0 8px; text-align: center; }
  .mfti-vehicle-query-form, .mfti-vehicle-measures-form { grid-template-columns: 1fr; gap: 10px; }
  .mfti-vehicle-results { padding: 14px 11px; }
  .mfti-vehicle-measures { grid-template-columns: 1fr 1fr; gap: 7px; }
  .mfti-vehicle-measure > span { min-height: 55px; padding: 8px 9px; }
  .mfti-vehicle-measure strong { font-size: 16px; }
}

/* Two-column analyzed state 1.2.2 */
@media (min-width: 761px) {
  .mfti-vehicle-search.is-analyzed {
    display: grid;
    grid-template-columns: minmax(270px, .72fr) minmax(520px, 1.28fr);
    gap: 16px;
    align-items: stretch;
  }
  .mfti-vehicle-search.is-analyzed .mfti-vehicle-query-form {
    grid-column: 1;
    grid-template-columns: 1fr;
    align-content: center;
    padding: 18px;
    background: #fffaf4;
    border: 1px solid #f4d4ae;
    border-radius: 13px;
  }
  .mfti-vehicle-search.is-analyzed .mfti-vehicle-results {
    grid-column: 2;
    margin: 0;
    padding: 16px 18px;
  }
  .mfti-vehicle-search.is-analyzed .mfti-vehicle-status { grid-column: 1 / -1; margin: 0; }
  .mfti-vehicle-search.is-analyzed .mfti-vehicle-measures-form {
    grid-template-columns: minmax(0, 1fr) minmax(165px, .36fr);
    gap: 10px;
  }
  .mfti-vehicle-search.is-analyzed .mfti-vehicle-measures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mfti-vehicle-search.is-analyzed .mfti-vehicle-warning { margin-top: 10px; }

  .mfti-photo-form.is-analyzed {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(500px, 1.4fr);
    gap: 16px;
    align-items: stretch;
  }
  .mfti-photo-form.is-analyzed .mfti-upload-stage { grid-column: 1; min-width: 0; }
  .mfti-photo-form.is-analyzed .mfti-photo-preview,
  .mfti-photo-form.is-analyzed .mfti-photo-preview img { width: 100%; height: 100%; min-height: 188px; }
  .mfti-photo-form.is-analyzed .mfti-photo-preview img { object-fit: cover; }
  .mfti-photo-form.is-analyzed .mfti-image-actions { display: none; }
  .mfti-photo-form.is-analyzed .mfti-analysis-status { grid-column: 1 / -1; margin: 0; }
  .mfti-photo-form.is-analyzed .mfti-detected-result {
    grid-column: 2;
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 16px 18px;
    justify-content: center;
    flex-direction: column;
  }
  .mfti-photo-form.is-analyzed .mfti-result-top { align-items: flex-start; }
  .mfti-photo-form.is-analyzed .mfti-result-top > div { display: grid; gap: 2px; }
  .mfti-photo-form.is-analyzed .mfti-measure-label { font-size: 27px; }
  .mfti-photo-form.is-analyzed .mfti-detected-result > p { margin: 3px 0 10px; }
  .mfti-photo-form.is-analyzed .mfti-result-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .mfti-photo-form.is-analyzed .mfti-result-fields .mfti-submit {
    grid-column: 1 / -1;
    min-height: 42px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .mfti-vehicle-search.is-analyzed { grid-template-columns: minmax(235px, .68fr) minmax(430px, 1.32fr); }
  .mfti-photo-form.is-analyzed { grid-template-columns: minmax(225px, .72fr) minmax(430px, 1.28fr); }
}

/* Compact layout when the shortcode is placed inside a sidebar. */
@container (max-width: 560px) {
  .mfti-heading { display: block; margin-bottom: 11px; text-align: left; }
  .mfti-heading p { display: none; }
  .mfti-heading h2 { margin: 2px 0 0; font-size: 21px; }
  .mfti-heading .mfti-kicker { display: block; font-size: 9px; }
  .mfti-tabs { gap: 3px; margin-bottom: 13px; padding: 4px; }
  .mfti-tabs button { flex-direction: column; gap: 4px; min-width: 0; min-height: 58px; padding: 6px 2px; font-size: 10px; line-height: 1.15; }
  .mfti-tab-icon { width: 21px; height: 21px; }
  .mfti-form, .mfti-vehicle-query-form, .mfti-vehicle-measures-form { grid-template-columns: 1fr; gap: 10px; }
  .mfti-form .mfti-submit, .mfti-vehicle-measures-form .mfti-submit { grid-column: auto; }
  .mfti-field { gap: 5px; font-size: 12px; }
  .mfti-field select, .mfti-field input, .mfti-submit { min-height: 46px; }
  .mfti-vehicle-search.is-analyzed, .mfti-photo-form.is-analyzed { display: block; }
  .mfti-vehicle-search.is-analyzed .mfti-vehicle-query-form { display: grid; padding: 0; background: transparent; border: 0; }
  .mfti-vehicle-search.is-analyzed .mfti-vehicle-results, .mfti-photo-form.is-analyzed .mfti-detected-result { margin-top: 12px; padding: 13px 11px; }
  .mfti-vehicle-search.is-analyzed .mfti-vehicle-measures { grid-template-columns: 1fr; }
  .mfti-vehicle-title { font-size: 17px; }
  .mfti-vehicle-warning { font-size: 11px; }
  .mfti-photo-form.is-analyzed .mfti-image-actions { display: none; }
  .mfti-photo-form.is-analyzed .mfti-upload-stage, .mfti-photo-form.is-analyzed .mfti-detected-result { width: 100%; }
  .mfti-popular-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .mfti-popular-list a { min-height: 42px; padding: 7px 8px; }
  .mfti-popular-list a > strong { font-size: 10px; }
  .mfti-advisor-cta { align-items: center; justify-content: center; flex-wrap: wrap; }
  .mfti-whatsapp-button { width: auto; }
}

/* Compact minimal layout 2.1.2 */
.mfti-searcher { padding: 18px 22px; }
.mfti-heading { margin-bottom: 11px; }
.mfti-heading .mfti-kicker { font-size: 9px; }
.mfti-heading h2 { margin-top: 3px; font-size: clamp(22px, 2.5vw, 27px); line-height: 1.08; }
.mfti-tabs { margin-bottom: 13px; }
.mfti-field { gap: 5px; font-size: 12px; }
.mfti-field select, .mfti-field input { min-height: 46px; padding-left: 13px; font-size: 13px; }
.mfti-panel[data-mfti-panel="measure"] > .mfti-form { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(175px, .82fr); gap: 11px; }
.mfti-panel[data-mfti-panel="measure"] > .mfti-form > .mfti-submit { grid-column: auto; min-height: 46px; margin-top: 0; padding: 9px 14px; font-size: 12px; }
.mfti-popular-integrated { margin-top: 14px; padding-top: 12px; }
.mfti-popular-heading { margin-bottom: 9px; }
.mfti-popular-icon { width: 28px; height: 28px; }
.mfti-popular-icon svg { width: 17px; height: 17px; }
.mfti-popular-heading strong { font-size: 14px; }
.mfti-popular-list { gap: 7px; }
.mfti-popular-list a { min-height: 40px; padding: 6px 10px; border-radius: 9px; }
.mfti-popular-list a > strong { font-size: 12px; }
.mfti-popular-tire-icon { width: 17px; height: 20px; }
.mfti-popular-tire-icon svg { width: 15px; height: 19px; }
.mfti-popular-arrow { font-size: 16px; }
.mfti-advisor-cta { gap: 10px; margin-top: 11px; padding-top: 10px; }

@media (min-width: 601px) {
  .mfti-tabs button { min-height: 50px; padding: 7px 12px; }
}

@media (max-width: 600px) {
  .mfti-searcher { margin: 9px 6px; padding: 14px 12px; }
  .mfti-heading { margin-bottom: 9px; }
  .mfti-heading h2 { font-size: 19px; }
  .mfti-tabs { margin-bottom: 10px; }
  .mfti-tabs button { min-height: 46px; }
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form { grid-template-columns: 1fr; gap: 9px; }
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form > .mfti-submit { grid-column: auto; min-height: 43px; margin-top: 2px; }
  .mfti-popular-integrated { margin-top: 12px; padding-top: 10px; }
  .mfti-popular-heading { margin-bottom: 7px; }
  .mfti-popular-list { gap: 5px; }
  .mfti-popular-list a { min-height: 37px; padding: 5px 7px; }
  .mfti-advisor-cta { margin-top: 9px; padding-top: 8px; }
}

@container (max-width: 560px) {
  .mfti-searcher { padding: 14px 12px; }
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form { grid-template-columns: 1fr; gap: 9px; }
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form > .mfti-submit { grid-column: auto; min-height: 43px; margin-top: 2px; }
}

/* Navigation bar and compact popular links 2.1.3 */
.mfti-tabs { gap: 5px; padding: 4px; overflow: visible; background: #f3f4f6; border: 0; border-radius: 10px; }
.mfti-tabs button { min-height: 42px; border: 0; border-radius: 8px; }
.mfti-tabs button:last-child { border-right: 0; }
.mfti-tabs button.is-active { background: #fff; box-shadow: 0 3px 12px rgba(23,33,43,.08); }
.mfti-popular-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mfti-popular-list a { min-height: 38px; padding: 6px 9px; background: #f5f6f7; border: 0; border-radius: 8px; }
.mfti-popular-list a:hover { background: #fff3e7; border-color: transparent; }
.mfti-popular-list a > strong { font-size: 11px; }
.mfti-popular-tire-icon { width: 16px; height: 18px; }
.mfti-popular-tire-icon svg { width: 14px; height: 18px; }
.mfti-popular-arrow { display: grid; place-items: center; width: 18px; height: 18px; color: #667085; background: #fff; border-radius: 50%; font-size: 14px; }

@media (max-width: 760px) {
  .mfti-popular-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .mfti-tabs { gap: 3px; padding: 3px; }
  .mfti-tabs button { min-height: 46px; }
  .mfti-popular-list a { min-height: 36px; padding: 5px 7px; }
  .mfti-popular-list a > strong { font-size: 10px; }
}

@container (max-width: 560px) {
  .mfti-tabs { gap: 3px; padding: 3px; }
  .mfti-tabs button { min-height: 48px; border: 0; border-radius: 7px; }
  .mfti-popular-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Theme inheritance and balanced proportions 2.1.4 */
.mfti-searcher,
.mfti-searcher button,
.mfti-searcher input,
.mfti-searcher select,
.mfti-searcher a,
.mfti-popular-measures,
.mfti-popular-measures button,
.mfti-popular-measures a { font-family: inherit !important; }
.mfti-tabs { align-items: stretch; padding: 4px; }
.mfti-tabs button { width: 100%; height: auto; margin: 0 !important; padding-top: 7px; padding-bottom: 7px; line-height: 1.2; }
.mfti-tabs button.is-active { margin: 0 !important; }
.mfti-submit { margin-bottom: 0 !important; }
.mfti-popular-heading strong { font-size: 15px; }
.mfti-popular-toggle { font-size: 12px; }
.mfti-popular-list a > strong { font-size: 13px; }
.mfti-advisor-cta { margin-bottom: 0; }
.mfti-advisor-cta strong { font-size: 13px; line-height: 1.4; }
.mfti-whatsapp-button { font-size: 13px; line-height: 1.4; }

@media (max-width: 600px) {
  .mfti-popular-heading strong { font-size: 14px; }
  .mfti-popular-list a > strong { font-size: 11px; }
  .mfti-advisor-cta strong, .mfti-whatsapp-button { font-size: 12px; }
}

/* Theme-relative readable typography 2.1.8 */
.mfti-searcher,
.mfti-popular-measures { font-size: inherit; line-height: inherit; }
.mfti-heading .mfti-kicker { font-size: .72em; }
.mfti-heading h2 { font-size: 2em; }
.mfti-heading p { font-size: .95em; }
.mfti-tabs button { font-size: .95em; }
.mfti-field { font-size: .95em; }
.mfti-field select,
.mfti-field input { font-size: 1em; line-height: inherit; }
.mfti-submit,
.mfti-panel[data-mfti-panel="measure"] > .mfti-form > .mfti-submit { font-size: .95em; }
.mfti-popular-heading strong { font-size: 1.15em; }
.mfti-popular-toggle { font-size: .9em; }
.mfti-popular-list a > strong { font-size: .95em; }
.mfti-advisor-cta strong,
.mfti-whatsapp-button { font-size: .95em; }
.mfti-whatsapp-button > span { font-size: 1em; }

@media (max-width: 600px) {
  .mfti-heading .mfti-kicker { font-size: .68em; }
  .mfti-heading h2 { font-size: 1.65em; }
  .mfti-heading p { font-size: .9em; }
  .mfti-tabs button { font-size: clamp(.72em, 3.1vw, .88em); }
  .mfti-field { font-size: .9em; }
  .mfti-field select,
  .mfti-field input { font-size: 1em; }
  .mfti-submit,
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form > .mfti-submit { font-size: .9em; }
  .mfti-popular-heading strong { font-size: 1.05em; }
  .mfti-popular-toggle { font-size: .82em; }
  .mfti-popular-list a > strong { font-size: .85em; }
  .mfti-advisor-cta strong,
  .mfti-whatsapp-button,
  .mfti-whatsapp-button > span { font-size: .9em; }
}

@container (max-width: 560px) {
  .mfti-tabs button { font-size: clamp(.72em, 3.1vw, .88em); }
  .mfti-popular-list a > strong { font-size: .85em; }
}

/* Explicit camera or device choice 2.2.1 */
.mfti-dropzone { cursor: default; }
.mfti-photo-source-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 430px); gap: 10px; margin-top: 15px; }
.mfti-photo-source { display: inline-flex; min-height: 44px; padding: 9px 14px; align-items: center; justify-content: center; gap: 8px; color: var(--mfti-ink); background: #fff; border: 1px solid #d8dee8; border-radius: 9px; box-shadow: 0 2px 6px rgba(16,24,40,.06); font: inherit; font-size: .92em; font-weight: 750; line-height: 1.2; text-transform: none; cursor: pointer; transition: border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.mfti-photo-source:hover, .mfti-photo-source:focus-visible { color: var(--mfti-accent-dark); background: #fff; border-color: var(--mfti-accent); box-shadow: 0 4px 10px rgba(16,24,40,.1); transform: translateY(-1px); }
.mfti-photo-source:focus-visible { outline: 3px solid rgba(255,138,0,.25); outline-offset: 2px; }
.mfti-camera-button { color: #fff; background: var(--mfti-accent); border-color: var(--mfti-accent); }
.mfti-camera-button:hover, .mfti-camera-button:focus-visible { color: #fff; background: var(--mfti-accent-dark); border-color: var(--mfti-accent-dark); }

@media (max-width: 600px) {
  .mfti-dropzone { min-height: 190px; padding: 16px 13px; }
  .mfti-dropzone > span:not(.mfti-upload-icon) { display: block; }
  .mfti-photo-source-actions { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
  .mfti-photo-source { width: 100%; min-height: 43px; font-size: .9em; }
}

@container (max-width: 560px) {
  .mfti-dropzone { min-height: 190px; padding: 16px 13px; }
  .mfti-dropzone > span:not(.mfti-upload-icon) { display: block; }
  .mfti-photo-source-actions { grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
}

/* Searchable dependent selectors 2.3.0 */
.mfti-native-select { display: none !important; }
.mfti-combobox { position: relative; min-width: 0; }
.mfti-field .mfti-combobox-input { padding-right: 40px; color: #344054 !important; caret-color: var(--mfti-accent) !important; cursor: pointer !important; font-size: clamp(16px, 1em, 18px) !important; line-height: 1.35; -webkit-text-fill-color: #344054; }
.mfti-field .mfti-combobox-input::placeholder { color: #667085 !important; opacity: 1; -webkit-text-fill-color: #667085; }
.mfti-field .mfti-combobox-input:focus { color: #17212b !important; caret-color: var(--mfti-accent-dark) !important; cursor: text !important; -webkit-text-fill-color: #17212b; }
.mfti-combobox-arrow { position: absolute; top: 50%; right: 14px; z-index: 1; color: #667085; font-size: 17px; line-height: 1; pointer-events: none; transform: translateY(-55%); }
.mfti-combobox-list { position: absolute; top: calc(100% + 5px); right: 0; left: 0; z-index: 9999; max-height: 260px; padding: 5px; overflow-y: auto; background: #fff; border: 1px solid #d6dbe1; border-radius: 10px; box-shadow: 0 12px 28px rgba(16,24,40,.16); }
.mfti-combobox-list[hidden] { display: none !important; }
.mfti-combobox-option { display: flex; width: 100%; min-height: 46px; padding: 11px 13px; align-items: center; color: #263443; background: transparent; border: 0; border-radius: 8px; box-shadow: none; font-family: inherit; font-size: clamp(16px, 1em, 18px) !important; font-weight: 650; line-height: 1.35; text-align: left; text-transform: none; cursor: pointer; }
.mfti-combobox-option + .mfti-combobox-option { border-top: 1px solid #f0f2f4; }
.mfti-combobox-option:hover, .mfti-combobox-option:focus, .mfti-combobox-option.is-active { color: #101828; background: #ffefd9; outline: 2px solid rgba(255,138,0,.28); outline-offset: -2px; }
.mfti-combobox-empty { display: block; padding: 13px 10px; color: #667085; font-size: 15px !important; font-weight: 550; text-align: center; }
.mfti-combobox.is-disabled .mfti-combobox-input { color: #98a2b3 !important; background: #f5f6f7; cursor: not-allowed !important; -webkit-text-fill-color: #98a2b3; }
.mfti-combobox.is-disabled .mfti-combobox-arrow { color: #b8c0cc; }

/* Image source behavior by device 2.3.0 */
.mfti-dropzone strong { margin-top: 0; }
.mfti-photo-source-actions { grid-template-columns: 1fr; width: min(100%, 330px); }
.mfti-camera-button { display: none; }
.mfti-photo-instruction-mobile { display: none; }

@media (max-width: 760px) {
  .mfti-photo-source-actions { width: 100%; }
  .mfti-camera-button { display: inline-flex; }
  .mfti-photo-instruction-desktop { display: none; }
  .mfti-photo-instruction-mobile { display: inline; }
}

@container (max-width: 560px) {
  .mfti-combobox-list { max-height: 220px; }
}

/* Visual refresh 2.4.0 */
.mfti-searcher {
  position: relative;
  z-index: 10;
  overflow: visible;
  padding: clamp(18px, 2.5vw, 30px);
  font-weight: 400;
}
.elementor-widget-shortcode:has(.mfti-searcher) { z-index: 100 !important; }
.mfti-searcher-heading { margin: 0 0 20px; }
.mfti-searcher-heading.mfti-align-left { text-align: left; }
.mfti-searcher-heading.mfti-align-center { text-align: center; }
.mfti-searcher-heading.mfti-align-right { text-align: right; }
.mfti-searcher-heading h2 { margin: 0; color: var(--mfti-ink); font-family: inherit; font-size: var(--mfti-title-size, 30px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; text-transform: none; }
.mfti-searcher-heading p { margin: 6px 0 0; color: var(--mfti-muted); font-family: inherit; font-size: var(--mfti-subtitle-size, 16px); font-weight: 400; line-height: 1.45; }
.mfti-searcher-heading .is-bold { font-weight: 700; }
.mfti-searcher-heading .is-italic { font-style: italic; }
.mfti-searcher:focus-within { z-index: 999999; }
.mfti-tabs {
  width: min(100%, 760px);
  margin: 0 0 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mfti-tabs button {
  min-height: 50px;
  padding: 10px 18px;
  font-size: clamp(.9em, 1vw, 1em);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.mfti-tabs button.is-active { font-weight: 650; }
.mfti-panel,
.mfti-panel[data-mfti-panel="measure"] { overflow: visible; }
.mfti-tire-preview {
  position: relative;
  height: clamp(150px, 16vw, 220px);
  margin: 0 0 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f8f9 0%, #f1f1f3 100%);
  border-radius: 14px;
}
.mfti-tire-preview img {
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: min(60%, 610px);
  height: auto;
  max-height: 94%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: drop-shadow(0 7px 7px rgba(16,24,40,.16));
}
.mfti-tire-reading {
  position: absolute;
  z-index: 2;
  top: 12%;
  left: 50%;
  min-width: 190px;
  padding: 7px 15px 9px;
  color: #fff;
  background: rgba(8, 11, 15, .86);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px 14px 9px 9px;
  box-shadow: 0 5px 13px rgba(0,0,0,.24);
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.85);
  transform: translateX(-50%);
}
.mfti-tire-reading-labels {
  display: grid;
  grid-template-columns: 1.15fr 1fr .8fr;
  gap: 8px;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}
.mfti-tire-reading strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1;
}
.mfti-tire-reading strong b,
.mfti-tire-reading strong small { font: inherit; }
.mfti-tire-rim-value { display: inline-flex; margin-left: 5px; align-items: baseline; gap: 1px; font-size: .65em; font-weight: 700; letter-spacing: .01em; transform: translateY(-2px); }
.mfti-panel[data-mfti-panel="measure"] > .mfti-form {
  position: relative;
  z-index: 20;
  width: 100%;
  grid-template-columns: minmax(105px, 1.15fr) minmax(82px, .85fr) minmax(78px, .78fr) minmax(110px, .7fr);
  gap: 10px;
  overflow: visible;
}
.mfti-panel[data-mfti-panel="measure"] > .mfti-form.mfti-form--with-brand {
  grid-template-columns: minmax(100px, 1.05fr) minmax(78px, .75fr) minmax(75px, .72fr) minmax(135px, 1.15fr) minmax(105px, .68fr);
  gap: 10px;
}
.mfti-field { min-width: 0; font-weight: 550; }
.mfti-field > span { font-weight: 550; }
.mfti-field select,
.mfti-field input,
.mfti-combobox-option { font-weight: 450 !important; }
.mfti-submit { font-weight: 600; }
.mfti-panel[data-mfti-panel="measure"] > .mfti-form .mfti-submit { min-width: 0; padding-right: 10px; padding-left: 10px; font-size: .86em; white-space: nowrap; }
.mfti-popular-heading strong { font-weight: 600; }
.mfti-popular-list a > strong { font-weight: 550; }
.mfti-popular-list a { padding-left: 14px; }
.mfti-popular-arrow { display: grid; width: 25px; height: 25px; margin-left: auto; padding: 0; flex: 0 0 25px; place-items: center; color: #667085; background: #fff; border-radius: 50%; font-size: 0; line-height: 1; }
.mfti-popular-arrow svg { display: block; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mfti-popular-list a:hover .mfti-popular-arrow { color: #fff; background: var(--mfti-accent); }
.mfti-advisor-cta strong,
.mfti-whatsapp-button { font-weight: 550; }
.mfti-combobox-list {
  z-index: 99999;
  max-height: 332px;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
.mfti-combobox-option {
  max-width: 100%;
  min-width: 0 !important;
  overflow: hidden;
  white-space: nowrap;
}
.mfti-combobox-option-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mfti-combobox-option-count {
  margin-left: 5px;
  flex: 0 0 auto;
  color: #7c8796;
  font-size: .72em;
  font-weight: 500;
}
.mfti-combobox-selected-count {
  position: absolute;
  top: 50%;
  right: 35px;
  z-index: 2;
  padding: 1px 4px;
  color: #7c8796;
  background: inherit;
  font-size: .7em;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}
.mfti-combobox-selected-count[hidden] { display: none !important; }
.mfti-combobox:has(.mfti-combobox-selected-count:not([hidden])) .mfti-combobox-input { padding-right: 65px; }

@media (max-width: 1050px) {
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form {
    grid-template-columns: minmax(100px, 1.15fr) minmax(76px, .82fr) minmax(72px, .75fr) minmax(105px, .68fr);
    gap: 8px;
  }
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form.mfti-form--with-brand {
    grid-template-columns: minmax(95px, 1fr) minmax(72px, .72fr) minmax(70px, .7fr) minmax(125px, 1.08fr) minmax(100px, .64fr);
    gap: 8px;
  }
  .mfti-form--with-brand .mfti-submit { grid-column: auto; }
}

@media (min-width: 601px) and (max-width: 760px) {
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form,
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form.mfti-form--with-brand { gap: 6px; }
  .mfti-field { font-size: .78em; }
  .mfti-field .mfti-combobox-input { min-height: 43px; padding-left: 10px; font-size: 14px !important; }
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form .mfti-submit { min-height: 43px; padding: 8px; font-size: .75em; }
}

@media (max-width: 600px) {
	.mfti-searcher-heading { margin-bottom: 15px; }
	.mfti-searcher-heading h2 { font-size: min(var(--mfti-title-size, 30px), 28px); }
	.mfti-searcher-heading p { font-size: min(var(--mfti-subtitle-size, 16px), 16px); }
  .mfti-tabs { width: 100%; margin-bottom: 16px; }
  .mfti-tabs button { min-height: 46px; padding: 8px 5px; font-size: clamp(.72em, 3.2vw, .86em); }
  .mfti-tire-preview { height: 136px; margin-bottom: 16px; border-radius: 11px; }
  .mfti-tire-preview img { width: min(100%, 440px); max-height: 92%; }
  .mfti-tire-reading { top: 8%; min-width: 160px; padding: 6px 11px 7px; }
  .mfti-tire-reading-labels { font-size: 8px; }
  .mfti-tire-reading strong { font-size: 23px; }
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form,
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form.mfti-form--with-brand { grid-template-columns: 1fr; }
  .mfti-form--with-brand .mfti-submit { grid-column: auto; }
  .mfti-combobox-list { max-height: 286px; }
}

/* El diseño debe responder al ancho real del widget, no sólo al viewport.
   Esto mantiene usable el filtro cuando WordPress lo coloca en una sidebar. */
@container (max-width: 620px) {
  .mfti-tire-preview {
    height: 176px;
    margin-bottom: 18px;
  }

  .mfti-tire-preview img {
    bottom: -24px;
    width: min(150%, 560px);
    max-width: none;
    max-height: none;
  }

  .mfti-tire-reading {
    top: 24px;
    width: 178px;
    min-width: 0;
    padding: 7px 12px 9px;
    border-radius: 12px 12px 8px 8px;
  }

  .mfti-tire-reading-labels {
    grid-template-columns: 1.1fr .9fr .75fr;
    gap: 5px;
    font-size: 8px;
  }

  .mfti-tire-reading strong {
    gap: 3px;
    font-size: 25px;
    white-space: nowrap;
  }

  .mfti-tire-rim-value {
    margin-left: 3px;
  }

  .mfti-panel[data-mfti-panel="measure"] > .mfti-form,
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form.mfti-form--with-brand {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .mfti-panel[data-mfti-panel="measure"] > .mfti-form .mfti-field,
  .mfti-panel[data-mfti-panel="measure"] > .mfti-form .mfti-submit {
    width: 100%;
    min-width: 0;
    grid-column: 1 / -1;
  }

  .mfti-panel[data-mfti-panel="measure"] > .mfti-form .mfti-submit {
    min-height: 46px;
    padding: 10px 16px;
    font-size: .88em;
  }

  .mfti-panel[data-mfti-panel="measure"] .mfti-combobox,
  .mfti-panel[data-mfti-panel="measure"] .mfti-combobox-input {
    width: 100%;
    max-width: none;
  }
}

/* =====================================================================
 * 2.6.0 — Pestañas Llantas / Rines y búsqueda de rines por medida
 * ================================================================== */
.mfti-product-switch {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 5px;
  gap: 6px;
  background: #17191c;
  border-radius: 13px;
}
.mfti-searcher .mfti-product-switch button[data-mfti-product] {
  display: inline-flex !important;
  min-height: 46px;
  margin: 0 !important;
  padding: 0 24px !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #d5d8dd !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font: inherit;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .05em;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.mfti-searcher .mfti-product-switch button[data-mfti-product]:hover { color: #fff !important; background: rgba(255,255,255,.08) !important; }
.mfti-searcher .mfti-product-switch button[data-mfti-product].is-active,
.mfti-searcher .mfti-product-switch button[data-mfti-product].is-active:hover { color: #17191c !important; background: var(--mfti-accent) !important; }
.mfti-searcher .mfti-product-switch button[data-mfti-product]:focus { outline: none; }
.mfti-searcher .mfti-product-switch button[data-mfti-product]:focus-visible { outline: 3px solid rgba(255,138,0,.45); outline-offset: 2px; }
.mfti-product-switch svg { display: block; width: 20px; height: 20px; flex: 0 0 auto; }
.mfti-product-panel[hidden] { display: none !important; }
.mfti-product-panel.is-active { animation: mftiFade .25s ease both; }

.mfti-rim-intro { margin: 0 0 16px; }
.mfti-rim-intro h3 { margin: 0; color: var(--mfti-ink); font-family: inherit; font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-transform: none; }
.mfti-rim-intro p { margin: 4px 0 0; color: var(--mfti-muted); font-size: 14px; line-height: 1.45; }

.mfti-rim-panel > .mfti-rim-form {
  position: relative;
  z-index: 20;
  width: 100%;
  grid-template-columns: minmax(120px, 1.1fr) minmax(100px, .9fr) minmax(100px, .9fr) minmax(140px, .75fr);
  gap: 10px;
  overflow: visible;
}
.mfti-rim-panel > .mfti-rim-form .mfti-submit { min-width: 0; padding-right: 12px; padding-left: 12px; font-size: .86em; white-space: nowrap; }

.mfti-rim-note {
  display: flex;
  margin: 16px 0 4px;
  padding: 12px 16px;
  align-items: flex-start;
  gap: 11px;
  color: #3a3f47;
  background: #f6f5f2;
  border-radius: 10px;
  font-size: .86em;
  line-height: 1.5;
}
.mfti-rim-note svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; color: var(--mfti-accent-dark); }
.mfti-rim-note strong { color: var(--mfti-ink); font-weight: 700; }
.mfti-rim-panel .mfti-popular-integrated { margin-top: 14px; }

@media (max-width: 860px) {
  .mfti-rim-panel > .mfti-rim-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mfti-rim-panel > .mfti-rim-form .mfti-submit { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .mfti-product-switch { display: flex; width: 100%; margin-bottom: 14px; padding: 4px; gap: 4px; }
  .mfti-searcher .mfti-product-switch button[data-mfti-product] { min-height: 44px; padding: 0 10px !important; flex: 1 1 0; font-size: 13px !important; }
  .mfti-rim-intro h3 { font-size: 18px; }
  .mfti-rim-panel > .mfti-rim-form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mfti-rim-panel > .mfti-rim-form .mfti-field,
  .mfti-rim-panel > .mfti-rim-form .mfti-submit { width: 100%; min-width: 0; grid-column: 1 / -1; }
  .mfti-rim-panel > .mfti-rim-form .mfti-submit { min-height: 46px; }
  .mfti-rim-panel .mfti-combobox,
  .mfti-rim-panel .mfti-combobox-input { width: 100%; max-width: none; }
  .mfti-rim-note { padding: 10px 12px; }
}

/* Rines: distribución según el ancho real del buscador */
@container (max-width: 860px) {
  .mfti-rim-panel > .mfti-rim-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mfti-rim-panel > .mfti-rim-form .mfti-submit { grid-column: 1 / -1; min-height: 46px; }
}
@container (max-width: 620px) {
  .mfti-rim-panel > .mfti-rim-form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mfti-rim-panel > .mfti-rim-form .mfti-field,
  .mfti-rim-panel > .mfti-rim-form .mfti-submit { width: 100%; min-width: 0; grid-column: 1 / -1; }
  .mfti-rim-panel .mfti-combobox,
  .mfti-rim-panel .mfti-combobox-input { width: 100%; max-width: none; }
}
@container (max-width: 420px) {
  .mfti-searcher .mfti-product-switch { display: flex; width: 100%; }
  .mfti-searcher .mfti-product-switch button[data-mfti-product] { flex: 1 1 0; padding: 0 10px !important; font-size: 13px !important; }
}
@container (max-width: 480px) {
  .mfti-rim-panel .mfti-popular-list a > strong { overflow: visible; white-space: normal; text-overflow: clip; line-height: 1.25; }
}
.mfti-nowrap, .mfti-rim-note strong { white-space: nowrap; }

/* =====================================================================
 * 2.7.0 — Diseño compacto
 * ================================================================== */
.mfti-searcher { padding: 18px 22px 16px; }
.mfti-searcher .mfti-searcher-heading { margin-bottom: 12px; }

/* Una sola fila: Llantas / Rines + forma de búsqueda */
.mfti-searcher .mfti-topbar {
  display: flex;
  margin: 0 0 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.mfti-searcher .mfti-topbar .mfti-product-switch { margin: 0; padding: 4px; gap: 4px; border-radius: 11px; }
.mfti-searcher .mfti-topbar .mfti-product-switch button[data-mfti-product] { min-height: 38px; padding: 0 20px; gap: 8px; font-size: 14px; }
.mfti-searcher .mfti-topbar .mfti-product-switch svg { width: 18px; height: 18px; }
.mfti-searcher .mfti-topbar .mfti-tabs {
  display: flex;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 3px;
  gap: 2px;
  overflow: visible;
  background: #f2f3f5;
  border: 0;
  border-radius: 10px;
}
.mfti-searcher .mfti-topbar .mfti-tabs[hidden] { display: none !important; }
.mfti-searcher .mfti-topbar .mfti-tabs button {
  flex-direction: row;
  min-height: 36px;
  padding: 0 18px;
  color: #4b5563;
  background: transparent;
  border: 0;
  border-radius: 7px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.mfti-searcher .mfti-topbar .mfti-tabs button:hover { color: var(--mfti-ink); background: rgba(255,255,255,.7); }
.mfti-searcher .mfti-topbar .mfti-tabs button.is-active { color: var(--mfti-accent-dark); background: #fff; box-shadow: 0 1px 4px rgba(23,33,43,.1); font-weight: 600; }
.mfti-searcher .mfti-tab-short,
.mfti-searcher .mfti-label-short { display: none; }

/* Llanta: franja baja; la placa se centra sobre el borde superior de la llanta */
.mfti-searcher .mfti-tire-preview { height: 150px; margin: 0 0 14px; border-radius: 12px; }
.mfti-searcher .mfti-tire-preview img {
  top: 12px;
  bottom: auto;
  width: 470px;
  max-width: none;
  max-height: none;
  height: auto;
}
.mfti-searcher .mfti-tire-reading {
  top: 8px;
  min-width: 168px;
  padding: 5px 14px 7px;
  border-radius: 12px 12px 8px 8px;
}
.mfti-searcher .mfti-tire-reading-labels { margin-bottom: 1px; font-size: 9px; }
.mfti-searcher .mfti-tire-reading strong { font-size: 26px; }

/* Campos más delgados */
.mfti-searcher .mfti-field { gap: 5px; font-size: 13px; }
.mfti-searcher .mfti-field select,
.mfti-searcher .mfti-field input,
.mfti-searcher .mfti-field .mfti-combobox-input { min-height: 44px; }
.mfti-searcher .mfti-submit,
.mfti-searcher .mfti-panel[data-mfti-panel="measure"] > .mfti-form .mfti-submit { min-height: 44px; }
.mfti-searcher .mfti-active-filter { margin-bottom: 12px; }

/* Medidas más buscadas: una fila + ayuda por WhatsApp en el encabezado */
.mfti-searcher .mfti-popular-integrated { margin: 14px 0 0; padding: 12px 0 0; }
.mfti-searcher .mfti-popular-integrated .mfti-popular-heading { margin-bottom: 10px; flex-wrap: wrap; gap: 6px 14px; }
.mfti-searcher .mfti-popular-integrated .mfti-popular-heading strong { font-size: 15px; }
.mfti-searcher .mfti-popular-integrated .mfti-popular-toggle { margin-left: 0; }
.mfti-searcher .mfti-popular-cta { display: flex; margin-left: auto; align-items: center; flex-wrap: wrap; gap: 4px 8px; color: #4b5563; font-size: 13px; }
.mfti-searcher .mfti-popular-cta .mfti-whatsapp-button { font-size: 13px; }
.mfti-searcher .mfti-popular-integrated .mfti-popular-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mfti-searcher .mfti-popular-integrated .mfti-popular-list a { min-height: 38px; padding-top: 4px; padding-bottom: 4px; }
.mfti-searcher .mfti-advisor-cta { margin-top: 12px; padding-top: 10px; }

/* Rines */
.mfti-searcher .mfti-rim-note { margin: 12px 0 0; padding: 9px 14px; font-size: 13px; line-height: 1.45; }
.mfti-searcher .mfti-rim-note b { font-weight: 700; }

/* Pantallas medianas: las pestañas bajan si no caben */
@container (max-width: 860px) {
  .mfti-searcher .mfti-topbar .mfti-tabs button { padding: 0 12px; }
}

/* Celular */
@container (max-width: 620px) {
  .mfti-searcher { padding: 14px 14px 12px; }
  .mfti-searcher .mfti-topbar { gap: 8px; margin-bottom: 12px; }
  .mfti-searcher .mfti-topbar .mfti-product-switch { display: flex; width: 100%; }
  .mfti-searcher .mfti-topbar .mfti-product-switch button[data-mfti-product] { flex: 1 1 0; min-height: 40px; padding: 0 8px; font-size: 13px; }
  .mfti-searcher .mfti-topbar .mfti-tabs { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mfti-searcher .mfti-topbar .mfti-tabs button { justify-content: center; padding: 0 6px; font-size: 13px; }
  .mfti-searcher .mfti-tab-full { display: none; }
  .mfti-searcher .mfti-tab-short,
  .mfti-searcher .mfti-label-short { display: inline; }
  .mfti-searcher .mfti-label-full { display: none; }

  .mfti-searcher .mfti-tire-preview { height: 112px; margin-bottom: 12px; }
  .mfti-searcher .mfti-tire-preview img { top: 10px; width: 320px; }
  .mfti-searcher .mfti-tire-reading { top: 5px; min-width: 140px; padding: 4px 11px 6px; }
  .mfti-searcher .mfti-tire-reading-labels { font-size: 8px; }
  .mfti-searcher .mfti-tire-reading strong { font-size: 21px; }

  /* Ancho, alto y rin lado a lado; marca y botón a todo lo ancho */
  .mfti-searcher .mfti-panel[data-mfti-panel="measure"] > .mfti-form,
  .mfti-searcher .mfti-panel[data-mfti-panel="measure"] > .mfti-form.mfti-form--with-brand,
  .mfti-searcher .mfti-rim-panel > .mfti-rim-form { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mfti-searcher .mfti-panel[data-mfti-panel="measure"] > .mfti-form .mfti-field,
  .mfti-searcher .mfti-rim-panel > .mfti-rim-form .mfti-field { grid-column: auto; min-width: 0; }
  .mfti-searcher .mfti-panel[data-mfti-panel="measure"] > .mfti-form .mfti-field:has(select[name="mfti_marca"]),
  .mfti-searcher .mfti-panel[data-mfti-panel="measure"] > .mfti-form .mfti-submit,
  .mfti-searcher .mfti-rim-panel > .mfti-rim-form .mfti-submit { grid-column: 1 / -1; }
  .mfti-searcher .mfti-field { font-size: 12px; }
  .mfti-searcher .mfti-field .mfti-combobox-input { padding-right: 24px; padding-left: 10px; font-size: 16px !important; }
  .mfti-searcher .mfti-combobox-arrow { right: 8px; }
  .mfti-searcher .mfti-combobox-selected-count { display: none !important; }
  .mfti-searcher .mfti-combobox:has(.mfti-combobox-selected-count) .mfti-combobox-input { padding-right: 24px; }
  .mfti-searcher .mfti-rim-panel .mfti-field > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Medidas más buscadas: chips deslizables, ayuda al final */
  .mfti-searcher .mfti-popular-integrated { display: flex; flex-direction: column; }
  .mfti-searcher .mfti-popular-integrated .mfti-popular-heading { display: contents; }
  .mfti-searcher .mfti-popular-integrated .mfti-popular-heading > strong { order: 1; margin-bottom: 8px; font-size: 14px; }
  .mfti-searcher .mfti-popular-integrated .mfti-popular-toggle { display: none !important; }
  .mfti-searcher .mfti-popular-integrated .mfti-popular-list {
    display: flex;
    order: 2;
    margin: 0 -14px;
    padding: 0 14px 4px;
    gap: 6px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .mfti-searcher .mfti-popular-integrated .mfti-popular-list::-webkit-scrollbar { display: none; }
  .mfti-searcher .mfti-popular-integrated .mfti-popular-list a,
  .mfti-searcher .mfti-popular-integrated .mfti-popular-list a[hidden] {
    display: flex !important;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 18px;
    scroll-snap-align: start;
  }
  .mfti-searcher .mfti-popular-integrated .mfti-popular-list a > strong { overflow: visible; white-space: nowrap; font-size: 13px; }
  .mfti-searcher .mfti-popular-integrated .mfti-popular-arrow { display: none; }
  .mfti-searcher .mfti-popular-cta {
    order: 3;
    justify-content: center;
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid #eceef1;
    font-size: 12px;
  }
  .mfti-searcher .mfti-rim-note { font-size: 12px; }
}

/* =====================================================================
 * 2.7.2 — Medida grabada en el costado de la llanta
 * La medida se escribe en curva sobre el costado, como en una llanta real.
 * ================================================================== */
.mfti-searcher .mfti-tire-preview { height: 150px; }
.mfti-searcher .mfti-tire-figure {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 640px;
  transform: translateX(-50%);
  pointer-events: none;
}
.mfti-searcher .mfti-tire-preview .mfti-tire-figure img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  transform: none;
}
.mfti-searcher .mfti-tire-sidewall { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mfti-searcher .mfti-sidewall-text {
  fill: #e4e7eb;
  stroke: rgba(0, 0, 0, .55);
  stroke-width: 3px;
  paint-order: stroke fill;
  font-family: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 3px;
}
.mfti-searcher .mfti-tire-reading { display: none; }
.mfti-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@container (max-width: 620px) {
  .mfti-searcher .mfti-tire-preview { height: 112px; }
  .mfti-searcher .mfti-tire-figure { top: -2px; width: 520px; }
  .mfti-searcher .mfti-sidewall-text { font-size: 31px; }
}
