@layer components {
  /*
   * Button — Option
   */
  
  .btn-option {
    border: 1px solid var(--color-grey-200);
    border-radius: 0.25rem;
    cursor: pointer;
    margin-bottom: 1rem;
    padding-top: 100%;
    position: relative;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: 0.2s ease;
  
    @media (max-width: 639.98px) {
      font-size: 0.938rem;
    }
  
    &:focus {
      outline: none;
    }
  
    &:hover {
      border: 1px solid var(--color-primary);
      text-decoration: none;
  
      .btn-option-text {
        color: var(--color-primary);
      }
    }
  
    .btn-option-content {
      align-items: center;
      bottom: 0;
      display: flex;
      flex-direction: column;
      left: 0;
      position: absolute;
      right: 0;
      top: 0;
    }
  
    .btn-option-icon {
      align-items: center;
      align-content: center;
      color: var(--color-primary);
      display: flex;
      flex: 2 1 auto;
      font-size: 3rem;
      justify-content: center;
    }
  
    .btn-option-text {
      flex: 0 0 auto;
      font-weight: 700;
      padding-bottom: 1rem;
    }
  }
  
  .btn-option-active {
    background-color: var(--color-grey-050);
    border: 1px solid var(--color-primary);
  
    .btn-option-content {
      &:after {
        color: var(--color-green);
        content: '\f058';
        font-family: 'Font Awesome 5 Pro';
        font-weight: 900;
        position: absolute;
        right: 0.5rem;
        top: 0.313rem;
  
        @media (max-width: 639.98px) {
          right: 0.5rem;
          top: 0.375rem;
        }
      }
    }
  }
}
