:root{
  --bg: #0b1220;
  --card: rgba(255,255,255,0.08);
  --card2: rgba(255,255,255,0.12);
  --text: #eaf0ff;
  --muted: rgba(234,240,255,0.72);
  --primary: #22c55e;
  --info: #38bdf8;
  --danger: #ef4444;
  --warn: #f59e0b;
  --ring: rgba(34,197,94,0.35);
  --shadow: 0 18px 48px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 12px;
  --max: 1100px;
  --surface: rgba(0,0,0,0.14);
  --surface-alt: rgba(255,255,255,0.06);
  --surface-soft: rgba(255,255,255,0.04);
  --line: rgba(255,255,255,0.12);
  --line-soft: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.18);
  --topbar-bg: rgba(11,18,32,0.65);
  --topbar-line: rgba(255,255,255,0.10);
  --brand-grad: linear-gradient(135deg, rgba(34,197,94,0.25), rgba(14,165,233,0.25));
  --button-bg: rgba(255,255,255,0.08);
  --button-border: rgba(255,255,255,0.14);
  --button-hover-bg: rgba(255,255,255,0.14);
  --button-hover-border: rgba(255,255,255,0.22);
  --button-primary-text: #06200f;
  --button-danger-text: #2a0606;
  --input-bg: rgba(0,0,0,0.18);
  --input-border: rgba(255,255,255,0.14);
  --input-placeholder: rgba(234,240,255,0.56);
  --input-readonly-bg: rgba(255,255,255,0.08);
  --modal-bg: #ffffff;
  --modal-text: #111827;
  --modal-muted: rgba(17,24,39,0.72);
  --modal-line: rgba(17,24,39,0.10);
  --toast-bg: rgba(0,0,0,0.88);
  --toast-text: #ffffff;
  --accent-soft: rgba(34,197,94,0.12);
  --accent-line: rgba(34,197,94,0.35);
  --select-option-bg: #0b1220;
  --select-option-text: #e5e7eb;
  --fontFamily: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, \"Apple Color Emoji\",\"Segoe UI Emoji\";
  --bgTexture: none;
  --bgTextureOpacity: 0;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: var(--fontFamily);
  background: radial-gradient(1000px 800px at 15% 0%, rgba(99,102,241,0.35), transparent 55%),
              radial-gradient(900px 700px at 90% 10%, rgba(14,165,233,0.30), transparent 55%),
              radial-gradient(900px 700px at 70% 90%, rgba(34,197,94,0.22), transparent 55%),
              var(--bg);
  color:var(--text);
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image: var(--bgTexture);
  background-repeat: repeat;
  background-size: 520px auto;
  opacity: var(--bgTextureOpacity);
  pointer-events:none;
  z-index:-1;
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:18px}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-line);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
  position:relative;
  flex-wrap:wrap;
}
.brand{display:flex; align-items:center; gap:12px}
.brand__text{min-width:0}
.brand__logo{
  width:42px; height:42px; border-radius:14px;
  display:grid; place-items:center;
  background: var(--brand-grad);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.brand__logo img{width:100%;height:100%;object-fit:cover;border-radius:14px;display:block;}
.brand__name{font-weight:800; letter-spacing:.2px}
.brand__subtitle{font-size:12px; color:var(--muted)}

.topnav{display:flex; gap:10px; align-items:center}
.topnav a{
  font-size:14px; color:var(--muted);
  padding:8px 10px; border-radius:12px;
}
.topnav a:hover{background: var(--surface-alt); color:var(--text)}
.topnav a.btn{display:inline-flex}
.topnav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:42px;
  padding:9px 12px;
  border-radius:18px;
  border:1px solid var(--button-border);
  background: var(--button-bg);
  color:var(--text);
  cursor:pointer;
}
.topnav-toggle__bars{
  display:inline-flex;
  flex-direction:column;
  gap:4px;
}
.topnav-toggle__bars span{
  display:block;
  width:18px;
  height:2px;
  border-radius:999px;
  background:currentColor;
}
.topnav-toggle__label{
  font-size:13px;
  font-weight:800;
}

.footer{
  margin-top:28px;
  padding:22px 0;
  border-top:1px solid var(--line-soft);
  background: var(--topbar-bg);
}
.footer__inner{display:flex; justify-content:space-between; align-items:center; gap:12px}
.muted{color:var(--muted)}
.small{font-size:12px}

.hero{padding:16px 2px 14px}
.hero--compact{padding:10px 2px 6px}
.hero h1{margin:0 0 6px; font-size:28px}
.hero p{margin:0}

/* =========================
   Horário de funcionamento (widget)
   ========================= */
.open-widget{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding:12px 14px;border-radius:var(--radius2);background:var(--card);border:1px solid var(--line-soft)}
.open-widget__left{display:flex;flex-direction:column;gap:2px}
.open-widget__status{font-weight:900;letter-spacing:.2px}
.open-widget__today{font-size:12px}
.open-widget__right{text-align:right}
.open-widget__count-label{font-size:12px}
.open-widget__count{font-weight:900;font-size:16px}

@media (max-width: 720px){
  .open-widget{flex-direction:column;align-items:flex-start}
  .open-widget__right{text-align:left}
}

.card{
  background: linear-gradient(180deg, var(--card2), var(--card));
  border:1px solid var(--card2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}
.card__head{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin-bottom:12px;
}
.card__head h2{margin:0; font-size:18px}
.row{display:flex; gap:10px; align-items:center}
.row > *{min-width:0}
.gap{gap:10px}

.page-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin:0 0 16px;
}
.page-head .h1,
.page-head h1,
.h1{
  margin:0 0 6px;
  font-size:28px;
  line-height:1.1;
}
.h2{margin:0; font-size:18px}

.check{
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.check input{margin-top:2px}

.table{
  width:100%;
  border-collapse:collapse;
}
.table th,
.table td{
  padding:10px 12px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid var(--line-soft);
}
.table th{
  font-size:12px;
  font-weight:800;
  color:var(--muted);
  letter-spacing:.02em;
}

.mobile-scroll{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.img-preview{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:84px;
  padding:10px;
  border-radius:14px;
  border:1px dashed var(--line-strong);
  background:var(--surface-soft);
}
.img-preview img{
  max-width:100%;
  max-height:180px;
  object-fit:cover;
  border-radius:12px;
}

.grid2{
  display:grid; grid-template-columns: 1.2fr 0.8fr;
  gap:16px;
}
.grid3{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 980px){
  .grid2{grid-template-columns: 1fr; }
  .grid3{grid-template-columns: 1fr; }
  .topnav{flex-wrap:wrap; justify-content:flex-end}
}

@media (max-width: 860px){
  .container{padding:14px}
  .topbar__inner{align-items:center}
  .brand{flex:1; min-width:0}
  .brand__name{font-size:15px}
  .brand__subtitle{
    max-width:calc(100vw - 150px);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .topnav-toggle{display:inline-flex}
  .topnav{
    display:none;
    order:3;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    padding-top:10px;
    margin-top:2px;
    border-top:1px solid var(--line-soft);
  }
  .topnav.is-open{display:flex}
  .topnav a{
    width:100%;
    padding:12px 14px;
    background:var(--surface-alt);
  }
  .topnav a.btn{justify-content:center}

  .hero{padding:12px 2px 10px}
  .hero h1,
  .page-head .h1,
  .page-head h1,
  .h1{font-size:24px}
  .card{padding:14px}
  .card__head{
    flex-direction:column;
    align-items:stretch;
  }
  .card__head .row{
    width:100%;
    align-items:stretch;
  }
  .row{flex-wrap:wrap}
  .card__head .row > .input,
  .card__head .row > select,
  .card__head .row > .btn,
  .card__head .row > input{
    flex:1 1 100%;
    width:100%;
    max-width:none !important;
  }

  .form__row{grid-template-columns:1fr}
  .tabs{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:4px;
    scrollbar-width:thin;
  }
  .tab{
    flex:0 0 auto;
    white-space:nowrap;
  }
  .order__top,
  .order__line,
  .order__addon,
  .list-item,
  .stock-item{
    flex-direction:column;
    align-items:flex-start;
  }
  .order__line strong,
  .order__addon span:last-child,
  .list-item > :last-child,
  .stock-item > :last-child{
    align-self:flex-end;
  }
  .actions .btn,
  .order__actions .btn{
    flex:1 1 calc(50% - 8px);
  }
  .page-head{margin-bottom:14px}
  .auth{
    min-height:auto;
    place-items:stretch;
    padding:24px 0;
  }
  .auth__card{max-width:none}
}

@media (max-width: 560px){
  .container{padding:12px}
  .brand__subtitle{display:none}
  .topnav-toggle__label{display:none}
  .card{padding:12px}
  .btn{min-height:40px}
  .actions .btn,
  .order__actions .btn{
    flex:1 1 100%;
  }
  .table th,
  .table td{padding:9px 10px}
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:0; cursor:pointer;
  min-height:40px;
  padding:8px 14px;
  border-radius: 18px;
  font-weight:700;
  font-size:14px;
  line-height:1.1;
  background: var(--button-bg);
  color: var(--text);
  border: 1px solid var(--button-border);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .05s ease;
  text-decoration:none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:hover{background: var(--button-hover-bg); border-color: var(--button-hover-border)}
.btn:focus{outline:2px solid var(--ring); outline-offset:2px}
.btn:active,
.btn.is-pressed,
.tab:active,
.tab.is-pressed,
.topnav-toggle:active,
.topnav-toggle.is-pressed,
.jump-btn:active,
.jump-btn.is-pressed,
.cart-fab:active,
.cart-fab.is-pressed,
.app-choice-option:active,
.app-choice-option.is-pressed{
  transform: translateY(1px) scale(.985);
  filter: brightness(.98);
}
.btn.is-pending,
.tab.is-pending,
.topnav-toggle.is-pending,
.jump-btn.is-pending,
.cart-fab.is-pending,
.app-choice-option.is-pending{
  box-shadow: 0 0 0 3px var(--ring);
}
.btn.is-loading{
  opacity:.82;
  cursor:progress;
}
.btn--primary{
  background: linear-gradient(135deg, var(--primary), var(--primary));
  border: 1px solid var(--primary);
  color:var(--button-primary-text);
}
.btn--primary:hover{filter:brightness(1.03)}
.btn-add-cart{
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}
.btn-add-cart:hover{
  filter: brightness(1);
}
.btn-add-cart:focus{
  outline:none;
  box-shadow:none;
}
.btn-add-cart:focus-visible{
  outline:none;
  box-shadow: 0 0 0 4px var(--ring);
}
.btn-add-cart:active,
.btn-add-cart.is-pressed{
  transform: translateY(1px) scale(.97);
  filter: brightness(.96);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.16);
}
.btn--ghost{
  background: transparent;
}
.btn--full{width:100%}

.pill{
  font-size:12px; padding:6px 10px; border-radius:999px;
  border:1px solid var(--line-strong);
  background: var(--surface-alt);
  color:var(--muted);
}

.sep{
  border:0; height:1px;
  background: var(--line);
  margin:14px 0;
}

.empty{
  padding:12px;
  border-radius: 14px;
  border:1px dashed var(--line-strong);
  color: var(--muted);
  background: var(--surface-soft);
}
.hidden{display:none !important}

/* =========================
   Utilitários responsivos
   ========================= */
.only-mobile{display:none}
.only-desktop{display:block}
@media (max-width: 720px){
  .only-mobile{display:block}
  .only-desktop{display:none}
}

.flash-area{margin-bottom:12px}
.flash{
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--line-strong);
  background: var(--surface-alt);
  margin-bottom:10px;
}
.flash--danger{border-color: rgba(239,68,68,0.55); background: rgba(239,68,68,0.10)}
.flash--success{border-color: rgba(34,197,94,0.55); background: rgba(34,197,94,0.10)}

.menu{display:flex; flex-direction:column; gap:14px}
.cat{padding:12px; border-radius: 16px; background: var(--surface-alt); border:1px solid var(--line-soft)}
.cat__title{font-weight:800; margin:0 0 10px}
.items{display:flex; flex-direction:column; gap:10px}
.item{
  display:flex; gap:12px; align-items:flex-start; justify-content:space-between;
  padding:10px; border-radius: 14px;
  border:1px solid var(--line-soft);
  background: var(--surface);
}
.item__info{flex:1; min-width:0}
.item__text{min-width:0}
.item__name,.item__desc{overflow-wrap:anywhere; word-break:break-word}

.item__name{font-weight:800; margin:0 0 2px}
.item__desc{margin:0; color:var(--muted); font-size:13px}
.item__right{display:flex; gap:10px; align-items:center}
.price{font-weight:800}

.cart{display:flex; flex-direction:column; gap:10px; margin-bottom:12px}
.cart-item{
  display:flex; justify-content:space-between; gap:10px; align-items:center;
  padding:10px; border-radius: 14px;
  border:1px solid var(--line-soft);
  background: var(--surface);
}
.cart-item__name{font-weight:800}
.cart-item__meta{color:var(--muted); font-size:12px}
.cart-item__addons{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.cart-item__addons .addons-chosen{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.cart-item__addons .addons-chosen__item{
  padding:6px 10px;
  border-radius:14px;
  border:1px solid var(--line-soft);
  background: var(--surface-alt);
  color: var(--text) !important;
  font-size:13px;
  font-weight:700;
}
.cart-item__addons .muted.small{
  color: var(--muted) !important;
}
.qty{
  display:flex; align-items:center; gap:8px;
}
.qty button{
  width:30px; height:30px; border-radius: 14px;
  border:1px solid var(--line-strong);
  background: var(--surface-alt);
  color:var(--text);
  cursor:pointer;
}
.qty span{min-width:22px; text-align:center; font-weight:800}

.form{display:flex; flex-direction:column; gap:10px; margin-bottom:12px}
.form__row{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
.form__col{display:flex; flex-direction:column; gap:8px}
@media (max-width: 600px){
  .form__row{grid-template-columns:1fr}
}
.label{font-size:13px; color:var(--muted); font-weight:700}
.input{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--input-border);
  background: var(--input-bg);
  color:var(--text);
}
.input::placeholder{color:var(--input-placeholder); opacity:1}
.input[readonly]{background:var(--input-readonly-bg)}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image: var(--bgTexture);
  background-repeat: repeat;
  background-size: 520px auto;
  opacity: var(--bgTextureOpacity);
  pointer-events:none;
  z-index:-1;
}
.input:focus{outline:2px solid var(--ring); outline-offset:2px}

.totals{display:flex; flex-direction:column; gap:8px; margin:10px 0 12px}
.totals__row{display:flex; justify-content:space-between; align-items:center}
.totals__row--big strong{font-size:18px}

.segmented{
  display:flex; gap:8px;
  padding:6px; border-radius: 16px;
  border:1px solid var(--line);
  background: var(--surface-alt);
}
.segmented__btn{
  flex:1; min-height:38px; padding:8px 12px; border-radius: 16px;
  border:1px solid transparent;
  background: transparent;
  color:var(--muted);
  cursor:pointer;
  font-weight:800;
}
.segmented__btn.is-active{
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color:var(--text);
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image: var(--bgTexture);
  background-repeat: repeat;
  background-size: 520px auto;
  opacity: var(--bgTextureOpacity);
  pointer-events:none;
  z-index:-1;
}

.tabs{display:flex; flex-wrap:wrap; gap:8px; margin: 10px 0 14px}
.tab{
  min-height:38px;
  padding:8px 12px;
  border-radius: 16px;
  border:1px solid var(--line);
  background: var(--surface-alt);
  color:var(--muted);
  cursor:pointer;
  font-weight:800;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .05s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.tab.is-active{color:var(--text); border-color: var(--accent-line); background: var(--accent-soft)}

#dataSection{
  background: rgba(255,255,255,0.94);
  border-color: rgba(15,23,42,0.10);
  backdrop-filter: none;
}
#dataSection .segmented,
#dataSection .cart-item,
#dataSection .empty,
#dataSection .input,
#dataSection .pill,
#dataSection .qty button,
#dataSection .cash-box,
#dataSection .btn--ghost{
  backdrop-filter:none;
}
#dataSection .segmented,
#dataSection .empty,
#dataSection .input,
#dataSection .pill,
#dataSection .cash-box,
#dataSection .btn--ghost{
  background: rgba(255,255,255,0.88);
  border-color: rgba(15,23,42,0.12);
}
#dataSection .cart-item{
  background: rgba(255,255,255,0.96);
  border-color: rgba(15,23,42,0.08);
}
#dataSection .qty button{
  background: rgba(255,255,255,0.96);
  border-color: rgba(15,23,42,0.12);
}
#dataSection .cash-box{
  padding:12px 14px;
  border:1px solid rgba(15,23,42,0.10);
  border-radius:18px;
}
body.theme-dark #dataSection{
  background: rgba(10,16,28,0.96);
  border-color: rgba(255,255,255,0.12);
}
body.theme-dark #dataSection .segmented,
body.theme-dark #dataSection .empty,
body.theme-dark #dataSection .input,
body.theme-dark #dataSection .pill,
body.theme-dark #dataSection .cash-box,
body.theme-dark #dataSection .btn--ghost{
  background: rgba(18,27,42,0.94);
  border-color: rgba(255,255,255,0.12);
}
body.theme-dark #dataSection .cart-item{
  background: rgba(20,30,46,0.96);
  border-color: rgba(255,255,255,0.10);
}
body.theme-dark #dataSection .cart-item__addons .addons-chosen__item{
  background: rgba(26,37,56,0.96);
  border-color: rgba(255,255,255,0.10);
  color: #f8fbff !important;
}
body.theme-dark #dataSection .qty button{
  background: rgba(26,37,56,0.96);
  border-color: rgba(255,255,255,0.12);
}
body.theme-rustic #dataSection{
  background: rgba(255,248,235,0.96);
  border-color: rgba(59,31,14,0.18);
}
body.theme-rustic #dataSection .segmented,
body.theme-rustic #dataSection .empty,
body.theme-rustic #dataSection .input,
body.theme-rustic #dataSection .pill,
body.theme-rustic #dataSection .cash-box,
body.theme-rustic #dataSection .btn--ghost{
  background: rgba(255,250,242,0.94);
  border-color: rgba(59,31,14,0.14);
}
body.theme-rustic #dataSection .cart-item{
  background: rgba(255,251,245,0.96);
  border-color: rgba(59,31,14,0.12);
}
body.theme-rustic #dataSection .cart-item__addons .addons-chosen__item{
  background: rgba(255,246,236,0.96);
  border-color: rgba(59,31,14,0.12);
  color: #3b1f0e !important;
}

.orders{display:flex; flex-direction:column; gap:12px}
.order{
  border-radius: 16px;
  border:1px solid var(--line);
  background: var(--surface);
  padding:12px;
}
.order__top{display:flex; justify-content:space-between; align-items:flex-start; gap:10px}
.order__id{font-weight:900; font-size:16px}
.badge{
  font-size:12px; padding:6px 10px; border-radius: 999px;
  border:1px solid var(--line-strong);
  color:var(--muted);
}
.badge--ok{border-color: rgba(34,197,94,0.40); background: rgba(34,197,94,0.14); color: #c9f7db}
.badge--muted{border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: var(--muted)}
.badge--warn{border-color: rgba(245,158,11,0.40); background: rgba(245,158,11,0.14); color: #ffe6b8}
.badge--danger{border-color: rgba(239,68,68,0.45); background: rgba(239,68,68,0.12); color: #ffd0d0}
.badge--new{border-color: rgba(14,165,233,0.35); background: rgba(14,165,233,0.12); color: #cfeaff}
.badge--preparing{border-color: rgba(245,158,11,0.40); background: rgba(245,158,11,0.14); color: #ffe6b8}
.badge--ready{border-color: rgba(34,197,94,0.40); background: rgba(34,197,94,0.14); color: #c9f7db}
.badge--cancelled{border-color: rgba(239,68,68,0.45); background: rgba(239,68,68,0.12); color: #ffd0d0}

.order__meta{margin-top:6px; color:var(--muted); font-size:12px}
.order__items{margin-top:10px; display:flex; flex-direction:column; gap:8px}
.order__line{display:flex; justify-content:space-between; gap:10px; font-size:14px}
.order__addons{margin-top:-4px; margin-left:12px; display:flex; flex-direction:column; gap:4px}
.order__addon{display:flex; justify-content:space-between; gap:10px; font-size:12px; color:var(--muted)}
.order__actions{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}

.kpi{padding:18px}
.kpi__label{color:var(--muted); font-weight:800; font-size:12px}
.kpi__value{font-size:26px; font-weight:900; margin-top:6px}

.list{display:flex; flex-direction:column; gap:10px}
.list-item{
  display:flex; justify-content:space-between; gap:10px; align-items:center;
  padding:10px; border-radius: 14px;
  border:1px solid var(--line);
  background: var(--surface);
}
.list-item strong{font-weight:900}
.cat-sortable{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
  padding:6px 8px;
  border-radius:14px;
}
.cat-sortable.is-sortable{cursor:grab}
.cat-sortable.is-dragging{
  opacity:.64;
  transform:scale(.985);
  border-style:dashed;
}
.cat-sortable.is-drop-target{
  border-color:var(--accent-line);
  background:var(--accent-soft);
}
.cat-sortable__handle{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px dashed var(--line-strong);
  color:var(--muted);
  font-size:14px;
  font-weight:900;
  letter-spacing:1px;
}
.cat-sortable__main{
  flex:1 1 auto;
  min-width:0;
}
.cat-sortable .list__side{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:flex-end;
}

.stock{display:flex; flex-direction:column; gap:10px}
.stock-item{
  display:flex; justify-content:space-between; gap:10px; align-items:center;
  padding:10px; border-radius: 14px;
  border:1px solid var(--line);
  background: var(--surface);
}
.stock-item.low{
  border-color: rgba(239,68,68,0.40);
  background: rgba(239,68,68,0.10);
}
.big-number{
  font-size:46px; font-weight:1000;
  letter-spacing:1px;
  margin:8px 0;
}
.actions{margin-top:10px; display:flex; gap:10px; flex-wrap:wrap}

.auth{min-height: calc(100vh - 160px); display:grid; place-items:center}
.auth__card{max-width:420px; width:100%}
code{background: rgba(255,255,255,0.10); padding:2px 6px; border-radius: 8px}

/* Fix: ensure <select> options are visible in dark theme (admin products/categories) */
select.input option,
select.input optgroup {
  background: var(--select-option-bg);
  color: var(--select-option-text);
}

.addons-panel{
  background: var(--modal-bg) !important;
  color: var(--modal-text) !important;
  border: 1px solid var(--modal-line) !important;
}
.addons-head{
  border-bottom: 1px solid var(--modal-line) !important;
  color: var(--modal-text) !important;
}
.addons-row{
  border-bottom: 1px dashed var(--modal-line) !important;
}
.addons-chosen__item{
  color: var(--modal-muted) !important;
}
.addons-panel .muted,
.addons-panel .small{
  color: var(--modal-muted) !important;
}
.addons-panel .btn--ghost{
  color: var(--modal-text);
  border-color: var(--modal-line);
}
.toast{
  background: var(--toast-bg) !important;
  color: var(--toast-text) !important;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.app-choice-modal{
  position:fixed;
  inset:0;
  z-index:10001;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.58);
  backdrop-filter:blur(10px);
}
.app-choice-modal.is-open{display:flex}
.app-choice-modal__panel{
  position:relative;
  width:min(92vw, 560px);
  border-radius:24px;
  overflow:hidden;
  background:var(--modal-bg);
  color:var(--modal-text);
  border:1px solid var(--modal-line);
  box-shadow:0 28px 80px rgba(0,0,0,.32);
}
.app-choice-modal__panel::before{
  content:"";
  position:absolute;
  width:240px;
  height:240px;
  right:-80px;
  top:-90px;
  border-radius:999px;
  background:var(--accent-soft);
  opacity:.95;
  filter:blur(4px);
}
.app-choice-modal__panel::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(160deg, rgba(255,255,255,.10), transparent 36%);
  pointer-events:none;
}
.app-choice-modal__content{
  position:relative;
  z-index:1;
  padding:24px;
}
.app-choice-modal__close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  background:var(--surface-alt);
  color:var(--modal-text);
  cursor:pointer;
  font-size:24px;
  line-height:1;
}
.app-choice-modal__close:hover{filter:brightness(1.03)}
.app-choice-modal__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 14px;
  border-radius:999px;
  background:var(--accent-soft);
  color:var(--modal-text);
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.app-choice-modal__title{
  margin:14px 0 8px;
  font-size:28px;
  line-height:1.08;
}
.app-choice-modal__text{
  margin:0;
  font-size:15px;
  color:var(--modal-text);
}
.app-choice-modal__hint{
  margin-top:10px;
  font-size:13px;
  line-height:1.45;
  color:var(--modal-muted);
}
.app-choice-modal__options{
  display:grid;
  gap:12px;
  margin-top:18px;
  max-height:min(54vh, 420px);
  overflow:auto;
  padding-right:4px;
}
.app-choice-option{
  width:100%;
  padding:16px 18px;
  border-radius:20px;
  border:1px solid var(--modal-line);
  background:var(--surface-alt);
  color:var(--modal-text);
  text-align:left;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
.app-choice-option:hover,
.app-choice-option:focus-visible{
  transform:translateY(-1px);
  border-color:var(--accent-line);
  background:var(--accent-soft);
  outline:none;
  box-shadow:0 16px 28px rgba(0,0,0,.12);
}
.app-choice-option__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.app-choice-option__label{
  font-size:17px;
  font-weight:900;
  line-height:1.15;
}
.app-choice-option__badge{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  background:var(--primary);
  color:var(--button-primary-text);
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.app-choice-option__desc{
  margin-top:8px;
  font-size:13px;
  line-height:1.45;
  color:var(--modal-muted);
}
.app-choice-modal__footer{
  display:flex;
  justify-content:flex-end;
  margin-top:18px;
}
.app-choice-modal__cancel{
  min-width:120px;
}

@media (max-width: 560px){
  .app-choice-modal__content{padding:20px 18px 18px}
  .app-choice-modal__title{font-size:24px}
  .app-choice-option{
    padding:14px 15px;
    border-radius:18px;
  }
}
#cashBox{
  border: 1px solid var(--line) !important;
  background: var(--surface-alt) !important;
}
#cashBox .muted,
#cashBox .small,
#cashBox .label{
  color: var(--muted) !important;
}
.firstload-card{
  background: var(--modal-bg) !important;
  color: var(--modal-text) !important;
}
#pixKeyBox{
  background: var(--surface-alt) !important;
  color: var(--text) !important;
}
.status-box{
  border: 1px solid var(--line) !important;
  background: var(--surface-alt) !important;
  border-radius: var(--radius2);
  padding: 12px 14px;
}

body.theme-light .badge--ok,
body.theme-light .badge--ready{
  border-color: rgba(22,163,74,0.26);
  background: rgba(34,197,94,0.14);
  color: #166534;
}
body.theme-light .badge--warn,
body.theme-light .badge--preparing{
  border-color: rgba(217,119,6,0.24);
  background: rgba(245,158,11,0.16);
  color: #92400e;
}
body.theme-light .badge--danger,
body.theme-light .badge--cancelled{
  border-color: rgba(220,38,38,0.22);
  background: rgba(239,68,68,0.12);
  color: #b91c1c;
}
body.theme-light .badge--new{
  border-color: rgba(2,132,199,0.24);
  background: rgba(56,189,248,0.14);
  color: #0369a1;
}
body.theme-light .badge--muted{
  border-color: rgba(59,31,14,0.12);
  background: rgba(255,255,255,0.54);
  color: var(--muted);
}


.theme-rustic .btn,
.theme-rustic .pill{
  border: 1px solid rgba(0,0,0,0.14);
}

.theme-rustic .btn--primary{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(0,0,0,0.10)),
    var(--primary);
}

.theme-rustic .topbar{
  background: var(--topbar-bg);
}

.theme-cordel .brand__logo{
  border: 1px solid rgba(0,0,0,0.14);
}


/* === THEME OVERRIDES: NORDESTE (SERTÃO PESADO) === */
/* Aplica fundo "papel/terra" (sem o glow moderno) somente nos temas nordestinos */
body.theme-nordeste{
  background: var(--bg) !important;
  color: var(--text);
}
body.theme-nordeste::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  /* vinheta + luz de "sol" */
  background:
    radial-gradient(1200px 800px at 15% 15%, rgba(255,220,150,0.28), transparent 55%),
    radial-gradient(900px 700px at 85% 20%, rgba(180,56,12,0.18), transparent 58%),
    radial-gradient(1200px 900px at 50% 95%, rgba(59,31,14,0.20), transparent 60%),
    radial-gradient(100% 80% at 50% 50%, rgba(0,0,0,0.22), transparent 62%);
  mix-blend-mode:multiply;
  z-index:-1;
}
/* Cordel: textura mais presente e um pouco menor */
body.theme-cordel::before{
  background-size: 420px auto !important;
  opacity: var(--bgTextureOpacity);
}

/* Cards (admin/público) mais "raiz": contraste maior, borda quente */
body.theme-rustic .card,
body.theme-rustic .panel,
body.theme-rustic .pedido-card,
body.theme-rustic .pedido,
body.theme-rustic .box{
  background: rgba(255, 248, 235, 0.90);
  border: 1px solid rgba(59,31,14,0.20);
  box-shadow: 0 14px 34px rgba(59,31,14,.18);
}

/* Títulos com cara de "cordel" (sem depender de fonte externa) */
body.theme-rustic h1,
body.theme-rustic h2,
body.theme-rustic .page-title{
  letter-spacing: .2px;
  text-shadow: 0 1px 0 rgba(255,255,255,.45);
}

/* Botões mais rústicos (somente nos temas rústicos) */
body.theme-rustic .btn,
body.theme-rustic button,
body.theme-rustic input[type="submit"]{
  background: linear-gradient(180deg, var(--primary), #8A2E0A);
  color: var(--button-primary-text);
  border:none;
  border-radius: 18px;
  font-weight: 700;
  box-shadow: 0 3px 0 rgba(59,31,14,0.55);
}
body.theme-rustic .btn:hover,
body.theme-rustic button:hover,
body.theme-rustic input[type="submit"]:hover{
  filter: brightness(1.04);
}
body.theme-rustic .btn:active,
body.theme-rustic button:active,
body.theme-rustic input[type="submit"]:active{
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(59,31,14,0.55);
}
body .btn.btn-add-cart{
  background: linear-gradient(135deg, var(--primary), var(--primary)) !important;
  border: 1px solid var(--primary) !important;
  color: var(--button-primary-text) !important;
  box-shadow: none !important;
}
body .btn.btn-add-cart:hover{
  background: linear-gradient(135deg, var(--primary), var(--primary)) !important;
  border-color: var(--primary) !important;
  color: var(--button-primary-text) !important;
  filter: none !important;
}
body .btn.btn-add-cart:focus{
  background: linear-gradient(135deg, var(--primary), var(--primary)) !important;
  border-color: var(--primary) !important;
  color: var(--button-primary-text) !important;
  outline:none;
  box-shadow:none !important;
}
body .btn.btn-add-cart:focus-visible{
  background: linear-gradient(135deg, var(--primary), var(--primary)) !important;
  border-color: var(--primary) !important;
  color: var(--button-primary-text) !important;
  outline:none;
  box-shadow: 0 0 0 4px var(--ring) !important;
}
body .btn.btn-add-cart:active,
body .btn.btn-add-cart.is-pressed{
  background: linear-gradient(135deg, var(--primary), var(--primary)) !important;
  border-color: var(--primary) !important;
  color: var(--button-primary-text) !important;
  transform: translateY(1px) scale(.97);
  filter: brightness(.96) !important;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.16) !important;
}
body.theme-rustic .btn--ghost{
  background: rgba(255,248,235,0.86);
  color:#3b1f0e;
  border:1px solid rgba(59,31,14,0.18);
  box-shadow:none;
}
body.theme-rustic .btn--danger{
  background: linear-gradient(180deg, var(--danger), #7c2d12);
  color:#fff4ef;
}

/* Tabs/pílulas mais "barro" */
body.theme-rustic .pill,
body.theme-rustic .tab,
body.theme-rustic .tabs button{
  border: 1px solid rgba(59,31,14,0.22);
  background: rgba(255,248,235,0.75);
}
body.theme-rustic .pill.is-active,
body.theme-rustic .tab.is-active,
body.theme-rustic .tabs button.is-active,
body.theme-rustic .tabs button.active{
  background: rgba(185,56,12,0.18);
  border-color: rgba(185,56,12,0.35);
}

/* ✅ Pedido: texto das categorias NÃO selecionadas deve ser escuro (não branco) */
body.theme-rustic .pill:not(.is-active),
body.theme-rustic .tab:not(.is-active),
body.theme-rustic .tabs button:not(.is-active):not(.active),
body.theme-rustic .tabs a:not(.is-active):not(.active){
  color: #2B1A12 !important;
}

body.theme-coastal::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(255,255,255,0.34), transparent 58%),
    radial-gradient(1200px 760px at 85% 18%, rgba(14,165,233,0.12), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 35%);
  z-index:-1;
}
body.theme-festive::after,
body.theme-halloween::after,
body.theme-holiday::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
}
body.theme-carnaval::after{
  background:
    radial-gradient(circle at 10% 18%, rgba(255,212,59,0.24) 0 10px, transparent 11px),
    radial-gradient(circle at 25% 78%, rgba(34,211,238,0.22) 0 8px, transparent 9px),
    radial-gradient(circle at 68% 18%, rgba(255,107,107,0.20) 0 9px, transparent 10px),
    radial-gradient(circle at 82% 72%, rgba(255,146,43,0.18) 0 12px, transparent 13px),
    linear-gradient(135deg, rgba(255,255,255,0.06), transparent 30%);
  background-size: 260px 260px, 320px 320px, 300px 300px, 360px 360px, auto;
  mix-blend-mode: screen;
}
body.theme-pascoa::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(700px 440px at 12% 12%, rgba(248,189,195,0.22), transparent 58%),
    radial-gradient(720px 460px at 88% 12%, rgba(196,244,237,0.24), transparent 58%),
    radial-gradient(640px 360px at 50% 88%, rgba(124,58,237,0.08), transparent 54%);
  z-index:-1;
}
body.theme-saojoao::after{
  background:
    linear-gradient(135deg, transparent 0 24%, rgba(29,78,216,0.09) 24% 28%, transparent 28% 52%, rgba(245,158,11,0.12) 52% 56%, transparent 56% 100%),
    linear-gradient(45deg, transparent 0 16%, rgba(194,65,12,0.10) 16% 20%, transparent 20% 46%, rgba(29,78,216,0.10) 46% 50%, transparent 50% 100%);
  background-size: 220px 220px, 260px 260px;
}
body.theme-halloween::after{
  background:
    radial-gradient(780px 420px at 12% 10%, rgba(249,115,22,0.18), transparent 56%),
    radial-gradient(820px 460px at 88% 8%, rgba(168,85,247,0.16), transparent 58%),
    radial-gradient(900px 520px at 50% 100%, rgba(0,0,0,0.34), transparent 60%);
}
body.theme-natal::after{
  background:
    radial-gradient(circle at 14% 18%, rgba(250,204,21,0.22) 0 4px, transparent 5px),
    radial-gradient(circle at 72% 12%, rgba(255,255,255,0.16) 0 3px, transparent 4px),
    radial-gradient(circle at 86% 80%, rgba(220,38,38,0.15) 0 5px, transparent 6px),
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 30%);
  background-size: 180px 180px, 220px 220px, 240px 240px, auto;
}
body.theme-reveillon::after{
  background:
    radial-gradient(circle at 20% 20%, rgba(246,196,83,0.16) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 16%, rgba(96,165,250,0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 54% 78%, rgba(255,255,255,0.18) 0 2px, transparent 3px),
    radial-gradient(700px 400px at 50% 100%, rgba(0,0,0,0.28), transparent 62%);
  background-size: 180px 180px, 220px 220px, 200px 200px, auto;
}
body.theme-carnaval .brand__logo,
body.theme-halloween .brand__logo,
body.theme-natal .brand__logo,
body.theme-reveillon .brand__logo{
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
}



/* =========================================================
   FIX: Campos (input/textarea) estourando a largura do card
   - Mantém o layout existente, só evita overflow em telas pequenas
   ========================================================= */
.input{
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

.form__row{
  flex-wrap: wrap;
}

.form__col{
  min-width: 0;
}

/* =========================
   Animações de status (tela de sucesso)
   ========================= */
.status-anim{margin-top:14px;padding:14px;border-radius:var(--radius2);background:var(--card);border:1px solid var(--line-soft);display:flex;align-items:center;justify-content:center;min-height:92px;overflow:hidden}
.status-anim__row{display:flex;align-items:center;justify-content:center;gap:12px;font-weight:900;font-size:18px;letter-spacing:.2px}
.status-anim__muted{font-weight:700;font-size:13px;color:var(--muted);margin-top:6px;text-align:center}
.status-anim__stack{display:flex;flex-direction:column;align-items:center;justify-content:center}

.pulse{animation:pulse 1.2s ease-in-out infinite}
.spin{animation:spin 1.1s linear infinite}
.shake{animation:shake .9s ease-in-out infinite}

.runner{position:relative;width:min(420px,92%);height:40px;border-radius:999px;background:var(--surface-alt);border:1px dashed var(--line-strong);overflow:hidden}
.runner__obj{position:absolute;left:-60px;top:50%;transform:translateY(-50%);font-size:26px;animation:run 2.4s linear infinite}
.runner__dest{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:22px;opacity:.85}

@keyframes pulse{0%,100%{transform:scale(1);opacity:.92}50%{transform:scale(1.04);opacity:1}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
@keyframes run{0%{transform:translate(-10px,-50%)}100%{transform:translate(calc(100% + 60px),-50%)}}


/* FIX: MENU com foto - evitar zoom/overflow no celular */
@media (max-width: 480px){
  .item{flex-wrap:wrap;}
  .item__right{width:100%; justify-content:space-between;}
  .item__right .btn{flex:0 0 auto;}
}
@media (max-width: 900px){
  #dataSection .card__head{
    position:relative;
    padding-right:88px;
    min-height:40px;
  }
  #dataSection .btn-cart-close{
    position:absolute;
    top:0;
    right:0;
    min-width:0;
    width:auto;
    height:30px;
    min-height:30px;
    padding:0 10px;
    border-radius:12px;
    font-size:12px;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
}
.btn:focus-visible{outline:none; box-shadow: 0 0 0 4px var(--ring)}
.btn--ghost:hover{background: var(--surface-alt)}

.btn--sm{min-height:34px; padding:6px 10px; border-radius: 14px; font-size: 13px}

.btn--danger{
  background: linear-gradient(135deg, var(--danger), var(--danger));
  border: 1px solid var(--danger);
  color:var(--button-danger-text);
}
.btn--danger:hover{filter:brightness(1.03)}

.table td .btn{margin-right:8px; margin-bottom:6px}
.table td .btn:last-child{margin-right:0}


.promo-banner{
  margin:10px 0 14px;
  padding:14px 16px;
  border:1px dashed rgba(196,30,58,.42);
  border-radius:18px;
  background:linear-gradient(135deg, rgba(196,30,58,.14), rgba(255,193,7,.18));
  box-shadow:0 10px 30px rgba(196,30,58,.12);
  position:relative;
  overflow:hidden;
  transform-origin:center center;
  will-change:transform, box-shadow;
}
.promo-banner::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.10) 42%, rgba(255,255,255,.30) 50%, rgba(255,255,255,.10) 58%, transparent 100%);
  transform:translateX(-140%);
  pointer-events:none;
}
.promo-banner--animated{
  animation:promoHeartBeat 1.28s cubic-bezier(.25,.1,.25,1) infinite;
}
.promo-banner--animated::after{
  animation:promoShine 2.6s ease-in-out infinite;
}
.promo-banner__title{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size:14px;
  margin-bottom:6px;
}
.promo-banner__icon{
  display:inline-flex;
  transform-origin:center center;
  animation:promoHeartBeatIcon 1.05s ease-in-out infinite;
}
.promo-banner__text{
  font-size:14px;
  line-height:1.45;
}
@keyframes promoHeartBeat{
  0%{ transform:scale(1) translateY(0); box-shadow:0 10px 30px rgba(196,30,58,.12); }
  10%{ transform:scale(1.055) translateY(-1px); box-shadow:0 18px 38px rgba(196,30,58,.24); }
  20%{ transform:scale(0.985) translateY(0); box-shadow:0 9px 24px rgba(196,30,58,.11); }
  30%{ transform:scale(1.07) translateY(-2px); box-shadow:0 20px 42px rgba(196,30,58,.28); }
  42%{ transform:scale(0.992) translateY(0); box-shadow:0 10px 26px rgba(196,30,58,.12); }
  54%{ transform:scale(1.03) translateY(-1px); box-shadow:0 15px 34px rgba(196,30,58,.18); }
  70%,100%{ transform:scale(1) translateY(0); box-shadow:0 10px 30px rgba(196,30,58,.12); }
}
@keyframes promoHeartBeatIcon{
  0%{ transform:scale(1); }
  10%{ transform:scale(1.24); }
  20%{ transform:scale(0.92); }
  30%{ transform:scale(1.28); }
  42%{ transform:scale(0.98); }
  54%{ transform:scale(1.12); }
  70%,100%{ transform:scale(1); }
}
@keyframes promoShine{
  0%{ transform:translateX(-140%); }
  55%{ transform:translateX(140%); }
  100%{ transform:translateX(140%); }
}

.cart-addon-callout{
  display:flex;
  align-items:center;
  gap:10px;
  margin:10px 0 8px;
  color:#b04300;
  font-weight:800;
  font-size:12px;
  line-height:1.2;
}
.cart-addon-callout__dot{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:12px;
  min-width:12px;
  height:12px;
  border-radius:999px;
  color:#ff7a00;
  text-shadow:0 0 12px rgba(255,122,0,.55);
  animation:cartPromoBlink 0.85s linear infinite;
}
.cart-addon-callout__text{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  background:linear-gradient(135deg, rgba(255,196,108,.40), rgba(255,150,80,.24));
  border:1px solid rgba(176,67,0,.22);
  border-radius:999px;
  padding:8px 12px;
  box-shadow:0 6px 16px rgba(176,67,0,.12);
}
.cart-addon-callout--pulse .cart-addon-callout__text{
  animation:cartPromoPulseStrong 0.95s cubic-bezier(.4,0,.2,1) infinite !important;
  will-change:transform, box-shadow, opacity;
}
@keyframes cartPromoBlink{
  0%,100%{ opacity:.25; transform:scale(.8); }
  50%{ opacity:1; transform:scale(1.35); }
}
@keyframes cartPromoPulseStrong{
  0%,100%{ transform:scale(1); opacity:1; box-shadow:0 6px 16px rgba(176,67,0,.12); }
  50%{ transform:scale(1.09); opacity:1; box-shadow:0 14px 28px rgba(176,67,0,.26); }
}

@media (prefers-reduced-motion: reduce){
  .promo-banner--animated,
  .promo-banner--animated::after,
  .promo-banner__icon{
    animation:none !important;
  }
  .cart-addon-callout__dot,
  .cart-addon-callout--pulse .cart-addon-callout__text{
    animation:cartPromoPulseStrong 1.2s ease-in-out infinite !important;
  }
}
@media (prefers-reduced-motion: reduce){
  .promo-banner--animated,
  .promo-banner--animated::after,
  .promo-banner__icon{
    animation:none !important;
  }
}


/* reforço visual do aviso no carrinho */
.cart-addon-callout{
  position:relative;
}
.cart-addon-callout::after{
  content:'';
  position:absolute;
  inset:-3px;
  border-radius:999px;
  border:2px solid rgba(255,122,0,.28);
  pointer-events:none;
  animation:cartPromoShellPulse 1s ease-in-out infinite;
}
.cart-addon-callout__text{
  position:relative;
  overflow:hidden;
}
.cart-addon-callout__text::after{
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  left:-40%;
  width:40%;
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.45), rgba(255,255,255,0));
  animation:cartPromoSweep 1.2s ease-in-out infinite;
  pointer-events:none;
}
@keyframes cartPromoShellPulse{
  0%,100%{ transform:scale(1); opacity:.92; }
  50%{ transform:scale(1.035); opacity:1; }
}
@keyframes cartPromoSweep{
  0%{ transform:translateX(0); opacity:0; }
  30%{ opacity:.75; }
  100%{ transform:translateX(360%); opacity:0; }
}


.cart-addon-callout__text{
  transform-origin:center center;
  will-change:transform, box-shadow, opacity;
}

.site-credit{
  margin:24px 0 18px;
}
.site-credit__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px 18px;
  flex-wrap:wrap;
  padding:14px 18px;
  border:1px solid var(--line-soft);
  border-radius:18px;
  background:var(--card);
  box-shadow:0 12px 30px rgba(15,23,42,.08);
}
.site-credit__text{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}
.site-credit__links{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.site-credit__link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--line-soft);
  background:var(--surface-soft);
  color:var(--text);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  position:relative;
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.site-credit__link--instagram{
  border-color:rgba(193,53,132,.24);
  background:linear-gradient(135deg, rgba(131,58,180,.16), rgba(253,29,29,.10), rgba(252,176,69,.18));
  box-shadow:0 10px 26px rgba(193,53,132,.16);
}
.site-credit__link--instagram::after{
  content:"";
  position:absolute;
  top:-30%;
  bottom:-30%;
  left:-28%;
  width:28%;
  background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0));
  transform:skewX(-18deg);
  pointer-events:none;
  animation:siteCreditShine 3.8s ease-in-out infinite;
}
.site-credit__avatar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  min-width:38px;
  border-radius:999px;
  overflow:hidden;
  border:2px solid var(--line);
  box-shadow:0 6px 18px rgba(15,23,42,.16);
}
.site-credit__avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.site-credit__link:hover{
  transform:translateY(-1px);
  border-color:var(--line);
  background:var(--surface);
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}
.site-credit__link--instagram:hover{
  border-color:rgba(193,53,132,.42);
  background:linear-gradient(135deg, rgba(131,58,180,.22), rgba(253,29,29,.14), rgba(252,176,69,.24));
  box-shadow:0 14px 30px rgba(193,53,132,.22);
}
.site-credit__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  color:var(--primary);
}
.site-credit__icon svg{
  width:18px;
  height:18px;
  fill:currentColor;
}
@keyframes siteCreditShine{
  0%, 100%{ transform:translateX(0) skewX(-18deg); opacity:0; }
  15%{ opacity:.0; }
  35%{ transform:translateX(430%) skewX(-18deg); opacity:.72; }
  45%{ opacity:0; }
}

@media (max-width: 700px){
  .site-credit{
    margin:18px 0 14px;
  }
  .site-credit__inner{
    padding:12px 14px;
  }
  .site-credit__links{
    width:100%;
  }
  .site-credit__link{
    width:100%;
    justify-content:center;
  }
}
