:root {
  --purple-950: #170739;
  --purple-900: #2b0c73;
  --purple-800: #9700b0;
  --purple-700: #9700b0;
  --purple-600: #84029a;
  --purple-300: #eab7f5;
  --purple-100: #f5dfff;
  --peptide-purple-900: #2f1235;
  --peptide-purple-700: #6d087e;
  --peptide-purple-600: #84029a;
  --peptide-purple-500: #9700b0;
  --app-header-gradient: linear-gradient(100deg, var(--peptide-purple-500), #b83ad1 56%, #d98ee8);
  --ink: #111035;
  --muted: #666184;
  --line: #e5e0f0;
  --surface: #ffffff;
  --bg: #ebe7ff;
  --green: #168052;
  --green-bg: #dcf8e8;
  --orange: #b75b13;
  --orange-bg: #fff0dc;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(151, 0, 176, 0.16), transparent 32rem),
    linear-gradient(135deg, #f7f5ff 0%, #ebe7ff 52%, #ded8ff 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.auth-page-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  align-items: start;
  justify-items: center;
  padding: clamp(28px, 10vh, 84px) 32px 32px;
}

.auth-panel {
  width: min(100%, 620px);
  border: 1px solid rgba(80, 32, 215, 0.15);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 80px rgba(54, 24, 118, 0.14);
}

.auth-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 34px;
}

.auth-brand .brand-mark {
  color: white;
  background: var(--peptide-purple-500) !important;
  font-size: 20px;
}

.auth-brand div {
  display: grid;
  gap: 2px;
}

.auth-brand strong {
  font-size: 24px;
  line-height: 1;
}

.auth-brand span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.auth-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.auth-top-action {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 18px;
}

.auth-heading h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1;
}

.auth-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 7px;
}

.login-form label {
  grid-template-rows: 17px 48px;
  min-height: 72px;
}

.auth-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.auth-form input {
  display: block;
  width: 100%;
  height: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  line-height: 48px;
  color: var(--ink);
  background: white;
  outline: none;
  appearance: none;
}

.login-form input:-webkit-autofill,
.login-form input:-webkit-autofill:hover,
.login-form input:-webkit-autofill:focus {
  border-color: var(--line);
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 1000px white inset;
}

.auth-form input:focus {
  border-color: var(--peptide-purple-500);
  box-shadow: 0 0 0 4px rgba(151, 0, 176, 0.12);
}

.auth-form > button,
.auth-primary-button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: white;
  background: var(--peptide-purple-500) !important;
  font-weight: 850;
}

.auth-form > button:hover,
.auth-primary-button:hover {
  background: var(--peptide-purple-600) !important;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}

.auth-result-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 12px 0 2px;
}

.auth-result-card h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1;
}

.auth-result-card p {
  max-width: 540px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.result-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--peptide-purple-500) !important;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.result-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: white;
  background: var(--peptide-purple-500) !important;
  font-weight: 850;
}

.result-actions button:hover,
.result-actions button:focus-visible {
  background: var(--peptide-purple-600) !important;
  outline: none;
}

.form-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 28px auto 44px;
  border: 1px solid rgba(80, 32, 215, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 26px 80px rgba(54, 24, 118, 0.14);
}

.customer-page-shell {
  overflow: visible;
}

.topbar {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 0 24px;
  color: white;
  background: var(--app-header-gradient);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 0;
  color: white;
  background: transparent;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--purple-950);
  background: white;
  font-size: 15px;
  font-weight: 900;
}

.site-pill {
  margin-left: 28px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  font-weight: 750;
}

.topbar-spacer {
  flex: 1;
}

.account-copy {
  display: grid;
  gap: 2px;
  margin-right: 16px;
  text-align: right;
  font-size: 12px;
}

.account-copy span {
  opacity: 0.82;
}

.account-copy strong {
  font-size: 13px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--purple-900);
  background: white;
  font-weight: 850;
}

.avatar svg {
  width: 22px;
  height: 22px;
}

.topbar-home-button {
  display: none;
}

.topbar-cart-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.topbar-cart-button svg {
  width: 22px;
  height: 22px;
}

.topbar-cart-button:hover,
.topbar-cart-button:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.cart-count-bubble {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border: 2px solid var(--purple-700);
  border-radius: 999px;
  padding: 0 5px;
  color: var(--purple-950);
  background: white;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.logout-button {
  margin-left: 12px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  padding: 0 12px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 850;
}

.logout-button:hover,
.logout-button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

main {
  padding: 24px;
}

.customer-main-shell {
  padding: 0;
}

.news-panel,
.function-panel,
.content-card,
.store-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.news-panel {
  padding: 22px 24px;
  margin-bottom: 20px;
}

.news-heading,
.news-title,
.store-toolbar,
.page-heading {
  display: flex;
  align-items: center;
}

.news-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.news-title {
  gap: 14px;
}

.icon-bubble,
.panel-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--purple-700);
  background: var(--purple-100);
}

.icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

svg {
  width: 22px;
  height: 22px;
}

h1,
h2,
p {
  margin: 0;
}

.news-title h1,
.page-heading h1 {
  font-size: 24px;
  line-height: 1.12;
}

.news-title p,
.page-heading p,
.muted {
  color: var(--muted);
}

.text-button,
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: var(--purple-800);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
}

.text-button svg {
  width: 18px;
  height: 18px;
  transition: transform 160ms ease;
}

.update-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 66px;
  list-style: none;
}

.update-list li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 22px;
  font-size: 14px;
}

.update-list time {
  color: var(--purple-900);
  font-weight: 750;
}

.update-list em {
  min-width: 74px;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--purple-700);
  background: var(--purple-100);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.news-message {
  display: grid;
  gap: 10px;
  width: 100%;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

.news-message p {
  margin: 0;
}

.archive-list {
  padding-left: 0;
}

.archive-blog-list {
  display: grid;
  gap: 12px;
}

.archive-filter-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.archive-filter-bar label {
  display: grid;
  gap: 7px;
  min-width: min(280px, 100%);
}

.archive-filter-bar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.archive-filter-bar select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.archive-update-card {
  display: grid;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 16px;
}

.archive-update-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.archive-update-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.archive-update-card header div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.archive-update-card time {
  color: var(--purple-900);
  font-size: 13px;
  font-weight: 800;
}

.archive-update-card em {
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--purple-700);
  background: var(--purple-100);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.archive-update-body {
  display: grid;
  gap: 8px;
  max-width: 980px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.archive-update-body p {
  margin: 0;
}

.archive-more-button {
  justify-self: start;
  padding: 0;
}

.testimonials-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
}

.testimonial-card {
  position: relative;
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--purple-700);
  border-radius: 8px;
  padding: 26px 28px 24px 34px;
  background:
    linear-gradient(135deg, rgba(239, 232, 255, 0.82), rgba(255, 255, 255, 0.96) 34%),
    #fff;
  box-shadow: 0 18px 42px rgba(43, 25, 94, 0.08);
  overflow: hidden;
}

.testimonial-mark {
  position: absolute;
  top: 4px;
  right: 24px;
  color: rgba(79, 40, 169, 0.12);
  font-size: 96px;
  font-weight: 950;
  line-height: 1;
}

.testimonial-card blockquote {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
}

.testimonial-card blockquote p {
  margin: 0;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(98, 70, 168, 0.18);
  padding-top: 14px;
}

.testimonial-card footer strong {
  color: var(--purple-950);
  font-size: 16px;
}

.panel-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.customer-dashboard-layout {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: calc(100vh - 104px);
}

.customer-mobile-nav-bar {
  display: none;
}

.customer-dashboard-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  align-content: start;
  gap: 3px;
  align-self: start;
  min-height: calc(100vh - 104px);
  border-right: 1px solid var(--line);
  padding: 12px 9px;
  background: rgba(255, 255, 255, 0.72);
}

.customer-dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  text-align: left;
  font-weight: 850;
}

.customer-dashboard-nav-item svg {
  width: 17px;
  height: 17px;
}

.customer-dashboard-nav-item span {
  min-width: 0;
}

.customer-nav-badge {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin-left: auto;
  border-radius: 999px;
  padding: 0 6px;
  color: white;
  background: #b91c1c;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.customer-dashboard-nav-item:hover,
.customer-dashboard-nav-item:focus-visible,
.customer-dashboard-nav-item.is-active {
  border-color: rgba(80, 32, 215, 0.2);
  color: var(--purple-800);
  background: var(--purple-100);
  outline: none;
}

.customer-dashboard-main {
  display: grid;
  gap: 16px;
  min-width: 0;
  align-content: start;
  padding: 24px;
}

.customer-dashboard-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.customer-dashboard-feature-grid .dashboard-feature-panel {
  grid-column: auto;
  grid-row: auto;
}

.customer-reorder-panel {
  padding: 20px 24px;
}

.customer-reorder-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.customer-reorder-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.customer-reorder-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.customer-reorder-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-reorder-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.customer-reorder-row button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background: var(--peptide-purple-500);
  font-size: 13px;
  font-weight: 900;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.customer-reorder-row button:hover,
.customer-reorder-row button:focus-visible {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 24px rgba(132, 2, 154, 0.16);
  outline: none;
}

.customer-reorder-row button:active {
  transform: translateY(1px);
}

.customer-reorder-row button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.customer-reorder-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
}

.function-panel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 118px;
  padding: 18px;
  text-align: left;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.function-panel:hover,
.function-panel:focus-visible {
  border-color: rgba(80, 32, 215, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(151, 0, 176, 0.12);
  outline: none;
}

.panel-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.panel-icon svg {
  width: 26px;
  height: 26px;
}

.panel-copy {
  display: grid;
  gap: 7px;
}

.panel-copy strong {
  font-size: 17px;
  line-height: 1.12;
}

.panel-copy span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.panel-copy em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-800);
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
}

.panel-copy em svg {
  width: 17px;
  height: 17px;
}

.dashboard-feature-panel {
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  grid-row: span 2;
  min-height: 250px;
}

.dashboard-feature-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  align-content: start;
  align-self: stretch;
  grid-template-rows: auto auto 1fr;
  padding-top: 2px;
}

.dashboard-feature-copy strong {
  font-size: 24px;
}

.dashboard-feature-copy span {
  color: var(--purple-900);
  font-size: 16px;
}

.peptide-feature-panel {
  align-items: flex-start;
  justify-content: space-between;
  border-color: rgba(80, 32, 215, 0.22);
  background:
    linear-gradient(135deg, rgba(246, 242, 255, 0.98), rgba(255, 255, 255, 0.94) 48%, rgba(238, 252, 250, 0.96));
  cursor: default;
}

.peptide-feature-panel .dashboard-feature-copy {
  flex: 1 1 auto;
  max-width: calc(100% - 166px);
}

.peptide-feature-panel .dashboard-feature-copy span {
  max-width: min(100%, 430px);
}

.peptide-feature-panel::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -78px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(80, 32, 215, 0.09);
}

.peptide-vial-image {
  position: relative;
  z-index: 1;
  display: block;
  align-self: center;
  width: min(40%, 150px);
  min-width: 118px;
  max-height: 242px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(151, 0, 176, 0.16));
  transform: rotate(1deg);
}

.mushroom-feature-panel {
  align-items: flex-start;
  justify-content: space-between;
  border-color: rgba(132, 2, 154, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(251, 242, 255, 0.98) 52%, rgba(255, 248, 235, 0.94));
  cursor: default;
}

.mushroom-feature-panel .dashboard-feature-copy {
  flex: 1 1 auto;
  max-width: calc(100% - 166px);
}

.mushroom-feature-panel .dashboard-feature-copy span {
  max-width: min(100%, 430px);
}

.dashboard-feature-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-self: end;
  justify-self: start;
  padding-top: 4px;
}

.dashboard-feature-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 15px;
  color: white;
  background: var(--peptide-purple-500);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition:
    background 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.dashboard-feature-actions button:hover,
.dashboard-feature-actions button:focus-visible {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 24px rgba(132, 2, 154, 0.16);
  outline: none;
}

.dashboard-feature-actions button:active {
  transform: translateY(1px);
}

.dashboard-feature-actions button + button {
  color: var(--peptide-purple-500);
  background: rgba(237, 215, 245, 0.95);
}

.dashboard-feature-actions button + button:hover,
.dashboard-feature-actions button + button:focus-visible {
  color: white;
  background: var(--peptide-purple-600);
}

.mushroom-panel-image {
  position: relative;
  z-index: 1;
  display: block;
  align-self: center;
  width: min(38%, 150px);
  min-width: 116px;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(132, 2, 154, 0.16));
}

.survey-feature-panel {
  align-content: flex-start;
  align-items: flex-start;
  border-color: rgba(80, 32, 215, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 240, 255, 0.96));
}

.survey-feature-copy {
  gap: 12px;
}

.survey-feature-panel .dashboard-feature-copy,
.survey-feature-panel .dashboard-feature-copy span {
  max-width: none;
}

.survey-feature-panel .dashboard-feature-copy span {
  width: min(100%, 720px);
}

.survey-feature-actions {
  align-self: end;
  justify-self: start;
}

.survey-feature-actions .survey-start-button {
  justify-self: start;
  width: auto;
  min-height: 38px;
}

.primary-action,
.survey-box-form button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #fff;
  background: var(--purple-700);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible,
.survey-box-form button:hover,
.survey-box-form button:focus-visible {
  background: var(--peptide-purple-600);
  box-shadow: 0 14px 28px rgba(132, 2, 154, 0.16);
  outline: none;
}

.survey-box-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: 100%;
  align-self: stretch;
}

.survey-box-heading {
  display: grid;
  gap: 7px;
}

.survey-box-heading strong {
  color: var(--ink);
  font-size: 24px;
}

.survey-box-heading span {
  max-width: none;
  color: var(--purple-800);
  line-height: 1.45;
}

.survey-box-form fieldset {
  display: grid;
  gap: 9px;
  margin: 0;
  border: 1px solid rgba(80, 32, 215, 0.16);
  border-radius: 8px;
  padding: 9px 12px 10px;
  background: rgba(255, 255, 255, 0.72);
}

.survey-box-form legend {
  padding: 0 4px;
  color: var(--purple-950);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.survey-radio {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--purple-900);
  font-size: 14px;
  font-weight: 800;
}

.survey-radio-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.survey-radio input {
  width: 16px;
  height: 16px;
  accent-color: var(--purple-700);
}

.survey-box-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.survey-box-actions .secondary-action {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--purple-700);
  background: var(--purple-100);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.survey-box-actions .secondary-action:hover,
.survey-box-actions .secondary-action:focus-visible {
  color: var(--purple-800);
  background: #e7dafd;
  box-shadow: none;
  outline: none;
}

.survey-status {
  margin: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 850;
}

.survey-status.is-saved {
  color: #08744c;
  background: #dff8ec;
}

.survey-status.is-error {
  color: #a4163a;
  background: #ffe2ea;
}

.peps-page {
  --peps-purple-50: #fbf2ff;
  --peps-purple-100: #f5dfff;
  --peps-purple-200: #eab7f5;
  --peps-purple-500: #9700b0;
  --peps-purple-600: #84029a;
  --peps-purple-700: #6d087e;
  --peps-purple-900: #2f1235;
  --peps-mint-50: #f1fcf8;
  --peps-mint-100: #d7f7ef;
  --peps-mint-700: #087761;
  --peps-amber-50: #fff8eb;
  --peps-amber-200: #f3d6aa;
  --peps-amber-700: #915d08;
  --peps-muted: #63566b;
  --peps-line: #eadfed;
  color: #201725;
}

.peps-page h1,
.peps-page h2,
.peps-page h3,
.peps-page p {
  margin-top: 0;
}

.peps-page p,
.peps-page li,
.peps-page dd {
  color: var(--peps-muted);
  line-height: 1.65;
}

.peps-section p,
.peps-section li {
  color: var(--peps-muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.65;
}

.peps-section p {
  margin-bottom: 18px;
}

.peps-section p:last-child {
  margin-bottom: 0;
}

.peps-signoff {
  color: var(--peps-purple-900);
  margin-top: 20px;
}

.peps-section ul {
  line-height: 1.4;
  margin: -6px 0 20px;
  padding-left: 42px;
}

.peps-section li + li {
  margin-top: 2px;
}

.peps-page a {
  color: var(--peps-purple-700);
  font-weight: 850;
}

.peps-hero {
  align-items: center;
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--peps-line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 80%, rgba(151, 0, 176, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff, var(--peps-purple-50) 48%, var(--peps-mint-50));
}

.peps-hero-copy {
  max-width: 680px;
}

.peps-eyebrow {
  color: var(--peps-purple-600);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.peps-page h1 {
  color: var(--peps-purple-900);
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.92;
  margin-bottom: 18px;
}

.peps-page h2 {
  color: var(--peps-purple-900);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.peps-page h3 {
  color: var(--peps-purple-700);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  margin-bottom: 10px;
}

.peps-hero-copy > p:not(.peps-eyebrow) {
  color: var(--peps-muted);
  font-size: clamp(18px, 1.7vw, 22px);
  max-width: 620px;
}

.peps-hero-media {
  display: grid;
  place-items: center;
}

.peps-hero-media img {
  display: block;
  width: min(100%, 520px);
  max-height: 430px;
  object-fit: contain;
  border-radius: 8px;
}

.mushrooms-page .peps-hero {
  background:
    linear-gradient(135deg, #ffffff, var(--peps-purple-50) 50%, var(--peps-amber-50));
}

.mushrooms-hero-art {
  display: grid;
  place-items: center;
  min-height: 280px;
}

.mushrooms-hero-art img {
  display: block;
  width: min(100%, 320px);
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(47, 18, 53, 0.16));
}

.mushrooms-hero-panel {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 260px;
  border: 1px solid var(--peps-purple-200);
  border-radius: 8px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(151, 0, 176, 0.95), rgba(109, 8, 126, 0.96));
  box-shadow: 0 18px 45px rgba(47, 18, 53, 0.16);
}

.mushrooms-hero-panel strong {
  color: #fff;
  font-size: 24px;
}

.mushrooms-hero-panel span {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--peps-purple-900);
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
}

.mushroom-products-section > p {
  max-width: 920px;
}

.mushroom-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.mushroom-product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 300px;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--peps-line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(253, 244, 255, 0.88));
}

.mushroom-product-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--peps-purple-700);
  background: var(--peps-purple-50);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mushroom-product-card h3 {
  margin-bottom: 0;
}

.mushroom-product-card p {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.mushroom-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.mushroom-product-shop,
.mushroom-product-link,
.mushroom-detail-shop-button {
  align-self: flex-start;
  width: fit-content;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--peps-purple-500);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.mushroom-product-shop,
.mushroom-detail-shop-button {
  background: var(--peps-purple-500);
}

.mushroom-product-link {
  color: var(--peps-purple-700);
  background: var(--peps-purple-50);
}

.mushroom-product-shop:hover,
.mushroom-product-shop:focus-visible,
.mushroom-product-link:hover,
.mushroom-product-link:focus-visible,
.mushroom-detail-shop-button:hover,
.mushroom-detail-shop-button:focus-visible {
  color: #fff;
  background: var(--peps-purple-600);
  box-shadow: 0 12px 24px rgba(151, 0, 176, 0.18);
  outline: none;
}

.mushroom-detail-shop-button {
  margin-top: 6px;
}

.mushroom-safety-section {
  border-color: #f1c9d0;
  background:
    linear-gradient(145deg, #fff, #fff7f8);
}

.mushroom-safety-section h2 {
  color: #5f1731;
}

.mushroom-safety-section p strong {
  color: #5f1731;
}

.mushroom-interaction-reference,
.mushroom-safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.mushroom-interaction-reference article,
.mushroom-safety-grid article {
  padding: 16px;
  border: 1px solid #f1c9d0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.mushroom-interaction-reference h3,
.mushroom-safety-grid h3 {
  color: #5f1731;
  font-size: 18px;
  margin-bottom: 6px;
}

.mushroom-interaction-reference p {
  margin-bottom: 8px;
}

.mushroom-interaction-reference p:last-child {
  margin-bottom: 0;
}

.mushrooms-microdosing-hero {
  background:
    radial-gradient(circle at 88% 74%, rgba(151, 0, 176, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff, var(--peps-purple-50) 50%, var(--peps-amber-50));
}

.mushroom-supply-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mushroom-supply-grid article {
  padding: 18px;
  border: 1px solid var(--peps-line);
  border-radius: 8px;
  background: #fff;
}

.mushroom-supply-grid strong,
.mushroom-supply-grid span {
  display: block;
}

.mushroom-supply-grid strong {
  color: var(--peps-purple-900);
  font-size: 20px;
  margin-bottom: 6px;
}

.mushroom-supply-grid span {
  color: var(--peps-muted);
  line-height: 1.45;
}

.mushroom-dose-levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mushroom-dose-levels article {
  padding: 16px;
  border: 1px solid var(--peps-line);
  border-radius: 8px;
  background: #fff;
}

.mushroom-dose-levels strong,
.mushroom-dose-levels span {
  display: block;
}

.mushroom-dose-levels strong {
  color: var(--peps-purple-900);
  font-size: 17px;
  margin-bottom: 5px;
}

.mushroom-dose-levels span {
  color: var(--peps-muted);
  line-height: 1.45;
}

.peps-reconstitution-hero .peps-hero-media img {
  max-height: 360px;
  object-fit: cover;
}

.peps-reconstitution-controls {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 220px));
  margin-top: 20px;
}

.peps-reconstitution-controls label {
  display: grid;
  gap: 7px;
}

.peps-reconstitution-controls span {
  color: var(--peps-purple-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.peps-reconstitution-controls select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--peps-purple-200);
  border-radius: 8px;
  color: var(--peps-purple-900);
  background: white;
  font: inherit;
  font-weight: 850;
}

.peps-primary-link,
.peps-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: background-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.peps-primary-link {
  margin-top: 16px;
  color: white;
  background: var(--peps-purple-500);
  box-shadow: 0 14px 30px rgba(151, 0, 176, 0.18);
}

.peps-primary-link:hover,
.peps-primary-link:focus-visible {
  background: var(--peps-purple-600);
  box-shadow: 0 16px 34px rgba(151, 0, 176, 0.24);
}

.peps-secondary-link {
  color: white;
  background: var(--peps-purple-500);
  box-shadow: 0 14px 30px rgba(151, 0, 176, 0.18);
}

.peps-secondary-link:hover,
.peps-secondary-link:focus-visible {
  color: white;
  background: var(--peps-purple-600);
  box-shadow: 0 16px 34px rgba(151, 0, 176, 0.24);
}

.peps-centered-action {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.peps-content {
  display: grid;
  gap: 22px;
}

.peps-section,
.peps-product-card,
.peps-callout,
.peps-conversion > div,
.peps-notes article,
.peps-step {
  border: 1px solid var(--peps-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.peps-section {
  padding: clamp(22px, 3vw, 34px);
}

.peps-offering-list {
  display: block;
  margin: -6px 0 20px;
  padding-left: 42px;
}

.peps-offering-list strong {
  color: var(--peps-purple-700);
}

.peps-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.peps-product-card {
  padding: 22px;
  text-align: left;
}

.peps-card-top {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.peps-check-prices-button {
  align-items: center;
  background: var(--peps-purple-500);
  border: 0;
  border-radius: 8px;
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}

.peps-check-prices-button:hover,
.peps-check-prices-button:focus-visible {
  background: var(--peps-purple-600);
  box-shadow: 0 12px 24px rgba(151, 0, 176, 0.18);
}

.peps-card-action {
  display: flex;
  justify-content: center;
  padding-top: 30px;
  width: 100%;
}

.peps-card-action-text {
  line-height: 1.55;
  margin: 0;
  max-width: 52ch;
  text-align: center;
  text-wrap: balance;
  width: 100%;
}

.peps-card-action-text a {
  font-weight: 900;
}

.peps-product-card h3 small {
  color: var(--peps-purple-600);
  font-size: 0.72em;
  font-weight: 900;
  white-space: nowrap;
}

.peps-card-type {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--peps-purple-700);
  background: var(--peps-purple-50);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.peps-product-card p {
  font-size: 15px;
  line-height: 1.55;
}

.peps-detail-hero {
  display: grid;
  gap: clamp(20px, 4vw, 42px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--peps-line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 20%, rgba(151, 0, 176, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff, var(--peps-purple-50) 54%, var(--peps-mint-50));
}

.peps-detail-hero h1 {
  margin-bottom: 12px;
}

.peps-detail-hero p:not(.peps-eyebrow) {
  max-width: 700px;
  color: var(--peps-muted);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.55;
}

.peps-detail-facts {
  display: grid;
  gap: 12px;
  align-self: center;
}

.peps-detail-facts div,
.peps-detail-note,
.peps-detail-grid article,
.peps-evidence-grid a,
.peps-troubleshooting-list details {
  border: 1px solid var(--peps-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.peps-detail-facts div {
  padding: 16px;
}

.peps-detail-facts strong,
.peps-detail-facts span {
  display: block;
}

.peps-detail-facts strong {
  color: var(--peps-purple-900);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.peps-detail-facts span {
  color: var(--peps-muted);
  font-size: 16px;
  font-weight: 850;
}

.peps-detail-content {
  gap: 24px;
}

.peps-detail-note {
  padding: 22px;
  background: var(--peps-purple-50);
}

.peps-detail-note h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.peps-detail-grid,
.peps-two-column,
.peps-evidence-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.peps-detail-grid article,
.peps-evidence-grid a {
  padding: 18px;
}

.peps-detail-grid h3,
.peps-two-column h3 {
  font-size: 20px;
}

.peps-two-column {
  align-items: start;
}

.peps-two-column > div {
  padding: 18px;
  border: 1px solid var(--peps-line);
  border-radius: 8px;
  background: white;
}

.peps-two-column ul,
.peps-section ul:not(.peps-offering-list) {
  padding-left: 22px;
}

.peps-two-column li + li,
.peps-section li + li {
  margin-top: 8px;
}

.peps-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--peps-line);
  border-radius: 8px;
  background: white;
}

.peps-table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.peps-table-wrap th,
.peps-table-wrap td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--peps-line);
  vertical-align: top;
}

.peps-table-wrap tr:last-child td {
  border-bottom: 0;
}

.peps-table-wrap th {
  color: var(--peps-purple-700);
  background: var(--peps-purple-50);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.peps-evidence-grid a {
  color: var(--peps-purple-900);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.peps-evidence-grid a:hover,
.peps-evidence-grid a:focus-visible {
  border-color: var(--peps-purple-300);
  box-shadow: 0 14px 28px rgba(151, 0, 176, 0.1);
  transform: translateY(-1px);
}

.peps-evidence-grid strong,
.peps-evidence-grid span,
.peps-evidence-grid em {
  display: block;
}

.peps-evidence-grid strong {
  margin-bottom: 8px;
  color: var(--peps-purple-700);
  font-size: 18px;
}

.peps-evidence-grid span {
  color: var(--peps-muted);
  font-weight: 650;
  line-height: 1.55;
}

.peps-evidence-grid em {
  margin-top: 14px;
  color: var(--peps-purple-700);
  font-style: normal;
  font-weight: 900;
}

.peps-evidence-grid em::after {
  content: ">";
  margin-left: 8px;
}

.peps-troubleshooting-list {
  display: grid;
  gap: 10px;
}

.peps-troubleshooting-list details {
  padding: 15px 17px;
}

.peps-troubleshooting-list summary {
  color: var(--peps-purple-900);
  cursor: pointer;
  font-weight: 900;
}

.peps-troubleshooting-list p {
  margin-top: 10px;
}

.peps-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.peps-detail-actions .peps-primary-link {
  margin-top: 0;
}

.peps-warning-section,
.peps-warning-note {
  background: var(--peps-amber-50);
  border-color: var(--peps-amber-200);
}

.peps-warning-section h2,
.peps-warning-note h3 {
  color: var(--peps-amber-700);
}

.peps-callout {
  margin-top: 16px;
  padding: 20px;
  background: var(--peps-purple-50);
}

.peps-callout p {
  margin-bottom: 0;
}

.peps-callout p + p {
  margin-top: 10px;
}

.peps-affiliate-note {
  font-size: 14px;
  font-weight: 800;
}

.peps-faq-list {
  display: grid;
  gap: 12px;
}

.peps-faq-list details {
  border: 1px solid var(--peps-line);
  border-radius: 8px;
  padding: 16px 18px;
  background: white;
}

.peps-faq-list summary {
  color: var(--peps-purple-900);
  cursor: pointer;
  font-weight: 900;
}

.peps-quick-facts,
.peps-notes {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 24px;
}

.peps-quick-facts div {
  padding: 16px;
  border: 1px solid var(--peps-purple-200);
  border-radius: 8px;
  background: var(--peps-purple-50);
}

.peps-quick-facts strong,
.peps-quick-facts span {
  display: block;
}

.peps-quick-facts strong {
  color: var(--peps-purple-900);
  font-size: 24px;
  line-height: 1.1;
}

.peps-quick-facts span {
  color: var(--peps-muted);
  font-size: 12px;
  font-weight: 900;
  hyphens: auto;
  letter-spacing: 0.05em;
  margin-top: 6px;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.peps-steps {
  display: grid;
  gap: 26px;
  margin-top: 24px;
}

.peps-step {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  overflow: hidden;
}

.peps-step:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
}

.peps-step:nth-child(even) .peps-step-art {
  order: 2;
}

.peps-step-art {
  min-height: 260px;
  background: var(--peps-purple-50);
}

.peps-step-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.peps-step-copy {
  align-self: center;
  padding: 24px;
}

.peps-step-copy > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: white;
  background: var(--peps-purple-500);
  font-weight: 900;
}

.peps-conversion {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 18px;
}

.peps-conversion > div,
.peps-notes article {
  padding: 22px;
}

.peps-table-card table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.peps-table-card th,
.peps-table-card td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--peps-line);
  text-align: left;
}

.peps-table-card th {
  color: var(--peps-purple-700);
  background: var(--peps-purple-50);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.peps-reconstitution-page .peps-hero {
  gap: clamp(30px, 5vw, 68px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.9fr);
  margin-bottom: 0;
  padding: clamp(26px, 5vw, 70px) clamp(8px, 2vw, 18px) clamp(28px, 4vw, 54px);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.peps-reconstitution-page .peps-hero-copy {
  max-width: 720px;
}

.peps-reconstitution-page .peps-hero-copy > p:not(.peps-eyebrow) {
  font-size: clamp(18px, 1.5vw, 21px);
  max-width: 650px;
}

.peps-reconstitution-page .peps-hero-media img {
  width: 100%;
  max-width: min(100%, 610px);
  max-height: none;
  object-fit: cover;
}

.peps-reconstitution-page .peps-quick-facts {
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
  max-width: 760px;
}

.peps-reconstitution-page .peps-quick-facts div {
  padding: 16px 18px;
  background: var(--peps-purple-50);
}

.peps-reconstitution-page .peps-quick-facts strong {
  font-size: clamp(21px, 2vw, 29px);
}

.peps-reconstitution-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(8px, 2vw, 18px) clamp(46px, 7vw, 86px);
}

.peps-reconstitution-page .peps-reconstitution-steps-section {
  padding: clamp(28px, 5vw, 54px) 0 0;
  border: 0;
  border-top: 1px solid var(--peps-line);
  border-radius: 0;
  background: transparent;
}

.peps-reconstitution-page .peps-steps {
  gap: clamp(26px, 4vw, 44px);
  margin-top: clamp(24px, 4vw, 42px);
}

.peps-reconstitution-page .peps-step {
  align-items: stretch;
  gap: clamp(24px, 4vw, 50px);
  grid-template-columns: minmax(310px, 0.9fr) minmax(0, 1fr);
  border: 0;
  background: transparent;
  overflow: visible;
}

.peps-reconstitution-page .peps-step:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.9fr);
}

.peps-reconstitution-page .peps-step-art {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--peps-line);
  border-radius: 8px;
  background: white;
}

.peps-reconstitution-page .peps-step-art img {
  min-height: 360px;
}

.peps-reconstitution-page .peps-step-copy {
  align-self: center;
  padding: clamp(6px, 1vw, 14px) 0;
}

.peps-reconstitution-page .peps-step-copy > span {
  width: clamp(58px, 7vw, 76px);
  height: clamp(58px, 7vw, 76px);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.34), transparent 30%),
    linear-gradient(135deg, var(--peps-purple-500), var(--peps-purple-700));
  box-shadow:
    0 14px 30px rgba(109, 8, 126, 0.18),
    inset 0 0 0 4px rgba(255, 255, 255, 0.16);
  font-size: clamp(23px, 3vw, 36px);
}

.peps-reconstitution-page .peps-step-copy p {
  max-width: 650px;
  font-size: clamp(17px, 1.35vw, 20px);
}

.peps-reconstitution-page .peps-conversion {
  align-items: start;
  gap: clamp(20px, 3vw, 30px);
  grid-template-columns: minmax(260px, 0.58fr) minmax(340px, 1fr);
  margin-top: clamp(46px, 7vw, 86px);
}

.peps-reconstitution-page .peps-conversion > div {
  border-radius: 8px;
}

.peps-reconstitution-page .peps-formula {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--peps-purple-200);
  background: var(--peps-purple-50);
}

.peps-reconstitution-page .peps-formula h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 10px;
}

.peps-reconstitution-page .peps-formula p {
  color: var(--peps-muted);
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.5;
}

.peps-reconstitution-page .peps-formula p + p {
  margin-top: 14px;
}

.peps-reconstitution-page .peps-table-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--peps-line);
  background: white;
}

.peps-reconstitution-page .peps-table-card h2 {
  margin-bottom: 4px;
}

.peps-conversion-note {
  color: var(--peps-muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.peps-reconstitution-page .peps-table-card .peps-table-wrap {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.peps-reconstitution-page .peps-table-card table {
  min-width: 0;
}

.peps-reconstitution-page .peps-table-card th,
.peps-reconstitution-page .peps-table-card td {
  padding: 13px 0;
}

.peps-reconstitution-page .peps-table-card th {
  background: transparent;
}

.peps-reconstitution-page .peps-table-card td {
  color: #201725;
  font-size: 17px;
  font-weight: 900;
}

.peps-reconstitution-page .peps-notes {
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: clamp(34px, 5vw, 58px);
}

.peps-reconstitution-page .peps-notes article {
  padding: 22px;
  background: var(--peps-purple-50);
}

@media (max-width: 900px) {
  .peps-reconstitution-page .peps-hero,
  .peps-reconstitution-page .peps-step,
  .peps-reconstitution-page .peps-step:nth-child(even),
  .peps-reconstitution-page .peps-conversion {
    grid-template-columns: 1fr;
  }

  .peps-reconstitution-page .peps-step:nth-child(even) .peps-step-art {
    order: 0;
  }

  .peps-reconstitution-page .peps-quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .peps-reconstitution-page .peps-hero {
    padding: 18px 0 28px;
  }

  .peps-reconstitution-page .peps-page h1,
  .peps-reconstitution-page h1 {
    font-size: 40px;
    line-height: 0.95;
  }

  .peps-reconstitution-page .peps-reconstitution-controls,
  .peps-reconstitution-page .peps-quick-facts {
    grid-template-columns: 1fr;
  }

  .peps-reconstitution-page .peps-reconstitution-controls {
    max-width: 100%;
  }

  .peps-reconstitution-page .peps-step-copy {
    padding: 12px 0 2px;
  }

  .peps-reconstitution-page .peps-step-art,
  .peps-reconstitution-page .peps-step-art img {
    min-height: 280px;
  }

  .peps-reconstitution-page .peps-table-card .peps-table-wrap {
    overflow-x: visible;
  }

  .peps-reconstitution-page .peps-table-card .peps-table-wrap thead {
    display: table-header-group;
  }

  .peps-reconstitution-page .peps-table-card .peps-table-wrap tr {
    display: table-row;
    border-bottom: 0;
    padding: 0;
  }

  .peps-reconstitution-page .peps-table-card .peps-table-wrap td {
    display: table-cell;
    border-bottom: 1px solid var(--peps-line);
    padding: 11px 0;
  }

  .peps-reconstitution-page .peps-table-card .peps-table-wrap td::before {
    display: none;
  }
}

.peps-notes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.peps-bottom-actions {
  display: flex;
  justify-content: center;
  padding: 8px 0 20px;
}

.page-heading {
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.page-heading h1 {
  width: 100%;
  margin-top: 6px;
}

.page-heading p {
  width: 100%;
}

.breadcrumb-heading {
  gap: 10px;
  margin-bottom: 14px;
}

.breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.breadcrumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--purple-800);
  background: white;
  font-size: 13px;
  font-weight: 850;
}

button.breadcrumb-pill {
  cursor: pointer;
}

.breadcrumb-pill.is-current {
  color: var(--ink);
  background: var(--purple-100);
}

.breadcrumb-pill svg {
  width: 15px;
  height: 15px;
}

.breadcrumb-separator {
  color: var(--muted);
  font-weight: 850;
}

.store-instruction-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin: 0 3px;
  border-radius: 7px;
  color: white;
  background: var(--purple-800);
  vertical-align: middle;
}

.store-instruction-icon svg {
  width: 15px;
  height: 15px;
}

.store-instruction-line {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: -4px 0 12px;
  color: var(--muted);
  text-align: center;
}

.store-cart-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 10px;
  margin: -6px 0 14px;
}

.store-cart-desktop-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: white;
  box-shadow: 0 8px 20px rgba(38, 17, 94, 0.06);
}

.store-cart-desktop-summary span {
  color: var(--muted);
  font-weight: 800;
}

.store-cart-desktop-summary strong {
  font-weight: 900;
}

.store-cart-summary-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: #b83ad1;
}

.store-cart-summary-icon svg {
  width: 17px;
  height: 17px;
  color: white;
  stroke: currentColor;
}

.store-cart-desktop-summary .store-cart-summary-icon {
  color: white;
}

.store-instruction-icon svg {
  color: white;
  stroke: currentColor;
}

.store-cart-actions {
  display: flex;
  gap: 8px;
}

.store-cart-strip .form-status {
  width: auto;
  margin: 0;
}

.checkout-button.store-cart-pill-checkout {
  min-height: 36px;
  min-width: 112px;
  padding: 0 18px;
  background: var(--peptide-purple-500);
}

.checkout-button.store-cart-pill-checkout:hover,
.checkout-button.store-cart-pill-checkout:focus-visible {
  background: var(--peptide-purple-600);
  outline: none;
}

.back-button {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.back-button svg {
  width: 17px;
  height: 17px;
}

.store-card {
  overflow: hidden;
}

.store-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.store-alphabet-filter {
  display: grid;
  grid-template-columns: repeat(26, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
  padding: 0 10px;
}

.store-alphabet-filter button {
  min-width: 0;
  min-height: 28px;
  border: 0;
  border-radius: 6px;
  padding: 0;
  color: var(--peps-purple-500);
  background: transparent;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.store-alphabet-filter button:hover,
.store-alphabet-filter button:focus-visible {
  color: var(--peps-purple-700);
  background: #f4def8;
  outline: none;
}

.store-alphabet-filter button.is-active {
  color: #b83ad1;
  background: #f4def8;
}

.store-alphabet-filter button:active {
  transform: translateY(1px);
}

.search-field {
  position: relative;
  flex: 1;
  width: 100%;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 19px;
  height: 19px;
  color: var(--muted);
  transform: translateY(-50%);
}

.search-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px 0 46px;
  color: var(--ink);
  background: white;
  outline: none;
}

.search-field input:focus {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(151, 0, 176, 0.12);
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.table-wrap {
  overflow: auto;
  max-height: 68vh;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.product-table {
  table-layout: fixed;
}

.product-table th:nth-child(1),
.product-table td:nth-child(1) {
  width: 8%;
}

.product-table th:nth-child(2),
.product-table td:nth-child(2) {
  width: 49%;
}

.product-table th:nth-child(3),
.product-table td:nth-child(3) {
  width: 8%;
}

.product-table th:nth-child(4),
.product-table td:nth-child(4) {
  width: 21%;
}

.product-table th:nth-child(5),
.product-table td:nth-child(5) {
  width: 9%;
  padding-right: 18px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 18px;
  text-align: left;
  vertical-align: middle;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #faf9ff;
}

.sort-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 850;
}

.sort-button span {
  color: var(--purple-700);
  font-size: 11px;
}

td strong,
td span,
td small {
  display: block;
}

td strong {
  font-size: 14px;
}

td span,
td small {
  color: var(--muted);
  margin-top: 3px;
  font-size: 12px;
}

.stock-pill {
  display: inline-flex;
  min-width: 104px;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.1;
  white-space: nowrap;
}

.stock-pill.in {
  color: var(--green);
  background: var(--green-bg);
}

.stock-pill.out {
  color: var(--orange);
  background: var(--orange-bg);
}

.stock-pill.ended {
  color: #655f73;
  background: #ece8f2;
}

.store-notice-modal {
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px rgba(23, 7, 57, 0.22);
}

.store-notice-modal h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.store-notice-modal p {
  color: var(--muted);
  line-height: 1.5;
}

.store-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.store-notice-status {
  width: fit-content;
  margin-top: 14px;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 850;
}

.store-notice-status.is-saving {
  color: var(--purple-800);
  background: #f0eaff;
}

.store-notice-status.is-error {
  color: #9e2847;
  background: #ffe9ef;
}

.store-product-name-cell {
  min-width: 360px;
}

.store-product-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: baseline;
  color: var(--muted);
  line-height: 1.35;
}

.product-table td .store-product-line strong,
.product-table td .store-product-line span {
  display: inline;
  margin: 0;
  font-size: 13px;
}

.product-table td .store-product-line strong {
  color: var(--ink);
  font-size: 14px;
}

.store-product-name-cell .cart-product-detail-link {
  display: inline-flex;
  margin-left: 4px;
  margin-top: 0;
  width: auto;
}

.price-cell {
  min-width: 0;
  white-space: normal;
}

.store-quantity-cell {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.store-quantity-cell strong {
  margin: 0;
}

.store-notes-link {
  border: 0;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--purple-800);
  background: var(--purple-100);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.store-product-notes-name {
  display: grid;
  gap: 3px;
  margin: 0 0 12px;
}

.store-product-notes-name strong,
.store-product-notes-name span {
  display: block;
  margin: 0;
}

.store-product-notes-body {
  white-space: pre-wrap;
}

.price-inline {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  white-space: normal;
}

.product-table td .price-inline,
.product-table td .price-inline strong,
.product-table td .price-inline .unit-price {
  margin: 0;
}

.add-cart-button,
.checkout-button {
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: white;
  background: var(--purple-800);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.add-cart-button:hover:not(:disabled),
.add-cart-button:focus-visible:not(:disabled),
.checkout-button:hover:not(:disabled),
.checkout-button:focus-visible:not(:disabled) {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 22px rgba(132, 2, 154, 0.16);
  outline: none;
}

.add-cart-button {
  display: inline-grid;
  width: 42px;
  height: 36px;
  place-items: center;
  padding: 0;
  background: var(--peptide-purple-500);
}

.add-cart-button:hover,
.add-cart-button:focus-visible {
  background: var(--peptide-purple-600);
  outline: none;
}

.add-cart-button svg {
  width: 18px;
  height: 18px;
}

.add-cart-button:disabled,
.checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.cart-stepper {
  display: inline-grid;
  grid-template-columns: 28px minmax(20px, auto) 28px;
  align-items: center;
  justify-items: center;
  gap: 4px;
}

.cart-stepper button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--purple-800);
  background: white;
  font-size: 16px;
  line-height: 1;
}

.cart-stepper span {
  min-width: 20px;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.option-stack {
  display: grid;
  gap: 6px;
}

.store-select {
  display: grid;
  gap: 6px;
}

.select-caption {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.store-select select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 34px 0 12px;
  color: var(--ink);
  background: white;
  font-size: 13px;
  font-weight: 700;
  outline: none;
}

.store-select select:focus {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(151, 0, 176, 0.12);
}

td small.unit-price {
  display: inline;
  margin-top: 0;
  margin-left: 4px;
  color: var(--muted);
  white-space: normal;
}

.cart-card {
  position: sticky;
  top: 24px;
  display: grid;
  grid-template-rows: auto minmax(160px, 1fr) auto;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.cart-header h2 {
  margin-bottom: 6px;
}

.cart-header p,
.checkout-note {
  color: var(--muted);
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-empty {
  display: grid;
  gap: 6px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: #faf9ff;
}

.cart-item {
  display: grid;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.cart-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cart-item strong,
.cart-item-meta strong {
  display: block;
}

.cart-item span,
.cart-item small,
.cart-item-meta span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.cart-item-meta {
  display: grid;
  gap: 6px;
}

.cart-remove-link {
  width: fit-content;
  border: 0;
  padding: 0;
  color: #9e2847;
  background: transparent;
  font-size: 13px;
  font-weight: 850;
}

.payment-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfaff;
}

.payment-panel-muted {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.payment-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.payment-panel h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.payment-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.payment-state {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 9px;
  color: var(--purple-800);
  background: white;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.payment-card-form {
  display: grid;
  gap: 10px;
}

.payment-card-form label {
  display: grid;
  gap: 5px;
}

.payment-card-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.payment-card-form input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--ink);
  background: white;
  font-size: 13px;
  outline: none;
}

.payment-card-form input:focus {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(151, 0, 176, 0.12);
}

.payment-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cart-footer {
  display: grid;
  gap: 12px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.cart-total span {
  color: var(--muted);
  font-weight: 800;
}

.cart-total strong {
  font-size: 22px;
}

.cart-subtotal-row strong,
.cart-discount-row strong {
  font-size: 18px;
}

.cart-discount-row strong {
  color: var(--peptide-purple-600);
}

.secondary-button {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--purple-800);
  background: white;
  font-size: 13px;
  font-weight: 850;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.checkout-steps {
  display: grid;
  gap: 14px;
}

.checkout-step,
.checkout-summary-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.checkout-step summary {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.checkout-step summary::-webkit-details-marker {
  display: none;
}

.checkout-step summary::after {
  content: "+";
  margin-left: auto;
  color: var(--purple-800);
  font-size: 18px;
  font-weight: 900;
}

.checkout-step[open] summary::after {
  content: "-";
}

.checkout-step-number {
  flex: 0 0 auto;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--purple-800);
  font-size: 14px;
  font-weight: 900;
}

.checkout-step summary > span:not(.checkout-step-number) {
  min-width: 0;
  flex: 1 1 auto;
}

.checkout-step summary strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.checkout-step summary small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.checkout-step-body {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 18px 20px 20px;
}

.checkout-review-list {
  display: grid;
  gap: 10px;
}

.checkout-review-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfaff;
}

.checkout-review-item strong,
.checkout-review-item span {
  display: block;
}

.checkout-review-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.checkout-review-item > div:last-child {
  min-width: 112px;
  text-align: right;
}

.checkout-review-product strong {
  line-height: 1.35;
}

.cart-product-detail-link {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-product-detail-link:hover,
.cart-product-detail-link:focus-visible {
  color: var(--purple-900);
}

.checkout-review-product .price-inline,
.checkout-review-product .price-inline strong,
.checkout-review-product .price-inline .unit-price {
  display: inline-flex;
  margin: 0;
}

.checkout-review-quantity {
  display: grid;
  gap: 7px;
  justify-items: center;
  min-width: 104px;
}

.checkout-review-quantity > span,
.checkout-review-total > span {
  margin-top: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.checkout-review-total {
  min-width: 112px;
  text-align: right;
}

.checkout-address {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfaff;
  color: var(--ink);
  font-style: normal;
  line-height: 1.45;
}

.checkout-coupon-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfaff;
}

.checkout-coupon-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.checkout-coupon-heading h3 {
  font-size: 16px;
}

.checkout-coupon-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.checkout-coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.checkout-coupon-row label {
  display: grid;
  gap: 6px;
}

.checkout-coupon-row label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.checkout-coupon-row input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-coupon-row input:focus {
  border-color: var(--peptide-purple-500);
  box-shadow: 0 0 0 3px rgba(151, 0, 176, 0.11);
  outline: none;
}

.checkout-coupon-status {
  margin: 0;
}

.checkout-submit-panel {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfaff;
}

.checkout-submit-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.checkout-submit-panel strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 26px;
}

.checkout-submit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

.checkout-submit-actions .secondary-button,
.checkout-submit-actions .checkout-button {
  min-height: 40px;
}

.checkout-summary-card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.checkout-summary-card h2 {
  font-size: 18px;
}

.checkout-summary-inline {
  background: #fbfaff;
}

.checkout-summary-items {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: white;
}

.checkout-summary-item strong,
.checkout-summary-item small {
  display: block;
}

.checkout-summary-item strong {
  color: var(--ink);
  line-height: 1.3;
}

.checkout-summary-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.checkout-summary-item em {
  color: var(--purple-800);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.order-confirmation-panel {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.order-confirmation-status {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.order-confirmation-status > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--purple-800);
  flex: 0 0 auto;
}

.order-confirmation-status svg {
  width: 24px;
  height: 24px;
}

.order-confirmation-status strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.order-confirmation-status p,
.order-confirmation-note {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.order-confirmation-charge-warning {
  max-width: 680px;
  margin: 22px auto 0;
  border: 2px solid rgba(77, 33, 181, 0.22);
  border-radius: 8px;
  padding: 18px 20px;
  color: var(--ink);
  background: #fff7d6;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.32;
  text-transform: uppercase;
}

.order-confirmation-charge-warning span {
  display: block;
  width: fit-content;
  margin: 4px auto;
  border-radius: 6px;
  padding: 0 5px;
  color: white;
  background: var(--purple-800);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.order-confirmation-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px;
  max-width: 520px;
  margin: 22px auto 0;
}

.order-confirmation-details > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
}

.order-confirmation-details span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.order-confirmation-details strong {
  display: block;
  margin-top: 5px;
  font-size: 22px;
}

.order-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.address-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.address-status {
  margin: 0 0 14px;
}

.address-status.is-saved {
  color: var(--green);
}

.address-status.is-error {
  color: #9e2847;
}

.address-card {
  position: relative;
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.address-card.is-selected {
  border-color: rgba(77, 33, 181, 0.45);
  box-shadow: 0 0 0 4px rgba(151, 0, 176, 0.08);
}

.selected-address-label {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid rgba(77, 33, 181, 0.18);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--purple-800);
  background: #f4f0ff;
  font-size: 11px;
  font-weight: 900;
}

.address-select-surface {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.address-select-surface:not(:disabled) {
  cursor: pointer;
}

.address-select-surface:focus-visible {
  outline: 3px solid rgba(151, 0, 176, 0.22);
  outline-offset: 6px;
}

.address-card address {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-style: normal;
  line-height: 1.45;
}

.address-card address span:first-child {
  font-weight: 850;
}

.card-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.card-actions button {
  border: 0;
  padding: 0;
  color: var(--purple-800);
  background: transparent;
  font-size: 14px;
  font-weight: 850;
}

.address-form-card {
  margin-bottom: 16px;
}

.address-form {
  display: grid;
  gap: 14px;
}

.address-form label {
  display: grid;
  gap: 7px;
}

.address-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.address-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  font-size: 14px;
  outline: none;
}

.address-form input:focus {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(151, 0, 176, 0.12);
}

.form-three-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px 150px 120px;
  gap: 12px;
}

.form-four-column {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.form-name-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.form-actions button[type="submit"] {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  color: white;
  background: var(--purple-800);
  font-size: 13px;
  font-weight: 850;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.form-actions button[type="submit"]:hover,
.form-actions button[type="submit"]:focus-visible {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 22px rgba(132, 2, 154, 0.16);
  outline: none;
}

.card-actions .danger-link {
  color: #9e2847;
}

.content-card {
  padding: 24px;
}

.content-card h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.faq-accordion-card {
  padding: 14px;
}

.faq-accordion {
  display: grid;
  gap: 10px;
}

.faq-accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.faq-accordion-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 15px 16px;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.faq-accordion-item summary::-webkit-details-marker {
  display: none;
}

.faq-accordion-item summary span {
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.faq-accordion-item summary strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--purple-800);
  font-size: 22px;
  line-height: 1;
}

.faq-accordion-item summary strong::before {
  content: "+";
}

.faq-accordion-item[open] summary {
  border-bottom: 1px solid var(--line);
  background: #fbf9ff;
}

.faq-accordion-item[open] summary strong::before {
  content: "-";
}

.faq-accordion-item summary:focus-visible {
  outline: 3px solid rgba(151, 0, 176, 0.2);
  outline-offset: 2px;
}

.faq-accordion-answer {
  display: grid;
  gap: 14px;
  padding: 18px 16px 20px;
  color: var(--muted);
  line-height: 1.62;
}

.faq-accordion-answer p {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  overflow-wrap: anywhere;
}

.faq-answer-label {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-weight: 850;
}

.refer-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.refer-layout .content-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.invite-warning-card {
  grid-row: span 2;
}

.referred-customers-card {
  grid-column: 1 / -1;
}

.invite-code-display {
  width: fit-content;
  border: 1px solid rgba(80, 32, 215, 0.18);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--purple-900);
  background: var(--purple-100);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.muted-copy,
.invite-warning-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.invite-warning-card p {
  color: var(--ink);
}

.referral-url-field,
.customer-invite-code-form label {
  display: grid;
  gap: 7px;
}

.referral-url-field span,
.customer-invite-code-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.referral-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.referral-url-row input,
.customer-invite-code-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  font-size: 14px;
  outline: none;
}

.referral-url-row input {
  font-size: 13px;
}

.referral-url-row button {
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background: var(--purple-800);
  font-weight: 850;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.referral-url-row button:hover:not(:disabled),
.referral-url-row button:focus-visible:not(:disabled) {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 22px rgba(132, 2, 154, 0.16);
  outline: none;
}

.referral-url-row button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.customer-invite-code-form {
  display: grid;
  gap: 12px;
}

.referred-customers-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.referred-customers-head,
.referred-customers-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.55fr) minmax(130px, 0.7fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
}

.referred-customers-head {
  color: var(--muted);
  background: rgba(80, 32, 215, 0.06);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.referred-customers-row {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.referred-customers-row span:last-child {
  color: var(--purple-800);
  font-weight: 900;
}

.admin-customer-history {
  margin-top: 14px;
}

.admin-customer-history h3 {
  margin: 0 0 8px;
  font-size: 13px;
}

.admin-customer-history ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-customer-history li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
}

.admin-customer-history span {
  color: var(--purple-800);
  font-weight: 850;
}

.text-link-button {
  border: 0;
  padding: 0;
  color: var(--purple-800);
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.admin-customer-invite-link {
  color: var(--purple-800);
}

.customer-invite-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1001;
  max-width: 520px;
  transform: translate(-50%, -50%);
}

.customer-email-modal {
  max-width: 520px;
}

.admin-customer-modal {
  max-width: 640px;
  padding: 18px;
}

.admin-customer-modal .more-info-header {
  margin-bottom: 14px;
}

.admin-customer-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.admin-customer-detail-grid div {
  display: grid;
  grid-template-columns: minmax(88px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}

.admin-customer-detail-grid div:last-child {
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.admin-customer-detail-grid dd {
  min-width: 0;
  text-align: right;
}

.customer-invite-status-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.customer-invite-status-row strong {
  color: var(--purple-900);
  text-transform: uppercase;
}

.admin-customer-history strong {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.profile-card h2,
.password-card h2,
.account-delete-card h2 {
  margin-bottom: 18px;
}

.account-delete-card {
  grid-column: 1 / -1;
  border-color: rgba(158, 40, 71, 0.24);
}

.account-delete-card p {
  max-width: 820px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 650;
}

.profile-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.profile-list div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.profile-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.profile-list dd {
  margin: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 800;
}

.profile-form,
.password-form,
.account-delete-form {
  display: grid;
  gap: 14px;
}

.profile-form label,
.password-form label,
.account-delete-form label {
  display: grid;
  gap: 7px;
}

.profile-form label span,
.password-form label span,
.account-delete-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.profile-form input,
.password-form input,
.account-delete-form input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: white;
  outline: none;
}

.profile-form input:focus,
.password-form input:focus,
.account-delete-form input:focus {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(151, 0, 176, 0.12);
}

.profile-form input[readonly] {
  color: var(--muted);
  background: #f6f4fb;
}

.profile-form button,
.password-form button,
.account-delete-form button {
  width: fit-content;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  background: var(--purple-800);
  font-weight: 850;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.profile-form button:hover,
.profile-form button:focus-visible,
.password-form button:hover,
.password-form button:focus-visible {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 22px rgba(132, 2, 154, 0.16);
  outline: none;
}

.account-delete-form button {
  background: #9e2847;
}

.account-delete-form button:hover,
.account-delete-form button:focus-visible {
  background: #7d1f38;
}

.form-status {
  min-height: 20px;
  color: var(--purple-800);
  font-size: 13px;
  font-weight: 800;
}

.login-status {
  margin: 0;
}

.form-status.is-saving {
  color: var(--purple-800);
}

.form-status.is-saved {
  color: var(--green);
}

.form-status.is-error {
  color: #9e2847;
}

.checkout-status {
  min-height: 0;
  margin: 0;
}

.checkout-status.is-saved {
  color: var(--green);
}

.checkout-status.is-error {
  color: #9e2847;
}

.chat-shell {
  display: grid;
  grid-template-rows: minmax(320px, 54vh) 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
  overflow-anchor: none;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(238, 232, 255, 0.54), rgba(255, 255, 255, 0.2)),
    white;
}

.chat-message {
  width: min(72%, 680px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  background: white;
}

.chat-message.from-customer {
  align-self: flex-end;
  border-color: rgba(80, 32, 215, 0.26);
  background: var(--purple-100);
}

.chat-message.from-admin {
  align-self: flex-start;
}

.chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

.chat-meta strong {
  color: var(--ink);
}

.chat-message p {
  color: var(--ink);
  line-height: 1.45;
}

.chat-scroll-anchor {
  flex: 0 0 1px;
  height: 1px;
}

.chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 20px;
  gap: 10px 14px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding: 18px;
  background: white;
}

.chat-composer label {
  display: grid;
  gap: 7px;
}

.chat-composer label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.chat-composer textarea {
  width: 100%;
  height: 82px;
  min-height: 82px;
  max-height: 82px;
  resize: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
  outline: none;
}

.chat-composer textarea:focus {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(151, 0, 176, 0.12);
}

.chat-composer button {
  border: 0;
  border-radius: 8px;
  padding: 13px 16px;
  color: white;
  background: var(--purple-800);
  font-weight: 850;
  white-space: nowrap;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.chat-composer button:hover,
.chat-composer button:focus-visible {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 22px rgba(132, 2, 154, 0.16);
  outline: none;
}

.chat-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
}

.admin-chat-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
}

.conversation-list {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.conversation-search {
  display: grid;
  gap: 7px;
}

.conversation-search span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.conversation-search input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  outline: none;
}

.conversation-search input:focus {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(151, 0, 176, 0.12);
}

.conversation-results {
  display: grid;
  gap: 2px;
}

.conversation-empty {
  margin: 0;
  padding: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.conversation-row-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 4px;
}

.conversation-row-wrap.is-active {
  border-color: rgba(80, 32, 215, 0.24);
  background: var(--purple-100);
}

.conversation-row-wrap.has-unread strong {
  color: #b91c1c;
}

.conversation-row {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 9px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.conversation-dismiss-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  align-self: center;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
}

.conversation-dismiss-button:hover {
  color: var(--purple-800);
  background: white;
}

.conversation-dismiss-button svg {
  width: 17px;
  height: 17px;
}

.conversation-row span {
  color: var(--muted);
  font-size: 13px;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.detail-list div,
.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.detail-list div:last-child,
.detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 750;
}

.simple-table th {
  position: static;
}

.customer-orders-card {
  padding: 16px 24px 24px;
}

.customer-orders-table {
  min-width: 1040px;
  table-layout: fixed;
}

.customer-orders-table th,
.customer-orders-table td {
  padding: 10px 12px;
}

.customer-orders-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.customer-orders-table td {
  font-size: 14px;
  font-weight: 400;
}

.customer-orders-table td:first-child,
.customer-orders-table td:nth-child(2),
.customer-orders-table td:nth-child(3),
.customer-orders-table td:nth-child(5),
.customer-orders-table td:nth-child(6),
.customer-orders-table td:nth-child(8) {
  white-space: nowrap;
}

.customer-orders-table th:nth-child(1),
.customer-orders-table td:nth-child(1) {
  width: 10%;
}

.customer-orders-table th:nth-child(2),
.customer-orders-table td:nth-child(2) {
  width: 9%;
}

.customer-orders-table th:nth-child(3),
.customer-orders-table td:nth-child(3) {
  width: 6%;
}

.customer-orders-table th:nth-child(4),
.customer-orders-table td:nth-child(4) {
  width: 28%;
}

.customer-orders-table th:nth-child(5),
.customer-orders-table td:nth-child(5) {
  width: 6%;
}

.customer-orders-table th:nth-child(6),
.customer-orders-table td:nth-child(6) {
  width: 8%;
}

.customer-orders-table th:nth-child(7),
.customer-orders-table td:nth-child(7) {
  width: 11%;
}

.customer-orders-table th:nth-child(8),
.customer-orders-table td:nth-child(8) {
  width: 22%;
}

.customer-order-product {
  min-width: 0;
}

.customer-order-product-line,
.customer-order-qty-line {
  display: grid;
  gap: 2px;
}

.customer-orders-table td span:not(.stock-pill),
.customer-orders-table td small,
.customer-order-product-line span,
.customer-order-qty-line span {
  color: var(--ink);
  font-weight: 400;
}

.customer-orders-table .stock-pill {
  font-weight: 400;
}

.customer-order-qty-line span {
  margin: 0;
  font-size: 14px;
}

.customer-order-number-link {
  color: var(--purple-800);
}

.customer-order-modal {
  max-width: 640px;
  max-height: calc(100vh - 32px);
  padding: 14px;
}

.customer-order-modal .more-info-header {
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.customer-order-modal .more-info-header h2 {
  font-size: 18px;
  line-height: 1.1;
}

.customer-order-modal .more-info-header p {
  margin-top: 3px;
  font-size: 12px;
}

.customer-order-modal .modal-close-button {
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 11px;
}

.customer-order-modal .detail-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.customer-order-modal .detail-list div {
  display: grid;
  gap: 3px;
  border-bottom: 0;
  padding-bottom: 0;
}

.customer-order-modal dt {
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.customer-order-modal dd {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
}

.customer-order-detail-section {
  margin-top: 12px;
}

.customer-order-detail-section h3 {
  margin-bottom: 6px;
  font-size: 13px;
}

.customer-order-modal .admin-table-wrap {
  overflow: visible;
}

.customer-order-items-table {
  min-width: 0;
}

.customer-order-items-table th {
  padding: 7px 8px;
  font-size: 10px;
}

.customer-order-items-table td {
  padding: 7px 8px;
  font-size: 12px;
}

.customer-order-address {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  font-style: normal;
  font-size: 13px;
  line-height: 1.35;
  background: #fff;
}

.tracking-link {
  color: var(--purple-800);
  font-weight: 400;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.tracking-link:hover,
.tracking-link:focus-visible {
  text-decoration: underline;
}

.tracking-stack {
  display: inline-grid;
  gap: 3px;
  min-width: 0;
  max-width: 220px;
}

.tracking-live-status {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.tracking-form-live {
  margin-top: 5px;
  max-width: 100%;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--orange);
  font-weight: 850;
}

.status-line span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.admin-shell {
  width: min(1580px, calc(100% - 32px));
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  border: 1px solid rgba(80, 32, 215, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 26px 80px rgba(54, 24, 118, 0.14);
}

.admin-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 0 22px;
  color: white;
  background: var(--app-header-gradient);
}

.admin-brand {
  width: auto;
}

.admin-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.admin-switch button {
  border: 0;
  border-radius: 6px;
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font-size: 13px;
  font-weight: 850;
}

.admin-switch button.is-active {
  color: var(--purple-950);
  background: white;
}

.admin-user {
  display: grid;
  gap: 2px;
  text-align: right;
  font-size: 12px;
}

.admin-user span {
  opacity: 0.78;
}

.admin-user strong {
  font-size: 13px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: calc(100vh - 104px);
}

.admin-sidebar {
  display: grid;
  align-content: start;
  gap: 6px;
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  font-weight: 850;
}

.admin-nav-item span {
  min-width: 0;
}

.admin-nav-badge {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  margin-left: auto;
  border-radius: 999px;
  padding: 0 7px;
  color: white;
  background: #b91c1c;
  font-size: 12px;
  line-height: 1;
}

.admin-nav-item svg {
  width: 18px;
  height: 18px;
}

.admin-nav-item:hover,
.admin-nav-item:focus-visible,
.admin-nav-item.is-active {
  border-color: rgba(80, 32, 215, 0.2);
  color: var(--purple-800);
  background: var(--purple-100);
  outline: none;
}

.admin-main {
  overflow: auto;
  padding: 24px;
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.admin-heading h1 {
  font-size: 28px;
  line-height: 1.1;
}

.admin-heading p {
  margin-top: 7px;
  color: var(--muted);
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-metric-card,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.admin-metric-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  min-height: 96px;
  padding: 16px;
}

.admin-metric-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.admin-metric-card strong {
  color: var(--purple-900);
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.05;
  white-space: nowrap;
}

.admin-dashboard-grid,
.admin-two-column {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-card {
  padding: 20px;
}

.admin-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.admin-card-heading h2 {
  font-size: 19px;
  line-height: 1.15;
}

.admin-card-heading p,
.admin-rule-list,
.admin-table-toolbar span {
  color: var(--muted);
}

.monthly-profit-card {
  display: grid;
  gap: 16px;
}

.monthly-revenue-profit-card {
  grid-column: 1 / -1;
}

.monthly-profit-card > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.monthly-profit-card > strong,
.financial-total {
  color: var(--purple-900);
  font-size: clamp(24px, 2.1vw, 28px);
  line-height: 1;
  white-space: nowrap;
}

.admin-dashboard-link-card {
  display: grid;
  gap: 16px;
}

.admin-dashboard-link-card .panel-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--purple-800);
  background: #eee7ff;
}

.admin-dashboard-link-card button {
  width: fit-content;
}

.peptide-dashboard-card {
  min-height: 150px;
}

.peptide-tab-summary-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.pep-mush-tab-stack {
  display: grid;
  gap: 10px;
}

.pep-mush-category-tabs {
  width: fit-content;
}

.peptide-pending-stock-summary {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
}

.peptide-pending-stock-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.peptide-pending-stock-summary strong {
  background: #eee7ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--purple-800);
  font-size: 14px;
  font-weight: 900;
  padding: 5px 10px;
  white-space: nowrap;
}

.peptide-orders-wrap {
  overflow: auto;
}

.peptide-orders-table {
  min-width: 980px;
}

.peptide-process-head {
  margin-bottom: 22px;
}

.peptide-process-head p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.peptide-process-head h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

.peptide-process-head span {
  color: var(--muted);
  font-size: 16px;
}

.peptide-process-wrap {
  overflow: visible;
}

.peptide-process-table {
  min-width: 0;
}

.peptide-process-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.peptide-action-button {
  align-items: center;
  appearance: none;
  background: var(--purple-800);
  border: 1px solid var(--purple-800);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.peptide-action-button.ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--purple-800);
}

.peptide-action-button:hover {
  background: var(--peptide-purple-600);
  border-color: var(--peptide-purple-600);
  transform: translateY(-1px);
}

.peptide-action-button.ghost:hover {
  color: var(--peptide-purple-600);
  background: var(--purple-100);
  border-color: var(--purple-300);
}

.admin-peptide-copy-popover {
  background: #211628;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(36, 22, 41, .24);
  color: #fbf5ff;
  display: none;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.45;
  max-width: min(340px, 78vw);
  min-width: min(240px, 78vw);
  padding: 12px 14px;
  pointer-events: none;
  position: fixed;
  text-align: left;
  white-space: pre-wrap;
  z-index: 1000;
}

.admin-peptide-copy-popover.is-visible {
  display: block;
}

.admin-peptide-status-preview {
  cursor: default;
  white-space: nowrap;
}

.admin-peptide-order-preview {
  cursor: default;
  display: inline-block;
}

.peptide-orders-table td {
  vertical-align: top;
}

.peptide-orders-table td > span,
.peptide-orders-table .table-link + .table-link,
.peptide-edit-tracking {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.peptide-items-cell {
  display: grid;
  gap: 5px;
}

.peptide-items-cell span {
  color: var(--ink);
}

.peptide-tracking-modal {
  max-width: 520px;
}

.vendor-financial-summary {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 22px 24px;
}

.admin-financial-tabs-card {
  margin-bottom: 16px;
  padding: 10px;
}

.financial-due-tabs-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.admin-financial-tabs {
  display: inline-flex;
  border: 1px solid rgba(82, 45, 168, 0.14);
  border-radius: 8px;
  padding: 4px;
  background: #f8f6fc;
}

.admin-financial-tabs button {
  min-width: 118px;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: var(--muted);
  background: transparent;
  font-weight: 850;
}

.admin-financial-tabs button.is-active {
  color: white;
  background: var(--peptide-purple-500);
  box-shadow: 0 8px 18px rgba(151, 0, 176, 0.16);
}

.financial-tab-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.vendor-financial-action-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  margin: -6px 10px 8px;
}

.vendor-payment-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: white;
  background: var(--purple-800);
  font-weight: 850;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.vendor-payment-button:hover,
.vendor-payment-button:focus-visible {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 22px rgba(132, 2, 154, 0.16);
  outline: none;
}

.vendor-due-callout {
  display: inline-flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  min-width: 254px;
  min-height: 52px;
  border-radius: 6px;
  padding: 0 24px;
  color: white;
  background: var(--peptide-purple-500);
  box-shadow: 0 12px 24px rgba(132, 2, 154, 0.16);
}

.vendor-due-callout span,
.vendor-due-callout strong {
  color: inherit;
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
}

.vendor-financial-summary p strong {
  color: var(--purple-900);
  font-weight: 850;
}

.vendor-financial-summary p {
  max-width: 720px;
  color: var(--ink);
}

.vendor-financial-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vendor-financial-breakdown span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(82, 45, 168, 0.14);
  border-radius: 999px;
  padding: 0 10px;
  background: #f7f3ff;
  color: var(--purple-900);
  text-transform: none;
}

.vendor-financial-search {
  max-width: 560px;
  margin-top: 8px;
}

.vendor-financial-filter-note {
  color: var(--purple-900);
  font-size: 13px;
  font-weight: 850;
}

.compact-card-heading {
  margin-bottom: 10px;
}

.vendor-payment-history {
  margin-top: 16px;
}

.vendor-payment-modal {
  max-width: 520px;
}

.vendor-payment-form {
  gap: 12px;
}

.admin-inline-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
}

.admin-inline-search input,
.admin-form input,
.admin-form select,
.admin-form textarea,
.chart-filters select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
  outline: none;
}

.admin-form textarea {
  min-height: 90px;
  padding: 12px;
  resize: vertical;
  line-height: 1.45;
}

.admin-product-add-form textarea {
  min-height: 54px;
}

.admin-form input[readonly] {
  color: var(--muted);
  background: #f6f4fb;
}

.admin-inline-search input {
  border-radius: 8px 0 0 8px;
}

.admin-inline-search button {
  border: 0;
  border-radius: 0 8px 8px 0;
  color: white;
  background: var(--purple-800);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.admin-inline-search button:hover,
.admin-inline-search button:focus-visible {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 22px rgba(132, 2, 154, 0.16);
  outline: none;
}

.chart-card {
  grid-column: 1 / -1;
  min-width: 0;
}

.chart-heading {
  align-items: center;
}

.chart-filters {
  display: flex;
  gap: 7px;
  align-items: center;
}

.chart-filters button,
.admin-form button {
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  color: white;
  background: var(--purple-800);
  font-weight: 850;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.chart-filters button:hover,
.chart-filters button:focus-visible,
.admin-form button:hover,
.admin-form button:focus-visible {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 22px rgba(132, 2, 154, 0.16);
  outline: none;
}

.invite-edit-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-form .secondary-action {
  color: var(--purple-800);
  background: var(--purple-100);
}

.admin-card-heading .secondary-action {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--purple-800);
  background: var(--purple-100);
  font-size: 12px;
  font-weight: 850;
}

.maintenance-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.maintenance-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  align-content: stretch;
}

.maintenance-panel-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--purple-800);
  background: var(--purple-100);
}

.maintenance-panel-icon svg {
  width: 22px;
  height: 22px;
}

.maintenance-panel h2 {
  margin-bottom: 6px;
  font-size: 19px;
}

.maintenance-panel p {
  color: var(--muted);
  line-height: 1.45;
}

.maintenance-panel button {
  justify-self: start;
  align-self: end;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background: var(--peptide-purple-500);
  font-weight: 850;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.maintenance-panel button:hover,
.maintenance-panel button:focus-visible {
  background: var(--peptide-purple-600);
  outline: none;
}

.maintenance-panel button:active {
  transform: translateY(1px);
}

.survey-response-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.survey-response-summary div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #faf8ff;
}

.survey-response-summary span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.survey-response-summary strong {
  display: block;
  margin-top: 5px;
  color: var(--purple-900);
  font-size: 20px;
  line-height: 1.1;
}

.survey-response-table {
  min-width: 980px;
}

.survey-response-table th:nth-child(n+4):nth-child(-n+7),
.survey-response-table td:nth-child(n+4):nth-child(-n+7) {
  width: 118px;
}

.survey-access-select {
  min-width: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  color: var(--purple-900);
  background: #fff;
  font: inherit;
  font-weight: 850;
}

.survey-access-select:focus {
  border-color: var(--purple-700);
  outline: 3px solid rgba(160, 57, 181, 0.18);
}

.faq-editor-card {
  margin-bottom: 16px;
}

.faq-editor-form {
  max-width: 820px;
}

.admin-checkbox-row {
  display: flex !important;
  gap: 10px !important;
  align-items: center;
}

.admin-checkbox-row input {
  width: 18px;
  min-height: 18px;
}

.admin-checkbox-row span {
  color: var(--ink);
}

.admin-faq-accordion {
  margin-top: 4px;
}

.admin-faq-answer {
  display: grid;
  gap: 14px;
}

.admin-faq-meta,
.admin-faq-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-faq-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.recent-orders-card {
  min-width: 0;
}

.recent-order-list {
  display: grid;
  gap: 10px;
}

.recent-order-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.recent-order-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.recent-order-row > div:last-child {
  justify-items: end;
  text-align: right;
}

.recent-order-row strong {
  color: var(--ink);
  font-size: 14px;
}

.recent-order-row span {
  color: var(--muted);
  font-size: 12px;
}

.invite-edit-modal {
  max-width: 520px;
}

.chart-month {
  color: var(--purple-900);
  font-size: 13px;
  font-weight: 850;
  margin: 0 8px 8px;
  text-align: center;
}

.sales-chart {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: end;
  position: relative;
  min-height: 410px;
  padding: 24px 6px 40px 0;
  overflow: hidden;
}

.chart-y-axis {
  position: relative;
  align-self: start;
  height: 320px;
}

.chart-y-axis span {
  position: absolute;
  right: 0;
  bottom: var(--tick-position);
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
  transform: translateY(50%);
  white-space: nowrap;
}

.chart-plot {
  position: relative;
  min-width: 0;
}

.chart-gridlines {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 320px;
  pointer-events: none;
}

.chart-gridlines span {
  position: absolute;
  bottom: var(--tick-position);
  left: 0;
  border-top: 1px solid rgba(69, 52, 150, 0.14);
}

.chart-gridlines .is-major {
  right: 0;
}

.chart-gridlines .is-minor {
  width: 8px;
}

.chart-days {
  display: grid;
  grid-template-columns: repeat(var(--chart-days), minmax(12px, 1fr));
  gap: 3px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.chart-day {
  display: grid;
  grid-template-rows: 320px 18px;
  gap: 10px;
  justify-items: center;
  min-width: 0;
}

.chart-bars {
  display: flex;
  justify-content: center;
  align-items: end;
  height: 320px;
  align-self: end;
  position: relative;
  z-index: 1;
}

.bar {
  display: block;
  width: 12px;
  border-radius: 5px 5px 0 0;
}

.bar.revenue,
.chart-legend i.revenue {
  background: var(--purple-800);
}

.bar.revenue {
  overflow: hidden;
  position: relative;
  cursor: default;
  outline: none;
}

.profit-fill {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  min-height: 0;
  background: #e0523f;
  cursor: default;
  outline: none;
}

.bar.revenue:focus-visible,
.profit-fill:focus-visible {
  box-shadow: 0 0 0 3px rgba(116, 80, 255, 0.22);
}

.chart-tooltip {
  position: fixed;
  z-index: 1000;
  padding: 7px 10px;
  border: 1px solid rgba(69, 52, 150, 0.18);
  border-radius: 8px;
  color: white;
  background: rgba(20, 14, 55, 0.95);
  box-shadow: 0 14px 30px rgba(20, 14, 55, 0.18);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  transition: opacity 120ms ease;
  white-space: nowrap;
}

.chart-tooltip.is-visible {
  opacity: 1;
}

.chart-legend i.profit {
  background: #e0523f;
}

.chart-day small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
}

.chart-legend {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.chart-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.admin-table-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.login-log-toolbar-actions {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.order-toolbar {
  flex-wrap: wrap;
}

.vendor-filter-toggle {
  position: relative;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--purple-900);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.vendor-filter-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vendor-filter-toggle .toggle-track {
  position: relative;
  width: 36px;
  height: 22px;
  flex: 0 0 36px;
  border: 1px solid var(--purple-300);
  border-radius: 999px;
  background: var(--purple-100);
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.vendor-filter-toggle .toggle-track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 2px 6px rgba(43, 12, 115, 0.22);
  content: "";
  transition: transform 0.18s ease;
}

.vendor-filter-toggle input:checked + .toggle-track {
  border-color: var(--purple-800);
  background: var(--purple-800);
}

.vendor-filter-toggle input:checked + .toggle-track::after {
  transform: translateX(14px);
}

.vendor-filter-toggle input:focus-visible + .toggle-track {
  box-shadow: 0 0 0 4px rgba(151, 0, 176, 0.16);
}

.vendor-upload-input {
  display: none;
}

.vendor-upload-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  text-align: center;
}

.order-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-orders-customer-filter {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(80, 32, 215, 0.05);
}

.admin-orders-customer-filter h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.admin-orders-customer-filter p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.admin-orders-customer-filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-orders-scope-note {
  margin: -8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.admin-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.admin-pagination button {
  min-width: 38px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--purple-800);
  background: var(--surface);
  font-size: 13px;
  font-weight: 850;
}

.admin-pagination button.is-active {
  border-color: var(--purple-800);
  color: white;
  background: var(--purple-800);
}

.admin-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.admin-pagination-gap {
  color: var(--muted);
  font-weight: 850;
}

.order-actions button,
.admin-table-toolbar > button,
.tracking-form button,
.modal-actions button,
.admin-orders-customer-filter button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 13px;
  color: white;
  background: var(--purple-800);
  font-size: 13px;
  font-weight: 850;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.order-actions button:hover:not(:disabled),
.order-actions button:focus-visible:not(:disabled),
.admin-table-toolbar > button:hover:not(:disabled),
.admin-table-toolbar > button:focus-visible:not(:disabled),
.tracking-form button:hover:not(:disabled),
.tracking-form button:focus-visible:not(:disabled),
.modal-actions button:hover:not(:disabled),
.modal-actions button:focus-visible:not(:disabled),
.admin-orders-customer-filter button:hover:not(:disabled),
.admin-orders-customer-filter button:focus-visible:not(:disabled) {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 22px rgba(132, 2, 154, 0.16);
  outline: none;
}

.order-actions .secondary-action,
.modal-actions .secondary-action,
.admin-orders-customer-filter .secondary-action {
  color: var(--purple-800);
  background: var(--purple-100);
}

.order-actions .secondary-action:hover:not(:disabled),
.order-actions .secondary-action:focus-visible:not(:disabled),
.modal-actions .secondary-action:hover:not(:disabled),
.modal-actions .secondary-action:focus-visible:not(:disabled),
.admin-orders-customer-filter .secondary-action:hover:not(:disabled),
.admin-orders-customer-filter .secondary-action:focus-visible:not(:disabled) {
  color: var(--peptide-purple-600);
  background: #fbf2ff;
}

.order-actions button:disabled,
.admin-table-toolbar > button:disabled,
.tracking-form button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.admin-save-status {
  width: fit-content;
  margin: -4px 0 14px;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 850;
}

.admin-save-status.is-saving {
  color: var(--purple-800);
  background: #f0eaff;
}

.admin-save-status.is-saved {
  color: var(--green);
  background: var(--green-bg);
}

.admin-save-status.is-error {
  color: #9e2847;
  background: #ffe9ef;
}

.compact-search {
  max-width: 540px;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table {
  min-width: 760px;
}

.admin-orders-table,
.vendor-orders-table,
.admin-stock-requests-table {
  min-width: 980px;
}

.vendor-orders-table {
  min-width: 1120px;
}

.admin-orders-table {
  min-width: 1040px;
}

.admin-orders-table .admin-order-select-col {
  width: 42px;
  padding-right: 8px;
}

.admin-orders-table .admin-order-date-col {
  width: 90px;
  padding-left: 6px;
  padding-right: 16px;
}

.admin-orders-table .sort-button {
  color: inherit;
  font: inherit;
  font-weight: inherit;
  gap: 5px;
}

.admin-orders-table .sort-button span {
  color: var(--purple-700);
  display: inline;
  font: inherit;
  line-height: 1;
}

.admin-order-product-name {
  max-width: 250px;
  min-width: 210px;
  overflow: visible;
  position: relative;
}

.admin-orders-table .admin-order-number-link {
  white-space: nowrap;
}

.admin-order-product-preview-wrap {
  display: inline-flex;
  max-width: 100%;
}

.admin-order-product-preview {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: inline-block;
  font: inherit;
  max-width: 100%;
  padding: 0;
  text-align: left;
  white-space: nowrap;
}

.admin-order-product-popover {
  background: #211628;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(36, 22, 41, .24);
  color: #fbf5ff;
  display: none;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.45;
  max-width: min(420px, 76vw);
  min-width: min(260px, 76vw);
  padding: 12px 14px;
  pointer-events: none;
  position: fixed;
  text-align: left;
  white-space: pre-wrap;
  z-index: 1000;
}

.admin-order-product-popover.is-visible {
  display: block;
}

.vendor-orders-table th,
.vendor-orders-table td {
  padding-left: 10px;
  padding-right: 10px;
  vertical-align: middle;
}

.vendor-orders-table th {
  white-space: nowrap;
}

.vendor-select-col {
  width: 32px;
  text-align: center;
}

.vendor-date-col {
  width: 82px;
  white-space: nowrap;
}

.vendor-order-col {
  width: 96px;
  white-space: nowrap;
}

.vendor-sku-col {
  width: 62px;
  white-space: nowrap;
}

.vendor-product-col {
  min-width: 178px;
}

.vendor-quantity-col {
  width: 76px;
  text-align: left;
  white-space: nowrap;
}

.vendor-name-col {
  min-width: 126px;
  white-space: nowrap;
}

.vendor-cost-col {
  width: 94px;
  white-space: nowrap;
}

.vendor-tracking-col {
  min-width: 208px;
}

.vendor-orders-table .tracking-form {
  grid-template-columns: minmax(124px, 1fr) auto;
}

.admin-table th {
  position: static;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-table td {
  font-size: 14px;
}

.admin-table td span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.table-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.table-actions button {
  border: 0;
  padding: 0;
  color: var(--purple-800);
  background: transparent;
  font-weight: 850;
}

.table-link {
  border: 0;
  padding: 0;
  color: var(--purple-800);
  background: transparent;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.admin-customer-id-link {
  font-weight: 900;
}

.table-link:hover,
.table-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.table-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.table-actions .danger-link {
  color: #9e2847;
}

.status-toggle {
  min-width: 58px;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  color: #655f73;
  background: #ece8f2;
  font-size: 12px;
  font-weight: 900;
}

.status-toggle.is-on {
  color: var(--green);
  background: var(--green-bg);
}

.order-status-modal {
  max-width: 620px;
}

.order-status-help {
  margin: -2px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.order-status-options label.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.order-status-options label em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}

.order-items-section {
  margin-top: 20px;
}

.order-items-section h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.order-items-table {
  min-width: 620px;
}

.order-items-empty {
  margin-top: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 13px;
  color: var(--muted);
  background: #faf9ff;
  font-size: 13px;
  font-weight: 750;
}

.order-status-options {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #faf9ff;
}

.order-status-options label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.customer-status-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  border: 0;
  padding: 0;
  background: transparent;
}

.more-info-modal.customer-status-modal {
  max-width: 620px;
}

.customer-status-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfaff;
}

.customer-status-choice.is-selected {
  border-color: var(--purple-700);
  background: #f2edff;
  box-shadow: inset 0 0 0 1px rgba(65, 48, 178, 0.16);
}

.customer-status-radio {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--purple-800);
}

.customer-status-label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.customer-status-pending-link {
  border: 0;
  padding: 0;
  color: var(--purple-800);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.customer-status-modal-message {
  width: fit-content;
  margin: 12px 0 -2px;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 850;
}

.customer-status-modal-message.is-saving {
  color: var(--purple-800);
  background: #f0eaff;
}

.customer-status-modal-message.is-saved {
  color: var(--green);
  background: var(--green-bg);
}

.customer-status-modal-message.is-error {
  color: #9e2847;
  background: #ffe9ef;
}

@media (max-width: 640px) {
  .customer-status-options {
    grid-template-columns: 1fr;
  }
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.tracking-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.tracking-form input {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: white;
  font-size: 13px;
  outline: none;
}

.admin-form {
  display: grid;
  gap: 13px;
}

.admin-form label {
  display: grid;
  gap: 7px;
}

.admin-form [data-admin-new-category-field][hidden] {
  display: none;
}

.admin-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.admin-rule-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 19px;
  line-height: 1.45;
}

.payment-entry-form {
  margin-top: 22px;
}

.formula-reference {
  width: fit-content;
  margin-bottom: 14px;
}

.formula-reference summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--purple-800);
  background: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.formula-reference summary::-webkit-details-marker {
  display: none;
}

.formula-reference summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.formula-reference[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.formula-reference[open] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
}

.formula-reference[open] summary {
  margin-bottom: 12px;
}

.formula-reference > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pricing-rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pricing-rule-grid div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #faf9ff;
}

.pricing-rule-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-rule-grid strong {
  color: var(--purple-900);
  font-size: 12px;
  line-height: 1.35;
}

.admin-product-wrap {
  max-height: 68vh;
  overflow: auto;
}

.admin-product-table {
  min-width: 880px;
}

.admin-product-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #faf9ff;
}

.admin-product-table td {
  vertical-align: middle;
}

.admin-product-table th,
.admin-product-table td {
  padding-left: 10px;
  padding-right: 10px;
}

.admin-product-table .sku-cell,
.admin-product-table .number-cell {
  width: 1%;
}

.admin-product-header {
  min-width: 330px;
}

.admin-product-header > span:first-child {
  display: block;
  margin-bottom: 4px;
}

.product-sort-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.product-sort-links .admin-sort-button {
  color: var(--purple-800);
  font-size: 11px;
}

.admin-product-name-cell {
  min-width: 330px;
}

.admin-product-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: baseline;
  line-height: 1.35;
}

.admin-table td .admin-product-line span,
.admin-table td .admin-product-line .inline-edit-text {
  display: inline;
  margin: 0;
}

.inline-edit-text,
.stock-text,
.more-info-link {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
}

.inline-edit-text:hover,
.inline-edit-text:focus-visible,
.stock-text:hover,
.stock-text:focus-visible,
.more-info-link:hover,
.more-info-link:focus-visible {
  color: var(--purple-800);
  text-decoration: underline;
  outline: none;
}

.inline-edit-text.is-numeric,
.number-cell,
.sku-cell {
  font-weight: 850;
  white-space: nowrap;
}

.inline-edit-input {
  width: min(100%, 190px);
  min-height: 30px;
  border: 1px solid var(--purple-300);
  border-radius: 6px;
  padding: 0 8px;
  color: var(--ink);
  background: white;
  font-size: 13px;
  font-weight: 800;
  outline: none;
  box-shadow: 0 0 0 3px rgba(151, 0, 176, 0.1);
}

.inline-edit-input.is-numeric {
  width: 82px;
}

.stock-text {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  text-decoration: none;
}

.vendor-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 0;
  padding-inline: 10px;
}

a.vendor-status-pill:hover,
a.vendor-status-pill:focus-visible {
  text-decoration: underline;
}

.stock-in {
  color: var(--green);
  background: var(--green-bg);
}

.stock-out {
  color: var(--orange);
  background: var(--orange-bg);
}

.stock-ended {
  color: #655f73;
  background: #ece8f2;
}

.more-info-link {
  color: var(--purple-800);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.admin-product-sku-link {
  font-weight: 900;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 7, 57, 0.28);
}

.more-info-modal {
  width: 100%;
  max-width: 760px;
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 80px rgba(23, 7, 57, 0.22);
}

.admin-product-add-modal {
  max-width: 860px;
  padding: 16px 18px;
}

.admin-product-add-modal .more-info-header {
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.admin-product-add-modal .more-info-header h2 {
  font-size: 21px;
}

.admin-product-add-modal .more-info-header p {
  margin-top: 3px;
  font-size: 14px;
}

.admin-product-add-form {
  gap: 10px;
}

.admin-product-add-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 218px;
  gap: 14px;
  align-items: start;
}

.admin-product-add-fields {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-product-form-section {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfaff;
}

.admin-product-form-section h3,
.admin-product-calculated-panel h3 {
  margin: 0;
  color: var(--purple-900);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.admin-product-add-identity {
  display: grid;
  grid-template-columns: 82px 128px 72px;
  gap: 14px;
  align-items: end;
  justify-content: start;
}

.admin-product-add-name-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(190px, 0.8fr);
  gap: 14px;
}

.admin-product-add-detail-grid {
  display: grid;
  grid-template-columns: 112px 128px minmax(180px, 1fr);
  gap: 14px;
}

.admin-product-add-pricing-grid {
  display: grid;
  grid-template-columns: 108px 66px 84px;
  gap: 14px;
  align-items: end;
  justify-content: start;
}

.admin-product-add-notes-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(250px, 1.2fr);
  gap: 14px;
}

.admin-product-add-form input,
.admin-product-add-form select {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.admin-product-add-form label {
  gap: 5px;
}

.admin-product-add-form label span {
  font-size: 12px;
  line-height: 1.15;
}

.admin-product-add-form .field-sku input,
.admin-product-add-form .field-quantity input,
.admin-product-add-form .field-cost input,
.admin-product-add-form .field-ship-units input,
.admin-product-add-form .field-margin input {
  text-align: right;
}

.admin-product-add-form .field-product-name input,
.admin-product-add-form .field-ingredient input {
  font-weight: 800;
}

.admin-product-calculated-panel {
  position: sticky;
  top: 0;
  display: grid;
  gap: 7px;
  border: 1px solid #d9cff4;
  border-radius: 8px;
  padding: 11px 12px;
  background: linear-gradient(180deg, #f7f3ff 0%, #ffffff 100%);
}

.admin-product-calculated-value {
  display: grid;
  gap: 3px;
  border-top: 1px solid rgba(199, 186, 230, 0.72);
  padding-top: 7px;
}

.admin-product-calculated-value span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-product-calculated-value strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.1;
}

.admin-sale-modal {
  max-width: 620px;
  max-height: calc(100vh - 32px);
  padding: 14px;
}

.admin-sale-modal .more-info-header {
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.admin-sale-modal .more-info-header h2 {
  font-size: 18px;
  line-height: 1.1;
}

.admin-sale-modal .more-info-header p {
  margin-top: 3px;
  font-size: 12px;
}

.admin-sale-modal .modal-close-button {
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 11px;
}

.admin-sale-modal .detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.admin-sale-modal .detail-list div {
  display: grid;
  grid-template-columns: minmax(82px, 0.9fr) minmax(0, 1.35fr);
  gap: 8px;
  align-items: baseline;
  border-bottom: 1px solid rgba(225, 218, 242, 0.72);
  min-width: 0;
  padding: 5px 0;
}

.admin-sale-modal .detail-list div:last-child {
  border-bottom: 1px solid rgba(225, 218, 242, 0.72);
  padding-bottom: 5px;
}

.admin-sale-modal dt {
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.admin-sale-modal dd {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.25;
}

.admin-sale-modal .admin-order-money-value {
  display: inline;
  text-align: right;
}

.admin-sale-modal .admin-order-money-input {
  width: 96px;
  min-height: 26px;
  padding: 0 7px;
  font-size: 12px;
  text-align: right;
}

.admin-sale-modal .order-items-section {
  margin-top: 10px;
}

.admin-sale-modal .order-items-section h3 {
  margin-bottom: 6px;
  font-size: 13px;
}

.admin-sale-modal .admin-table-wrap {
  overflow: visible;
}

.admin-sale-modal .order-items-table {
  min-width: 0;
}

.admin-sale-modal .order-items-table th {
  padding: 7px 8px;
  font-size: 10px;
}

.admin-sale-modal .order-items-table td {
  padding: 7px 8px;
  font-size: 12px;
}

.admin-sale-modal .order-items-table td span {
  margin-top: 2px;
  font-size: 11px;
}

.admin-sale-modal .order-items-empty {
  margin-top: 10px;
  padding: 8px;
  font-size: 12px;
}

.refund-action-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
}

.muted-text {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.danger-action {
  border: 0;
  border-radius: 8px;
  padding: 9px 13px;
  color: white;
  background: #9e2847;
  font-size: 12px;
  font-weight: 850;
}

.danger-action:hover,
.danger-action:focus-visible {
  background: #84213b;
}

.refund-modal {
  max-width: 560px;
  padding: 16px;
}

.refund-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.refund-summary div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbf9ff;
}

.refund-summary span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.refund-summary strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.refund-form {
  display: grid;
  gap: 12px;
}

.refund-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.refund-form input[type="text"],
.refund-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-transform: none;
}

.refund-form textarea {
  resize: vertical;
  min-height: 78px;
}

.refund-quick-actions,
.refund-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.refund-form .secondary-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--purple-800);
  background: var(--purple-100);
  font-size: 12px;
  font-weight: 850;
}

.refund-form .secondary-action:hover,
.refund-form .secondary-action:focus-visible {
  background: #ded1ff;
}

.refund-confirm-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35;
  text-transform: none !important;
}

.refund-confirm-row input {
  margin-top: 2px;
}

.more-info-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.more-info-header h2 {
  font-size: 22px;
}

.more-info-header p {
  margin-top: 5px;
  color: var(--muted);
}

.modal-close-button {
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  color: white;
  background: var(--purple-800);
  font-size: 13px;
  font-weight: 850;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.modal-close-button:hover,
.modal-close-button:focus-visible {
  background: var(--peptide-purple-600);
  box-shadow: 0 12px 22px rgba(132, 2, 154, 0.16);
  outline: none;
}

.more-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.more-info-field {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #faf9ff;
}

.more-info-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.more-info-field strong {
  color: var(--ink);
  font-size: 14px;
}

.more-info-notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

.more-info-notes .more-info-field {
  background: white;
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 24px, 720px);
    margin-top: 12px;
    overflow: visible;
  }

  .panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-dashboard-layout,
  .customer-dashboard-feature-grid {
    grid-template-columns: 1fr;
  }

  .customer-mobile-nav-bar {
    display: flex;
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.72);
  }

  .customer-mobile-nav-bar button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    border: 1px solid rgba(80, 32, 215, 0.2);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--purple-800);
    background: var(--purple-100);
    font-weight: 900;
  }

  .customer-mobile-nav-bar svg {
    width: 18px;
    height: 18px;
  }

  .customer-dashboard-sidebar {
    position: static;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .customer-dashboard-layout.is-customer-nav-open .customer-dashboard-sidebar {
    display: grid;
  }

  .customer-dashboard-nav-item {
    justify-content: center;
  }

  .customer-dashboard-main {
    padding: 16px;
  }

  .peps-hero,
  .peps-product-grid,
  .peps-conversion,
  .peps-step,
  .peps-step:nth-child(even),
  .peps-notes {
    grid-template-columns: 1fr;
  }

  .peps-step:nth-child(even) .peps-step-art {
    order: 0;
  }

  .peps-quick-facts {
    grid-template-columns: 1fr;
  }

  .dashboard-feature-panel {
    grid-column: span 2;
    min-height: 236px;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .brand {
    width: 100%;
  }

  .site-pill {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .account-copy {
    flex: 1 1 160px;
    text-align: left;
  }

  .topbar-home-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    color: white;
    background: rgba(255, 255, 255, 0.12);
  }

  .topbar-home-button svg {
    width: 21px;
    height: 21px;
  }

  .topbar-cart-button,
  .logout-button {
    margin-left: 0;
  }

  main {
    padding: 16px;
  }

  .store-cart-strip {
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    gap: 8px;
    margin: -8px 0 12px;
  }

  .store-cart-desktop-summary {
    display: none;
  }

  .store-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .store-instruction-line {
    display: flex;
  }

  .store-layout,
  .checkout-layout,
  .content-grid,
  .address-grid,
  .profile-grid,
  .refer-layout,
  .admin-product-add-shell,
  .admin-product-add-name-grid,
  .admin-product-add-detail-grid,
  .admin-product-add-notes-grid,
  .form-two-column,
  .form-three-column,
  .form-four-column,
  .form-name-grid,
  .admin-chat-layout,
  .admin-layout,
  .admin-dashboard-grid,
  .admin-two-column {
    grid-template-columns: 1fr;
  }

  .admin-product-calculated-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-product-calculated-panel h3 {
    grid-column: 1 / -1;
  }

  .panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shell {
    width: min(100% - 24px, 760px);
    margin-top: 12px;
  }

  .admin-topbar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .admin-switch {
    order: 3;
    width: 100%;
  }

  .checkout-submit-panel,
  .checkout-review-item {
    grid-template-columns: 1fr;
  }

  .checkout-coupon-row {
    grid-template-columns: 1fr;
  }

  .checkout-coupon-row .checkout-button,
  .checkout-coupon-row .secondary-button {
    width: 100%;
  }

  .checkout-submit-panel {
    display: grid;
  }

  .checkout-submit-actions {
    justify-content: stretch;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .checkout-submit-actions .secondary-button,
  .checkout-submit-actions .checkout-button {
    width: 100%;
  }

  .vendor-financial-action-row {
    justify-content: stretch;
    flex-direction: column-reverse;
    align-items: stretch;
    margin: 0 0 10px;
  }

  .admin-financial-tabs,
  .financial-tab-heading {
    width: 100%;
  }

  .financial-due-tabs-card {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-financial-tabs button {
    flex: 1;
    min-width: 0;
  }

  .financial-tab-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .vendor-due-callout,
  .vendor-payment-button {
    width: 100%;
  }

  .checkout-review-item > div:last-child {
    min-width: 0;
    text-align: left;
  }

  .checkout-review-quantity {
    justify-items: start;
  }

  .checkout-review-total {
    min-width: 0;
    text-align: left;
  }

  .order-confirmation-status {
    align-items: center;
  }

  .order-confirmation-status strong {
    font-size: 24px;
  }

  .order-confirmation-charge-warning {
    padding: 16px;
    font-size: 18px;
  }

  .order-confirmation-details {
    grid-template-columns: 1fr;
  }

  .admin-switch button {
    flex: 1;
  }

  .admin-user {
    text-align: left;
  }

  .admin-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .admin-nav-item {
    justify-content: center;
    min-height: 44px;
  }

  .admin-nav-item span {
    display: none;
  }

  .admin-main {
    padding: 16px;
  }

  .admin-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-table-toolbar,
  .chart-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-rule-grid {
    grid-template-columns: 1fr 1fr;
  }

  .more-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-composer {
    grid-template-columns: 1fr;
  }

  .chat-message {
    width: min(92%, 680px);
  }

  .news-heading,
  .store-toolbar,
  .auth-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-links {
    gap: 10px;
  }

  .auth-top-action {
    justify-content: flex-start;
    margin-top: 0;
  }

  .update-list {
    padding-left: 0;
  }

  .update-list li {
    grid-template-columns: 1fr;
    gap: 5px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }

  .update-list em {
    width: fit-content;
  }

  .function-panel {
    min-height: 120px;
    padding: 20px;
  }

  .table-wrap {
    max-height: 62vh;
  }

  .product-table {
    min-width: 1090px;
  }

  .detail-list div,
  .detail-list li {
    display: grid;
  }

  .admin-customer-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-customer-detail-grid div {
    grid-template-columns: 1fr;
  }

  .admin-customer-detail-grid dd {
    text-align: left;
  }

  .referred-customers-head {
    display: none;
  }

  .referred-customers-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  dd {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .modal-backdrop {
    padding: 12px;
  }

  .admin-product-add-modal {
    padding: 14px;
  }

  .admin-product-add-identity,
  .admin-product-add-pricing-grid,
  .admin-product-calculated-panel {
    grid-template-columns: 1fr;
  }

  .admin-product-form-section {
    padding: 12px;
  }

  .page-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .topbar {
    border-radius: 0;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px;
  }

  .brand {
    width: auto;
    flex: 1 1 auto;
    font-size: 16px;
  }

  .brand span:not(.brand-mark) {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-pill,
  .account-copy {
    display: none;
  }

  .avatar,
  .topbar-cart-button,
  .topbar-home-button {
    width: 38px;
    height: 38px;
  }

  .logout-button {
    min-height: 38px;
    padding: 0 10px;
  }

  .panel-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .peps-hero,
  .peps-detail-hero,
  .peps-section,
  .peps-product-card,
  .peps-detail-note,
  .peps-detail-grid article,
  .peps-two-column > div,
  .peps-evidence-grid a,
  .peps-conversion > div,
  .peps-notes article,
  .peps-step-copy {
    padding: 20px;
  }

  .peps-page h1 {
    font-size: 42px;
  }

  .peps-page h2 {
    font-size: 30px;
  }

  .peps-hero-media img {
    max-height: 280px;
  }

  .peps-detail-hero,
  .peps-detail-grid,
  .peps-two-column,
  .peps-evidence-grid,
  .mushroom-products-grid,
  .mushroom-supply-grid,
  .mushroom-interaction-reference,
  .mushroom-safety-grid,
  .mushroom-dose-levels {
    grid-template-columns: 1fr;
  }

  .mushrooms-hero-art {
    min-height: 210px;
  }

  .mushrooms-hero-art img {
    width: min(100%, 230px);
    max-height: 230px;
  }

  .peps-table-wrap table {
    min-width: 0;
  }

  .peps-table-wrap thead {
    display: none;
  }

  .peps-table-wrap tr,
  .peps-table-wrap td {
    display: block;
  }

  .peps-table-wrap tr {
    border-bottom: 1px solid var(--peps-line);
    padding: 12px 14px;
  }

  .peps-table-wrap tr:last-child {
    border-bottom: 0;
  }

  .peps-table-wrap td {
    border: 0;
    padding: 5px 0;
  }

  .peps-table-wrap td::before {
    content: attr(data-label);
    display: block;
    color: var(--peps-purple-700);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
    text-transform: uppercase;
  }

  .peps-step-art,
  .peps-step-art img {
    min-height: 220px;
  }

  .dashboard-feature-panel {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 220px;
  }

  .peptide-feature-panel {
    gap: 12px;
    padding-right: 14px;
  }

  .peptide-vial-image {
    width: 122px;
    min-width: 110px;
    max-height: 206px;
  }

  .mushroom-feature-panel {
    gap: 12px;
    padding-right: 14px;
  }

  .mushroom-feature-panel .dashboard-feature-copy {
    max-width: calc(100% - 128px);
  }

  .mushroom-panel-image {
    width: 118px;
    min-width: 98px;
    max-height: 186px;
  }

  .news-panel,
  .function-panel,
  .content-card,
  .address-card,
  .chat-shell,
  .conversation-list,
  .store-card,
  .admin-shell,
  .admin-card,
  .admin-metric-card {
    border-radius: 8px;
  }

  .admin-shell {
    width: 100%;
    margin: 0;
    border-left: 0;
    border-right: 0;
  }

  .store-cart-pill-checkout {
    width: 100%;
  }

  .store-toolbar {
    padding: 12px;
  }

  .store-alphabet-filter {
    display: none;
  }

  .search-field input {
    min-height: 46px;
    padding-right: 14px;
  }

  .store-card .table-wrap {
    overflow: visible;
    max-height: none;
  }

  .product-table {
    display: block;
    min-width: 0;
    table-layout: auto;
  }

  .product-table thead {
    display: none;
  }

  .product-table tbody {
    display: grid;
    gap: 12px;
    padding: 8px;
  }

  .product-table tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "sku product product"
      "qty price cart";
    column-gap: 10px;
    row-gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: white;
    box-shadow: 0 10px 24px rgba(37, 18, 79, 0.06);
  }

  .product-table td {
    display: grid;
    gap: 4px;
    width: auto !important;
    min-width: 0;
    border-bottom: 0;
    padding: 0;
  }

  .product-table td::before {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .product-table td:nth-child(1) {
    grid-area: sku;
    align-self: start;
    width: fit-content !important;
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--purple-800);
    background: #f1ebff;
  }

  .product-table td:nth-child(1)::before {
    content: "";
    display: none;
  }

  .product-table td:nth-child(2) {
    grid-area: product;
    align-self: start;
  }

  .product-table td:nth-child(2)::before {
    content: "";
    display: none;
  }

  .product-table td:nth-child(3) {
    grid-area: qty;
    align-content: center;
    min-height: 54px;
    margin-right: -10px;
    border-radius: 8px 0 0 8px;
    padding: 9px 10px;
    background: #faf8ff;
  }

  .product-table td:nth-child(3)::before {
    content: "QTY";
  }

  .product-table td:nth-child(4) {
    grid-area: price;
    align-content: center;
    justify-items: end;
    min-height: 54px;
    margin-right: -10px;
    border-radius: 0;
    padding: 9px 10px;
    background: #faf8ff;
  }

  .product-table td:nth-child(4)::before {
    content: "Price";
  }

  .product-table td:nth-child(5) {
    grid-area: cart;
    align-content: center;
    align-self: stretch;
    min-height: 54px;
    border-radius: 0 8px 8px 0;
    padding: 6px 8px;
    background: #faf8ff;
  }

  .product-table td:nth-child(5)::before {
    content: "";
    display: none;
  }

  .product-table .store-product-name-cell {
    min-width: 0;
  }

  .store-product-line {
    display: block;
    text-align: left;
    line-height: 1.42;
  }

  .product-table td .store-product-line strong,
  .product-table td .store-product-line span {
    display: inline;
    font-size: 13px;
  }

  .product-table td .store-product-line strong {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.2;
  }

  .price-cell,
  .sku-cell,
  .number-cell {
    text-align: left;
  }

  .store-quantity-cell {
    justify-content: space-between;
    gap: 8px;
  }

  .store-notes-link {
    padding: 5px 8px;
    font-size: 11px;
  }

  .product-table td:nth-child(1) strong,
  .product-table td:nth-child(3) strong {
    font-size: 15px;
    line-height: 1;
  }

  .product-table td:nth-child(4) .price-inline {
    display: grid;
    justify-items: end;
    gap: 2px;
  }

  .product-table td:nth-child(4) .price-inline strong {
    font-size: 15px;
    line-height: 1;
  }

  .product-table td:nth-child(4) .unit-price {
    font-size: 12px;
  }

  .product-table td:last-child {
    justify-items: end;
  }

  .product-table td:last-child .add-cart-button {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  .customer-orders-card {
    padding: 8px;
  }

  .customer-orders-wrap {
    overflow: visible;
  }

  .customer-orders-table {
    display: block;
    min-width: 0;
    table-layout: auto;
  }

  .customer-orders-table thead {
    display: none;
  }

  .customer-orders-table tbody {
    display: grid;
    gap: 10px;
  }

  .customer-orders-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "order status"
      "product product"
      "sku qty"
      "date total"
      "tracking tracking";
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: white;
    box-shadow: 0 10px 24px rgba(37, 18, 79, 0.06);
  }

  .customer-orders-table td {
    display: grid;
    gap: 3px;
    width: auto !important;
    min-width: 0;
    border-bottom: 0;
    padding: 0;
    white-space: normal !important;
  }

  .customer-orders-table td::before {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .customer-orders-table td:nth-child(1) {
    grid-area: order;
    align-self: start;
  }

  .customer-orders-table td:nth-child(1)::before {
    content: "";
    display: none;
  }

  .customer-order-number-link {
    width: fit-content;
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--purple-800);
    background: #f1ebff;
    font-size: 14px;
    font-weight: 900;
  }

  .customer-orders-table td:nth-child(2) {
    grid-area: date;
    border-radius: 8px 0 0 8px;
    padding: 9px 10px;
    background: #faf8ff;
  }

  .customer-orders-table td:nth-child(2)::before {
    content: "Date";
  }

  .customer-orders-table td:nth-child(3) {
    grid-area: sku;
    border-radius: 8px;
    padding: 9px 10px;
    background: #faf8ff;
  }

  .customer-orders-table td:nth-child(3)::before {
    content: "SKU";
  }

  .customer-orders-table td:nth-child(4) {
    grid-area: product;
    line-height: 1.35;
  }

  .customer-orders-table td:nth-child(4)::before {
    content: "Product";
  }

  .customer-orders-table td:nth-child(5) {
    grid-area: qty;
    justify-items: end;
    border-radius: 8px;
    padding: 9px 10px;
    background: #faf8ff;
    text-align: right;
  }

  .customer-orders-table td:nth-child(5)::before {
    content: "QTY";
  }

  .customer-orders-table td:nth-child(6) {
    grid-area: total;
    justify-items: end;
    border-radius: 0 8px 8px 0;
    padding: 9px 10px;
    background: #faf8ff;
    text-align: right;
  }

  .customer-orders-table td:nth-child(6)::before {
    content: "Total";
  }

  .customer-orders-table td:nth-child(7) {
    grid-area: status;
    justify-items: end;
    align-self: start;
  }

  .customer-orders-table td:nth-child(7)::before {
    content: "";
    display: none;
  }

  .customer-orders-table td:nth-child(8) {
    grid-area: tracking;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }

  .customer-orders-table td:nth-child(8)::before {
    content: "Tracking";
  }

  .customer-orders-table .stock-pill {
    min-width: 0;
    padding: 6px 9px;
    font-size: 11px;
  }

  .customer-order-product-line,
  .customer-order-qty-line {
    gap: 0;
  }

  .customer-orders-table .tracking-link {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .admin-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 10px;
  }

  .admin-metric-grid {
    grid-template-columns: 1fr;
  }

  .survey-response-summary {
    grid-template-columns: 1fr;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .customer-dashboard-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }

  .customer-dashboard-nav-item {
    gap: 8px;
    padding: 10px;
    font-size: 14px;
  }

  .customer-reorder-panel {
    padding: 16px;
  }

  .customer-reorder-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .customer-reorder-row strong {
    white-space: normal;
  }

  .customer-reorder-row button {
    width: 100%;
  }

  .testimonial-card {
    padding: 22px 18px 20px;
  }

  .testimonial-mark {
    top: 6px;
    right: 14px;
    font-size: 70px;
  }

  .testimonial-card blockquote {
    font-size: 15px;
    line-height: 1.58;
  }

  .pricing-rule-grid,
  .more-info-grid {
    grid-template-columns: 1fr;
  }

  .chart-filters {
    width: 100%;
  }

  .chart-filters select,
  .chart-filters button {
    flex: 1;
    min-width: 0;
  }
}
