/* D.Burger — papel claro, tinta de café e laranja de brasa.
   Camada exclusivamente visual; não altera regras, dados ou integrações. */
:root {
  --char: #e5d3ad;
  --char-2: #dac596;
  --cream: #302517;
  --cream-dim: #66573f;
  --ember: #c84615;
  --ember-dark: #a9340c;
  --line: #bca77a;
  --paper: #dac596;
  --paper-light: #e4d0a7;
  --ink: #322317;
  --sage: #426346;
  --shadow: 0 12px 32px #4c301310;
}
body { background-image: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: #c846151a; }
button:focus-visible, a:focus-visible { outline: 3px solid #c84615; outline-offset: 4px; }
.btn { min-height: 44px; }
.btn-primary { box-shadow: 0 3px 8px #9b391614; }
.btn-ghost, .paymethod { background: #dfcba0; }
.btn-ghost:hover { background: #d3b983; }
.btn-outline-ember { background: #fbecdf; border-color: #d8b39c; }
.brandbar { background: #e5d3ad; padding-block: 17px; box-shadow: none; }
.brand .flame { background: #e2be7e; outline-color: #b4946a66; }
.brand-name { font-size: 25px; letter-spacing: -.04em; }
.brand-sub { font-size: 9px; letter-spacing: .16em; }
.team-link { min-height: 44px; color: var(--cream-dim); }
.team-link:hover { color: var(--ember); }
.store-badge { background: #ddc99b; border-color: #d8c9b0; color: #4b6243; }
.store-badge.is-closed { color: #755132; }
.menu-layout { max-width: 1220px; }
.menu-intro { display: grid; grid-template-columns: 1.3fr 1fr; overflow: hidden; margin: 28px 0 0; min-height: 300px; border: 1px solid #d8c6a7; border-radius: 8px; background: #e3cea4; }
.intro-copy { position: relative; padding: 35px 42px 29px; }
.intro-kicker, .intro-edition { font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.intro-kicker { color: #7a5940; }
.intro-title { margin: 14px 0 14px; font-family: 'Oswald','Arial Narrow',sans-serif; font-size: clamp(39px,4.4vw,63px); font-weight: 700; letter-spacing: -.045em; line-height: 1.06; }
.intro-title em { color: var(--ember); font-style: normal; }
.intro-description { margin-bottom: 18px; font-size: 12px; line-height: 1.7; color: #705b44; }
.intro-signature { display: inline-block; border-top: 1px solid #b99d744d; padding-top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.intro-art { position: relative; display: grid; place-items: center; padding: 26px; background: #d8bb82; border-left: 1px solid #b99d744d; }
.intro-art::before, .intro-art::after { content: ''; position: absolute; width: 80%; height: 80%; border: 1px solid #76532d24; border-radius: 50%; pointer-events: none; }
.intro-art::after { width: 92%; height: 92%; }
.intro-art img { position: relative; width: min(72%,255px); height: auto; transform: rotate(-8deg); }
.intro-stamp { position: absolute; top: 18px; right: 19px; z-index: 1; width: 66px; height: 66px; display: grid; align-content: center; text-align: center; border: 1px solid #785332; border-radius: 50%; color: #624529; font-size: 9px; font-weight: 700; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; transform: rotate(12deg); }
.intro-edition { position: absolute; bottom: 15px; font-size: 8px; color: #65482d; }
.menu-social-strip { margin: 0; padding: 12px 0; background: transparent; border-bottom: 1px solid var(--line); color: var(--cream-dim); }
.social-icon { width: 29px; height: 29px; background: transparent; border-color: #bca77a; border-radius: 50%; }
.social-message { color: var(--cream-dim); font-size: 10px; }
.tabs { padding-block: 24px; gap: 10px; }
.tab { border-radius: 50px; padding: 7px 15px 7px 8px; background: #dcca9c; color: #68523c; border-color: #d9c9ac; font-size: 13px; }
.tab-icon { border-radius: 50%; background: #e9d7b1; }
.tab-count { border-radius: 50%; border-color: #cbb59166; }
.tab.active { box-shadow: none; }
.menu-heading { align-items: flex-end; padding-bottom: 22px; }
.menu-kicker { color: #7a6753; font-size: 9px; }
.menu-heading h1 { font-size: clamp(30px,3vw,41px); margin-top: 8px; }
.menu-heading p { font-size: 12px; }
.menu-count { transform: none; border: 0; border-radius: 6px; background: #ddc99b; width: 59px; height: 55px; }
.menu-count b { color: var(--ember); }
.menu-count span { font-size: 9px; }
.menu-layout .grid { gap: 22px; }
.card.menu-product { border-color: #bca77a; border-radius: 10px; background: #dac596; box-shadow: 0 3px 10px #4c301305; animation: none; }
.menu-product .card-photo-wrap { margin: 0; height: 215px; border-radius: 0; background: #e9ddc5; }
.menu-product .card-photo-wrap::after { inset: 65% 0 0; }
.menu-product .card-body { padding: 20px 22px; gap: 8px; }
.product-category { color: #995034; font-size: 9px; letter-spacing: .13em; }
.menu-product .name { font-family: 'Oswald','Arial Narrow',sans-serif; font-size: 29px; font-weight: 600; letter-spacing: -.02em; }
.menu-product .desc { font-size: 12px; line-height: 1.75; margin-bottom: 10px; color: #6d5b48; }
.product-size { border: 0; border-radius: 5px; background: #fff6e7f0; color: #563b27; font-size: 10px; padding: 6px 10px; }
.product-photo-caption { font-size: 9px; }
.menu-product .row-add { border-color: #bca77a66; padding-top: 15px; }
.product-price > span { font-size: 9px; margin-bottom: 3px; }
.menu-product .price { font-family: 'Work Sans',sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -.035em; }
.menu-product .product-add-button { border-radius: 7px; box-shadow: none; min-height: 44px; }
.menu-product .product-add-button span { font-size: 12px; }
.bottomnav { border-color: #dac9ae; background: #dac596; border-radius: 16px; box-shadow: 0 5px 30px #4027111c; }
.bottomnav button { min-height: 56px; }
.bottomnav button.active { background: #ddbb85; }
.cart-fab { background: #a93c1e; border-color: #a93c1e; border-radius: 12px; }
.sheet { background: #dac596; border-color: #bca77a; }
.sheet-head { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.close-x { background: #ddc89a; width: 40px; height: 40px; }
.field label { font-size: 12px; color: #69533d; }
.field input, .field select, .field textarea { background: #e4d0a7; border-color: #cdbb9f; padding: 14px; font-size: 14px; }
.field input::placeholder, .field textarea::placeholder { color: #877664; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px #c8461516; }
.stepper { background: #dfcba0; border-color: #d4bfa0; }
.stepper button { width: 44px; height: 44px; }
.login-card, .order-card, .checkout-step, .tablecard, .panel { background: #dac596; border-color: var(--line); border-radius: 12px; }
.paymethod .ic { background: #ead8ae; }
.pill-aguardando { background: #f2e4c1; color: #775519; }
.pill-preparo { background: #fae1d0; color: #933d1d; }
.pill-pronto { background: #dfecd9; color: #3c6038; }
.pill-entregue { background: #e4e8e5; color: #4d6158; }
/* A operação usa superfícies mais claras e uma navegação de tinta escura. */
.admin-shell { background: #e5d3ad; }
.admin-side { background: #30251e; border-right: 1px solid #4c3a2c; padding: 27px 17px; flex-basis: 240px; }
.admin-side .brand .flame { background: #ead7b2; outline: 0; width: 46px !important; height: 46px !important; }
.admin-side .brand-name.admin-brand-name { font-family: 'Work Sans',sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.04em; color: #fff1d9; }
.admin-side .brand-sub { font-size: 9px; letter-spacing: .12em; color: #cfb79c; }
.admin-side .navbtn { color: #d5c3af; padding: 13px 14px; border-radius: 8px; font-size: 12px; }
.admin-side .navbtn.active { background: #c84615; color: #fff8ee; box-shadow: none; }
.admin-side .navbtn:not(.active):hover { background: #4b392d; color: #fff1dc; }
.admin-connection { border-color: #614b3a; }
.admin-connection .connection-badge { color: #f0dfc5; border-color: #715a45; }
.admin-connection > span, .nav-section-label { color: #c4a989; }
.admin-side .insta-tag { color: #c4a989; line-height: 1.8; }
.admin-main { padding-top: 38px; }
.admin-topline { border-bottom: 1px solid #baa77d; padding-bottom: 26px; margin-bottom: 26px; }
.admin-topline h1 { font-size: 36px; }
.section-subtitle { font-size: 12px !important; }
.store-status { border: 1px solid #b8c8ad; background: #e8eedd; color: #406036; cursor: pointer; }
.store-status.is-closed { background: #f5e3d2; color: #89532c; border-color: #d8ba9b; }
.statgrid { gap: 14px; }
.statcard { position: relative; padding: 24px 21px 22px; border: 1px solid #bca77a; border-radius: 10px; background: #e4d0a7; box-shadow: none; }
.statcard::before { content: ''; display: block; width: 22px; height: 3px; background: #b8a48a; border-radius: 3px; margin-bottom: 17px; }
.statcard.gold::before { background: #bd943d; }
.statcard.accent::before { background: var(--ember); }
.statcard.green::before { background: #5c7b52; }
.statcard .lbl { font-size: 11px; }
.statcard .val { font-family: 'Work Sans',sans-serif; font-size: clamp(23px,2.3vw,33px); font-weight: 700; letter-spacing: -.045em; line-height: 1.25; }
.panel { box-shadow: none; background: #e4d0a7; }
.panel-heading h3 { font-size: 25px; }
.connection-hint { background: #dbc597; border-color: #dfd1ba; }
.connection-hint p { color: #705c42; }
.empty-state { color: #786450; padding-block: 48px; }
.empty-state > .icon { background: #ddc89a; padding: 13px; border-radius: 50%; color: #a08361; }
.recent-order-icon { background: #ddc89a; color: #886c4f; }
.kcol { background: #d5bd8d; border: 1px solid #b9a275; border-radius: 10px; }
.kcol h3 { color: #66513c; padding-bottom: 14px; border-bottom: 2px solid #c8b89f; font-size: 12px; }
.kcol:nth-child(1) h3 { border-color: #c5a355; }
.kcol:nth-child(2) h3 { border-color: #c8663a; }
.kcol:nth-child(3) h3 { border-color: #6e885e; }
.kcol:nth-child(4) h3 { border-color: #8a9b8e; }
.kcol h3 .n { background: #e4d0a7; color: #54402b; min-width: 25px; text-align: center; }
.kcard { background: #e4d0a7; border-color: #bca77a; border-radius: 8px; box-shadow: 0 3px 8px #4c301308; }
.kanban-empty { color: #7b6851; }
.order-phone { min-height: 35px; padding-top: 5px; }
.item-note { background: #e6d2a8; color: #775331; }
.prod-row { background: #e4d0a7; border-color: #bca77a; border-radius: 10px; box-shadow: none; padding: 17px 20px; }
.prod-row > img { width: 66px; height: 66px; border-radius: 7px; }
.prod-row .n { font-size: 15px; }
.prod-row .m { color: var(--ember); font-weight: 700; margin-top: 5px; font-size: 13px; }
.prod-row .acts { gap: 8px; }
.product-category-title { display: flex; align-items: center; gap: 10px; margin: 28px 0 15px; color: #765739; }
.pixkey { background: #e3cea2; border-color: #bca77a; }
.admin-gate { background: #ddc89a; background-image: radial-gradient(ellipse at 50% 0,#ead8ae,transparent 75%); }
.admin-gate-card { position: relative; overflow: hidden; background: #e4d0a7; padding: 36px 38px 30px; max-width: 430px; border-color: #bca77a; border-radius: 16px; box-shadow: 0 18px 60px #4e311714; }
.admin-gate-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--ember); }
.admin-gate-badge { background: #dcbc80; width: 100px; height: 100px; margin-bottom: 20px; }
.admin-gate-lock { background: #e9d5ad; border-color: #e4c8ab; }
.admin-gate-title { font-size: 34px; }
.admin-gate-sub { font-size: 12px; }
.admin-gate-input { background: #ebdbb7; border-color: #cfbda0; font-size: 16px; padding: 16px; }
.admin-gate-back { display: inline-block; margin-top: 22px; min-height: 36px; padding: 7px; font-size: 12px; color: #7c6146; text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .card.menu-product:hover { border-color: #bd9c74; transform: translateY(-3px); box-shadow: 0 10px 25px #52321512; }
  .tab:not(.active):hover { background: #e8d8bd; border-color: #bc9b74; }
}
@media (max-width: 1050px) { .menu-product .card-photo-wrap { height: 235px; } }
@media (max-width: 900px) {
  .admin-side { flex-basis: auto; padding: 9px 12px; }
  .admin-side .navbtn { padding: 10px 13px; font-size: 10px; min-height: 60px; }
  .intro-copy { padding: 30px; }
  .intro-art img { width: 82%; }
}
@media (max-width: 680px) {
  .brandbar { padding: 14px 18px; }
  .brand-name { font-size: 21px; }
  .brand .flame { width: 42px; height: 42px; }
  .brand-sub { font-size: 8px; }
  .brandbar-details { gap: 0; }
  .team-link { padding-left: 12px; }
  .team-link span { display: none; }
  .menu-intro { margin-top: 18px; min-height: 0; grid-template-columns: 1.4fr 1fr; border-radius: 7px; }
  .intro-copy { padding: 23px 0 22px 19px; z-index: 1; }
  .intro-kicker { font-size: 7px; letter-spacing: .08em; }
  .intro-title { font-size: clamp(28px,7.5vw,45px); margin: 12px 0; }
  .intro-description { font-size: 10px; margin-bottom: 0; line-height: 1.6; }
  .intro-signature { display: none; }
  .intro-art { padding: 10px 7px; }
  .intro-art img { width: 100%; }
  .intro-stamp { display: none; }
  .intro-edition { font-size: 5px; letter-spacing: .04em; bottom: 10px; }
  .menu-social-strip { padding: 11px 1px; font-size: 10px; }
  .social-message { display: inline; margin-left: 8px; font-size: 9px; }
  .social-icon { width: 26px; height: 26px; }
  .social-icon .icon { width: 15px; height: 15px; }
  .tabs { padding-block: 20px; }
  .tab { font-size: 12px; }
  .menu-heading { padding-bottom: 18px; }
  .menu-heading h1 { font-size: 30px; }
  .menu-heading p { font-size: 11px; }
  .menu-kicker { font-size: 8px; }
  .menu-count { width: 46px; height: 48px; }
  .menu-layout .grid { gap: 13px; }
  .card.menu-product { border-radius: 9px; }
  .menu-product .card-photo-wrap { flex: 0 0 32%; margin: 0; min-height: 190px; height: auto; border-radius: 0; }
  .menu-product .card-body { padding: 15px 13px; gap: 7px; }
  .menu-product .name { font-size: 25px; }
  .menu-product .desc { font-size: 11px; line-height: 1.65; margin-bottom: 3px; }
  .product-category { font-size: 8px; letter-spacing: .07em; }
  .menu-product .row-add { padding-top: 10px; }
  .menu-product .price { font-size: 18px; }
  .product-price > span { font-size: 8px; }
  .menu-product .product-add-button { border-radius: 8px; }
  .product-size { padding: 4px 6px; font-size: 9px; }
  .product-photo-caption { font-size: 7px; }
  .bottomnav { border-radius: 0; }
  .bottomnav button { min-height: 56px; }
  .cart-fab { bottom: calc(100px + env(safe-area-inset-bottom)); }
  .field input, .field select, .field textarea { font-size: 16px; }
  .admin-topline { padding-bottom: 21px; }
  .admin-topline h1 { font-size: 31px; }
  .statcard { padding: 18px 16px; }
  .statcard .val { font-size: 25px; }
  .statcard .lbl { font-size: 11px; }
  .statcard::before { margin-bottom: 13px; }
  .prod-row { padding: 15px; }
  .admin-gate-card { padding: 32px 25px 22px; }
}
@media (max-width: 370px) {
  .intro-copy { padding-left: 14px; }
  .intro-description { font-size: 9px; }
  .social-message { display: block; margin: 0; }
  .menu-heading h1 { font-size: 27px; }
  .menu-product .name { font-size: 23px; }
  .menu-product .card-body { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .card.menu-product:hover { transform: none; }
}

/* Paleta da referência enviada: bege, areia e laranja de brasa. */
:root { --brand-orange: #e3531e; }
.brandbar, .menu-layout { color: var(--cream); }
.menu-social-strip { background: #dac596; margin-inline: 0; padding-inline: 14px; border-radius: 0 0 7px 7px; }
.menu-product .card-photo-wrap { background: #d2ba89; }
.menu-product .card-body, .menu-product { background: #dac596; }
.bottomnav { background: #dac596; }
.tab:not(.active) { background: #dac596; border-color: #bca77a; color: #66573f; }
.tab.active, .btn-primary, .cart-fab { background: #c84615; }
.tab.active .tab-icon { background: #ffffff1a; }
.intro-title em, .menu-heading h1 em, .bottomnav button.active { color: #af390f; }
.admin-main .panel, .admin-main .statcard, .admin-main .prod-row, .admin-main .kcard { background: #e4d0a7; }
.admin-side .navbtn.active { background: #c84615; }
@media(max-width:680px) { .menu-social-strip { padding-inline: 9px; } }

/* Edição da marca e contato direto. */
.menu-whatsapp { display: inline-flex; align-items: center; gap: 8px; padding: 12px 2px 0; min-height: 44px; color: #8f310f; font-size: 12px; font-weight: 600; }
.menu-whatsapp .icon { width: 18px; height: 18px; }
.clear-cart { padding: 12px 0; min-height: 44px; font-size: 12px; }
.settings-section-heading h2 { margin: 8px 0; font-size: 28px; }
.settings-section-heading p, .field-help { color: var(--cream-dim); font-size: 12px; line-height: 1.7; }
.settings-section-heading { margin-bottom: 24px; }
.settings-divider { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 32px; }
.branding-editor { display: flex; align-items: flex-start; gap: 26px; margin-bottom: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; }
.branding-preview { display: grid; place-items: center; width: 130px; height: 130px; flex: none; border: 1px dashed #ad8b5c; border-radius: 12px; background: #ead8ae; }
.branding-preview img { width: 110px; height: 110px; object-fit: contain; }
.branding-editor .field input[type="file"] { max-width: 100%; font-size: 12px; }
.branding-editor .field-help { margin: 7px 0 0; }
.brand .flame img, .flame-big img, .admin-gate-badge img { object-fit: contain; }
@media (max-width:680px) { .branding-editor { flex-direction: column; gap: 16px; padding: 18px; } .branding-editor .flex-1 { width: 100%; min-width: 0; } .branding-preview { width: 100px; height: 100px; } .branding-preview img { width: 86px; height: 86px; } .menu-whatsapp { font-size: 11px; } }

/* Pedidos: ações do cartão e editor de itens */
.kactions-row { display: flex; gap: 6px; margin-top: 6px; }
.kcard .kactions .kactions-row .btn { flex: 1; width: auto; min-width: 0; padding-inline: 6px; }
.order-edit-line { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.order-edit-head, .order-edit-controls, .order-edit-add { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.order-edit-add select { flex: 1; min-width: 0; }
