:root {
  --bg: #08141f;
  --bg-soft: rgba(11, 30, 44, 0.74);
  --panel: rgba(9, 24, 37, 0.76);
  --panel-strong: rgba(11, 29, 44, 0.92);
  --panel-border: rgba(125, 180, 209, 0.16);
  --line: rgba(150, 196, 221, 0.14);
  --text: #f6f4eb;
  --muted: #a9bcc8;
  --accent: #ff8a3d;
  --accent-soft: rgba(255, 138, 61, 0.18);
  --secondary: #59c3c3;
  --secondary-soft: rgba(89, 195, 195, 0.18);
  --danger: #ff7272;
  --danger-soft: rgba(255, 114, 114, 0.16);
  --warning: #f6c267;
  --warning-soft: rgba(246, 194, 103, 0.16);
  --success: #71d99e;
  --success-soft: rgba(113, 217, 158, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(89, 195, 195, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 138, 61, 0.16), transparent 32%),
    linear-gradient(160deg, #04111b 0%, #091924 46%, #112433 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  position: relative;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  border: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.ambient {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.ambient-one {
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(89, 195, 195, 0.28), transparent 70%);
}

.ambient-two {
  right: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.26), transparent 72%);
}

.page-shell {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 32px 0 56px;
  position: relative;
  z-index: 1;
}

.hero,
.data-panel,
.panel-card,
.metric-card,
.login-card,
.modal-dialog,
.empty-card,
.notice-card {
  background: linear-gradient(180deg, rgba(15, 35, 51, 0.88), rgba(9, 21, 32, 0.82));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero {
  border-radius: 36px;
  padding: 42px;
}

.hero-store {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 420px);
  gap: 28px;
}

.return-hero {
  max-width: 900px;
  margin: 0 auto;
}

.return-card {
  padding: 8px;
}

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

.return-meta > div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.return-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.return-meta strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  word-break: break-all;
}

.hero-copy h1,
.dashboard-head h1,
.section-heading h2,
.panel-heading h2,
.login-card h1,
.modal-head h3 {
  margin: 10px 0 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  line-height: 1.02;
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.panel-heading p,
.dashboard-head p,
.login-card p,
.notice-card p,
.page-footer p,
.product-description {
  color: var(--muted);
  line-height: 1.72;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero-actions,
.dashboard-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.dashboard-actions {
  justify-content: flex-end;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ff9f5f, #ff7f34);
  color: #1e1007;
  box-shadow: 0 18px 40px rgba(255, 138, 61, 0.28);
}

.btn-secondary {
  background: rgba(12, 34, 49, 0.78);
  color: var(--text);
  border: 1px solid rgba(125, 180, 209, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panel,
.stats-grid,
.overview-grid,
.catalog-grid,
.split-layout {
  display: grid;
  gap: 18px;
}

.spotlight,
.metric-card,
.page-footer,
.helper-panel {
  border-radius: var(--radius-lg);
}

.spotlight,
.metric-card,
.helper-panel {
  padding: 22px;
}

.panel-label,
.metric-card span,
.order-summary span {
  color: var(--muted);
  font-size: 0.92rem;
}

.spotlight strong,
.metric-card strong,
.accent-price,
.product-price {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-weight: 700;
}

.spotlight strong,
.accent-price {
  font-size: 1.65rem;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-card {
  min-height: 118px;
}

.metric-card strong {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  box-shadow: 0 0 18px rgba(89, 195, 195, 0.45);
}

.section-block {
  margin-top: 28px;
}

.section-heading,
.panel-heading,
.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section-badge,
.status-chip,
.stock-pill,
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.section-badge,
.meta-chip {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-grid {
  grid-template-columns: 1fr;
  margin-top: 18px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.product-card,
.empty-card {
  border-radius: var(--radius-xl);
  padding: 24px;
  min-height: 320px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.product-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 320px);
  gap: 24px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.product-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.18), transparent 68%);
}

.product-card h3,
.empty-card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.product-meta,
.order-summary,
.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.buy-hint {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffe3ca;
  font-size: 0.9rem;
}

.product-price {
  font-size: 2rem;
  color: #ffd3aa;
}

.product-buybox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 138, 61, 0.15), rgba(255, 138, 61, 0.05));
  border: 1px solid rgba(255, 159, 95, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.buybox-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-buy-button {
  min-height: 54px;
  font-size: 1.02rem;
  font-weight: 700;
}

.stock-pill {
  width: fit-content;
}

.stock-up {
  background: var(--success-soft);
  color: var(--success);
}

.stock-down {
  background: var(--danger-soft);
  color: var(--danger);
}

.empty-card {
  display: grid;
  place-content: center;
  text-align: center;
}

.purchase-tip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.purchase-tip strong {
  color: var(--text);
}

.lookup-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 320px);
  gap: 18px;
  max-width: 980px;
  margin: 18px auto 0;
}

.lookup-form,
.lookup-note,
.lookup-empty,
.lookup-record-card,
.lookup-results-head {
  background: linear-gradient(180deg, rgba(15, 35, 51, 0.88), rgba(9, 21, 32, 0.82));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  border-radius: 24px;
}

.lookup-form,
.lookup-note,
.lookup-empty,
.lookup-results-head {
  padding: 22px;
}

.lookup-form {
  display: grid;
  gap: 18px;
}

.lookup-form .field,
.lookup-code-row .field {
  margin-top: 0;
}

.lookup-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: end;
}

.lookup-code-field {
  margin-top: 0;
}

.lookup-send-button,
.lookup-actions .btn {
  width: 100%;
}

.lookup-send-button {
  min-height: 54px;
}

.lookup-actions {
  margin-top: 10px;
  padding-top: 10px;
}

.lookup-note strong,
.lookup-results-head strong {
  display: block;
  margin-bottom: 8px;
}

.lookup-note p,
.lookup-empty p,
.lookup-results-head span {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.lookup-results {
  max-width: 980px;
  margin: 18px auto 0;
  display: grid;
  gap: 16px;
}

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

.lookup-record-card {
  padding: 22px;
}

.lookup-record-top,
.lookup-record-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.lookup-record-top h3,
.lookup-empty h3 {
  margin: 0;
  font-size: 1.3rem;
}

.lookup-trade-no {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: "Space Grotesk", monospace;
  font-size: 0.92rem;
  word-break: break-all;
}

.lookup-record-meta {
  margin-top: 18px;
}

.lookup-record-meta > div {
  min-width: 180px;
  flex: 1 1 180px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lookup-record-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.lookup-record-meta strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
}

.lookup-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.lookup-status-success {
  background: var(--success-soft);
  color: var(--success);
}

.lookup-status-pending {
  background: var(--warning-soft);
  color: var(--warning);
}

.skeleton-card {
  min-height: 280px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(15, 35, 51, 0.88), rgba(9, 21, 32, 0.82));
  background-size: 240px 100%, auto;
  animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer {
  from {
    background-position: -240px 0, 0 0;
  }
  to {
    background-position: calc(100% + 240px) 0, 0 0;
  }
}

.page-footer {
  margin-top: 28px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.page-footer a {
  color: var(--secondary);
}

.toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 10px;
  z-index: 50;
}

.toast {
  min-width: 220px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(4, 17, 27, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: toast-in 0.22s ease;
}

.toast.success {
  border-color: rgba(113, 217, 158, 0.28);
}

.toast.error {
  border-color: rgba(255, 114, 114, 0.34);
}

.toast-out {
  animation: toast-out 0.22s ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(12px);
  }
}

.modal-shell {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 10, 16, 0.68);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 60;
}

.modal-shell.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: min(620px, 100%);
  max-height: min(88vh, 920px);
  overflow-y: auto;
  border-radius: 30px;
  padding: 20px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s ease;
}

.modal-shell.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.purchase-modal .modal-actions {
  margin-top: 18px;
}

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

.summary-item {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-item span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.order-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.4;
}

.summary-item-total strong {
  font-size: 1.18rem;
}

.purchase-inline-note,
.notice-card {
  margin-top: 14px;
}

.purchase-inline-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.purchase-inline-note span {
  color: var(--muted);
  font-size: 0.88rem;
}

.purchase-inline-note strong {
  font-size: 0.96rem;
  text-align: right;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.field span {
  color: var(--muted);
}

.field-help {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 220px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(255, 159, 95, 0.56);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.notice-card {
  border-radius: 20px;
  padding: 14px 16px;
}

.notice-card strong {
  display: block;
  margin-bottom: 6px;
}

.admin-shell {
  padding-top: 48px;
}

.login-panel-wrap {
  min-height: calc(100vh - 104px);
  display: grid;
  place-items: center;
}

.login-card {
  width: min(520px, 100%);
  border-radius: 34px;
  padding: 36px;
  display: grid;
  gap: 20px;
}

.login-card .field {
  margin-top: 0;
}

.login-actions {
  padding-top: 6px;
}

.login-actions .btn {
  width: 100%;
  min-height: 56px;
  font-size: 1.08rem;
}

.dashboard {
  display: grid;
  gap: 20px;
}

.overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tab-button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid transparent;
}

.tab-button.active {
  color: #1b120a;
  background: linear-gradient(135deg, #ffd8b8, #ffaf71);
  box-shadow: 0 12px 28px rgba(255, 138, 61, 0.22);
}

.tab-panel {
  display: none;
  gap: 18px;
}

.tab-panel.active {
  display: grid;
}

.compact {
  align-items: start;
}

.split-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
}

.form-panel {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.helper-panel h3 {
  margin: 10px 0 12px;
  font-size: 1.45rem;
}

.compact-list {
  gap: 12px;
}

.data-panel {
  padding: 12px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.data-table th,
.data-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.mono-cell {
  font-family: "Space Grotesk", monospace;
  font-size: 0.9rem;
  word-break: break-all;
}

.price-cell {
  color: #ffd3aa;
  font-weight: 700;
}

.success-cell {
  color: var(--success);
  font-weight: 700;
}

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

.warning-cell {
  color: var(--warning);
  font-weight: 700;
}

.empty-row {
  text-align: center;
  color: var(--muted);
  padding: 34px 16px !important;
}

.table-action-button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-action-button:hover {
  background: rgba(255, 159, 95, 0.16);
  border-color: rgba(255, 159, 95, 0.28);
}

.table-actions-cell {
  min-width: 320px;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.table-action-active {
  background: rgba(113, 217, 158, 0.16);
  border-color: rgba(113, 217, 158, 0.26);
  color: var(--success);
}

.table-action-warn {
  background: rgba(246, 194, 103, 0.16);
  border-color: rgba(246, 194, 103, 0.26);
  color: var(--warning);
}

.table-action-danger {
  background: rgba(255, 114, 114, 0.16);
  border-color: rgba(255, 114, 114, 0.26);
  color: var(--danger);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.status-pill-sale {
  background: rgba(113, 217, 158, 0.16);
  color: var(--success);
}

.status-pill-soldout {
  background: rgba(246, 194, 103, 0.16);
  color: var(--warning);
}

.status-pill-off {
  background: rgba(255, 114, 114, 0.16);
  color: var(--danger);
}

.status-chip {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .hero-store,
  .overview-grid,
  .split-layout,
  .order-summary,
  .return-meta {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-shell {
    width: min(100vw - 24px, 100%);
    padding: 18px 0 40px;
  }

  .hero,
  .login-card,
  .modal-dialog {
    padding: 18px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-actions,
  .dashboard-actions,
  .modal-actions,
  .panel-heading,
  .section-heading,
  .dashboard-head,
  .product-footer,
  .page-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-card-body {
    grid-template-columns: 1fr;
  }

  .product-buybox {
    padding: 18px;
  }

  .lookup-panel,
  .lookup-code-row {
    grid-template-columns: 1fr;
  }

  .purchase-inline-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .data-panel {
    overflow-x: auto;
  }

  .toast-container {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .toast {
    max-width: none;
  }
}
