.approval-mode .product-info-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 12px;
  padding: 3px;
  border: 1px solid rgb(99 37 45 / 14%);
  border-radius: 999px;
  background: rgb(99 37 45 / 5%);
}

.approval-mode .product-info-tab {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: rgb(99 37 45 / 68%);
  background: transparent;
  font-size: clamp(11.5px, 3vw, 13px);
  font-weight: 650;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 180ms ease,
    transform 120ms ease;
  -webkit-tap-highlight-color: transparent;
}

.approval-mode .product-info-tab[aria-selected="true"] {
  color: #fff5e8;
  background: var(--burgundy);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 14%),
    0 5px 14px rgb(99 37 45 / 12%);
}

.approval-mode .product-info-tab:active {
  transform: scale(0.975);
}

.approval-mode .product-info-tab:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
}

.approval-mode .product-info-pane {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.approval-mode .product-info-pane[hidden] {
  display: none;
}

.approval-mode .composition-copy {
  margin: 0;
  color: #251f1f;
  font-size: clamp(13.5px, 3.55vw, 15.5px);
  line-height: 1.5;
}

.approval-mode .composition-label {
  font-weight: 650;
}

.approval-mode .composition-allergen {
  color: #b42318;
}

.approval-mode .product-info-pane[data-copy-density="short"] .composition-copy,
.approval-mode .product-info-pane[data-copy-density="short"] .product-description {
  font-size: clamp(14.5px, 3.9vw, 17px);
  line-height: 1.5;
}

.approval-mode .product-info-pane[data-copy-density="long"] .composition-copy,
.approval-mode .product-info-pane[data-copy-density="long"] .product-description {
  font-size: clamp(12.25px, 3.15vw, 14px);
  line-height: 1.44;
}

.approval-mode .product-info-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: clamp(10px, 2.8vw, 14px);
  opacity: 0.5;
}

.approval-mode .product-info-divider::before,
.approval-mode .product-info-divider::after {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgb(99 37 45 / 42%));
  content: "";
}

.approval-mode .product-info-divider::after {
  background: linear-gradient(90deg, rgb(99 37 45 / 42%), transparent);
}

.approval-mode .product-info-divider img {
  width: 13px;
  height: 18px;
  object-fit: contain;
}

html[data-language="th"] .approval-mode .product-info-tab,
html[data-language="th"] .approval-mode .composition-copy {
  font-family: "Leelawadee UI", Tahoma, "Noto Sans Thai", sans-serif;
}

@media (max-width: 360px) {
  .approval-mode .product-info-tab {
    min-height: 34px;
  }

  .approval-mode .composition-copy {
    font-size: 12.75px;
    line-height: 1.46;
  }

  .approval-mode .product-info-pane[data-copy-density="short"] .composition-copy,
  .approval-mode .product-info-pane[data-copy-density="short"] .product-description {
    font-size: 13.75px;
  }

  .approval-mode .product-info-pane[data-copy-density="long"] .composition-copy,
  .approval-mode .product-info-pane[data-copy-density="long"] .product-description {
    font-size: 11.75px;
    line-height: 1.4;
  }

  .approval-mode .product-info-divider {
    margin-top: 9px;
  }

  .approval-mode .product-info-divider img {
    width: 12px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .approval-mode .product-info-tab {
    transition: none;
  }
}
