@-webkit-keyframes hellogravel_rotate {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@-moz-keyframes hellogravel_rotate {
  from {
    -moz-transform: rotate(0deg);
  }

  to {
    -moz-transform: rotate(360deg);
  }
}

@keyframes hellogravel_rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#hellogravel-zip-code-form {
  display: flex;
  position: relative;
}

#hellogravel-zip-code-form input {
  height: 42px;
  padding-block: 0;
  line-height: 1;
}

#hellogravel-zip-code-form input {
  background-color: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  transition: all 0.3s ease-in-out;
  flex: 1;
  margin-right: 0;
  border-right: 0;
  outline: none !important;
}

#hellogravel-zip-code-form input::-webkit-outer-spin-button,
#hellogravel-zip-code-form input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}

#hellogravel-zip-code-form input[type="number"] {
  -moz-appearance: textfield;
  /* Firefox */
}

#hellogravel-zip-code-form button {
  color: #fff;
  border: none;
  font-weight: 600;
  background-color: #ff6801;
  border-radius: 0 0.5rem 0.5rem 0;
}

#hellogravel-zipcode-error {
  color: #ff3535;
  margin-top: 5px;
}

#hellogravel-zipcode-error:empty {
  display: none;
}

#hellogravel-zip-code-form.in-progress:after {
  content: "";
  position: absolute;
  width: 24px;
  top: 50%;
  right: 10px;
  margin-top: -12px;
  margin-left: -12px;
  aspect-ratio: 1 / 1;
  border-radius: 100px;
  animation-name: hellogravel_rotate;
  animation-duration: 1000ms;
  border: 3px solid #dadada;
  border-top-color: #fff;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  z-index: 5;
  box-sizing: border-box;
}

.zip-code-missing-information {
  font-size: 20px;
  color: #ff6801;
  font-weight: bold;
}

.hellogravel-zip-code-location {
  margin-top: 5px;
}

.hellogravel-zip-code-location span.location {
  font-weight: bold;
  margin-right: 6px;
  text-transform: capitalize;
}

/* new 31-12 for custom checkbox variation */

.custom-variation-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  list-style: none;
  margin: 0 -4px 8px;

  > li {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 4px;
  }
}

.custom-variation-checkbox .form-group {
  position: relative;
}

.custom-variation-checkbox .form-group label {
  display: flex;
  flex-direction: column;
  border: 1px solid #d9d9d9;
  transition: 0.3s;

  p {
    margin: 0;
    text-align: center;
    width: 100%;
    color: #111111 !important;
    font-size: 16px;
    font-family: "Calibre", Sans-serif !important;
    transition: 0.3s;

    &.tons {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 36px;
      line-height: 36px;
      font-weight: 500;
      margin-top: 11px !important;

      span {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        margin-left: 4px;
      }
    }

    &.quant {
      margin-bottom: 10px !important;
    }

    &.prices {
      background-color: #f7f5f4;
      height: 24px;
      line-height: 29px;
      padding: 2px;
      height: auto;

      & > * {
        color: #111 !important;
        font-size: 16px !important;
      }
    }
  }
}

.custom-variation-checkbox .form-group input[type="radio"] {
  appearance: none;
  position: absolute;
  inset: 0;

  &:checked {
    & ~ label {
      border-color: #111;

      p.prices {
        background-color: #111;
        color: #fff !important;

        & > * {
          color: #fff !important;
          font-size: 16px !important;
        }
      }
    }
  }
}

/* 
.free-shipping-countdown {
	display: none;
} */

@media (max-width: 767px) {
  .custom-variation-checkbox .form-group label {
    p {
      font-size: 14px;

      &.tons {
        font-size: 20px;
        line-height: 20px;

        span {
          font-size: 14px;
          line-height: 18px;
        }
      }

      &.prices {
        & > * {
          color: #111 !important;
          font-size: 14px !important;
        }
      }
    }
  }

  .custom-variation-checkbox .form-group input[type="radio"] {
    &:checked {
      & ~ label {
        p.prices {
          & > * {
            font-size: 14px !important;
          }
        }
      }
    }
  }
}
