:root {
  --ink: #1f1712;
  --muted: #6e625c;
  --line: #ebddd3;
  --paper: #fff9f4;
  --surface: #ffffff;
  --orange: #f15a24;
  --orange-action: #f25c05;
  --orange-dark: #b63f0a;
  --orange-deep: #7c2f08;
  --orange-soft: #fff1e8;
  --orange-line: #ffc7ae;
  --fresh: #2d8a54;
  --fresh-dark: #17683c;
  --sun: #f8c34a;
  --tomato: #d9472f;
  --aqua: #167d8c;
  --shadow: 0 18px 50px rgba(66, 34, 17, 0.12);
  --focus: 0 0 0 4px rgba(242, 92, 5, 0.22);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 241, 232, 0.78), rgba(255, 249, 244, 0) 420px),
    var(--paper);
  color: var(--ink);
}

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

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0;
  border-color: var(--orange-action);
  box-shadow: var(--focus);
}

.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;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 249, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(242, 92, 5, 0.28);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.nav button,
.segmented button,
.admin-nav button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
  background: transparent;
}

.nav button.active,
.segmented button.active,
.admin-nav button.active {
  color: var(--orange-deep);
  background: var(--orange-soft);
  border-color: var(--orange-line);
  box-shadow: 0 8px 22px rgba(242, 92, 5, 0.12);
}

.nav b {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin-left: 6px;
  color: white;
  background: var(--orange-action);
  border-radius: 999px;
  font-size: 12px;
}

main {
  padding-bottom: 56px;
}

.hero {
  position: relative;
  min-height: min(690px, calc(100vh - 74px));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-reimagined img {
  object-position: right center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 26%, rgba(242, 92, 5, 0.18), transparent 26%),
    linear-gradient(90deg, rgba(255, 249, 244, 0.97), rgba(255, 249, 244, 0.72) 42%, rgba(255, 249, 244, 0.1));
}

.hero-reimagined::after {
  background:
    radial-gradient(circle at 16% 22%, rgba(242, 92, 5, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(255, 249, 244, 0.98), rgba(255, 249, 244, 0.74) 43%, rgba(255, 249, 244, 0.1));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
  padding: clamp(32px, 6vw, 84px);
}

.eyebrow,
.category {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 16px;
  font-size: clamp(42px, 5.8vw, 70px);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 730;
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 720;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.hero-copy p {
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions,
.hero-badges,
.hero-proof,
.price-row,
.section-head,
.progress-label,
.quantity,
.deal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.hero-badges {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 22px 0;
}

.hero-badges span {
  border: 1px solid var(--orange-line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--orange-deep);
  background: rgba(255, 241, 232, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.hero-proof {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.hero-proof strong {
  color: var(--ink);
}

.primary,
.secondary,
.link-button,
.danger,
.icon-action,
.toggle {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 800;
}

.primary {
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--orange-action));
  box-shadow: 0 12px 24px rgba(242, 92, 5, 0.22);
}

.primary:hover {
  background: linear-gradient(135deg, var(--orange-action), var(--orange-dark));
  transform: translateY(-1px);
}

.primary:active,
.secondary:active,
.link-button:active,
.icon-action:active {
  transform: translateY(0);
}

.primary:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.secondary,
.link-button {
  color: var(--orange-dark);
  background: white;
  border: 1px solid var(--orange-line);
}

.link-button {
  color: var(--orange-dark);
}

.secondary:hover,
.link-button:hover {
  background: var(--orange-soft);
}

.danger {
  color: #8b1d12;
  background: #ffe8e3;
}

.compact {
  min-height: 38px;
  padding: 8px 12px;
}

.metrics,
.trust-rail,
.bundle-grid,
.product-grid,
.community-grid,
.checkout-layout,
.account-layout,
.admin-shell,
.custom-order,
.section-head,
.page-intro {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.trust-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: -1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
}

.trust-rail article {
  min-height: 106px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.86);
}

.trust-rail strong,
.trust-rail span {
  display: block;
}

.trust-rail strong {
  margin-bottom: 8px;
}

.trust-rail span {
  color: var(--muted);
  line-height: 1.45;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.metrics article,
.bundle-card,
.product-card,
.community-card,
.checkout-panel,
.auth-panel,
.orders-panel,
.custom-order,
.admin-sidebar,
.admin-content,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 33, 27, 0.06);
}

.metrics article {
  position: relative;
  min-height: 126px;
  padding: 22px;
  overflow: hidden;
}

.metrics article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--sun));
}

.metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 760;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.section-head,
.page-intro {
  margin-top: 64px;
  margin-bottom: 18px;
}

.section-head {
  align-items: flex-end;
}

.catalog-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.search-field {
  width: min(320px, 100%);
}

.search-field input {
  min-height: 48px;
  padding-left: 40px;
  background:
    linear-gradient(90deg, rgba(242, 92, 5, 0.1), rgba(242, 92, 5, 0) 44px),
    white;
}

.tight {
  width: 100%;
  margin: 0 0 16px;
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #fff4ec;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.segmented.full button {
  flex: 1;
}

.bundle-grid,
.product-grid,
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.wide {
  grid-column: 1 / -1;
}

.bundle-card,
.product-card,
.community-card {
  position: relative;
  padding: 18px;
  overflow: hidden;
}

.bundle-status {
  display: inline-flex;
  margin: 14px 0 10px;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  background: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
}

.bundle-card::before,
.product-card::before,
.community-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), rgba(248, 195, 74, 0.65));
  opacity: 0;
  transition: opacity 160ms ease;
}

.bundle-card:hover::before,
.product-card:hover::before,
.community-card:hover::before {
  opacity: 1;
}

.bundle-card:hover,
.product-card:hover,
.community-card:hover {
  border-color: var(--orange-line);
  box-shadow: var(--shadow);
}

.bundle-card p,
.product-card p {
  min-height: 48px;
}

.deal-top span,
.deal-top strong,
.bundle-items span {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.deal-top span,
.bundle-items span {
  color: var(--orange-deep);
  background: var(--orange-soft);
}

.deal-top strong {
  color: var(--orange-deep);
  background: #ffe0cf;
}

.bundle-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 68px;
  margin: 16px 0;
}

.progress-label {
  color: var(--muted);
  font-size: 13px;
}

.progress {
  height: 8px;
  margin: 8px 0 18px;
  overflow: hidden;
  background: #f4e6dc;
  border-radius: 999px;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--sun));
}

del {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.product-visual {
  display: grid;
  height: 120px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
}

.product-visual span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--orange-deep), var(--orange-action));
  border-radius: 50%;
  font-weight: 900;
}

.icon-action {
  display: grid;
  width: 44px;
  padding: 0;
  place-items: center;
  color: white;
  background: var(--orange-action);
  font-size: 24px;
}

.icon-action:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.custom-order {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  margin-top: 54px;
  padding: 24px;
}

.request-form,
.checkout-panel form,
.auth-panel {
  display: grid;
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
  color: var(--ink);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--orange-line);
}

textarea {
  min-height: 116px;
  resize: vertical;
}

.page-intro {
  max-width: 820px;
  margin-top: 54px;
  text-align: center;
}

.page-intro h1 {
  max-width: none;
  font-size: clamp(38px, 5vw, 68px);
}

.community-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.community-card dt {
  color: var(--muted);
  font-size: 13px;
}

.community-card dd {
  margin: 2px 0 0;
  font-weight: 900;
}

.checkout-layout,
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto 20px;
}

.checkout-steps span {
  position: relative;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  font-weight: 800;
}

.checkout-steps span.active {
  color: var(--orange-deep);
  background: var(--orange-soft);
  border-color: var(--orange-line);
}

.cart-confidence,
.checkout-promise {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  border-radius: 8px;
}

.cart-confidence span,
.checkout-promise span {
  color: var(--muted);
}

.checkout-promise {
  display: grid;
  margin-bottom: 12px;
}

.momo-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  border-radius: 8px;
}

.momo-code,
.momo-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.momo-code span,
.momo-total span {
  color: var(--muted);
}

.momo-code strong {
  color: var(--orange-deep);
  font-size: 24px;
  letter-spacing: 0;
}

.momo-panel ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.order-review {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 248, 242, 0.92), rgba(255, 255, 255, 0.98));
  border: 1px solid var(--orange-line);
  border-radius: 8px;
}

.order-review > div {
  display: grid;
  gap: 2px;
}

.order-review > div strong {
  font-size: 18px;
}

.order-review p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(242, 92, 5, 0.13);
}

.order-review p span,
.order-review small {
  color: var(--muted);
}

.order-review p strong {
  text-align: right;
  font-size: 14px;
}

.order-review small {
  line-height: 1.5;
}

.cart-list,
.orders-panel {
  display: grid;
  gap: 12px;
}

.cart-item,
.orders-panel article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item p,
.orders-panel small {
  margin: 0;
  color: var(--muted);
}

.cart-item strong {
  white-space: nowrap;
}

.quantity {
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.quantity button {
  width: 38px;
  height: 38px;
  border: 0;
  background: white;
}

.quantity button:hover {
  color: white;
  background: var(--orange-action);
}

.quantity span {
  min-width: 32px;
  text-align: center;
  font-weight: 800;
}

.checkout-panel,
.auth-panel,
.orders-panel {
  padding: 18px;
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  background: var(--orange-soft);
}

.mode-tabs button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
}

.mode-tabs button.active {
  background: var(--surface);
  color: var(--orange-dark);
  box-shadow: 0 5px 18px rgba(66, 34, 17, 0.08);
}

.checkout-panel label,
.auth-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.checkout-panel label input,
.checkout-panel label select,
.auth-panel label input {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}

.summary {
  display: grid;
  gap: 10px;
  padding: 14px 0;
}

.summary div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.summary strong,
.summary .total {
  color: var(--ink);
}

.summary .total {
  padding-top: 10px;
  border-top: 1px solid var(--orange-line);
  font-size: 20px;
}

.empty-state {
  padding: 28px;
  text-align: center;
}

.empty-icon,
.success-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 14px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--orange-action));
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(242, 92, 5, 0.24);
  font-weight: 900;
}

.confirmation {
  display: grid;
  justify-items: center;
  width: min(820px, calc(100% - 32px));
  margin: 64px auto 0;
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 241, 232, 0.88), rgba(255, 255, 255, 0.96)),
    var(--surface);
  border: 1px solid var(--orange-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: rise-in 320ms ease both;
}

.confirmation h1 {
  max-width: none;
  font-size: clamp(38px, 6vw, 66px);
}

.confirmation p {
  max-width: 58ch;
}

.confirmation-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: 10px;
  margin: 20px 0 24px;
}

.confirmation-card div {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.confirmation-card span,
.confirmation-card strong {
  display: block;
}

.confirmation-card span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.success-mark {
  animation: pop-in 360ms ease both;
}

.confirmation-note {
  display: grid;
  gap: 4px;
  width: 100%;
  margin: -4px 0 24px;
  padding: 14px;
  color: var(--orange-deep);
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  border-radius: 8px;
}

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

.admin-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.admin-sidebar,
.admin-content {
  padding: 18px;
}

.admin-sidebar {
  position: sticky;
  top: 92px;
}

.admin-sidebar h1 {
  max-width: none;
  font-size: 34px;
}

.admin-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
}

.admin-kpis article {
  padding: 12px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  border-radius: 8px;
}

.admin-kpis strong,
.admin-kpis span {
  display: block;
}

.admin-kpis strong {
  font-size: 24px;
}

.admin-kpis span {
  color: var(--muted);
  font-size: 12px;
}

.admin-nav {
  display: grid;
  gap: 6px;
  margin: 20px 0;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.ops-grid article {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

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

.ops-grid span {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.ops-grid strong {
  color: var(--ink);
  font-size: 24px;
}

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

.admin-split h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.compact-list article {
  min-height: auto;
}

.admin-table article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-review-table .admin-order-card {
  align-items: stretch;
  flex-direction: column;
}

.admin-order-main,
.payment-review,
.payment-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.payment-review {
  align-items: stretch;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.lifecycle-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 10px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lifecycle-strip span {
  min-height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.lifecycle-strip span.active {
  color: var(--orange-deep);
  background: var(--orange-soft);
  border-color: var(--orange-line);
}

.payment-review > div,
.payment-review label {
  flex: 1;
}

.payment-review span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.payment-review textarea {
  min-height: 92px;
}

.payment-thumb {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 92px;
  padding: 10px;
  color: var(--orange-deep);
  text-decoration: none;
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  border-radius: 8px;
}

.payment-thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.payment-actions {
  align-self: end;
  justify-content: flex-end;
}

.admin-table small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.admin-table select {
  width: auto;
  min-width: 160px;
}

.toggle {
  color: #6e4a00;
  background: #fff1cf;
}

.toggle.on {
  color: var(--orange-deep);
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  transform: translateY(20px);
  padding: 12px 16px;
  color: white;
  background: var(--orange-deep);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop-in {
  0% {
    opacity: 0;
    transform: scale(0.76);
  }

  72% {
    transform: scale(1.06);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    background:
      radial-gradient(circle at 20% 16%, rgba(242, 92, 5, 0.18), transparent 28%),
      linear-gradient(180deg, rgba(255, 249, 244, 0.98), rgba(255, 249, 244, 0.66));
  }

  .metrics,
  .trust-rail,
  .bundle-grid,
  .product-grid,
  .community-grid,
  .custom-order,
  .checkout-layout,
  .account-layout,
  .admin-shell,
  .ops-grid,
  .admin-split {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-tools {
    width: 100%;
    align-items: stretch;
    justify-content: stretch;
  }

  .catalog-tools .segmented,
  .search-field {
    width: 100%;
  }

  .checkout-steps,
  .confirmation-card,
  .lifecycle-strip {
    grid-template-columns: 1fr;
  }

  .payment-review,
  .admin-order-main,
  .payment-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .hero-copy {
    padding: 28px 16px;
  }

  h1,
  .page-intro h1 {
    font-size: 42px;
  }

  .nav {
    width: 100%;
  }

  .nav button {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 4px;
    font-size: 13px;
  }

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

  .trust-rail article {
    min-height: auto;
  }

  .cart-item,
  .cart-confidence,
  .admin-table article {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions,
  .hero-actions button {
    width: 100%;
  }

  .primary,
  .secondary,
  .link-button,
  .danger {
    min-height: 48px;
  }
}
