:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #0f172a;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #10b981;
  --primary-dark: #047857;
  --accent: #f59e0b;
  --danger: #ef4444;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffcf5a;
  outline-offset: 3px;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #164e63 58%, #10b981 100%);
  color: #fff;
  display: flex;
  min-height: 68vh;
  padding: 72px max(24px, calc((100vw - 1120px) / 2));
}

.hero__content {
  max-width: 760px;
}

.hero h1,
.panel h1,
.auth-card h1,
.dashboard-content h1,
.store-header h1 {
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 78px);
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

.eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a7f3d0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.landing-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 158, 11, 0.28), transparent 28%),
    linear-gradient(135deg, #101828 0%, #063d34 52%, #0f766e 100%);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  min-height: 86vh;
  overflow: hidden;
  padding-bottom: 84px;
  padding-top: 84px;
}

.landing-hero__copy {
  max-width: 720px;
}

.landing-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.landing-trust span {
  background: rgba(255, 250, 240, 0.12);
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 999px;
  color: rgba(255, 250, 240, 0.88);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 14px;
}

.landing-preview {
  min-height: 520px;
  position: relative;
}

.phone-preview {
  background: #fff7ed;
  border: 10px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  color: #111827;
  display: grid;
  gap: 14px;
  margin-left: auto;
  max-width: 310px;
  min-height: 520px;
  padding: 18px;
  position: relative;
  z-index: 2;
}

.phone-preview__top,
.phone-preview__checkout,
.phone-preview__items article,
.order-preview {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.phone-preview__top span,
.phone-preview__items strong {
  font-weight: 900;
}

.phone-preview__top strong {
  background: #dcfce7;
  border-radius: 999px;
  color: #047857;
  font-size: 12px;
  padding: 6px 9px;
}

.phone-preview__hero {
  background: linear-gradient(135deg, #fb923c, #facc15);
  border-radius: 18px;
  color: #431407;
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 18px;
}

.phone-preview__hero span {
  font-size: 13px;
  font-weight: 800;
}

.phone-preview__hero strong {
  align-self: end;
  font-size: 26px;
  line-height: 1;
}

.phone-preview__items {
  display: grid;
  gap: 10px;
}

.phone-preview__items article {
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  gap: 12px;
  padding: 13px;
}

.phone-preview__items span {
  color: #64748b;
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

.phone-preview__items b {
  color: #047857;
}

.phone-preview__checkout {
  background: #0f172a;
  border-radius: 16px;
  color: #fff;
  margin-top: auto;
  padding: 14px;
}

.phone-preview__checkout span {
  color: #cbd5e1;
}

.order-preview {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 18px;
  bottom: 54px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.24);
  color: #0f172a;
  display: grid;
  gap: 8px;
  left: 0;
  max-width: 230px;
  padding: 16px;
  position: absolute;
  z-index: 3;
}

.order-preview p {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
}

.order-preview strong {
  font-size: 34px;
}

.order-preview span {
  color: #475569;
  font-size: 14px;
}

.order-preview b {
  background: #10b981;
  border-radius: 999px;
  color: #06281f;
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  margin-top: 6px;
  padding: 9px 12px;
}

.landing-section,
.landing-cta {
  margin: 0 auto;
  max-width: 1120px;
  padding: 70px 24px;
}

.landing-section h2,
.landing-cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.steps-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.steps-grid article,
.benefit-list article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.steps-grid span {
  background: #fef3c7;
  border-radius: 12px;
  color: #92400e;
  display: inline-grid;
  font-weight: 900;
  height: 38px;
  place-items: center;
  width: 38px;
}

.steps-grid h3,
.benefit-list strong {
  display: block;
  font-size: 20px;
  margin: 18px 0 8px;
}

.steps-grid p,
.landing-benefits p,
.landing-cta p,
.benefit-list span {
  color: var(--muted);
  line-height: 1.65;
}

.landing-benefits {
  align-items: center;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.landing-benefits .button {
  margin-top: 12px;
}

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

.benefit-list article {
  box-shadow: none;
}

.benefit-list strong {
  margin-top: 0;
}

.landing-cta {
  background: #0f172a;
  border-radius: var(--radius);
  color: #fff;
  margin-bottom: 42px;
  padding: 48px 24px;
  text-align: center;
}

.landing-cta p {
  color: #cbd5e1;
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

.landing-cta .button {
  margin-top: 12px;
}

.register-page {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(255, 203, 107, 0.24), transparent 26%),
    radial-gradient(circle at 12% 78%, rgba(16, 185, 129, 0.22), transparent 28%),
    #15110d;
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
  color: #fffaf0;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 560px);
  min-height: 100vh;
  overflow: hidden;
  padding: 64px max(24px, calc((100vw - 1120px) / 2));
  position: relative;
}

.register-page::before {
  background: #ffcf5a;
  border-radius: 999px;
  content: "";
  height: 360px;
  opacity: 0.86;
  position: absolute;
  right: max(20px, calc((100vw - 1120px) / 2));
  top: 132px;
  transform: rotate(-12deg);
  width: 360px;
}

.register-copy,
.register-card {
  position: relative;
  z-index: 1;
}

.register-copy {
  align-self: center;
  max-width: 560px;
}

.register-back {
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 999px;
  color: rgba(255, 250, 240, 0.78);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 34px;
  min-height: 38px;
  padding: 0 14px;
  align-items: center;
}

.register-back:hover {
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
}

.register-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.95;
  margin: 0 0 22px;
}

.register-copy p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.78);
  font-size: 18px;
  line-height: 1.75;
}

.register-mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.register-mini-proof span {
  background: rgba(255, 250, 240, 0.12);
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 999px;
  color: rgba(255, 250, 240, 0.88);
  font-size: 14px;
  font-weight: 750;
  padding: 10px 14px;
}

.register-card {
  align-self: center;
  background: #fffaf0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  box-shadow: 0 28px 0 rgba(38, 23, 11, 0.18), 0 46px 92px rgba(0, 0, 0, 0.34);
  color: #15110d;
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 34px);
}

.register-card--modal {
  box-shadow: none;
  padding: clamp(24px, 4vw, 40px);
}

.register-card__header {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.register-card__header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.98;
  margin: 0;
}

.register-card__header .eyebrow {
  color: #b45309;
}

.register-card__header strong {
  background: #dcfce7;
  border-radius: 999px;
  color: #047857;
  font-size: 12px;
  padding: 7px 10px;
  white-space: nowrap;
}

.register-form {
  gap: 14px;
  margin-top: 0;
  max-width: none;
}

.register-form label {
  color: #221407;
  font-size: 14px;
  gap: 8px;
}

.register-form input {
  background: #ffffff;
  border-color: rgba(120, 53, 15, 0.14);
  box-shadow: 0 8px 22px rgba(120, 53, 15, 0.06);
  min-height: 50px;
}

.register-form input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
  outline: 0;
}

.register-form .field-hint {
  color: #6b5b4b;
}

.register-form .field-hint[data-state="success"] {
  color: #047857;
}

.register-form .field-hint[data-state="error"] {
  color: #b91c1c;
}

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

.register-form .button {
  background: #ffcf5a;
  box-shadow: 0 14px 30px rgba(255, 207, 90, 0.28);
  color: #221407;
  margin-top: 4px;
  width: 100%;
}

.register-form .button:hover {
  background: #ffe08a;
}

.register-preview-card {
  background: #15110d;
  border-radius: 8px;
  color: #fffaf0;
  display: grid;
  gap: 4px;
  padding: 18px;
}

.register-preview-card span {
  color: #ffcf5a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.register-preview-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.register-preview-card p {
  color: rgba(255, 250, 240, 0.72);
  margin: 0;
}

.register-modal {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 16px;
  position: fixed;
  z-index: 60;
}

.register-modal[hidden] {
  display: none;
}

.register-modal__scrim {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(12, 9, 6, 0.84);
  background-size: 52px 52px;
  border: 0;
  cursor: pointer;
  inset: 0;
  position: absolute;
}

.register-modal__dialog {
  background: #fffaf0;
  border-radius: 8px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
  max-height: min(920px, calc(100dvh - 32px));
  max-width: min(630px, calc(100vw - 28px));
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  width: 100%;
}

.register-modal__close {
  align-items: center;
  background: #15110d;
  border: 0;
  border-radius: 999px;
  color: #fffaf0;
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 40px;
  z-index: 3;
}

.register-modal__close:hover {
  background: #3b2816;
}

body.is-modal-open {
  overflow: hidden;
}

.landing-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, rgba(255, 203, 107, 0.34), transparent 26%),
    radial-gradient(circle at 10% 70%, rgba(16, 185, 129, 0.26), transparent 24%),
    #15110d;
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 500px);
  min-height: 92vh;
}

.landing-hero__copy {
  align-self: center;
  max-width: 760px;
}

.landing-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7.8vw, 92px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0 0 22px;
  max-width: 850px;
}

.landing-lead {
  max-width: 650px;
}

.landing-hero .button--primary,
.landing-cta .button--primary,
.landing-showcase .button--primary {
  background: #ffcf5a;
  color: #221407;
  box-shadow: 0 10px 28px rgba(255, 207, 90, 0.24);
}

.landing-hero .button--primary:hover,
.landing-cta .button--primary:hover,
.landing-showcase .button--primary:hover {
  background: #ffe08a;
}

.landing-hero .button--ghost {
  background: rgba(255, 250, 240, 0.04);
  border-color: rgba(255, 250, 240, 0.28);
  color: #fffaf0;
}

.landing-hero .button--ghost:hover {
  background: rgba(255, 250, 240, 0.1);
  border-color: rgba(255, 250, 240, 0.46);
}

.landing-preview {
  align-self: center;
  isolation: isolate;
  min-height: 560px;
}

.landing-hero__copy > *,
.landing-preview,
.ticket-strip,
.phone-preview,
.order-preview,
.landing-proof article,
.steps-grid article,
.landing-showcase > div,
.kanban-preview article,
.landing-benefit-band article,
.landing-cta {
  will-change: transform, opacity;
}

.landing-preview::before {
  background: #ffcf5a;
  border-radius: 999px;
  content: "";
  filter: blur(0.2px);
  height: 360px;
  opacity: 0.92;
  position: absolute;
  right: 20px;
  top: 70px;
  transform: rotate(-10deg);
  width: 360px;
  z-index: -1;
}

.ticket-strip {
  animation: float-ticket 5s ease-in-out infinite;
  display: grid;
  gap: 9px;
  left: 10px;
  position: absolute;
  top: 18px;
  z-index: 4;
}

.ticket-strip span {
  background: #fdf6e7;
  border: 1px dashed rgba(86, 45, 13, 0.26);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  color: #4c2a0c;
  font-size: 13px;
  font-weight: 900;
  padding: 9px 12px;
}

.phone-preview {
  background: #fffaf0;
  border: 8px solid #26170b;
  border-radius: 34px;
  box-shadow: 0 28px 0 rgba(38, 23, 11, 0.18), 0 42px 90px rgba(0, 0, 0, 0.34);
  font-family: ui-sans-serif, system-ui, sans-serif;
  max-width: 330px;
  min-height: 540px;
  transform: rotate(2deg);
}

.phone-preview__hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 44%),
    linear-gradient(135deg, #f97316, #ffd166);
  min-height: 150px;
}

.phone-preview__items article {
  border-color: rgba(249, 115, 22, 0.24);
  box-shadow: 0 12px 28px rgba(124, 45, 18, 0.08);
}

.order-preview {
  bottom: 36px;
  box-shadow: 0 22px 0 rgba(15, 23, 42, 0.08), 0 30px 70px rgba(15, 23, 42, 0.28);
  left: 0;
  transform: rotate(-4deg);
}

.landing-proof {
  background: #fffaf0;
  border-bottom: 1px solid rgba(120, 53, 15, 0.12);
  border-top: 1px solid rgba(120, 53, 15, 0.12);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 28px max(24px, calc((100vw - 1120px) / 2));
}

.landing-proof article {
  background: #ffffff;
  border: 1px solid rgba(120, 53, 15, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(120, 53, 15, 0.08);
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 24px;
}

.landing-proof strong {
  color: #7c2d12;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.92;
  white-space: nowrap;
}

.landing-proof span {
  color: #6b5b4b;
  display: block;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  max-width: 220px;
}

.landing-section {
  padding-bottom: 82px;
  padding-top: 82px;
}

.landing-section h2,
.landing-cta h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5.8vw, 68px);
  line-height: 0.98;
}

.steps-grid article {
  background: #ffffff;
  border: 0;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.09);
  overflow: hidden;
  position: relative;
}

.steps-grid article::after {
  background: #ffcf5a;
  content: "";
  height: 8px;
  inset: auto 0 0 0;
  position: absolute;
}

.steps-grid article:nth-child(2)::after {
  background: #10b981;
}

.steps-grid article:nth-child(3)::after {
  background: #f97316;
}

.steps-grid span {
  background: #221407;
  border-radius: 999px;
  color: #ffcf5a;
}

.landing-showcase {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.landing-showcase > div:first-child p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

.kanban-preview {
  background: #15110d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  padding: 18px;
  transform: rotate(-1deg);
}

.kanban-preview article {
  background: #fffaf0;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.kanban-preview span {
  color: #b45309;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kanban-preview strong {
  color: #15110d;
  font-size: 34px;
}

.kanban-preview p {
  color: #6b5b4b;
  margin: 0;
}

.landing-benefit-band {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 0;
}

.landing-benefit-band article {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
  padding: 24px;
}

.landing-benefit-band strong {
  color: #15110d;
  display: block;
  font-size: 21px;
  margin-bottom: 8px;
}

.landing-benefit-band span {
  color: var(--muted);
  line-height: 1.65;
}

.landing-cta {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #15110d;
  background-size: 44px 44px;
  max-width: 1120px;
  overflow: hidden;
  position: relative;
}

.landing-cta::before {
  background: #ffcf5a;
  border-radius: 999px;
  content: "";
  height: 160px;
  opacity: 0.22;
  position: absolute;
  right: -42px;
  top: -64px;
  width: 160px;
}

@keyframes float-ticket {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(12px) rotate(-1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .ticket-strip,
  .phone-preview,
  .order-preview,
  .kanban-preview {
    transform: none !important;
  }
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-height: 50px;
  padding: 0 22px;
  touch-action: manipulation;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button--primary {
  background: var(--primary);
  color: #06281f;
}

.button--primary:hover {
  background: #34d399;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.button--ghost-dark {
  border-color: rgba(226, 232, 240, 0.2);
  color: #e2e8f0;
}

.flash {
  border-radius: var(--radius);
  font-weight: 800;
  left: 50%;
  max-width: min(720px, calc(100vw - 32px));
  padding: 12px 16px;
  position: fixed;
  top: 16px;
  transform: translateX(-50%);
  width: max-content;
  z-index: 20;
}

.flash--success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.flash--error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.feature-grid,
.panel,
.auth-card {
  margin: 0 auto;
  max-width: 1120px;
  padding: 42px 24px;
}

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

.feature,
.product-card,
.panel,
.auth-card,
.kpi-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature,
.product-card {
  padding: 22px;
}

.feature h2,
.product-card h2 {
  font-size: 20px;
  margin: 0 0 10px;
}

.feature p,
.product-card p,
.panel p,
.auth-card p,
.dashboard-content p,
.store-header p {
  color: var(--muted);
  line-height: 1.65;
}

.panel,
.auth-card {
  margin-top: 48px;
}

.section-heading {
  max-width: 680px;
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  max-width: 560px;
}

.form label {
  color: var(--text);
  display: grid;
  font-weight: 800;
  gap: 7px;
}

.form input,
.form textarea,
.form select {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
}

.field-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.field-hint[data-state="success"] {
  color: #047857;
}

.field-hint[data-state="error"] {
  color: #dc2626;
}

.auth-card {
  max-width: 520px;
}

.store-header {
  align-items: center;
  background: var(--surface-strong);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 48px max(24px, calc((100vw - 1120px) / 2));
}

.status-pill {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 999px;
  color: #a7f3d0;
  font-weight: 800;
  padding: 8px 12px;
}

.status-pill--closed {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fecaca;
}

.product-card {
  display: grid;
  gap: 12px;
}

.product-card__image {
  aspect-ratio: 16 / 10;
  background: var(--store-line, #e2e8f0);
  border-radius: var(--radius);
}

.storefront {
  --store-muted: #64748b;
  --store-line: #e2e8f0;
  background: var(--store-bg, #f8fafc);
  color: var(--store-text, #0f172a);
  min-height: 100vh;
  padding-bottom: 110px;
}

.storefront--dark {
  --store-muted: #94a3b8;
  --store-line: rgba(226, 232, 240, 0.14);
}

.storefront-hero {
  background: #0f172a;
  color: #fff;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

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

.storefront-hero__overlay {
  align-items: flex-end;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.48));
  display: flex;
  gap: 24px;
  inset: 0;
  justify-content: space-between;
  min-height: 320px;
  padding: 48px max(24px, calc((100vw - 1120px) / 2));
  position: relative;
}

.storefront-identity {
  align-items: center;
  display: flex;
  gap: 18px;
  max-width: 820px;
}

.storefront-identity__logo {
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  color: #0f172a;
  flex: 0 0 auto;
  height: 92px;
  object-fit: cover;
  width: 92px;
}

.storefront-identity__logo--empty {
  align-items: center;
  display: grid;
  font-size: 42px;
  font-weight: 900;
  place-items: center;
}

.storefront-hero h1 {
  font-size: clamp(34px, 6vw, 62px);
  margin: 0 0 10px;
}

.storefront-hero p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin: 0;
}

.storefront-toolbar {
  align-items: center;
  background: var(--store-surface);
  border-bottom: 1px solid var(--store-line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 14px max(24px, calc((100vw - 1120px) / 2));
  position: sticky;
  top: 0;
  z-index: 5;
}

.mode-selector {
  background: var(--store-bg);
  border: 1px solid var(--store-line);
  border-radius: var(--radius);
  display: flex;
  flex-shrink: 0;
  padding: 4px;
}

.mode-selector__button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--store-muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 36px;
  padding: 0 14px;
}

.mode-selector__button.is-active {
  background: var(--store-primary);
  color: var(--store-btn-text, #fff);
}

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

.category-nav a {
  border: 1px solid var(--store-line);
  border-radius: 6px;
  color: var(--store-muted);
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 12px;
}

.storefront-menu {
  display: grid;
  gap: 32px;
  margin: 0 auto;
  max-width: 1120px;
  padding: 34px 24px;
}

.menu-section {
  scroll-margin-top: 90px;
}

.menu-section h2 {
  color: var(--store-heading, var(--store-text, inherit));
  font-size: 28px;
  margin: 0 0 16px;
}

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

.menu-card {
  background: var(--store-surface);
  border: 1px solid var(--store-line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 160px;
  overflow: hidden;
}

.menu-card__image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.menu-card__image--empty {
  background: linear-gradient(135deg, #fef3c7, #fecaca);
}

.menu-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.menu-card h3 {
  font-size: 18px;
  margin: 0;
}

.menu-card p,
.muted {
  color: var(--store-muted);
  line-height: 1.55;
  margin: 0;
}

.menu-card__footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: auto;
}

.cart-fab {
  align-items: center;
  background: var(--store-primary);
  border: 0;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: var(--shadow);
  color: var(--store-btn-text, #fff);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 900;
  gap: 12px;
  min-height: 54px;
  padding: 0 20px;
  position: fixed;
  right: 22px;
  z-index: 9;
}

.cart-fab strong {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  min-width: 28px;
  padding: 4px 8px;
}

.cart-panel {
  background: var(--store-surface);
  border-left: 1px solid var(--store-line);
  box-shadow: -18px 0 50px rgba(15, 23, 42, 0.18);
  color: var(--store-text);
  display: flex;
  flex-direction: column;
  gap: 18px;
  inset: 0 0 0 auto;
  max-width: min(420px, 100vw);
  padding: 22px;
  position: fixed;
  transform: translateX(100%);
  transition: transform 180ms ease;
  width: 420px;
  z-index: 12;
}

.cart-panel[aria-hidden="false"] {
  transform: translateX(0);
}

.cart-panel__header,
.cart-line,
.cart-summary div,
.checkout-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.cart-panel__header h2,
.checkout-form h2 {
  margin: 0;
}

.icon-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--store-line, var(--line));
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font-size: 22px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  width: 36px;
}

.cart-panel__items {
  display: grid;
  gap: 12px;
  max-height: 42vh;
  overflow-y: auto;
}

.cart-line {
  border-bottom: 1px solid var(--store-line);
  gap: 12px;
  padding-bottom: 12px;
}

.cart-line__info {
  display: grid;
  gap: 4px;
}

.cart-line small,
.cart-line span {
  color: var(--store-muted);
}

.cart-field,
.checkout-form label,
.quantity-field {
  display: grid;
  font-weight: 800;
  gap: 7px;
}
.cart-field[hidden],
.cart-takeaway-notice[hidden] {
  display: none;
}
.quantity-field--compact {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  max-width: 180px;
}
.quantity-field--compact input {
  max-width: 70px;
  min-height: 36px;
  padding: 6px 8px;
  text-align: center;
}
.qty-stepper {
  align-items: center;
  display: flex;
  gap: 0;
}
.qty-stepper__btn {
  align-items: center;
  background: var(--store-surface, #1e293b);
  border: 1px solid var(--store-line, #334155);
  color: var(--store-text, #f8fafc);
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  width: 36px;
}
.qty-stepper__btn:first-child {
  border-radius: 6px 0 0 6px;
}
.qty-stepper__btn:last-child {
  border-radius: 0 6px 6px 0;
}
.qty-stepper__btn:hover {
  background: var(--store-primary);
  color: #fff;
}
.qty-stepper__input {
  border: 1px solid var(--store-line, #334155);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  font: inherit;
  font-weight: 700;
  height: 36px;
  padding: 0;
  text-align: center;
  width: 44px;
  -moz-appearance: textfield;
}
.qty-stepper__input::-webkit-inner-spin-button,
.qty-stepper__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-modal-actions {
  align-items: flex-end;
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.product-modal-actions .button {
  min-height: 36px;
  padding: 8px 20px;
}

/* Cart line layout */
.cart-line {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.cart-line__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cart-line__actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}
.cart-line__delete {
  color: #ef4444;
  opacity: 0.7;
}
.cart-line__delete:hover {
  opacity: 1;
}

/* Small qty stepper for cart */
.qty-stepper--small .qty-stepper__btn {
  font-size: 14px;
  height: 28px;
  width: 28px;
}
.qty-stepper--small .qty-stepper__val {
  align-items: center;
  border: 1px solid var(--store-line, #334155);
  border-left: 0;
  border-right: 0;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  min-width: 32px;
}

/* Takeaway notice in cart */
.cart-takeaway-notice {
  align-items: center;
  background: var(--store-surface, #f0fdf4);
  border: 1px solid var(--store-line, #e2e8f0);
  border-radius: 6px;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
}
.cart-takeaway-notice strong {
  color: var(--store-primary);
  font-size: 14px;
}
.cart-takeaway-notice span {
  color: var(--store-muted);
  font-size: 13px;
}

.checkout-whatsapp-note {
  color: var(--store-muted);
  font-size: 12px;
  margin: 4px 0 0;
  text-align: center;
}

.cart-field select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.quantity-field input {
  border: 1px solid var(--store-line, var(--line));
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  min-height: 38px;
  padding: 8px 12px;
}

.cart-summary {
  border-top: 1px solid var(--store-line);
  display: grid;
  gap: 10px;
  padding-top: 14px;
}

.modal {
  align-items: center;
  background: rgba(15, 23, 42, 0.58);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 15;
}

.modal[hidden] {
  display: none;
}

.modal__dialog {
  background: var(--store-surface, #fff);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--store-text, var(--text));
  max-height: min(760px, calc(100vh - 40px));
  max-width: 440px;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  scrollbar-width: none;
  width: min(440px, calc(100vw - 32px));
}
.modal__dialog::-webkit-scrollbar {
  display: none;
}

.modal__close {
  position: absolute;
  right: 16px;
  top: 16px;
}

.product-modal-price {
  display: inline-block;
  font-size: 24px;
  margin: 10px 0 18px;
}

.extras-group {
  border: 1px solid var(--store-line, var(--line));
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 14px;
}

.extras-group legend {
  font-weight: 900;
  padding: 0 6px;
}

.option-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.transfer-box {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 6px;
  color: var(--store-text, var(--text));
  display: grid;
  gap: 8px;
  line-height: 1.5;
  padding: 14px;
}
.transfer-box[hidden] {
  display: none;
}
.transfer-row {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}
.transfer-row span {
  color: var(--store-muted, #94a3b8);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.transfer-row strong {
  font-size: 14px;
}
.btn-copy {
  background: var(--store-primary, #10b981);
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
}
.btn-copy:hover {
  filter: brightness(1.1);
}
.transfer-fields {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}
.transfer-fields label:first-child {
  grid-column: 1 / -1;
}

.checkout-total {
  border-top: 1px solid var(--store-line, var(--line));
  font-size: 20px;
  padding-top: 14px;
}

.form-error {
  background: #fee2e2 !important;
  border: 1px solid #fca5a5 !important;
  border-radius: var(--radius);
  color: #991b1b !important;
  font-weight: 800;
  margin: 0;
  padding: 10px 12px;
}

.empty-state {
  background: var(--store-surface);
  border: 1px solid var(--store-line);
  border-radius: var(--radius);
  padding: 28px;
}

.empty-state--store,
.closed-notice {
  margin: 24px auto 0;
  max-width: 1120px;
}

.closed-notice {
  align-items: center;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: var(--radius);
  color: #78350f;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 16px;
}

.dashboard-shell {
  background: #0f172a;
  color: #e2e8f0;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 100dvh;
  transition: grid-template-columns 0.2s;
}
body:has(.dashboard-shell) {
  background: #0f172a;
}
.dashboard-shell[data-superadmin-root] {
  background: #1e293b;
}
.dashboard-shell.sidebar-collapsed {
  grid-template-columns: 0px minmax(0, 1fr);
}

.sidebar {
  border-right: 1px solid rgba(226, 232, 240, 0.12);
  padding: 18px 14px;
  overflow: hidden;
  white-space: nowrap;
  transition: padding 0.2s, opacity 0.2s;
}
.sidebar-collapsed .sidebar {
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.sidebar a {
  border-radius: var(--radius);
  color: #cbd5e1;
  padding: 8px 10px;
  font-size: 0.9rem;
}

.sidebar a:hover {
  background: rgba(16, 185, 129, 0.12);
  color: #fff;
}

.sidebar a.is-active {
  background: rgba(16, 185, 129, 0.18);
  color: #fff;
}

.dashboard-content {
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  padding: 32px;
}

.dashboard-topbar {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.dashboard-content h1,
.dashboard-content p {
  color: #fff;
}

.kpi-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.kpi-grid article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(226, 232, 240, 0.12);
  box-shadow: none;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.kpi-grid span {
  color: #94a3b8;
}

.kpi-grid strong {
  color: #fff;
  font-size: 30px;
}

.admin-section {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.kpi-grid--month {
  margin-top: 16px;
}

.admin-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
}

.admin-grid--wide {
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.75fr);
}

.admin-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: var(--radius);
  color: #fff;
  padding: 20px;
}

.admin-card__header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-card h2 {
  margin: 0;
}

.orders-mini-list,
.quick-actions {
  display: grid;
  gap: 10px;
}

.orders-mini-row {
  align-items: center;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  min-height: 52px;
  padding: 10px 12px;
  text-align: left;
}

.orders-mini-row small {
  color: #cbd5e1;
}

.quick-actions a {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.26);
  border-radius: var(--radius);
  color: #d1fae5;
  font-weight: 800;
  padding: 12px;
}

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

.admin-list--compact {
  margin-top: 16px;
}

.admin-list-row {
  align-items: center;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: var(--radius);
  color: #fff;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  min-height: 56px;
  padding: 10px 12px;
}

.admin-list-row[draggable="true"] {
  cursor: grab;
}

.product-row {
  grid-template-columns: 30px 50px minmax(0, 1fr) auto auto auto;
}

.product-row img,
.row-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.row-thumb {
  background: linear-gradient(135deg, #fef3c7, #fecaca);
}

.admin-list-row small {
  color: #94a3b8;
  display: block;
  margin-top: 4px;
}

.drag-handle {
  color: #64748b;
  font-weight: 900;
}

.inline-admin-form {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.inline-admin-form input[type="text"],
.admin-form input,
.admin-form select,
.admin-form textarea {
  background: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: var(--radius);
  color: #fff;
  font: inherit;
  min-height: 42px;
  padding: 8px 10px;
}

.check-row {
  align-items: center;
  color: #cbd5e1;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
}

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

.admin-form label {
  color: #cbd5e1;
  display: grid;
  font-weight: 700;
  font-size: 0.8rem;
  gap: 4px;
}

.extras-editor {
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: var(--radius);
  padding: 14px;
}

.extra-group {
  margin-top: 10px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: var(--radius);
}
.extra-group__header {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: end;
  gap: 8px;
}
.extra-group__name-label {
  color: #94a3b8;
  display: grid;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 3px;
  min-width: 0;
}
.extra-group__name-label input {
  min-width: 0;
}
.extra-group__header .extra-field {
  flex-direction: row;
  gap: 4px;
}
.extra-group__header .extra-field input[type="number"] {
  width: 52px;
}
.extra-group__options {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  padding-left: 12px;
  border-left: 2px solid rgba(16, 185, 129, 0.3);
}
.extra-option-row {
  display: grid;
  grid-template-columns: 1fr 1fr 28px;
  align-items: center;
  gap: 8px;
}
.extra-option-row input {
  min-width: 0;
}
.extra-group > .button--xs {
  margin-top: 10px;
}
.button--xs {
  font-size: 0.72rem;
  padding: 5px 10px;
  min-height: auto;
}
.extra-row {
  margin-top: 6px;
  padding: 8px;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: var(--radius);
}
.extra-row__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.extra-row__bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 0.8rem;
}
.extra-field {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.75rem;
  white-space: nowrap;
}
.extra-field input[type="number"] {
  width: 120px;
  min-height: 30px;
  padding: 4px 6px;
  font-size: 0.8rem;
}
.extra-field input[type="checkbox"] {
  margin: 0;
}
.extra-row__bottom .btn-icon {
  margin-left: auto;
}

.extra-row input {
  min-width: 0;
}

.admin-date-input {
  background: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: var(--radius);
  color: #fff;
  font: inherit;
  min-height: 42px;
  padding: 8px 10px;
}

.kpi-grid--cash {
  margin-top: 0;
}

.admin-form--inline {
  align-items: end;
  grid-template-columns: 150px 150px minmax(0, 1fr) auto;
  margin: 16px 0;
}

.settings-form {
  display: grid;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
}

.settings-tabs {
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.settings-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #94a3b8;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 12px 10px;
}

.settings-tabs button.is-active {
  border-bottom-color: var(--primary);
  color: #fff;
}

.settings-panel {
  display: none;
}

.settings-panel.is-active {
  display: block;
}

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

.settings-grid label {
  color: #cbd5e1;
  display: grid;
  font-weight: 800;
  gap: 7px;
}

.settings-grid input,
.settings-grid select,
.settings-grid textarea {
  background: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: var(--radius);
  color: #fff;
  font: inherit;
  min-height: 42px;
  padding: 8px 10px;
}

.settings-grid input[type="color"] {
  min-height: 48px;
  padding: 4px;
}

.dashboard-shell {
  --admin-bg: #0d1322;
  --admin-sidebar: #101827;
  --admin-card: #182132;
  --admin-card-2: #151d2d;
  --admin-line: rgba(203, 213, 225, 0.13);
  --admin-line-strong: rgba(203, 213, 225, 0.2);
  --admin-text: #f8fafc;
  --admin-muted: #a8b4c7;
  --admin-soft: #d9e2ef;
  --admin-primary: #14b88a;
  --admin-primary-hover: #2fd3a5;
  --admin-primary-ink: #06241c;
  background: var(--admin-bg);
  color: var(--admin-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  grid-template-columns: 248px minmax(0, 1fr);
}

.dashboard-shell .sidebar {
  background: var(--admin-sidebar);
  border-right: 1px solid var(--admin-line);
  padding: 22px 18px;
}

.dashboard-shell .sidebar > strong {
  color: var(--admin-text);
  display: block;
  font-size: 16px;
  letter-spacing: 0;
  margin-bottom: 28px;
}

.dashboard-shell .sidebar nav {
  gap: 6px;
  margin-top: 0;
}

.dashboard-shell .sidebar a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--admin-soft);
  display: flex;
  font-size: 15px;
  font-weight: 650;
  min-height: 42px;
  padding: 0 12px;
}

.dashboard-shell .sidebar a:hover {
  background: rgba(20, 184, 138, 0.09);
  border-color: rgba(20, 184, 138, 0.12);
}

.dashboard-shell .sidebar a.is-active {
  background: rgba(20, 184, 138, 0.16);
  border-color: rgba(20, 184, 138, 0.18);
  color: #ffffff;
}

.dashboard-shell .dashboard-content {
  padding: clamp(24px, 3vw, 36px);
}

.dashboard-shell .eyebrow {
  color: #c8d3e1;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.dashboard-shell .dashboard-topbar {
  align-items: start;
  margin-bottom: 30px;
}

.dashboard-shell .dashboard-content h1 {
  color: var(--admin-text);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 780;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.dashboard-shell .dashboard-content p {
  color: var(--admin-soft);
  font-size: 15px;
  line-height: 1.55;
}

.dashboard-shell .dashboard-topbar form {
  margin-left: auto;
}

.dashboard-shell .button {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 760;
  min-height: 40px;
  padding: 0 16px;
}

.dashboard-shell .button--primary {
  background: var(--admin-primary);
  color: var(--admin-primary-ink);
  box-shadow: none;
}

.dashboard-shell .button--primary:hover {
  background: var(--admin-primary-hover);
}

.dashboard-shell .button--ghost-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--admin-line-strong);
  color: var(--admin-soft);
}

.dashboard-shell .button--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
}

.dashboard-shell .dashboard-topbar .button--ghost-dark {
  background: rgba(255, 255, 255, 0.9);
  border-color: transparent;
  color: #334155;
}

.dashboard-shell .kpi-grid {
  gap: 14px;
  margin-top: 18px;
}

.dashboard-shell .kpi-grid article,
.dashboard-shell .admin-card {
  background: var(--admin-card);
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  box-shadow: none;
}

.dashboard-shell .kpi-grid article {
  min-height: 104px;
  padding: 20px;
}

.dashboard-shell .kpi-grid span {
  color: var(--admin-muted);
  font-size: 14px;
  font-weight: 560;
}

.dashboard-shell .kpi-grid strong {
  color: var(--admin-text);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.dashboard-shell .admin-section {
  gap: 20px;
  margin-top: 22px;
}

.dashboard-shell .admin-grid {
  gap: 18px;
}

.dashboard-shell .admin-card {
  color: var(--admin-text);
  padding: 22px;
}

.dashboard-shell .admin-card__header {
  align-items: start;
  gap: 18px;
  margin-bottom: 20px;
}

.dashboard-shell .admin-card h2 {
  color: var(--admin-text);
  font-size: 24px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.15;
}

.dashboard-shell .admin-list {
  display: grid;
  gap: 10px;
}

.dashboard-shell .admin-list .muted,
.dashboard-shell .muted {
  color: var(--admin-muted);
}

.dashboard-shell .orders-filters,
.dashboard-shell .inline-admin-form,
.dashboard-shell .admin-form,
.dashboard-shell .settings-grid {
  gap: 14px;
}

.dashboard-shell .orders-filters {
  align-items: end;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(150px, 0.72fr) minmax(150px, 0.72fr) 120px minmax(150px, 0.68fr);
}

.dashboard-shell .inline-admin-form {
  align-items: end;
  grid-template-columns: minmax(180px, 1fr) 100px 124px;
}

.dashboard-shell .admin-form label,
.dashboard-shell .settings-grid label,
.dashboard-shell .orders-filters label,
.dashboard-shell .inline-admin-form label {
  color: var(--admin-soft);
  font-size: 13px;
  font-weight: 680;
  gap: 8px;
  letter-spacing: 0;
}

.dashboard-shell .inline-admin-form input[type="text"],
.dashboard-shell .admin-form input,
.dashboard-shell .admin-form select,
.dashboard-shell .admin-form textarea,
.dashboard-shell .orders-filters input,
.dashboard-shell .orders-filters select,
.dashboard-shell .settings-grid input,
.dashboard-shell .settings-grid select,
.dashboard-shell .settings-grid textarea {
  background: #101827;
  border: 1px solid var(--admin-line-strong);
  border-radius: 8px;
  color: var(--admin-text);
  font-size: 14px;
  min-height: 42px;
  padding: 9px 12px;
}

.dashboard-shell input::placeholder,
.dashboard-shell textarea::placeholder {
  color: rgba(203, 213, 225, 0.48);
}

.dashboard-shell .check-row {
  align-items: center;
  color: var(--admin-soft);
  display: inline-flex;
  gap: 9px;
  min-height: 42px;
  white-space: nowrap;
}

.dashboard-shell .check-row input[type="checkbox"] {
  accent-color: var(--admin-primary);
  flex: 0 0 auto;
  height: 16px;
  margin: 0;
  width: 16px;
}

.dashboard-shell .icon-button {
  border-color: var(--admin-line-strong);
  color: var(--admin-soft);
  font-size: 18px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  width: 36px;
}

.dashboard-shell .icon-button:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fecaca;
}

.dashboard-shell .order-status {
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  min-height: 26px;
  padding: 5px 9px;
}

.dashboard-shell .admin-list-row,
.dashboard-shell .orders-mini-row {
  background: var(--admin-card-2);
  border: 1px solid var(--admin-line);
  border-radius: 8px;
}

.dashboard-shell .admin-list-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  padding: 12px;
}

.dashboard-shell .product-row {
  grid-template-columns: 30px 46px minmax(0, 1fr) auto auto auto;
}

.dashboard-shell .admin-list--compact .admin-list-row {
  grid-template-columns: 24px minmax(0, 1fr) auto auto auto;
}

.dashboard-shell .admin-list-row strong {
  color: var(--admin-text);
  font-size: 15px;
}

.dashboard-shell .admin-list-row small {
  color: var(--admin-muted);
}

.dashboard-shell .payment-help {
  background: rgba(20, 184, 138, 0.08);
  border: 1px solid rgba(20, 184, 138, 0.18);
  border-radius: 8px;
  color: var(--admin-soft);
  display: grid;
  gap: 6px;
  padding: 12px 14px;
}

.dashboard-shell .payment-help strong {
  color: #eafff8;
  font-size: 14px;
}

.dashboard-shell .payment-help span {
  color: var(--admin-muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.dashboard-shell .payment-connect-card {
  align-items: center;
  background: linear-gradient(135deg, rgba(20, 184, 138, 0.12), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(20, 184, 138, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px;
}

.dashboard-shell .payment-connect-card h3 {
  color: var(--admin-text);
  font-size: 22px;
  margin: 8px 0 6px;
}

.dashboard-shell .payment-connect-card p,
.dashboard-shell .payment-connect-card small {
  color: var(--admin-muted);
  display: block;
  margin: 0;
}

.dashboard-shell .payment-connect-card__status {
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  color: #dbe4ef;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
}

.dashboard-shell .payment-connect-card__status.is-connected {
  background: rgba(20, 184, 138, 0.16);
  border-color: rgba(20, 184, 138, 0.34);
  color: #bbf7d0;
}

.dashboard-shell .payment-connect-card__actions {
  align-items: flex-end;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.dashboard-shell .payment-connect-card__hint {
  color: #fde68a;
  font-size: 13px;
  font-weight: 760;
  max-width: 260px;
  text-align: right;
}

.dashboard-shell .quick-actions a {
  background: rgba(20, 184, 138, 0.1);
  border-color: rgba(20, 184, 138, 0.2);
  border-radius: 8px;
  color: #d7f8ed;
  font-size: 14px;
  min-height: 44px;
  padding: 12px 14px;
}

.dashboard-shell .settings-tabs {
  border-bottom-color: var(--admin-line);
  gap: 4px;
}

.dashboard-shell .settings-tabs button {
  border-radius: 8px 8px 0 0;
  color: var(--admin-muted);
  font-size: 14px;
  font-weight: 720;
  padding: 10px 14px;
}

.dashboard-shell .settings-tabs button.is-active {
  background: rgba(20, 184, 138, 0.12);
  border-bottom-color: var(--admin-primary);
  color: #ffffff;
}

.dashboard-shell .orders-table th,
.dashboard-shell .orders-table td {
  border-bottom-color: var(--admin-line);
  color: var(--admin-soft);
  font-size: 14px;
  padding: 13px 12px;
}

.dashboard-shell .orders-table th {
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.dashboard-shell .polling-note {
  color: var(--admin-muted);
  font-size: 13px;
}

.settings-grid__full {
  grid-column: 1 / -1;
}

.success-note {
  background: #d1fae5 !important;
  border: 1px solid #6ee7b7 !important;
  border-radius: var(--radius);
  color: #065f46 !important;
  font-weight: 900;
  margin: 0;
  padding: 10px 12px;
}

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

.chart-card {
  min-height: 360px;
}

.chart-card h3 {
  margin: 0 0 14px;
}

.chart-card canvas {
  height: 280px !important;
  width: 100% !important;
}

.polling-note {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

.orders-filters {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.orders-filters label {
  color: #cbd5e1;
  display: grid;
  font-weight: 800;
  gap: 7px;
}

.orders-filters input,
.orders-filters select {
  background: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: var(--radius);
  color: #fff;
  font: inherit;
  min-height: 42px;
  padding: 8px 10px;
}

.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  border-collapse: collapse;
  min-width: 920px;
  width: 100%;
}

.orders-table th,
.orders-table td {
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
  padding: 12px 10px;
  text-align: left;
}

.orders-table th {
  color: #94a3b8;
  font-size: 13px;
  text-transform: uppercase;
}

.orders-table tr {
  cursor: pointer;
}

.orders-table tbody tr:hover {
  background: rgba(16, 185, 129, 0.08);
}

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

.orders-empty {
  margin: 16px 0 0;
}

.order-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  padding: 6px 9px;
  white-space: nowrap;
}

.order-status--new {
  animation: pulse-status 1.2s infinite;
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
}

.order-status--confirmed {
  background: rgba(249, 115, 22, 0.18);
  color: #fed7aa;
}

.order-status--preparing {
  background: rgba(234, 179, 8, 0.18);
  color: #fef08a;
}

.order-status--ready {
  background: rgba(59, 130, 246, 0.18);
  color: #bfdbfe;
}

.order-status--delivered {
  background: rgba(16, 185, 129, 0.18);
  color: #a7f3d0;
}

.order-status--cancelled {
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
}

.order-status--payment-pending,
.order-status--payment-in_process {
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
}

.order-status--payment-paid {
  background: rgba(16, 185, 129, 0.18);
  color: #a7f3d0;
}

.order-status--payment-rejected,
.order-status--payment-cancelled,
.order-status--payment-refunded {
  background: rgba(239, 68, 68, 0.14);
  color: #fecaca;
}

@keyframes pulse-status {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.36);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
}

.admin-modal .modal__dialog {
  background: #111827;
  color: #fff;
}

.admin-order-dialog h2,
.admin-order-dialog h3 {
  margin: 0 0 12px;
}

.order-detail-grid {
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: var(--radius);
  display: grid;
  gap: 0;
  grid-template-columns: 120px minmax(0, 1fr);
  margin: 16px 0;
  overflow: hidden;
}

.order-detail-grid span,
.order-detail-grid strong {
  border-bottom: 1px solid rgba(226, 232, 240, 0.1);
  padding: 10px;
}

.order-detail-grid span {
  color: #94a3b8;
}

.order-items-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.order-items-list > li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: var(--radius);
  display: grid;
  gap: 6px;
  padding: 12px;
}

.order-items-list li span {
  color: #cbd5e1;
}

.order-items-list ul {
  color: #94a3b8;
  margin: 0;
  padding-left: 18px;
}

.order-total-line {
  align-items: center;
  border-top: 1px solid rgba(226, 232, 240, 0.12);
  display: flex;
  font-size: 22px;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

@media (max-width: 820px) {
  .feature-grid,
  .landing-hero,
  .register-page,
  .register-field-grid,
  .steps-grid,
  .landing-benefits,
  .landing-proof,
  .landing-showcase,
  .landing-benefit-band,
  .kpi-grid,
  .dashboard-shell,
  .admin-grid,
  .orders-filters,
  .inline-admin-form,
  .admin-list-row,
  .product-row,
  .extra-row,
  .admin-form--inline,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-grid input,
  .settings-grid select,
  .settings-grid textarea {
    max-width: 100%;
    min-width: 0;
  }

  .settings-form {
    overflow-x: hidden;
  }

  .admin-card {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .dashboard-shell .payment-connect-card {
    grid-template-columns: 1fr;
  }

  .dashboard-shell .payment-connect-card__actions {
    justify-items: stretch;
  }

  .dashboard-shell .payment-connect-card__actions .check-row {
    font-size: 13px;
    white-space: normal;
  }

  .dashboard-shell .payment-connect-card__hint {
    max-width: none;
    text-align: left;
  }

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

  .dashboard-shell {
    min-height: auto;
  }

  .landing-hero {
    gap: 34px;
    min-height: auto;
    padding-top: 52px;
  }

  .register-page {
    gap: 28px;
    min-height: auto;
    padding-bottom: 42px;
    padding-top: 36px;
  }

  .register-page::before {
    height: 260px;
    right: -80px;
    top: 210px;
    width: 260px;
  }

  .register-back {
    margin-bottom: 24px;
  }

  .register-copy {
    max-width: none;
  }

  .register-copy h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .register-card__header {
    align-items: stretch;
    flex-direction: column;
  }

  .register-card__header strong {
    justify-self: start;
    width: max-content;
  }

  .register-modal {
    align-items: start;
    padding: 10px;
  }

  .register-modal__dialog {
    max-height: calc(100dvh - 20px);
    max-width: none;
  }

  .register-card--modal {
    padding: 22px;
  }

  .register-modal__close {
    height: 36px;
    right: 10px;
    top: 10px;
    width: 36px;
  }

  .landing-hero h1 {
    font-size: clamp(44px, 16vw, 66px);
  }

  .landing-preview {
    min-height: 470px;
  }

  .landing-preview::before {
    height: 280px;
    right: 50%;
    top: 88px;
    transform: translateX(50%) rotate(-10deg);
    width: 280px;
  }

  .ticket-strip {
    left: 0;
    top: 0;
  }

  .phone-preview {
    margin: 0 auto;
    max-width: 300px;
    min-height: 500px;
    transform: rotate(0);
  }

  .order-preview {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: min(230px, calc(100vw - 48px));
  }

  .landing-proof article {
    min-height: auto;
    padding: 22px 24px;
  }

  .landing-proof strong {
    font-size: clamp(34px, 13vw, 48px);
  }

  .landing-proof span {
    max-width: none;
  }

  .landing-section {
    padding-bottom: 56px;
    padding-top: 56px;
  }

  .kanban-preview {
    transform: none;
  }

  .sidebar {
    border-bottom: 1px solid rgba(226, 232, 240, 0.12);
    border-right: 0;
  }

  .store-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .storefront-hero {
    min-height: 220px;
  }

  .storefront-hero__overlay {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    min-height: 220px;
    padding: 24px 16px;
  }

  .storefront-identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .storefront-hero h1 {
    font-size: 28px;
  }

  .status-block {
    align-items: flex-start;
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }

  .schedule-info {
    font-size: 12px;
  }

  .storefront-toolbar {
    gap: 10px;
    padding: 12px 16px;
    position: static;
  }

  .storefront-toolbar .mode-selector {
    flex-shrink: 0;
  }

  .closed-notice {
    flex-direction: column;
    gap: 6px;
    margin: 16px;
    text-align: center;
  }

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

  .menu-card__image {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .cart-fab {
    bottom: 14px;
    left: 75px;
    justify-content: center;
    right: 14px;
  }

  .whatsapp-fab {
    bottom: 14px;
    height: 46px;
    left: 14px;
    width: 46px;
  }

  .orders-mini-row {
    grid-template-columns: 1fr;
  }

  /* === Admin Dashboard Mobile === */
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-bottom: 1px solid rgba(226, 232, 240, 0.12);
    border-right: 0;
    padding: 12px 16px;
    white-space: normal;
  }

  .sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .sidebar nav a {
    font-size: 13px;
    padding: 6px 10px;
  }

  .dashboard-content {
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
    padding: 16px;
  }

  .dashboard-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .kpi-grid {
    gap: 10px;
  }

  .kpi-grid article {
    padding: 12px;
  }

  /* Admin tables responsive */
  .orders-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .orders-table {
    font-size: 13px;
    min-width: 600px;
  }

  .orders-table th,
  .orders-table td {
    padding: 8px 6px;
  }

  .table-actions--icons {
    gap: 4px;
  }

  /* Admin cards */
  .admin-card {
    padding: 14px;
  }

  .admin-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Admin forms */
  .admin-form label,
  .admin-form .admin-field {
    font-size: 14px;
  }

  .modal__dialog {
    border-radius: 0;
    height: 100dvh;
    margin: 0;
    max-height: 100dvh;
    max-width: none;
    padding: 16px;
    width: 100vw;
  }
  .modal {
    padding: 0;
  }

  /* Settings tabs */
  .tab-list {
    flex-wrap: wrap;
    gap: 4px;
  }

  .tab-list button {
    font-size: 13px;
    padding: 8px 10px;
  }

  /* Reports */
  .reports-filters {
    flex-direction: column;
    gap: 10px;
  }

  .chart-container {
    min-height: 200px;
  }

  /* Sidebar toggle on mobile */
  .sidebar-toggle {
    display: none;
  }

  /* Product modal on mobile */
  .product-modal-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Checkout form on mobile */
  .checkout-form {
    padding: 16px;
  }

  /* Cart panel mobile */
  .cart-panel {
    max-width: 100vw;
    width: 100vw;
  }

  .cart-line {
    gap: 8px;
  }

  .cart-line__actions {
    gap: 6px;
  }

  .qty-stepper--small .qty-stepper__btn {
    height: 26px;
    width: 26px;
  }

  .qty-stepper--small .qty-stepper__val {
    height: 26px;
    min-width: 28px;
  }

  .cat-add-form {
    flex-wrap: wrap;
  }
  .cat-add-form input[type="text"] {
    width: 100%;
    flex: none;
  }
  .cat-add-form input[type="number"] {
    flex: 1;
    min-width: 0;
  }
  .cat-row {
    flex-wrap: wrap;
  }
  .cat-row__name {
    width: 100%;
    flex: none;
  }
  .cat-row small[data-zone-prices] {
    font-size: 0.75rem;
    color: #94a3b8;
  }
  .cat-row .cat-row__input[type="number"] {
    width: 60px;
    flex: 1;
  }

  .schedule-table-wrap {
    overflow-x: visible;
  }
  .schedule-table {
    min-width: 0;
    width: 100%;
  }
  .schedule-table thead {
    display: none;
  }
  .schedule-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.15);
    max-width: 50%;
  }
  .schedule-table tbody tr td:first-child {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }
  .schedule-table input[type="time"] {
    padding: 4px 4px;
    font-size: 0.75rem;
    min-height: 28px;
    width: 100%;
    box-sizing: border-box;
  }
  .schedule-table tbody tr td:nth-child(2)::before {
    content: 'Turno 1 desde';
    display: block;
    font-size: 0.6rem;
    color: #94a3b8;
    margin-bottom: 2px;
  }
  .schedule-table tbody tr td:nth-child(3)::before {
    content: 'Turno 1 hasta';
    display: block;
    font-size: 0.6rem;
    color: #94a3b8;
    margin-bottom: 2px;
  }
  .schedule-table tbody tr td:nth-child(4)::before {
    content: 'Turno 2 desde';
    display: block;
    font-size: 0.6rem;
    color: #94a3b8;
    margin-bottom: 2px;
  }
  .schedule-table tbody tr td:nth-child(5)::before {
    content: 'Turno 2 hasta';
    display: block;
    font-size: 0.6rem;
    color: #94a3b8;
    margin-bottom: 2px;
  }
}

/* Footer */
.site-footer {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    background: transparent;
    border: none;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.site-footer a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
}
.site-footer a:hover {
    color: #10b981;
    text-decoration: underline;
}
[data-theme="light"] .site-footer {
    color: rgba(0,0,0,0.35);
}
[data-theme="light"] .site-footer a {
    color: rgba(0,0,0,0.5);
}
[data-theme="light"] .site-footer a:hover {
    color: #10b981;
}

/* Field validation errors */
.field-error {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Password toggle */
.password-field {
    position: relative;
    display: flex;
    align-items: center;
}
.password-field input {
    flex: 1;
    padding-right: 2.5rem;
}
.password-toggle {
    position: absolute;
    right: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    padding: 0.25rem;
    display: flex;
    align-items: center;
}
.password-toggle:hover {
    color: #ccc;
}

/* Theme toggle */
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
[data-theme-toggle] svg {
    pointer-events: none;
}
[data-theme-toggle] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

/* Light theme */
[data-theme="light"] .dashboard-shell,
[data-theme="light"] .dashboard-content,
[data-theme="light"] .sidebar {
    background: #f8f9fa;
    color: #1a1a2e;
}
[data-theme="light"] .dashboard-shell[data-superadmin-root] {
    background: #eef2f7;
}
[data-theme="light"] .sidebar {
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
}
[data-theme="light"] .sidebar a {
    color: #475569;
}
[data-theme="light"] .sidebar a.is-active {
    color: #10b981;
    background: #f0fdf4;
}
[data-theme="light"] .kpi-grid article {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1a1a2e;
}
[data-theme="light"] .kpi-grid article span {
    color: #64748b;
}
[data-theme="light"] .admin-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
[data-theme="light"] .admin-card__header {
    border-bottom-color: #e2e8f0;
}
[data-theme="light"] .orders-table th {
    background: #f1f5f9;
    color: #475569;
}
[data-theme="light"] .orders-table td {
    border-bottom-color: #e2e8f0;
    color: #334155;
}
[data-theme="light"] .orders-table tr:hover td {
    background: #f8fafc;
}
[data-theme="light"] .button--ghost-dark {
    color: #475569;
    border-color: #cbd5e1;
}
[data-theme="light"] .button--ghost-dark:hover {
    background: #f1f5f9;
    color: #1a1a2e;
}
[data-theme="light"] .modal__dialog {
    background: #ffffff;
    color: #1a1a2e;
}
[data-theme="light"] .dashboard-topbar h1,
[data-theme="light"] .dashboard-topbar p,
[data-theme="light"] .eyebrow {
    color: #334155;
}
[data-theme="light"] .dashboard-topbar strong {
    color: #10b981;
}
[data-theme="light"] .auth-card {
    background: #ffffff;
    color: #1a1a2e;
}
[data-theme="light"] .page-shell {
    background: #f8f9fa;
}

[data-theme="light"] {
    color: #1a1a2e;
}
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] strong,
[data-theme="light"] label,
[data-theme="light"] p {
    color: #1a1a2e;
}
[data-theme="light"] .sidebar strong {
    color: #1a1a2e;
}
[data-theme="light"] .kpi-grid article strong {
    color: #1a1a2e;
}
[data-theme="light"] .polling-note,
[data-theme="light"] .eyebrow {
    color: #64748b;
}

[data-theme="light"] .admin-list-row {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #1a1a2e;
}
[data-theme="light"] .admin-list-row strong {
    color: #1e293b;
}
[data-theme="light"] .admin-list-row small {
    color: #64748b;
}
[data-theme="light"] .orders-mini-row {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #1a1a2e;
}
[data-theme="light"] .orders-mini-row strong {
    color: #1e293b;
}
[data-theme="light"] .orders-mini-row small {
    color: #64748b;
}
[data-theme="light"] .orders-mini-row em {
    color: #334155;
}
[data-theme="light"] .quick-actions a {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    color: #065f46;
}
[data-theme="light"] .quick-actions a:hover {
    background: rgba(16, 185, 129, 0.15);
}
[data-theme="light"] .admin-form input,
[data-theme="light"] .admin-form select,
[data-theme="light"] .admin-form textarea,
[data-theme="light"] .inline-admin-form input,
[data-theme="light"] .inline-admin-form select,
[data-theme="light"] .orders-filters input,
[data-theme="light"] .orders-filters select,
[data-theme="light"] .admin-date-input {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1a1a2e;
}
[data-theme="light"] .admin-form label,
[data-theme="light"] .inline-admin-form label,
[data-theme="light"] .orders-filters label {
    color: #334155;
}
[data-theme="light"] .settings-tabs {
    border-bottom-color: #e2e8f0;
}
[data-theme="light"] .settings-tabs button {
    color: #64748b;
}
[data-theme="light"] .settings-tabs button.is-active {
    color: #1a1a2e;
}
[data-theme="light"] .settings-grid label {
    color: #334155;
}
[data-theme="light"] .settings-grid input,
[data-theme="light"] .settings-grid select,
[data-theme="light"] .settings-grid textarea {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1a1a2e;
}
[data-theme="light"] .payment-connect-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}
[data-theme="light"] .payment-connect-card h3 {
    color: #1e293b;
}
[data-theme="light"] .payment-connect-card p,
[data-theme="light"] .payment-connect-card small {
    color: #475569;
}
[data-theme="light"] .muted {
    color: #64748b;
}
[data-theme="light"] .admin-card h2 {
    color: #1e293b;
}
[data-theme="light"] .admin-card h3 {
    color: #1e293b;
}
[data-theme="light"] .admin-card .eyebrow {
    color: #64748b;
}
[data-theme="light"] .check-row {
    color: #334155;
}
[data-theme="light"] .drag-handle {
    color: #94a3b8;
}
[data-theme="light"] .product-row img {
    border-color: #e2e8f0;
}
[data-theme="light"] .row-thumb {
    background: #e2e8f0;
}
[data-theme="light"] .icon-button {
    color: #64748b;
}
[data-theme="light"] .icon-button:hover {
    color: #dc2626;
}
[data-theme="light"] .form-error {
    color: #dc2626;
}
[data-theme="light"] .success-note {
    color: #059669;
}
[data-theme="light"] .extras-editor h3 {
    color: #1e293b;
}
[data-theme="light"] .modal__dialog input,
[data-theme="light"] .modal__dialog select,
[data-theme="light"] .modal__dialog textarea {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1a1a2e;
}
[data-theme="light"] .modal__dialog label {
    color: #334155;
}
[data-theme="light"] .order-status {
    color: #334155;
}
[data-theme="light"] .flash {
    color: #1a1a2e;
}

.btn-icon-save {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: var(--radius);
}

/* Categories compact */
.admin-card--compact {
    padding: 14px;
}
.admin-card--compact .admin-card__header {
    padding: 0 0 10px;
    margin-bottom: 0;
}
.cat-add-form {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}
.cat-add-form input[type="text"] {
    flex: 1;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: var(--radius);
    color: #fff;
    font: inherit;
    padding: 8px 10px;
    min-height: 36px;
    font-size: 0.85rem;
}
.btn-icon--add {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    width: 36px;
    height: 36px;
    min-width: 36px;
}
.btn-icon--add:hover {
    background: #0ea574;
}
.cat-list {
    display: grid;
    gap: 4px;
}
.cat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(226, 232, 240, 0.1);
    border-radius: var(--radius);
    font-size: 0.85rem;
}
.cat-row .drag-handle {
    cursor: grab;
    color: #64748b;
    font-size: 0.75rem;
    user-select: none;
    letter-spacing: -2px;
}
.cat-row__name {
    flex: 1;
    color: #fff;
    font-weight: 600;
}
.cat-row__input {
    flex: 1;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    color: #fff;
    font: inherit;
    font-size: 0.85rem;
    padding: 4px 8px;
    min-height: 28px;
}
.cat-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.cat-badge--active {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}
.cat-badge--active:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}
.cat-badge--inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}
.cat-badge--inactive:hover {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}
.cat-row .btn-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Light theme categories */
[data-theme="light"] .cat-add-form input[type="text"] {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1a1a2e;
}
[data-theme="light"] .cat-row {
    background: #f8fafc;
    border-color: #e2e8f0;
}
[data-theme="light"] .cat-row__name {
    color: #1e293b;
}
[data-theme="light"] .cat-row__input {
    background: #fff;
    border-color: var(--primary);
    color: #1a1a2e;
}
[data-theme="light"] .cat-badge--active {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}
[data-theme="light"] .cat-badge--inactive {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Product modal compact */
.admin-modal .admin-form h2 {
    font-size: 1.1rem;
    margin: 0;
}
.admin-modal .admin-form .eyebrow {
    margin: 0;
    font-size: 0.7rem;
}
.admin-modal .extras-editor {
    border-top: 1px solid rgba(226, 232, 240, 0.12);
    padding-top: 10px;
    margin-top: 4px;
}
.admin-modal .extras-editor h3 {
    font-size: 0.9rem;
    margin: 0;
}
.admin-modal .extras-editor .admin-card__header {
    padding: 0 0 6px;
    border: none;
}
.extra-row .check-row {
    font-size: 0.75rem;
    gap: 3px;
    white-space: nowrap;
}

[data-theme="light"] .extra-group,
[data-theme="light"] .extra-row {
    background: #f8fafc;
    border-color: #e2e8f0;
}
[data-theme="light"] .extra-field {
    color: #475569;
}

.product-id {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    min-width: 30px;
}
[data-theme="light"] .product-id {
    color: #94a3b8;
}

.sidebar-toggle {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.15);
  border-radius: var(--radius);
  color: #94a3b8;
  cursor: pointer;
  transition: left 0.2s, background 0.2s;
}
.sidebar-toggle:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.dashboard-shell:not(.sidebar-collapsed) .sidebar-toggle {
  left: 206px;
}
[data-theme="light"] .sidebar-toggle {
  background: #fff;
  border-color: #e2e8f0;
  color: #64748b;
}
[data-theme="light"] .sidebar-toggle:hover {
  background: #f0fdf4;
  color: #10b981;
}

/* Zone form inputs */
.cat-add-form input[type="number"] {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: var(--radius);
    color: #fff;
    font: inherit;
    padding: 8px 10px;
    min-height: 36px;
    font-size: 0.85rem;
}
[data-theme="light"] .cat-add-form input[type="number"] {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1a1a2e;
}
.cat-row__input[type="number"] {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    color: #fff;
    font: inherit;
    font-size: 0.85rem;
    padding: 4px 8px;
    min-height: 28px;
}
[data-theme="light"] .cat-row__input[type="number"] {
    background: #fff;
    border-color: var(--primary);
    color: #1a1a2e;
}

/* Cash form select */
.cat-add-form select {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: var(--radius);
    color: #fff;
    font: inherit;
    padding: 8px 10px;
    min-height: 36px;
    font-size: 0.85rem;
}
[data-theme="light"] .cat-add-form select {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1a1a2e;
}

/* Schedule editor table */
.schedule-editor {
    margin-top: 14px;
}
.schedule-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding: 0 4px;
}

.schedule-table {
    border-collapse: collapse;
    font-size: 0.82rem;
    min-width: 520px;
    width: 100%;
}
.schedule-table th {
    text-align: left;
    padding: 4px 6px;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.schedule-table td {
    padding: 3px 4px;
}
.schedule-table input[type="time"] {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: var(--radius);
    color: #fff;
    font: inherit;
    font-size: 0.8rem;
    padding: 4px 6px;
    min-height: 30px;
    width: 100%;
}
.schedule-table .check-row {
    font-size: 0.82rem;
    white-space: nowrap;
    gap: 4px;
}
.schedule-table tr:not(:has([data-day-active]:checked)) input[type="time"] {
    opacity: 0.3;
    pointer-events: none;
}
[data-theme="light"] .schedule-table input[type="time"] {
    background: #fff;
    border-color: #cbd5e1;
    color: #1a1a2e;
}
[data-theme="light"] .schedule-table th {
    color: #64748b;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Icon action buttons */
.table-actions--icons {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: #ccc;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}
.btn-icon:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.btn-icon--danger:hover {
    background: rgba(239,68,68,0.15);
    color: #ef4444;
}
.btn-icon--success:hover {
    background: rgba(16,185,129,0.15);
    color: #10b981;
}
.btn-icon svg {
    pointer-events: none;
}
[data-theme="light"] .btn-icon {
    border-color: #cbd5e1;
    color: #64748b;
}
[data-theme="light"] .btn-icon:hover {
    background: #f1f5f9;
    color: #1a1a2e;
}
[data-theme="light"] .btn-icon--danger:hover {
    background: #fef2f2;
    color: #dc2626;
}
[data-theme="light"] .btn-icon--success:hover {
    background: #f0fdf4;
    color: #16a34a;
}


/* Store button uses store primary color */
.storefront .button--store {
  background: var(--store-primary);
  color: var(--store-btn-text, #fff);
}
.storefront .button--store:hover {
  filter: brightness(1.1);
}

/* Status block with schedule */
.status-block {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}
.schedule-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
}

/* Store address below name */
.storefront-address {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px;
  margin-top: 4px !important;
}

/* Image zoom cursor */
.menu-card__image[data-zoom-image] {
  cursor: zoom-in;
}

/* Image zoom modal */
.image-zoom-overlay {
  align-items: center;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 9999;
}
.image-zoom-overlay img {
  border-radius: 8px;
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
}

/* Category nav dropdown when too many */
.category-nav--dropdown {
  overflow: visible;
  position: relative;
}
.category-nav--dropdown .category-dropdown-toggle {
  align-items: center;
  background: var(--store-surface);
  border: 1px solid var(--store-line);
  border-radius: 6px;
  color: var(--store-muted);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  gap: 6px;
  padding: 8px 14px;
}
.category-nav--dropdown .category-dropdown-toggle::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  content: "";
  display: inline-block;
}
.category-nav--dropdown .category-dropdown-list {
  background: var(--store-surface);
  border: 1px solid var(--store-line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: none;
  left: 0;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px 0;
  position: absolute;
  scrollbar-width: none;
  top: calc(100% + 4px);
  width: 220px;
  z-index: 100;
}
.category-nav--dropdown .category-dropdown-list::-webkit-scrollbar {
  display: none;
}
.category-nav--dropdown .category-dropdown-list.is-open {
  display: block;
}
.category-nav--dropdown .category-dropdown-list a {
  border-radius: 0;
  color: var(--store-text);
  display: block;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  text-decoration: none;
}
.category-nav--dropdown .category-dropdown-list a:hover {
  background: var(--store-primary);
  color: var(--store-btn-text, #fff);
}

/* WhatsApp floating button */
.whatsapp-fab {
  align-items: center;
  background: #25d366;
  border-radius: 50%;
  bottom: 15px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  color: #fff;
  display: flex;
  height: 52px;
  justify-content: center;
  left: 15px;
  position: fixed;
  text-decoration: none;
  width: 52px;
  z-index: 90;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover {
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
  transform: scale(1.08);
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 24px 16px;
    font-size: 0.85rem;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
    margin-top: 48px;
}
.site-footer a {
    color: #334155;
    text-decoration: underline;
    font-weight: 500;
}
.site-footer a:hover {
    color: #0f172a;
}

/* Powered by */
.powered-by {
    text-align: center;
    padding: 20px 16px;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 32px;
}
.powered-by a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
}
.powered-by a:hover {
    text-decoration: underline;
}

/* Payment fee inputs */
.payment-method-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.payment-fee-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #94a3b8;
  white-space: nowrap;
}
.payment-fee-input {
  width: 70px;
  padding: 4px 6px;
  font-size: 0.8rem;
  text-align: center;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: var(--radius);
  color: #fff;
}
[data-theme="light"] .payment-fee-input {
  background: #fff;
  border-color: #cbd5e1;
  color: #1a1a2e;
}

/* Checkout fee row */
.checkout-fee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--store-muted, #64748b);
  border-bottom: 1px solid var(--store-line, #e2e8f0);
}


/* Store search */
.store-search__toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    color: #64748b;
    display: flex;
    align-items: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.store-search__toggle:hover {
    background: rgba(0,0,0,0.05);
}
.storefront--dark .store-search__toggle {
    color: #94a3b8;
}
.storefront--dark .store-search__toggle:hover {
    background: rgba(255,255,255,0.08);
}
.store-search-bar {
    padding: 0 1rem 0.75rem;
}
.store-search-bar[hidden] {
    display: none;
}
.store-search__input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s;
}
.store-search__input:focus {
    border-color: var(--store-primary, #10b981);
}
.storefront--dark .store-search__input {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}
.storefront--dark .store-search__input:focus {
    border-color: var(--store-primary, #10b981);
}

/* Admin search */
.admin-search {
    margin-bottom: 1rem;
}
.admin-search__input {
    width: 60%;
    padding: 0.55rem 1rem;
    border: 1px solid #334155;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #1e293b;
    color: #f1f5f9;
    outline: none;
    transition: border-color 0.2s;
}
.admin-search__input:focus {
    border-color: #10b981;
}
[data-theme="light"] .admin-search__input {
    background: #fff;
    border-color: #cbd5e1;
    color: #1e293b;
}
[data-theme="light"] .admin-search__input:focus {
    border-color: #10b981;
}

/* === Features Grid === */
.landing-features .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.landing-features .features-grid article {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
}

.landing-features .features-grid .feature-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.75rem;
}

.landing-features .features-grid h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #1e293b;
}

.landing-features .features-grid p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* === Pricing === */
.landing-pricing {
    text-align: center;
}

.pricing-card {
    max-width: 420px;
    margin: 2.5rem auto 0;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #16a34a;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin: 1.5rem 0 2rem;
}

.pricing-card__currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.pricing-card__amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.pricing-card__period {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.pricing-card__features li {
    padding: 0.55rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.92rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-card__features li::before {
    content: "\2713";
    color: #16a34a;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

.pricing-card .button {
    width: 100%;
    margin-top: 0.5rem;
}

.pricing-card__note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
}

/* === FAQ === */
.landing-faq .faq-list {
    max-width: 680px;
    margin: 2.5rem auto 0;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-item summary {
    padding: 1.1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 300;
    color: #94a3b8;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    padding: 0 0 1.1rem;
    margin: 0;
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
}

/* === Responsive === */
@media (max-width: 820px) {
    .landing-features .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pricing-card {
        margin: 2rem 1rem 0;
        padding: 2rem 1.25rem;
    }

    .pricing-card__amount {
        font-size: 2.75rem;
    }

    .landing-faq .faq-list {
        margin: 1.5rem 0 0;
    }
}

/* Appearance settings */
.settings-section-title {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 20px 0 12px;
  padding-bottom: 6px;
  text-transform: uppercase;
}
.color-input-row {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.color-input-row input[type=color] {
  border-radius: 4px;
  cursor: pointer;
  height: 36px;
  padding: 2px;
  width: 48px;
}
.color-input-hint {
  color: var(--muted);
  font-size: 12px;
}

/* Multi price (visual) */
.price-multi { display: flex; flex-direction: column; gap: 2px; }
.price-multi__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.price-multi__label { color: var(--store-muted); font-size: 12px; font-weight: 600; }
.price-multi__row strong { font-size: 15px; white-space: nowrap; }
.price-multi--modal { margin: 8px 0 4px; }
.menu-card__footer:has(.price-multi) { align-items: flex-end; }
.settings-hint { color: var(--muted); font-size: 12px; margin: 6px 0 0; line-height: 1.5; }

.mp-method-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mp-method-row .mp-factor { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.mp-method-row .mp-factor input { width: 90px; }
