:root {
  --ink: #141824;
  --muted: #697281;
  --line: #e8ebf1;
  --surface: #ffffff;
  --page: #fbfbfd;
  --soft: #f5f7fb;
  --accent: #151515;
  --chip: #eff1f4;
  --success: #2b8a5d;
  --danger: #b42318;
  --shadow: 0 24px 80px rgba(20, 24, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4,
p,
dl,
dd,
dt,
ul {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.15rem clamp(1.25rem, 3vw, 3rem);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(232, 235, 241, 0.95);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: grid;
  gap: 0.05rem;
}

.brand-mark {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.brand-mark span {
  font-weight: 500;
}

.brand-subtitle {
  margin-left: 0.15rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.site-nav a {
  color: #2f3542;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-pill,
.cart-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #334155;
  font-size: 0.92rem;
  font-weight: 700;
}

.cart-pill {
  gap: 0.55rem;
  cursor: pointer;
}

.cart-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  min-height: 1.8rem;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.8rem;
}

.hero-shell,
.feature-band,
.catalog-shell,
.partner-band,
.order-shell,
.site-footer,
.admin-shell {
  width: min(1280px, calc(100vw - 2rem));
  margin: 0 auto;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 1fr);
  align-items: stretch;
  min-height: calc(100vh - 88px);
  padding: clamp(2rem, 5vw, 4.5rem) 0 2rem;
}

.hero-copy-block,
.hero-visual,
.feature-copy,
.feature-visual {
  min-height: 100%;
}

.hero-copy-block {
  display: grid;
  align-content: center;
  gap: 1.35rem;
  padding: clamp(1rem, 3vw, 2rem) clamp(0.25rem, 1.5vw, 1rem) clamp(1rem, 3vw, 2rem) 0;
}

.eyebrow {
  color: #7f87b7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
}

.hero-copy,
.section-copy,
.feature-copy p,
.partner-copy p,
.order-copy p,
.site-footer p,
.meta-grid dd,
.order-card label,
.result,
.error,
.empty-state,
.summary-note,
.empty-cart p {
  color: var(--muted);
  line-height: 1.55;
}

.hero-copy {
  max-width: 37rem;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.primary,
.ghost,
.secondary,
.hero-button,
.compact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.compact-button {
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
}

.primary {
  background: #111111;
  color: white;
}

.ghost,
.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 40rem;
}

.hero-metrics div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-metrics dt {
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin-top: 0.35rem;
  color: var(--muted);
}

.hero-visual,
.feature-visual {
  display: grid;
  place-items: center;
}

.hero-stage,
.feature-visual {
  position: relative;
  overflow: hidden;
}

.hero-stage {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 720px;
}

.stage-lilac {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #f5f3ff 0%, #eef4ff 58%, #f7f8fc 100%);
}

.stage-ivory {
  background: linear-gradient(135deg, #fbf8ff 0%, #fafcff 52%, #fffdf6 100%);
  min-height: 520px;
  border-radius: 28px;
}

.stage-rose {
  background: linear-gradient(180deg, #f6f1ff, #eddcf0);
}

.stage-mint {
  background: linear-gradient(180deg, #eef8f0, #dfeee4);
}

.stage-sky {
  background: linear-gradient(180deg, #eef5ff, #dfe8f7);
}

.stage-yellow {
  background: linear-gradient(180deg, #fffbe5, #ece7bd);
}

.vial,
.vial-card {
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.35rem;
  width: 220px;
  height: 310px;
  padding: 2rem 1.4rem 1.45rem;
  border-radius: 32px 32px 26px 26px;
  color: #24324b;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45)),
    linear-gradient(180deg, var(--vial-top), var(--vial-bottom));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 -25px 40px rgba(255, 255, 255, 0.18),
    0 35px 65px rgba(59, 76, 116, 0.18);
  transform-origin: 50% 100%;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.vial::before,
.vial-card::before {
  content: "";
  position: absolute;
  inset: -24px 28px auto;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7f7f7, #c8ced8 68%, #eef2f7);
  box-shadow:
    inset 0 -10px 14px rgba(72, 80, 95, 0.18),
    0 12px 18px rgba(64, 76, 98, 0.14);
}

.vial::after,
.vial-card::after {
  content: "";
  position: absolute;
  inset: 18px auto 18px 18px;
  width: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.06));
}

.vial strong,
.vial-card strong {
  font-size: 2.05rem;
  line-height: 0.98;
}

.vial small,
.vial-card small {
  font-size: 0.9rem;
  color: rgba(36, 50, 75, 0.76);
}

.vial-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 1.8rem;
  padding: 0.2rem 0.75rem;
  border: 1px solid rgba(88, 112, 154, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: rgba(63, 87, 124, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.vial-large {
  transform: translate(18px, 18px) rotate(-18deg);
}

.vial-medium {
  transform: rotate(-8deg);
}

.vial-small {
  position: absolute;
  width: 140px;
  height: 205px;
  padding: 1.35rem 0.95rem 1rem;
  border-radius: 24px 24px 18px 18px;
}

.vial-small strong {
  font-size: 1.4rem;
}

.vial-small:nth-of-type(2) {
  right: 14%;
  top: 18%;
  transform: rotate(11deg);
}

.vial-small:nth-of-type(3) {
  right: 6%;
  bottom: 12%;
  transform: rotate(9deg);
}

.hero-bounce .vial-large.is-active {
  animation: heroKick 520ms ease;
}

.hero-bounce .hero-secondary-vial.is-active:nth-of-type(2) {
  animation: heroTiltRight 520ms ease;
}

.hero-bounce .hero-secondary-vial.is-active:nth-of-type(3) {
  animation: heroTiltLeft 520ms ease;
}

.hero-bounce .detail-vial.is-active,
.hero-bounce .modal-vial.is-active {
  animation: detailSwing 620ms ease;
}

.vial-rose {
  --vial-top: #ffe9f0;
  --vial-bottom: #efcddc;
}

.vial-mint {
  --vial-top: #f0f9ef;
  --vial-bottom: #d9edd7;
}

.vial-sky {
  --vial-top: #edf5ff;
  --vial-bottom: #d9e8fa;
}

.vial-yellow {
  --vial-top: #fffadd;
  --vial-bottom: #ece7b6;
}

.vial-lilac {
  --vial-top: #f2eeff;
  --vial-bottom: #dfdaf6;
}

.feature-band,
.partner-band,
.catalog-shell,
.order-shell {
  padding: 2rem 0 0;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.feature-copy,
.partner-copy,
.order-copy {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0;
}

.feature-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.feature-list li::before {
  content: "•";
  margin-right: 0.65rem;
  color: #7f87b7;
}

.catalog-shell {
  padding-top: 4.25rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.72fr);
  gap: 1.5rem;
  align-items: start;
  padding-top: 1.75rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.catalog-actions {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.search-field,
.sort-field {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

.search-field input,
.sort-field select,
.admin-key input,
.tune-form input,
.tune-form textarea {
  width: 100%;
  min-height: 3.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0.95rem 1.15rem;
  color: var(--ink);
  background: white;
}

.tune-form textarea {
  min-height: 7rem;
  resize: vertical;
  border-radius: 20px;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.75rem;
}

.chip,
.lane-chip,
.modal-lane {
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--chip);
  color: #48505c;
  font-weight: 600;
  cursor: pointer;
}

.chip.active,
.lane-chip.active,
.modal-lane.active {
  background: #181818;
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  display: grid;
  gap: 0.9rem;
}

.product-card.selected .product-card-button {
  box-shadow: 0 0 0 2px rgba(21, 21, 21, 0.08), var(--shadow);
}

.product-card-button {
  display: grid;
  gap: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: transform 240ms ease;
}

.product-card-button:hover {
  transform: translateY(-6px);
}

.product-card-button:hover .vial-card,
.product-card.selected .vial-card {
  transform: translateY(-10px) rotate(-5deg);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 -25px 40px rgba(255, 255, 255, 0.18),
    0 42px 72px rgba(59, 76, 116, 0.22);
}

.vial-card.is-active {
  transform: translateY(-8px) rotate(-4deg);
}

.product-art {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 26px 26px 0 0;
}

.product-art .vial-card {
  width: 205px;
  height: 288px;
}

.product-body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 0.15rem 0;
}

.product-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.product-head h3 {
  font-size: 1.85rem;
  line-height: 1;
}

.product-head p,
.product-description,
.product-meta {
  color: var(--muted);
}

.product-head strong {
  white-space: nowrap;
  font-size: 1.35rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-meta span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--soft);
  font-size: 0.82rem;
}

.lane-selector,
.product-actions,
.modal-lanes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-actions .compact-button {
  flex: 1 1 0;
}

.detail-panel {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.detail-stage {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 1.25rem;
}

.detail-vial {
  width: 230px;
  height: 320px;
}

.detail-copy {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.detail-copy h3 {
  font-size: 2rem;
  line-height: 1;
}

.detail-description,
.detail-summary,
.modal-description {
  color: var(--muted);
  line-height: 1.55;
}

.detail-price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.detail-label {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-price-row strong {
  font-size: 1.35rem;
}

.detail-facts {
  display: grid;
  gap: 0.8rem;
}

.detail-facts div {
  display: grid;
  gap: 0.18rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.detail-facts dt,
.meta-grid dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.partner-band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.lane-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lane-card,
.panel,
.order-card,
.cart-item {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.lane-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem;
}

.lane-card.active {
  border-color: rgba(127, 135, 183, 0.35);
}

.lane-card span {
  color: #7f87b7;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lane-card h3 {
  font-size: 1.6rem;
}

.lane-card dl,
.meta-grid {
  display: grid;
  gap: 0.8rem;
}

.lane-card dl div,
.meta-grid div {
  display: grid;
  gap: 0.2rem;
}

.order-shell {
  padding-bottom: 4rem;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.7fr);
  gap: 1.5rem;
  align-items: start;
}

.panel {
  padding: 1.4rem;
}

.order-list {
  display: grid;
  gap: 1rem;
}

.order-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.empty-cart {
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: var(--soft);
}

.cart-item {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.cart-item-head,
.cart-item-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cart-item-head h3 {
  font-size: 1.45rem;
}

.cart-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cart-item-meta span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quantity-controls button,
.remove-button,
.modal-close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quantity-controls button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--soft);
  font-size: 1.1rem;
}

.remove-button {
  color: var(--danger);
  font-weight: 700;
}

.summary-totals {
  display: grid;
  gap: 1rem;
  padding-top: 0.6rem;
}

.summary-totals div {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.summary-totals span,
.summary-points {
  color: var(--muted);
}

.summary-totals strong {
  font-size: 1.25rem;
}

.summary-points {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.15rem;
}

.checkout-button {
  width: 100%;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.modal-shell.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 36, 0.48);
  backdrop-filter: blur(8px);
}

.product-modal {
  position: relative;
  width: min(980px, calc(100vw - 2rem));
  margin: min(6vh, 3rem) auto;
  border-radius: 30px;
  background: white;
  box-shadow: 0 40px 120px rgba(20, 24, 36, 0.28);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
}

.modal-stage {
  display: grid;
  place-items: center;
  min-height: 540px;
  padding: 2rem;
}

.modal-vial {
  width: 260px;
  height: 360px;
}

.modal-copy {
  display: grid;
  gap: 1.2rem;
  padding: 2rem;
}

.modal-lane {
  display: grid;
  gap: 0.2rem;
  justify-items: start;
  border-radius: 22px;
  min-height: auto;
  text-align: left;
}

.modal-lane small {
  color: inherit;
}

.modal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.modal-meta div {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.modal-meta span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2rem 0;
}

.error {
  color: var(--danger);
}

@keyframes heroKick {
  0% {
    transform: translate(18px, 18px) rotate(-18deg);
  }
  40% {
    transform: translate(18px, 8px) rotate(-11deg);
  }
  100% {
    transform: translate(18px, 18px) rotate(-18deg);
  }
}

@keyframes heroTiltRight {
  0% {
    transform: rotate(11deg);
  }
  50% {
    transform: rotate(18deg) translateY(-8px);
  }
  100% {
    transform: rotate(11deg);
  }
}

@keyframes heroTiltLeft {
  0% {
    transform: rotate(9deg);
  }
  50% {
    transform: rotate(2deg) translateY(-6px);
  }
  100% {
    transform: rotate(9deg);
  }
}

@keyframes detailSwing {
  0% {
    transform: translateY(-8px) rotate(-4deg);
  }
  35% {
    transform: translateY(-18px) rotate(5deg);
  }
  70% {
    transform: translateY(-10px) rotate(-7deg);
  }
  100% {
    transform: translateY(-8px) rotate(-4deg);
  }
}

@media (max-width: 1080px) {
  .site-header,
  .section-heading,
  .catalog-actions,
  .hero-shell,
  .feature-band,
  .catalog-layout,
  .partner-band,
  .order-layout,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    gap: 1rem;
  }

  .site-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-stage {
    min-height: 540px;
  }

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

  .detail-panel {
    position: static;
  }

  .modal-stage {
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero-shell,
  .feature-band,
  .catalog-shell,
  .partner-band,
  .order-shell,
  .site-footer,
  .topbar,
  .layout.admin-layout {
    width: min(100vw - 1rem, 100%);
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .product-grid,
  .lane-grid,
  .site-footer,
  .modal-meta {
    grid-template-columns: 1fr;
  }

  .catalog-actions,
  .detail-actions,
  .cart-item-head,
  .cart-item-foot,
  .order-list-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stage {
    min-height: 420px;
  }

  .vial-large {
    width: 180px;
    height: 265px;
  }

  .vial-small {
    width: 110px;
    height: 170px;
  }

  .product-modal {
    width: min(100vw - 1rem, 100%);
    margin: 0.5rem auto;
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1100px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 2rem 0 1rem;
}

.topbar h1 {
  max-width: none;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.hero-copy.admin-copy {
  max-width: 54rem;
}

.layout.admin-layout {
  width: min(1100px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.panel-heading {
  margin-bottom: 1rem;
}

.admin-key {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.admin-key label,
.tune-form label {
  display: grid;
  gap: 0.45rem;
  color: #344155;
  font-size: 0.92rem;
  font-weight: 600;
}

.orders-list {
  display: grid;
  gap: 1rem;
}

.order-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.tune-form {
  display: grid;
  gap: 1rem;
}
