.balcao-cardapio-container {
    display: block;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    background: #f5f5f7;
}

.balcao-mobile-page {
    --balcao-ink: #1a1a2e;
    --balcao-accent: #e94560;
    --balcao-muted: #888;
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    background: #f5f5f7;
    color: var(--balcao-ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.balcao-mobile-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--balcao-ink);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
}

.balcao-mobile-header-main {
    padding: max(14px, env(safe-area-inset-top)) 20px 14px;
}

.balcao-mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.balcao-mobile-brand-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
}

.balcao-mobile-brand-icon svg { width: 20px; height: 20px; }

.balcao-mobile-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.balcao-mobile-nav-item {
    display: flex;
    min-width: 0;
    min-height: 56px;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 4px;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .62);
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.balcao-mobile-nav-item:active { background: rgba(255, 255, 255, .14); transform: scale(.97); }
.balcao-mobile-nav-item svg { width: 20px; height: 20px; fill: none; stroke: rgba(255, 255, 255, .72); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.balcao-mobile-nav-item span { font-size: 10px; font-weight: 600; }

.balcao-mobile-search {
    position: relative;
    display: flex;
    height: 48px;
    align-items: center;
}

.balcao-mobile-search svg {
    position: absolute;
    left: 14px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: rgba(255, 255, 255, .4);
    stroke-width: 2;
    stroke-linecap: round;
}

.balcao-mobile-search input {
    width: 100%;
    height: 100%;
    padding: 0 16px 0 42px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    outline: none;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 15px;
}

.balcao-mobile-search input::placeholder { color: rgba(255, 255, 255, .42); }
.balcao-mobile-search input:focus { border-color: rgba(233, 69, 96, .55); background: rgba(255, 255, 255, .14); }

.balcao-mobile-categories {
    display: flex;
    min-height: 62px;
    gap: 8px;
    overflow-x: auto;
    padding: 9px 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.balcao-mobile-categories::-webkit-scrollbar { display: none; }

.balcao-mobile-category {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    border: 0;
    border-radius: 24px;
    background: #f0f0f2;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.balcao-mobile-category.active {
    background: var(--balcao-ink);
    color: #fff;
    box-shadow: 0 2px 10px rgba(26, 26, 46, .22);
}

.balcao-mobile-content { padding-bottom: 100px; }

.balcao-mobile-featured { padding: 16px 0 4px; }
.balcao-mobile-featured > h2,
.balcao-mobile-products > h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 750;
}

.balcao-mobile-featured-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 12px 20px 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.balcao-mobile-featured-list::-webkit-scrollbar { display: none; }

.balcao-feature-card {
    position: relative;
    min-width: calc(100% - 32px);
    min-height: 150px;
    flex: 0 0 calc(100% - 32px);
    overflow: hidden;
    padding: 18px 20px;
    border-radius: 16px;
    color: #fff;
    scroll-snap-align: center;
}

.balcao-feature-card::after {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    content: "";
    pointer-events: none;
}

.balcao-feature-card.theme-0 { background: linear-gradient(135deg, #1a1a2e, #0f3460); }
.balcao-feature-card.theme-1 { background: linear-gradient(135deg, #0f3460, #533483); }
.balcao-feature-card.theme-2 { background: linear-gradient(135deg, #2d3436, #636e72); }
.balcao-feature-badge { display: inline-block; margin-bottom: 6px; padding: 3px 9px; border-radius: 6px; background: rgba(255, 255, 255, .15); color: #ffd166; font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.balcao-feature-card h3 { overflow: hidden; margin-bottom: 1px; font-size: 20px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.balcao-feature-card p { overflow: hidden; margin-bottom: 12px; color: rgba(255, 255, 255, .62); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.balcao-feature-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.balcao-feature-bottom > strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 21px; }
.balcao-feature-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0 0; }
.balcao-feature-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: #d0d0d0; cursor: pointer; transition: width .2s ease, background .2s ease; }
.balcao-feature-dots button.active { width: 24px; background: var(--balcao-accent); }

.balcao-mobile-products { padding-top: 16px; }
.balcao-mobile-products > h2 { padding-bottom: 10px; }
.balcao-mobile-products > h2 span { padding: 4px 12px; border-radius: 12px; background: #eee; color: #999; font-size: 12px; font-weight: 550; }
.balcao-mobile-product-list { display: flex; flex-direction: column; gap: 12px; padding: 0 20px 18px; }

.balcao-mobile-product {
    display: flex;
    min-height: 110px;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
    transition: transform .15s ease;
}

.balcao-mobile-product:active { transform: scale(.99); }
.balcao-product-visual { position: relative; display: grid; width: 104px; min-height: 110px; flex: 0 0 104px; place-items: center; }
.balcao-product-emoji { font-size: 42px; }
.balcao-product-category { position: absolute; top: 8px; left: 8px; max-width: 88px; overflow: hidden; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .82); color: #555; font-size: 9px; font-weight: 750; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.balcao-product-visual.tone-0 { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.balcao-product-visual.tone-1 { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.balcao-product-visual.tone-2 { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.balcao-product-visual.tone-3 { background: linear-gradient(135deg, #ffebee, #ffcdd2); }
.balcao-product-visual.tone-4 { background: linear-gradient(135deg, #e0f7fa, #80deea); }
.balcao-product-visual.tone-5 { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }

.balcao-product-info { display: flex; min-width: 0; flex: 1; flex-direction: column; justify-content: center; padding: 12px 12px 12px 14px; }
.balcao-product-info h3 { overflow: hidden; margin-bottom: 2px; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.balcao-product-info p { overflow: hidden; margin-bottom: 8px; color: #aaa; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.balcao-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.balcao-product-bottom > strong { color: var(--balcao-ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; white-space: nowrap; }

.balcao-mobile-quantity {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, .15);
}

.balcao-mobile-quantity button { display: grid; width: 36px; height: 40px; place-items: center; border: 0; background: transparent; color: #fff; font-size: 21px; font-weight: 700; cursor: pointer; }
.balcao-mobile-quantity button:active { background: rgba(255, 255, 255, .18); }
.balcao-mobile-quantity button:disabled { opacity: .4; cursor: default; }
.balcao-mobile-quantity span { min-width: 24px; color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; font-weight: 750; text-align: center; }
.balcao-mobile-quantity.light { min-height: 36px; gap: 3px; padding: 3px; border: 1px solid #e8e4e6; background: #fff; }
.balcao-mobile-quantity.light button { width: 30px; height: 30px; border-radius: 8px; background: #f8e9e8; color: #e94560; font-size: 18px; }
.balcao-mobile-quantity.light button:active { background: #e94560; color: #fff; }
.balcao-mobile-quantity.light span { min-width: 18px; color: var(--balcao-ink); font-size: 13px; }
.balcao-mobile-quantity.light span.has-quantity { color: #e94560; }

.balcao-mobile-cart {
    position: fixed;
    z-index: 60;
    right: max(20px, calc((100vw - 440px) / 2));
    bottom: max(20px, env(safe-area-inset-bottom));
    left: max(20px, calc((100vw - 440px) / 2));
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border: 0;
    border-radius: 18px;
    background: var(--balcao-ink);
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
    text-align: left;
    cursor: pointer;
}

.balcao-mobile-cart:active { transform: scale(.985); }
.balcao-mobile-cart-left { display: flex; align-items: center; gap: 12px; }
.balcao-mobile-cart-left > span:last-child { display: grid; }
.balcao-mobile-cart-left strong { font-size: 14px; font-weight: 700; }
.balcao-mobile-cart-left small { color: rgba(255, 255, 255, .5); font-size: 11px; }
.balcao-mobile-cart-icon { position: relative; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: #e94560; }
.balcao-mobile-cart-icon svg { width: 19px; height: 19px; }
.balcao-mobile-cart-icon span { position: absolute; top: -5px; right: -5px; display: grid; min-width: 19px; height: 19px; place-items: center; padding: 0 4px; border: 2px solid var(--balcao-ink); border-radius: 10px; background: #ff6b6b; font-size: 10px; font-weight: 800; }
.balcao-mobile-cart-total { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; white-space: nowrap; }

.balcao-mobile-empty { display: grid; gap: 5px; margin: 0 20px; padding: 28px 20px; border: 1px dashed #ddd; border-radius: 14px; background: #fff; text-align: center; }
.balcao-mobile-empty strong { font-size: 15px; }
.balcao-mobile-empty span { color: #999; font-size: 13px; }

@media (min-width: 768px) {
    .balcao-mobile-page { box-shadow: 0 0 60px rgba(0, 0, 0, .08); }
}

@media (max-width: 360px) {
    .balcao-mobile-header-main { padding-right: 14px; padding-left: 14px; }
    .balcao-mobile-categories { padding-right: 14px; padding-left: 14px; }
    .balcao-mobile-featured-list { padding-right: 14px; padding-left: 14px; }
    .balcao-mobile-product-list { padding-right: 14px; padding-left: 14px; }
    .balcao-mobile-featured > h2, .balcao-mobile-products > h2 { padding-right: 14px; padding-left: 14px; }
    .balcao-product-visual { width: 88px; flex-basis: 88px; }
    .balcao-mobile-quantity.light button { width: 26px; }
    .balcao-product-bottom > strong { font-size: 14px; }
}

.balcao-mobile-order-flow {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 0 calc(170px + env(safe-area-inset-bottom));
    background: #f5f5f7;
    color: #1a1a2e;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.balcao-mobile-order-header {
    grid-template-columns: 40px 1fr 40px;
    gap: 14px;
    margin: 0;
    padding: max(16px, env(safe-area-inset-top)) 20px 16px;
    border-radius: 0 0 20px 20px;
    background: #1a1a2e;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
}

.balcao-mobile-order-header .order-back {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: none;
    font-size: 1.35rem;
}

.balcao-mobile-order-header .order-back:hover { background: rgba(255, 255, 255, .15); }
.balcao-mobile-order-header .order-title .restaurant-name { font-size: 18px; }
.balcao-mobile-order-header .order-header-space { width: 40px; height: 40px; }

.balcao-mobile-summary-screen {
    width: 100%;
    max-width: 480px;
    padding: 20px 20px 30px;
}

.balcao-summary-label {
    margin-bottom: 12px;
    color: #999;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.balcao-summary-items { display: flex; flex-direction: column; gap: 10px; }

.balcao-summary-item {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fff;
}

.balcao-summary-emoji { flex: 0 0 auto; font-size: 30px; }
.balcao-summary-item-info { display: grid; min-width: 0; flex: 1; gap: 3px; }
.balcao-summary-item-info strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.balcao-summary-item-info small { color: #aaa; font-size: 12px; }
.balcao-summary-price { flex: 0 0 auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; white-space: nowrap; }
.balcao-summary-remove { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 10px; background: #fee2e2; color: #e94560; cursor: pointer; }
.balcao-summary-remove:active { background: #fca5a5; }
.balcao-summary-remove svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.balcao-summary-empty {
    display: grid;
    justify-items: center;
    padding: 40px 20px;
    text-align: center;
}

.balcao-summary-empty > span { margin-bottom: 10px; font-size: 44px; }
.balcao-summary-empty strong { margin-bottom: 4px; color: #666; font-size: 16px; }
.balcao-summary-empty small { color: #aaa; font-size: 13px; }

.balcao-mobile-summary-footer {
    right: auto;
    left: 50%;
    width: min(100vw, 480px);
    gap: 0;
    padding: 14px 20px max(22px, calc(16px + env(safe-area-inset-bottom)));
    border-top: 1px solid #eee;
    background: #fff;
}

.balcao-summary-count,
.balcao-summary-total { display: flex; align-items: center; justify-content: space-between; }
.balcao-summary-count { margin-bottom: 8px; color: #666; font-size: 14px; }
.balcao-summary-count strong { color: #1a1a2e; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.balcao-summary-total { margin-bottom: 14px; padding-top: 12px; border-top: 2px solid #f0f0f0; }
.balcao-summary-total span { font-size: 16px; font-weight: 750; }
.balcao-summary-total strong { color: #e94560; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; }
.balcao-summary-confirm { width: 100%; min-height: 56px; padding: 12px 16px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #e94560, #ff6b6b); color: #fff; font-size: 16px; font-weight: 750; box-shadow: 0 4px 20px rgba(233, 69, 96, .3); cursor: pointer; }
.balcao-summary-confirm:active { transform: scale(.985); }
.balcao-summary-confirm:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }

.balcao-mobile-success-screen {
    width: 100%;
    max-width: 480px;
    min-height: calc(100dvh - 68px);
    padding: 24px 20px 168px;
    color: #1a1a2e;
}

.balcao-mobile-success-screen .success-confetti { height: 10px; color: #e94560; }
.balcao-mobile-success-screen .success-icon { width: 72px; height: 72px; margin: 8px auto 16px; background: #22c55e; font-size: 2.2rem; box-shadow: 0 4px 20px rgba(34, 197, 94, .3); }
.balcao-mobile-success-screen h2 { margin: 0 0 6px; font-size: 20px; }
.balcao-mobile-success-screen > p:not(.welcome-kicker) { margin: 0 auto 20px; color: #888; font-size: 13px; line-height: 1.5; }
.balcao-mobile-success-screen .order-details { gap: 0; margin: 0 0 16px; padding: 8px 18px; border-color: #eee; border-radius: 14px; background: #fff; box-shadow: none; color: #888; font-size: 13px; }
.balcao-mobile-success-screen .order-details span { padding: 10px 0; }
.balcao-mobile-success-screen .order-details span + span { border-top: 1px solid #f5f5f5; }
.balcao-mobile-success-screen .order-details strong { color: #1a1a2e; font-size: 14px; }
.balcao-mobile-success-screen .balcao-receipt-wrap { margin: 0 0 16px; }
.balcao-mobile-success-screen .balcao-receipt { width: 100%; padding: 18px 20px; border: 1px dashed #ccc; border-radius: 14px; background: #fff; box-shadow: none; }
.balcao-mobile-success-screen .balcao-receipt::before,
.balcao-mobile-success-screen .balcao-receipt::after { display: none; }
.balcao-mobile-success-screen .receipt-perforation { display: none; }
.balcao-mobile-success-screen .receipt-title { margin-bottom: 2px; font-size: 16px; letter-spacing: 1px; }
.balcao-mobile-success-screen .receipt-subtitle { margin-bottom: 12px; color: #888; font-size: 12px; letter-spacing: .04em; }
.balcao-mobile-success-screen .receipt-meta { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px dashed #ddd; color: #888; font-size: 12px; }
.balcao-mobile-success-screen .receipt-head-row { margin-top: 0; padding-bottom: 6px; border-bottom: 1px solid #eee; color: #666; font-size: 12px; }
.balcao-mobile-success-screen .balcao-receipt-grid { grid-template-columns: minmax(0, 1fr) 34px auto; gap: 8px; }
.balcao-mobile-success-screen .receipt-item-row { margin-top: 8px; font-size: 12px; }
.balcao-mobile-success-screen .receipt-item-row > :nth-child(2) { text-align: center; }
.balcao-mobile-success-screen .receipt-item-row > :last-child { text-align: right; white-space: nowrap; }
.balcao-mobile-success-screen .receipt-head-row > :nth-child(2) { text-align: center; }
.balcao-mobile-success-screen .receipt-head-row > :last-child { text-align: right; }
.balcao-mobile-success-screen .receipt-items-scroll { max-height: 220px; }

.balcao-mobile-order-flow .receipt-print-status {
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fff;
    text-align: left;
}

.balcao-mobile-order-flow .receipt-print-status strong { color: #1a1a2e; font-size: 14px; }
.balcao-mobile-order-flow .receipt-print-status p { margin-top: 4px; color: #888; font-size: 12px; line-height: 1.5; }
.balcao-mobile-order-flow .receipt-footer { right: auto; width: min(100vw, 480px); padding: 0; border-top: 1px solid #eee; background: #fff; }
.balcao-mobile-order-flow .receipt-footer-total { padding: 12px 20px; color: #666; font-size: 14px; }
.balcao-mobile-order-flow .receipt-footer-total strong { color: #e94560; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; }
.balcao-mobile-order-flow .receipt-footer .footer-btn { min-height: 56px; border-radius: 0; background: #8b1a2b; box-shadow: none; }

@media (max-width: 360px) {
    .balcao-mobile-summary-screen { padding-right: 14px; padding-left: 14px; }
    .balcao-summary-item { gap: 8px; padding: 11px; }
    .balcao-summary-emoji { font-size: 26px; }
    .balcao-summary-price { font-size: 12px; }
    .balcao-summary-remove { width: 30px; height: 30px; }
}

.balcao-admin-page {
    --bg: #f5f5f7;
    --surface: #fff;
    --surface-2: #f8f8fa;
    --ink: #1a1a2e;
    --ink-2: #34344a;
    --muted: #777783;
    --line: #e6e6ec;
    --brand: #e94560;
    --brand-dark: #c7354d;
    --brand-light: #ff6b6b;
    --brand-soft: #fde8ec;
    --frame: 480px;
    background: #f5f5f7;
    color: #1a1a2e;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.balcao-admin-page.sales-dashboard {
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
}

.balcao-admin-page.sales-dashboard .sales-header {
    background: #1a1a2e;
}

.balcao-admin-page.sales-dashboard .sales-header-pin {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.balcao-admin-page.sales-dashboard .sales-header .products-back {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: none;
}

.balcao-admin-page.sales-dashboard .sales-primary,
.balcao-admin-page.sales-dashboard .products-pin-submit {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    box-shadow: 0 8px 18px rgba(233, 69, 96, .2);
}

.balcao-admin-page.sales-dashboard .sales-content {
    padding-right: 16px;
    padding-left: 16px;
}

.balcao-admin-page.products-admin {
    max-width: 480px;
    margin: 0 auto;
    background: #f5f5f7;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
}

.balcao-admin-page.products-admin .products-admin-header {
    background: #1a1a2e;
}

.balcao-admin-page.products-admin .products-back {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: none;
}

.balcao-admin-page.products-admin .products-new {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .08);
}

.balcao-admin-page.products-admin .products-edit-footer {
    right: auto;
    left: 50%;
    width: min(100vw, 480px);
    transform: translateX(-50%);
}

.balcao-product-detail {
    --frame: 480px;
    --surface: #f5f5f7;
    --surface-2: #fff;
    --ink: #1a1a2e;
    --ink-2: #34344a;
    --muted: #777783;
    --line: #e6e6ec;
    --brand: #e94560;
    --brand-dark: #c7354d;
    --brand-light: #ff6b6b;
    --brand-soft: #fde8ec;
    background: #f5f5f7;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
}

.balcao-product-detail .product-detail-header {
    background: #1a1a2e;
}

.balcao-product-detail .product-detail-back {
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
}

.balcao-product-detail .product-detail-content {
    min-height: calc(100dvh - 146px);
}

.balcao-product-detail .product-detail-image {
    border-radius: 16px;
    background: #e8e8ed;
}

.balcao-product-detail .product-detail-purchase {
    border-radius: 14px;
    background: #fff;
}

.balcao-product-detail .product-detail-footer {
    background: #fff;
}

.balcao-categories-page {
    --frame: 480px;
    --bg: #f5f5f7;
    --surface: #fff;
    --surface-2: #f8f8fa;
    --ink: #1a1a2e;
    --ink-2: #34344a;
    --muted: #777783;
    --line: #e6e6ec;
    --brand: #e94560;
    --brand-dark: #c7354d;
    --brand-light: #ff6b6b;
    --brand-soft: #fde8ec;
    min-height: 100dvh;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    background: #f5f5f7;
    color: #1a1a2e;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
}

.balcao-secondary-header {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: max(16px, env(safe-area-inset-top)) 20px 18px;
    border-radius: 0 0 20px 20px;
    background: #1a1a2e;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
}

.balcao-secondary-back {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.balcao-secondary-header span {
    color: #ff9eaa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.balcao-secondary-header h1 {
    margin: 3px 0;
    font-size: 20px;
    font-weight: 750;
}

.balcao-secondary-header p {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
}

.balcao-categories-page .categorias-list {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding: 18px 16px;
}

.balcao-categories-page .categoria-hero {
    min-height: 116px;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(26, 26, 46, .06);
}

.balcao-categories-page .categoria-hero-image {
    flex-basis: 34%;
}

.balcao-categories-page .categoria-hero-body {
    padding: 16px;
}

.balcao-categories-page .categoria-hero-title {
    font-size: 16px;
}

.balcao-categories-page .categoria-hero-sub {
    margin-top: 5px;
    color: #e94560;
    font-size: 12px;
}

.balcao-categories-page > .produto-card {
    width: calc(100% - 32px);
    margin: 20px 16px;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(26, 26, 46, .06);
}

@media (min-width: 768px) {
    .balcao-product-detail .product-detail-footer { max-width: 480px; }
}

@media (min-width: 600px) {
    .balcao-mobile-page {
        max-width: 100%;
        padding-bottom: max(32px, env(safe-area-inset-bottom));
    }

    .balcao-mobile-header-main {
        display: grid;
        grid-template-columns: auto minmax(260px, 1fr) minmax(240px, 340px);
        align-items: center;
        gap: 20px;
        width: min(100%, 1200px);
        margin: 0 auto;
        padding: max(16px, env(safe-area-inset-top)) 28px;
    }

    .balcao-mobile-brand,
    .balcao-mobile-nav {
        margin: 0;
    }

    .balcao-mobile-nav { gap: 8px; }
    .balcao-mobile-nav-item { min-height: 48px; flex-direction: row; gap: 8px; padding: 8px 10px; }
    .balcao-mobile-nav-item svg { width: 18px; height: 18px; }
    .balcao-mobile-nav-item span { font-size: 12px; }

    .balcao-mobile-categories {
        justify-content: center;
        padding-right: 28px;
        padding-left: 28px;
    }

    .balcao-mobile-content {
        width: min(100%, 1200px);
        margin: 0 auto;
        padding: 0 12px 120px;
    }

    .balcao-mobile-featured { padding-top: 24px; }
    .balcao-mobile-featured > h2,
    .balcao-mobile-products > h2 { padding-right: 16px; padding-left: 16px; }
    .balcao-mobile-featured-list { padding-right: 16px; padding-left: 16px; }
    .balcao-feature-card { min-width: calc(50% - 8px); flex-basis: calc(50% - 8px); }

    .balcao-mobile-product-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 0 16px 24px;
    }

    .balcao-mobile-product { min-height: 138px; }
    .balcao-product-visual { width: 120px; min-height: 138px; flex-basis: 120px; }
    .balcao-product-emoji { font-size: 48px; }

    .balcao-mobile-cart {
        right: 50%;
        bottom: max(24px, env(safe-area-inset-bottom));
        width: min(calc(100% - 48px), 620px);
        transform: translateX(50%);
        border-radius: 18px;
    }

    .balcao-mobile-order-flow {
        max-width: 100%;
        padding-bottom: calc(150px + env(safe-area-inset-bottom));
    }

    .balcao-mobile-order-header { padding-right: 28px; padding-left: 28px; }

    .balcao-mobile-summary-screen {
        max-width: 1000px;
        margin: 0 auto;
        padding: 28px;
    }

    .balcao-summary-label { margin-bottom: 18px; font-size: 14px; }

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

    .balcao-summary-item { min-height: 92px; padding: 16px; }
    .balcao-summary-item-info strong { font-size: 15px; }
    .balcao-summary-price { font-size: 14px; }

    .balcao-mobile-summary-footer {
        right: 50%;
        left: auto;
        width: min(100%, 1000px);
        padding-right: 28px;
        padding-left: 28px;
        transform: translateX(50%);
    }

    .balcao-mobile-success-screen {
        max-width: 1000px;
        margin: 0 auto;
        padding: 32px 28px 160px;
    }

    .balcao-mobile-success-screen h2 { font-size: 24px; }
    .balcao-mobile-success-screen > p:not(.welcome-kicker) { max-width: 540px; font-size: 14px; }
    .balcao-mobile-success-screen .order-details,
    .balcao-mobile-success-screen .balcao-receipt-wrap,
    .balcao-mobile-order-flow .receipt-print-status { max-width: 720px; margin-right: auto; margin-left: auto; }
    .balcao-mobile-order-flow .receipt-footer { right: 50%; width: min(100%, 1000px); transform: translateX(50%); }
    .balcao-mobile-order-flow .receipt-footer-total { padding-right: 28px; padding-left: 28px; }

    .balcao-admin-page.sales-dashboard { max-width: 100%; }
    .balcao-admin-page.sales-dashboard .sales-header { padding-right: max(28px, calc((100vw - 1200px) / 2)); padding-left: max(28px, calc((100vw - 1200px) / 2)); }
    .balcao-admin-page.sales-dashboard .sales-header-pin { padding-right: 28px; padding-left: 28px; }
    .balcao-admin-page.sales-dashboard .sales-content { max-width: 1200px; padding: 28px; }

    .balcao-admin-page.products-admin { max-width: 100%; }
    .balcao-admin-page.products-admin .products-admin-header { padding-right: max(28px, calc((100vw - 1200px) / 2)); padding-left: max(28px, calc((100vw - 1200px) / 2)); }
    .balcao-admin-page.products-admin .products-catalog-screen,
    .balcao-admin-page.products-admin .products-edit-screen { padding-right: 28px; padding-left: 28px; }
    .balcao-admin-page.products-admin .products-edit-footer { right: 0; left: 0; width: auto; transform: none; }

    .balcao-product-detail {
        max-width: 100%;
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }

    .balcao-product-detail .product-detail-header { padding-right: max(28px, calc((100vw - 1000px) / 2)); padding-left: max(28px, calc((100vw - 1000px) / 2)); }
    .balcao-product-detail .product-detail-content { width: min(100%, 1000px); min-height: 0; padding: 28px; }
    .balcao-product-detail .product-detail-image { height: clamp(280px, 40vw, 440px); }
    .balcao-product-detail .product-detail-footer { width: min(100%, 1000px); max-width: 1000px; }

    .balcao-categories-page { max-width: 100%; }
    .balcao-secondary-header { grid-template-columns: 40px minmax(0, 1fr); padding-right: max(28px, calc((100vw - 1200px) / 2)); padding-left: max(28px, calc((100vw - 1200px) / 2)); }
    .balcao-categories-page .categorias-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 1200px); margin: 0 auto; padding: 24px 28px; gap: 18px; }
    .balcao-categories-page .categoria-hero { min-height: 150px; }
    .balcao-categories-page > .produto-card { width: min(calc(100% - 56px), 720px); margin: 28px auto; }
}

@media (min-width: 900px) {
    .balcao-mobile-content { padding-right: 24px; padding-left: 24px; }
    .balcao-mobile-product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .balcao-mobile-product { min-height: 150px; }
    .balcao-product-visual { width: 112px; flex-basis: 112px; }
    .balcao-feature-card { min-width: calc(33.333% - 11px); flex-basis: calc(33.333% - 11px); }

    .balcao-mobile-summary-screen { padding-top: 36px; }
    .balcao-summary-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .balcao-product-detail .product-detail-content {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
        align-items: center;
        gap: 32px;
        min-height: 0;
        padding-top: 36px;
    }

    .balcao-product-detail .product-detail-image { height: min(48vw, 480px); }
    .balcao-product-detail .product-detail-info { padding-top: 0; }
    .balcao-product-detail .product-detail-info h2 { font-size: 30px; }
    .balcao-product-detail .product-detail-purchase { grid-column: 2; margin-top: -12px; }
    .balcao-categories-page .categorias-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .balcao-admin-page.sales-dashboard .sales-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
    .balcao-mobile-header-main { padding-right: 0; padding-left: 0; }
    .balcao-mobile-categories { padding-right: 0; padding-left: 0; }
    .balcao-mobile-content { padding-right: 0; padding-left: 0; }
    .balcao-mobile-summary-screen { padding-right: 0; padding-left: 0; }
    .balcao-categories-page .categorias-list { padding-right: 0; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .balcao-mobile-page *,
    .balcao-mobile-page *::before,
    .balcao-mobile-page *::after,
    .balcao-mobile-order-flow *,
    .balcao-mobile-order-flow *::before,
    .balcao-mobile-order-flow *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
