.drink-calculator {
  display: block;
  padding: 0 20px;

  .drink-calculator__main-content {
    display: grid;
    grid-template-columns: auto 490px;
    gap: 20px;
  }

  @media screen and (max-width: 900px) {
    .drink-calculator__main-content {
      grid-template-columns: 1fr;
      gap: 0;
    }
  }

  .columns-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  @media screen and (min-width: 900px) and (max-width: 950px) {
    .columns-2 {
      grid-template-columns: 1fr;
      gap: 0;
    }
  }

  & h4 {
    margin: 10px 0 10px 0;
    padding: 0;
  }

  & h4.range-selector-header {
    margin: 15px 0 0 0;
  }

  & input[type="range"] {
    display: none;
  }

  & div:empty {
    display: block;
  }

  .margin-top {
    margin-top: 5rem;
  }

  .range-selector-container {
    display: grid;
    grid-template-columns: auto 80px 30px;
    align-items: center;
    gap: 15px;

    & input[type="number"] {
      height: 3.5rem;
      padding-top: 0.8rem;
      padding-left: 0.5rem;
      padding-right: 1.5rem;
      text-align: center;
    }

    .field__input:focus ~ .field__label,
    .field__input:not(:placeholder-shown) ~ .field__label,
    .field__input:-webkit-autofill ~ .field__label,
    .customer .field input:focus ~ label,
    .customer .field input:not(:placeholder-shown) ~ label,
    .customer .field input:-webkit-autofill ~ label {
      top: 0.62rem;
      right: 1rem;
      bottom: 0.6rem;
      left: auto;
      font-size: 1.6rem;
    }
  }

  .locked-container {
    padding-top: 7px;

    & input {
      display: none;
    }

    & label {
      cursor: pointer;

      .checked {
        display: none;
        padding-left: 3px;
      }

      .unchecked {
        display: inline-block;
        opacity: 0.5;
      }
    }

    & input[type="checkbox"]:checked ~ label .checked {
      display: inline-block;
    }

    & input[type="checkbox"]:checked ~ label .unchecked {
      display: none;
    }
  }

  .results-container {
    background-color: var(--bevmo-background-gray);
    border-radius: 8px;
    padding: 24px;

    & h4 {
      font-weight: 700;
      margin: 0 0 16px 0;
      padding: 0;
    }

    .result-item {
      font-size: 18px;
      margin-bottom: 10px;
      display: grid;
      grid-template-columns: 110px 155px auto;
      align-items: center;

      .value {
        font-weight: 400;
        font-size: 40px;
        color: var(--bevmo-red);
        line-height: 40px;
        display: inline-block;
        text-align: center;
        margin-right: 10px;
      }

      .label {
        line-height: 18px;
      }

      .link {
        text-align: right;

        & a {
          font-size: 1.6rem;
          font-weight: 700;
          color: #000000;
          text-decoration: underline;
          transition: opacity calc(2 * var(--duration-short)) ease;

          &:hover {
            opacity: 0.6;
          }
        }
      }
    }
  }

  @media screen and (max-width: 490px) {
    .results-container {
      padding: 18px;

      .result-item {
        font-size: 16px;
        margin-bottom: 10px;
        display: grid;
        grid-template-columns: 95px 120px auto;
        align-items: center;

        .value {
          font-size: 30px;
          line-height: 30px;
        }
      }
    }
  }

  .champagne-toast-container {
    font-size: 18px;
    margin-top: 3rem;
  }

  @media screen and (max-width: 900px) {
    .champagne-toast-container {
      margin-bottom: 3rem;
    }
  }

  /* rangeslider overwrites */
  .rangeslider__fill {
    background-color: var(--bevmo-red);
  }
}
