.size-guide__button {
  margin-top: 1rem;
  padding: 0;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-top: -1rem;

  @media screen and (min-width: 990px) {
    font-size: 1.3rem;
  }
}

.size-guide-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);

  .size-guide-modal__content {
    height: 100dvh;
    width: 100dvw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff;

    .size-guide-modal__header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.8rem 0.8rem 1.8rem 1.8rem;
      flex-shrink: 0;

      .size-guide-modal__close,
      .product-popup-modal__toggle {
        padding: 0 !important;
        background-color: transparent;
        border: none;
        cursor: pointer;
        width: 4.4rem !important;

        & .icon .icon-close {
          width: 2.4rem;
          color: #000;
        }
      }

      & h2 {
        font-size: 1.3rem;
        text-transform: uppercase;
      }
    }

    .size-guide-modal__description {
      padding: 0 1.8rem 1.8rem 1.8rem;
      max-width: 300px;
    }

    .size-guide-modal__body {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      padding: 0 1.8rem 1.8rem 1.8rem;

      img {
        width: 100%;
        height: auto;
      }
    }
  }

  & ::-webkit-scrollbar {
    width: 4px;
  }

  & ::-webkit-scrollbar-thumb {
    background-color: rgb(var(--color-foreground));
  }

  @media screen and (min-width: 990px) {
    .size-guide-modal__content {
      max-width: 750px !important;
      height: 85dvh !important;

      .size-guide-modal__header {
        padding: 2.4rem 2rem 2.4rem 2.4rem;

        & h2 {
          font-size: 1.5rem;
        }
      }

      .size-guide-modal__description {
        margin-top: -0.5rem;
        padding: 0 2.4rem 2.4rem 2.4rem;
        max-width: 600px;
      }

      .size-guide-modal__body {
        padding: 0 2.4rem 2.4rem 2.4rem;
      }
    }
  }
}
