/* Protótipo PDV White-Label — CSS Estático Local (Mobile-First, Tematizável via CSS Vars) */
:root {
  --font-sans: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Neutral White-Label Prototype Palette (Customizable live via Brand Studio) */
  --color-primary: #09090b;
  --color-primary-container: #18181b;
  --color-primary-container-rgb: 24, 24, 27;
  --color-on-primary: #ffffff;
  --color-on-primary-container: #ffffff;
  --color-primary-fixed: #e4e4e7;
  --color-primary-fixed-rgb: 228, 228, 231;
  --color-primary-fixed-dim: #d4d4d8;
  --color-on-primary-fixed: #18181b;
  --color-on-primary-fixed-variant: #27272a;
  --color-inverse-primary: #d4d4d8;

  --color-secondary: #92400e;
  --color-secondary-container: #f59e0b;
  --color-on-secondary: #ffffff;
  --color-on-secondary-container: #78350f;
  --color-secondary-fixed: #fef3c7;
  --color-secondary-fixed-rgb: 254, 243, 199;
  --color-secondary-fixed-dim: #fde68a;
  --color-on-secondary-fixed: #78350f;
  --color-on-secondary-fixed-variant: #92400e;

  --color-tertiary: #047857;
  --color-tertiary-container: #059669;
  --color-on-tertiary: #ffffff;
  --color-on-tertiary-container: #ecfdf5;
  --color-tertiary-fixed: #d1fae5;
  --color-tertiary-fixed-rgb: 209, 250, 229;
  --color-tertiary-fixed-dim: #a7f3d0;
  --color-on-tertiary-fixed: #064e3b;
  --color-on-tertiary-fixed-variant: #065f46;

  --color-error: #dc2626;
  --color-error-container: #fee2e2;
  --color-on-error: #ffffff;
  --color-on-error-container: #991b1b;

  --color-background: #f6f7f9;
  --color-on-background: #111827;
  --color-surface: #f6f7f9;
  --color-surface-bright: #ffffff;
  --color-surface-dim: #e4e4e7;
  --color-surface-tint: #18181b;
  --color-surface-variant: #e4e4e7;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f4f4f5;
  --color-surface-container: #ececee;
  --color-surface-container-high: #e4e4e7;
  --color-surface-container-highest: #d4d4d8;
  --color-on-surface: #111827;
  --color-on-surface-variant: #52525b;
  --color-inverse-surface: #18181b;
  --color-inverse-on-surface: #fafafa;
  --color-outline: #a1a1aa;
  --color-outline-variant: #e4e4e7;

  /* Spacing Tokens */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-lg: 1rem;
  --space-xl: 1.5rem;
  --gutter: 1rem;
  --gutter-desktop: 1.25rem;
  --margin: 1rem;
  --margin-desktop: 1.5rem;
}

/* ==================== PREFLIGHT / RESET ==================== */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--color-surface-variant);
  -webkit-tap-highlight-color: transparent;
}
html {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  line-height: inherit;
  overflow-x: clip;
  font-family: var(--font-sans);
  color: var(--color-on-surface);
  background-color: var(--color-background);
}
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; }
p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: inherit; }
strong, b { font-weight: 700; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
button, a, select, input, label, textarea { touch-action: manipulation; }
img, svg, video, canvas { display: block; max-width: 100%; }
main > :first-child { margin-top: 0 !important; }
main > :last-child { margin-bottom: 0 !important; }

/* Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.18); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.32); }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Ícones SVG inline */
.app-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ==================== KEYFRAMES & ANIMAÇÕES ==================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.animate-spin { animation: spin 1s linear infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.modal-animate { animation: modalFadeIn 180ms cubic-bezier(0.16, 1, 0.3, 1); }

/* Elevação refinada para cabeçalho e cards interativos */
.glass-header {
  background-color: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.pos-card {
  position: relative;
  transition: transform 140ms cubic-bezier(0.16, 1, 0.3, 1), border-color 140ms ease, box-shadow 140ms ease;
}
.pos-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(17, 24, 39, 0.09), 0 2px 6px -2px rgba(17, 24, 39, 0.04);
}
.pos-card:active {
  transform: scale(0.98);
}
.pos-card.has-in-cart {
  border-color: rgba(var(--color-primary-container-rgb), 0.55);
  box-shadow: 0 0 0 1px rgba(var(--color-primary-container-rgb), 0.15), 0 4px 12px -4px rgba(17, 24, 39, 0.08);
}
.prototype-badge {
  border: 1px dashed rgba(var(--color-primary-container-rgb), 0.35);
  background-color: rgba(var(--color-primary-fixed-rgb), 0.55);
  color: var(--color-on-primary-fixed);
}
.backdrop-blur-sm {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* ==================== ACESSIBILIDADE & DISPLAY ==================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.table { display: table; }
.hidden { display: none; }

/* ==================== POSICIONAMENTO & Z-INDEX ==================== */
.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }

.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.top-1\/2 { top: 50%; }
.right-0 { right: 0; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.bottom-6 { bottom: 1.5rem; }
.bottom-16 { bottom: 4rem; }
.bottom-20 { bottom: 5rem; }
.bottom-24 { bottom: 6rem; }
.bottom-\[64px\] { bottom: 64px; }
.bottom-\[68px\] { bottom: 68px; }
.bottom-\[72px\] { bottom: 72px; }
.bottom-\[76px\] { bottom: 76px; }
.left-0 { left: 0; }
.left-3 { left: 0.75rem; }
.left-4 { left: 1rem; }
.left-space-md { left: var(--space-md); }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-\[60\] { z-index: 60; }
.z-\[100\] { z-index: 100; }
.z-\[999\] { z-index: 999; }

/* ==================== FLEXBOX & GRID ==================== */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.shrink-0, .flex-shrink-0 { flex-shrink: 0; }
.grow { flex-grow: 1; }

.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-full { grid-column: 1 / -1; }

.gap-0\.5 { gap: 0.125rem; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-space-xs { gap: var(--space-xs); }
.gap-space-sm { gap: var(--space-sm); }
.gap-space-md { gap: var(--space-md); }
.gap-space-lg { gap: var(--space-lg); }
.gap-space-xl { gap: var(--space-xl); }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }

/* ==================== ESPAÇAMENTO (PADDING & MARGIN) ==================== */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-space-xs { padding: var(--space-xs); }
.p-space-sm { padding: var(--space-sm); }
.p-space-md { padding: var(--space-md); }
.p-space-lg { padding: var(--space-lg); }
.p-space-xl { padding: var(--space-xl); }
.p-gutter { padding: var(--gutter); }

.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-space-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-space-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-space-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-space-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }
.px-gutter-desktop { padding-left: var(--gutter-desktop); padding-right: var(--gutter-desktop); }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-space-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-space-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-space-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-space-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.pt-0\.5 { padding-top: 0.125rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-space-xs { padding-top: var(--space-xs); }
.pt-space-sm { padding-top: var(--space-sm); }
.pt-space-md { padding-top: var(--space-md); }
.pt-space-lg { padding-top: var(--space-lg); }
.pt-\[60px\] { padding-top: 60px; }
.pt-\[64px\] { padding-top: 64px; }
.pt-\[68px\] { padding-top: 68px; }
.pt-\[72px\] { padding-top: 72px; }

.pr-1 { padding-right: 0.25rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-3 { padding-right: 0.75rem; }
.pr-4 { padding-right: 1rem; }
.pr-10 { padding-right: 2.5rem; }
.pr-space-md { padding-right: var(--space-md); }

.pb-0 { padding-bottom: 0; }
.pb-0\.5 { padding-bottom: 0.125rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-28 { padding-bottom: 7rem; }
.pb-32 { padding-bottom: 8rem; }
.pb-36 { padding-bottom: 9rem; }
.pb-40 { padding-bottom: 10rem; }
.pb-space-sm { padding-bottom: var(--space-sm); }
.pb-space-xl { padding-bottom: var(--space-xl); }
.pb-\[env\(safe-area-inset-bottom\)\] { padding-bottom: env(safe-area-inset-bottom); }

.pl-2 { padding-left: 0.5rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-3\.5 { padding-left: 0.875rem; }
.pl-8 { padding-left: 2rem; }
.pl-9 { padding-left: 2.25rem; }
.pl-10 { padding-left: 2.5rem; }
.pl-11 { padding-left: 2.75rem; }
.pl-14 { padding-left: 3.5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.-mx-4 { margin-left: -1rem; margin-right: -1rem; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.-mt-4 { margin-top: -1rem; }
.mt-auto { margin-top: auto; }
.mt-space-xs { margin-top: var(--space-xs); }
.mt-space-sm { margin-top: var(--space-sm); }
.mt-space-md { margin-top: var(--space-md); }
.mr-1 { margin-right: 0.25rem; }
.mr-1\.5 { margin-right: 0.375rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-auto { margin-left: auto; }

/* ==================== DIMENSÕES (WIDTH & HEIGHT) ==================== */
.w-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-28 { width: 7rem; }
.w-32 { width: 8rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-\[210px\] { width: 210px; }

.min-w-0 { min-width: 0; }
.min-w-\[40px\] { min-width: 40px; }
.min-w-\[44px\] { min-width: 44px; }
.min-w-\[84px\] { min-width: 84px; }
.min-w-\[88px\] { min-width: 88px; }
.min-w-\[100px\] { min-width: 100px; }
.min-w-\[105px\] { min-width: 105px; }

.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-full { max-width: 100%; }
.max-w-\[1600px\] { max-width: 1600px; }

.h-px { height: 1px; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-13 { height: 3.25rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.h-\[44px\] { height: 44px; }
.h-\[56px\] { height: 56px; }
.h-\[60px\] { height: 60px; }
.h-\[64px\] { height: 64px; }
.h-\[68px\] { height: 68px; }
.h-\[72px\] { height: 72px; }
.h-\[210px\] { height: 210px; }

.min-h-0 { min-height: 0; }
.min-h-screen { min-height: 100vh; }
.min-h-\[32px\] { min-height: 32px; }
.min-h-\[36px\] { min-height: 36px; }
.min-h-\[38px\] { min-height: 38px; }
.min-h-\[40px\] { min-height: 40px; }
.min-h-\[42px\] { min-height: 42px; }
.min-h-\[44px\] { min-height: 44px; }
.min-h-\[46px\] { min-height: 46px; }
.min-h-\[48px\] { min-height: 48px; }
.min-h-\[52px\] { min-height: 52px; }
.min-h-\[56px\] { min-height: 56px; }
.min-h-\[58px\] { min-height: 58px; }
.min-h-\[64px\] { min-height: 64px; }
.min-h-\[116px\] { min-height: 116px; }
.min-h-\[260px\] { min-height: 260px; }
.min-h-\[calc\(100vh-72px\)\] { min-height: calc(100vh - 72px); }

.max-h-\[260px\] { max-height: 260px; }
.max-h-\[320px\] { max-height: 320px; }
.max-h-\[85vh\] { max-height: 85vh; }
.max-h-\[90vh\] { max-height: 90vh; }
.max-h-\[92vh\] { max-height: 92vh; }

/* ==================== TIPOGRAFIA & ESCALA ==================== */
.font-mono { font-family: var(--font-mono); }
.font-label-sm, .font-label-md, .font-label-lg,
.font-body-sm, .font-body-md, .font-body-lg,
.font-title-md, .font-title-lg,
.font-headline-md, .font-headline-lg, .font-headline-xl, .font-headline-xl-mobile {
  font-family: var(--font-sans);
}

.text-label-sm { font-size: 10px; line-height: 14px; letter-spacing: 0.04em; font-weight: 700; }
.text-label-md { font-size: 12px; line-height: 16px; letter-spacing: 0.02em; font-weight: 600; }
.text-label-lg { font-size: 14px; line-height: 18px; letter-spacing: 0.01em; font-weight: 700; }
.text-body-sm { font-size: 12px; line-height: 16px; font-weight: 400; }
.text-body-md { font-size: 14px; line-height: 20px; font-weight: 400; }
.text-body-lg { font-size: 16px; line-height: 24px; font-weight: 400; }
.text-title-md { font-size: 16px; line-height: 22px; font-weight: 600; }
.text-title-lg { font-size: 18px; line-height: 24px; font-weight: 600; }
.text-headline-md { font-size: 20px; line-height: 28px; font-weight: 700; }
.text-headline-lg { font-size: 24px; line-height: 32px; letter-spacing: -0.01em; font-weight: 700; }
.text-headline-xl-mobile { font-size: 28px; line-height: 34px; letter-spacing: -0.02em; font-weight: 800; }
.text-headline-xl { font-size: 36px; line-height: 44px; letter-spacing: -0.02em; font-weight: 800; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[12px\] { font-size: 12px; }
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }
.text-\[16px\] { font-size: 16px; }
.text-\[18px\] { font-size: 18px; }
.text-\[20px\] { font-size: 20px; }
.text-\[22px\] { font-size: 22px; }
.text-\[24px\] { font-size: 24px; }
.text-\[26px\] { font-size: 26px; }
.text-\[28px\] { font-size: 28px; }

/* Pesos explícitos (sempre após escala tipográfica para poder sobrescrever) */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration-line: underline; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.whitespace-nowrap { white-space: nowrap; }
.break-all { word-break: break-all; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* ==================== CORES DE TEXTO ==================== */
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-primary { color: var(--color-primary); }
.text-primary-container { color: var(--color-primary-container); }
.text-on-primary { color: var(--color-on-primary); }
.text-on-primary-container { color: var(--color-on-primary-container); }
.text-secondary { color: var(--color-secondary); }
.text-on-secondary-fixed { color: var(--color-on-secondary-fixed); }
.text-tertiary { color: var(--color-tertiary); }
.text-tertiary-container { color: var(--color-tertiary-container); }
.text-tertiary-fixed { color: var(--color-tertiary-fixed); }
.text-on-tertiary { color: var(--color-on-tertiary); }
.text-on-tertiary-container { color: var(--color-on-tertiary-container); }
.text-on-tertiary-fixed-variant { color: var(--color-on-tertiary-fixed-variant); }
.text-error { color: var(--color-error); }
.text-on-error { color: var(--color-on-error); }
.text-on-error-container { color: var(--color-on-error-container); }
.text-surface-container-lowest { color: var(--color-surface-container-lowest); }
.text-on-surface { color: var(--color-on-surface); }
.text-on-surface\/50 { color: rgba(26, 28, 29, 0.5); }
.text-on-surface\/60 { color: rgba(26, 28, 29, 0.6); }
.text-on-surface\/70 { color: rgba(26, 28, 29, 0.7); }
.text-on-surface\/80 { color: rgba(26, 28, 29, 0.8); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.text-inverse-on-surface { color: var(--color-inverse-on-surface); }

.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-green-800 { color: #166534; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-blue-800 { color: #1e40af; }
.text-amber-700 { color: #b45309; }
.text-amber-800 { color: #92400e; }

.text-\[\#166534\] { color: #166534; }
.text-\[\#18181B\] { color: #18181b; }
.text-\[\#92400E\] { color: #92400e; }
.text-\[\#B45309\] { color: #b45309; }
.text-\[\#E61919\] { color: #e61919; }

/* ==================== CORES DE FUNDO ==================== */
.bg-transparent { background-color: transparent; }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }

.bg-primary { background-color: var(--color-primary); }
.bg-primary-container { background-color: var(--color-primary-container); }
.bg-primary-container\/10 { background-color: rgba(var(--color-primary-container-rgb), 0.1); }
.bg-primary-fixed { background-color: var(--color-primary-fixed); }
.bg-primary-fixed\/50 { background-color: rgba(var(--color-primary-fixed-rgb), 0.5); }
.bg-primary-fixed\/60 { background-color: rgba(var(--color-primary-fixed-rgb), 0.65); }
.bg-primary-fixed\/70 { background-color: rgba(var(--color-primary-fixed-rgb), 0.78); }

.bg-secondary-fixed { background-color: var(--color-secondary-fixed); }
.bg-secondary-fixed\/60 { background-color: rgba(var(--color-secondary-fixed-rgb), 0.7); }
.bg-secondary-fixed\/70 { background-color: rgba(var(--color-secondary-fixed-rgb), 0.82); }

.bg-tertiary { background-color: var(--color-tertiary); }
.bg-tertiary-container { background-color: var(--color-tertiary-container); }
.bg-tertiary-fixed\/25 { background-color: rgba(var(--color-tertiary-fixed-rgb), 0.45); }
.bg-tertiary-fixed\/40 { background-color: rgba(var(--color-tertiary-fixed-rgb), 0.55); }
.bg-tertiary-fixed\/50 { background-color: rgba(var(--color-tertiary-fixed-rgb), 0.65); }
.bg-tertiary-fixed\/60 { background-color: rgba(var(--color-tertiary-fixed-rgb), 0.75); }
.bg-tertiary-fixed\/70 { background-color: rgba(var(--color-tertiary-fixed-rgb), 0.85); }

.bg-error { background-color: var(--color-error); }
.bg-error-container { background-color: var(--color-error-container); }
.bg-error-container\/60 { background-color: rgba(254, 226, 226, 0.7); }

.bg-surface { background-color: var(--color-surface); }
.bg-surface-variant { background-color: var(--color-surface-variant); }
.bg-surface-container-lowest { background-color: var(--color-surface-container-lowest); }
.bg-surface-container-lowest\/95 { background-color: rgba(255, 255, 255, 0.98); }
.bg-surface-container-low { background-color: var(--color-surface-container-low); }
.bg-surface-container-low\/40 { background-color: rgba(243, 243, 245, 0.4); }
.bg-surface-container-low\/60 { background-color: rgba(243, 243, 245, 0.6); }
.bg-surface-container-low\/70 { background-color: rgba(243, 243, 245, 0.7); }
.bg-surface-container-low\/80 { background-color: rgba(243, 243, 245, 0.8); }
.bg-surface-container { background-color: var(--color-surface-container); }
.bg-surface-container-high { background-color: var(--color-surface-container-high); }
.bg-surface-container-highest { background-color: var(--color-surface-container-highest); }
.bg-inverse-surface { background-color: var(--color-inverse-surface); }
.bg-outline { background-color: var(--color-outline); }
.bg-on-surface\/40 { background-color: rgba(26, 28, 29, 0.4); }
.bg-on-surface\/50 { background-color: rgba(26, 28, 29, 0.5); }

.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-900 { background-color: #111827; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-600 { background-color: #dc2626; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-600 { background-color: #16a34a; }
.bg-green-700 { background-color: #15803d; }
.bg-emerald-600 { background-color: #059669; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-600 { background-color: #2563eb; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-100 { background-color: #fef3c7; }

.bg-\[\#16A34A\] { background-color: var(--color-tertiary-container); }
.bg-\[\#25D366\] { background-color: #16a34a; }
.bg-\[\#DCFCE7\] { background-color: #dcfce7; }
.bg-\[\#E61919\] { background-color: var(--color-primary-container); }
.bg-\[\#F4F4F6\] { background-color: var(--color-background); }
.bg-\[\#FEE2E2\] { background-color: var(--color-primary-fixed); }
.bg-\[\#FFFBEB\] { background-color: #fffbeb; }

/* Utilitários extras para protótipo white-label e gráficos */
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.h-3 { height: 0.75rem; }
.h-2\.5 { height: 0.625rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.gap-1\.5 { gap: 0.375rem; }
.tracking-wider { letter-spacing: 0.05em; }
.font-mono { font-family: var(--font-mono); }
.bg-zinc-900 { background-color: #18181b; }
.bg-zinc-800 { background-color: #27272a; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-800 { background-color: #1e293b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.bg-amber-500 { background-color: #f59e0b; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-sky-600 { background-color: #0284c7; }
.border-primary-container\/30 { border-color: rgba(var(--color-primary-container-rgb), 0.3); }
.hover\:bg-\[\#15803d\]:hover { background-color: var(--color-tertiary); }

/* ==================== BORDAS, ARREDONDAMENTO & DIVISORES ==================== */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-dashed { border-style: dashed; }
.border-collapse { border-collapse: collapse; }

.border-transparent { border-color: transparent; }
.border-t-transparent { border-top-color: transparent; }
.border-primary-container { border-color: var(--color-primary-container); }
.border-tertiary { border-color: var(--color-tertiary); }
.border-tertiary\/30 { border-color: rgba(4, 120, 87, 0.3); }
.border-surface-container { border-color: var(--color-surface-container); }
.border-surface-container-highest { border-color: var(--color-surface-container-highest); }
.border-surface-variant { border-color: var(--color-surface-variant); }
.border-outline-variant\/30 { border-color: rgba(228, 228, 231, 0.9); }
.border-red-200 { border-color: #fecaca; }
.border-red-300 { border-color: #fca5a5; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-400 { border-color: #9ca3af; }
.border-green-200 { border-color: #bbf7d0; }
.border-green-500 { border-color: #22c55e; }
.border-amber-200 { border-color: #fde68a; }
.border-\[\#86EFAC\] { border-color: #86efac; }
.border-\[\#E61919\] { border-color: #e61919; }
.border-\[\#FCD34D\] { border-color: #fcd34d; }
.border-\[\#FDE68A\] { border-color: #fde68a; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-t-xl { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }
.rounded-t-2xl { border-top-left-radius: 1rem; border-top-right-radius: 1rem; }

.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; }
.divide-surface-container > :not([hidden]) ~ :not([hidden]) { border-color: var(--color-surface-container); }

/* ==================== SOMBRAS, ANÉIS & EFEITOS ==================== */
.shadow-xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-sm { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px -1px rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.09), 0 2px 4px -2px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.06); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }
.shadow-\[0_-4px_16px_rgba\(0\,0\,0\,0\.08\)\] { box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08); }

.ring-2 { box-shadow: 0 0 0 2px var(--ring-color, var(--color-primary-container)); }
.ring-secondary { --ring-color: var(--color-secondary); }
.ring-primary-container { --ring-color: var(--color-primary-container); }
.ring-tertiary { --ring-color: var(--color-tertiary); }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-85 { opacity: 0.85; }
.opacity-100 { opacity: 1; }
.grayscale { filter: grayscale(100%); }

/* ==================== OVERFLOW, INTERAÇÃO & TRANSFORMS ==================== */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

.tabular-nums { font-variant-numeric: tabular-nums; }
.appearance-none {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: none !important;
}
select.appearance-none::-ms-expand { display: none; }
.border-surface-variant\/70 { border-color: rgba(228, 228, 231, 0.85); }
.hover\:border-primary-container\/40:hover { border-color: rgba(var(--color-primary-container-rgb), 0.42); }
.focus-within\:border-primary-container:focus-within { border-color: var(--color-primary-container); }
.focus-within\:ring-2:focus-within { box-shadow: 0 0 0 2px var(--ring-color, var(--color-primary-container)); }
.focus-within\:ring-primary-container\/20:focus-within { --ring-color: rgba(var(--color-primary-container-rgb), 0.2); }
.focus\:border-primary-container:focus { border-color: var(--color-primary-container); }
.self-start { align-self: flex-start; }
.top-\[84px\] { top: 84px; }
.max-h-\[240px\] { max-height: 240px; }
.max-h-\[280px\] { max-height: 280px; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }

/* Indicador ativo elegante na barra inferior mobile */
nav[aria-label="Navegação Mobile"] a[aria-current="page"] {
  position: relative;
}
nav[aria-label="Navegação Mobile"] a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  border-radius: 0 0 9999px 9999px;
  background-color: var(--color-primary-container);
}
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.resize-none { resize: none; }
.select-none { -webkit-user-select: none; user-select: none; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.pointer-events-none { pointer-events: none; }

.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-24 { transform: translateY(6rem); }
.scale-\[1\.01\] { transform: scale(1.01); }

.transition-all { transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), opacity 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.transition-opacity { transition: opacity 150ms ease; }
.transition-shadow { transition: box-shadow 150ms ease; }
.transition-transform { transition: transform 150ms ease; }
.duration-300 { transition-duration: 300ms; }

/* ==================== PSEUDO-ELEMENTOS & ESTADOS ==================== */
.placeholder\:text-on-surface\/40::placeholder { color: rgba(26, 28, 29, 0.4); }
.placeholder\:text-on-surface-variant::placeholder { color: var(--color-on-surface-variant); }

/* Toggle Switch (cardapio.html) */
.after\:content-\[\'\'\]::after { content: ""; }
.after\:absolute::after { position: absolute; }
.after\:top-\[6px\]::after { top: 6px; }
.after\:left-\[6px\]::after { left: 6px; }
.after\:bg-surface-container-lowest::after { background-color: var(--color-surface-container-lowest); }
.after\:rounded-full::after { border-radius: 9999px; }
.after\:h-5::after { height: 1.25rem; }
.after\:w-5::after { width: 1.25rem; }
.after\:transition-all::after { transition: all 150ms ease; }

.peer:focus ~ .peer-focus\:outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.peer:checked ~ .peer-checked\:bg-tertiary-container { background-color: var(--color-tertiary-container); }
.peer:checked ~ .peer-checked\:bg-error-container { background-color: var(--color-error-container); }
.peer:checked ~ .peer-checked\:text-on-error-container { color: var(--color-on-error-container); }
.peer:checked ~ .peer-checked\:bg-tertiary-fixed\/60 { background-color: rgba(var(--color-tertiary-fixed-rgb), 0.7); }
.peer:checked ~ .peer-checked\:border-tertiary { border-color: var(--color-tertiary); }
.peer:checked ~ .peer-checked\:after\:translate-x-full::after { transform: translateX(100%); }
.peer:checked ~ .peer-checked\:after\:border-surface-container-lowest::after { border-color: var(--color-surface-container-lowest); }

.group:hover .group-hover\:text-primary { color: var(--color-primary); }
.group:hover .group-hover\:bg-primary-container { background-color: var(--color-primary-container); }
.group:hover .group-hover\:text-on-primary { color: var(--color-on-primary); }

/* Hover */
.hover\:bg-primary:hover { background-color: var(--color-primary); }
.hover\:bg-tertiary:hover { background-color: var(--color-tertiary); }
.hover\:bg-secondary-fixed:hover { background-color: var(--color-secondary-fixed); }
.hover\:bg-error-container:hover { background-color: var(--color-error-container); }
.hover\:bg-error-container\/40:hover { background-color: rgba(255, 218, 214, 0.4); }
.hover\:bg-surface-container:hover { background-color: var(--color-surface-container); }
.hover\:bg-surface-container-high:hover { background-color: var(--color-surface-container-high); }
.hover\:bg-surface-container-low\/60:hover { background-color: rgba(243, 243, 245, 0.6); }
.hover\:bg-black:hover { background-color: #000000; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.hover\:bg-red-700:hover { background-color: #b91c1c; }
.hover\:bg-green-700:hover { background-color: #15803d; }
.hover\:bg-emerald-700:hover { background-color: #047857; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:bg-\[\#15803d\]:hover { background-color: #15803d; }
.hover\:bg-\[\#1ebe5d\]:hover { background-color: #1ebe5d; }
.hover\:text-on-surface:hover { color: var(--color-on-surface); }
.hover\:text-primary-container:hover { color: var(--color-primary-container); }
.hover\:text-error:hover { color: var(--color-error); }
.hover\:text-on-error-container:hover { color: var(--color-on-error-container); }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.09), 0 2px 4px -2px rgba(0, 0, 0, 0.06); }

/* Focus */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:bg-surface-container-lowest:focus { background-color: var(--color-surface-container-lowest); }
.focus\:border-tertiary:focus { border-color: var(--color-tertiary); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--ring-color, var(--color-primary-container)); }
.focus\:ring-primary-container:focus { --ring-color: var(--color-primary-container); }

/* Active & Disabled */
.active\:scale-95:active { transform: scale(0.95); }
.active\:scale-\[0\.97\]:active { transform: scale(0.97); }
.active\:scale-\[0\.99\]:active { transform: scale(0.99); }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.disabled\:pointer-events-none:disabled { pointer-events: none; }

/* ==================== RESPONSIVO: SM (>= 640px) ==================== */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:inline { display: inline; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:flex { display: flex; }
  .sm\:table { display: table; }
  .sm\:hidden { display: none; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex-1 { flex: 1 1 0%; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-end { justify-content: flex-end; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:gap-2 { gap: 0.5rem; }
  .sm\:gap-3 { gap: 0.75rem; }
  .sm\:gap-space-sm { gap: var(--space-sm); }
  .sm\:gap-space-md { gap: var(--space-md); }
  .sm\:gap-space-lg { gap: var(--space-lg); }
  .sm\:left-auto { left: auto; }
  .sm\:right-6 { right: 1.5rem; }
  .sm\:bottom-6 { bottom: 1.5rem; }
  .sm\:w-12 { width: 3rem; }
  .sm\:w-36 { width: 9rem; }
  .sm\:w-40 { width: 10rem; }
  .sm\:w-44 { width: 11rem; }
  .sm\:w-64 { width: 16rem; }
  .sm\:w-72 { width: 18rem; }
  .sm\:w-auto { width: auto; }
  .sm\:h-11 { height: 2.75rem; }
  .sm\:h-12 { height: 3rem; }
  .sm\:h-\[72px\] { height: 72px; }
  .sm\:h-\[132px\] { height: 132px; }
  .sm\:p-4 { padding: 1rem; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-gutter { padding: var(--gutter); }
  .sm\:p-space-sm { padding: var(--space-sm); }
  .sm\:p-space-md { padding: var(--space-md); }
  .sm\:p-space-lg { padding: var(--space-lg); }
  .sm\:p-space-xl { padding: var(--space-xl); }
  .sm\:px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
  .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sm\:px-space-md { padding-left: var(--space-md); padding-right: var(--space-md); }
  .sm\:px-space-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
  .sm\:px-space-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }
  .sm\:px-gutter-desktop { padding-left: var(--gutter-desktop); padding-right: var(--gutter-desktop); }
  .sm\:py-space-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
  .sm\:py-space-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
  .sm\:pt-\[72px\] { padding-top: 72px; }
  .sm\:pt-space-lg { padding-top: var(--space-lg); }
  .sm\:pb-0 { padding-bottom: 0; }
  .sm\:pl-0 { padding-left: 0; }
  .sm\:mt-0 { margin-top: 0; }
  .sm\:-mx-space-lg { margin-left: calc(var(--space-lg) * -1); margin-right: calc(var(--space-lg) * -1); }
  .sm\:-mt-space-lg { margin-top: calc(var(--space-lg) * -1); }
  .sm\:font-body-md, .sm\:font-label-lg, .sm\:font-headline-md, .sm\:font-headline-lg { font-family: var(--font-sans); }
  .sm\:text-body-md { font-size: 14px; line-height: 20px; font-weight: 400; }
  .sm\:text-label-md { font-size: 12px; line-height: 16px; letter-spacing: 0.02em; font-weight: 600; }
  .sm\:text-label-lg { font-size: 14px; line-height: 18px; letter-spacing: 0.01em; font-weight: 700; }
  .sm\:text-title-lg { font-size: 18px; line-height: 24px; font-weight: 600; }
  .sm\:text-headline-md { font-size: 20px; line-height: 28px; font-weight: 700; }
  .sm\:text-headline-lg { font-size: 24px; line-height: 32px; letter-spacing: -0.01em; font-weight: 700; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-\[26px\] { font-size: 26px; }
  .sm\:truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sm\:line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
}

/* ==================== RESPONSIVO: MD (>= 768px) ==================== */
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:inline { display: inline; }
  .md\:inline-flex { display: inline-flex; }
  .md\:flex { display: flex; }
  .md\:table { display: table; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:w-auto { width: auto; }
}

/* ==================== RESPONSIVO: LG (>= 1024px) ==================== */
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:inline { display: inline; }
  .lg\:inline-flex { display: inline-flex; }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:w-\[35\%\] { width: 35%; }
  .lg\:w-\[40\%\] { width: 40%; }
  .lg\:w-\[60\%\] { width: 60%; }
  .lg\:w-\[65\%\] { width: 65%; }
  .lg\:p-space-lg { padding: var(--space-lg); }
  .lg\:pb-0 { padding-bottom: 0; }
  .lg\:pb-8 { padding-bottom: 2rem; }
}

/* ==================== RESPONSIVO: XL (>= 1280px) ==================== */
@media (min-width: 1280px) {
  .xl\:inline { display: inline; }
  .xl\:flex { display: flex; }
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==================== IMPRESSÃO DE CUPOM TÉRMICO 80mm ==================== */
@media print {
  body * { visibility: hidden !important; }
  #modal-cupom-impressao, #modal-cupom-impressao *,
  #modal-cupom-relatorio, #modal-cupom-relatorio * {
    visibility: visible !important;
  }
  #modal-cupom-impressao, #modal-cupom-relatorio {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .no-print { display: none !important; }
}
