.result {
  --clr-bg: #000;
  --clr-icon: #fff;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;

  font-size: 1.2rem;
  font-weight: 600;
}

.result--success {
  --clr-bg: #008000;
}

.result--error {
  --clr-bg: #ff0000;
}

.result a {
  color: var(--clr-bg);
  text-decoration: underline;
}

.result__icon {
  display: grid;
  place-items: center;
  position: relative;

  width: 1.8rem;
  height: 1.8rem;

  background-color: var(--clr-bg);
  color: var(--clr-icon);
  border-radius: 50%;
  font-size: 0.8rem;
}

.vlt-estimate-popup,
.vlt-estimate-products {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 100;
}

.vlt-estimate-popup__overlay,
.vlt-estimate-products__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
  cursor: pointer;
}

.vlt-estimate-popup__close,
.vlt-estimate-products__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  cursor: pointer;
}

.vlt-estimate-popup__close::before,
.vlt-estimate-products__close::before {
  content: "\2715";
  font-size: 1.5rem;
}

.vlt-estimate-popup__content,
.vlt-estimate-products__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #e1e1e1;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  gap: 3rem;
  padding: 5rem 3rem;
  width: 65rem;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.vlt-estimate-popup__icon {
  display: grid;
  place-items: center;

  position: relative;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 50%;
}

.vlt-estimate-popup__icon--success {
  background-color: #008000;
}

.vlt-estimate-popup__icon--error {
  background-color: #ff0000;
}

.vlt-estimate-popup__icon::before {
  content: "";
  color: #fff;
}

.vlt-estimate-popup__icon--success::before {
  content: "\2714";
}

.vlt-estimate-popup__icon--error::before {
  content: "\2718";
}

.vlt-estimate-popup__label {
  margin-bottom: 0 !important;

  font-size: var(--fs-md);
  font-family: var(--ff-fugaz);
  text-transform: uppercase;
}

.vlt-estimate-popup__description {
  margin-bottom: 0 !important;
}

.vlt-estimate-popup__text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.6rem;
}

.vlt-estimate-popup__text--success > .vlt-estimate-popup__icon {
  background-color: #008000;
}

.vlt-estimate-popup__text--success > .vlt-estimate-popup__icon::before {
  content: "\2714";
}

.vlt-estimate-popup__text--success > .vlt-estimate-popup__label {
  color: #008000;
}

.vlt-estimate-popup__text--error > .vlt-estimate-popup__icon {
  background-color: #ff0000;
}

.vlt-estimate-popup__text--error > .vlt-estimate-popup__icon::before {
  content: "\2718";
}

.vlt-estimate-popup__text--error > .vlt-estimate-popup__label {
  color: #ff0000;
}

.vlt-estimate-products__content {
  width: 100rem;
}

.vlt-estimate-products__nav {
  width: 100%;
}

.vlt-estimate-products__nav .swiper {
  align-items: stretch !important;
}

.vlt-estimate-products__nav .swiper-slide {
  height: auto !important;
}

.swiper-button-prev,
.swiper-button-next {
  display: grid;
  place-items: center;
  height: 4rem;
  aspect-ratio: 1;
  align-self: flex-end;
  background-color: var(--black);
  font-size: var(--fs-md);
  color: var(--white);
  border: 1px solid var(--black);
  cursor: pointer;
}

.swiper-navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.6rem;
}

.swiper-button-prev::before,
.swiper-button-next::before {
  content: "\e904";
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.swiper-button-prev::before {
  transform: rotate(180deg);
}

.swiper-button-next:disabled,
.swiper-button-prev:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vlt-estimate-products__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
}

.vlt-estimate-card__variations {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.vlt-preloader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.vlt-preloader__spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.vlt-preloader__text {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.vlt-estimate__textarea-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.vlt-estimate__textarea-container label {
  font-size: var(--fs-md);
  font-family: var(--ff-fugaz);
  color: var(--green-100);
  text-transform: uppercase;
}

.vlt-estimate__textarea {
  width: 100%;
  height: 14rem;
  padding: 1rem;
  border: 1px solid var(--black);
  resize: none;
}

.vlt-estimate__postalcode {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--black);
}

.vlt-estimate__postalcode::placeholder {
  font-size: var(--fs-xs);
}
