@layer components {
  .add-to-project-button {
    display: inline-flex;
  }
  .add-to-project-button .button {
    border-radius: 9999px;
    transition: background-color 0.45s cubic-bezier(0.5, 0, 0, 1), transform 0.45s cubic-bezier(0.5, 0, 0, 1);
  }
  @media (prefers-reduced-motion: reduce) {
    .add-to-project-button .button {
      transition: none;
    }
  }
  .add-to-project-button .button .icon {
    flex-shrink: 0;
  }
  .add-to-project-button--icon .add-to-project-button__btn {
    position: relative;
  }
  .add-to-project-button--icon .add-to-project-button__btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 2.75rem;
    min-height: 2.75rem;
    border-radius: 6rem;
  }
  .add-to-project-button--icon .add-to-project-button__btn.focus, .add-to-project-button--icon .add-to-project-button__btn:focus-visible {
    outline: none;
  }
  .add-to-project-button--icon .add-to-project-button__btn.focus::before, .add-to-project-button--icon .add-to-project-button__btn:focus-visible::before {
    outline: none;
    box-shadow: 0 0 0 0.125rem var(--theme-focus-primary);
  }
  .add-to-project-button__text-wrap {
    display: grid;
    overflow: hidden;
    padding-block-end: 0.15em;
    margin-block-end: -0.15em;
  }
  .add-to-project-button__text--default,
  .add-to-project-button__text--confirmed {
    grid-area: 1/1;
    white-space: nowrap;
  }
  .add-to-project-button__text--default {
    transition: transform 0.35s 0.35s cubic-bezier(0.5, 0, 0, 1), opacity 0.35s 0.35s cubic-bezier(0.5, 0, 0, 1);
    transform: translateY(0);
    opacity: 1;
  }
  @media (prefers-reduced-motion: reduce) {
    .add-to-project-button__text--default {
      transition: none;
    }
  }
  .add-to-project-button--confirmed .add-to-project-button__text--default {
    transition: transform 0.35s cubic-bezier(0.5, 0, 0, 1), opacity 0.35s cubic-bezier(0.5, 0, 0, 1);
    transform: translateY(100%);
    opacity: 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .add-to-project-button--confirmed .add-to-project-button__text--default {
      transition: none;
    }
  }
  .add-to-project-button__text--confirmed {
    transition: transform 0.35s cubic-bezier(0.5, 0, 0, 1), opacity 0.35s cubic-bezier(0.5, 0, 0, 1);
    transform: translateY(-100%);
    opacity: 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .add-to-project-button__text--confirmed {
      transition: none;
    }
  }
  .add-to-project-button--confirmed .add-to-project-button__text--confirmed {
    transition: transform 0.35s 0.35s cubic-bezier(0.5, 0, 0, 1), opacity 0.35s 0.35s cubic-bezier(0.5, 0, 0, 1);
    transform: translateY(0);
    opacity: 1;
  }
  @media (prefers-reduced-motion: reduce) {
    .add-to-project-button--confirmed .add-to-project-button__text--confirmed {
      transition: none;
    }
  }
  .add-to-project-button__panel-text {
    display: grid;
  }
  .add-to-project-button__panel-text::after {
    content: attr(data-text);
    visibility: hidden;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
  }
  @media (max-width: 1023px) {
    .add-to-project-button--expandable {
      width: 100%;
    }
    .add-to-project-button--expandable .add-to-project-button__btn {
      width: 100%;
      justify-content: center;
    }
  }
  @media (min-width: 1024px) {
    .add-to-project-button--expandable .button {
      padding: 1rem;
      width: fit-content;
      min-height: auto;
      overflow: hidden;
      transition: background-color 0.45s cubic-bezier(0.5, 0, 0, 1), transform 0.45s cubic-bezier(0.5, 0, 0, 1), width 0.45s cubic-bezier(0.5, 0, 0, 1), padding 0.45s cubic-bezier(0.5, 0, 0, 1);
    }
  }
  @media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
    .add-to-project-button--expandable .button {
      transition: none;
    }
  }
  @media (min-width: 1024px) {
    .add-to-project-button--expandable .button .button-content {
      gap: 0;
      transition: gap 0.45s cubic-bezier(0.5, 0, 0, 1);
    }
  }
  @media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
    .add-to-project-button--expandable .button .button-content {
      transition: none;
    }
  }
  @media (min-width: 1024px) {
    .add-to-project-button--expandable .button:hover, .add-to-project-button--expandable .button:focus-visible {
      width: auto;
      padding: 1rem 2rem;
      transform: none;
    }
    .add-to-project-button--expandable .button:hover .button-content, .add-to-project-button--expandable .button:focus-visible .button-content {
      gap: 0.5rem;
    }
    .add-to-project-button--expandable .button:hover .add-to-project-button__text, .add-to-project-button--expandable .button:focus-visible .add-to-project-button__text {
      max-width: 12.5rem;
    }
    .add-to-project-button--expandable .add-to-project-button__text {
      max-width: 0;
      overflow: hidden;
      white-space: nowrap;
      line-height: 1.1;
      transition: max-width 0.45s cubic-bezier(0.5, 0, 0, 1);
    }
  }
  @media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
    .add-to-project-button--expandable .add-to-project-button__text {
      transition: none;
    }
  }
  .add-to-project-button__live {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    padding: 0;
    margin: -0.0625rem;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  @media (max-width: 767px) {
    .add-to-project-button--fw-sm {
      width: 100%;
    }
    .add-to-project-button--fw-sm .add-to-project-button__btn {
      width: 100%;
      justify-content: center;
    }
  }
  @media (min-width: 768px) and (width <= calc(1024px - 1px)) {
    .add-to-project-button--fw-md {
      width: 100%;
    }
    .add-to-project-button--fw-md .add-to-project-button__btn {
      width: 100%;
      justify-content: center;
    }
  }
  @media (min-width: 1024px) {
    .add-to-project-button--fw-lg {
      width: 100%;
    }
    .add-to-project-button--fw-lg .add-to-project-button__btn {
      width: 100%;
      justify-content: center;
    }
  }
}