/* =========================================================================
   Tool pages — So sánh xe, Dự toán chi phí, Đăng ký lái thử, Tìm đại lý.
   Shared layout (.tdt-tool) + specific blocks (.tdt-compare, .tdt-estimate, .tdt-finder).
   ========================================================================= */

.tdt-tool { background: #fff; padding: 40px 0 80px; }
.tdt-tool__container {
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
}
.tdt-tool__title {
  font-family: 'Toyota Type', 'Toyota Type Book', Inter, system-ui, sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 12px;
  text-align: center;
}
.tdt-tool__subtitle {
  text-align: center;
  color: #3A3A3A;
  font-size: 15px;
  margin: 0 0 40px;
  line-height: 1.6;
}

/* Generic form controls (shared) */
.tdt-tool__form { max-width: 800px; margin: 0 auto; }
.tdt-tool__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.tdt-tool__field { display: flex; flex-direction: column; }
.tdt-tool__field--full { grid-column: 1 / -1; }
.tdt-tool__field label {
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tdt-tool__field label .req { color: #EB0A1E; }
.tdt-tool__field input,
.tdt-tool__field select,
.tdt-tool__field textarea {
  padding: 10px 14px;
  border: 1px solid #D5D5D5;
  background: #fff;
  font-size: 14px;
  color: #1A1A1A;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.tdt-tool__field input:focus,
.tdt-tool__field select:focus,
.tdt-tool__field textarea:focus {
  border-color: #EB0A1E;
}
.tdt-tool__actions {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.tdt-tool__agree {
  font-size: 13px;
  color: #3A3A3A;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 480px;
}
.tdt-tool__agree input { margin-top: 4px; }
.tdt-tool__link { color: #EB0A1E; }
.tdt-tool__submit {
  background: #EB0A1E;
  color: #fff;
  padding: 12px 32px;
  border: 0;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.tdt-tool__submit:hover { background: #c5091a; }
.tdt-tool__submit--ghost {
  background: transparent;
  color: #EB0A1E;
  border: 2px solid #EB0A1E;
  padding: 10px 30px;
}
.tdt-tool__submit--ghost:hover { background: #EB0A1E; color: #fff; }

.tdt-tool__feedback,
.tdt-lead-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-left: 4px solid #EB0A1E;
  background: #F5F5F5;
  font-size: 14px;
  display: none;
}
.tdt-tool__feedback.is-visible,
.tdt-lead-feedback.is-visible { display: block; }
.tdt-lead-feedback.is-ok    { border-left-color: #2E7D32; background: #E8F5E9; color: #1B5E20; }
.tdt-lead-feedback.is-error { border-left-color: #EB0A1E; background: #FDECEE; color: #8B0612; }

/* ============ COMPARE VEHICLES ============ */
.tdt-compare__title {
  font-size: 28px;
  font-weight: 400;
  color: #1A1A1A;
  text-transform: uppercase;
  margin: 0 0 40px;
  text-align: left;
}
.tdt-compare__slots {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 32px;
}
.tdt-compare__vs {
  align-self: center;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #808080;
  letter-spacing: 0.1em;
  transition: opacity .2s;
}
.tdt-compare__slot.is-filled {
  position: relative;
  border-bottom: 1px solid #E9E9E9;
  padding-bottom: 20px;
}
.tdt-compare__slot-filled { position: relative; text-align: center; }
.tdt-compare__slot-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border: 1px solid #D9D9D9;
  background: #fff;
  color: #3A3A3A;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tdt-compare__slot-remove:hover { background: #EB0A1E; color: #fff; border-color: #EB0A1E; }
.tdt-compare__slot-name {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  color: #1A1A1A;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.tdt-compare__slot-price {
  font-size: 13px;
  color: #3A3A3A;
  margin-bottom: 10px;
}
.tdt-compare__slot-price sup { font-size: 10px; }
.tdt-compare__slot-price strong { color: #1A1A1A; font-weight: 600; }
.tdt-compare__slot-swatches {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 10px 0;
  min-height: 18px;
}
.tdt-compare__swatch {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid #D9D9D9;
  display: inline-block;
}
.tdt-compare__slot-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 12px 0 8px;
}
.tdt-compare__slot-action {
  color: #EB0A1E;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.tdt-compare__slot-action:hover { text-decoration: underline; }

/* Result: tổng quan + accordions */
.tdt-compare__result { margin-top: 48px; }
.tdt-compare__overview { margin-bottom: 32px; }
.tdt-compare__group-title {
  font-size: 18px;
  font-weight: 400;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E9E9E9;
}
.tdt-compare__spec-table {
  width: 100%;
  border-collapse: collapse;
}
.tdt-compare__spec-table tr { border-bottom: 1px solid #E9E9E9; }
.tdt-compare__spec-table th,
.tdt-compare__spec-table td {
  padding: 14px 16px;
  font-size: 14px;
  vertical-align: top;
  color: #1A1A1A;
}
.tdt-compare__spec-table th {
  text-align: left;
  font-weight: 400;
  color: #3A3A3A;
  width: 22%;
  background: transparent;
}
.tdt-compare__spec-table td { width: 26%; }
.tdt-compare__feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #3A3A3A;
}
.tdt-compare__feature-list li { padding: 2px 0; }

.tdt-compare__accordion {
  border-bottom: 1px solid #E9E9E9;
}
.tdt-compare__accordion-title {
  list-style: none;
  cursor: pointer;
  padding: 18px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tdt-compare__accordion-title::-webkit-details-marker { display: none; }
.tdt-compare__accordion-icon {
  font-size: 14px;
  color: #EB0A1E;
  transition: transform .2s;
}
.tdt-compare__accordion[open] .tdt-compare__accordion-icon { transform: rotate(180deg); }
.tdt-compare__accordion .tdt-compare__spec-table { margin: 0 0 16px; }
.tdt-compare__slot {
  text-align: center;
  padding: 8px;
}
.tdt-compare__slot-image {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.tdt-compare__slot-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tdt-compare__slot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    repeating-linear-gradient(135deg, #E5E5E5 0, #E5E5E5 1px, transparent 1px, transparent 7px);
  background-color: #fafafa;
  border-radius: 4px;
  position: relative;
}
.tdt-compare__slot-placeholder svg {
  width: 72px; height: 36px;
  filter: drop-shadow(0 1px 0 #fff);
}
.tdt-compare__slot-label {
  font-size: 15px;
  color: #1A1A1A;
  font-weight: 400;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tdt-compare__slot.is-filled .tdt-compare__slot-label { font-weight: 500; }
.tdt-compare__slot-link {
  background: none;
  border: 0;
  color: #EB0A1E;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 4px 0;
  text-transform: uppercase;
}
.tdt-compare__slot-link:hover { text-decoration: underline; }
.tdt-compare__slot-link span { margin-left: 6px; }

.tdt-compare__actions {
  display: flex;
  justify-content: center;
  margin: 24px 0 56px;
}
.tdt-compare__submit {
  background: #EB0A1E;
  color: #fff;
  border: 0;
  padding: 14px 48px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background .15s, opacity .15s;
}
.tdt-compare__submit:hover:not(:disabled) { background: #c5091a; }
.tdt-compare__submit:disabled {
  background: #F5B5B9;
  cursor: not-allowed;
}

.tdt-compare__table-wrap { overflow-x: auto; }

/* -------- Modal: CHỌN XE -------- */
.tdt-compare-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.tdt-compare-modal.is-open { display: flex; }
.tdt-compare-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
.tdt-compare-modal__dialog {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 40px 56px 48px;
  z-index: 1;
  animation: tdtCmpIn .25s ease-out both;
}
@keyframes tdtCmpIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tdt-compare-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: #fff;
  color: #000;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.tdt-compare-modal__close:hover { background: #EB0A1E; color: #fff; }

.tdt-compare-modal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.tdt-compare-modal__title {
  font-size: 32px;
  font-weight: 400;
  color: #1A1A1A;
  text-transform: uppercase;
  margin: 0 0 32px;
  letter-spacing: 0.03em;
}
.tdt-compare-modal__field {
  display: block;
  margin-bottom: 24px;
}
.tdt-compare-modal__field > span {
  display: block;
  font-size: 13px;
  color: #3A3A3A;
  margin-bottom: 6px;
}
.tdt-compare-modal__field select {
  width: 100%;
  height: 40px;
  padding: 0 28px 0 4px;
  border: 0;
  border-bottom: 1px solid #D9D9D9;
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7'><path fill='%23EB0A1E' d='M6 7 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px 7px;
  font-size: 15px;
  color: #1A1A1A;
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  border-radius: 0;
}
.tdt-compare-modal__field select:disabled { color: #999; cursor: not-allowed; }
.tdt-compare-modal__field select:focus { outline: none; border-bottom-color: #EB0A1E; }

.tdt-compare-modal__submit {
  margin-top: 16px;
  padding: 14px 42px;
  background: #EB0A1E;
  color: #fff;
  border: 0;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background .15s;
}
.tdt-compare-modal__submit:hover:not(:disabled) { background: #c5091a; }
.tdt-compare-modal__submit:disabled { background: #F5B5B9; cursor: not-allowed; }

.tdt-compare-modal__preview { text-align: center; }
.tdt-compare-modal__preview-image {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.tdt-compare-modal__preview-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tdt-compare-modal__preview-label {
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 820px) {
  .tdt-compare__slots { grid-template-columns: 1fr; gap: 32px; }
  .tdt-compare-modal__dialog { padding: 32px 20px; }
  .tdt-compare-modal__body { grid-template-columns: 1fr; gap: 24px; }
  .tdt-compare-modal__title { font-size: 22px; margin-bottom: 20px; }
}
.tdt-compare__table {
  width: 100%;
  border-collapse: collapse;
}
.tdt-compare__table th,
.tdt-compare__table td {
  padding: 14px 16px;
  border-bottom: 1px solid #E5E5E5;
  text-align: center;
  font-size: 14px;
  vertical-align: middle;
}
.tdt-compare__table thead th {
  background: #1A1A1A;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.tdt-compare__table tbody th {
  text-align: left;
  font-weight: 600;
  background: #F5F5F5;
  color: #1A1A1A;
  width: 180px;
}

/* ============ COST ESTIMATION — toyota.com.vn/du-toan-chi-phi layout ============ */
.tdt-estimate-page { padding: 48px 0 80px; background: #fff; }
.tdt-estimate-page__container {
  max-width: 1446px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.tdt-estimate-page__left { min-width: 0; }
.tdt-estimate-page__right { position: relative; }
.tdt-estimate-page__title {
  font-size: 38px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 32px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.tdt-estimate-page__tabs {
  display: flex;
  gap: 36px;
  border-bottom: 1px solid #E9E9E9;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tdt-estimate-page__tab {
  font-size: 16px;
  color: #3A3A3A;
  padding: 14px 2px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.tdt-estimate-page__tab:hover { color: #EB0A1E; }
.tdt-estimate-page__tab.is-active {
  color: #EB0A1E;
  border-bottom-color: #EB0A1E;
  font-weight: 500;
}
.tdt-estimate-page__step { margin-bottom: 40px; scroll-margin-top: 100px; }
.tdt-estimate-page__image {
  position: sticky;
  top: 100px;
  aspect-ratio: 1.15 / 1;
  width: 100%;
  overflow: hidden;
}
.tdt-estimate-page__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fields — labels 18px / fw 700 (match toyota) */
.tdt-est-field {
  display: block;
  position: relative;
  margin-bottom: 28px;
}
.tdt-est-field > span {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 12px;
}
.tdt-est-field > span em { color: #EB0A1E; font-style: normal; }
.tdt-est-field > select,
.tdt-est-field > input {
  width: 100%;
  height: 44px;
  padding: 0 32px 0 4px;
  border: 0;
  border-bottom: 1px solid #D9D9D9;
  background-color: transparent;
  font-size: 16px;
  color: #808080;
  border-radius: 0;
  font-family: inherit;
}
.tdt-est-field > select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7'><path fill='%23EB0A1E' d='M6 7 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px 7px;
  cursor: pointer;
}
.tdt-est-field > select:focus,
.tdt-est-field > input:focus { outline: none; border-bottom-color: #EB0A1E; }
.tdt-est-field > select:disabled,
.tdt-est-field > input:read-only { color: #666; cursor: not-allowed; }
.tdt-est-field__suffix {
  position: absolute;
  right: 4px;
  bottom: 10px;
  font-size: 12px;
  color: #808080;
  pointer-events: none;
}

/* Rows + groups */
.tdt-est-group-title {
  color: #EB0A1E;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 36px 0 16px;
  text-transform: uppercase;
}
.tdt-est-group-title--total { color: #EB0A1E; margin-top: 32px; }
.tdt-est-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid #E9E9E9;
  font-size: 16px;
  align-items: center;
}
.tdt-est-row span:nth-child(1) { color: #1A1A1A; font-weight: 400; }
.tdt-est-row span:nth-child(2) { color: #1A1A1A; font-weight: 600; text-align: right; min-width: 120px; }
.tdt-est-row em { color: #808080; font-style: normal; font-size: 13px; min-width: 40px; text-align: right; }

.tdt-est-ins { padding: 10px 0; border-bottom: 1px solid #F0F0F0; }
.tdt-est-ins__check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 400;
  color: #1A1A1A;
  cursor: pointer;
  padding: 8px 0;
}
.tdt-est-ins__check input { accent-color: #EB0A1E; }
.tdt-est-ins__options {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.tdt-est-ins__options select {
  height: 32px;
  padding: 0 24px 0 8px;
  border: 1px solid #D9D9D9;
  background-color: #fff;
  font-size: 13px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7'><path fill='%23EB0A1E' d='M6 7 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
  cursor: pointer;
  border-radius: 0;
}
.tdt-est-ins__amount { margin-left: auto; font-weight: 500; }
.tdt-est-ins__options em { color: #808080; font-style: normal; font-size: 12px; }

.tdt-est-total {
  font-size: 22px;
  font-weight: 600;
  color: #1A1A1A;
  padding: 12px 0 24px;
  border-bottom: 1px solid #D9D9D9;
}
.tdt-est-total span { color: #EB0A1E; }
.tdt-est-total-row { margin-top: 16px; }

.tdt-estimate-page__actions {
  display: flex;
  justify-content: flex-end;
  margin: 32px 0 20px;
}
.tdt-est-btn-primary {
  padding: 12px 32px;
  background: #EB0A1E;
  color: #fff;
  border: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}
.tdt-est-btn-primary:hover { background: #c5091a; }

.tdt-est-consent {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: #3A3A3A;
  margin: 8px 0 6px;
  align-items: flex-start;
}
.tdt-est-consent input { accent-color: #EB0A1E; margin-top: 3px; }
.tdt-est-note {
  font-size: 12px;
  color: #808080;
  margin: 0 0 20px;
  font-style: italic;
}
.tdt-est-btn-email {
  padding: 12px 42px;
  background: #F5B5B9;
  color: #fff;
  border: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}
.tdt-est-btn-email:not(:disabled) { background: #EB0A1E; cursor: pointer; }
.tdt-est-btn-email:not(:disabled):hover { background: #c5091a; }

@media (max-width: 820px) {
  .tdt-estimate-page__container { grid-template-columns: 1fr; gap: 24px; }
  .tdt-estimate-page__right { order: -1; }
  .tdt-estimate-page__image { position: static; }
  .tdt-estimate-page__tabs { gap: 12px; font-size: 12px; }
}

/* ============ TEST DRIVE page (uses .tdt-estimate-page__* shell) ============ */
.tdt-testdrive-page__consents {
  margin: 24px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tdt-testdrive-page__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #1A1A1A;
  line-height: 1.5;
  cursor: pointer;
}
.tdt-testdrive-page__consent input {
  accent-color: #EB0A1E;
  margin-top: 3px;
  flex-shrink: 0;
}
.tdt-testdrive-page__consent a {
  color: #EB0A1E;
  text-decoration: underline;
}
.tdt-testdrive-page__submit {
  margin-top: 16px;
  padding: 14px 42px;
  background: #F5B5B9;
  color: #fff;
  border: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}
.tdt-testdrive-page__submit:hover { background: #EB0A1E; }
.tdt-testdrive-page__submit:focus { background: #EB0A1E; outline: none; }
.tdt-testdrive-form:valid .tdt-testdrive-page__submit { background: #EB0A1E; }
.tdt-testdrive-form:valid .tdt-testdrive-page__submit:hover { background: #c5091a; }
.tdt-testdrive-page__feedback { margin-top: 16px; }

/* Legacy .tdt-estimate (old simple calculator) — retained for template-estimate.php if reused. */
.tdt-estimate {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.tdt-estimate__controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: #F5F5F5;
  border-top: 4px solid #EB0A1E;
  height: fit-content;
}
.tdt-estimate__result {
  padding: 28px;
  border: 1px solid #E5E5E5;
}
.tdt-estimate__title {
  font-size: 18px;
  font-weight: 400;
  color: #1A1A1A;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.tdt-estimate__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.tdt-estimate__table td {
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid #E5E5E5;
}
.tdt-estimate__table td:first-child { color: #3A3A3A; }
.tdt-estimate__table td:last-child { text-align: right; font-weight: 600; color: #1A1A1A; }
.tdt-estimate__total td {
  font-size: 16px;
  font-weight: 400;
  color: #EB0A1E !important;
  border-top: 2px solid #1A1A1A;
  padding-top: 14px;
  text-transform: uppercase;
}
.tdt-estimate__note {
  font-size: 12px;
  color: #808080;
  font-style: italic;
  margin: 12px 0 20px;
}
.tdt-estimate__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ DEALER FINDER ============ */
.tdt-finder__filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.tdt-finder__filter label {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  text-transform: uppercase;
}
.tdt-finder__filter select {
  padding: 10px 14px;
  border: 1px solid #D5D5D5;
  background: #fff;
  font-size: 14px;
  min-width: 240px;
}
.tdt-finder__count {
  text-align: center;
  color: #3A3A3A;
  font-size: 14px;
  margin: 0 0 32px;
}
.tdt-finder__count strong { color: #EB0A1E; }
.tdt-finder__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tdt-finder__card {
  background: #fff;
  border: 1px solid #E5E5E5;
  padding: 24px;
  transition: box-shadow .2s, border-color .2s;
}
.tdt-finder__card:hover {
  border-color: #EB0A1E;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.tdt-finder__name {
  font-size: 16px;
  font-weight: 400;
  color: #1A1A1A;
  margin: 0 0 14px;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 2px solid #EB0A1E;
}
.tdt-finder__addr,
.tdt-finder__phone,
.tdt-finder__hours {
  font-size: 13px;
  color: #3A3A3A;
  margin: 0 0 8px;
  line-height: 1.55;
}
.tdt-finder__addr i,
.tdt-finder__phone i,
.tdt-finder__hours i {
  color: #EB0A1E;
  margin-right: 6px;
  width: 14px;
}
.tdt-finder__phone a { color: #1A1A1A; font-weight: 600; text-decoration: none; }
.tdt-finder__phone a:hover { color: #EB0A1E; }
.tdt-finder__services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.tdt-finder__service {
  font-size: 11px;
  padding: 3px 10px;
  background: #F5F5F5;
  color: #1A1A1A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 2px;
}
.tdt-finder__actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.tdt-finder__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #1A1A1A;
  color: #1A1A1A;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}
.tdt-finder__btn:hover { background: #1A1A1A; color: #fff; }
.tdt-finder__btn--primary {
  background: #EB0A1E;
  border-color: #EB0A1E;
  color: #fff;
}
.tdt-finder__btn--primary:hover { background: #c5091a; }
.tdt-finder__empty {
  text-align: center;
  padding: 48px 0;
  color: #808080;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .tdt-compare__pickers { grid-template-columns: repeat(2, 1fr); }
  .tdt-estimate { grid-template-columns: 1fr; }
  .tdt-finder__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .tdt-tool__title { font-size: 22px; }
  .tdt-tool__row { grid-template-columns: 1fr; }
  .tdt-compare__pickers { grid-template-columns: 1fr; }
  .tdt-compare__table tbody th { width: 120px; font-size: 12px; }
  .tdt-finder__grid { grid-template-columns: 1fr; }
  .tdt-finder__filter { flex-direction: column; align-items: stretch; }
  .tdt-finder__filter select { min-width: 0; width: 100%; }
}
