.type-weight-block {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 60px 112px;
  box-sizing: border-box;
  background-color: #fff;
  gap: 24px;
}

.weight-header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.weight-label {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0;
}

.weight-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  cursor: grab;
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
}

.weight-tabs:active {
  cursor: grabbing;
}

.weight-tab.active {
  background-color: #8000ff;
  color: #fff;
  border: none;
}

.type-preview {
  font-size: 100px;
  line-height: 1.2;
  color: #000000;
}

@container (max-width: 1440px) {
  .type-weight-block {
    padding: 60px 32px;
  }

  .type-preview {
    font-size: 60px;
  }

  .weight-header {
    display: flex;
    align-items: center;
    gap: 24px;
  }
}

@container (max-width: 768px) {
  .weight-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
  }
}

@container (max-width: 540px) {
  .type-weight-block {
    padding: 60px 16px;
  }

  .type-preview {
    font-size: 30px;
  }
}
