:root {
  color-scheme: light;
  --surface: #f9f9f8;
  --surface-strong: #ffffff;
  --surface-soft: #f0f3ed;
  --surface-warm: #fff7ed;
  --surface-rose: #fff2f0;
  --ink: #191c1c;
  --muted: #59635d;
  --faint: #87908a;
  --line: #dfe5df;
  --green: #2d4b28;
  --green-2: #46672b;
  --lime: #d9f99d;
  --passion: #f7d8ad;
  --berry: #f5cdc3;
  --plum: #2e0c38;
  --lavender: #e5d7ff;
  --sky: #d0e4ff;
  --blueberry: #d8ddff;
  --warning: #9a5b00;
  --danger: #ba1a1a;
  --success: #2f6a38;
  --shadow: 0 14px 34px rgba(35, 2, 46, 0.07);
  --shadow-soft: 0 8px 20px rgba(45, 75, 40, 0.07);
  --radius: 8px;
  --radius-sm: 8px;
  --container: 1120px;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-body {
  background: #f5f6f4;
  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 44px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow .material-symbols-outlined {
  font-size: 18px;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--font-serif);
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.1rem, 3.2vw, 3.35rem);
  max-width: 620px;
  margin-bottom: 18px;
}

.headline-line {
  display: inline;
}

h2 {
  font-size: clamp(1.55rem, 2.1vw, 2.35rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  max-width: 640px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.55fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

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

.btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 15px;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.icon-btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(70, 103, 43, 0.28);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-lime {
  background: var(--lime);
  color: var(--green);
}

.btn-outline {
  border-color: rgba(45, 75, 40, 0.35);
  color: var(--green);
}

.btn-quiet {
  background: var(--surface-soft);
  color: var(--green);
}

.btn-danger {
  background: #ffdad6;
  color: var(--danger);
}

.material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
  font-variation-settings: "FILL" 0, "wght" 450, "GRAD" 0, "opsz" 24;
}

.icon-btn {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(223, 229, 223, 0.75);
  background: rgba(249, 249, 248, 0.88);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.brand-name span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.nav-links a {
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-button {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 36px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .lead {
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}

.proof-pill {
  border: 1px solid rgba(45, 75, 40, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  min-width: 0;
  padding: 12px;
}

.proof-pill strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1;
}

.proof-pill span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  min-height: 500px;
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(217, 249, 157, 0.78), rgba(245, 205, 195, 0.52) 46%, rgba(208, 228, 255, 0.66)),
    var(--surface-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  content: "";
}

.bottle-stage {
  position: absolute;
  inset: 40px 30px 22px;
  display: grid;
  place-items: center;
}

.bottle-stage img {
  max-height: 450px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 30px rgba(25, 28, 28, 0.18));
  transform: rotate(-3deg);
}

.bottle-stage img[data-cms-image] {
  opacity: 0;
  transition: opacity 180ms ease;
}

.bottle-stage img[data-cms-image].is-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .bottle-stage img[data-cms-image] {
    transition: none;
  }
}

.ingredient-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  padding: 10px 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.ingredient-note:first-of-type {
  top: 52px;
  left: 38px;
}

.ingredient-note:nth-of-type(2) {
  right: 34px;
  bottom: 90px;
}

.ingredient-note:nth-of-type(3) {
  left: 58px;
  bottom: 50px;
}

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

.feature-card,
.benefit-card,
.flavor-card,
.partner-card,
.form-panel,
.story-panel,
.admin-card,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.benefit-card {
  min-width: 0;
  padding: 22px;
}

.feature-card .material-symbols-outlined,
.benefit-card .material-symbols-outlined {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--green);
  margin-bottom: 18px;
}

.feature-card p,
.benefit-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.split-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(217, 249, 157, 0.35), rgba(245, 205, 195, 0.28) 42%, rgba(216, 221, 255, 0.3) 72%, rgba(255, 255, 255, 0.96)),
    var(--surface);
}

.flavor-toolbar,
.locator-toolbar,
.table-toolbar,
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.locator-toolbar.is-hidden {
  display: none !important;
}

.segmented {
  display: inline-flex;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  padding: 5px;
}

.segmented button,
.chip-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.segmented button.is-active,
.chip-button.is-active {
  background: var(--green);
  color: #fff;
}

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

.flavor-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--flavor-color, #d9f99d) 40%, #fff), rgba(255, 255, 255, 0.94) 48%, color-mix(in srgb, var(--flavor-color, #d8ddff) 22%, #fff)),
    #fff;
}

.flavor-card-mobile-open {
  display: none;
}

.flavor-card-media {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 20px 18px 8px;
}

.flavor-card-media img {
  width: auto;
  max-width: 78%;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(25, 28, 28, 0.16));
}

.flavor-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 0 20px 20px;
}

.flavor-kicker {
  color: var(--green);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flavor-card h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.05;
}

.flavor-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  border: 1px solid rgba(45, 75, 40, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--green);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.flavor-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.flavor-card-actions .btn {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 12px;
}

.education-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.process-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
}

.process-card span:first-child {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--green);
  font-weight: 900;
}

.process-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.locator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
  align-items: start;
}

.locator-layout.no-partners {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.locator-layout.no-partners .map-panel {
  display: none;
}

.map-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
}

.map-panel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.partner-list {
  display: grid;
  gap: 12px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.partner-card {
  padding: 18px;
}

.partner-card-cta {
  background:
    linear-gradient(145deg, rgba(217, 249, 157, 0.42), rgba(255, 255, 255, 0.96) 48%, rgba(245, 205, 195, 0.24)),
    #fff;
  padding: 26px;
}

.partner-card h3 {
  margin-bottom: 6px;
}

.partner-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.partner-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.revenda-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(45, 75, 40, 0.12);
  background:
    linear-gradient(180deg, rgba(217, 249, 157, 0.38), rgba(255, 247, 237, 0.42) 62%, var(--surface)),
    var(--surface-soft);
}

.revenda-section .revenda-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.66fr);
  gap: 34px;
  align-items: start;
}

.revenda-grid,
.story-grid,
.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.reseller-copy h2 {
  max-width: 560px;
  font-size: clamp(1.8rem, 2.35vw, 2.4rem);
}

.reseller-copy .lead {
  color: #304236;
  max-width: 590px;
  font-size: 1rem;
}

.reseller-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 18px 0 18px;
}

.reseller-proof-grid article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(45, 75, 40, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  padding: 13px;
}

.reseller-proof-grid .material-symbols-outlined {
  color: var(--green);
  font-size: 22px;
}

.reseller-proof-grid strong {
  color: var(--ink);
  line-height: 1.15;
}

.reseller-proof-grid span:last-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.reseller-points {
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.reseller-points li {
  display: flex;
  gap: 10px;
  align-items: start;
  color: #304236;
  font-weight: 700;
}

.reseller-points li::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 10px;
  content: "";
}

.form-panel,
.story-panel {
  padding: 24px;
}

.form-intro {
  margin-bottom: 16px;
}

.form-intro h3 {
  margin: 8px 0 6px;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.2;
}

.form-intro p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.form-intro p,
.story-copy {
  color: var(--muted);
}

.story-copy {
  max-width: 700px;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea,
.admin-input,
.admin-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.success-note,
.empty-note {
  border-radius: var(--radius-sm);
  background: rgba(217, 249, 157, 0.44);
  color: var(--green);
  padding: 12px 14px;
  font-weight: 800;
}

.story-panel {
  background:
    linear-gradient(145deg, rgba(217, 249, 157, 0.44), rgba(245, 205, 195, 0.36)),
    #fff;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(45, 75, 40, 0.16);
  padding-top: 14px;
}

.timeline-item strong {
  color: var(--green);
}

.timeline-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.footer {
  background: var(--green);
  color: #fff;
  padding: 56px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(120px, 0.45fr));
  gap: 24px;
}

.footer a,
.footer p {
  color: rgba(255, 255, 255, 0.76);
  overflow-wrap: anywhere;
}

.footer-grid > div {
  min-width: 0;
}

.footer h3,
.footer h4 {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  margin-top: 28px;
  padding-top: 18px;
}

.mobile-quickbar {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(25, 28, 28, 0.42);
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  width: min(1080px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 255, 241, 0.94) 52%, rgba(255, 246, 244, 0.96)),
    #fff;
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.flavor-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.flavor-detail-media {
  display: grid;
  min-height: 440px;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--flavor-color, #d9f99d) 48%, #fff), rgba(255, 255, 255, 0.78) 48%, color-mix(in srgb, var(--flavor-color, #f5cdc3) 24%, #fff));
  padding: 22px;
}

.flavor-detail-media img {
  width: auto;
  max-width: min(72%, 320px);
  max-height: min(58vh, 440px);
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(25, 28, 28, 0.17));
}

.legal-page {
  display: none;
  padding-top: 112px;
}

.legal-page.is-visible {
  display: block;
}

/* Admin */
.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 249, 157, 0.62), transparent 34%),
    radial-gradient(circle at 86% 80%, rgba(245, 205, 195, 0.52), transparent 38%),
    var(--surface);
  padding: 24px;
}

.admin-login.is-hidden,
.admin-shell.is-locked {
  display: none;
}

.login-panel {
  display: grid;
  width: min(520px, 100%);
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: 30px;
  backdrop-filter: blur(18px);
}

.login-panel h1 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 6vw, 3.7rem);
}

.login-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
}

.password-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
}

.login-error {
  border-radius: var(--radius-sm);
  background: rgba(255, 218, 214, 0.88);
  color: var(--danger) !important;
  padding: 12px 14px;
  font-weight: 850;
}

.login-note {
  font-size: 13px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: var(--surface-strong);
  padding: 22px 14px;
}

.admin-sidebar .brand {
  margin: 0 8px 18px;
}

.quick-action {
  width: calc(100% - 16px);
  margin: 0 8px 18px;
}

.admin-nav {
  display: grid;
  gap: 4px;
}

.admin-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
}

.admin-nav button:hover,
.admin-nav button.is-active {
  background: var(--surface-soft);
  color: var(--green);
}

.admin-main {
  min-width: 0;
  overflow-x: hidden;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 246, 244, 0.9);
  padding: 14px 24px;
  backdrop-filter: blur(16px);
}

.admin-search {
  position: relative;
  width: min(520px, 100%);
}

.admin-search .material-symbols-outlined {
  position: absolute;
  top: 50%;
  left: 12px;
  color: var(--faint);
  transform: translateY(-50%);
}

.admin-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px 10px 42px;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  display: inline-flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 3px;
}

.language-toggle button {
  min-width: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.language-toggle button.is-active {
  background: var(--green);
  color: #fff;
}

.role-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 10px;
}

.mobile-module-select {
  display: none;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-weight: 850;
  padding: 10px 14px;
}

.admin-content {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 70px;
  min-width: 0;
}

.cloud-sync-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  margin-bottom: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
}

.cloud-sync-notice .material-symbols-outlined {
  color: var(--green);
  font-size: 24px;
}

.cloud-sync-notice strong {
  display: block;
  line-height: 1.25;
}

.cloud-sync-notice p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin: 2px 0 0;
}

.cloud-sync-notice.good {
  background: #f5ffe8;
  border-color: #cce8a3;
}

.cloud-sync-notice.warn {
  background: #fff8eb;
  border-color: #f0d3a5;
}

.cloud-sync-notice.bad {
  background: #fff3f1;
  border-color: #f0bbb5;
}

.cloud-sync-notice.bad .material-symbols-outlined {
  color: var(--danger);
}

.admin-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  min-width: 0;
}

.admin-page-head h1 {
  margin-bottom: 6px;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
}

.admin-page-head p {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 78ch;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 14px;
}

.metric-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}

.admin-card {
  padding: 18px;
}

.metric-card {
  min-height: 142px;
  min-width: 0;
}

.metric-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin: 10px 0 6px;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 16px;
  margin-top: 16px;
}

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

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

.table-scroll {
  max-width: 100%;
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: auto;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8faf6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  vertical-align: middle;
}

.data-table td {
  color: #26302a;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.inline-muted {
  color: var(--muted);
  font-size: 0.86em;
  font-weight: 750;
}

.select-search-wrap {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.select-search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.production-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 10px;
  margin-top: 12px;
}

.production-chip {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfff6;
  padding: 12px;
  min-width: 0;
}

.production-chip strong,
.production-chip span,
.production-chip small {
  overflow-wrap: anywhere;
}

.production-chip span {
  color: var(--green);
  font-weight: 900;
}

.production-chip small {
  color: var(--muted);
  font-weight: 700;
}

.production-client-list {
  display: grid;
  gap: 7px;
  margin-top: 4px;
}

.production-client-pill {
  display: grid;
  gap: 1px;
  min-width: 0;
  border: 1px solid rgba(42, 79, 39, 0.12);
  border-radius: 10px;
  background: #fff;
  padding: 8px 9px;
}

.production-client-pill strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.production-client-pill small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.production-client-pill.is-more {
  display: inline-grid;
  justify-self: start;
  min-width: 96px;
  background: var(--soft-green);
}

.stock-kombucha-layout,
.stock-batch-list,
.order-list {
  display: grid;
  gap: 14px;
}

.stock-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stock-overview-card {
  display: grid;
  gap: 14px;
}

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

.stock-size-option {
  appearance: none;
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.stock-size-option:hover,
.stock-size-option:focus-visible {
  border-color: var(--green);
}

.stock-size-option.is-active {
  border-color: var(--green);
  background: var(--soft-green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.stock-size-label {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.stock-size-option strong {
  font-size: 1.05rem;
}

.stock-size-option small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.stock-overview-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.stock-overview-head h3 {
  margin-bottom: 4px;
}

.stock-overview-head p,
.stock-overview-name span,
.stock-overview-total span,
.stock-overview-total small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.stock-overview-total {
  display: grid;
  justify-items: end;
  min-width: 86px;
}

.stock-overview-total strong {
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

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

.stock-overview-row {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px 10px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.stock-overview-row:hover,
.stock-overview-row:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(39, 84, 43, 0.08);
}

.stock-overview-row.is-empty {
  background: #fafbf8;
}

.stock-overview-name {
  display: grid;
  min-width: 0;
}

.stock-overview-adjust {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
}

.stock-overview-adjust .material-symbols-rounded,
.stock-overview-adjust .material-symbols-outlined {
  font-size: 16px;
}

.stock-overview-name strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.stock-overview-qty {
  display: grid;
  justify-items: end;
  line-height: 1.05;
}

.stock-overview-qty strong {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 900;
}

.stock-overview-qty span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.stock-overview-bar {
  grid-column: 1 / -1;
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.stock-overview-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.stock-overview-row.is-empty .stock-overview-bar i {
  background: var(--line);
}

.stock-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 14px;
  align-items: start;
}

.stock-alert-card {
  position: sticky;
  top: 90px;
}

.stock-batch-card,
.order-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.stock-card-head,
.order-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.stock-card-head > div,
.order-card-head > div:first-child,
.order-mini-main {
  min-width: 0;
}

.stock-card-head strong,
.order-card-head strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.stock-card-head small,
.order-card-head small,
.stock-card-meta span,
.mini-empty {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.stock-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 9px;
}

.stock-stat {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(45, 75, 40, 0.12);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 10px 12px;
}

.stock-stat span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stock-stat strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1;
}

.stock-stat.is-available strong {
  color: var(--green);
}

.stock-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stock-card-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 6px 9px;
}

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

.stock-flow-box {
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfff6;
  padding: 12px;
  min-width: 0;
}

.stock-flow-box h4 {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.2;
}

.stock-flow-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.stock-flow-chip {
  display: inline-grid;
  gap: 2px;
  max-width: 100%;
  border: 1px solid rgba(45, 75, 40, 0.14);
  border-radius: 10px;
  background: #fff;
  padding: 7px 9px;
}

.stock-flow-chip strong {
  color: var(--green);
  font-size: 13px;
  line-height: 1.2;
}

.stock-flow-chip small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.stock-flow-chip.is-manual {
  border-color: rgba(45, 75, 40, 0.28);
  background: #f2ffe2;
}

.stock-flow-chip.is-return strong {
  color: var(--plum);
}

.stock-card-actions,
.order-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-list {
  margin-top: 14px;
}

.order-compact-list {
  margin-top: 10px;
}

.order-compact-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.order-compact-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
}

.order-compact-card summary::-webkit-details-marker {
  display: none;
}

.order-compact-main,
.order-compact-side {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.order-compact-main strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.18;
}

.order-compact-main span,
.order-compact-side b {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.25;
}

.order-compact-side {
  justify-items: end;
}

.order-compact-body {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  background: #fbfff6;
  padding: 14px 16px 16px;
}

.order-compact-progress {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #edf2e9;
}

.order-compact-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

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

.order-compact-facts span {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(45, 75, 40, 0.12);
  border-radius: 10px;
  background: #fff;
  padding: 9px 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.2;
}

.order-compact-facts b,
.order-compact-items small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.order-compact-items li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(45, 75, 40, 0.12);
  border-radius: 10px;
  background: #fff;
  padding: 9px 10px;
}

.order-compact-items span {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.2;
}

.order-compact-items strong {
  color: var(--green);
  white-space: nowrap;
}

.order-status-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.order-status-chip {
  min-height: 34px;
  border: 1px solid rgba(45, 75, 40, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  padding: 0 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.order-status-chip.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.order-compact-actions {
  display: flex;
  justify-content: flex-end;
}

.sales-period-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 12px;
}

.sales-period-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sales-period-head h3,
.sales-period-head p {
  margin: 0;
}

.sales-period-head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.sales-custom-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 10px;
}

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

.sales-period-summary span,
.sale-compact-totals span {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(45, 75, 40, 0.12);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 10px 12px;
}

.sales-period-summary small,
.sale-compact-totals small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sales-period-summary strong {
  color: var(--green);
  font-size: 1.15rem;
}

.sales-compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.sale-compact-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 13px;
}

.sale-compact-head,
.sale-compact-product,
.sale-compact-totals {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.sale-compact-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.sale-compact-head > div,
.sale-compact-product {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sale-compact-head strong,
.sale-compact-product strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  line-height: 1.18;
}

.sale-compact-head span,
.sale-compact-product span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.sale-compact-head > b {
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--green);
  padding: 5px 8px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.sale-compact-totals {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sale-compact-totals strong {
  font-size: 0.92rem;
}

.sale-compact-actions {
  display: flex;
  justify-content: flex-end;
}

.sales-customer-history {
  margin-top: 0;
}

.order-secondary-panel > summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 950;
}

.order-secondary-panel > summary::-webkit-details-marker {
  display: none;
}

.order-secondary-panel[open] > summary {
  margin-bottom: 12px;
}

.order-card-side {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: fit-content;
}

.order-card-side strong {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.order-meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 8px;
}

.order-meta-grid span {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfff6;
  color: var(--ink);
  padding: 9px 10px;
  font-weight: 800;
  line-height: 1.25;
  min-width: 0;
}

.order-meta-grid b {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.order-meta-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

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

.order-mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.24fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.order-mini-main strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.order-mini-main span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.order-mini-main i {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef4ea;
  margin-top: 8px;
}

.order-mini-main b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.order-mini-count {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: var(--green);
  text-align: right;
}

.order-mini-count.is-missing {
  color: #9a5a00;
}

.order-mini-count strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.order-mini-count span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.data-table tr:hover td {
  background: rgba(217, 249, 157, 0.16);
}

.row-actions {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

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

.product-compact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 10px;
}

.product-compact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfff6;
  padding: 12px;
}

.product-compact-card strong,
.product-compact-card span {
  overflow-wrap: anywhere;
}

.product-compact-card > div:first-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.product-compact-card > div:first-child span,
.product-compact-meta small,
.product-compact-prices span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.product-compact-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.product-compact-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-column: 1 / -1;
}

.product-compact-prices span {
  border: 1px solid rgba(45, 75, 40, 0.12);
  border-radius: 999px;
  background: #fff;
  padding: 5px 8px;
}

.product-compact-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.size-pricing-section {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

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

.size-pricing-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.size-pricing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.size-pricing-head h3 {
  margin: 2px 0 0;
  font-size: 1.4rem;
}

.size-pricing-head > span,
.size-pricing-current small,
.size-pricing-suggestion small,
.pricing-form-summary small,
.pricing-live-suggestion small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

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

.size-pricing-current div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border-radius: 6px;
  background: #f4f7f1;
}

.size-pricing-current strong {
  font-size: 1.15rem;
}

.size-pricing-costs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.size-pricing-suggestion {
  display: grid;
  gap: 4px;
  padding: 11px;
  border-left: 3px solid var(--green);
  border-radius: 4px;
  background: #f7fde9;
}

.size-pricing-suggestion.is-pending {
  border-left-color: #bd7a18;
  background: #fff8e9;
}

.size-pricing-card > .btn {
  width: 100%;
}

.pricing-form-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 8px;
  background: #f4f7f1;
}

.pricing-form-summary div {
  display: grid;
  gap: 3px;
}

.pricing-form-summary p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.pricing-live-suggestion {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) repeat(2, minmax(100px, auto)) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfff6;
}

.pricing-live-suggestion > div {
  display: grid;
  gap: 2px;
}

.table-action {
  width: 34px;
  height: 34px;
  background: #fff;
}

.table-action.danger {
  color: var(--danger);
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
}

.status.good {
  background: rgba(217, 249, 157, 0.42);
  color: var(--success);
}

.status.good::before {
  background: var(--success);
}

.status.warn {
  background: rgba(247, 216, 173, 0.58);
  color: var(--warning);
}

.status.warn::before {
  background: var(--warning);
}

.status.bad {
  background: rgba(255, 218, 214, 0.84);
  color: var(--danger);
}

.status.bad::before {
  background: var(--danger);
}

.alert-list,
.stack-list {
  display: grid;
  gap: 10px;
}

.alert-item,
.stock-row,
.audit-row,
.report-row {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 13px;
}

.alert-item strong,
.stock-row strong,
.audit-row strong {
  line-height: 1.25;
}

.alert-item span,
.stock-row span,
.audit-row span,
.report-row span {
  color: var(--muted);
  font-size: 13px;
}

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

.bar-chart {
  display: grid;
  height: 220px;
  grid-template-columns: repeat(6, minmax(34px, 1fr));
  align-items: end;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 20px 8px 0;
}

.bar-chart > .empty-note {
  grid-column: 1 / -1;
  align-self: center;
  width: 100%;
}

.bar {
  display: grid;
  align-items: end;
  gap: 8px;
  height: 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-align: center;
}

.bar i {
  display: block;
  border-radius: 8px 8px 0 0;
  background: var(--green);
}

.bar:nth-child(2n) i {
  background: var(--plum);
}

.dashboard-stock-card {
  min-height: 320px;
}

.dashboard-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.dashboard-card-head h3 {
  margin: 0;
}

.dashboard-card-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.dashboard-stock-row {
  display: grid;
  gap: 7px;
}

.dashboard-stock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
}

.dashboard-stock-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-stock-head span {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-stock-track {
  display: flex;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(42, 79, 39, 0.08);
}

.dashboard-stock-track i {
  display: block;
  min-width: 0;
}

.dashboard-stock-track .is-available,
.dashboard-stock-legend .is-available {
  background: var(--green);
}

.dashboard-stock-track .is-reserved,
.dashboard-stock-legend .is-reserved {
  background: var(--lime);
}

.dashboard-stock-row.is-empty .dashboard-stock-track::before {
  width: 100%;
  content: "";
  background: rgba(42, 79, 39, 0.12);
}

.dashboard-stock-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-stock-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-stock-legend i {
  width: 18px;
  height: 10px;
  border-radius: 999px;
}

.dashboard-ready-card {
  margin-bottom: var(--space-4);
}

.dashboard-ready-card .dashboard-card-head {
  align-items: center;
}

.dashboard-ready-card .dashboard-card-head > div:first-child {
  display: grid;
  gap: 3px;
}

.dashboard-order-view {
  flex: 0 0 auto;
}

.dashboard-order-view button {
  min-height: 34px;
}

.order-ready-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 12px;
}

.order-ready-card {
  display: grid;
  gap: 11px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 14px;
}

.order-ready-card.is-completo {
  background: #f5ffe7;
  border-color: rgba(90, 138, 30, 0.28);
}

.order-ready-card.is-parcial {
  background: #fffdf3;
  border-color: rgba(183, 122, 12, 0.24);
}

.order-ready-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.order-ready-head div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.order-ready-head strong {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.order-ready-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.order-ready-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 8px 10px;
  text-transform: uppercase;
}

.order-ready-card.is-parcial .order-ready-head span {
  background: #fff1d6;
  color: #925d00;
}

.order-ready-card.is-aguardando .order-ready-head span {
  background: rgba(255, 218, 214, 0.72);
  color: var(--danger);
}

.order-ready-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.order-ready-total strong {
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 0.95;
}

.order-ready-total span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.order-ready-delivered {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.order-ready-meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(42, 79, 39, 0.1);
}

.order-ready-meter i {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: var(--green);
}

.order-ready-card.is-parcial .order-ready-meter i {
  background: var(--warning);
}

.order-ready-items {
  display: grid;
  gap: 7px;
}

.order-ready-items div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(42, 79, 39, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  padding: 9px 10px;
}

.order-ready-items .order-ready-items-title {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 1px 2px;
}

.order-ready-items.is-missing .order-ready-items-title strong,
.order-ready-items.is-missing > div:not(.order-ready-items-title) span b {
  color: #9b5c00;
}

.order-ready-items.is-missing > div:not(.order-ready-items-title) {
  border-color: rgba(183, 122, 12, 0.2);
  background: #fffaf0;
}

.order-ready-items span b {
  font: inherit;
  font-weight: 900;
}

.order-ready-items strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.order-ready-items span,
.order-ready-more {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-align: right;
}

.order-ready-more {
  justify-self: start;
  border-radius: 999px;
  background: rgba(42, 79, 39, 0.08);
  padding: 7px 10px;
  text-align: left;
}

.order-ready-actions,
.modal-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-ready-actions .btn {
  flex: 1 1 150px;
  min-width: 0;
  justify-content: center;
}

.delivery-proof-customer {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.delivery-proof-customer strong {
  margin: 0;
  font-size: 1.2rem;
}

.delivery-proof-customer span,
.delivery-proof-items > p,
.delivery-proof-item small,
.delivery-proof-total span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.delivery-proof-meta {
  margin-bottom: 14px;
}

.delivery-proof-payment small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.delivery-proof-items {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  margin: 0 0 14px;
  padding: 14px;
}

.delivery-proof-items legend {
  color: var(--ink);
  padding: 0 6px;
  font-size: 1rem;
  font-weight: 900;
}

.delivery-proof-items > p {
  margin: 0 0 4px;
  line-height: 1.4;
}

.delivery-proof-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.delivery-proof-item > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.delivery-proof-item strong {
  overflow-wrap: anywhere;
}

.delivery-proof-item input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
  text-align: center;
  font-weight: 850;
}

.delivery-proof-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2px 12px;
  margin: 14px 0;
}

.delivery-proof-total strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--green);
  text-align: right;
}

.delivery-history {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-top: 14px;
}

.delivery-history summary {
  cursor: pointer;
  color: var(--green);
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 900;
}

.delivery-history-list {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 10px;
}

.delivery-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  border-radius: 8px;
  background: var(--soft);
  padding: 10px;
}

.delivery-history-row > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.delivery-history-row strong,
.delivery-history-row small {
  overflow-wrap: anywhere;
}

.delivery-history-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.delivery-history-row .btn {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 11px;
}

.donut {
  --value: 60deg;
  display: grid;
  width: 176px;
  height: 176px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 135deg, var(--berry) 135deg 245deg, var(--passion) 245deg 315deg, var(--sky) 315deg 360deg);
  margin: 16px auto;
}

.donut::after {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  content: attr(data-total);
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.55fr);
  gap: 16px;
}

.spreadsheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.spreadsheet th,
.spreadsheet td {
  border: 1px solid #d8ded8;
  padding: 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.spreadsheet th {
  background: #eef4ea;
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.spreadsheet input,
.spreadsheet select {
  width: 100%;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 4px;
}

.spreadsheet .subtotal-row td {
  background: #fbf4e9;
  font-weight: 900;
}

.result-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}

.result-card {
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  padding: 14px;
}

.result-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.result-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.product-cost-summary {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  padding: 14px;
}

.product-cost-summary small,
.product-cost-summary span,
.field-help {
  color: var(--muted);
}

.product-cost-summary small {
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-cost-summary strong {
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1.2;
}

.product-cost-summary span,
.field-help {
  font-size: 0.88rem;
  line-height: 1.45;
}

.field-help {
  margin: -4px 0 0;
}

.reservation-note {
  min-height: 76px;
}

.reservation-note span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.module-tabs .segment {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 8px 14px;
  font-weight: 800;
}

.module-tabs .segment.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--muted);
  font-weight: 800;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.builder-section {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.form-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  margin: 0 0 12px;
  padding: 0;
}

.form-section summary {
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  padding: 14px 16px;
}

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

.form-section[open] summary {
  border-bottom: 1px solid var(--line);
}

.form-section .input-grid {
  padding: 16px;
}

.builder-section .table-toolbar {
  margin-bottom: 0;
}

.builder-section h3,
.builder-section p {
  margin-bottom: 0;
}

.builder-section p {
  color: var(--muted);
  font-size: 14px;
}

.builder-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr)) 46px;
  gap: 10px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 12px;
  margin-bottom: 10px;
}

.variant-picker {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(120px, 0.35fr);
  gap: 10px;
  min-width: 0;
  align-items: end;
}

.variant-picker .field,
.variant-picker .select-search-wrap {
  min-width: 0;
}

.recipe-ingredient-row {
  grid-template-columns: repeat(4, minmax(120px, 1fr)) 46px;
}

.recipe-edit-ingredient-row {
  grid-template-columns: repeat(4, minmax(120px, 1fr)) 46px;
}

.simple-recipe-row,
.simple-packaging-row {
  grid-template-columns: minmax(220px, 1.5fr) minmax(160px, 1fr) minmax(140px, 0.8fr) minmax(110px, 0.55fr) minmax(92px, 0.45fr) 46px;
}

.simple-packaging-row {
  grid-template-columns: minmax(220px, 1.5fr) minmax(180px, 1fr) minmax(140px, 0.8fr) minmax(128px, 0.55fr) 46px;
}

.builder-bottom-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.order-item-row {
  display: none;
  grid-template-columns: minmax(220px, 1.4fr) minmax(110px, 0.55fr) minmax(130px, 0.65fr) minmax(180px, 1fr) 46px;
}

.order-item-row.is-active {
  display: grid;
}

.order-item-navigator {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 10px;
}

.order-item-selector {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(45, 75, 40, 0.16);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  padding: 11px 12px;
  text-align: left;
  font: inherit;
}

.order-item-selector.is-active {
  border-color: var(--green);
  background: #f5ffe8;
  box-shadow: 0 0 0 2px rgba(45, 75, 40, 0.1);
}

.order-item-selector-head,
.order-item-selector-stock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.order-item-selector-head strong {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  line-height: 1.15;
}

.order-item-selector-head i {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 18px;
  font-style: normal;
}

.order-item-selector-stock b {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1;
}

.order-item-selector small {
  overflow: hidden;
  border-radius: 999px;
  padding: 5px 7px;
  font-size: 0.67rem;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-item-selector small.is-available {
  background: var(--lime-soft);
  color: var(--green);
}

.order-item-selector small.is-partial {
  background: #fff0cf;
  color: #986000;
}

.order-item-selector small.is-empty {
  background: #ffe0dd;
  color: #a1221b;
}

.order-add-item {
  width: 100%;
  margin-bottom: 12px;
}

.order-active-editor-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 12px 2px 9px;
}

.order-active-editor-head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.order-active-editor-head strong {
  overflow-wrap: anywhere;
  color: var(--green);
  text-align: right;
}

.calculated-note {
  display: grid;
  align-self: stretch;
  align-content: center;
  gap: 2px;
  min-height: 48px;
  border: 1px solid rgba(45, 75, 40, 0.16);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--muted);
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 750;
}

.calculated-note strong {
  color: var(--green);
  font-size: 14px;
}

.calculated-note span {
  line-height: 1.25;
}

.image-control-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.image-control {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 12px;
}

.image-preview {
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.45fr);
  gap: 10px;
  min-width: 0;
}

.image-fields input,
.flavor-cms-fields input,
.flavor-cms-fields textarea {
  min-width: 0;
}

.upload-field input[type="file"] {
  width: 100%;
  border-style: dashed;
  cursor: pointer;
}

.upload-field small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.flavor-cms-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.flavor-cms-control {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(217, 249, 157, 0.2), rgba(255, 255, 255, 0.94) 48%, rgba(245, 205, 195, 0.2)),
    #fff;
  padding: 14px;
}

.flavor-admin-preview {
  width: 150px;
  height: 190px;
  background: rgba(255, 255, 255, 0.76);
}

.flavor-cms-fields {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(150px, 0.55fr) minmax(96px, 0.35fr) minmax(130px, 0.42fr);
  gap: 10px;
}

.checkbox-field {
  align-self: end;
  min-height: 66px;
  justify-content: center;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

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

.schema-entity {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}

.schema-entity strong {
  display: block;
  margin-bottom: 6px;
}

.schema-entity span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.admin-modal .modal-panel {
  max-width: min(1080px, calc(100vw - 32px));
}

.hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1320px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .nav-links.is-open {
    position: absolute;
    top: 66px;
    right: 20px;
    display: grid;
    gap: 4px;
    min-width: 240px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open a {
    padding: 10px 12px;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .education-grid,
  .locator-layout,
  .revenda-grid,
  .story-grid,
  .final-cta-grid,
  .admin-grid,
  .calculator-grid,
  .stock-main-grid {
    grid-template-columns: 1fr;
  }

  .stock-alert-card {
    position: static;
  }

  .revenda-section .revenda-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 540px;
  }

  .feature-grid,
  .benefit-grid,
  .admin-grid-3,
  .schema-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flavor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .locator-layout {
    gap: 16px;
  }

  .admin-shell {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .admin-sidebar {
    padding-inline: 10px;
  }

  .admin-sidebar .brand-name,
  .admin-nav span.label,
  .quick-action span:not(.material-symbols-outlined) {
    display: none;
  }

  .quick-action {
    width: auto;
    margin-inline: 4px;
    padding-inline: 10px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stock-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .image-control,
  .image-fields,
  .flavor-cms-control,
  .flavor-cms-fields {
    grid-template-columns: 1fr;
  }

  .image-preview,
  .flavor-admin-preview {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .admin-body .data-table,
  .admin-body .spreadsheet,
  .admin-body .data-table thead,
  .admin-body .spreadsheet thead,
  .admin-body .data-table tbody,
  .admin-body .spreadsheet tbody,
  .admin-body .data-table tr,
  .admin-body .spreadsheet tr {
    display: block;
  }

  .admin-body .data-table thead,
  .admin-body .spreadsheet thead {
    display: none;
  }

  .admin-body .data-table,
  .admin-body .spreadsheet {
    border-collapse: separate;
    border-spacing: 0;
  }

  .admin-body .data-table tbody,
  .admin-body .spreadsheet tbody {
    display: grid;
    gap: 12px;
    padding: 12px;
  }

  .admin-body .data-table tr,
  .admin-body .spreadsheet tr {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .admin-body .data-table td,
  .admin-body .spreadsheet td {
    display: grid;
    grid-template-columns: minmax(96px, 0.38fr) minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
  }

  .admin-body .data-table td:last-child,
  .admin-body .spreadsheet td:last-child {
    border-bottom: 0;
  }

  .admin-body .data-table td::before,
  .admin-body .spreadsheet td::before {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .admin-body .data-table td[colspan],
  .admin-body .spreadsheet td[colspan] {
    display: block;
  }

  .admin-body .data-table td[colspan]::before,
  .admin-body .spreadsheet td[colspan]::before {
    display: none;
  }

  .admin-body .data-table .num,
  .admin-body .spreadsheet .num {
    text-align: left;
  }

  .admin-body .row-actions {
    justify-content: flex-start;
  }

  .admin-body .table-action {
    width: 40px;
    height: 40px;
  }

  .admin-body .spreadsheet input,
  .admin-body .spreadsheet select {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 8px 10px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand,
  .language-toggle button,
  .module-tabs .segment {
    min-height: 44px;
  }

  .section {
    padding: 62px 0;
  }

  .site-nav {
    width: 100%;
    min-height: 66px;
  }

  .brand-name strong {
    font-size: 1.16rem;
  }

  .brand-name span {
    font-size: 0.58rem;
  }

  .nav-actions {
    margin-left: auto;
    min-width: 42px;
  }

  .mobile-menu-button {
    flex: 0 0 42px;
  }

  .nav-actions .btn-outline,
  .nav-actions .btn-lime,
  .nav-actions .btn-primary {
    display: none;
  }

  .nav-links.is-open {
    position: absolute;
    top: 66px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open a {
    padding: 12px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    max-width: 100%;
  }

  .headline-line {
    display: block;
  }

  .hero-copy,
  .hero-copy .lead,
  .hero-actions {
    max-width: calc(100vw - 28px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .flavor-toolbar .segmented,
  .locator-toolbar .segmented {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .flavor-toolbar .segmented::-webkit-scrollbar,
  .locator-toolbar .segmented::-webkit-scrollbar {
    display: none;
  }

  h2 {
    font-size: clamp(1.65rem, 7.6vw, 2.2rem);
  }

  .hero {
    padding-top: 50px;
  }

  .hero-proof,
  .feature-grid,
  .benefit-grid,
  .flavor-grid,
  .input-grid,
  .footer-grid,
  .admin-grid-3,
  .schema-grid,
  .metric-grid,
  .stock-summary-grid,
  .stock-stat-grid,
  .stock-flow-grid,
  .order-meta-grid {
    grid-template-columns: 1fr;
  }

  .stock-card-head,
  .order-card-head,
  .order-mini-row,
  .order-ready-head,
  .order-ready-total,
  .order-ready-items div {
    grid-template-columns: 1fr;
  }

  .order-ready-head,
  .order-ready-total {
    display: grid;
  }

  .dashboard-ready-card .dashboard-card-head {
    display: grid;
    align-items: stretch;
  }

  .dashboard-order-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .order-ready-head span,
  .order-ready-total span,
  .order-ready-items span {
    justify-self: start;
    text-align: left;
  }

  .stock-card-head,
  .order-card-head {
    display: grid;
  }

  .order-card-side,
  .order-mini-count {
    justify-items: start;
    text-align: left;
  }

  .stock-card-actions .btn,
  .order-card-actions .btn,
  .order-ready-actions .btn,
  .stock-card-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .delivery-proof-item {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

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

  .delivery-proof-total strong {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  .delivery-history-row {
    align-items: stretch;
    flex-direction: column;
  }

  .delivery-history-row .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-media {
    min-height: 440px;
    border-radius: 24px;
  }

  .bottle-stage img {
    max-height: 380px;
  }

  .ingredient-note {
    display: none;
  }

  .flavor-detail {
    grid-template-columns: 1fr;
  }

  .flavor-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .flavor-card {
    min-height: auto;
  }

  .flavor-card-media {
    min-height: 210px;
  }

  .flavor-card-media img {
    width: auto;
    max-width: 72%;
    max-height: 210px;
  }

  .flavor-card h3 {
    font-size: clamp(1.12rem, 5vw, 1.35rem);
  }

  .flavor-card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 360px;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: static;
    display: grid;
    gap: 12px;
    height: auto;
    border-bottom: 1px solid var(--line);
    border-top: 0;
    border-right: 0;
    padding: 12px 14px;
  }

  .admin-sidebar .brand {
    display: flex;
    margin: 0;
  }

  .admin-sidebar .brand-name,
  .admin-nav span.label,
  .quick-action span:not(.material-symbols-outlined) {
    display: inline-flex;
  }

  .admin-sidebar .brand-name {
    flex-direction: column;
  }

  .quick-action {
    display: inline-flex;
    width: 100%;
    margin: 0;
  }

  .admin-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    width: 100%;
  }

  .admin-nav button {
    display: grid;
    width: 100%;
    min-height: 62px;
    justify-content: center;
    justify-items: center;
    gap: 4px;
    border-radius: 12px;
    padding: 8px 4px;
    font-size: 10px;
    line-height: 1.15;
    text-align: center;
  }

  .admin-nav button .material-symbols-outlined {
    font-size: 23px;
  }

  .admin-nav span.label {
    max-width: 100%;
    justify-content: center;
    overflow-wrap: anywhere;
  }

  .mobile-module-select {
    display: block;
  }

  .admin-nav {
    display: none;
  }

  .admin-topbar {
    align-items: stretch;
    flex-direction: column;
    padding: 12px 14px;
  }

  .admin-content {
    width: calc(100% - 28px);
    padding-top: 18px;
    padding-bottom: 42px;
  }

  .cloud-sync-notice {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
  }

  .cloud-sync-notice p {
    display: none;
  }

  .cloud-sync-notice strong {
    font-size: 0.95rem;
  }

  .cloud-sync-notice .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .admin-page-head {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }

  .admin-page-head h1 {
    font-size: clamp(2.05rem, 9vw, 2.5rem);
    margin-bottom: 4px;
  }

  .admin-page-head p {
    font-size: 0.98rem;
    line-height: 1.45;
  }

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

  .builder-row,
  .recipe-ingredient-row,
  .recipe-edit-ingredient-row,
  .simple-recipe-row,
  .simple-packaging-row,
  .image-control,
  .image-fields,
  .flavor-cms-control,
  .flavor-cms-fields {
    grid-template-columns: 1fr;
  }

  .variant-picker {
    grid-template-columns: 1fr;
  }

  .builder-bottom-actions,
  .builder-bottom-actions .btn {
    width: 100%;
  }

  .image-preview,
  .flavor-admin-preview {
    width: 100%;
  }

  .role-pill {
    width: 100%;
  }

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

  .language-toggle {
    grid-column: 1 / -1;
    width: 100%;
  }

  .language-toggle button {
    flex: 1;
  }

  .admin-user .role-pill {
    grid-column: 1 / -1;
  }

  .admin-user .btn {
    width: 100%;
    justify-content: center;
    padding-inline: 10px;
  }

  .table-toolbar {
    display: grid;
    gap: 12px;
  }

  .table-toolbar .field {
    min-width: 0 !important;
  }

  .stock-overview-head {
    display: grid;
    gap: 8px;
  }

  .stock-overview-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    justify-items: stretch;
    min-width: 0;
    width: 100%;
  }

  .stock-overview-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stock-overview-row {
    padding: 10px 11px;
  }

  .stock-card-meta {
    display: none;
  }

  .metric-card {
    min-height: auto;
  }

  .metric-card strong {
    font-size: 1.62rem;
  }

  .admin-card {
    padding: 14px;
  }

  .table-card {
    padding: 0;
  }
}

@media (max-width: 760px) {
  body:not(.admin-body) {
    padding-bottom: 78px;
  }

  body:not(.admin-body) .container {
    width: min(100% - 20px, var(--container));
  }

  body:not(.admin-body) .section,
  body:not(.admin-body) .section-tight {
    padding: 32px 0;
  }

  body:not(.admin-body) .section-head {
    gap: 8px;
    margin-bottom: 14px;
  }

  body:not(.admin-body) .section-head p,
  body:not(.admin-body) .lead {
    font-size: 0.92rem;
    line-height: 1.48;
  }

  body:not(.admin-body) .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  body:not(.admin-body) h1 {
    font-size: clamp(1.78rem, 8vw, 2.18rem);
    line-height: 1.02;
    margin-bottom: 10px;
  }

  body:not(.admin-body) h2 {
    font-size: clamp(1.32rem, 6.2vw, 1.74rem);
    margin-bottom: 8px;
  }

  body:not(.admin-body) h3 {
    font-size: 1rem;
  }

  body:not(.admin-body) .site-nav {
    min-height: 58px;
  }

  body:not(.admin-body) .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  body:not(.admin-body) .brand-name strong {
    font-size: 1.03rem;
  }

  body:not(.admin-body) .brand-name span {
    max-width: 150px;
    font-size: 0.5rem;
    line-height: 1.1;
  }

  body:not(.admin-body) .nav-links.is-open {
    top: 58px;
  }

  body:not(.admin-body) .hero {
    padding: 24px 0 20px;
  }

  body:not(.admin-body) .hero-grid {
    gap: 14px;
  }

  body:not(.admin-body) .hero-copy .lead {
    margin-bottom: 14px;
  }

  body:not(.admin-body) .hero-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  body:not(.admin-body) .hero-actions .btn {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  body:not(.admin-body) .hero-actions .btn-outline {
    grid-column: 1 / -1;
  }

  body:not(.admin-body) .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  body:not(.admin-body) .proof-pill {
    padding: 8px 7px;
    text-align: center;
  }

  body:not(.admin-body) .proof-pill strong {
    font-size: 0.95rem;
  }

  body:not(.admin-body) .proof-pill span {
    font-size: 0.61rem;
    line-height: 1.15;
  }

  body:not(.admin-body) .hero-media {
    min-height: 245px;
    border-radius: var(--radius);
  }

  body:not(.admin-body) .hero-media::before {
    inset: 10px;
  }

  body:not(.admin-body) .bottle-stage {
    inset: 14px 12px 8px;
  }

  body:not(.admin-body) .bottle-stage img {
    max-height: 226px;
  }

  body:not(.admin-body) .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body:not(.admin-body) .feature-card,
  body:not(.admin-body) .benefit-card {
    padding: 10px 8px;
  }

  body:not(.admin-body) .feature-card .material-symbols-outlined,
  body:not(.admin-body) .benefit-card .material-symbols-outlined {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    font-size: 17px;
  }

  body:not(.admin-body) .feature-card h3,
  body:not(.admin-body) .benefit-card h3 {
    margin-bottom: 0;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  body:not(.admin-body) .feature-card p {
    display: none;
  }

  body:not(.admin-body) .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body:not(.admin-body) .benefit-card p {
    font-size: 0.73rem;
    line-height: 1.32;
  }

  body:not(.admin-body) .flavor-toolbar,
  body:not(.admin-body) .locator-toolbar {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
  }

  body:not(.admin-body) .flavor-toolbar > .btn {
    display: none;
  }

  body:not(.admin-body) .segmented {
    gap: 4px;
    padding: 4px;
  }

  body:not(.admin-body) .segmented button {
    padding: 7px 9px;
    font-size: 0.72rem;
  }

  body:not(.admin-body) .flavor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body:not(.admin-body) .flavor-card {
    min-height: 166px;
  }

  body:not(.admin-body) .flavor-card-mobile-open {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    min-height: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  body:not(.admin-body) .flavor-card-mobile-open:focus-visible {
    outline: 3px solid rgba(70, 103, 43, 0.28);
    outline-offset: -3px;
  }

  body:not(.admin-body) .flavor-card-media {
    min-height: 88px;
    padding: 9px 6px 2px;
  }

  body:not(.admin-body) .flavor-card-media img {
    max-width: 88%;
    max-height: 88px;
    filter: drop-shadow(0 8px 9px rgba(25, 28, 28, 0.13));
  }

  body:not(.admin-body) .flavor-card-body {
    gap: 4px;
    padding: 2px 7px 8px;
  }

  body:not(.admin-body) .flavor-kicker {
    font-size: 0.54rem;
    letter-spacing: 0.05em;
  }

  body:not(.admin-body) .flavor-card h3 {
    font-size: clamp(0.74rem, 3vw, 0.9rem);
    line-height: 1.08;
  }

  body:not(.admin-body) .flavor-card p,
  body:not(.admin-body) .flavor-card-actions {
    display: none;
  }

  body:not(.admin-body) .education-grid,
  body:not(.admin-body) .revenda-grid,
  body:not(.admin-body) .story-grid,
  body:not(.admin-body) .final-cta-grid {
    gap: 14px;
  }

  body:not(.admin-body) .process-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  body:not(.admin-body) .process-card span:first-child {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }

  body:not(.admin-body) .process-card h3 {
    margin-bottom: 2px;
  }

  body:not(.admin-body) .process-card p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  body:not(.admin-body) .locator-toolbar .field {
    min-width: 0 !important;
  }

  body:not(.admin-body) .map-panel {
    min-height: 252px;
    border-radius: var(--radius);
  }

  body:not(.admin-body) .partner-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  body:not(.admin-body) .partner-card {
    padding: 12px;
  }

  body:not(.admin-body) .partner-card p,
  body:not(.admin-body) .partner-meta {
    font-size: 0.8rem;
  }

  body:not(.admin-body) .revenda-section .revenda-grid {
    gap: 14px;
  }

  body:not(.admin-body) .reseller-copy h2 {
    font-size: clamp(1.38rem, 6.4vw, 1.84rem);
  }

  body:not(.admin-body) .reseller-copy .lead {
    font-size: 0.9rem;
  }

  body:not(.admin-body) .reseller-points {
    gap: 6px;
    margin: 12px 0;
  }

  body:not(.admin-body) .reseller-points li {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  body:not(.admin-body) .reseller-cta {
    width: 100%;
  }

  body:not(.admin-body) .form-panel,
  body:not(.admin-body) .story-panel {
    padding: 14px;
  }

  body:not(.admin-body) .form-intro {
    margin-bottom: 10px;
  }

  body:not(.admin-body) .form-intro p {
    font-size: 0.82rem;
  }

  body:not(.admin-body) .input-grid {
    gap: 9px;
  }

  body:not(.admin-body) .field {
    gap: 4px;
  }

  body:not(.admin-body) .field input,
  body:not(.admin-body) .field select,
  body:not(.admin-body) .field textarea {
    min-height: 41px;
    padding: 9px 10px;
  }

  body:not(.admin-body) .field textarea {
    min-height: 72px;
  }

  body:not(.admin-body) .story-copy {
    display: none;
  }

  body:not(.admin-body) .timeline {
    gap: 8px;
  }

  body:not(.admin-body) .timeline-item {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
    padding-top: 9px;
  }

  body:not(.admin-body) .timeline-item p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  body:not(.admin-body) #contato .form-panel {
    display: none;
  }

  body:not(.admin-body) .footer {
    padding: 30px 0 24px;
  }

  body:not(.admin-body) .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  body:not(.admin-body) .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  body:not(.admin-body) .footer h3,
  body:not(.admin-body) .footer h4 {
    margin-bottom: 6px;
  }

  body:not(.admin-body) .footer p {
    margin-bottom: 6px;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  body:not(.admin-body) .footer a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding-block: 4px;
  }

  body:not(.admin-body) .modal {
    align-items: end;
    padding: 0;
  }

  body:not(.admin-body) .modal-panel {
    width: 100%;
    max-height: 86vh;
    border-radius: 18px 18px 0 0;
    padding: 16px;
  }

  body:not(.admin-body) .modal-head {
    margin-bottom: 12px;
  }

  body:not(.admin-body) .flavor-detail {
    gap: 12px;
  }

  body:not(.admin-body) .flavor-detail-media {
    min-height: 190px;
    padding: 12px;
  }

  body:not(.admin-body) .flavor-detail-media img {
    max-height: 185px;
  }

  body:not(.admin-body) .flavor-detail .hero-actions {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-quickbar {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    border: 1px solid rgba(45, 75, 40, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(25, 28, 28, 0.16);
    padding: 6px;
    backdrop-filter: blur(18px);
  }

  .mobile-quickbar a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 999px;
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-quickbar a:nth-child(2) {
    background: var(--green);
    color: #fff;
  }

  .mobile-quickbar .material-symbols-outlined {
    font-size: 18px;
  }
}

@media (max-width: 760px) {
  .order-item-navigator {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .order-item-selector {
    gap: 6px;
    padding: 9px;
  }

  .order-item-selector-head strong {
    font-size: 0.82rem;
  }

  .order-item-selector-head i {
    font-size: 16px;
  }

  .order-item-selector-stock {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .order-item-selector small {
    font-size: 0.61rem;
  }

  .order-active-editor-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .order-active-editor-head strong {
    text-align: left;
  }

  .sales-period-head {
    align-items: stretch;
    flex-direction: column;
  }

  .sales-period-filter {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    border-radius: 12px;
    padding: 4px;
  }

  .sales-period-filter button {
    min-width: 0;
    padding: 8px 4px;
    font-size: 0.68rem;
  }

  .sales-custom-range,
  .sales-compact-list {
    grid-template-columns: 1fr;
  }

  .sales-period-summary span {
    padding: 8px;
  }

  .sales-period-summary strong {
    font-size: 1rem;
  }

  .sale-compact-card {
    padding: 11px;
  }

  .order-metrics-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .order-metrics-compact .metric-card {
    min-height: auto;
    padding: 10px;
  }

  .order-metrics-compact .metric-card strong {
    margin: 5px 0 3px;
    font-size: 1.45rem;
  }

  .order-metrics-compact .metric-card span {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .order-compact-card summary {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 13px;
  }

  .order-compact-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-items: stretch;
    width: 100%;
  }

  .order-compact-body {
    padding: 12px;
  }

  .order-compact-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .order-compact-facts span {
    padding: 8px;
    font-size: 0.78rem;
  }

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

  .order-compact-items small {
    grid-column: 1 / -1;
  }

  .order-status-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-status-chip {
    width: 100%;
    padding: 0 8px;
    font-size: 0.76rem;
  }

  .order-secondary-panel {
    padding: 14px;
  }

  .form-section summary {
    padding: 13px;
  }

  .form-section .input-grid {
    padding: 13px;
  }

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

  .product-compact-card {
    padding: 11px;
  }

  body:not(.admin-body) section[id] {
    scroll-margin-top: 74px;
  }

  body:not(.admin-body) .flavor-card {
    min-height: 150px;
  }

  body:not(.admin-body) .flavor-card-media {
    min-height: 76px;
    padding: 6px 4px 0;
  }

  body:not(.admin-body) .flavor-card-media img {
    max-height: 74px;
  }

  body:not(.admin-body) .flavor-card-body {
    padding: 8px;
  }

  body:not(.admin-body) .flavor-card h3 {
    font-size: 0.78rem;
  }

  body:not(.admin-body) .flavor-toolbar .segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    overflow: visible;
    border-radius: 22px;
    width: 100%;
  }

  body:not(.admin-body) .flavor-toolbar .segmented button {
    justify-content: center;
    min-height: 44px;
    padding: 0 6px;
    font-size: 0.76rem;
  }

  body:not(.admin-body) .reseller-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  body:not(.admin-body) .reseller-points li {
    min-height: 58px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.15;
  }

  body:not(.admin-body) .reseller-points li::before {
    display: none;
  }

  body:not(.admin-body) .form-panel .input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-body) .form-panel .field-full {
    grid-column: 1 / -1;
  }

  body:not(.admin-body) .field > span {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-transform: uppercase;
  }

  body:not(.admin-body) .field input,
  body:not(.admin-body) .field select,
  body:not(.admin-body) .field textarea {
    min-height: 39px;
    font-size: 16px;
  }

  body:not(.admin-body) .field textarea {
    min-height: 58px;
  }

  body:not(.admin-body) #resellerForm .form-intro h3 {
    font-size: 1rem;
    line-height: 1.08;
  }

  body:not(.admin-body) #resellerForm .form-intro p {
    display: none;
  }

  body:not(.admin-body) #resellerForm {
    padding-bottom: 72px;
  }

  body:not(.admin-body) #resellerForm .field {
    gap: 3px;
  }

  body:not(.admin-body) #resellerForm .input-grid {
    gap: 7px;
  }

  body:not(.admin-body) #resellerForm .field input,
  body:not(.admin-body) #resellerForm .field select,
  body:not(.admin-body) #resellerForm .field textarea {
    min-height: 38px;
    padding: 7px 9px;
  }

  body:not(.admin-body) #resellerForm .field textarea {
    min-height: 46px;
  }

  body:not(.admin-body) #resellerForm button[type="submit"] {
    min-height: 42px;
    margin-top: 2px;
  }
}

@media (max-width: 760px) {
  body:not(.admin-body) .container {
    width: min(100% - 28px, var(--container));
  }

  body:not(.admin-body) .section {
    padding: 44px 0;
  }

  body:not(.admin-body) .section-tight {
    padding: 36px 0;
  }

  body:not(.admin-body) .section-head {
    gap: 11px;
    margin-bottom: 18px;
  }

  body:not(.admin-body) .section-head p,
  body:not(.admin-body) .lead {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  body:not(.admin-body) .hero {
    padding: 34px 0 28px;
  }

  body:not(.admin-body) .hero-grid {
    gap: 22px;
  }

  body:not(.admin-body) .hero-copy .lead {
    margin-bottom: 18px;
  }

  body:not(.admin-body) .hero-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }

  body:not(.admin-body) .hero-actions .btn:first-child {
    grid-column: auto;
  }

  body:not(.admin-body) .hero-actions .btn-outline {
    display: none;
  }

  body:not(.admin-body) .hero-actions .btn {
    min-width: 0;
    min-height: 46px;
    padding: 10px;
    font-size: 0.78rem;
    white-space: normal;
    text-align: center;
  }

  body:not(.admin-body) .hero-proof,
  body:not(.admin-body) .feature-grid,
  body:not(.admin-body) .benefit-grid {
    min-width: 0;
  }

  body:not(.admin-body) .proof-pill,
  body:not(.admin-body) .feature-card,
  body:not(.admin-body) .benefit-card,
  body:not(.admin-body) .reseller-proof-grid article {
    min-width: 0;
    overflow: hidden;
  }

  body:not(.admin-body) .proof-pill span,
  body:not(.admin-body) .feature-card h3,
  body:not(.admin-body) .benefit-card h3,
  body:not(.admin-body) .reseller-proof-grid strong,
  body:not(.admin-body) .reseller-proof-grid span:last-child {
    overflow-wrap: anywhere;
  }

  body:not(.admin-body) .hero-media {
    min-height: 305px;
  }

  body:not(.admin-body) .bottle-stage img {
    max-height: 286px;
  }

  body:not(.admin-body) .feature-grid {
    gap: 10px;
  }

  body:not(.admin-body) .feature-card,
  body:not(.admin-body) .benefit-card {
    padding: 12px 9px;
  }

  body:not(.admin-body) .benefit-grid {
    gap: 10px;
  }

  body:not(.admin-body) .flavor-toolbar,
  body:not(.admin-body) .locator-toolbar {
    gap: 12px;
    margin-bottom: 18px;
  }

  body:not(.admin-body) .flavor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  body:not(.admin-body) .flavor-card {
    min-height: 182px;
  }

  body:not(.admin-body) .flavor-card-media {
    min-height: 96px;
    padding: 10px 6px 0;
  }

  body:not(.admin-body) .flavor-card-media img {
    max-height: 92px;
  }

  body:not(.admin-body) .flavor-card-body {
    gap: 5px;
    padding: 9px;
  }

  body:not(.admin-body) .flavor-card h3 {
    font-size: clamp(0.8rem, 3.1vw, 0.94rem);
    line-height: 1.1;
  }

  body:not(.admin-body) .locator-layout.no-partners {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .partner-card-cta {
    padding: 18px;
  }

  body:not(.admin-body) .partner-card-cta h3 {
    font-size: 1.18rem;
  }

  body:not(.admin-body) .partner-actions .btn {
    flex: 1 1 100%;
  }

  body:not(.admin-body) .revenda-section .revenda-grid {
    gap: 18px;
  }

  body:not(.admin-body) .reseller-copy h2 {
    font-size: clamp(1.52rem, 6.6vw, 2rem);
  }

  body:not(.admin-body) .reseller-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 16px 0;
  }

  body:not(.admin-body) .reseller-proof-grid article {
    padding: 11px;
  }

  body:not(.admin-body) .reseller-proof-grid strong {
    font-size: 0.84rem;
  }

  body:not(.admin-body) .reseller-proof-grid span:last-child {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  body:not(.admin-body) .reseller-points {
    display: none;
  }

  body:not(.admin-body) .reseller-cta {
    min-height: 46px;
  }

  body:not(.admin-body) .form-panel,
  body:not(.admin-body) .story-panel {
    padding: 18px;
  }

  body:not(.admin-body) #resellerForm {
    padding-bottom: 18px;
  }

  body:not(.admin-body) #resellerForm .input-grid {
    gap: 10px;
  }

  body:not(.admin-body) #resellerForm .field {
    gap: 5px;
  }

  body:not(.admin-body) #resellerForm .field input,
  body:not(.admin-body) #resellerForm .field select,
  body:not(.admin-body) #resellerForm .field textarea {
    min-height: 44px;
    padding: 9px 10px;
  }

  body:not(.admin-body) #resellerForm .field textarea {
    min-height: 68px;
  }

  body:not(.admin-body) #resellerForm button[type="submit"] {
    min-height: 46px;
    margin-top: 4px;
  }
}

@media (max-width: 380px) {
  body:not(.admin-body) .flavor-grid {
    gap: 8px;
  }

  body:not(.admin-body) .flavor-card {
    min-height: 172px;
  }

  body:not(.admin-body) .flavor-card-media {
    min-height: 88px;
  }

  body:not(.admin-body) .flavor-card-media img {
    max-height: 84px;
  }

  body:not(.admin-body) .flavor-card-body {
    padding: 8px 6px;
  }
}

@media (max-width: 760px) {
  .size-pricing-grid {
    grid-template-columns: 1fr;
  }

  .size-pricing-card {
    padding: 14px;
  }

  .size-pricing-head {
    align-items: center;
  }

  .pricing-live-suggestion {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-live-suggestion > span,
  .pricing-live-suggestion .btn {
    grid-column: 1 / -1;
  }

  .pricing-live-suggestion .btn {
    width: 100%;
  }

  .metric-grid.order-metrics-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-metrics-compact .metric-card {
    min-height: auto;
    padding: 10px;
  }

  .order-compact-card,
  .product-compact-card,
  .form-section {
    border-radius: 14px;
  }

  .order-compact-main strong,
  .product-compact-card strong {
    font-size: 1rem;
  }

  .order-compact-list {
    gap: 10px;
  }
}

/* Receipts */
.receipt-wizard {
  display: grid;
  gap: 18px;
}

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

.receipt-wizard-steps span {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.receipt-wizard-steps b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--green);
}

.receipt-wizard-steps .is-active,
.receipt-wizard-steps .is-complete {
  border-color: var(--green);
  color: var(--green);
}

.receipt-wizard-steps .is-active b,
.receipt-wizard-steps .is-complete b {
  background: var(--green);
  color: #fff;
}

.receipt-wizard-form,
.receipt-review,
.receipt-detail {
  display: grid;
  gap: 16px;
}

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

.receipt-source-toggle label,
.receipt-delivery-option,
.receipt-warning-confirm,
.receipt-required-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.receipt-source-toggle label:has(input:checked),
.receipt-delivery-option:has(input:checked) {
  border-color: var(--green);
  background: var(--lime-pale);
}

.receipt-delivery-list,
.receipt-review-items,
.receipt-mini-list,
.receipt-list {
  display: grid;
  gap: 10px;
}

.receipt-delivery-option {
  justify-content: space-between;
}

.receipt-delivery-option > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.receipt-delivery-option > span:first-of-type {
  flex: 1;
}

.receipt-delivery-option small,
.receipt-payment-context,
.receipt-no-operation-note,
.receipt-linked-order,
.receipt-cancel-reason {
  color: var(--muted);
}

.receipt-section-title,
.receipt-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.receipt-section-title h3,
.receipt-detail-head h3 {
  margin: 0;
}

.receipt-section-title > div {
  display: grid;
  gap: 4px;
}

.receipt-section-title small {
  color: var(--muted);
}

.receipt-optional-fields {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.receipt-optional-fields > summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 800;
}

.receipt-optional-fields[open] > summary {
  margin-bottom: 14px;
}

.receipt-wizard-actions,
.receipt-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.receipt-wizard-actions .btn-primary:last-child {
  margin-left: auto;
}

.receipt-payment-context,
.receipt-warning-confirm,
.receipt-no-operation-note,
.receipt-linked-order,
.receipt-cancel-reason {
  padding: 12px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.receipt-warning-confirm {
  border-color: #e5c780;
  background: #fff8e7;
}

.receipt-required-confirm {
  border-color: var(--green);
  font-weight: 800;
}

.receipt-review-items > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.receipt-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.receipt-card > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 16px;
  border: 0;
  background: transparent;
  text-align: left;
}

.receipt-card > button > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.receipt-card > button > span:last-child {
  text-align: right;
}

.receipt-card.is-cancelled,
.receipt-mini-row.is-cancelled {
  opacity: 0.65;
}

.order-financial-summary {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.order-financial-totals span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.order-financial-totals small {
  color: var(--muted);
}

.order-financial-totals strong {
  overflow-wrap: anywhere;
}

.receipt-mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

@media (max-width: 760px) {
  .receipt-wizard {
    gap: 14px;
  }

  .receipt-wizard-steps span {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 8px 6px;
    font-size: 0.78rem;
  }

  .receipt-wizard-steps b {
    width: 24px;
    height: 24px;
  }

  .receipt-source-toggle,
  .receipt-review-items > span {
    grid-template-columns: 1fr;
  }

  .receipt-delivery-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .receipt-delivery-option > strong {
    grid-column: 2;
  }

  .receipt-wizard-actions,
  .receipt-detail-actions,
  .order-ready-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .receipt-wizard-actions .btn,
  .receipt-detail-actions .btn,
  .order-ready-actions .btn {
    width: 100%;
    margin: 0;
  }

  .receipt-card > button {
    align-items: flex-start;
    padding: 14px;
  }

  .order-financial-totals {
    gap: 6px;
  }

  .order-financial-totals strong {
    font-size: 0.92rem;
  }

  .receipt-mini-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .receipt-mini-row small {
    grid-column: 1 / -1;
  }
}
