/* Kirana Sahiya v3 — charcoal and warm orange palette. */
:root {
  --primary: #be4f0c;
  --primary-dark: #963c08;
  --accent-light: #ffdcc5;
  --surface: #fff8f3;
  --ink: #393939;
  --muted: #71675f;
  --line: #ebded5;
}
body {
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}
a {
  color: #be4f0c;
}
button,
.button {
  background: #be4f0c;
  color: #fff;
  border-radius: 12px;
  font-weight: 750;
  min-height: 46px;
  transition: background 0.15s, box-shadow 0.15s;
}
button:hover,
.button:hover {
  background: #963c08;
  color: #fff;
  box-shadow: 0 4px 12px #be4f0c17;
}
.secondary,
.button.secondary {
  background: #fff;
  color: #be4f0c;
  border: 1px solid #e1d7d1;
}
.secondary:hover,
.button.secondary:hover {
  background: #f6eee9;
  color: #963c08;
}
.link-button {
  background: transparent;
  color: #be4f0c;
  box-shadow: none;
}
.link-button:hover {
  background: transparent;
  color: #963c08;
  box-shadow: none;
}
input,
select,
textarea {
  border-color: #e3dcd7;
  border-radius: 11px;
  min-height: 48px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #e6d3c7;
  outline-offset: 1px;
  border-color: #9c8c82;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #a7988f;
  outline-offset: 3px;
}
.brandmark {
  background: #ffdcc5;
  color: #be4f0c;
  border-radius: 15px;
}
.sidebar {
  border-color: var(--line);
  background: #fff;
}
.sidebar .brand {
  padding-bottom: 21px;
}
.sidebar nav a {
  border-radius: 12px;
  color: #7a6a60;
  min-height: 48px;
}
.sidebar nav a.selected {
  background: #f5eee9;
  color: #be4f0c;
  box-shadow: inset 3px 0 #ff5a09;
}
.sidebar nav a:hover {
  background: #f7f2ee;
  color: #be4f0c;
}
.sidebar-profile {
  color: #be4f0c;
}
.sidebar-bottom .badge {
  background: #f5f0ec;
  color: #6e6966;
}
.topbar {
  background: #ffffffed;
  border-color: var(--line);
  backdrop-filter: blur(14px);
}
.topbar-brand strong {
  font-size: 16px;
  color: #393939;
}
.icon-button {
  background: #f5ede8;
  color: #be4f0c;
}
.icon-button:hover {
  background: #eedfd6;
  color: #be4f0c;
}
.hero {
  background: linear-gradient(120deg, #393939, #57504a);
  border-radius: 22px;
  box-shadow: 0 15px 35px #403d3b10;
}
.hero h2 {
  letter-spacing: -1.1px;
}
.hero p {
  color: #ebe1db;
}
.hero .eyebrow {
  color: #ffdcc5;
}
.hero .light {
  background: #ffdcc5;
  color: #393939;
}
.hero .light:hover {
  background: #f7e5d9;
  color: #393939;
}
.hero .ghost {
  border-color: #aea097;
  color: white;
}
.hero-summary {
  background: #ffffff0b;
  border-color: #ffffff29;
  border-radius: 15px;
}
.hero-summary a {
  color: #ffdcc5;
}
.stats {
  gap: 16px;
}
.stats article {
  border-radius: 17px;
  border-color: var(--line);
  box-shadow: 0 4px 18px #403d3b04;
}
.stats article:before {
  background: #ff5a09;
  width: 4px;
}
.stats strong {
  color: #be4f0c;
  font-size: 30px;
}
.stats article span {
  color: #837267;
}
.panel {
  border-radius: 18px;
  border-color: var(--line);
  box-shadow: 0 5px 20px #403d3b04;
}
.page-heading h1 {
  font-size: 30px;
  letter-spacing: -0.8px;
}
.eyebrow {
  color: #8f7d71;
  letter-spacing: 1.8px;
}
.tabs {
  background: #f0e9e4;
  border-radius: 13px;
}
.tabs a {
  color: #7d6d63;
}
.tabs a.selected {
  background: #be4f0c;
  box-shadow: 0 3px 8px #be4f0c1a;
}
.date-chip {
  border-color: var(--line);
  color: #857469;
}
.balance-chip,
.shop-intro .balance-chip {
  background: #f5ece6;
  color: #be4f0c;
  border: 1px solid #e9ddd5;
  border-radius: 16px;
}
.shop-intro h2 {
  font-size: 31px;
  letter-spacing: -1px;
}
.searchbar {
  gap: 10px;
}
.searchbar input,
.searchbar select {
  background: white;
}
.product-grid {
  gap: 17px;
}
.product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 3px 12px #403d3b04;
  background: #fff;
}
.product:hover {
  border-color: #d5c0b2;
  box-shadow: 0 8px 20px #403d3b09;
}
.product-art {
  border-radius: 13px;
  background: #f8f8f0;
  overflow: hidden;
  aspect-ratio: 1;
  height: auto;
}
.product-art > .grocery-image,
.product-art > .product-photo {
  height: 100%;
  width: 100%;
  object-fit: contain;
  aspect-ratio: 1;
}
.product-category {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8d7b6f;
  margin-top: 4px;
}
.product h3 {
  font-size: 15px;
  line-height: 1.4;
  min-height: 2.8em;
  margin: 6px 0;
}
.product p {
  margin: 0 0 5px;
  font-size: 14px;
}
.product p strong {
  font-size: 20px;
  color: #393939;
}
.product > small {
  font-size: 11px;
  color: #89776c;
}
.product-controls {
  display: flex;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
  align-items: center;
}
.product-controls input {
  min-width: 0;
  width: 64px;
  min-height: 44px;
  font-size: 15px;
  text-align: center;
  padding: 7px;
  border-radius: 10px;
}
.product-controls button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 10px;
  white-space: nowrap;
}
.cart {
  border-color: #e7dbd3;
  border-radius: 18px;
  box-shadow: 0 10px 25px #403d3b08;
}
.cart-total strong {
  color: #be4f0c;
}
.cart-row .basket-quantity button {
  background: #f4ece7;
  border-color: #e4d9d2;
  color: #be4f0c;
}
.order-progress {
  background: #f5ede8;
  border-color: #e8ddd6;
}
.order-progress .done {
  color: #be4f0c;
}
.order-progress .done span {
  background: #be4f0c;
}
.order-progress span {
  background: #e8dbd3;
}
.bill-settlement {
  background: #f6eee9;
}
.badge {
  border-radius: 8px;
}
.badge.collected,
.badge.ready,
.badge.active {
  background: #f4ebe5;
  color: #464341;
}
.badge.new,
.badge.pending {
  background: #fff1dc;
  color: #926025;
}
.badge.cancelled,
.badge.rejected,
.badge.suspended {
  background: #fff0e9;
  color: #9e503b;
}
.note {
  background: #fff6e6;
}
.catalog-banner {
  background: #f5ede8;
  border-color: #e8ddd6;
}
.preset-card.is-selected {
  border-color: #9e8e84;
  box-shadow: 0 0 0 2px #ddc6b744;
}
.preset-submit {
  background: #be4f0c;
}
.preset-submit button {
  background: #ffdcc5;
  color: #be4f0c;
}
.checkout-extra summary,
.partial-box summary {
  color: #6f6a66;
}
.avatar {
  background: #f4ede8;
}
.initials {
  color: #be4f0c;
}
.mini-list a {
  background: #f6f1ed;
}
.mobile-basket-link {
  background: #ff5a09;
  color: #fff;
  border-radius: 13px;
}
.mobile-basket-link:hover {
  background: #da6b50;
  color: #fff;
}
.mobile-nav {
  border-color: #e8e1dc;
  box-shadow: 0 -4px 18px #403d3b07;
}
.mobile-nav a,
.mobile-nav button {
  color: #938175;
}
.mobile-nav a.selected,
.mobile-nav button[aria-expanded="true"] {
  background: #f5ece6;
  color: #be4f0c;
}
.mobile-nav button:hover,
.mobile-nav a:hover {
  background: #f6efea;
  color: #be4f0c;
}
.nav-scrim,
.nav-scrim:hover {
  background: #403d3b60;
}
.footer {
  color: #98877d;
}
.inventory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}
.inventory-header h2 {
  font-size: 28px;
  margin: 5px 0;
  letter-spacing: -0.8px;
}
.inventory-header p:last-child {
  color: #88766a;
  margin: 0;
  font-size: 13px;
}
.inventory-header-actions {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.inventory-header-actions .button {
  font-size: 12px;
}
.inventory-tabs {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
  margin-bottom: 24px;
  overflow-x: auto;
}
.inventory-tabs a {
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 17px;
  border-radius: 10px;
  font-size: 13px;
  color: #857469;
}
.inventory-tabs a.selected {
  background: #be4f0c;
  color: white;
}
.product-editor,
.stock-editor {
  max-width: none;
  width: 100%;
  padding: 30px;
}
.product-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 28px;
}
.product-entry-grid > label {
  min-width: 0;
}
.product-entry-grid > .check,
.product-entry-grid > .upload-product-preview {
  grid-column: 1/-1;
}
.stock-entry-form .product-entry-grid > label:last-child {
  grid-column: 1/-1;
}
.editor-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 23px;
  margin-top: 7px;
  border-top: 1px solid var(--line);
}
.editor-actions button {
  min-width: 165px;
}
.inventory-stock-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-left: 15px;
  font-weight: 650;
}
.product-editor .edit-product-photo {
  max-width: 140px;
  margin: 0 0 25px;
}
.product-entry-grid input[type="file"] {
  background: #f8f4f1;
  border-style: dashed;
  padding: 15px;
}
.product-entry-grid label small {
  line-height: 1.6;
}
.product-editor .upload-product-preview {
  max-width: 230px;
  max-height: 180px;
}
.subscription-banner {
  background: #f5ede8;
  border-color: #e8dad1;
  color: #4c4846;
}
.subscription-banner.expired {
  background: #fff1df;
  border-color: #f1d6b5;
}
.shop-identity {
  background: #f6eee9;
  border-left: 3px solid #ff5a09;
  border-radius: 12px;
}
.shop-code {
  background: #f5e4d9;
  color: #be4f0c;
}
.store-qr-card {
  border-top: 4px solid #ff5a09;
}
.platform-app {
  background: #fff8f3;
}
.platform-header,
.platform-nav {
  border-color: var(--line);
}
.platform-nav a.selected {
  background: #be4f0c;
}
.platform-nav a {
  color: #837267;
}
.plan-card {
  background: #f9f4f0;
  border-color: #e7dad2;
}
.plan-price {
  color: #be4f0c;
}
.payment-instructions {
  background: #fff5e6;
}
.renew-plan summary {
  color: #be4f0c;
}
.platform-main .panel {
  box-shadow: 0 6px 20px #403d3b05;
}
/* Simple, readable authentication. */
.auth {
  background: radial-gradient(circle at 10% 10%, #f2e5dc 0, transparent 42%),
    radial-gradient(circle at 95% 90%, #ffede2 0, transparent 32%), #fff8f3;
  padding: 35px 18px;
  min-height: 100dvh;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  margin: auto;
  padding: 32px;
  border: 1px solid #ebded5;
  border-radius: 24px;
  box-shadow: 0 18px 65px #403d3b09;
  background: #fff;
}
.auth-card h1 {
  font-size: 29px;
  letter-spacing: -0.9px;
  line-height: 1.22;
  margin: 10px 0;
}
.auth-card > p {
  font-size: 14px;
  color: #867469;
  line-height: 1.7;
}
.auth-card label {
  font-size: 13px;
  color: #4f4b49;
}
.auth-card input,
.auth-card textarea {
  background: #fcfaf8;
  font-size: 16px;
}
.auth-card input {
  min-height: 52px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #393939;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 28px;
}
.auth-brand .brandmark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.auth-brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #9a897f;
  letter-spacing: 0;
}
.auth-card .eyebrow {
  font-size: 10px;
  color: #99887e;
  letter-spacing: 1.5px;
}
.auth-card .pin-input {
  font-size: 24px;
  letter-spacing: 0.42em;
  font-variant-numeric: tabular-nums;
}
.auth-card .pin-visibility {
  background: transparent;
  color: #be4f0c;
  min-height: 36px;
  width: auto;
  padding: 0;
  margin: -8px 0 12px;
  font-size: 12px;
}
.auth-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-top: 12px;
  padding: 12px 18px;
}
.auth-help {
  font-size: 12px !important;
  text-align: center;
  margin: 17px 0;
  color: #948277 !important;
}
.auth-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 22px !important;
  font-size: 13px !important;
}
.auth-bottom a {
  font-weight: 750;
}
.auth-switch {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 22px;
  font-size: 11px;
}
.auth-more {
  font-size: 12px;
  color: #907d71;
  margin: 10px 0 16px;
}
.auth-more summary {
  cursor: pointer;
  min-height: 35px;
}
.auth-more label {
  margin-top: 10px;
}
.return-shop {
  width: 100%;
  margin-top: 12px;
}
.join-actions {
  gap: 10px;
}
.join-actions .button {
  min-height: 49px;
  font-size: 13px;
}
.join-store h1 {
  color: #403d3b;
}
/* A light, code-native welcome illustration. */
.market-home {
  background: #fff8f3;
  margin: 0;
}
.welcome-header,
.welcome-main,
.welcome-footer {
  max-width: 1200px;
  margin: auto;
  padding-left: 28px;
  padding-right: 28px;
}
.welcome-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.welcome-header .brand {
  padding: 0;
  font-weight: 800;
}
.welcome-header .brandmark {
  width: 45px;
  height: 45px;
}
.welcome-header > .button {
  font-size: 12px;
  min-height: 42px;
}
.welcome-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 45px 0;
}
.welcome-pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 30px;
  background: #f2e6df;
  color: #7a6a60;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.2px;
}
.welcome-hero h1 {
  font-size: clamp(42px, 5.1vw, 66px);
  line-height: 1.07;
  letter-spacing: -2.8px;
  font-weight: 800;
  margin: 24px 0;
  color: #403d3b;
}
.welcome-hero h1 em {
  font-style: normal;
  color: #ff5a09;
}
.welcome-hero > div > p {
  font-size: 16px;
  line-height: 1.8;
  color: #8d7b6f;
  max-width: 500px;
}
.welcome-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 12px;
}
.welcome-actions .button {
  padding: 13px 24px;
  min-height: 52px;
}
.welcome-note {
  font-size: 12px !important;
  color: #a4958b !important;
}
.welcome-illustration {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, #f0e0d6 0, #f5e9e2 58%, transparent 59%);
}
.grocery-bag {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f1c995;
  color: #514d4a;
  width: 205px;
  height: 250px;
  border-radius: 12px 12px 22px 22px;
  transform: rotate(-7deg);
  box-shadow: 14px 22px 0 #403d3b10;
  margin-top: 55px;
}
.grocery-bag:before {
  content: "";
  position: absolute;
  top: -55px;
  width: 88px;
  height: 90px;
  border: 11px solid #d6ad76;
  border-bottom: 0;
  border-radius: 60px 60px 0 0;
  z-index: -1;
}
.bag-monogram {
  font-weight: 850;
  font-size: 49px;
  letter-spacing: -3px;
}
.bag-word {
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}
.bag-leaf {
  position: absolute;
  font-size: 100px;
  color: #928074;
  top: -88px;
  right: -5px;
  transform: rotate(15deg);
  text-shadow: -45px 4px 0 #79695f;
}
.floating-tag {
  position: absolute;
  z-index: 2;
  background: #fff;
  padding: 12px 17px;
  border: 1px solid #f0ece9;
  border-radius: 13px;
  box-shadow: 0 9px 24px #403d3b10;
  font-size: 11px;
  font-weight: 700;
  color: #7c6c62;
}
.tag-top {
  top: 65px;
  right: -5px;
  transform: rotate(6deg);
}
.tag-bottom {
  bottom: 10px;
  left: 8px;
  transform: rotate(-5deg);
  color: #e87b5c;
}
.illustration-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f4a486;
}
.dot-one {
  top: 50px;
  left: 65px;
}
.dot-two {
  bottom: 65px;
  right: 35px;
  background: #b6a9a1;
  width: 11px;
  height: 11px;
}
.welcome-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 32px 0 45px;
}
.welcome-steps article {
  position: relative;
  padding-left: 43px;
}
.welcome-steps article > span {
  position: absolute;
  left: 0;
  top: 4px;
  background: #f2e6de;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7b6b60;
  font-size: 11px;
  font-weight: 750;
}
.welcome-steps h2 {
  font-size: 15px;
  margin: 2px 0 7px;
}
.welcome-steps p {
  font-size: 12px;
  color: #98877d;
  margin: 0;
}
.welcome-vendor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px;
  border-radius: 20px;
  background: #f2e8e1;
  margin: 10px 0 45px;
}
.welcome-vendor h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  margin: 5px 0;
}
.welcome-vendor p:last-child {
  font-size: 13px;
  color: #8c7a6e;
  margin-bottom: 0;
}
.welcome-vendor .button {
  white-space: nowrap;
}
.welcome-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #a29389;
}
.welcome-footer > div {
  display: flex;
  gap: 22px;
}
.welcome-footer a {
  color: #917f74;
}
@media (min-width: 1025px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inventory-header {
    align-items: flex-start;
  }
  .inventory-header-actions {
    flex-direction: column;
  }
  .welcome-hero {
    gap: 20px;
    padding: 40px 0;
  }
  .welcome-illustration {
    min-height: 330px;
  }
  .tag-top {
    right: -8px;
  }
  .product h3 {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-grid > .product {
    padding: 11px;
    border-radius: 16px;
  }
  .product-grid .product-art {
    aspect-ratio: 1;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  .product-grid .product-category {
    font-size: 9px;
    letter-spacing: 0.6px;
  }
  .product-grid h3 {
    font-size: 14px;
    line-height: 1.4;
    min-height: 2.8em;
    margin: 5px 0;
  }
  .product-grid p {
    font-size: 11px;
    margin-bottom: 4px;
  }
  .product-grid p strong {
    font-size: 19px;
  }
  .product-grid > .product > small {
    font-size: 10px;
  }
  .product-grid .product-controls {
    display: flex;
    gap: 6px;
    padding-top: 11px;
  }
  .product-grid .product-controls input {
    width: 50px;
    min-height: 43px;
    font-size: 15px;
    padding: 5px 3px;
  }
  .product-grid .product-controls button {
    flex: 1;
    min-height: 43px;
    font-size: 12px;
    padding: 7px 4px;
  }
  .product-grid .brand-illustration:after {
    font-size: 7px;
    line-height: 1.2;
  }
  .content {
    padding-top: 23px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .shop-intro {
    align-items: flex-start;
    gap: 15px;
  }
  .shop-intro h2 {
    font-size: 26px;
  }
  .shop-intro p {
    font-size: 12px;
  }
  .stats {
    gap: 12px;
  }
  .stats article {
    padding: 19px 15px;
  }
  .stats strong {
    font-size: 25px;
  }
  .hero {
    padding: 25px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .inventory-header {
    display: block;
  }
  .inventory-header-actions {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 17px;
  }
  .inventory-header-actions .button {
    flex: 1;
    font-size: 11px;
  }
  .inventory-tabs {
    gap: 4px;
  }
  .inventory-tabs a {
    font-size: 11px;
    padding: 9px 12px;
  }
  .product-editor,
  .stock-editor {
    padding: 22px 17px;
  }
  .product-entry-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .editor-actions {
    flex-wrap: wrap;
  }
  .editor-actions button,
  .editor-actions .button {
    flex: 1;
    min-width: 0;
  }
  .inventory-stock-link {
    margin-left: 0;
  }
  .auth {
    padding: 23px 16px;
  }
  .auth-card {
    padding: 28px 24px;
    border-radius: 22px;
  }
  .auth-card h1 {
    font-size: 28px;
  }
  .welcome-header,
  .welcome-main,
  .welcome-footer {
    padding-left: 21px;
    padding-right: 21px;
  }
  .welcome-header {
    padding-top: 18px;
    padding-bottom: 12px;
  }
  .welcome-header .brand {
    font-size: 16px;
  }
  .welcome-header .brandmark {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .welcome-header > .button {
    font-size: 10px;
    padding: 8px 11px;
    min-height: 39px;
  }
  .welcome-hero {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 35px 0 20px;
  }
  .welcome-hero h1 {
    font-size: 47px;
    letter-spacing: -2.2px;
    margin: 21px 0;
  }
  .welcome-hero > div > p {
    font-size: 14px;
  }
  .welcome-illustration {
    min-height: 300px;
    width: 100%;
    max-width: 365px;
    margin: 8px auto;
  }
  .grocery-bag {
    width: 156px;
    height: 193px;
    margin-top: 45px;
  }
  .grocery-bag:before {
    top: -41px;
    width: 70px;
    height: 70px;
    border-width: 9px;
  }
  .bag-monogram {
    font-size: 42px;
  }
  .bag-word {
    font-size: 8px;
  }
  .bag-leaf {
    font-size: 82px;
    top: -71px;
  }
  .tag-top {
    top: 39px;
    right: 3px;
    font-size: 9px;
    padding: 10px 12px;
  }
  .tag-bottom {
    bottom: 12px;
    left: 4px;
    font-size: 10px;
  }
  .dot-one {
    left: 34px;
    top: 35px;
  }
  .welcome-steps {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 0;
  }
  .welcome-steps article {
    padding-left: 46px;
  }
  .welcome-steps h2 {
    font-size: 15px;
  }
  .welcome-steps p {
    font-size: 12px;
  }
  .welcome-vendor {
    padding: 25px;
    display: block;
    margin: 12px 0 30px;
  }
  .welcome-vendor h2 {
    font-size: 24px;
  }
  .welcome-vendor > .button {
    margin-top: 20px;
    display: inline-flex;
  }
  .welcome-footer {
    display: block;
    font-size: 10px;
  }
  .welcome-footer > div {
    margin-top: 14px;
    gap: 20px;
  }
  .platform-nav a.selected {
    background: #be4f0c;
  }
  .shop-code {
    letter-spacing: 1.4px;
  }
}
@media (max-width: 359px) {
  .product-grid {
    gap: 9px;
  }
  .product-grid > .product {
    padding: 9px;
  }
  .product-grid h3 {
    font-size: 12px;
  }
  .product-grid .product-controls {
    gap: 4px;
  }
  .product-grid .product-controls input {
    width: 43px;
    font-size: 14px;
  }
  .product-grid .product-controls button {
    font-size: 11px;
  }
  .product-grid p strong {
    font-size: 17px;
  }
  .auth-card {
    padding: 24px 20px;
  }
  .welcome-header .brand {
    font-size: 14px;
  }
  .welcome-header > .button {
    max-width: 118px;
    text-align: center;
  }
  .welcome-hero h1 {
    font-size: 42px;
  }
  .welcome-actions .button {
    padding: 12px 17px;
    font-size: 13px;
  }
  .welcome-pill {
    font-size: 8px;
  }
  .welcome-illustration {
    min-height: 280px;
  }
  .tag-top {
    font-size: 8px;
  }
  .hero h2 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  body {
    background: #fff;
  }
  .hero {
    background: #fff;
    color: #111;
    box-shadow: none;
  }
  .hero p,
  .stats strong {
    color: #111;
  }
  .inventory-header-actions,
  .inventory-tabs,
  .editor-actions,
  .auth-switch {
    display: none;
  }
  .panel {
    box-shadow: none;
  }
  .product {
    break-inside: avoid;
  }
}

/* Brand palette: #393939 / #FF5A09 / #ec7f37 / #be4f0c. */
:root {
  --brand-charcoal: #393939;
  --brand-orange: #ff5a09;
  --brand-light-orange: #ec7f37;
  --brand-burnt-orange: #be4f0c;
}
.sidebar {
  background: #393939;
  border-color: #393939;
}
.sidebar .brand,
.sidebar .brand strong,
.sidebar-profile,
.sidebar-profile strong {
  color: #fff;
}
.sidebar .brand small,
.sidebar .eyebrow,
.sidebar-profile small {
  color: #d9c8bc;
}
.sidebar nav a {
  color: #eee4dd;
}
.sidebar nav a:hover {
  background: #51463f;
  color: #fff;
}
.sidebar nav a.selected {
  background: #ff5a09;
  color: #202020;
  box-shadow: inset 3px 0 #ffbf94;
}
.sidebar-bottom {
  border-color: #625248;
}
.sidebar-bottom a {
  color: #ffe1cc;
}
.brandmark {
  background: #ff5a09;
  color: #202020;
}
.hero {
  background: linear-gradient(115deg, #393939, #514338);
}
.hero .eyebrow,
.hero-summary a {
  color: #ffbc8b;
}
.hero .light {
  background: #ec7f37;
  color: #202020;
}
.hero .light:hover {
  background: #ffa365;
  color: #202020;
}
.welcome h1 em {
  color: #be4f0c;
}
.grocery-bag {
  background: #ec7f37;
}
.bag-leaf {
  background: transparent;
  color: #be4f0c;
  text-shadow: -45px 4px 0 #ff5a09;
}
.bag-leaf.second {
  background: #ff5a09;
}
.bag-mark {
  color: #393939;
}
.mobile-basket-link {
  background: #ff5a09;
  color: #202020;
}
.mobile-basket-link:hover {
  background: #ec7f37;
  color: #202020;
}
.product-category,
.eyebrow {
  color: #885234;
}
.footer {
  color: #76675d;
}
