.vehicle-estimator-configurator {
  --vehicle-estimator-dark: #1c2539;
  --vehicle-estimator-muted: #596272;
  --vehicle-estimator-orange: #ed4300;
  --vehicle-estimator-soft: #fff8f4;
  --vehicle-estimator-border: #e8ebef;
  --vehicle-estimator-field: #f4f4f5;
  color: var(--vehicle-estimator-dark);
  font-family: "DM Sans", Arial, sans-serif;
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
  padding: 36px 40px 54px;
}

.vehicle-estimator-configurator * {
  box-sizing: border-box;
}

.vehicle-estimator-breadcrumb {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 17px;
  font-size: 14px;
  line-height: 1.4;
  color: #000;
}

.vehicle-estimator-breadcrumb span:last-child {
  color: rgba(0, 0, 0, 0.8);
}

.vehicle-estimator-layout {
  display: grid;
  grid-template-columns: minmax(360px, 700px) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
}

.vehicle-estimator-visual {
  min-width: 0;
}

.vehicle-estimator-hero-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 728 / 459;
  overflow: hidden;
  border-radius: 14px;
  background: #221b2e;
}

.vehicle-estimator-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .22s ease;
}

.vehicle-estimator-hero-slide.is-active {
  opacity: 1;
}

.vehicle-estimator-hero-slide[hidden] {
  display: block;
  pointer-events: none;
  visibility: hidden;
}

.vehicle-estimator-hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-estimator-license {
  position: absolute;
  left: 60px;
  top: 40px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 214px;
  height: 214px;
  border: 2px dashed var(--vehicle-estimator-orange);
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.vehicle-estimator-license span {
  margin-top: 34px;
  font-size: 12px;
  line-height: 1;
  color: #777b86;
}

.vehicle-estimator-license strong {
  display: block;
  margin-top: -10px;
  font-size: 30px;
  line-height: 1;
  color: #d23b22;
}

.vehicle-estimator-license small {
  margin-top: -16px;
  font-size: 10px;
  color: #9aa0ac;
}

.vehicle-estimator-dat {
  position: absolute;
  right: 25px;
  top: 43px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 229px;
  height: 361px;
  padding-top: 25px;
  border-radius: 32px;
  background: var(--vehicle-estimator-orange);
  color: #fff;
  text-align: center;
}

.vehicle-estimator-dat strong {
  font-size: 64px;
  line-height: 1;
}

.vehicle-estimator-dat span {
  margin-top: -100px;
  font-size: 14px;
  line-height: 1.2;
}

.vehicle-estimator-car {
  position: absolute;
  right: -54px;
  bottom: 24px;
  z-index: 3;
  width: min(560px, 78%);
  height: auto;
}

.vehicle-estimator-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 19px;
  max-width: 520px;
}

.vehicle-estimator-gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}

.vehicle-estimator-gallery-item:hover,
.vehicle-estimator-gallery-item:focus,
.vehicle-estimator-gallery-item.is-active {
  border-color: var(--vehicle-estimator-orange);
}

.vehicle-estimator-gallery-item:focus {
  outline: 2px solid rgba(237, 67, 0, .22);
  outline-offset: 3px;
}

.vehicle-estimator-gallery-item:hover {
  transform: translateY(-1px);
}

.vehicle-estimator-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
}

.vehicle-estimator-panel {
  min-width: 0;
}

.vehicle-estimator-panel h2 {
  margin: 0 0 12px;
  color: var(--vehicle-estimator-dark);
  font-family: "Red Hat Display", "DM Sans", Arial, sans-serif;
  font-size: 40px;
  line-height: 1.05;
}

.vehicle-estimator-current-variant {
  margin: 0 0 26px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--vehicle-estimator-orange);
  color: var(--vehicle-estimator-orange);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.vehicle-estimator-step {
  margin: 0 0 13px;
  color: var(--vehicle-estimator-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.vehicle-estimator-fieldset {
  margin: 0 0 23px;
}

.vehicle-estimator-options {
  display: grid;
  gap: 16px;
}

.vehicle-estimator-options-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vehicle-estimator-option,
.vehicle-estimator-addon,
.vehicle-estimator-upload {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 17px;
  padding: 16px 22px;
  border: 1px solid var(--vehicle-estimator-border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.vehicle-estimator-option:has(input:checked),
.vehicle-estimator-addon:has(input:checked) {
  border-color: var(--vehicle-estimator-orange);
  background: #fffaf7;
}

.vehicle-estimator-option input,
.vehicle-estimator-addon input {
  width: 20px;
  height: 20px;
  accent-color: var(--vehicle-estimator-orange);
  flex: 0 0 auto;
}

.vehicle-estimator-option strong,
.vehicle-estimator-addon strong,
.vehicle-estimator-upload strong {
  display: block;
  color: var(--vehicle-estimator-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.vehicle-estimator-option small,
.vehicle-estimator-addon small,
.vehicle-estimator-upload small {
  display: block;
  margin-top: 4px;
  color: #3f4856;
  font-size: 11px;
  line-height: 1.35;
}

.vehicle-estimator-input {
  display: block;
  margin: 0 0 23px;
}

.vehicle-estimator-configurator [hidden] {
  display: none;
}

.vehicle-estimator-notices {
  position: fixed;
  top: 132px;
  right: 32px;
  z-index: 99999;
  width: min(460px, calc(100vw - 32px));
  margin: 0;
  animation: vehicle-estimator-toast-in .22s ease-out;
}

.vehicle-estimator-notices .woocommerce-message,
.vehicle-estimator-notices .woocommerce-error,
.vehicle-estimator-notices .woocommerce-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--vehicle-estimator-border);
  border-left: 4px solid var(--vehicle-estimator-orange);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(28, 37, 57, .18);
  color: var(--vehicle-estimator-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  outline: 0;
  list-style: none;
}

.vehicle-estimator-notices .woocommerce-message::before,
.vehicle-estimator-notices .woocommerce-error::before,
.vehicle-estimator-notices .woocommerce-info::before {
  display: none;
}

.vehicle-estimator-notices .button,
.vehicle-estimator-notices .wc-forward {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--vehicle-estimator-orange);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

@keyframes vehicle-estimator-toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vehicle-estimator-input span {
  display: block;
  margin-bottom: 7px;
  color: #111;
  font-size: 14px;
  line-height: 1.2;
}

.vehicle-estimator-input b {
  color: var(--vehicle-estimator-orange);
}

.vehicle-estimator-input input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--vehicle-estimator-border);
  border-radius: 10px;
  background: var(--vehicle-estimator-field);
  color: var(--vehicle-estimator-dark);
}

.vehicle-estimator-addon-list,
.vehicle-estimator-upload-list {
  display: grid;
  gap: 14px;
}

.vehicle-estimator-addon {
  justify-content: space-between;
}

.vehicle-estimator-addon span,
.vehicle-estimator-upload span {
  min-width: 0;
}

.vehicle-estimator-addon em {
  margin-left: auto;
  color: var(--vehicle-estimator-orange);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.vehicle-estimator-addon input:disabled + span,
.vehicle-estimator-addon input:disabled ~ em {
  opacity: .45;
}

.vehicle-estimator-upload {
  min-height: 82px;
}

.vehicle-estimator-upload-item {
  display: grid;
  gap: 12px;
}

.vehicle-estimator-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.vehicle-estimator-upload em {
  margin-left: auto;
  padding: 12px 22px;
  border: 1px solid var(--vehicle-estimator-orange);
  border-radius: 12px;
  color: var(--vehicle-estimator-dark);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.vehicle-estimator-upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 10px;
}

.vehicle-estimator-file-preview {
  position: relative;
  display: grid;
  min-height: 78px;
  overflow: hidden;
  border: 1px solid var(--vehicle-estimator-border);
  border-radius: 12px;
  background: #f7f8fa;
}

.vehicle-estimator-file-preview img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.vehicle-estimator-file-preview span {
  display: grid;
  place-items: center;
  min-height: 78px;
  padding: 10px;
  color: var(--vehicle-estimator-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
}

.vehicle-estimator-file-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(28, 37, 57, .18);
  color: var(--vehicle-estimator-dark);
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.vehicle-estimator-summary {
  margin-top: 28px;
  padding: 26px 32px;
  border-radius: 14px;
  background: var(--vehicle-estimator-soft);
}

.vehicle-estimator-summary h3 {
  margin: 0 0 20px;
  color: var(--vehicle-estimator-dark);
  font-size: 20px;
}

.vehicle-estimator-summary p,
.vehicle-estimator-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 12px;
  color: #171b24;
  font-size: 14px;
  line-height: 1.3;
}

.vehicle-estimator-summary strong {
  white-space: nowrap;
}

.vehicle-estimator-total {
  margin-top: 24px;
  padding-top: 26px;
  border-top: 2px solid var(--vehicle-estimator-orange);
  font-size: 20px;
}

.vehicle-estimator-configurator button.vehicle-estimator-submit {
  display: block;
  width: 100%;
  min-height: 56px;
  margin-top: 27px;
  border: 0;
  border-radius: 10px;
  background: var(--vehicle-estimator-orange);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.vehicle-estimator-configurator button.vehicle-estimator-submit:hover,
.vehicle-estimator-configurator button.vehicle-estimator-submit:focus,
.vehicle-estimator-configurator button.vehicle-estimator-submit:active {
  appearance: none;
  background: var(--vehicle-estimator-orange);
  border-color: var(--vehicle-estimator-orange);
  box-shadow: none;
  color: #fff;
  outline: 0;
}

.vehicle-estimator-configurator button.vehicle-estimator-submit:disabled {
  cursor: wait;
  opacity: .7;
}

.vehicle-estimator-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  color: var(--vehicle-estimator-dark);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.vehicle-estimator-trust span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 32px;
  border-radius: 50%;
  background: var(--vehicle-estimator-orange);
  vertical-align: middle;
}

.vehicle-estimator-service-tabs {
  width: min(100%, 1296px);
  margin: 0 auto 64px;
  padding: 15px;
  border-radius: 10px;
  background: #fff;
  color: var(--vehicle-estimator-dark, #1c2539);
  font-family: "DM Sans", Arial, sans-serif;
}

.vehicle-estimator-service-tab-list {
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid #cfc8d8;
  overflow-x: auto;
}

.vehicle-estimator-service-tabs button.vehicle-estimator-service-tab {
  flex: 0 0 auto;
  min-height: 43px;
  padding: 0 16px;
  border: 1px solid var(--vehicle-estimator-orange, #ed4300);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: #fff;
  color: var(--vehicle-estimator-dark, #1c2539);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 27.2px;
}

.vehicle-estimator-service-tabs button.vehicle-estimator-service-tab:not(.is-active),
.vehicle-estimator-service-tabs button.vehicle-estimator-service-tab:not(.is-active):hover,
.vehicle-estimator-service-tabs button.vehicle-estimator-service-tab:not(.is-active):focus,
.vehicle-estimator-service-tabs button.vehicle-estimator-service-tab:not(.is-active):active {
  background: #fff;
  color: var(--vehicle-estimator-dark, #1c2539);
}

.vehicle-estimator-service-tabs button.vehicle-estimator-service-tab.is-active,
.vehicle-estimator-service-tabs button.vehicle-estimator-service-tab.is-active:hover,
.vehicle-estimator-service-tabs button.vehicle-estimator-service-tab.is-active:focus,
.vehicle-estimator-service-tabs button.vehicle-estimator-service-tab.is-active:active {
  background: var(--vehicle-estimator-orange, #ed4300);
  color: #fff;
}

.vehicle-estimator-service-tabs button.vehicle-estimator-service-tab:focus {
  outline: 2px solid rgba(224, 71, 0, .22);
  outline-offset: 2px;
}

.vehicle-estimator-service-tab-panel {
  padding-top: 30px;
}

.vehicle-estimator-service-tab-panel h2 {
  margin: 0 0 37px;
  color: var(--vehicle-estimator-dark, #1c2539);
  font-family: "Red Hat Display", "DM Sans", Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.vehicle-estimator-service-tab-panel p {
  max-width: 1232px;
  margin: 0 0 26px;
  color: var(--vehicle-estimator-muted, #5d666f);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
}

.vehicle-estimator-service-tab-panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .vehicle-estimator-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .vehicle-estimator-hero-card {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .vehicle-estimator-configurator {
    padding: 28px 18px 42px;
  }

  .vehicle-estimator-notices {
    top: 96px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .vehicle-estimator-notices .woocommerce-message,
  .vehicle-estimator-notices .woocommerce-error,
  .vehicle-estimator-notices .woocommerce-info {
    align-items: flex-start;
    flex-direction: column;
  }

  .vehicle-estimator-breadcrumb {
    font-size: 14px;
  }

  .vehicle-estimator-panel h2 {
    font-size: 34px;
  }

  .vehicle-estimator-current-variant {
    font-size: 22px;
  }

  .vehicle-estimator-options-two {
    grid-template-columns: 1fr;
  }

  .vehicle-estimator-trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .vehicle-estimator-trust span:not(:last-child)::after {
    margin-left: 16px;
  }

  .vehicle-estimator-hero-card {
    min-height: 0;
  }

  .vehicle-estimator-license {
    left: 20px;
    top: 24px;
    width: 150px;
    height: 150px;
  }

  .vehicle-estimator-license strong {
    font-size: 24px;
  }

  .vehicle-estimator-dat {
    right: 18px;
    top: 28px;
    width: 132px;
    height: 220px;
  }

  .vehicle-estimator-dat strong {
    font-size: 42px;
  }

  .vehicle-estimator-car {
    width: 92%;
    right: -44px;
  }

  .vehicle-estimator-summary {
    padding: 24px;
  }

  .vehicle-estimator-service-tabs {
    margin-bottom: 46px;
    padding: 12px;
  }

  .vehicle-estimator-service-tabs button.vehicle-estimator-service-tab {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .vehicle-estimator-service-tab-panel {
    padding-top: 26px;
  }

  .vehicle-estimator-service-tab-panel h2 {
    margin-bottom: 24px;
    font-size: 26px;
    line-height: 1.15;
  }

  .vehicle-estimator-service-tab-panel p {
    margin-bottom: 20px;
    font-size: 15px;
  }
}
