:root {
  --bg: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #f1f4ec;
  --ink: #18211d;
  --muted: #67716b;
  --line: #dfe5dc;
  --primary: #163f35;
  --primary-2: #21624f;
  --accent: #d84f32;
  --amber: #d69b2d;
  --success: #2f7d50;
  --danger: #9f2f2f;
  --shadow: 0 16px 40px rgba(21, 42, 34, .10);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 79, 50, .10), transparent 28rem),
    linear-gradient(180deg, rgba(251, 252, 248, .78) 0%, rgba(247, 248, 244, .84) 42%, rgba(238, 244, 236, .86) 100%),
    url("/static/hero-food-bg.png") center / cover fixed no-repeat;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

#main-content {
  flex: 1 0 auto;
  width: 100%;
}

a {
  color: var(--primary-2);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.navbar-verde {
  background: rgba(22, 63, 53, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 12px 24px rgba(14, 35, 28, .16);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1000;
}

.navbar-verde .navbar-brand {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0;
}

.navbar-verde .navbar-nav .nav-link,
.navbar-verde .dropdown-toggle,
.navbar-verde .btn-outline-light {
  color: rgba(255, 255, 255, .88) !important;
  border-color: rgba(255, 255, 255, .22);
  font-weight: 600;
}

.navbar-verde .navbar-nav .nav-link:hover,
.navbar-verde .navbar-nav .nav-link:focus,
.navbar-verde .dropdown-toggle:hover,
.navbar-verde .dropdown-toggle:focus,
.navbar-verde .btn-outline-light:hover,
.navbar-verde .btn-outline-light:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, .12) !important;
  border-color: rgba(255, 255, 255, .28) !important;
}

.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1100;
}

.dropdown-item {
  color: var(--ink);
  font-weight: 500;
}

.site-footer {
  align-items: center;
  background: rgba(22, 63, 53, .96);
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .82);
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  flex-shrink: 0;
}

.site-footer span {
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
}

.site-footer a:hover {
  color: #fff;
}

.btn {
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--primary-2) !important;
  border-color: var(--primary-2) !important;
}

.btn-warning,
.btn-warning:active,
.btn-warning:focus {
  background: #f1c56a !important;
  border-color: #f1c56a !important;
  color: #342712 !important;
}

.btn-danger,
.btn-danger:active,
.btn-danger:focus {
  background: var(--danger) !important;
  border-color: var(--danger) !important;
  color: #fff !important;
}

.btn-success,
.btn-success:active,
.btn-success:focus {
  background: var(--success) !important;
  border-color: var(--success) !important;
}

.btn-outline-dark {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.btn-outline-dark:hover {
  background: var(--surface-soft);
  color: var(--ink);
  border-color: #c9d3c6;
}

.badge {
  border-radius: 999px;
  font-weight: 700;
}

.badge.bg-info {
  background: #e8f2ed !important;
  color: var(--primary) !important;
}

.form-label,
label {
  color: var(--ink);
  font-size: .86rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.form-control,
.form-select {
  border: 1px solid #d7dfd4;
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 42px;
  font-weight: 500;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-2);
  box-shadow: 0 0 0 .2rem rgba(33, 98, 79, .18);
}

.surface,
.card,
.modal-content {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.card {
  overflow: hidden;
}

.section-label {
  color: var(--accent);
  display: block;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: .25rem;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 1.15rem;
}

.section-heading h2,
.section-heading h1,
.page-heading h1 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.section-heading h2 {
  font-size: 1.15rem;
}

.section-heading p,
.page-heading p {
  color: var(--muted);
  margin: .35rem 0 0;
}

.page-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.page-heading h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.page-stats {
  align-items: center;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: .75rem;
  padding: .65rem .85rem;
  white-space: nowrap;
}

.page-stats span {
  color: var(--muted);
  font-size: .9rem;
}

.page-stats strong {
  color: var(--primary);
}

/* Landing */
.landing-main {
  overflow: hidden;
}

.landing-hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, .95fr) minmax(300px, .7fr);
  min-height: calc(100vh - 72px);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 5rem) 3rem;
  position: relative;
  isolation: isolate;
}

.hero-food-bg {
  background:
    linear-gradient(90deg, rgba(247, 248, 244, .98) 0%, rgba(247, 248, 244, .92) 38%, rgba(247, 248, 244, .68) 62%, rgba(247, 248, 244, .28) 100%),
    url("/static/hero-food-bg.png") center / cover no-repeat;
  inset: 0;
  position: absolute;
  z-index: -2;
}

.landing-hero::after {
  background: linear-gradient(180deg, transparent 0%, rgba(247, 248, 244, .98) 100%);
  bottom: -1px;
  content: "";
  height: 9rem;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: -1;
}

.landing-copy {
  max-width: 660px;
}

.landing-copy h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  font-weight: 800;
  line-height: .98;
  margin: 0 0 1rem;
}

.landing-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  margin: 0 0 1.5rem;
  max-width: 560px;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.landing-proof {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
  max-width: 660px;
}

.landing-proof span {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(223, 229, 220, .9);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(21, 42, 34, .08);
  color: var(--muted);
  display: grid;
  font-size: .88rem;
  min-height: 78px;
  padding: .85rem;
}

.landing-proof strong {
  color: var(--primary);
  font-size: 1rem;
}

.hero-ticket-stack {
  align-self: end;
  display: grid;
  gap: .85rem;
  justify-self: end;
  max-width: 340px;
  padding-bottom: 2rem;
  width: 100%;
}

.mini-ticket {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 20px 44px rgba(21, 42, 34, .14);
  display: grid;
  gap: .2rem;
  padding: 1rem;
}

.mini-ticket span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.mini-ticket strong {
  color: var(--ink);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.mini-ticket small {
  color: var(--primary);
  font-weight: 800;
}

.ticket-amber {
  border-left-color: var(--amber);
  margin-left: 2rem;
}

.product-showcase {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(280px, .48fr) minmax(0, 1fr);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 6vw, 5rem);
}

.showcase-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
}

.showcase-copy p {
  color: var(--muted);
  line-height: 1.65;
  margin: 1rem 0 0;
}

.landing-preview {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(19, 56, 47, .20);
  overflow: hidden;
}

.landing-preview img {
  aspect-ratio: 16 / 11;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.landing-product-preview {
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(19, 56, 47, .20);
  overflow: hidden;
}

.preview-topbar {
  align-items: center;
  background: var(--primary);
  color: rgba(255, 255, 255, .82);
  display: flex;
  gap: 1rem;
  padding: .85rem 1rem;
}

.preview-topbar strong {
  color: #fff;
  margin-right: auto;
}

.preview-topbar span {
  font-size: .78rem;
  font-weight: 800;
}

.preview-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(240px, 1.05fr) minmax(190px, .8fr);
  padding: .85rem;
}

.preview-panel {
  background: #fbfcf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem;
}

.preview-panel h3 {
  color: var(--ink);
  font-size: .92rem;
  font-weight: 800;
  margin: 0 0 .7rem;
}

.preview-field {
  align-items: center;
  border-bottom: 1px solid #edf1ea;
  color: var(--muted);
  display: flex;
  font-size: .8rem;
  justify-content: space-between;
  padding: .45rem 0;
}

.preview-products {
  display: grid;
  gap: .45rem;
  margin: .7rem 0;
}

.preview-products span,
.preview-products-table div,
.preview-debts div {
  align-items: center;
  background: #fff;
  border: 1px solid #edf1ea;
  border-radius: var(--radius);
  display: flex;
  gap: .6rem;
  justify-content: space-between;
  padding: .55rem;
}

.preview-products b,
.preview-ticket b,
.preview-debts strong,
.preview-products-table strong {
  color: var(--primary);
}

.preview-order button {
  background: var(--primary);
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
  min-height: 40px;
  width: 100%;
}

.preview-active {
  display: grid;
}

.preview-ticket {
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(21, 42, 34, .08);
  display: grid;
  gap: .15rem;
  margin-bottom: .65rem;
  padding: .7rem;
}

.preview-ticket span,
.preview-products-table small {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.preview-debts,
.preview-products-table {
  display: grid;
  gap: .45rem;
}

.landing-features {
  background: var(--primary);
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  padding: 1px;
}

.landing-features article {
  align-items: flex-start;
  background: #193f35;
  display: flex;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.landing-features i {
  color: #f1c56a;
  font-size: 1.35rem;
  margin-top: .2rem;
}

.landing-features h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 .35rem;
}

.landing-features p {
  color: rgba(255, 255, 255, .76);
  margin: 0;
}

/* Auth */
.auth-shell {
  align-items: stretch;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(280px, 480px) minmax(0, 1fr);
  margin: 3rem auto;
  max-width: 980px;
}

.auth-card,
.auth-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.3rem, 3vw, 2rem);
}

.auth-card {
  background: rgba(255, 255, 255, .95);
}

.auth-card h1 {
  font-size: 2rem;
}

.auth-aside {
  background: linear-gradient(135deg, var(--primary), #245d4d);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-aside h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.auth-aside p,
.auth-aside li {
  color: rgba(255, 255, 255, .82);
}

.auth-aside ul {
  display: grid;
  gap: .65rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.auth-aside li {
  align-items: center;
  display: flex;
  gap: .6rem;
  font-weight: 600;
}

.auth-aside i {
  color: #f1c56a;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1rem;
}

.legal-links a {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.legal-page {
  margin: 2rem auto;
  max-width: 880px;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.legal-content {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* Dashboard */
.app-dashboard {
  display: grid;
  gap: 1rem;
}

.order-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
}

.order-form,
.product-picker,
.active-orders,
.product-admin {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.product-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
}

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

.product-category-group {
  display: grid;
  gap: .65rem;
}

.product-category-group h3 {
  color: var(--primary);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.product-tile {
  align-items: center;
  background: #fbfcf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  gap: .7rem;
  margin: 0;
  min-height: 74px;
  padding: .85rem;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.product-tile:hover {
  border-color: rgba(216, 79, 50, .45);
  box-shadow: 0 10px 26px rgba(24, 33, 29, .08);
  transform: translateY(-1px);
}

.product-tile input {
  flex: 0 0 auto;
}

.product-tile span {
  display: grid;
  gap: .15rem;
}

.product-tile strong {
  color: var(--ink);
  line-height: 1.2;
}

.product-tile small {
  color: var(--accent);
  font-weight: 800;
}

.order-submit {
  margin-top: 1rem;
  width: 100%;
}

.order-card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
  height: 100%;
  padding: 1rem;
  transition: box-shadow .18s ease, transform .18s ease;
}

.order-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.order-card-head,
.order-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
}

.order-card-head strong {
  font-size: 1.05rem;
}

.status-chip {
  background: #e9f3ee;
  border-radius: 999px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  padding: .35rem .55rem;
  white-space: nowrap;
}

.order-items {
  margin: .85rem 0;
}

.order-items .list-group-item {
  align-items: center;
  border-color: #edf1ea;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
}

.order-total {
  border-top: 1px solid var(--line);
  padding-top: .75rem;
}

.order-total span {
  color: var(--muted);
  font-weight: 700;
}

.order-total strong {
  color: var(--primary);
  font-size: 1.2rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .9rem;
}

.card-actions form {
  margin: 0;
}

.quick-add {
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(160px, 1fr) minmax(120px, 180px) minmax(140px, 180px) auto;
  margin-bottom: 1rem;
}

.product-tools {
  align-items: center;
  display: grid;
  gap: .75rem;
  grid-template-columns: minmax(220px, 320px) 1fr;
  margin-bottom: 1rem;
}

.search-field {
  align-items: center;
  display: flex;
  margin: 0;
  position: relative;
}

.search-field i {
  color: var(--muted);
  left: .85rem;
  pointer-events: none;
  position: absolute;
}

.search-field .form-control {
  padding-left: 2.45rem;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: flex-end;
}

.category-tab {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 800;
  min-height: 36px;
  padding: .4rem .8rem;
}

.category-tab:hover,
.category-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.product-table {
  margin: 0;
}

.product-table th {
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
}

.product-table td,
.product-table th {
  border-color: var(--line);
}

.product-actions > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.product-actions form {
  margin: 0;
}

.empty-state {
  color: var(--muted);
  margin: 0;
  padding: .5rem 0;
}

/* Settings */
.settings-page {
  max-width: 1180px;
  margin: 0 auto;
}

.settings-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
}

.settings-card {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.settings-alerts {
  display: grid;
  gap: .65rem;
}

.settings-alerts .alert {
  border-radius: var(--radius);
  margin: 0;
}

.printer-status {
  align-items: center;
  background: rgba(233, 243, 238, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: .8rem;
}

.printer-status strong {
  color: var(--primary);
}

.settings-switch {
  background: #fbfcf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: .85rem .85rem .85rem 3rem;
}

.settings-switch .form-check-input {
  margin-top: .15rem;
}

.printer-note {
  background: rgba(241, 197, 106, .18);
  border: 1px solid rgba(214, 155, 45, .32);
  border-radius: var(--radius);
  margin-top: 1rem;
  padding: .9rem;
}

.printer-note strong {
  color: #6b4a0e;
  display: block;
  margin-bottom: .25rem;
}

.printer-note p {
  color: var(--muted);
  margin: 0;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}

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

.plan-grid > div {
  background: #fbfcf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: .2rem;
  padding: .9rem;
}

.plan-grid span,
.api-key-box small {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.plan-grid strong {
  color: var(--primary);
  font-size: 1.2rem;
}

.api-key-box {
  display: grid;
  gap: .4rem;
  margin-bottom: 1rem;
}

.api-key-box code {
  background: rgba(22, 63, 53, .94);
  border-radius: var(--radius);
  color: #fff;
  display: block;
  overflow-x: auto;
  padding: .8rem;
  white-space: nowrap;
}

/* History and debts */
.history-toolbar,
.debt-admin {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.history-date {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-top: .35rem;
}

.debt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.debt-actions form {
  align-items: center;
  display: flex;
  gap: .45rem;
  margin: 0;
}

.debt-actions .form-control {
  min-height: 38px;
  width: 130px;
}

.debt-table td {
  vertical-align: middle;
}

.list-group-item {
  background: transparent;
}

@media (max-width: 991px) {
  .landing-hero,
  .product-showcase,
  .order-layout,
  .settings-grid,
  .auth-shell {
    grid-template-columns: 1fr;
  }

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

  .landing-preview {
    transform: none;
  }

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

  .hero-ticket-stack {
    justify-self: stretch;
    max-width: none;
    padding-bottom: 0;
  }

  .landing-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    background:
      linear-gradient(180deg, rgba(247, 248, 244, .84), rgba(238, 244, 236, .88)),
      url("/static/hero-food-bg.png") center / cover fixed no-repeat;
  }

  #main-content.container {
    padding-left: .85rem;
    padding-right: .85rem;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-stats {
    width: 100%;
    justify-content: space-between;
  }

  .landing-hero {
    padding: 2rem 1rem;
  }

  .hero-food-bg {
    background:
      linear-gradient(180deg, rgba(247, 248, 244, .96) 0%, rgba(247, 248, 244, .9) 55%, rgba(247, 248, 244, .72) 100%),
      url("/static/hero-food-bg.png") center right / cover no-repeat;
  }

  .landing-copy h1 {
    font-size: 2.45rem;
  }

  .landing-proof {
    grid-template-columns: 1fr;
  }

  .ticket-amber {
    margin-left: 0;
  }

  .quick-add {
    grid-template-columns: 1fr;
  }

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

  .category-tabs {
    justify-content: flex-start;
  }

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

  .settings-actions .btn {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-topbar strong {
    margin-right: 0;
  }

  .history-actions .btn,
  .debt-actions,
  .debt-actions form,
  .debt-actions .btn,
  .debt-actions .form-control {
    width: 100%;
  }

  .card-actions .btn {
    width: 100%;
  }

  .card-actions form {
    width: 100%;
  }
}
