:root {
  color-scheme: light;
  --cream: #fff4df;
  --cream-strong: #f1ddbb;
  --paper: #fffaf0;
  --ink: #2a160c;
  --muted: #786653;
  --line: #e5cfaf;
  --brand-red: #a74317;
  --brand-red-dark: #6a310d;
  --brand-green: #596332;
  --brand-gold: #b87528;
  --good: #596332;
  --warning: #8b5614;
  --shadow: 0 18px 36px rgba(58, 31, 13, 0.13);
  --radius: 8px;
  font-family: "Avenir Next", "Nunito Sans", ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Aiia platform */
.platform-shell {
  width: min(100%, 1180px);
  max-width: 1180px;
  padding-bottom: 42px;
}

.tenant-shell {
  width: min(100%, 1220px);
  max-width: 1220px;
}

.platform-topbar {
  position: sticky;
  top: 10px;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid rgba(229, 207, 175, 0.78);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 16px 36px rgba(58, 31, 13, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
}

.platform-brand {
  width: 100%;
}

.support-button,
.magic-ready,
.premium-inline span,
.section-kicker,
.mode-note,
.watermark {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

.support-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--brand-green);
  font-weight: 900;
  text-decoration: none;
}

.landing-page,
.owner-workspace,
.onboarding-view {
  display: grid;
  gap: 22px;
}

.landing-hero {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 5vw, 54px) 0 18px;
}

.landing-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.92;
}

.landing-hero .hero-copy {
  max-width: 58ch;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.magic-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 760px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.magic-form label {
  display: grid;
  gap: 6px;
}

.magic-form span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.magic-form input {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.magic-form .primary-button {
  align-self: end;
  min-height: 52px;
}

.magic-ready {
  display: grid;
  gap: 8px;
  max-width: 760px;
  padding: 14px;
}

.magic-ready p {
  margin: 0;
  color: var(--muted);
}

.landing-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
}

.landing-points article,
.minimal-section,
.faq-section,
.owner-panel,
.premium-panel,
.business-type-card {
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
}

.landing-points span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--brand-green);
  font-weight: 900;
}

.landing-points strong,
.business-type-card strong {
  display: block;
  font-size: 1.22rem;
}

.landing-points p,
.minimal-section p,
.faq-section p,
.business-type-card p,
.premium-panel p,
.owner-product-row p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.minimal-section {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.section-kicker {
  width: fit-content;
  padding: 5px 10px;
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.premium-inline span {
  padding: 8px 10px;
  color: var(--brand-red-dark);
  font-weight: 850;
}

.faq-section {
  display: grid;
  gap: 14px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.faq-list article {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.workspace-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding-top: 18px;
}

.workspace-head.centered {
  grid-template-columns: minmax(0, 740px);
  justify-content: center;
  text-align: center;
}

.workspace-head h1 {
  margin-bottom: 4px;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.workspace-head p {
  margin: 0;
  color: var(--muted);
}

.workspace-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.workspace-actions select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-weight: 850;
}

.owner-tabs,
.step-pills,
.fulfillment-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.owner-tabs {
  margin-top: 2px;
}

.owner-tabs button,
.fulfillment-tabs button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-red-dark);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.owner-tabs button.selected,
.fulfillment-tabs button.selected {
  color: var(--cream);
  border-color: transparent;
  background: var(--brand-green);
}

.step-pills span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 900;
}

.step-pills span.selected {
  color: var(--cream);
  border-color: transparent;
  background: var(--brand-green);
}

.business-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.business-type-card {
  min-height: 220px;
  text-align: left;
}

.business-type-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--brand-red-dark);
  font-weight: 900;
}

.business-type-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 67, 23, 0.42);
}

.platform-form {
  width: 100%;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
  align-items: start;
}

.owner-product-list {
  display: grid;
  gap: 10px;
}

.owner-product-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.owner-product-row.muted {
  opacity: 0.58;
}

.owner-product-row img,
.owner-product-row .product-placeholder {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream-strong);
}

.product-placeholder {
  display: grid;
  place-items: center;
  color: rgba(42, 22, 12, 0.64);
  border: 1px solid rgba(229, 207, 175, 0.9);
}

.product-placeholder span {
  display: grid;
  place-items: center;
  width: 34%;
  aspect-ratio: 1;
  color: transparent;
  border-radius: 999px;
  background: rgba(42, 22, 12, 0.88);
}

.owner-product-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.mode-checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.premium-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
}

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

.premium-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.72);
}

.tenant-service-strip {
  cursor: default;
}

.mode-note {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
}

.watermark {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  min-height: 38px;
  width: auto;
  margin: 0;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #2a160c;
  border-color: rgba(122, 84, 50, 0.24);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 44px rgba(58, 31, 13, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.watermark::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(173, 73, 26, 0.12);
}

.watermark:hover {
  transform: translateY(-2px);
  border-color: rgba(122, 84, 50, 0.38);
  background: #fffefa;
  box-shadow: 0 22px 54px rgba(58, 31, 13, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.watermark span {
  display: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.loading-state {
  min-height: 70dvh;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}

@media (max-width: 679px) {
  .platform-shell,
  .tenant-shell {
    padding: 10px 10px calc(92px + env(safe-area-inset-bottom));
  }

  .platform-topbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-button,
  .platform-topbar .text-button {
    width: 100%;
  }

  .landing-hero h1 {
    max-width: 9ch;
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .magic-form,
  .landing-points,
  .faq-list,
  .workspace-head,
  .business-type-grid,
  .split-panel,
  .premium-panel,
  .premium-grid,
  .mode-checks {
    grid-template-columns: 1fr;
  }

  .magic-form .primary-button {
    width: 100%;
  }

  .workspace-actions {
    justify-content: stretch;
  }

  .workspace-actions > * {
    flex: 1 1 100%;
  }

  .owner-product-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .owner-product-row .row-actions,
  .owner-product-row > .text-button {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .tenant-service-strip {
    grid-column: 1 / -1;
  }

  .shop-intro {
    grid-template-columns: 1fr;
  }

  .shop-intro > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
  }

  .shop-intro h1 {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .shop-intro strong {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (min-width: 680px) {
  .tenant-shell .bottom-nav {
    display: none;
  }
}

@media (min-width: 860px) {
  .tenant-shell .product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tenant-shell .product-card {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .tenant-shell .product-card img,
  .tenant-shell .product-card .product-placeholder {
    width: 100%;
    height: clamp(230px, 25vw, 340px);
  }
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  background: var(--cream);
}

body {
  width: 100%;
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(184, 117, 40, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(241, 221, 187, 0.94), rgba(255, 244, 223, 0.98) 42%, rgba(255, 250, 240, 0.92)),
    var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

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

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

noscript {
  display: block;
  max-width: 520px;
  margin: 24px auto;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

#app {
  width: 100%;
  min-height: 100dvh;
}

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

.app-shell {
  width: min(100%, 760px);
  min-height: 100dvh;
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 12px calc(92px + env(safe-area-inset-bottom));
}

.topbar {
  position: sticky;
  top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid rgba(229, 207, 175, 0.74);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 16px 36px rgba(58, 31, 13, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  z-index: 4;
}

.brand-button,
.address-strip,
.cart-header-button,
.call-button,
.nav-item,
.chip,
.add-button,
.primary-button,
.secondary-button,
.text-button,
.payment-box button,
.admin-tabs button,
.row-actions button,
.address-actions button,
.stepper button {
  min-height: 44px;
  border-radius: var(--radius);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.brand-button:active,
.address-strip:active,
.cart-header-button:active,
.call-button:active,
.nav-item:active,
.chip:active,
.add-button:active,
.primary-button:active,
.secondary-button:active,
.text-button:active,
.payment-box button:active,
.admin-tabs button:active,
.row-actions button:active,
.address-actions button:active,
.stepper button:active {
  transform: translateY(1px) scale(0.99);
}

.brand-button {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(229, 207, 175, 0.18);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.52);
  text-align: left;
}

.brand-button > span {
  display: grid;
  min-width: 0;
  gap: 3px;
  align-content: center;
}

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

.brand-button strong {
  font-size: 1.02rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-button small,
.address-strip span,
.status-card small,
.product-card small,
.compact-order small,
.helper-text {
  color: var(--muted);
}

.tenant-brand-tagline {
  max-width: min(68vw, 740px);
  margin-top: 0;
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.logo-mark {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  overflow: hidden;
  border: 2px solid rgba(42, 22, 12, 0.22);
  border-radius: 999px;
  background: var(--cream-strong);
  box-shadow: 0 5px 12px rgba(42, 22, 12, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.call-button {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  min-width: 62px;
  min-height: 54px;
  padding: 0 12px;
  color: var(--cream);
  background: var(--brand-green);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.cart-header-button {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 76px;
  min-height: 54px;
  padding: 0 12px;
  border: 1px solid rgba(167, 67, 23, 0.22);
  color: var(--brand-red-dark);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.cart-header-button.has-items {
  color: var(--cream);
  background: var(--brand-red);
}

.address-strip {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  text-align: left;
}

.address-strip strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-button:hover,
.address-strip:hover,
.cart-header-button:hover,
.call-button:hover {
  transform: translateY(-1px);
}

@media (max-width: 679px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cart-header-button {
    display: none;
  }

  .call-button {
    grid-column: 2;
  }
}

.main-content {
  display: grid;
  gap: 12px;
}

.shop-view,
.cart-view,
.checkout-view,
.account-view,
.admin-view {
  display: grid;
  gap: 14px;
}

.shop-controls {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.status-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--good);
  border-radius: var(--radius);
  background: var(--paper);
}

.status-card span {
  font-weight: 800;
}

.status-card strong {
  text-align: right;
}

.status-card small {
  grid-column: 1 / -1;
}

.status-card.closed {
  border-left-color: var(--warning);
}

.shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 4px 4px;
}

.shop-intro > div {
  display: contents;
}

.shop-intro h1 {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  font-size: clamp(1.95rem, 8.8vw, 2.3rem);
  line-height: 0.98;
  white-space: nowrap;
}

.shop-intro strong {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  padding: 8px 10px;
  border: 1px solid rgba(89, 99, 50, 0.16);
  border-radius: 999px;
  color: var(--brand-green);
  background: rgba(89, 99, 50, 0.08);
  font-size: 0.92rem;
}

.shop-intro.closed strong {
  color: var(--warning);
  background: rgba(184, 117, 40, 0.12);
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(182, 64, 49, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 244, 223, 0.9), rgba(255, 250, 240, 0.94)),
    var(--paper);
  box-shadow: var(--shadow);
}

.eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: var(--brand-red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 10px;
  font-size: clamp(1.72rem, 8vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 42ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.search-box.compact {
  margin-top: -2px;
}

.search-box.compact input {
  min-height: 48px;
}

.featured-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.featured-card img {
  width: 96px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--radius);
}

.featured-card span,
.product-title-row span,
.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--brand-red-dark);
  background: rgba(167, 67, 23, 0.11);
  font-size: 0.75rem;
  font-weight: 900;
}

.featured-card strong,
.featured-card small {
  display: block;
}

.featured-card strong {
  margin-top: 4px;
}

.featured-card button {
  grid-column: 1 / -1;
  min-height: 44px;
  border-radius: var(--radius);
  color: var(--cream);
  background: var(--brand-red);
  font-weight: 900;
}

.search-box,
.form-card label,
.import-box {
  display: grid;
  gap: 7px;
}

.search-box span,
.form-card label span,
.import-box span,
.payment-box legend {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

.field-hint {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.search-box input,
.form-card input,
.form-card textarea,
.form-card select,
.import-box input,
.admin-order select,
.crm-filter select,
.crm-status-select {
  width: 100%;
  min-height: 50px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  background: var(--paper);
  color: var(--ink);
}

.search-box input:focus,
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus,
.import-box input:focus,
.admin-order select:focus,
.crm-filter select:focus,
.crm-status-select:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(182, 64, 49, 0.12);
}

.category-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.chip.selected {
  border-color: var(--brand-red);
  color: var(--cream);
  background: var(--brand-red);
}

.product-list,
.cart-list,
.admin-list,
.recent-orders {
  display: grid;
  gap: 10px;
}

.product-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 11px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.product-card.muted {
  opacity: 0.62;
}

.product-card img,
.product-card .product-placeholder {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream-strong);
}

.product-copy {
  display: grid;
  gap: 11px;
  min-width: 0;
}

.product-title-row {
  display: grid;
  gap: 5px;
}

.product-title-row h2 {
  margin: 0;
}

.product-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.34;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.product-bottom strong {
  display: block;
  font-size: 1.06rem;
}

.product-bottom small {
  display: block;
  margin-top: 2px;
}

.add-button,
.primary-button,
.secondary-button {
  padding: 0 16px;
  font-weight: 900;
}

.add-button {
  min-width: 92px;
}

.add-button,
.primary-button {
  color: var(--cream);
  background: var(--brand-red);
}

.primary-button.wide,
.secondary-button.wide {
  width: 100%;
}

.primary-button:hover,
.add-button:hover {
  background: var(--brand-red-dark);
}

.secondary-button {
  color: var(--brand-green);
  border: 1px solid rgba(47, 104, 71, 0.28);
  background: rgba(47, 104, 71, 0.08);
}

.text-button {
  padding: 0 12px;
  color: var(--brand-red-dark);
  background: transparent;
  font-weight: 850;
}

.danger-text-button {
  color: #b42318;
}

.danger-text-button:hover {
  color: #8f1d13;
  background: rgba(180, 35, 24, 0.08);
}

/* Minimal Aiia landing */
.app-shell.platform-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  padding: 18px 20px 40px;
  background: #fff;
  color: #080808;
  --cream: #fff;
  --cream-strong: #f5f5f5;
  --paper: #fff;
  --ink: #080808;
  --muted: #5f6368;
  --line: #e5e5e5;
  --brand-red: #080808;
  --brand-red-dark: #080808;
  --brand-green: #080808;
  --shadow: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.platform-shell *,
.platform-shell *::before,
.platform-shell *::after {
  box-sizing: border-box;
}

.platform-content {
  display: block;
  width: min(100%, 560px);
  margin: 92px auto 0;
}

.docs-platform-content {
  width: min(100%, 1160px);
  margin-top: 64px;
}

.platform-topbar {
  position: relative;
  top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.platform-brand {
  width: auto;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.platform-brand:hover {
  transform: none;
}

.platform-brand span {
  display: block;
}

.platform-brand strong {
  color: #080808;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.platform-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.platform-nav a,
.platform-nav button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  color: #6b7280;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.platform-nav .platform-nav-primary {
  min-width: 60px;
  padding: 0 14px;
  color: #fff;
  background: #080808;
}

.platform-shell .landing-page {
  display: block;
}

.platform-shell .landing-hero {
  display: grid;
  gap: 34px;
  padding: 0 0 94px;
}

.platform-shell .landing-hero h1 {
  max-width: 560px;
  margin: 0;
  color: #080808;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
}

.platform-shell .landing-hero h1 span {
  display: block;
  white-space: nowrap;
}

.landing-steps {
  display: grid;
  gap: 14px;
}

.landing-steps p {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0;
  color: #5f6368;
  font-size: 16px;
  line-height: 1.45;
}

.landing-steps span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: #080808;
  font-size: 12px;
  font-weight: 600;
}

.landing-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 26px;
}

.landing-action {
  display: grid;
  align-content: start;
  gap: 12px;
}

.platform-shell .section-kicker {
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #080808;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.platform-shell .magic-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.platform-shell .magic-form label {
  gap: 8px;
}

.platform-shell .magic-form span {
  color: #5f6368;
  font-size: 12px;
  font-weight: 500;
}

.platform-shell .magic-form input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  background: #fff;
  color: #080808;
  font-size: 16px;
}

.platform-shell .magic-form .primary-button,
.platform-shell .magic-ready .secondary-button {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: #080808;
  font-size: 14px;
  font-weight: 500;
}

.platform-shell .magic-ready {
  gap: 6px;
  max-width: none;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
  border-radius: 0;
  background: transparent;
}

.platform-shell .magic-ready strong {
  font-size: 14px;
  font-weight: 700;
}

.platform-shell .magic-ready p {
  color: #5f6368;
  font-size: 14px;
  line-height: 1.45;
}

.business-line {
  margin: 2px 0 0;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.5;
}

.business-words {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-top: 30px;
}

.business-words span {
  font-family: "Geist Mono", "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.platform-shell .faq-section {
  display: grid;
  gap: 34px;
  margin-top: 0;
  padding: 94px 0 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
  border-radius: 0;
  background: transparent;
}

.platform-shell .faq-section h2 {
  margin: 0;
  color: #080808;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
}

.platform-shell .faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.platform-shell .faq-list article {
  padding: 0;
  border: 0;
}

.platform-shell .faq-list strong {
  display: block;
  color: #080808;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.platform-shell .faq-list p {
  margin: 9px 0 0;
  color: #5f6368;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 94px;
  color: #9ca3af;
  font-size: 12px;
}

.landing-footer nav {
  display: flex;
  gap: 18px;
}

.landing-footer a {
  color: inherit;
  text-decoration: none;
}

.docs-page {
  display: grid;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 20px;
}

.docs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.docs-back-link {
  width: fit-content;
  color: #080808;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.docs-nav {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 3px;
  padding: 18px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.docs-nav strong {
  margin-bottom: 10px;
  color: #080808;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.docs-nav button,
.docs-nav a {
  display: flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-left: 2px solid transparent;
  color: #6b7280;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.docs-nav button:hover,
.docs-nav a:hover,
.docs-nav button:focus-visible,
.docs-nav a:focus-visible {
  border-left-color: #080808;
  color: #080808;
  background: #f4f4f4;
  outline: 0;
}

.docs-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.docs-intro {
  display: grid;
  gap: 14px;
  padding: 0 0 24px;
  border-bottom: 1px solid #e5e5e5;
}

.docs-intro h1 {
  max-width: 680px;
  margin: 0;
  color: #080808;
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  font-weight: 700;
  line-height: 0.98;
}

.docs-intro p {
  max-width: 680px;
  margin: 0;
  color: #5f6368;
  font-size: 18px;
  line-height: 1.5;
}

.docs-card {
  display: grid;
  gap: 20px;
  scroll-margin-top: 24px;
  padding: 24px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.docs-card-head {
  display: grid;
  gap: 8px;
}

.docs-card-head span,
.docs-help-section span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.docs-card-head h2,
.docs-feature-grid strong,
.docs-help-section h2 {
  margin: 0;
  color: #080808;
  font-weight: 700;
  line-height: 1.2;
}

.docs-card-head h2 {
  font-size: 28px;
}

.docs-card-head p {
  max-width: 760px;
  margin: 0;
  color: #5f6368;
  font-size: 16px;
  line-height: 1.5;
}

.docs-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
}

.docs-feature-grid article {
  min-height: 116px;
  padding: 16px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.docs-feature-grid strong {
  display: block;
  font-size: 15px;
}

.docs-feature-grid p {
  margin: 8px 0 0;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.5;
}

.docs-help-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  background: #080808;
}

.docs-help-section div {
  display: grid;
  gap: 8px;
}

.docs-help-section span {
  color: #a3a3a3;
}

.docs-help-section h2 {
  color: #fff;
  font-size: 24px;
}

.docs-help-section a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #080808;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.docs-page .landing-footer {
  margin-top: 12px;
}

.owner-platform-content {
  width: min(100%, 1220px);
  margin: 82px auto 0;
}

.platform-nav .platform-nav-quiet {
  min-width: 44px;
  padding: 0 6px;
  color: #6b7280;
  background: transparent;
}

.platform-nav .logout-button {
  min-width: 54px;
  padding: 0 10px;
  color: #b42318;
  background: #fff1f0;
  border: 1px solid rgba(180, 35, 24, 0.18);
}

.platform-nav .logout-button:hover {
  color: #8f1d14;
  background: #ffe7e5;
  border-color: rgba(180, 35, 24, 0.3);
}

.owner-email {
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.owner-dashboard {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.owner-sidebar {
  display: grid;
  gap: 2px;
  align-content: start;
}

.owner-business-switcher {
  position: relative;
  width: min(286px, 44vw);
  min-width: 0;
}

.owner-business-switcher-face {
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 6px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  color: #080808;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
}

.owner-business-switcher .logo-mark {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-width: 1px;
  box-shadow: none;
}

.owner-business-switcher-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.owner-business-switcher-copy strong,
.owner-business-switcher-copy small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-business-switcher-copy strong {
  color: #080808;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.owner-business-switcher-copy small {
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
}

.owner-business-switcher-chevron {
  margin-left: auto;
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
}

.owner-business-switcher:focus-within .owner-business-switcher-face {
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(8, 8, 8, 0.06);
}

.owner-business-switcher select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: 0;
  cursor: pointer;
}

.owner-sidebar button,
.owner-sidebar a {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border-radius: 0;
  color: #6b7280;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
}

.owner-sidebar button.selected {
  color: #080808;
  background: #f4f4f4;
}

.owner-sidebar small {
  color: inherit;
  font-size: 12px;
  font-weight: 500;
}

.owner-nav-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-nav-visual {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.owner-nav-icon {
  display: none;
}

.owner-nav-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owner-dashboard-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.owner-dashboard-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.owner-dashboard-head h1 {
  margin: 0;
  color: #080808;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.owner-dashboard-head p {
  max-width: 520px;
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.dashboard-actions {
  justify-content: flex-end;
  max-width: 520px;
}

.dashboard-actions select,
.dashboard-actions button,
.dashboard-actions a {
  min-height: 38px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
}

.dashboard-actions .primary-button {
  color: #fff;
  background: #080808;
}

.dashboard-actions .secondary-button {
  color: #080808;
  border-color: #d9d9d9;
  background: #fff;
}

.owner-dashboard .owner-home-panel {
  display: grid;
  gap: 0;
  padding: clamp(14px, 2vw, 18px);
}

.owner-dashboard .owner-home-panel .business-share-card {
  padding: 0;
  border-bottom: 0;
}

.business-share-card {
  display: grid;
  gap: 14px;
  padding: 16px 0 22px;
  border-bottom: 1px solid #e5e5e5;
}

.business-share-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.business-link-line {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.business-link-line > span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.business-link-line strong {
  color: #080808;
  font-size: 16px;
  font-weight: 800;
}

.business-link-line code {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  color: #6b7280;
  background: #fafafa;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.business-share-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.business-share-actions .secondary-button {
  min-width: 0;
  min-height: 40px;
  white-space: nowrap;
}

.business-qr-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #eeeeee;
}

.business-qr-frame {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.business-qr-frame img {
  width: 94px;
  height: 94px;
  image-rendering: pixelated;
}

.business-qr-frame span {
  color: #6b7280;
  font-size: 13px;
}

.business-qr-copy {
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: start;
}

.owner-settings-page {
  display: grid;
  gap: 10px;
}

.owner-settings-section {
  display: grid;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.owner-settings-section summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.owner-settings-section summary::-webkit-details-marker {
  display: none;
}

.owner-settings-section summary::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #e5e5e5;
  color: #080808;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.owner-settings-section[open] summary {
  border-bottom: 1px solid #e5e5e5;
}

.owner-settings-section[open] summary::after {
  content: "-";
}

.owner-settings-section summary span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.owner-settings-section summary strong {
  color: #080808;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.owner-settings-section summary small {
  min-width: 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.owner-settings-section-body {
  padding: 18px;
}

.owner-dashboard .owner-settings-section-body > .form-card,
.owner-dashboard .owner-settings-section-body > .owner-panel,
.owner-dashboard .owner-settings-section-body > .premium-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

.owner-docs-panel,
.owner-support-panel {
  display: grid;
  gap: 14px;
}

.owner-docs-panel h2,
.owner-support-panel h2 {
  margin: 0;
  color: #080808;
  font-size: 20px;
  font-weight: 800;
}

.business-qr-copy strong {
  color: #080808;
  font-size: 16px;
  font-weight: 700;
}

.business-qr-copy p {
  max-width: 420px;
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
}

.business-qr-actions {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 0;
}

.business-qr-actions .secondary-button {
  min-width: 0;
  min-height: 38px;
  color: #080808;
  border-color: #d9d9d9;
  background: #fff;
  white-space: nowrap;
}

.owner-dashboard-home {
  align-content: start;
  justify-items: center;
}

.owner-dashboard .owner-home-panel {
  width: min(100%, 520px);
  padding: 0;
  border: 0;
  background: transparent;
}

.owner-dashboard .owner-home-panel .business-share-card {
  width: 100%;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 30px;
  background: #fff;
  box-shadow:
    0 28px 72px rgba(15, 23, 42, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.owner-home-panel .business-share-inner {
  display: grid;
  min-height: 420px;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 34px 34px 28px;
  border: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.owner-home-panel .business-share-inner h1 {
  margin: 0;
  color: #1c1d21;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.owner-home-panel .business-qr-frame {
  display: grid;
  width: 218px;
  height: 218px;
  place-items: center;
  border: 1px solid #eef0f3;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.owner-home-panel .business-qr-frame img {
  width: 176px;
  height: 176px;
  image-rendering: pixelated;
}

.owner-home-panel .business-qr-actions {
  display: grid;
  width: min(100%, 360px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  justify-self: center;
  justify-content: stretch;
  margin: 2px auto 0;
  border: 0;
}

.owner-home-panel .business-qr-actions button {
  min-width: 0;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #e1e4e8;
  border-radius: 14px;
  color: #1c1d21;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.owner-home-panel .business-qr-actions button + button {
  border-left: 1px solid #e1e4e8;
}

.owner-home-panel .business-qr-actions button:hover,
.owner-home-panel .copy-link-icon-button:hover {
  background: #f8fafc;
}

.owner-home-panel .business-qr-actions button:active,
.owner-home-panel .copy-link-icon-button:active {
  transform: translateY(1px);
}

.owner-home-panel .business-public-link {
  display: flex;
  width: min(100%, 390px);
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
  padding: 6px 8px 6px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
}

.owner-home-panel .business-public-link a {
  min-width: 0;
  color: #2563eb;
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.owner-home-panel .copy-link-icon-button {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  padding: 0;
  border: 1px solid #a8d8b5;
  border-radius: 11px;
  color: #2f9b57;
  background: #f0fbf4;
}

.owner-home-panel .copy-link-icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.owner-dashboard .platform-form label small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.owner-dashboard .business-logo-upload {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.owner-dashboard .business-logo-preview {
  width: 72px;
  height: 72px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  overflow: hidden;
}

.owner-dashboard .business-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.owner-dashboard .store-style-picker {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.owner-dashboard .store-style-picker h3 {
  margin: 0;
  color: #080808;
  font-size: 16px;
  line-height: 1.25;
}

.owner-dashboard .store-style-picker .helper-text {
  margin: 4px 0 0;
}

.store-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.store-theme-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 122px;
  padding: 12px;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
}

.store-theme-card.selected {
  border-color: #080808;
  background: #fcfcfc;
  box-shadow: inset 0 0 0 1px #080808;
}

.store-theme-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.store-theme-preview {
  display: flex;
  gap: 4px;
  align-items: center;
}

.store-theme-preview i {
  display: block;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(8, 8, 8, 0.12);
  border-radius: 999px;
}

.store-theme-card strong {
  color: #080808;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.store-theme-card small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.owner-dashboard .owner-panel,
.owner-dashboard .form-card,
.owner-dashboard .premium-panel,
.onboarding-view .form-card {
  border-color: #e5e5e5;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.owner-dashboard .plan-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 420px));
  gap: 14px;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
}

.owner-dashboard-premium .owner-dashboard-head,
.owner-dashboard-plan .owner-dashboard-head {
  gap: 10px;
}

.owner-dashboard-premium .owner-dashboard-head h1,
.owner-dashboard-plan .owner-dashboard-head h1 {
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.05;
}

.owner-dashboard-premium .owner-dashboard-head p,
.owner-dashboard-plan .owner-dashboard-head p {
  max-width: 640px;
  margin-top: 8px;
}

.plan-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.plan-card.current {
  border-color: #9ca3af;
  background: #fcfcfc;
}

.plan-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.plan-card h2 {
  margin: 0;
  color: #080808;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.plan-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  color: #080808;
  background: #f1f3f4;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-price {
  display: block;
  margin: 0 0 20px;
  color: #080808;
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.05;
}

.plan-benefits {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #5f6368;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.plan-benefits li {
  position: relative;
  padding-left: 18px;
}

.plan-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  background: #c7cbd1;
}

.plan-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 0 16px;
  border: 0;
  color: #fff;
  background: #19191c;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.plan-cta:disabled {
  cursor: wait;
  opacity: 0.7;
}

.plan-cta-static {
  color: #1f4f2f;
  background: #eef7ef;
  cursor: default;
}

.owner-dashboard .split-panel {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
}

.owner-dashboard .owner-products-page {
  display: grid;
  gap: 18px;
}

.owner-dashboard .owner-products-primary {
  padding: 24px;
}

.owner-dashboard .owner-product-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.owner-dashboard .owner-product-toolbar h2 {
  margin: 0;
  color: #080808;
  font-size: 22px;
  line-height: 1.2;
}

.owner-dashboard .owner-product-toolbar p {
  max-width: 520px;
  margin: 8px 0 0;
  color: #6f7280;
  font-size: 16px;
  line-height: 1.45;
}

.owner-dashboard .owner-product-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.owner-dashboard .owner-product-toolbar-actions .primary-button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
}

.owner-dashboard .owner-product-list {
  display: grid;
  gap: 12px;
}

.owner-dashboard .owner-products-empty {
  max-width: none;
  padding: 30px;
}

.owner-dashboard .admin-crm {
  gap: 12px;
  padding: clamp(14px, 2vw, 18px);
}

.owner-dashboard .admin-crm-header {
  align-items: center;
}

.owner-dashboard .admin-crm-header h2 {
  margin: 0;
  color: #080808;
  font-size: 17px;
  line-height: 1.25;
}

.owner-dashboard .admin-crm-header .helper-text {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.owner-dashboard .admin-crm-actions .secondary-button {
  min-width: 74px;
  min-height: 36px;
  padding: 0 10px;
  color: #080808;
  border-color: #d9d9d9;
  border-radius: 0;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.owner-dashboard .admin-crm-actions .secondary-button:disabled {
  opacity: 0.45;
}

.owner-dashboard .crm-kpis {
  grid-template-columns: repeat(6, minmax(82px, 1fr));
  gap: 6px;
}

.owner-dashboard .crm-kpi,
.owner-dashboard .owner-product-row,
.owner-dashboard .premium-grid article,
.owner-dashboard .empty-state {
  border-color: #e5e5e5;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.owner-dashboard .crm-kpi {
  padding: 9px 10px;
  min-height: 58px;
}

.owner-dashboard .crm-kpi span {
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
}

.owner-dashboard .crm-kpi strong {
  margin-top: 5px;
  color: #080808;
  font-size: 15px;
  line-height: 1.15;
}

.owner-dashboard .crm-tools {
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 8px;
}

.owner-dashboard .crm-filter span {
  color: #080808;
  font-size: 12px;
  font-weight: 700;
}

.owner-dashboard .crm-filter select,
.owner-dashboard .crm-status-select {
  min-height: 40px;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  color: #080808;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}

.owner-dashboard .crm-tools .search-box.compact input {
  min-height: 40px;
  padding: 9px 12px;
}

.owner-dashboard .admin-crm .empty-state.full {
  min-height: 176px;
  padding: 24px;
}

.owner-dashboard .crm-table-wrap {
  border-color: #e5e5e5;
  border-radius: 0;
  box-shadow: none;
}

.owner-dashboard .crm-table {
  min-width: 1260px;
  border: 1px solid #d9d9d9;
  border-collapse: collapse;
  color: #080808;
  font-size: 13px;
}

.owner-dashboard .crm-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #080808;
  background: #f8f8f8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.owner-dashboard .crm-table th,
.owner-dashboard .crm-table td {
  border-right: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
}

.owner-dashboard .crm-table td {
  background: #fff;
}

.owner-dashboard .crm-table th:last-child,
.owner-dashboard .crm-table td:last-child {
  border-right: 0;
}

.owner-dashboard .owner-orders-table {
  table-layout: fixed;
}

.owner-dashboard .owner-orders-table th {
  position: sticky;
  padding-right: 16px;
  user-select: none;
}

.owner-dashboard .owner-orders-table th > span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.owner-dashboard .owner-orders-table th:first-child,
.owner-dashboard .owner-orders-table td:first-child {
  width: 52px;
  padding-right: 8px;
  padding-left: 8px;
  text-align: center;
}

.owner-dashboard .crm-customers-table th:first-child,
.owner-dashboard .crm-customers-table td:first-child {
  width: 52px;
  padding-right: 8px;
  padding-left: 8px;
  text-align: center;
}

.owner-dashboard .owner-orders-table .crm-number {
  width: auto;
}

.crm-column-resizer {
  position: absolute;
  top: 0;
  right: -5px;
  z-index: 2;
  width: 10px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: col-resize;
  touch-action: none;
}

.crm-column-resizer::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 4px;
  width: 2px;
  background: transparent;
}

.crm-column-resizer:hover::before,
.crm-column-resizer:focus-visible::before,
.is-resizing-table-column .crm-column-resizer::before {
  background: #2f80ed;
}

.is-resizing-table-column {
  cursor: col-resize;
  user-select: none;
}

.owner-dashboard .crm-table tr.needs-action td {
  background: #fbfbfb;
}

.owner-dashboard .crm-table tr.on-route td {
  background: #f7f7f7;
}

.owner-dashboard .crm-table tr.complete td {
  color: #6b7280;
}

.owner-dashboard .crm-table tr.cancelled td {
  color: #9ca3af;
  background: #fafafa;
}

.owner-dashboard .crm-number {
  color: #080808;
}

.owner-dashboard .crm-wide-cell {
  color: #4b5563;
}

.owner-dashboard .crm-next-step,
.owner-dashboard .order-status-pill.compact {
  border-radius: 0;
  color: #080808;
  background: #f3f4f6;
  font-size: 12px;
  font-weight: 700;
}

.owner-dashboard .crm-whatsapp-action {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #c8d8c4;
  color: #284f29;
  background: #f3f8f1;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.owner-dashboard .muted-cell {
  color: #9ca3af;
}

.owner-dashboard .owner-product-row {
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: start;
  padding: 12px;
}

.owner-dashboard .owner-product-row img,
.owner-dashboard .owner-product-row .product-placeholder {
  width: 86px;
  height: 86px;
  border-radius: 0;
}

.owner-dashboard .owner-product-row p {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
}

.owner-dashboard .product-row-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.owner-dashboard .product-row-badges .pill,
.owner-dashboard .domain-panel .pill {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 0;
  color: #4b5563;
  background: #f3f4f6;
  font-size: 12px;
  font-weight: 700;
}

.owner-dashboard .product-row-badges .pill.ok,
.owner-dashboard .domain-panel .pill.ok {
  color: #080808;
  background: #e5e7eb;
}

.owner-dashboard .owner-product-row .row-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.owner-dashboard .row-actions button,
.owner-dashboard .text-button {
  min-height: 36px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
}

.owner-dashboard .admin-preview {
  max-height: 220px;
  border-radius: 0;
  border-color: #e5e5e5;
}

.owner-dashboard .owner-product-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 8, 8, 0.24);
}

.owner-dashboard .owner-product-modal {
  width: min(720px, calc(100vw - 32px));
  max-height: min(86vh, 820px);
  overflow: auto;
  background: #fff;
  border: 1px solid #d9d9d9;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  overscroll-behavior: contain;
}

.owner-dashboard .product-modal-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 0;
  box-shadow: none;
}

.owner-dashboard .product-modal-form .form-title {
  align-items: center;
  margin-bottom: 4px;
}

.owner-dashboard .domain-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.owner-dashboard .working-hours-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.owner-dashboard .working-hours-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.owner-dashboard .domain-panel .helper-text {
  max-width: 560px;
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.5;
}

.owner-dashboard .domain-current-link {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.owner-dashboard .domain-current-link span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.owner-dashboard .domain-current-link strong {
  color: #080808;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.owner-dashboard .domain-panel label {
  display: grid;
  gap: 7px;
}

.owner-dashboard .domain-panel label span {
  color: #080808;
  font-size: 14px;
  font-weight: 700;
}

.owner-dashboard .domain-panel input {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  outline: none;
  background: #ffffff;
  color: #080808;
  font: inherit;
}

.owner-dashboard .domain-panel input:disabled {
  background: #f8f8f8;
  color: #6b7280;
}

.owner-dashboard .domain-panel small {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
}

.owner-dashboard .domain-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.owner-dashboard .domain-actions .primary-button {
  min-height: 40px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
}

.owner-dashboard .owner-notifications-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.owner-dashboard .notification-settings-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.owner-dashboard .notification-settings-panel .form-title {
  align-items: start;
}

.owner-dashboard .notification-settings-panel .form-title h2 {
  margin-bottom: 4px;
}

.owner-dashboard .notification-settings-panel .helper-text {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
}

.owner-dashboard .payment-settings-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.payment-status-list,
.payment-admin-toggle .simple-list {
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-actions .primary-button,
.payment-actions .secondary-button {
  min-height: 42px;
}

.owner-dashboard .notification-destination {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.owner-dashboard .notification-destination span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.owner-dashboard .notification-destination strong {
  color: #080808;
  overflow-wrap: anywhere;
}

.owner-dashboard .notification-toggle-row {
  align-items: start;
}

.owner-dashboard .telegram-connect-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.owner-dashboard .telegram-connect-box span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.owner-dashboard .telegram-connect-code {
  color: #080808;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.owner-dashboard .telegram-connect-box p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
}

.owner-dashboard .telegram-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.owner-dashboard .telegram-actions .primary-button,
.owner-dashboard .telegram-actions .secondary-button {
  min-height: 38px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
}

.owner-dashboard .telegram-settings-panel .simple-list strong {
  overflow-wrap: anywhere;
}

.owner-dashboard .telegram-settings-panel .simple-list div {
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
}

.owner-dashboard .telegram-settings-panel .simple-list div:last-child {
  border-bottom: 0;
}

@media (max-width: 980px) {
  .owner-dashboard .owner-notifications-grid {
    grid-template-columns: 1fr;
  }
}

.onboarding-view {
  max-width: 760px;
  margin: 0 auto;
}

.onboarding-view .workspace-head {
  padding-top: 0;
}

.onboarding-view .workspace-head h1 {
  margin: 0;
  color: #080808;
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  line-height: 0.98;
}

.onboarding-view .step-pills {
  margin-top: 10px;
}

.onboarding-view .step-pills span {
  width: 42px;
  height: 42px;
  border-color: #e5e5e5;
  color: #6b7280;
  background: #fff;
}

.onboarding-view .step-pills span.selected {
  color: #fff;
  background: #080808;
}

.onboarding-view .business-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.onboarding-view .business-type-card {
  display: grid;
  min-height: 132px;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 22px;
  border-color: #e5e5e5;
  border-radius: 0;
  background: #fff;
  text-align: center;
}

.onboarding-view .business-type-card svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #080808;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.onboarding-view .business-type-card strong {
  color: #080808;
  font-size: 20px;
  font-weight: 700;
}

.onboarding-view .platform-form {
  max-width: 620px;
  margin: 0 auto;
}

@media (max-width: 679px) {
  .app-shell.platform-shell {
    padding: 16px 16px calc(96px + env(safe-area-inset-bottom));
    overflow-x: hidden;
  }

  .platform-content {
    width: min(100%, 560px);
    margin-top: 76px;
  }

  .docs-platform-content {
    width: 100%;
    max-width: 100%;
    margin-top: 44px;
  }

  .owner-platform-content {
    width: 100%;
    max-width: 100%;
    margin-top: 44px;
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
    overflow: hidden;
  }

  .platform-topbar {
    display: flex;
    align-items: center;
  }

  .platform-nav {
    gap: 12px;
  }

  .owner-email {
    display: none;
  }

  .owner-dashboard {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .owner-sidebar {
    position: fixed;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    width: auto;
    min-width: 0;
    max-width: none;
    overflow: visible;
    padding: 6px;
    border: 1px solid rgba(8, 8, 8, 0.08);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
      0 18px 42px rgba(8, 8, 8, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(18px);
  }

  .owner-dashboard-main,
  .owner-dashboard .owner-home-panel {
    width: calc(100vw - 32px);
    min-width: 0;
    max-width: calc(100vw - 32px);
  }

  .owner-settings-page {
    gap: 12px;
    width: 100%;
    min-width: 0;
  }

  .owner-settings-section {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .owner-settings-section summary {
    gap: 12px;
    padding: 16px 18px;
  }

  .owner-settings-section-body {
    padding: 16px 18px 18px;
  }

  .owner-dashboard [data-form="business-settings"] {
    display: grid;
    gap: 14px;
    width: 100%;
    min-width: 0;
  }

  .owner-dashboard [data-form="business-settings"] .two-column-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    min-width: 0;
  }

  .owner-dashboard [data-form="business-settings"] label {
    min-width: 0;
    gap: 8px;
  }

  .owner-dashboard [data-form="business-settings"] label span {
    line-height: 1.15;
  }

  .owner-dashboard [data-form="business-settings"] input,
  .owner-dashboard [data-form="business-settings"] select,
  .owner-dashboard [data-form="business-settings"] textarea {
    min-width: 0;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 1.2;
  }

  .owner-dashboard [data-form="business-settings"] input[type="time"] {
    text-align: left;
  }

  .owner-dashboard [data-form="business-settings"] input[type="file"] {
    min-height: 52px;
    padding: 10px;
  }

  .owner-dashboard .business-logo-upload {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .owner-dashboard .business-logo-preview {
    width: 82px;
    height: 82px;
  }

  .owner-dashboard .store-style-picker,
  .owner-dashboard .working-hours-card {
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
  }

  .owner-dashboard .working-hours-card .form-title {
    align-items: start;
    gap: 10px;
  }

  .owner-dashboard .working-hours-card .pill {
    justify-self: end;
    white-space: nowrap;
  }

  .owner-dashboard .mode-checks {
    gap: 10px;
  }

  .owner-dashboard .mode-checks .check-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    min-height: 36px;
    gap: 8px;
  }

  .owner-dashboard .mode-checks .check-row input {
    width: 24px;
    height: 24px;
    min-height: 24px;
    margin: 0;
    padding: 0;
  }

  .owner-home-panel .business-share-card {
    width: 100%;
    max-width: 100%;
  }

  .owner-business-switcher-topbar {
    width: 48px;
    flex: 0 0 48px;
  }

  .owner-business-switcher-face {
    min-height: 48px;
    justify-content: center;
    padding: 0;
    border-radius: 16px;
  }

  .owner-business-switcher .logo-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .owner-business-switcher-copy,
  .owner-business-switcher-chevron {
    display: none;
  }

  .owner-sidebar button,
  .owner-sidebar a {
    min-height: 0;
    padding: 0;
    border: 0;
  }

  .owner-sidebar .owner-nav-secondary {
    display: none;
  }

  .owner-sidebar .owner-nav-primary {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 26px 14px;
    min-width: 0;
    min-height: 58px;
    justify-items: center;
    justify-content: stretch;
    align-items: center;
    align-content: center;
    gap: 2px;
    padding: 7px 3px 6px;
    border: 0;
    border-radius: 20px;
    color: #6b7280;
    background: transparent;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
  }

  .owner-sidebar .owner-nav-primary.selected,
  .owner-sidebar .owner-nav-primary.mobile-selected {
    color: #080808;
    background: #f4f4f4;
    border-color: transparent;
  }

  .owner-sidebar .owner-nav-label {
    order: 2;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .owner-nav-visual {
    order: 1;
    display: grid;
    width: 28px;
    height: 26px;
    place-items: center;
    margin: 0 auto;
  }

  .owner-nav-icon {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
  }

  .owner-nav-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    stroke-width: 2;
  }

  .owner-sidebar small {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    color: #fff;
    background: #121316;
    box-shadow: 0 2px 8px rgba(8, 8, 8, 0.22);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
  }

  .owner-sidebar small.empty-count {
    display: none;
  }

  .owner-dashboard-head {
    grid-template-columns: 1fr;
  }

  .dashboard-actions {
    justify-content: stretch;
  }

  .dashboard-actions > * {
    flex: 1 1 100%;
  }

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

  .business-share-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .business-share-actions .secondary-button {
    width: 100%;
  }

  .business-qr-row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  .business-qr-copy p {
    display: none;
  }

  .business-qr-actions {
    grid-column: 2;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-content: stretch;
    justify-self: stretch;
  }

  .owner-dashboard .plan-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .plan-card {
    min-height: auto;
    padding: 18px;
  }

  .plan-card-head {
    margin-bottom: 16px;
  }

  .plan-benefits {
    gap: 9px;
    font-size: 15px;
  }

  .plan-cta {
    min-height: 42px;
    margin-top: 18px;
  }

  .business-qr-frame {
    width: 88px;
    height: 88px;
  }

  .business-qr-frame img {
    width: 74px;
    height: 74px;
  }

  .business-qr-actions .secondary-button {
    width: 100%;
    min-height: 38px;
  }

  .owner-dashboard .owner-home-panel {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .owner-dashboard .owner-home-panel .business-share-card {
    padding: 0;
    border-width: 1px;
    border-radius: 24px;
  }

  .owner-home-panel .business-share-inner {
    min-height: auto;
    gap: 12px;
    padding: 20px 16px 16px;
    border-width: 0;
  }

  .owner-home-panel .business-share-inner h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .owner-home-panel .business-qr-frame {
    width: min(50vw, 178px);
    height: min(50vw, 178px);
    border-radius: 22px;
  }

  .owner-home-panel .business-qr-frame img {
    width: 78%;
    height: 78%;
  }

  .owner-home-panel .business-qr-actions {
    display: grid;
    width: min(100%, 300px);
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-self: center;
    margin-right: auto;
    margin-left: auto;
    border-width: 0;
  }

  .owner-home-panel .business-qr-actions button {
    min-height: 42px;
    padding: 0 8px;
    border-radius: 13px;
    font-size: clamp(13px, 3.9vw, 15px);
  }

  .owner-home-panel .business-qr-actions button + button {
    border-left-width: 1px;
  }

  .owner-home-panel .business-public-link {
    width: min(100%, 306px);
    min-height: 44px;
    gap: 6px;
    margin-top: 4px;
    padding: 5px 6px 5px 12px;
    border-radius: 16px;
  }

  .owner-home-panel .business-public-link a {
    font-size: clamp(13px, 4vw, 16px);
  }

  .owner-home-panel .copy-link-icon-button {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .owner-home-panel .copy-link-icon-button svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
  }

  .owner-dashboard .split-panel,
  .onboarding-view .business-type-grid,
  .store-theme-grid {
    grid-template-columns: 1fr;
  }

  .owner-dashboard .crm-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .owner-dashboard .crm-tools {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .owner-dashboard .admin-crm-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .owner-dashboard .admin-crm-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: end;
    gap: 6px;
  }

  .owner-dashboard .admin-crm-actions .secondary-button {
    min-width: 56px;
    width: 100%;
    padding: 0 8px;
  }

  .owner-dashboard .crm-kpi {
    min-height: 54px;
    padding: 8px;
  }

  .owner-dashboard .crm-kpi span {
    font-size: 10px;
  }

  .owner-dashboard .crm-kpi strong {
    font-size: 14px;
  }

  .owner-dashboard .admin-crm .empty-state.full {
    min-height: 134px;
    padding: 20px;
  }

  .owner-dashboard .owner-product-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .owner-dashboard .owner-product-row img {
    width: 72px;
    height: 72px;
  }

  .owner-dashboard .owner-product-row .row-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .owner-dashboard .owner-product-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .owner-dashboard .owner-product-toolbar-actions {
    justify-content: stretch;
  }

  .owner-dashboard .owner-product-toolbar-actions .primary-button {
    flex: 1 1 auto;
  }

  .owner-dashboard .owner-product-modal-backdrop {
    align-items: end;
    padding: 12px;
  }

  .owner-dashboard .owner-product-modal {
    width: 100%;
    max-height: 88vh;
  }

  .owner-dashboard .product-modal-form {
    padding: 18px;
  }

  .platform-shell .landing-hero {
    gap: 28px;
    padding-bottom: 76px;
  }

  .platform-shell .landing-hero h1,
  .platform-shell .faq-section h2,
  .docs-intro h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .platform-shell .landing-hero h1 span {
    white-space: normal;
  }

  .landing-action-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 18px;
  }

  .platform-shell .faq-section {
    gap: 30px;
    padding-top: 76px;
  }

  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 76px;
  }

  .docs-page {
    gap: 20px;
  }

  .docs-toolbar {
    font-size: 12px;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .docs-nav {
    position: static;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    width: calc(100vw - 32px);
    margin-left: 0;
    padding: 8px 0 12px;
    border-top: 0;
    border-bottom: 1px solid #e5e5e5;
    scrollbar-width: none;
  }

  .docs-nav::-webkit-scrollbar {
    display: none;
  }

  .docs-nav strong {
    display: none;
  }

  .docs-nav button,
  .docs-nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    background: #fff;
    white-space: nowrap;
  }

  .docs-intro {
    padding-bottom: 20px;
  }

  .docs-intro h1 {
    font-size: clamp(2.2rem, 10vw, 2.85rem);
  }

  .docs-intro p {
    font-size: 16px;
  }

  .docs-card {
    gap: 16px;
    padding: 18px;
    scroll-margin-top: 14px;
  }

  .docs-card-head h2,
  .docs-help-section h2 {
    font-size: 21px;
  }

  .docs-feature-grid {
    grid-template-columns: 1fr;
  }

  .docs-feature-grid article {
    min-height: auto;
  }

  .docs-help-section {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }

  .docs-help-section a {
    width: 100%;
  }
}

.stepper {
  display: grid;
  grid-template-columns: 42px 36px 42px;
  align-items: center;
  overflow: hidden;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.stepper button {
  min-height: 42px;
  border-radius: 0;
  color: var(--brand-red-dark);
  background: transparent;
  font-size: 1.2rem;
  font-weight: 900;
}

.stepper strong {
  text-align: center;
}

.bottom-nav {
  position: fixed;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 736px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(43, 33, 25, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(43, 33, 25, 0.16);
  backdrop-filter: blur(18px);
  z-index: 5;
}

.nav-item {
  padding: 0 6px;
  color: var(--muted);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 900;
}

.nav-item.active {
  color: var(--cream);
  background: var(--brand-green);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.section-heading h1 {
  margin-bottom: 0;
}

.account-heading {
  justify-content: center;
  text-align: center;
}

.account-heading .eyebrow {
  margin-bottom: 0;
  font-size: 1rem;
}

.account-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.account-pills button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-red-dark);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.account-pills button.selected {
  border-color: transparent;
  color: var(--cream);
  background: var(--brand-green);
}

.account-tab-panel {
  display: grid;
  gap: 14px;
}

.delivery-area-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.delivery-area-card strong,
.delivery-area-card small {
  display: block;
}

.delivery-area-card small {
  margin-top: 3px;
  color: var(--muted);
}

.delivery-area-card.ok {
  border-color: rgba(89, 99, 50, 0.28);
  background: rgba(89, 99, 50, 0.08);
}

.delivery-area-card.blocked {
  border-color: rgba(167, 67, 23, 0.34);
  background: rgba(167, 67, 23, 0.08);
}

.delivery-area-card.blocked small {
  color: var(--brand-red-dark);
}

.cart-line,
.compact-order,
.admin-product-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.cart-line {
  grid-template-columns: 60px 1fr auto;
}

.cart-line img,
.cart-line .product-placeholder,
.admin-product-row img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-line .stepper {
  grid-column: 2;
  width: 122px;
}

.cart-line > strong {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.totals-box,
.done-card,
.form-card,
.empty-state,
.admin-order {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.totals-box div,
.simple-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.totals-box span,
.simple-list span {
  color: var(--muted);
}

.free-delivery-row strong {
  color: var(--brand-green);
}

.grand-total {
  border-top: 1px solid var(--line);
  padding-top: 12px !important;
  font-size: 1.1rem;
}

.inline-warning {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(143, 91, 18, 0.22);
  border-radius: var(--radius);
  color: var(--warning);
  background: rgba(214, 154, 45, 0.1);
  font-weight: 750;
}

.form-card {
  gap: 14px;
}

.form-card textarea {
  resize: vertical;
}

.check-row {
  grid-template-columns: 22px 1fr;
  align-items: start;
}

.check-row input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--brand-red);
}

.payment-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.payment-box legend {
  padding: 0 6px;
}

.payment-box button {
  color: var(--ink);
  background: var(--cream);
  font-weight: 900;
}

.payment-box button.selected {
  color: var(--cream);
  background: var(--brand-green);
}

.payment-box p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.payment-method-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.payment-method-box > span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 850;
}

.payment-method-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.payment-method-options label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 4px 8px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.payment-method-options label.selected {
  border-color: var(--brand-green);
  background: rgba(89, 99, 50, 0.1);
}

.payment-method-options input {
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: var(--brand-green);
}

.payment-method-options strong,
.payment-method-options small {
  min-width: 0;
}

.payment-method-options small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.done-view {
  min-height: 60dvh;
  display: grid;
  align-items: center;
}

.done-card {
  justify-items: start;
  padding: 18px;
  box-shadow: var(--shadow);
}

.done-card .logo-mark {
  width: 78px;
  height: 78px;
}

.empty-state {
  color: var(--muted);
}

.empty-state strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.empty-state p {
  margin-bottom: 0;
}

.empty-state.full {
  min-height: 48dvh;
  align-content: center;
}

.address-book {
  display: grid;
  gap: 10px;
}

.address-list {
  display: grid;
  gap: 8px;
}

.address-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.address-card.selected {
  border-color: rgba(89, 99, 50, 0.34);
  background: rgba(89, 99, 50, 0.08);
}

.address-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.address-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.address-actions button {
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--brand-red-dark);
  background: var(--paper);
  font-size: 0.84rem;
  font-weight: 850;
}

.address-form {
  margin-top: 2px;
}

.pending-order {
  display: grid;
  gap: 10px;
}

.pending-order-card {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.compact-order {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 9px;
}

.compact-order-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.compact-order-head small {
  display: block;
}

.order-status-pill {
  min-width: 86px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--brand-green);
  background: rgba(47, 104, 71, 0.09);
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
}

.order-status-pill.compact {
  display: inline-flex;
  min-width: auto;
  align-items: center;
  justify-content: center;
}

.compact-order-items,
.order-items {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.compact-order-items li,
.order-items li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.compact-order-items strong,
.order-items strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.92rem;
}

.order-tracker {
  display: grid;
  gap: 9px;
  padding-top: 3px;
}

.order-tracker h3 {
  margin: 0;
  font-size: 0.98rem;
}

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

.tracking-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--muted);
}

.tracking-list li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.tracking-list strong,
.tracking-list small {
  display: block;
}

.tracking-list small {
  color: var(--muted);
}

.tracking-list li.done > span,
.tracking-list li.active > span {
  border-color: rgba(89, 99, 50, 0.36);
  color: var(--cream);
  background: var(--brand-green);
}

.tracking-list li.active strong {
  color: var(--ink);
}

.tracking-cancelled {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--warning);
  background: rgba(214, 154, 45, 0.1);
  font-weight: 850;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
}

.admin-tabs button {
  color: var(--muted);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-tabs button.selected {
  color: var(--cream);
  background: var(--brand-green);
}

.private-entry-view {
  min-height: min(58dvh, 520px);
  align-content: start;
}

.private-entry-view .admin-login {
  width: min(100%, 460px);
  margin: clamp(42px, 10vh, 96px) auto 0;
}

.private-entry-view .admin-login input {
  text-align: center;
  letter-spacing: 0.12em;
}

.form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.form-title h2,
.admin-list h2,
.pending-order h2,
.recent-orders h2 {
  margin-bottom: 0;
}

.two-column-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-preview {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.admin-product-row {
  grid-template-columns: 62px 1fr;
}

.admin-product-row small {
  display: block;
  margin: 3px 0 7px;
  color: var(--muted);
}

.admin-crm {
  display: grid;
  gap: 14px;
}

.admin-crm-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.admin-crm-header.secondary {
  margin-top: 10px;
}

.admin-crm-header h2 {
  margin: 2px 0 0;
}

.admin-crm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-crm-actions .secondary-button,
.admin-crm-header > .secondary-button {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.crm-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.crm-kpi {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(89, 99, 50, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.crm-kpi span,
.crm-kpi strong {
  display: block;
}

.crm-kpi span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.crm-kpi strong {
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.05;
}

.crm-tools {
  display: grid;
  gap: 8px;
  align-items: end;
}

.crm-filter {
  display: grid;
  gap: 7px;
}

.crm-filter span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.crm-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(58, 31, 13, 0.08);
}

.crm-owner-title {
  align-items: center;
  margin-top: 4px;
}

.crm-owner-title .helper-text {
  margin: 4px 0 0;
}

.crm-customers-panel {
  margin-top: 16px;
}

.crm-customers-table {
  min-width: 880px;
}

.crm-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.84rem;
}

.crm-table th,
.crm-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(229, 207, 175, 0.66);
  text-align: left;
  vertical-align: top;
}

.crm-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--brand-red-dark);
  background: rgba(255, 244, 223, 0.97);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.crm-table tr:last-child td {
  border-bottom: 0;
}

.crm-table tr.needs-action td {
  background: rgba(167, 67, 23, 0.05);
}

.crm-table tr.on-route td {
  background: rgba(89, 99, 50, 0.05);
}

.crm-table tr.complete td {
  color: rgba(42, 22, 12, 0.72);
}

.crm-table tr.cancelled td {
  color: rgba(42, 22, 12, 0.54);
  background: rgba(118, 107, 97, 0.06);
}

.crm-table strong,
.crm-table small {
  display: block;
}

.crm-table small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
}

.crm-number {
  width: 48px;
  color: var(--brand-red-dark);
  font-weight: 950;
}

.crm-wide-cell {
  color: var(--muted);
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.crm-next-step {
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--brand-green);
  background: rgba(89, 99, 50, 0.1);
  font-weight: 900;
}

.crm-status-select {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

.pill {
  color: var(--muted);
  background: rgba(118, 107, 97, 0.1);
}

.pill.ok {
  color: var(--brand-green);
  background: rgba(47, 104, 71, 0.1);
}

.row-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.row-actions button {
  padding: 0 8px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  font-size: 0.86rem;
  font-weight: 850;
}

.admin-order {
  gap: 14px;
}

.order-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.order-head small {
  display: block;
  color: var(--muted);
}

.admin-order select {
  min-width: 142px;
}

.simple-list {
  display: grid;
  gap: 4px;
}

.simple-list div {
  border-bottom: 1px solid rgba(234, 223, 207, 0.7);
}

.simple-list div:last-child {
  border-bottom: 0;
}

.order-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
}

.import-box {
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.toast {
  position: fixed;
  right: 14px;
  bottom: calc(92px + env(safe-area-inset-bottom));
  left: 14px;
  max-width: 720px;
  margin: 0 auto;
  padding: 13px 14px;
  border: 1px solid rgba(47, 104, 71, 0.18);
  border-radius: var(--radius);
  color: var(--cream);
  background: var(--brand-green);
  box-shadow: 0 16px 28px rgba(43, 33, 25, 0.18);
  font-weight: 850;
  z-index: 6;
}

@media (max-width: 380px) {
  .delivery-area-card {
    grid-template-columns: 1fr;
  }

  .delivery-area-card button {
    width: 100%;
  }

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

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

  .compact-order-head {
    grid-template-columns: 1fr auto;
  }

  .order-status-pill {
    grid-column: 1;
    grid-row: 2;
    width: fit-content;
  }

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

  .product-card img,
  .product-card .product-placeholder {
    width: 86px;
    height: 86px;
  }

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

  .add-button,
  .stepper {
    width: 100%;
  }

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

  .cart-line {
    grid-template-columns: 54px 1fr;
  }

  .cart-line > strong {
    grid-column: 2;
    grid-row: auto;
  }

  .brand-button {
    gap: 8px;
  }

  .logo-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .cart-header-button,
  .call-button {
    min-width: 56px;
    padding: 0 9px;
  }
}

@media (min-width: 680px) {
  .app-shell {
    width: min(calc(100% - 32px), 1040px);
    max-width: none;
    padding: 18px 0 64px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: stretch;
    padding: 10px;
  }

  .brand-button,
  .address-strip,
  .cart-header-button,
  .call-button {
    grid-row: 1;
  }

  .brand-button {
    grid-column: 1;
  }

  .cart-header-button {
    grid-column: 2;
    min-width: 112px;
  }

  .call-button {
    grid-column: 3;
    min-width: 82px;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr) 278px;
    align-items: end;
    padding: 24px;
  }

  .featured-card {
    grid-template-columns: 104px 1fr;
  }

  .featured-card button {
    grid-column: 2;
  }

  .shop-view {
    gap: 16px;
  }

  .shop-controls {
    gap: 14px;
  }

  .category-row {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }

  .chip {
    flex: 1 1 148px;
    justify-content: center;
  }

  .product-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
  }

  .product-list.single-result {
    grid-template-columns: minmax(0, min(100%, 280px));
    justify-content: start;
  }

  .product-list.single-result .product-card {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 0;
    padding: 10px;
  }

  .product-list.single-result .product-card img,
  .product-list.single-result .product-card .product-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
  }

  .product-list.single-result .product-bottom {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .product-list.single-result .add-button,
  .product-list.single-result .stepper {
    width: 100%;
  }

  .product-card {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 286px;
    padding: 10px;
  }

  .product-card img,
  .product-card .product-placeholder {
    width: 100%;
    height: clamp(170px, 24vw, 220px);
  }

  .admin-product-row {
    grid-template-columns: 68px 1fr auto;
  }

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

  .crm-tools {
    grid-template-columns: minmax(0, 1fr) 170px;
  }

  .row-actions {
    grid-column: auto;
    grid-template-columns: repeat(3, auto);
  }

  .cart-view,
  .checkout-view,
  .account-view,
  .done-view {
    width: min(100%, 860px);
    margin: 0 auto;
  }

  .admin-view {
    width: min(100%, 1040px);
    margin: 0 auto;
  }

  .bottom-nav {
    display: none;
  }

  .toast {
    right: auto;
    left: 50%;
    width: min(calc(100% - 32px), 720px);
    transform: translateX(-50%);
  }
}

@media (min-width: 1180px) {
  .app-shell {
    width: min(calc(100% - 48px), 1840px);
    max-width: none;
    padding: 18px 0 72px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) minmax(150px, 190px) minmax(112px, 144px);
    gap: 12px;
    padding: 10px;
  }

  .brand-button {
    padding: 10px 12px;
  }

  .address-strip {
    grid-column: auto;
    align-self: center;
  }

  .call-button {
    min-width: 86px;
  }

  .main-content {
    gap: 18px;
  }

  .shop-view {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .shop-controls {
    position: static;
    gap: 20px;
  }

  .shop-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 24px;
    padding: 22px 8px 2px;
  }

  .shop-intro h1 {
    font-size: clamp(3.2rem, 5vw, 4.7rem);
  }

  .shop-intro strong {
    justify-self: end;
    margin: 0;
    padding: 10px 16px;
    font-size: 1.03rem;
  }

  .category-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    overflow: visible;
    padding-bottom: 0;
  }

  .chip {
    width: auto;
    justify-content: center;
    min-height: 56px;
    font-size: 1.05rem;
  }

  .product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .product-card {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 0;
    padding: 14px;
  }

  .product-card img,
  .product-card .product-placeholder {
    width: 100%;
    height: clamp(260px, 21vw, 380px);
  }

  .product-copy {
    gap: 16px;
  }

  .crm-kpis {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .cart-view,
  .checkout-view,
  .account-view,
  .done-view {
    width: min(100%, 860px);
    margin: 0 auto;
  }

  .admin-view {
    width: min(100%, 1280px);
    margin: 0 auto;
  }

  .bottom-nav {
    right: auto;
    left: 50%;
    width: min(calc(100% - 48px), 620px);
    max-width: none;
    transform: translateX(-50%);
  }

  .toast {
    right: auto;
    left: 50%;
    width: min(calc(100% - 48px), 720px);
    transform: translateX(-50%);
  }
}

@media (max-width: 679px) {
  .tenant-shell {
    padding: 10px 10px calc(96px + env(safe-area-inset-bottom));
  }

  .tenant-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px;
    border-radius: 26px;
  }

  .tenant-topbar .brand-button {
    grid-column: 1;
    min-height: 74px;
    padding: 8px;
  }

  .tenant-topbar .call-button {
    grid-column: 2;
    min-width: 76px;
    min-height: 74px;
  }

  .tenant-topbar .cart-header-button {
    display: none;
  }

  .tenant-topbar .tenant-service-strip {
    grid-column: 1 / -1;
    min-height: 68px;
    height: auto;
    padding: 10px 12px;
  }

  .shop-intro {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 20px 0 0;
  }

  .shop-intro > div {
    display: contents;
  }

  .shop-intro .eyebrow {
    grid-column: 1;
    grid-row: 1;
  }

  .shop-intro strong {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    padding: 7px 9px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .shop-intro h1 {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
    font-size: clamp(2.1rem, 10vw, 2.75rem);
    line-height: 0.92;
    white-space: nowrap;
  }

  .category-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .chip {
    flex: 0 0 auto;
    min-width: 82px;
    min-height: 46px;
    padding: 0 16px;
    font-size: 0.94rem;
  }

  .product-list,
  .product-list.single-result {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-card,
  .product-list.single-result .product-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 10px;
  }

  .product-card img,
  .product-card .product-placeholder,
  .product-list.single-result .product-card img,
  .product-list.single-result .product-card .product-placeholder {
    width: 104px;
    height: 104px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
  }

  .product-copy {
    min-width: 0;
    gap: 8px;
  }

  .product-title-row h2 {
    font-size: 1.05rem;
    line-height: 1.08;
  }

  .product-copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-bottom {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
  }

  .product-bottom > strong {
    font-size: 1rem;
  }

  .add-button,
  .stepper {
    width: 100%;
    min-height: 42px;
  }

  .payment-method-options {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    display: grid;
  }

  .watermark {
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.74rem;
  }

  .watermark::before {
    width: 7px;
    height: 7px;
    box-shadow: 0 0 0 3px rgba(173, 73, 26, 0.1);
  }
}

.meta-admin-page {
  display: grid;
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}

.meta-admin-shell .platform-content {
  width: min(100%, 1280px);
}

.meta-admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.meta-admin-hero h1,
.meta-panel-head h2,
.meta-detail-title h2 {
  margin: 0;
  color: #080808;
  font-size: 22px;
  line-height: 1.2;
}

.meta-admin-hero p,
.meta-panel-head p {
  max-width: 680px;
  margin: 8px 0 0;
  color: #6b7280;
  line-height: 1.45;
}

.meta-kpis {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
}

.meta-kpis div {
  padding: 14px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.meta-kpis span,
.meta-business-stats span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.meta-kpis strong {
  display: block;
  margin-top: 6px;
  color: #080808;
  font-size: 22px;
}

.meta-workspace {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}

.meta-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.meta-detail-panel {
  position: sticky;
  top: 92px;
  gap: 18px;
  max-height: calc(100dvh - 112px);
  overflow: auto;
}

.meta-panel-head {
  display: grid;
  gap: 4px;
}

.meta-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
  align-items: end;
}

.meta-filter {
  display: grid;
  gap: 7px;
}

.meta-filter span {
  color: #080808;
  font-size: 12px;
  font-weight: 700;
}

.meta-filter select {
  width: 100%;
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  background: #fff;
  color: #080808;
  font: inherit;
}

.meta-business-list {
  display: grid;
  gap: 8px;
}

.meta-business-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 86px;
  padding: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  background: #fff;
  color: #080808;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.meta-business-row:hover,
.meta-business-row.selected {
  border-color: #9ca3af;
  background: #f8fafc;
}

.meta-business-row:active {
  transform: translateY(1px) scale(0.995);
}

.meta-business-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
  color: #080808;
  font-weight: 800;
}

.meta-business-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta-business-row-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.meta-business-row-main strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-business-row-main small {
  overflow: hidden;
  color: #6b7280;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-business-row-meta {
  display: grid;
  gap: 2px;
  justify-items: end;
  color: #6b7280;
  font-size: 12px;
}

.meta-business-row-meta strong {
  color: #080808;
  font-size: 18px;
  line-height: 1;
}

.meta-detail-identity {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.meta-business-logo-large {
  width: 72px;
  height: 72px;
}

.meta-detail-title {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.meta-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meta-detail-title h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-detail-title a {
  color: #5f6368;
  font-size: 14px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.meta-detail-section {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}

.meta-section-head {
  display: grid;
  gap: 4px;
}

.meta-section-head h3 {
  margin: 0;
  color: #080808;
  font-size: 14px;
  line-height: 1.2;
}

.meta-section-head p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
}

.meta-detail-actions,
.meta-business-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.meta-detail-actions .primary-button,
.meta-detail-actions .secondary-button,
.meta-business-actions .primary-button,
.meta-business-actions .secondary-button {
  min-height: 42px;
  padding: 0 12px;
  width: 100%;
}

.meta-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.meta-detail-stats div {
  padding: 12px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.meta-detail-stats span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.meta-detail-stats strong {
  display: block;
  margin-top: 6px;
  color: #080808;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.payment-admin-toggle .check-row {
  padding: 12px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.meta-business-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.meta-detail-form.meta-business-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.meta-detail-form .meta-detail-section:first-child {
  border-top: 0;
  padding-top: 0;
}

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

.meta-create-panel .meta-business-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.meta-business-actions {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}

.danger-button {
  border-color: rgba(167, 38, 38, 0.28);
  color: #8f1d1d;
  background: #fff;
}

.danger-button:hover {
  border-color: #8f1d1d;
  color: #fff;
  background: #8f1d1d;
}

.meta-detail-empty {
  min-height: 320px;
  align-content: center;
}

.meta-empty {
  border-radius: 0;
  box-shadow: none;
}

.meta-magic-ready p {
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .meta-kpis,
  .meta-workspace,
  .meta-business-form,
  .meta-create-panel .meta-business-form,
  .meta-detail-identity,
  .meta-detail-stats,
  .meta-field-grid,
  .meta-toolbar,
  .meta-admin-hero {
    grid-template-columns: 1fr;
  }

  .meta-detail-panel {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .meta-detail-actions,
  .meta-business-actions {
    grid-template-columns: 1fr;
  }
}

.tenant-theme-warm {
  --cream: #fff4df;
  --cream-strong: #f1ddbb;
  --paper: #fffaf0;
  --ink: #2a160c;
  --muted: #786653;
  --line: #e5cfaf;
  --brand-red: #a74317;
  --brand-red-dark: #6a310d;
  --brand-green: #596332;
  --brand-gold: #b87528;
}

.tenant-theme-aiia {
  --cream: #ffffff;
  --cream-strong: #f5f5f5;
  --paper: #ffffff;
  --ink: #080808;
  --muted: #5f6368;
  --line: #e5e5e5;
  --brand-red: #080808;
  --brand-red-dark: #080808;
  --brand-green: #080808;
  --brand-gold: #080808;
  --shadow: none;
  --radius: 0;
  background: #ffffff;
  color: #080808;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tenant-theme-aiia .topbar,
.tenant-theme-aiia .bottom-nav,
.tenant-theme-aiia .product-card,
.tenant-theme-aiia .form-card,
.tenant-theme-aiia .totals-box,
.tenant-theme-aiia .status-card,
.tenant-theme-aiia .compact-order,
.tenant-theme-aiia .done-card {
  border-color: #e5e5e5;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.tenant-theme-aiia .brand-button,
.tenant-theme-aiia .cart-header-button,
.tenant-theme-aiia .call-button,
.tenant-theme-aiia .chip,
.tenant-theme-aiia .secondary-button,
.tenant-theme-aiia .nav-item {
  border-color: #d9d9d9;
  border-radius: 0;
  box-shadow: none;
}

.tenant-theme-aiia .call-button,
.tenant-theme-aiia .cart-header-button.has-items,
.tenant-theme-aiia .chip.selected,
.tenant-theme-aiia .add-button,
.tenant-theme-aiia .primary-button,
.tenant-theme-aiia .nav-item.active {
  color: #ffffff;
  background: #080808;
}

.tenant-theme-aiia .product-card img,
.tenant-theme-aiia .product-card .product-placeholder,
.tenant-theme-aiia .logo-mark {
  border-radius: 0;
  box-shadow: none;
}

.tenant-theme-fresh {
  --cream: #f3faef;
  --cream-strong: #dcefd1;
  --paper: #fbfff7;
  --ink: #173220;
  --muted: #607466;
  --line: rgba(47, 109, 70, 0.18);
  --brand-red: #2f6d46;
  --brand-red-dark: #1f4a30;
  --brand-green: #709f4c;
  --brand-gold: #c8a54b;
  --radius: 18px;
  background:
    radial-gradient(circle at 88% 4%, rgba(143, 185, 90, 0.22), transparent 32%),
    linear-gradient(145deg, #f6fbef, #ffffff 58%, #edf8ea);
  color: var(--ink);
  font-family: "Avenir Next", "Nunito Sans", ui-rounded, system-ui, sans-serif;
}

.tenant-theme-fresh .topbar,
.tenant-theme-fresh .bottom-nav,
.tenant-theme-fresh .product-card,
.tenant-theme-fresh .form-card,
.tenant-theme-fresh .totals-box,
.tenant-theme-fresh .status-card,
.tenant-theme-fresh .compact-order,
.tenant-theme-fresh .done-card {
  border-color: rgba(47, 109, 70, 0.16);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 38px rgba(43, 91, 55, 0.08);
}

.tenant-theme-fresh .brand-button,
.tenant-theme-fresh .cart-header-button,
.tenant-theme-fresh .chip {
  background: rgba(255, 255, 255, 0.76);
}

.tenant-theme-fresh .chip.selected,
.tenant-theme-fresh .cart-header-button.has-items,
.tenant-theme-fresh .add-button,
.tenant-theme-fresh .primary-button,
.tenant-theme-fresh .nav-item.active {
  color: #ffffff;
  background: var(--brand-red);
}

.tenant-theme-iulia {
  --cream: #f2fce8;
  --cream-strong: #daf5a7;
  --paper: #fefff8;
  --ink: #12331d;
  --muted: #4f6f58;
  --line: rgba(20, 92, 42, 0.18);
  --brand-red: #145c2a;
  --brand-red-dark: #0d3f1d;
  --brand-green: #6fb63d;
  --brand-gold: #e0b448;
  --radius: 18px;
  background: linear-gradient(145deg, #f7ffe9 0%, #ffffff 52%, #e9f8dc 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Nunito Sans", ui-rounded, system-ui, sans-serif;
}

.tenant-theme-iulia .tenant-topbar,
.tenant-theme-iulia .topbar,
.tenant-theme-iulia .bottom-nav,
.tenant-theme-iulia .product-card,
.tenant-theme-iulia .form-card,
.tenant-theme-iulia .totals-box,
.tenant-theme-iulia .status-card,
.tenant-theme-iulia .compact-order,
.tenant-theme-iulia .done-card {
  border-color: rgba(20, 92, 42, 0.16);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(21, 83, 37, 0.1);
}

.tenant-theme-iulia .brand-button,
.tenant-theme-iulia .cart-header-button,
.tenant-theme-iulia .chip,
.tenant-theme-iulia .secondary-button {
  border-color: rgba(20, 92, 42, 0.16);
  background: rgba(255, 255, 255, 0.82);
}

.tenant-theme-iulia .chip.selected,
.tenant-theme-iulia .cart-header-button.has-items,
.tenant-theme-iulia .add-button,
.tenant-theme-iulia .call-button,
.tenant-theme-iulia .primary-button,
.tenant-theme-iulia .nav-item.active {
  color: #ffffff;
  background: linear-gradient(135deg, #145c2a, #2f873a);
}

.tenant-theme-iulia .logo-mark {
  border-color: rgba(181, 242, 58, 0.38);
  background: #102716;
  box-shadow: 0 12px 30px rgba(16, 63, 29, 0.18);
}

.tenant-theme-iulia .tenant-service-strip {
  height: auto !important;
  min-height: 68px !important;
  align-content: center;
  border-color: rgba(20, 92, 42, 0.15);
  background:
    linear-gradient(135deg, rgba(181, 242, 58, 0.18), rgba(20, 92, 42, 0.08)),
    rgba(255, 255, 255, 0.86);
}

.tenant-theme-iulia .shop-intro {
  min-height: 196px;
  margin-bottom: 4px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(20, 92, 42, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(254, 255, 248, 0.98) 0%, rgba(242, 252, 232, 0.94) 48%, rgba(18, 51, 29, 0.24) 100%),
    url("./assets/products/iulia-fresh/rosii-gradina.webp?v=20260704-fresh-1") right center / min(48%, 520px) auto no-repeat,
    #f4ffe9;
  box-shadow: 0 24px 52px rgba(21, 83, 37, 0.14);
}

.tenant-theme-iulia .shop-intro h1 {
  max-width: 10ch;
  color: #0f351b;
  font-size: clamp(2.45rem, 7vw, 5.5rem);
  line-height: 0.9;
  white-space: normal;
}

.tenant-theme-iulia .shop-intro strong {
  border-color: rgba(20, 92, 42, 0.2);
  color: #145c2a;
  background: rgba(181, 242, 58, 0.18);
}

.tenant-theme-iulia .chip {
  min-height: 46px;
}

.tenant-theme-iulia .product-list {
  gap: clamp(12px, 2vw, 22px);
}

.tenant-theme-iulia .product-card {
  overflow: hidden;
}

.tenant-theme-iulia .product-card img,
.tenant-theme-iulia .product-card .product-placeholder {
  background: #102716;
}

.tenant-theme-iulia .product-title-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.tenant-theme-iulia .product-title-row span {
  border: 1px solid rgba(20, 92, 42, 0.16);
  color: #145c2a;
  background: #e7f8c6;
}

.tenant-theme-iulia .product-bottom strong {
  color: #145c2a;
}

.tenant-theme-iulia .add-button:hover,
.tenant-theme-iulia .primary-button:hover {
  background: linear-gradient(135deg, #0d3f1d, #256f31);
}

@media (min-width: 680px) {
  .tenant-theme-iulia .tenant-topbar,
  .tenant-theme-iulia .main-content {
    width: min(calc(100% - clamp(32px, 4vw, 72px)), 1680px);
    margin-inline: auto;
  }
}

@media (max-width: 679px) {
  .tenant-theme-iulia .shop-intro {
    min-height: 0;
    padding: 18px;
    background:
      linear-gradient(135deg, rgba(254, 255, 248, 0.98), rgba(224, 247, 189, 0.92)),
      #f4ffe9;
  }

  .tenant-theme-iulia .shop-intro h1 {
    max-width: 11ch;
    font-size: clamp(2.15rem, 12vw, 3.25rem);
  }

  .tenant-theme-iulia .shop-description {
    font-size: 0.94rem;
  }

  .tenant-theme-iulia .product-title-row {
    grid-template-columns: 1fr;
  }
}

.tenant-theme-noir {
  --cream: #151515;
  --cream-strong: #2a2520;
  --paper: #1d1d1f;
  --ink: #f6efe3;
  --muted: #b7ab9c;
  --line: rgba(246, 239, 227, 0.16);
  --brand-red: #d6a85f;
  --brand-red-dark: #b88740;
  --brand-green: #f6efe3;
  --brand-gold: #d6a85f;
  --good: #d6a85f;
  --warning: #f2b36d;
  --radius: 12px;
  background:
    radial-gradient(circle at 14% 0%, rgba(214, 168, 95, 0.18), transparent 30%),
    linear-gradient(145deg, #111111, #1c1c1f 56%, #101010);
  color: var(--ink);
  font-family: "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

.tenant-theme-noir .topbar,
.tenant-theme-noir .bottom-nav,
.tenant-theme-noir .product-card,
.tenant-theme-noir .form-card,
.tenant-theme-noir .totals-box,
.tenant-theme-noir .status-card,
.tenant-theme-noir .compact-order,
.tenant-theme-noir .done-card {
  border-color: var(--line);
  background: rgba(29, 29, 31, 0.92);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.tenant-theme-noir .brand-button,
.tenant-theme-noir .cart-header-button,
.tenant-theme-noir .chip,
.tenant-theme-noir .secondary-button,
.tenant-theme-noir .search-box input,
.tenant-theme-noir .form-card input,
.tenant-theme-noir .form-card textarea,
.tenant-theme-noir .form-card select {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.tenant-theme-noir .call-button,
.tenant-theme-noir .cart-header-button.has-items,
.tenant-theme-noir .chip.selected,
.tenant-theme-noir .add-button,
.tenant-theme-noir .primary-button,
.tenant-theme-noir .nav-item.active {
  color: #151515;
  background: var(--brand-red);
}

.tenant-theme-noir .logo-mark,
.tenant-theme-noir .product-card img,
.tenant-theme-noir .product-card .product-placeholder {
  background: #0f0f10;
}

.tenant-theme-cobalt {
  --cream: #eef5ff;
  --cream-strong: #d8e8ff;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #526176;
  --line: rgba(31, 79, 150, 0.18);
  --brand-red: #1f4f96;
  --brand-red-dark: #17396f;
  --brand-green: #0f172a;
  --brand-gold: #51a4ff;
  --radius: 10px;
  background:
    radial-gradient(circle at 90% -10%, rgba(81, 164, 255, 0.28), transparent 32%),
    linear-gradient(145deg, #eef5ff, #ffffff 52%, #e9f2ff);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.tenant-theme-cobalt .topbar,
.tenant-theme-cobalt .bottom-nav,
.tenant-theme-cobalt .product-card,
.tenant-theme-cobalt .form-card,
.tenant-theme-cobalt .totals-box,
.tenant-theme-cobalt .status-card,
.tenant-theme-cobalt .compact-order,
.tenant-theme-cobalt .done-card {
  border-color: rgba(31, 79, 150, 0.16);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(31, 79, 150, 0.1);
}

.tenant-theme-cobalt .chip.selected,
.tenant-theme-cobalt .cart-header-button.has-items,
.tenant-theme-cobalt .add-button,
.tenant-theme-cobalt .primary-button,
.tenant-theme-cobalt .nav-item.active {
  color: #ffffff;
  background: var(--brand-red);
}

.tenant-theme-vesuvio {
  --cream: #fbf0dc;
  --cream-strong: #e7bc79;
  --paper: #fff9ed;
  --ink: #24160f;
  --muted: #755f4b;
  --line: rgba(107, 68, 34, 0.2);
  --brand-red: #a73822;
  --brand-red-dark: #6f2619;
  --brand-green: #405f3a;
  --brand-gold: #c98532;
  width: min(100%, 1280px);
  max-width: 1280px;
}

.tenant-theme-vesuvio .tenant-topbar {
  border-color: rgba(94, 52, 25, 0.22);
  background: rgba(255, 250, 239, 0.92);
}

.tenant-theme-vesuvio .brand-button {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 244, 222, 0.76));
}

.tenant-theme-vesuvio .logo-mark {
  border-color: rgba(167, 56, 34, 0.26);
  background: #2a2019;
}

.tenant-theme-vesuvio .tenant-service-strip {
  height: auto !important;
  min-height: 68px !important;
  align-content: center;
  gap: 3px;
  background:
    linear-gradient(135deg, rgba(64, 95, 58, 0.08), rgba(167, 56, 34, 0.08)),
    rgba(255, 255, 255, 0.82);
}

.compact-tenant-topbar {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.compact-tenant-topbar .cart-header-button {
  grid-column: 2;
}

.compact-tenant-topbar .call-button {
  grid-column: 3;
}

@media (min-width: 680px) {
  .tenant-shell .compact-tenant-topbar {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 144px) minmax(82px, 112px);
  }

  .tenant-shell .compact-tenant-topbar .cart-header-button {
    grid-column: 2;
  }

  .tenant-shell .compact-tenant-topbar .call-button {
    grid-column: 3;
  }
}

.tenant-contact-line,
.business-link-line small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.shop-description {
  grid-column: 1 / -1;
  grid-row: 3;
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.tenant-theme-vesuvio .shop-intro {
  min-height: 190px;
  margin-bottom: 4px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(107, 68, 34, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(255, 249, 237, 0.96) 0%, rgba(255, 249, 237, 0.88) 48%, rgba(36, 22, 15, 0.3) 100%),
    url("./assets/products/vesuvio/vesuvio.webp") right center / min(56%, 620px) auto no-repeat,
    #fff6e7;
  box-shadow: 0 24px 52px rgba(71, 43, 24, 0.14);
}

.tenant-theme-vesuvio .shop-intro h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.9;
}

.tenant-theme-vesuvio .shop-intro strong {
  border-color: rgba(64, 95, 58, 0.24);
  background: rgba(64, 95, 58, 0.12);
}

.tenant-theme-vesuvio .chip {
  min-height: 46px;
  border-color: rgba(107, 68, 34, 0.2);
  background: rgba(255, 255, 255, 0.82);
}

.tenant-theme-vesuvio .chip.selected {
  border-color: transparent;
  background: var(--brand-red);
}

.tenant-theme-vesuvio .product-list {
  gap: clamp(12px, 2vw, 22px);
}

.tenant-theme-vesuvio .product-card {
  overflow: hidden;
  border-color: rgba(107, 68, 34, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 38px rgba(71, 43, 24, 0.1);
}

.tenant-theme-vesuvio .product-card img {
  background: #2a2019;
}

.tenant-theme-vesuvio .product-title-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.tenant-theme-vesuvio .product-title-row span {
  color: #fff9ed;
  background: var(--brand-green);
}

.tenant-theme-vesuvio .product-bottom strong {
  color: var(--brand-red-dark);
}

.tenant-theme-vesuvio .add-button,
.tenant-theme-vesuvio .primary-button {
  background: var(--brand-red);
}

.tenant-theme-vesuvio .add-button:hover,
.tenant-theme-vesuvio .primary-button:hover {
  background: var(--brand-red-dark);
}

@media (max-width: 679px) {
  .tenant-theme-vesuvio .shop-intro {
    min-height: 0;
    padding: 18px;
    background:
      linear-gradient(135deg, rgba(255, 249, 237, 0.96), rgba(255, 239, 211, 0.92)),
      #fff6e7;
  }

  .tenant-theme-vesuvio .shop-intro h1 {
    font-size: clamp(2.25rem, 13vw, 3.3rem);
  }

  .tenant-theme-vesuvio .shop-description {
    font-size: 0.94rem;
  }

  .tenant-theme-vesuvio .product-title-row {
    grid-template-columns: 1fr;
  }
}
