.luster_data:has(+ .luster-details) {
  margin-bottom: clamp(24px, 3.15vw, 46px);
}

.luster-details {
  --luster-ink: #332a24;
  --luster-accent: #785c2e;
  --luster-rule: #d9cdbf;
  --luster-surface: #f7f3ed;
  margin-bottom: clamp(32px, 4vw, 54px);
  color: var(--luster-ink);
}

.inverse .luster-details {
  --luster-ink: #f6ece0;
  --luster-accent: #e4bd82;
  --luster-rule: #655241;
  --luster-surface: #342b25;
}

.luster-details [hidden] {
  display: none;
}

.luster-details__navigation {
  display: flex;
  column-gap: clamp(15px, 3.8vw, 54px);
  overflow-x: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--luster-rule) transparent;
}

.luster-details__navigation > li {
  flex: 0 0 auto;
}

.luster-details__trigger {
  display: flex;
  align-items: center;
  gap: clamp(7px, 1vw, 13px);
  min-height: 52px;
  padding: 10px 2px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: Montserrat, sans-serif;
  font-size: clamp(13px, calc(11px + 0.49vw), 18px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-align: start;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}

@media (hover: hover) {
  .luster-details__trigger:hover {
    color: var(--luster-accent);
  }
}

.luster-details__trigger[aria-expanded="true"] {
  border-bottom-color: var(--luster-accent);
  color: var(--luster-accent);
}

.luster-details__trigger:focus-visible,
.luster-details__panel a:focus-visible {
  outline: 2px solid var(--luster-accent);
  outline-offset: -3px;
}

.luster-details__chevron {
  width: 6px;
  height: 6px;
  margin: -3px 3px 0 1px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.luster-details__trigger[aria-expanded="true"] .luster-details__chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

.luster-details__panel {
  padding: clamp(18px, 2.15vw, 30px) clamp(16px, 2.5vw, 34px);
  background: var(--luster-surface);
  font-size: clamp(14px, 1.1vw, 15px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.luster-details[data-enhanced] .luster-details__heading {
  display: none;
}

.luster-details__heading {
  margin: 0 0 12px;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.luster-details__copy p {
  margin: 0 0 12px;
}

.luster-details__copy > :last-child {
  margin-bottom: 0;
}

.luster-details__panel a {
  color: var(--luster-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (prefers-reduced-motion: reduce) {
  .luster-details__trigger,
  .luster-details__chevron {
    transition: none;
  }
}
