@layer components {
  .size-selection {
    display: flex;
    flex-direction: column;
  }
  .size-selection__label {
    display: block;
    margin-bottom: 1.5rem;
  }
  @media (min-width: 1024px) {
    .size-selection__label {
      margin-bottom: 2rem;
    }
  }
  .size-selection__chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .size-selection__chip {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 7.890625rem;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--theme-border-secondary);
    border-radius: 0.5rem;
    background: transparent;
    color: var(--theme-text-primary);
    cursor: pointer;
  }
  @media (max-width: 1023px) {
    .size-selection__chip {
      min-width: 9.938rem;
    }
  }
  .size-selection__chip--selected {
    border-color: var(--theme-border-primary);
    background: var(--theme-surface-secondary);
  }
  .size-selection__chip[aria-disabled=true] {
    opacity: 0.5;
    cursor: not-allowed;
  }
  @media (forced-colors: active) {
    .size-selection__chip[aria-disabled=true] {
      opacity: 1;
      outline: 2px dashed GrayText;
    }
  }
  .size-selection__chip--skeleton {
    border-color: transparent;
    background: var(--theme-surface-secondary);
    cursor: default;
    animation: size-selection-skeleton-pulse 1.5s ease-in-out infinite;
  }
  @media (prefers-reduced-motion: reduce) {
    .size-selection__chip--skeleton {
      animation: none;
    }
  }
  @media (forced-colors: active) {
    .size-selection__chip--skeleton {
      animation: none;
      border-color: GrayText;
    }
  }
  .size-selection__chip.focus, .size-selection__chip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.125rem var(--theme-focus-primary);
  }
  .size-selection__help-text {
    margin-top: 1.5rem;
  }
  @media (min-width: 1024px) {
    .size-selection__help-text {
      margin-top: 2rem;
    }
  }
  .size-selection__help-text a,
  .size-selection__help-text a.button {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    transition: background-size 0.45s cubic-bezier(0.5, 0, 0, 1), background-position 0.45s cubic-bezier(0.5, 0, 0, 1);
    display: inline;
    padding: 0;
    border: none;
    border-radius: 0;
    min-height: auto;
    color: var(--theme-text-primary);
    text-decoration: none;
    background-image: linear-gradient(currentcolor, currentcolor);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100% 0.09375rem;
  }
  .size-selection__help-text a.hover, .size-selection__help-text a:hover,
  .size-selection__help-text a.button.hover,
  .size-selection__help-text a.button:hover {
    background-size: 0% 0.09375rem;
  }
  .size-selection__help-text a.focus, .size-selection__help-text a:focus-visible,
  .size-selection__help-text a.button.focus,
  .size-selection__help-text a.button:focus-visible {
    outline: 0.125rem solid var(--theme-focus-primary);
    outline-offset: 0.25rem;
    border-radius: 6rem;
  }
  @media (prefers-reduced-motion: reduce) {
    .size-selection__help-text a,
    .size-selection__help-text a.button {
      transition-duration: 0ms;
    }
  }
  .size-selection__help-text a .button-content,
  .size-selection__help-text a.button .button-content {
    display: inline;
    -webkit-text-stroke-width: 0;
  }
  .size-selection__help-text a .button-content::before, .size-selection__help-text a .button-content::after,
  .size-selection__help-text a.button .button-content::before,
  .size-selection__help-text a.button .button-content::after {
    content: none;
  }
  @keyframes size-selection-skeleton-pulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.4;
    }
  }
}