.guitar-details-shapes {
  display: grid;
  gap: 1rem;

  .common-button {
    width: max-content;
  }

  .guitar-details-shapes__grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;

    @media (max-width: 640px) {
      display: flex;
      position: relative;
      overflow: auto clip;
      margin-top: unset;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;

      .guitar-details-shapes__card {
        min-width: 100%;
        scroll-snap-align: start;
      }
    }
  }

  .guitar-details-shapes__card {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    justify-items: center;
    padding: 0.5rem 0;
    color: inherit;
    text-decoration: none;

    &.--current {
      color: var(--c1);
    }

    .body-code {
      font-weight: 700;
      font-size: 1.5rem;
      text-transform: uppercase;
    }

    > svg, > img {
      width: 100%;
      height: 8rem;
      display: block;
      object-fit: contain;
    }

    h3 {
      margin: 0;
      font-size: 1rem;
      text-align: center;
    }
  }

  .guitar-details-shapes__stepper {
    display: none;

    @media (max-width: 640px) {
      display: flex;
      justify-content: center;
      gap: 0.75rem;
    }

    button {
      all: unset;
      width: 0.75rem;
      aspect-ratio: 1;
      border: 1px solid currentColor;
      border-radius: 50%;
      color: white;
      cursor: pointer;

      &.--active {
        background: currentColor;
      }
    }
  }
}
