/* GI Vehicle Feature Matrix v1.7.0 */
.gi-vfm,
.gi-vfm * {
  box-sizing: border-box;
}

.gi-vfm {
  width: 100%;
  margin: 0 auto 72px;
  color: #0c0c0d;
  font-family: "Poppins", "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.gi-vfm-loading,
.gi-vfm-error {
  max-width: 1200px;
  margin: 40px auto;
  padding: 18px;
  text-align: center;
  background: #f5f5f5;
  border: 1px solid #ddd;
}

.gi-vfm-steps {
  max-width: 1288px;
  margin: 0 auto 112px;
  padding: 0 18px;
  text-align: center;
}

.gi-vfm-step-block {
  margin: 0;
}

.gi-vfm-year-block {
  margin-top: 106px;
}

.gi-vfm-step-label {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: #0d0d0f;
}

.gi-vfm-title {
  margin: 0 auto 44px;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: #090a0d;
}

.gi-vfm-btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 26px 34px;
}

.gi-vfm-btn {
  width: 286px;
  max-width: 100%;
  height: 64px;
  padding: 0 24px;
  border: 2px solid #111216;
  border-radius: 7px;
  background: #fff;
  color: #0f1012;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.gi-vfm-year-btn {
  width: 286px;
}

.gi-vfm-btn:hover,
.gi-vfm-btn:focus,
.gi-vfm-btn.is-active {
  background: #111216;
  color: #fff;
  border-color: #111216;
}

.gi-vfm-table-stage {
  width: 100%;
  margin: 0 auto;
}

.gi-vfm-table-wrap {
  width: calc(100% - 112px);
  max-width: 1780px;
  margin: 0 auto 60px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  padding-top: 48px;
}

.gi-vfm-table {
  width: 100%;
  min-width: 1320px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #f1f1f1;
  color: #111;
  font-size: 16px;
  line-height: 1.32;
}

.gi-vfm-table th,
.gi-vfm-table td {
  border-bottom: 1px solid #b9b9b9;
  vertical-align: middle;
}

.gi-vfm-table thead th {
  height: 72px;
  padding: 0 40px;
  background: #111216;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  text-align: left;
  line-height: 1.15;
}

.gi-vfm-table thead th:first-child {
  border-radius: 7px 0 0 0;
}

.gi-vfm-table thead th:last-child {
  border-radius: 0 7px 0 0;
}

.gi-vfm-name-head,
.gi-vfm-name-cell {
  width: 26%;
}

.gi-vfm-support-head,
.gi-vfm-support-cell {
  width: 25%;
  text-align: center !important;
  background: #111216;
  color: #fff;
}

.gi-vfm-support-head {
  position: relative;
  padding: 0 !important;
  overflow: visible;
  vertical-align: bottom;
}

.gi-vfm-note-head,
.gi-vfm-note-cell {
  width: 49%;
}

.gi-vfm-selected-title {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: -48px;
  height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 7px 7px 0 0;
  background: #111216;
  color: #fff;
  text-align: center;
  line-height: 1.08;
}

.gi-vfm-selected-title strong {
  display: block;
  font-size: 23px;
  font-weight: 700;
}

.gi-vfm-selected-title span {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 500;
}

.gi-vfm-group-row td {
  height: 62px;
  padding: 0 40px;
  background: #c6c6c6;
  color: #111;
  font-size: 16px;
  font-weight: 700;
}

.gi-vfm-group-row td:nth-child(2) {
  background: #626363;
}

.gi-vfm-feature-row td {
  height: 74px;
  padding: 16px 40px;
  background: #f1f1f1;
  color: #111;
}

.gi-vfm-feature-row:nth-child(even) td:not(.gi-vfm-support-cell) {
  background: #eeeeee;
}

.gi-vfm-name-cell {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.gi-vfm-support-cell {
  padding: 18px 14px !important;
  background: #111216 !important;
}

.gi-vfm-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.gi-vfm-check {
  background: #2aa9e0;
}

.gi-vfm-cross {
  background: #8a8a8a;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.gi-vfm-partial {
  background: #d99d1f;
}

.gi-vfm-note-cell {
  font-size: 16px;
  font-weight: 400;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.38;
  word-break: normal;
  overflow-wrap: anywhere;
}

.gi-vfm-mode-model .gi-vfm-year-block,
.gi-vfm-mode-init .gi-vfm-year-block {
  animation: giVfmSlideDown .42s cubic-bezier(.22, .61, .36, 1) both;
}

.gi-vfm-table-stage.gi-vfm-mode-year,
.gi-vfm-table-stage.gi-vfm-mode-model,
.gi-vfm-table-stage.gi-vfm-mode-init {
  animation: giVfmTableReveal .48s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes giVfmSlideDown {
  from {
    opacity: .18;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes giVfmTableReveal {
  from {
    opacity: .2;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1399px) {
  .gi-vfm-title {
    font-size: 44px;
  }
  .gi-vfm-btn,
  .gi-vfm-year-btn {
    width: 250px;
    height: 58px;
    font-size: 18px;
  }
  .gi-vfm-table-wrap {
    width: calc(100% - 64px);
  }
}

@media (max-width: 991px) {
  .gi-vfm {
    margin-bottom: 42px;
  }
  .gi-vfm-steps {
    margin-bottom: 62px;
    padding: 0 14px;
  }
  .gi-vfm-year-block {
    margin-top: 64px;
  }
  .gi-vfm-step-label {
    margin-bottom: 9px;
    font-size: 14px;
  }
  .gi-vfm-title {
    margin-bottom: 30px;
    font-size: 30px;
    letter-spacing: -0.035em;
  }
  .gi-vfm-btn-row {
    gap: 14px;
  }
  .gi-vfm-btn,
  .gi-vfm-year-btn {
    width: calc(50% - 8px);
    height: 54px;
    padding: 0 10px;
    border-width: 1.5px;
    font-size: 15px;
  }
  .gi-vfm-table-wrap {
    width: 100%;
    margin-bottom: 38px;
    padding: 34px 0 8px;
  }
  .gi-vfm-table {
    min-width: 980px;
    font-size: 15px;
  }
  .gi-vfm-table thead th {
    height: 66px;
    padding: 0 20px;
    font-size: 16px;
  }
  .gi-vfm-selected-title {
    top: -34px;
    height: 100px;
  }
  .gi-vfm-selected-title strong {
    font-size: 16px;
  }
  .gi-vfm-selected-title span {
    font-size: 14px;
  }
  .gi-vfm-group-row td,
  .gi-vfm-feature-row td {
    padding-left: 20px;
    padding-right: 20px;
  }
  .gi-vfm-group-row td {
    height: 52px;
    font-size: 14px;
  }
  .gi-vfm-feature-row td {
    height: 62px;
    font-size: 14px;
  }
  .gi-vfm-icon {
    width: 23px;
    height: 23px;
    font-size: 14px;
  }
  .gi-vfm-cross {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .gi-vfm-btn,
  .gi-vfm-year-btn {
    width: 100%;
  }
  .gi-vfm-title {
    font-size: 27px;
  }
}
