﻿@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap");

:root {
  --white: #ffffff;
  --gray-50: #f7f8f9;
  --gray-100: #e6ebef;
  --gray-600: #66727b;
  --dark: #36454f;
  --dark-2: #25313a;
  --gold: #c1a347;
  --gold-dark: #987e2c;
  --danger: #b42318;
  --success: #1f7a3f;
  --shadow: 0 18px 45px rgba(37, 49, 58, 0.12);
  font-family: Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--dark-2);
  background: var(--gray-50);
}

.auth-checking body {
  visibility: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--dark-2);
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
  padding: 5px;
  box-shadow: 0 6px 16px rgba(37, 49, 58, 0.1);
}

.brand span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--gold);
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  background: var(--white);
  padding: 10px 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.btn:hover {
  background: var(--gold-dark);
}

.btn-outline {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--gray-100);
}

.btn-small {
  min-height: 38px;
  padding: 9px 14px;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.hero,
.section {
  padding: 70px clamp(18px, 5vw, 72px);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
  min-height: 650px;
  background: linear-gradient(135deg, var(--white), #f4f0df);
}

.kicker {
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 850px;
  margin: 14px 0;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.hero p,
.section-title p,
.about-section p {
  color: var(--gray-600);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-preview {
  position: relative;
}

.hero-preview img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  max-width: 240px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.section-title {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-title h2,
.final-cta h2,
.about-section h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.muted-section {
  background: var(--white);
}

.grid,
.summary-grid {
  display: grid;
  gap: 18px;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.summary-card,
.auth-card,
.public-cart,
.dashboard-table,
.form-block {
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(37, 49, 58, 0.05);
}

.card {
  padding: 22px;
}

.card p {
  color: var(--gray-600);
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: var(--gray-50);
  border-radius: 14px;
}

.steps span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-weight: 800;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.feature-list li,
.tag-cloud span {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  font-weight: 700;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 18px;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.final-cta {
  text-align: center;
  background: var(--dark);
  color: var(--white);
}

.final-cta p {
  color: #d7dde1;
}

.landing-hero-conversion {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 242, 225, 0.9)),
    radial-gradient(circle at 82% 18%, rgba(193, 163, 71, 0.2), transparent 34%);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span,
.trust-strip span,
.comparison-grid span {
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  font-weight: 800;
}

.hero-proof span {
  padding: 9px 12px;
  font-size: 0.9rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: var(--dark);
}

.trust-strip span {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 11px 15px;
}

.resource-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.demo-section {
  background:
    linear-gradient(180deg, var(--gray-50), var(--white));
}

.demo-menu-frame {
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--gray-100);
  border-radius: 18px;
  background: var(--gray-50);
  box-shadow: var(--shadow);
}

.demo-menu-header {
  position: relative;
  background: var(--white);
}

.demo-cover {
  min-height: 230px;
  background:
    linear-gradient(rgba(37, 49, 58, 0.2), rgba(37, 49, 58, 0.5)),
    url("https://images.unsplash.com/photo-1550547660-d9450f859349?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.demo-store-profile {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: -52px 22px 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(37, 49, 58, 0.12);
  transform: translateY(32px);
}

.demo-store-profile img {
  width: 96px;
  height: 96px;
  border: 4px solid var(--white);
  border-radius: 22px;
  object-fit: contain;
  background: var(--white);
}

.demo-store-profile h3 {
  margin: 4px 0;
  font-size: 1.8rem;
}

.demo-store-profile p {
  color: var(--gray-600);
  line-height: 1.5;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-actions span {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--gray-50);
  color: var(--dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.demo-menu-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  padding: 56px 22px 22px;
}

.demo-filter {
  display: grid;
  align-content: start;
  gap: 12px;
}

.demo-filter input {
  width: 100%;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--white);
}

.demo-products {
  min-width: 0;
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.comparison-section {
  background: var(--white);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.comparison-grid span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 12px;
}

.site-footer {
  border-top: 1px solid var(--gray-100);
  color: var(--gray-600);
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 18%, rgba(193, 163, 71, 0.28), transparent 30%),
    linear-gradient(135deg, var(--dark), #202a31 58%, #6d5b25);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 560px);
  gap: 28px;
  min-height: 100vh;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 46px);
}

.auth-hero-panel {
  position: relative;
  display: grid;
  min-height: 620px;
  align-content: space-between;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(37, 49, 58, 0.18), rgba(37, 49, 58, 0.72)),
    url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1100&q=80")
      center/cover;
  color: var(--white);
  box-shadow: var(--shadow);
}

.auth-hero-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(193, 163, 71, 0.34);
  filter: blur(6px);
}

.auth-hero-panel > * {
  position: relative;
  z-index: 1;
}

.auth-hero-panel h1 {
  max-width: 620px;
  margin: 14px 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.auth-hero-panel p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.65;
}

.auth-brand {
  color: var(--white);
}

.auth-brand img,
.dashboard-sidebar .brand img {
  background: rgba(255, 255, 255, 0.94);
}

.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-benefits span,
.auth-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.auth-benefits span {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.auth-pill {
  margin-bottom: 18px;
  background: #f4ecd3;
  color: var(--gold-dark);
}

.auth-card {
  width: min(100%, 460px);
  padding: clamp(24px, 4vw, 42px);
  border-radius: 28px;
}

.auth-card h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.auth-card > p {
  color: var(--gray-600);
  line-height: 1.55;
}

.auth-card.wide {
  width: min(100%, 640px);
}

form {
  display: grid;
  gap: 14px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.span-2 {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 7px;
  color: var(--dark);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  background: var(--white);
  color: var(--dark-2);
  min-height: 46px;
  padding: 12px 13px;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(193, 163, 71, 0.18);
}

.form-message {
  min-height: 22px;
  color: var(--danger);
  font-weight: 700;
}

.form-helper {
  margin-bottom: 0;
  color: var(--gray-600);
  line-height: 1.5;
}

.form-message.success {
  color: var(--success);
}

.auth-link {
  margin: 18px 0 0;
  color: var(--gray-600);
}

.auth-link a {
  color: var(--gold-dark);
  font-weight: 800;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 92px;
}

.password-field button {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 34px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  background: #f4ecd3;
  color: var(--gold-dark);
  cursor: pointer;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 900;
}

.forgot-link {
  width: max-content;
  border: 0;
  background: transparent;
  color: var(--gold-dark);
  cursor: pointer;
  padding: 0;
  font-weight: 900;
  text-align: left;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(37, 49, 58, 0.62);
  backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(100%, 460px);
  padding: 30px;
  border: 1px solid var(--gray-100);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.modal-card p {
  color: var(--gray-600);
  line-height: 1.55;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  font-size: 1.35rem;
}

.dashboard-page {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.dashboard-menu-button,
.dashboard-overlay {
  display: none;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100vh;
  padding: 22px;
  background: var(--dark);
  color: var(--white);
}

.dashboard-sidebar .brand {
  color: var(--white);
}

.dashboard-sidebar nav {
  display: grid;
  gap: 8px;
}

.dashboard-sidebar nav button {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e6ebef;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.dashboard-sidebar nav button.active,
.dashboard-sidebar nav button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-main {
  padding: 26px;
}

.dashboard-toast {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 90;
  max-width: min(420px, calc(100vw - 36px));
  border-radius: 14px;
  background: var(--success);
  color: var(--white);
  box-shadow: var(--shadow);
  padding: 13px 16px;
  font-weight: 900;
}

.dashboard-toast.error {
  background: var(--danger);
}

.dashboard-toast[hidden] {
  display: none;
}

.pwa-install-button {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  padding: 11px 16px;
  font-weight: 900;
}

.pwa-install-button:hover {
  background: var(--dark-2);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.dashboard-top h1 {
  margin: 6px 0 0;
}

.panel {
  display: none;
}

.panel.active {
  display: grid;
  gap: 18px;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-card {
  padding: 20px;
}

.summary-card span {
  color: var(--gray-600);
  font-weight: 800;
}

.summary-card strong {
  display: block;
  margin-top: 8px;
  font-size: 2.1rem;
}

.form-block {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.address-block {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  background: var(--gray-50);
}

.address-block h3,
.address-block p {
  margin-bottom: 0;
}

.address-block p {
  color: var(--gray-600);
  line-height: 1.5;
}

.image-preview {
  display: grid;
  min-height: 120px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #cbd5dc;
  border-radius: 14px;
  background: var(--gray-50);
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 800;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-preview {
  width: 150px;
  min-height: 150px;
  background: var(--white);
}

.logo-preview img {
  object-fit: contain;
  padding: 10px;
}

.cover-preview {
  min-height: 150px;
}

.dashboard-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px;
  border-bottom: 1px solid var(--gray-100);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--gray-50);
  color: var(--dark);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-btn {
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  padding: 8px 10px;
  font-weight: 800;
}

.mini-btn.danger {
  color: var(--danger);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.qr-card img {
  width: 180px;
  height: 180px;
  margin: 12px auto;
}

.qr-controls p {
  margin-bottom: 0;
  color: var(--gray-600);
  line-height: 1.5;
}

.qr-print-area {
  display: grid;
  gap: 18px;
}

.qr-print-header {
  display: none;
}

.qr-general-card {
  max-width: 360px;
}

.qr-card {
  text-align: center;
}

.qr-card h3 {
  margin-bottom: 8px;
}

.qr-card p {
  margin-bottom: 10px;
  color: var(--gray-600);
  font-weight: 800;
}

.qr-card input {
  font-size: 0.78rem;
  text-align: center;
}

.qr-print-grid {
  grid-template-columns: repeat(var(--qr-print-columns, 3), minmax(0, 1fr));
}

.public-menu-header {
  background: var(--white);
}

.cover {
  height: 260px;
  background: linear-gradient(135deg, var(--dark), var(--gold));
  background-position: center;
  background-size: cover;
}

.store-profile {
  display: flex;
  align-items: end;
  gap: 18px;
  max-width: 1180px;
  margin: -54px auto 0;
  padding: 0 18px 24px;
}

.store-profile > div {
  max-width: min(100%, 760px);
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), var(--white) 78%);
  box-shadow: none;
  backdrop-filter: blur(5px);
}

.store-profile img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border: 5px solid var(--white);
  border-radius: 20px;
  background: var(--white);
}

.store-profile h1 {
  margin: 8px 0 4px;
  color: var(--dark-2);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 0 14px rgba(255, 255, 255, 0.8);
}

.store-profile p {
  color: var(--gray-600);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.store-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(37, 49, 58, 0.06);
}

.store-action svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.public-menu-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 330px;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 18px 60px;
}

.public-menu-sidebar,
.public-cart {
  position: sticky;
  top: 16px;
  align-self: start;
}

.category-pills {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.category-pills button {
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  padding: 11px 14px;
  text-align: left;
  font-weight: 800;
}

.category-pills button.active {
  background: var(--gold);
  color: var(--white);
}

.banner-strip {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.ad-slot {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}

.ad-slot-display {
  display: grid;
  min-height: calc(var(--ad-height, 90px) + 22px);
  place-items: center;
  align-content: center;
  margin: 22px auto;
}

.ad-label {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  color: var(--gray-600);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.ad-frame {
  width: var(--ad-width);
  height: var(--ad-height);
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.ad-slot-native {
  margin: 22px auto;
}

.ad-native-frame {
  width: 100%;
  min-height: 90px;
}

.menu-ad-slot {
  margin-top: 0;
}

.menu-native-slot {
  margin-top: 26px;
}

.dashboard-ad-slot {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .ad-slot-display {
    min-height: 72px;
    margin: 18px auto;
  }

  .ad-slot-native {
    margin: 20px auto;
  }
}

.banner {
  min-height: 120px;
  border-radius: 16px;
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: flex;
  align-items: end;
  padding: 18px;
  overflow: hidden;
}

.public-products {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.category-section h2 {
  margin-bottom: 12px;
}

.category-section {
  min-width: 0;
}

.menu-product {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  background: var(--white);
}

.menu-product img {
  width: 150px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
}

.product-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.product-head h3 {
  overflow-wrap: anywhere;
}

.price {
  color: var(--gold-dark);
  font-weight: 900;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  width: max-content;
  margin: 4px 4px 4px 0;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f4ecd3;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.addition-group {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.addition-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.addition-options button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  max-width: 100%;
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  padding: 8px 11px;
  font-size: 0.86rem;
  font-weight: 900;
}

.addition-options button small {
  color: var(--gray-600);
  font-weight: 800;
}

.addition-options button.selected {
  border-color: var(--gold);
  background: #f4ecd3;
  color: var(--gold-dark);
}

.unavailable {
  opacity: 0.56;
}

.public-cart {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.cart-header,
.cart-line,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--gold-dark);
  cursor: pointer;
  font-weight: 900;
}

.cart-line {
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.cart-line small {
  display: block;
  color: var(--gray-600);
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 320px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .cards-grid,
  .steps,
  .resource-cards,
  .audience-grid,
  .comparison-grid,
  .summary-grid,
  .qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-menu-layout {
    grid-template-columns: 1fr;
  }

  .public-menu-sidebar,
  .public-cart {
    position: static;
  }

  .demo-menu-body {
    grid-template-columns: 1fr;
  }

  .demo-filter .category-pills {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open {
    display: flex;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
    padding: 16px;
  }

  .auth-hero-panel {
    min-height: 320px;
    border-radius: 24px;
  }

  .auth-hero-panel h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .trust-strip {
    justify-content: flex-start;
  }

  .demo-store-profile {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .demo-store-profile img {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .landing-hero,
  .about-section,
  .two-columns,
  .dashboard-page {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page {
    padding-top: 64px;
  }

  .dashboard-menu-button {
    position: fixed;
    top: 12px;
    left: 14px;
    z-index: 60;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow);
    padding: 10px 14px;
    font-weight: 900;
  }

  .dashboard-overlay {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: block;
    background: rgba(37, 49, 58, 0.52);
  }

  .dashboard-overlay[hidden] {
    display: none;
  }

  .dashboard-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 55;
    width: min(86vw, 320px);
    height: 100dvh;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: var(--shadow);
  }

  .dashboard-sidebar.open {
    transform: translateX(0);
  }

  .dashboard-main {
    padding: 16px;
  }

  .dashboard-top {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 16px;
    padding-left: 62px;
  }

  .dashboard-top .btn {
    width: 100%;
  }

  .form-block,
  .card,
  .summary-card,
  .auth-card {
    border-radius: 14px;
    padding: 16px;
  }

  .public-menu-layout {
    padding: 16px 12px 120px;
  }

  .public-menu-sidebar {
    position: sticky;
    top: 0;
    z-index: 12;
    padding: 12px 0;
    background: var(--gray-50);
  }

  .category-pills {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .category-pills button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .public-cart {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 30;
    max-height: 48dvh;
    overflow-y: auto;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 620px) {
  .cards-grid,
  .steps,
  .feature-list,
  .summary-grid,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 48px 18px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-actions,
  .auth-card .btn,
  .form-block .btn {
    width: 100%;
  }

  .hero-preview img {
    height: 310px;
  }

  .menu-product {
    grid-template-columns: 1fr;
  }

  .menu-product img {
    width: 100%;
  }

  .product-head,
  .cart-line,
  .cart-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-profile {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-profile img {
    width: 92px;
    height: 92px;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    padding: 12px;
    border-bottom: 1px solid var(--gray-100);
  }

  td {
    border: 0;
    padding: 7px 0;
  }

  td::before {
    content: attr(data-label);
    display: block;
    color: var(--gray-600);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }
}

@media print {
  @page {
    size: A4;
    margin: 10mm;
  }

  body {
    background: #fff;
  }

  .dashboard-mobile-bar,
  .ad-slot,
  .dashboard-sidebar,
  .dashboard-overlay,
  .dashboard-top,
  .panel:not(#panel-qrcode),
  #panel-qrcode > .form-block {
    display: none !important;
  }

  .dashboard-page,
  .dashboard-main,
  #panel-qrcode {
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
  }

  .qr-print-area {
    display: block;
  }

  .qr-print-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10mm;
    padding-bottom: 5mm;
    border-bottom: 1px solid #ddd;
  }

  .qr-print-header img {
    width: 42px;
    height: 42px;
    object-fit: contain;
  }

  .qr-print-header strong,
  .qr-print-header span {
    display: block;
  }

  .qr-general-card {
    display: none;
  }

  .qr-print-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--qr-print-columns, 3), 1fr) !important;
    gap: 8mm;
  }

  .qr-card {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #d7dde1 !important;
    border-radius: 6mm !important;
    box-shadow: none !important;
    padding: 6mm !important;
    text-align: center;
  }

  .qr-card h3 {
    margin: 0 0 3mm;
    font-size: 15pt;
  }

  .qr-card img {
    width: 38mm !important;
    height: 38mm !important;
    margin: 0 auto 3mm !important;
  }

  .qr-card p {
    margin: 0;
    color: #36454f;
    font-size: 9pt;
  }

  .qr-card input {
    display: none;
  }
}

/* Responsive polish */
body {
  overflow-x: hidden;
}

.dashboard-mobile-bar,
.cart-fab,
.cart-backdrop,
.cart-close {
  display: none;
}

.dashboard-main,
.public-menu-layout,
.store-profile {
  width: 100%;
}

.summary-card,
.menu-product,
.form-block,
.card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.summary-card:hover,
.menu-product:hover,
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 49, 58, 0.1);
}

.dashboard-sidebar {
  background:
    linear-gradient(180deg, rgba(193, 163, 71, 0.12), rgba(193, 163, 71, 0)),
    var(--dark);
}

.dashboard-sidebar nav button {
  display: flex;
  align-items: center;
  min-height: 46px;
}

.dashboard-top {
  position: sticky;
  top: 0;
  z-index: 15;
  margin: -26px -26px 24px;
  padding: 20px 26px;
  background: rgba(247, 248, 249, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 235, 239, 0.9);
}

.public-menu-header {
  overflow: hidden;
  border-bottom: 1px solid var(--gray-100);
}

.cover {
  position: relative;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 49, 58, 0.05), rgba(37, 49, 58, 0.45));
}

.store-profile {
  position: relative;
  z-index: 1;
}

.public-menu-sidebar input {
  box-shadow: 0 8px 22px rgba(37, 49, 58, 0.06);
}

.menu-product {
  overflow: hidden;
}

.menu-product > div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.menu-product p {
  margin-bottom: 0;
  color: var(--gray-600);
  line-height: 1.5;
}

.cart-close {
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.cart-header > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1080px) {
  .public-menu-layout {
    max-width: 820px;
  }

  .public-cart {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: sticky;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 24px rgba(37, 49, 58, 0.08);
  }

  .site-nav.open {
    gap: 8px;
    padding-top: 10px;
  }

  .site-nav.open a {
    padding: 12px 0;
    border-top: 1px solid var(--gray-100);
  }

  .dashboard-page {
    display: block;
    padding-top: 72px;
    background: #f2f5f6;
  }

  .dashboard-mobile-bar {
    position: fixed;
    top: 10px;
    right: 10px;
    left: 10px;
    z-index: 70;
    display: grid;
    grid-template-columns: 44px 1fr 52px;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 6px;
    border: 1px solid rgba(230, 235, 239, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 38px rgba(37, 49, 58, 0.16);
    backdrop-filter: blur(14px);
  }

  .dashboard-mobile-bar strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .dashboard-mobile-bar a {
    display: grid;
    min-height: 38px;
    place-items: center;
    border-radius: 12px;
    background: #f4ecd3;
    color: var(--gold-dark);
    font-weight: 900;
  }

  .dashboard-menu-button {
    position: static;
    display: grid;
    width: 40px;
    min-height: 40px;
    place-items: center;
    gap: 4px;
    border: 0;
    border-radius: 12px;
    background: var(--dark);
    box-shadow: none;
    padding: 9px;
  }

  .dashboard-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--white);
  }

  .dashboard-sidebar {
    width: min(82vw, 300px);
    padding-top: 26px;
    border-radius: 0 22px 22px 0;
  }

  .dashboard-sidebar nav {
    gap: 6px;
  }

  .dashboard-sidebar nav button {
    min-height: 48px;
    border-radius: 14px;
  }

  .dashboard-main {
    padding: 12px;
  }

  .dashboard-top {
    position: static;
    margin: 0 0 14px;
    padding: 12px;
    border: 0;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(37, 49, 58, 0.06);
  }

  .dashboard-top h1 {
    font-size: 1.45rem;
  }

  .dashboard-top > .btn {
    display: none;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .summary-card {
    min-height: 112px;
    padding: 16px;
  }

  .summary-card strong {
    font-size: 1.75rem;
  }

  .form-block {
    gap: 12px;
  }

  .public-menu-header {
    border-radius: 0 0 24px 24px;
    box-shadow: 0 16px 34px rgba(37, 49, 58, 0.1);
  }

  .cover {
    height: 210px;
  }

  .store-profile {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: end;
    gap: 12px;
    margin-top: -42px;
    padding: 0 14px 18px;
  }

  .store-profile img {
    width: 82px;
    height: 82px;
    border-width: 4px;
    border-radius: 18px;
  }

  .store-profile h1 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 1.45rem;
    line-height: 1.12;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .store-profile p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .store-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
    grid-column: 1 / -1;
    margin: 4px -14px 0;
    padding: 0 14px 4px;
    scrollbar-width: none;
  }

  .store-actions::-webkit-scrollbar {
    display: none;
  }

  .store-action {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 11px;
  }

  .public-menu-layout {
    gap: 14px;
    max-width: none;
    width: 100%;
    overflow-x: hidden;
    padding: 14px 12px 92px;
  }

  .public-menu-sidebar {
    margin: 0 -12px;
    padding: 12px;
    border-bottom: 1px solid var(--gray-100);
    background: rgba(247, 248, 249, 0.96);
    backdrop-filter: blur(12px);
  }

  .category-pills {
    margin-right: -12px;
    margin-left: -12px;
    padding: 0 12px 4px;
  }

  .category-pills::-webkit-scrollbar {
    display: none;
  }

  .banner {
    min-height: 100px;
    border-radius: 18px;
  }

  .category-section h2 {
    margin: 10px 0 12px;
    font-size: 1.25rem;
  }

  .menu-product {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 10px;
    border-radius: 18px;
  }

  .menu-product img {
    width: 96px;
    height: 96px;
    border-radius: 14px;
  }

  .menu-product > div,
  .product-head,
  .addition-group,
  .note-label,
  .menu-product label {
    min-width: 0;
    max-width: 100%;
  }

  .menu-product input,
  .menu-product select,
  .menu-product textarea,
  .menu-product .btn {
    max-width: 100%;
  }

  .product-head h3 {
    font-size: 1rem;
    line-height: 1.25;
  }

  .menu-product p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.9rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .menu-product label {
    font-size: 0.82rem;
  }

  .addition-options {
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .addition-options::-webkit-scrollbar {
    display: none;
  }

  .addition-options button {
    flex: 0 0 auto;
    max-width: calc(100vw - 150px);
    min-height: 34px;
    padding: 7px 10px;
    white-space: nowrap;
  }

  .public-cart {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    max-height: 82dvh;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    transform: translateY(105%);
    transition: transform 0.24s ease;
  }

  .public-cart.open {
    transform: translateY(0);
  }

  .cart-close {
    display: grid;
  }

  .cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: block;
    background: rgba(37, 49, 58, 0.46);
  }

  .cart-backdrop[hidden] {
    display: none;
  }

  .cart-fab {
    position: fixed;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 56px;
    border: 0;
    border-radius: 18px;
    background: var(--dark);
    color: var(--white);
    box-shadow: 0 18px 44px rgba(37, 49, 58, 0.28);
    padding: 12px 16px;
    font-weight: 900;
  }

  .cart-fab-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 1.1rem;
  }

  .cart-fab strong {
    margin-left: auto;
  }

  .cart-fab[hidden] {
    display: none;
  }
}

@media (max-width: 620px) {
  .hero,
  .section {
    padding: 40px 16px;
  }

  .landing-hero {
    gap: 26px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 12vw, 3rem);
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-preview img {
    height: 250px;
    border-radius: 18px;
  }

  .floating-card {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }

  .auth-shell {
    align-items: start;
    padding: 12px;
  }

  .auth-card {
    margin-top: 10px;
    padding: 22px 16px;
    border-radius: 20px;
  }

  .auth-hero-panel {
    min-height: 250px;
    padding: 20px;
  }

  .auth-hero-panel .brand {
    display: none;
  }

  .auth-hero-panel p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .auth-benefits {
    margin-top: 18px;
  }

  .cards-grid,
  .steps,
  .feature-list,
  .resource-cards,
  .audience-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trust-strip {
    padding: 16px;
  }

  .trust-strip span {
    flex: 1 1 150px;
    text-align: center;
  }

  .demo-menu-frame {
    border-radius: 14px;
  }

  .demo-cover {
    min-height: 170px;
  }

  .demo-store-profile {
    grid-template-columns: 1fr;
    margin: -42px 12px 0;
    padding: 14px;
    transform: translateY(26px);
  }

  .demo-store-profile img {
    width: 74px;
    height: 74px;
  }

  .demo-store-profile h3 {
    font-size: 1.45rem;
  }

  .demo-actions span {
    flex: 1 1 110px;
    text-align: center;
  }

  .demo-menu-body {
    padding: 44px 10px 12px;
  }

  .comparison-grid span {
    min-height: 48px;
  }

  .menu-product {
    grid-template-columns: 86px minmax(0, 1fr);
    overflow: hidden;
  }

  .menu-product img {
    width: 86px;
    height: 86px;
  }

  .product-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .price {
    font-size: 0.95rem;
  }

  .menu-product .btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 420px) {
  .menu-product {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }

  .menu-product img {
    width: 78px;
    height: 78px;
  }

  .addition-options button {
    max-width: calc(100vw - 138px);
  }

  .menu-product .btn {
    font-size: 0.92rem;
  }
}

/* Hard clamp for public menu cards on phones */
@media (max-width: 620px) {
  html,
  body.menu-page,
  .public-menu-header,
  .cover,
  .store-profile,
  .store-profile > div,
  .store-actions,
  .public-menu-layout,
  .public-menu-layout > section,
  .public-products,
  .category-section,
  .menu-product,
  .menu-product > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  body.menu-page {
    position: relative;
    background: var(--gray-50);
  }

  .public-menu-header {
    width: 100dvw;
    max-width: 100dvw;
    overflow: hidden;
  }

  .cover {
    width: 100%;
    max-width: 100%;
  }

  .store-profile {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 12px;
    padding-left: 12px;
  }

  .store-profile > div {
    min-width: 0;
    overflow: hidden;
  }

  .store-actions {
    max-width: 100%;
  }

  .store-action {
    width: 42px;
    min-width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
  }

  .store-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .store-action svg {
    width: 19px;
    height: 19px;
  }

  .public-menu-layout {
    box-sizing: border-box;
    max-width: 100dvw !important;
    padding-right: 10px;
    padding-left: 10px;
  }

  .public-menu-layout > section {
    display: block;
  }

  .public-menu-sidebar {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    overflow: hidden;
  }

  .public-menu-sidebar input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .category-pills {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    overflow: visible;
    padding-right: 0;
    padding-left: 0;
  }

  .category-pills button {
    flex: 1 1 auto;
    min-width: max-content;
    max-width: 100%;
    text-align: center;
  }

  .menu-product {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    max-width: calc(100dvw - 20px) !important;
    padding: 12px;
    margin-right: 0;
    margin-left: 0;
  }

  .menu-product img {
    width: 100%;
    height: 156px;
    margin-bottom: 12px;
    object-fit: cover;
  }

  .product-head {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-head h3,
  .menu-product p,
  .price,
  .badge,
  .addition-group,
  .menu-product label,
  .menu-product input,
  .menu-product .btn {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .addition-options {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .addition-options button {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    white-space: normal;
    text-align: left;
  }

  .addition-options button small {
    min-width: max-content;
    white-space: nowrap;
  }

  .menu-product .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
}


/* ================================================================
   BIOMI MENU · Brand system 2026
   ================================================================ */


:root {
  --white: #ffffff;
  --gray-50: #f4fbfa;
  --gray-100: #dcebea;
  --gray-600: #617178;
  --dark: #0b1324;
  --dark-2: #06101f;
  --gold: #ffc107;
  --gold-dark: #ff7a00;
  --biomi-teal: #0d8f8f;
  --biomi-mint: #28f0b3;
  --biomi-orange: #ff7a00;
  --biomi-yellow: #ffc107;
  --biomi-navy: #0b1324;
  --success: #0d9b76;
  --danger: #d94343;
  --brand-gradient: linear-gradient(135deg, #0d8f8f 0%, #09b99b 52%, #28f0b3 100%);
  --warm-gradient: linear-gradient(135deg, #ffc107, #ff7a00);
  --surface-shadow: 0 18px 55px rgba(11, 19, 36, .10);
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, sans-serif;
}

body { background: #f7fcfb; color: var(--biomi-navy); }
h1, h2, h3, h4, strong, button { letter-spacing: -.02em; }
a { color: var(--biomi-teal); }

.brand { gap: 11px; color: var(--biomi-navy); font-size: 0; font-weight: 900; }
.brand::after { content: "Biomi Menu"; font-size: 1.12rem; letter-spacing: -.04em; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 14px; filter: drop-shadow(0 7px 12px rgba(13,143,143,.18)); }
.site-header { background: rgba(255,255,255,.9); border: 1px solid rgba(13,143,143,.10); box-shadow: 0 10px 40px rgba(11,19,36,.06); backdrop-filter: blur(18px); }
.site-nav a { color: #394850; font-weight: 700; }
.site-nav a:hover { color: var(--biomi-teal); }

.btn { border: 0; border-radius: 14px; background: var(--brand-gradient); box-shadow: 0 10px 24px rgba(13,143,143,.22); font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(13,143,143,.3); }
.btn-outline { color: var(--biomi-teal); background: #fff; border: 1px solid rgba(13,143,143,.24); box-shadow: none; }
.kicker, .auth-pill { color: #087a71; background: #e7fbf5; border: 1px solid rgba(40,240,179,.22); border-radius: 999px; font-weight: 900; letter-spacing: .08em; }

.landing-hero { position: relative; overflow: hidden; min-height: 650px; background: radial-gradient(circle at 12% 22%, rgba(40,240,179,.19), transparent 33%), radial-gradient(circle at 88% 80%, rgba(255,193,7,.16), transparent 30%), linear-gradient(145deg,#f8fffd,#fff); border: 1px solid rgba(13,143,143,.10); border-radius: 38px; box-shadow: var(--surface-shadow); }
.landing-hero::before { content: ""; position: absolute; width: 420px; height: 420px; left: -210px; bottom: -250px; border: 70px solid rgba(13,143,143,.06); border-radius: 50%; }
.hero h1 { color: var(--biomi-navy); font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.065em; }
.hero-copy p { color: #52646b; font-size: 1.12rem; }
.hero-preview { padding: 12px; background: linear-gradient(145deg,rgba(13,143,143,.16),rgba(255,193,7,.18)); border-radius: 32px; transform: rotate(1.5deg); }
.hero-preview img { border-radius: 24px; }
.floating-card { border: 1px solid rgba(40,240,179,.3); border-radius: 18px; box-shadow: 0 20px 45px rgba(11,19,36,.17); }
.hero-proof span, .trust-strip span, .demo-actions span { border-radius: 999px; border: 1px solid #d9efeb; background: #fff; color: #42605f; }
.trust-strip { background: var(--biomi-navy); border-radius: 20px; box-shadow: 0 15px 35px rgba(11,19,36,.16); }
.trust-strip span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); color: #e8fffa; }
.trust-strip span::before { content: "✓"; color: var(--biomi-mint); margin-right: 7px; font-weight: 900; }
.muted-section { background: linear-gradient(145deg,#eafbF7,#f8fffd); }
.card, .steps article, .faq details, .demo-menu-frame, .summary-card, .form-block { border: 1px solid rgba(13,143,143,.11); border-radius: 22px; background: #fff; box-shadow: 0 10px 35px rgba(11,19,36,.07); }
.card:hover, .steps article:hover { border-color: rgba(13,143,143,.3); box-shadow: 0 18px 45px rgba(13,143,143,.12); }
.steps span { background: var(--warm-gradient); box-shadow: 0 8px 18px rgba(255,122,0,.22); }
.resource-cards .card:nth-child(4n+1) { border-top: 4px solid var(--biomi-teal); }
.resource-cards .card:nth-child(4n+2) { border-top: 4px solid var(--biomi-mint); }
.resource-cards .card:nth-child(4n+3) { border-top: 4px solid var(--biomi-yellow); }
.resource-cards .card:nth-child(4n+4) { border-top: 4px solid var(--biomi-orange); }
.final-cta { background: radial-gradient(circle at 80% 20%,rgba(40,240,179,.25),transparent 25%), var(--biomi-navy); border-radius: 30px; }
.site-footer { background: var(--biomi-navy); color: #dcebea; }

/* Access screens */
.auth-page { background: radial-gradient(circle at 12% 15%,rgba(40,240,179,.14),transparent 28%), radial-gradient(circle at 86% 85%,rgba(255,193,7,.12),transparent 27%), #f4fbfa; }
.auth-shell { max-width: 1180px; border-radius: 30px; overflow: hidden; background: white; box-shadow: 0 30px 90px rgba(11,19,36,.16); }
.auth-hero-panel { background: radial-gradient(circle at 85% 15%,rgba(40,240,179,.23),transparent 27%), radial-gradient(circle at 20% 90%,rgba(255,193,7,.2),transparent 35%), var(--biomi-navy); }
.auth-hero-panel::after { background-image: url("../img/brand-symbol.png"); background-size: 370px; background-position: right -90px bottom -100px; background-repeat: no-repeat; opacity: .09; }
.auth-hero-panel h1 { color: white; font-size: clamp(2.2rem,4vw,3.5rem); letter-spacing: -.055em; }
.auth-hero-panel p { color: #c5d8d8; }
.auth-brand { color: white; }
.auth-brand::after { color: white; }
.auth-benefits span { background: rgba(255,255,255,.08); border: 1px solid rgba(40,240,179,.18); color: #eafffa; }
.auth-card { padding: clamp(30px,5vw,64px); }
input, select, textarea { border: 1px solid #d5e5e3; border-radius: 12px; background: #fbfefd; font-family: inherit; }
input:focus, select:focus, textarea:focus { border-color: var(--biomi-teal); box-shadow: 0 0 0 4px rgba(13,143,143,.10); outline: none; }

/* Admin */
.dashboard-page { background: #f3f9f8; }
.dashboard-sidebar { background: radial-gradient(circle at 50% 0,rgba(40,240,179,.16),transparent 25%), var(--biomi-navy); border-right: 0; box-shadow: 16px 0 45px rgba(11,19,36,.12); }
.dashboard-sidebar .brand, .dashboard-sidebar .brand::after { color: white; }
.dashboard-sidebar .brand img { width: 46px; height: 46px; }
.dashboard-sidebar nav button { color: #a9c2c1; border-radius: 12px; font-weight: 800; }
.dashboard-sidebar nav button:hover, .dashboard-sidebar nav button.active { color: white; background: linear-gradient(90deg,rgba(13,143,143,.65),rgba(40,240,179,.13)); box-shadow: inset 3px 0 var(--biomi-mint); }
.dashboard-top { background: rgba(255,255,255,.86); border: 1px solid rgba(13,143,143,.10); border-radius: 22px; box-shadow: 0 10px 35px rgba(11,19,36,.06); backdrop-filter: blur(15px); }
.summary-card { position: relative; overflow: hidden; }
.summary-card::after { content: ""; position: absolute; width: 70px; height: 70px; right: -20px; bottom: -28px; border-radius: 50%; background: rgba(40,240,179,.12); }
.summary-card strong { color: var(--biomi-teal); }
.mini-btn { border-radius: 10px; background: #e7fbf5; color: #087a71; }
.dashboard-mobile-bar { background: var(--biomi-navy); color: white; }

/* Public menu */
.menu-page { background: #f5fbfa; }
.public-menu-header { background: var(--biomi-navy); }
.cover { min-height: 260px; }
.cover::after { background: linear-gradient(180deg,rgba(11,19,36,.03),rgba(11,19,36,.88)); }
.store-profile { border-radius: 26px; background: rgba(255,255,255,.96); border: 1px solid rgba(40,240,179,.2); box-shadow: 0 22px 60px rgba(2,12,22,.25); backdrop-filter: blur(15px); }
.store-profile img { border: 4px solid #fff; border-radius: 20px; box-shadow: 0 12px 30px rgba(11,19,36,.18); }
.store-action { background: #e7fbf5; color: #087a71; border-radius: 999px; font-weight: 800; }
.public-menu-sidebar { background: white; border: 1px solid #dcebea; border-radius: 20px; box-shadow: 0 10px 30px rgba(11,19,36,.06); }
.category-pills button { border-radius: 999px; border: 1px solid #d6e9e6; background: white; }
.category-pills button.active { background: var(--brand-gradient); border-color: transparent; box-shadow: 0 7px 18px rgba(13,143,143,.2); }
.menu-product { border-radius: 20px; border: 1px solid rgba(13,143,143,.11); box-shadow: 0 9px 28px rgba(11,19,36,.07); }
.menu-product img { border-radius: 15px; }
.price { color: var(--biomi-teal); font-weight: 900; }
.badge { color: #7b4a00; background: #fff4cc; }
.addition-options button.selected { border-color: var(--biomi-teal); background: #e7fbf5; }
.public-cart { border-radius: 22px; box-shadow: -12px 0 50px rgba(11,19,36,.14); }
.cart-fab { background: var(--brand-gradient); border-radius: 999px; box-shadow: 0 15px 35px rgba(13,143,143,.32); }
.toast { border-radius: 14px; background: var(--biomi-navy); }
.open-status { display: inline-block; color: #06734f; margin-top: 6px; }
.open-status.closed { color: #a33a32; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.command-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 18px; }
.command-card { border-top: 5px solid var(--biomi-orange); }
.command-card.ready { border-top-color: var(--biomi-teal); opacity: .82; }
.command-item { display: grid; gap: 3px; padding: 10px 0; border-bottom: 1px solid #e4eeec; }
.schedule-grid { border: 1px solid #d5e5e3; border-radius: 14px; padding: 16px; }
.schedule-grid > div { display: grid; grid-template-columns: 110px 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 8px; }
.checklist { list-style: none; padding: 0; display: grid; gap: 7px; }
.checklist .done { color: #087a71; font-weight: 800; }
.danger-zone { margin-top: 24px; border-color: #e5b8b5; }
.content-page { max-width: 900px; }
.content-page > p, .content-page li { color: #52646b; line-height: 1.8; font-size: 1.04rem; }
.content-page h1 { max-width: 850px; font-size: clamp(2.4rem,6vw,4.5rem); line-height: 1.02; letter-spacing: -.05em; }
.content-page h2 { margin-top: 46px; color: var(--biomi-navy); }
.content-page h3 { margin-top: 28px; color: #18383c; }
.content-page ul, .content-page ol { display: grid; gap: 8px; }
.section-note { max-width: 850px; margin: 28px auto 0; padding: 18px; border-left: 4px solid var(--biomi-teal); background: #eafbF7; }
.product-positioning { border-top: 1px solid #dcebea; border-bottom: 1px solid #dcebea; }
.menu-preview { width: 100%; min-height: 680px; border: 1px solid #d5e5e3; border-radius: 18px; background: white; }
.theme-dark.menu-page { background: #111d24; color: #e8f3f1; }
.theme-dark .menu-product,.theme-dark .public-menu-sidebar { background: #17272f; border-color: #29424a; }
.theme-dark .menu-product p { color: #bcd0ce; }
.catalog-only .menu-product .addition-group,
.catalog-only .menu-product label,
.catalog-only [data-add-product],
.catalog-only .public-cart,
.catalog-only .cart-fab,
.catalog-only .cart-backdrop { display: none !important; }

@media (max-width: 820px) {
  .landing-hero { min-height: auto; border-radius: 25px; }
  .hero h1 { font-size: clamp(2.55rem,13vw,4rem); }
  .site-header { border-radius: 0 0 18px 18px; }
  .site-nav { background: white; border: 1px solid #dcebea; box-shadow: 0 20px 50px rgba(11,19,36,.14); }
  .auth-shell { border-radius: 0; }
  .store-profile { border-radius: 22px 22px 0 0; }
  .schedule-grid > div { grid-template-columns: 1fr 1fr; }
}

/* Authentication experience */
.auth-page {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(40,240,179,.18), transparent 26%),
    radial-gradient(circle at 92% 88%, rgba(13,143,143,.16), transparent 30%),
    #eef8f6;
}
.auth-page::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .35; background-image: linear-gradient(rgba(13,143,143,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(13,143,143,.05) 1px,transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom,black,transparent 80%); }
.auth-page .auth-shell { position: relative; grid-template-columns: minmax(390px,1.08fr) minmax(410px,.92fr); gap: 0; width: min(1220px,calc(100% - 48px)); min-height: min(760px,calc(100svh - 48px)); margin: 24px auto; padding: 0; border: 1px solid rgba(13,143,143,.12); border-radius: 34px; background: rgba(255,255,255,.96); box-shadow: 0 32px 100px rgba(11,19,36,.17); }
.auth-page .auth-hero-panel { min-height: 100%; padding: clamp(32px,4.5vw,62px); border: 0; border-radius: 33px 0 0 33px; background: radial-gradient(circle at 82% 15%,rgba(40,240,179,.24),transparent 25%),radial-gradient(circle at 12% 92%,rgba(13,143,143,.42),transparent 37%),linear-gradient(145deg,#07182a,#0b2c3a 56%,#075e5c); box-shadow: none; }
.auth-page .auth-hero-panel::after { right: -110px; bottom: -125px; width: 440px; height: 440px; border-radius: 0; background: url("../img/brand-symbol.png") center/contain no-repeat; opacity: .07; filter: none; transform: rotate(-8deg); }
.auth-page .auth-brand img { width: 52px; height: 52px; padding: 5px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.auth-page .auth-hero-panel h1 { max-width: 650px; margin: 18px 0; font-size: clamp(2.55rem,4.7vw,4.65rem); line-height: .97; letter-spacing: -.06em; }
.auth-page .auth-hero-panel p { max-width: 610px; color: #c9deda; font-size: 1rem; }
.auth-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.auth-feature-grid article { display: flex; align-items: center; gap: 12px; min-height: 82px; padding: 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(255,255,255,.07); backdrop-filter: blur(10px); }
.auth-feature-grid article > span { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 13px; background: rgba(40,240,179,.14); color: #64f3c9; font-weight: 950; }
.auth-feature-grid strong,.auth-feature-grid small { display: block; }
.auth-feature-grid strong { color: #fff; font-size: .88rem; }
.auth-feature-grid small { margin-top: 3px; color: #aec9c5; font-size: .73rem; line-height: 1.35; }
.auth-page .auth-benefits span { border: 1px solid rgba(40,240,179,.19); background: rgba(3,18,31,.24); }
.auth-page .auth-card { position: relative; width: 100%; max-width: 590px; margin: auto; padding: clamp(34px,5vw,68px); border: 0; border-radius: 0 33px 33px 0; background: transparent; box-shadow: none; }
.auth-card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 15px; background: linear-gradient(145deg,#0d8f8f,#075e5c); color: #fff; box-shadow: 0 12px 26px rgba(13,143,143,.22); font-size: 1.35rem; font-weight: 950; }
.auth-page .auth-pill { margin-bottom: 14px; padding: 7px 12px; background: #e6f8f3; color: #087a71; }
.auth-page .auth-card h1 { color: #0b2130; letter-spacing: -.045em; }
.auth-page .auth-card form { margin-top: 26px; gap: 17px; }
.auth-page .auth-card label { color: #294541; font-size: .82rem; letter-spacing: .01em; }
.auth-page .auth-card input { min-height: 52px; border: 1px solid #d7e7e4; border-radius: 15px; background: #f8fbfb; box-shadow: inset 0 1px 2px rgba(11,19,36,.025); transition: border-color .2s,box-shadow .2s,background .2s; }
.auth-page .auth-card input:focus { border-color: #0d8f8f; outline: 0; background: #fff; box-shadow: 0 0 0 4px rgba(13,143,143,.1); }
.auth-page .auth-card .btn { min-height: 52px; border-radius: 15px; background: linear-gradient(135deg,#0d8f8f,#08736d); box-shadow: 0 12px 25px rgba(13,143,143,.2); }
.auth-page .auth-card .btn:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(13,143,143,.27); }
.auth-security-note { display: flex; align-items: center; gap: 8px; margin-top: 22px !important; padding-top: 18px; border-top: 1px solid #e2ecea; color: #71817f !important; font-size: .75rem; }
.auth-security-note span { display: grid; place-items: center; flex: 0 0 21px; height: 21px; border-radius: 50%; background: #e4f8f1; color: #087a71; font-weight: 950; }
.auth-page .forgot-link { color: #087a71; }
.auth-page .password-field button { border-radius: 10px; background: #e7f8f3; color: #087a71; }
.auth-page .pwa-install-button { right: 282px; bottom: 16px; display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 8px 16px 8px 9px; border: 1px solid rgba(13,143,143,.16); background: rgba(255,255,255,.96); color: #173c39; box-shadow: 0 15px 40px rgba(11,19,36,.18); backdrop-filter: blur(14px); }
.auth-page .pwa-install-button:hover { background: #fff; color: #087a71; transform: translateY(-2px); }
.pwa-install-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #0d8f8f; color: #fff; font-size: 1.1rem; }
.install-modal-backdrop { z-index: 10010; }
.install-modal { width: min(470px,calc(100% - 24px)); text-align: left; }
.install-app-mark { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; color: #0b2130; font-weight: 950; }
.install-app-mark img { width: 48px; height: 48px; padding: 4px; border-radius: 14px; background: #edf8f6; }
.install-steps { display: grid; gap: 11px; margin: 22px 0; padding: 0; list-style: none; counter-reset: none; }
.install-steps li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #f2f8f7; color: #405b57; line-height: 1.4; }
.install-steps li > span { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 10px; background: #0d8f8f; color: #fff; font-size: .78rem; font-weight: 950; }
@media (max-width: 900px) {
  .auth-page .auth-shell { grid-template-columns: 1fr; width: min(680px,calc(100% - 24px)); margin: 12px auto 90px; border-radius: 26px; }
  .auth-page .auth-hero-panel { min-height: auto; padding: 28px; border-radius: 25px 25px 0 0; }
  .auth-page .auth-hero-panel h1 { font-size: clamp(2.25rem,9vw,3.5rem); }
  .auth-page .auth-card { max-width: none; border-radius: 0 0 25px 25px; }
  .auth-page .auth-benefits { margin-top: 26px; }
}
@media (max-width: 560px) {
  .auth-feature-grid,.auth-page .two-columns { grid-template-columns: 1fr; }
  .auth-feature-grid article { min-height: 72px; }
  .auth-page .auth-card { padding: 28px 20px; }
  .auth-page .auth-card-icon { margin-bottom: 18px; }
  .auth-page .pwa-install-button { right: 10px; bottom: 78px; }
  .auth-page .language-control { max-width: calc(100% - 20px); }
}

/* Painel simplificado */
.dashboard-sidebar nav button { display: flex; align-items: center; gap: 11px; min-height: 46px; }
.dashboard-sidebar nav button > span:first-child { width: 24px; text-align: center; font-size: 1.15rem; }
.dashboard-sidebar nav button[hidden] { display: none; }
.nav-count { margin-left: auto; min-width: 24px; padding: 2px 7px; border-radius: 999px; background: #ff6b4a; color: #fff; font-size: .75rem; text-align: center; }
.summary-text { font-size: clamp(1rem,2vw,1.35rem) !important; line-height: 1.25; }
.welcome-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(22px,4vw,36px); background: linear-gradient(135deg,#fff 20%,#e9fbf7); }
.welcome-card h2, .panel-heading h2, .editor-head h2 { margin: 5px 0 8px; }
.welcome-card p, .panel-heading p, .editor-head p { margin: 0; color: #607573; }
.section-heading, .editor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.setup-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.setup-list button { display: flex; gap: 10px; align-items: center; padding: 13px 15px; border: 1px solid #dbeae7; border-radius: 14px; background: #fff; color: #233b39; text-align: left; cursor: pointer; }
.setup-list button span { color: var(--biomi-teal); font-weight: 900; }
.setup-list button.done { background: #effaf7; color: #52706c; }
.onboarding-complete { display: flex; gap: 16px; align-items: center; }
.onboarding-complete > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #dff8ef; color: #087a71; font-size: 1.4rem; font-weight: 900; }
.onboarding-complete h2, .onboarding-complete p { margin: 0; }
.onboarding-complete p { margin-top: 5px; color: #607573; }

.menu-heading { align-items: flex-end; }
.category-manager, .advanced-tools, .product-extra { margin: 18px 0; border: 1px solid #dbeae7; border-radius: 16px; background: #fff; }
.category-manager > summary, .advanced-tools > summary, .product-extra > summary { padding: 16px 18px; cursor: pointer; color: #173c39; font-weight: 800; }
.category-manager[open], .advanced-tools[open], .product-extra[open] { padding-bottom: 18px; }
.category-manager[open] > :not(summary), .advanced-tools[open] > :not(summary), .product-extra[open] > :not(summary) { margin-left: 18px; margin-right: 18px; }
.category-manager > form, .category-row { display: flex; gap: 9px; margin-bottom: 10px; }
.category-manager input, .inline-option-form input, .new-group-form input { min-width: 0; }
.category-row input { flex: 1; }
.category-row button[disabled] { opacity: .45; cursor: not-allowed; }
.friendly-help { color: #607573; font-size: .93rem; }
.menu-workspace { display: grid; grid-template-columns: minmax(330px,.8fr) minmax(420px,1.2fr); align-items: start; gap: 22px; }
.product-editor, .friendly-form, .settings-section.active { border: 1px solid rgba(13,143,143,.14); border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(11,19,36,.06); }
.product-editor { position: sticky; top: 18px; padding: clamp(18px,3vw,28px); }
.friendly-form { padding: clamp(18px,3vw,28px); }
.friendly-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.friendly-form-grid label, .product-extra label { display: grid; align-content: start; gap: 5px; color: #173c39; font-weight: 750; }
.friendly-form-grid label > small, .product-extra label > small { min-height: 1.2em; color: #708683; font-size: .79rem; font-weight: 500; line-height: 1.35; }
.friendly-form-grid input:not([type="color"]), .friendly-form-grid select, .friendly-form-grid textarea, .category-manager input, .inline-option-form input, .new-group-form input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cddedb; border-radius: 12px; background: #fbfdfd; color: #172b29; outline: 0; transition: border-color .2s,box-shadow .2s,background .2s; }
.friendly-form-grid textarea { min-height: 105px; resize: vertical; }
.friendly-form-grid input:focus, .friendly-form-grid select:focus, .friendly-form-grid textarea:focus, .category-manager input:focus, .inline-option-form input:focus, .new-group-form input:focus { border-color: var(--biomi-teal); background: #fff; box-shadow: 0 0 0 4px rgba(13,143,143,.11); }
.friendly-form-grid input[type="file"] { padding: 8px; }
.friendly-form-grid input[type="color"] { width: 100%; height: 52px; padding: 5px; border: 1px solid #cddedb; border-radius: 12px; background: #fff; }
.money-input { display: flex; align-items: center; border: 1px solid #cddedb; border-radius: 12px; background: #fbfdfd; overflow: hidden; }
.money-input > span { padding-left: 13px; color: #607573; }
.money-input input { border: 0 !important; box-shadow: none !important; }
.gentle-note { display: flex; gap: 7px; flex-direction: column; margin: 18px 0; padding: 14px 16px; border-radius: 13px; background: #effaf7; color: #42635f; }
.sticky-form-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e1ecea; }
.sticky-form-actions[hidden] { display: none; }
.catalog-groups { display: grid; gap: 18px; }
.catalog-category { padding: 19px; border: 1px solid #dbeae7; border-radius: 20px; background: #fff; }
.category-title, .product-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.category-title { margin-bottom: 14px; }
.category-title h3, .category-title span { margin: 0; }
.category-title span { color: #708683; font-size: .84rem; }
.admin-product-list { display: grid; gap: 10px; }
.admin-product-card { display: grid; grid-template-columns: 70px 1fr auto; gap: 13px; align-items: center; padding: 11px; border: 1px solid #e1ecea; border-radius: 15px; background: #fbfdfd; }
.admin-product-card.muted { opacity: .62; background: #f2f5f4; }
.admin-product-card img, .product-placeholder { width: 70px; height: 70px; border-radius: 11px; object-fit: cover; }
.product-placeholder { display: grid; place-items: center; background: #eaf4f2; color: #75928e; font-size: 1.5rem; }
.admin-product-card p { margin: 4px 0; color: #607573; font-size: .86rem; line-height: 1.35; }
.admin-product-card small { color: #6f8481; }
.product-card-head span { color: #087a71; font-weight: 850; white-space: nowrap; }
.product-actions { display: grid; gap: 6px; }
.soft-empty { padding: 16px; border: 1px dashed #c8dad7; border-radius: 13px; color: #718581; text-align: center; }
.empty-welcome { max-width: 680px; margin: 30px auto; padding: clamp(30px,7vw,65px); border: 1px solid #d7e8e5; border-radius: 25px; background: linear-gradient(145deg,#fff,#eafaf6); text-align: center; }
.empty-welcome > span { display: grid; place-items: center; width: 60px; height: 60px; margin: auto; border-radius: 18px; background: #dff8ef; color: #087a71; font-size: 1.6rem; }
.empty-welcome form { display: flex; gap: 10px; max-width: 450px; margin: 22px auto 0; }
.empty-welcome input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #cddedb; border-radius: 12px; }

.product-extra summary { display: flex; justify-content: space-between; }
.product-extra summary span { color: #708683; font-size: .8rem; }
.extra-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.extra-grid > section { padding: 15px; border-radius: 15px; background: #f7fbfa; }
.extra-grid h4, .extra-grid p { margin: 0 0 7px; }
.extra-grid p { color: #708683; font-size: .82rem; }
.extra-grid form { display: grid; gap: 8px; margin-top: 12px; }
.compact-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #dfeae8; }
.compact-row div { display: grid; }
.compact-row small { color: #708683; }
.inline-option-form { grid-template-columns: 1fr 120px auto !important; }
.new-group-form { grid-template-columns: 1fr 130px 130px auto !important; align-items: end; }
.choice-group { margin: 10px 0; padding: 10px; border: 1px solid #dbe8e6; border-radius: 12px; background: #fff; }
.translation-fields { margin: 18px 0; padding: 0 16px; border: 1px solid #d7e7e4; border-radius: 15px; background: #f8fbfb; }
.translation-fields summary { padding: 15px 0; color: #173c39; font-weight: 850; cursor: pointer; }
.translation-fields summary span, .advanced-tools summary span { color: #708683; font-size: .78rem; font-weight: 650; }
.translation-fields > p { color: #607573; font-size: .86rem; }
.translation-fields[open] { padding-bottom: 16px; }
.dashboard-page .translation-fields,
.dashboard-page [name$="_en"],
.dashboard-page [name$="_es"] { display: none !important; }
.dashboard-page label:has(> textarea[name$="_en"]),
.dashboard-page label:has(> textarea[name$="_es"]) { display: none !important; }
.import-guide { margin: 14px 0; padding: 16px; border: 1px solid #d7e7e4; border-radius: 14px; background: #f8fbfb; }
.import-guide h3 { margin: 0 0 10px; }
.import-guide .table-wrap { overflow-x: auto; }
.import-guide table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .86rem; }
.import-guide th, .import-guide td { padding: 9px 10px; border-bottom: 1px solid #dce9e7; text-align: left; vertical-align: top; }
.import-guide th { color: #244c48; background: #eef7f5; }
.import-guide code { color: #0b6f68; font-weight: 800; }
.banner-admin-list { display: grid; gap: 9px; margin-bottom: 16px !important; }
.banner-admin-list article { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid #dbe8e6; border-radius: 14px; }
.banner-admin-list img { width: 72px; height: 48px; border-radius: 9px; object-fit: cover; }
.banner-admin-list article div { display: grid; }
.banner-admin-list small { color: #708683; }
.banner-form { padding: 16px; border-radius: 15px; background: #f5faf9; }

.settings-tabs { display: flex; gap: 6px; margin: 18px 0; padding: 6px; border-radius: 15px; background: #e8f3f1; overflow-x: auto; }
.settings-tabs button { flex: 1; min-width: max-content; padding: 10px 14px; border: 0; border-radius: 10px; background: transparent; color: #52706c; font-weight: 800; cursor: pointer; }
.settings-tabs button.active { background: #fff; color: #087a71; box-shadow: 0 3px 13px rgba(11,19,36,.08); }
.settings-section { display: none; }
.settings-section.active { display: block; padding: clamp(18px,3vw,28px); }
form.settings-section.active { padding: 0; border: 0; background: transparent; box-shadow: none; }
form.settings-section.active > .settings-section.active { display: block; }
.form-intro { display: flex; gap: 14px; align-items: center; margin-bottom: 23px; }
.form-intro > span { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 14px; background: #e5f8f3; color: #087a71; font-size: 1.25rem; }
.form-intro h3, .form-intro p { margin: 0; }
.form-intro p { margin-top: 3px; color: #607573; }
.channel-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.channel-card { position: relative; display: grid; gap: 8px; min-height: 150px; padding: 19px; border: 2px solid #dbe8e6; border-radius: 17px; background: #fff; cursor: pointer; }
.channel-card input { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; accent-color: var(--biomi-teal); }
.channel-card strong { padding-right: 22px; color: #173c39; }
.channel-card span { color: #607573; font-size: .88rem; line-height: 1.45; }
.channel-card.selected { border-color: var(--biomi-teal); background: #effaf7; box-shadow: 0 0 0 4px rgba(13,143,143,.08); }
.conditional-config { margin-top: 18px; padding: 18px; border-radius: 16px; background: #f5faf9; }
.conditional-config[hidden] { display: none; }
.account-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.account-actions > div { padding: 20px; border: 1px solid #dbe8e6; border-radius: 16px; }
.account-actions p { color: #607573; }
.account-actions .danger-zone { border-color: #f1c8c2; background: #fff8f7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.language-control { position: fixed; z-index: 10002; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; min-width: 210px; padding: 9px 13px; border: 1px solid rgba(13,143,143,.18); border-radius: 16px; background: rgba(255,255,255,.96); color: #0b1324; box-shadow: 0 14px 38px rgba(11,19,36,.18); backdrop-filter: blur(14px); }
.language-control > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #0d8f8f; color: #fff; font-size: 1.15rem; }
.language-control label { flex: 1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; }
.language-control small { color: #718581; font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.language-control select { width: 100%; border: 0; background: transparent; color: #0b1324; font: inherit; font-weight: 800; outline: 0; cursor: pointer; }
.cookie-control { position: fixed; z-index: 10001; left: 16px; bottom: 16px; padding: 11px 15px; border: 1px solid rgba(13,143,143,.18); border-radius: 999px; background: rgba(255,255,255,.96); color: #213936; box-shadow: 0 12px 30px rgba(11,19,36,.15); font-weight: 800; cursor: pointer; }
.biomi-ad { clear: both; display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(100%, 780px); min-height: 122px; margin: 28px auto; padding: 10px; overflow: hidden; border: 1px solid rgba(13,143,143,.10); border-radius: 16px; background: rgba(255,255,255,.72); }
.biomi-ad-label { margin-bottom: 6px; color: #71817f; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.biomi-ad iframe { display: block; max-width: 100%; border: 0; background: transparent; }
.biomi-ad-rectangle { width: min(100%, 332px); min-height: 282px; }
.biomi-ad-dashboard { margin-top: 32px; }
.biomi-ad-menu { margin: 18px auto; }
@media (max-width: 767px) {
  .biomi-ad-leaderboard { display: none; }
  .biomi-ad { margin-block: 20px; }
}
.cookie-banner { position: fixed; z-index: 10003; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; grid-template-columns: auto minmax(260px,1fr) auto; align-items: center; gap: 16px; width: min(880px,calc(100% - 32px)); padding: 18px; border: 1px solid rgba(13,143,143,.18); border-radius: 22px; background: rgba(255,255,255,.98); color: #193330; box-shadow: 0 22px 65px rgba(11,19,36,.24); backdrop-filter: blur(16px); }
.cookie-banner .cookie-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #e2f8f2; color: #087a71; font-size: 1.25rem; }
.cookie-banner strong { display: block; margin-bottom: 4px; font-size: 1.02rem; }
.cookie-banner p { margin: 0 0 4px; color: #5c716e; font-size: .86rem; line-height: 1.45; }
.cookie-banner a { color: #087a71; font-size: .8rem; font-weight: 800; }
.cookie-actions { display: grid; gap: 8px; min-width: 170px; }
.menu-page:not(.catalog-only) .language-control { bottom: 92px; }

@media (max-width: 1100px) {
  .menu-workspace { grid-template-columns: 1fr; }
  .product-editor { position: static; }
  .admin-product-card { grid-template-columns: 62px 1fr; }
  .product-actions { grid-column: 1/-1; display: flex; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .welcome-card, .section-heading, .editor-head, .menu-heading { align-items: stretch; flex-direction: column; }
  .setup-list, .friendly-form-grid, .extra-grid, .channel-cards, .account-actions { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .admin-product-card { grid-template-columns: 54px 1fr; }
  .admin-product-card img, .product-placeholder { width: 54px; height: 54px; }
  .inline-option-form, .new-group-form { grid-template-columns: 1fr !important; }
  .empty-welcome form, .category-manager > form, .category-row { flex-direction: column; }
  .settings-tabs { margin-left: -5px; margin-right: -5px; }
  .schedule-grid > div { grid-template-columns: 85px 1fr; }
  .schedule-grid > div span { display: none; }
  .cookie-banner { bottom: 10px; grid-template-columns: auto 1fr; align-items: start; }
  .cookie-banner .cookie-actions { grid-column: 1/-1; grid-template-columns: 1fr 1fr; width: 100%; }
  .language-control { right: 10px; bottom: 10px; min-width: 180px; }
  .cookie-control { left: 10px; bottom: 10px; }
}

@media print {
  .qr-print-header { border-bottom: 3px solid #0d8f8f !important; }
  .qr-print-header img { width: 54px !important; height: 54px !important; object-fit: contain !important; }
  .qr-card { border: 1px solid #cfe3e0 !important; border-radius: 16px !important; }
  .qr-card h3 { color: #0b1324 !important; }
}


