/** Shopify CDN: Minification failed

Line 166:0 Unexpected "}"

**/
.discount__form {
  display: flex;
  align-items: start;
  gap: 0 var(--spacing10px);
  padding: 24px 20px;

  &.is-error {
    position: relative;
    padding-bottom: var(--spacing19px);

    .discount__form-error {
      position: absolute;
      bottom: 0;
      color: #DA291C;
      background: unset;
      font-weight: 500;
      text-align: left;
      padding: 0px;
      margin-bottom: 0;
      line-height: 100%;
      letter-spacing: normal;
      font-size: 1.3rem;
    }

    input {
      border-color: #DA291C;
      background: rgba(218, 41, 28, 0.05);
      border-radius: 2px;
      border-bottom: 2px solid var(--System-System-Red, #DA291C);
    }
  }

  input {
    width: 100%;
    height: 44px;
    font-size: 1.6rem;
    background: #f6f3f3;
    border: 0px;
    border-radius: 1px;
    border-bottom: 1px solid #2F2F2F;
    padding: var(--spacing3XS);
    color: #746969;
  }

  .discount__form-input {
    flex: 1 1 auto;
  }

  .discount__form-error {
    display: none;
  }

  .discount__form-success {
    display: none;
    position: relative;
  }

  .discount__success-message {
    color: var(--System-System-Green, #15847D);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    margin-bottom: 8px;
  }

  .discount__applied-codes-container {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
  }

  .discount__applied-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #f6f3f3;
    font-size: 1.3rem;
    color: #2F2F2F;
    border: 1px solid #e0e0e0;
  }

  .discount__applied-code-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .discount__applied-code-text {
    font-weight: 500;
    letter-spacing: 0.5px;
  }

  .discount__remove-code {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2F2F2F;
    transition: opacity 0.2s ease;
    flex-shrink: 0;

    &:hover {
      opacity: 0.7;
    }

    svg {
      width: 16px;
      height: 16px;
    }
  }

  &.is-success {
    position: relative;
    padding-bottom: calc(var(--spacing19px) + 12px);

    .discount__form-success {
      display: block;
    }
  }
}

  .discount__form-button.is-loading {
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
  }

  .discount__form-button.is-loading .loading-circle {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
  }

  .discount__form-button.is-loading .loading-circle circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-dasharray: 125.6;
    stroke-dashoffset: 0;
    animation: loading-progress 1.5s ease-in-out infinite;
    stroke-linecap: round;
  }

  @keyframes loading-progress {
    0% {
      stroke-dashoffset: 125.6;
    }
    50% {
      stroke-dashoffset: 0;
    }
    100% {
      stroke-dashoffset: -125.6;
    }
  }
}

body.template-cart {
  .discount__form {
    input {
      background: transparent;
    }
  } 
}