@charset "UTF-8";
/* YOUR CUSTOM CSS */


@media (min-width: 768px) {
	.omb_row-sm-offset-3 div:first-child[class*="col-"] {
		margin-left: 25%;
	}
}

.omb_login .omb_authTitle {
	text-align: center;
	line-height: 300%;
}

.omb_login .omb_socialButtons a {
	color: white; // In yourUse @body-bg 
	opacity:0.9;
}
.omb_login .omb_socialButtons a:hover {
	color: white;
	opacity:1;    	
}

.omb_login .omb_loginOr {
	position: relative;
	font-size: 1.5em;
	color: #aaa;
	margin-top: 1em;
	margin-bottom: 1em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
.omb_login .omb_loginOr .omb_hrOr {
	background-color: #cdcdcd;
	height: 1px;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}
.omb_login .omb_loginOr .omb_spanOr {
	display: block;
	position: absolute;
	left: 50%;
	top: -0.6em;
	margin-left: -1.5em;
	background-color: white;
	width: 3em;
	text-align: center;
}			

.omb_login .omb_loginForm .input-group.i {
	width: 2em;
}
.omb_login .omb_loginForm  .help-block {
	color: red;
}


@media (min-width: 768px) {
	.omb_login .omb_forgotPwd {
		text-align: right;
		margin-top:10px;
	}		
}

#whatsapp{
	position:fixed;
	width:60px;
	height:60px;
	right:10px;
	bottom:10px;
	display:block;
	z-index:1000000;
}
.cart-count{
	display: inline-block;
	position: absolute;
	top: 0;
	right: 0;
	background: #ff2646;
	color: #fff;
	padding: 4px 10px;
	border-radius: 100px;
	font-size: 10px;
	text-shadow: 0 1px 2px rgba(0,0,0,.1);
	box-shadow: 0 2px 4px rgba(0,0,0,.1);
	z-index: 10;
	text-align: center;
	opacity: 1;
	transition: .33s cubic-bezier(0.34, 0.13, 0.34, 1.43);
}


/*--thank you pop starts here--*/
.thank-you-pop{
	width:100%;
	padding:20px;
	text-align:center;
}
.thank-you-pop img{
	width:76px;
	height:auto;
	margin:0 auto;
	display:block;
	margin-bottom:25px;
}

.thank-you-pop h1{
	font-size: 42px;
	margin-bottom: 25px;
	color:#5C5C5C;
}
.thank-you-pop p{
	font-size: 20px;
	margin-bottom: 27px;
	color:#5C5C5C;
}
.thank-you-pop h3.cupon-pop{
	font-size: 25px;
	margin-bottom: 40px;
	color:#222;
	display:inline-block;
	text-align:center;
	padding:10px 20px;
	border:2px dashed #222;
	clear:both;
	font-weight:normal;
}
.thank-you-pop h3.cupon-pop span{
	color:#03A9F4;
}
.thank-you-pop a{
	display: inline-block;
	margin: 0 auto;
	padding: 9px 20px;
	color: #fff;
	text-transform: uppercase;
	font-size: 14px;
	background-color: #8BC34A;
	border-radius: 17px;
}
.thank-you-pop a i{
	margin-right:5px;
	color:#fff;
}
#ignismyModal .modal-header{
	border:0px;
}
/*--thank you pop ends here--*/

/* ===================================================
   CARDAPIO 99FOOD - CSS LIMPO
   =================================================== */

/* Titulo antigo do cardapio */
#main_menu > center { display:none !important; }
.box_style_2#main_menu { background:transparent !important; box-shadow:none !important; border:none !important; padding:0 !important; }


/* ─── BARRA DE CATEGORIAS (MINI CARDS com imagem) ─────────────────────────────── */
#cat-chips-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.11);
  padding: 12px 10px 14px;
  margin-bottom: 16px;
}
/* Fade à direita (indica mais conteúdo fora da tela) */
#cat-chips-bar::after {
  content:'';
  position:absolute;
  top:10px; right:0; bottom:12px;
  width:34px;
  background:linear-gradient(90deg,rgba(255,255,255,0),#fff 80%);
  pointer-events:none;
  border-radius:0 0 20px 0;
  z-index:2;
  transition:opacity .2s;
}
/* Fade à esquerda (aparece quando rola) */
#cat-chips-bar::before {
  content:'';
  position:absolute;
  top:10px; left:0; bottom:12px;
  width:24px;
  background:linear-gradient(90deg,#fff 25%,rgba(255,255,255,0));
  pointer-events:none;
  border-radius:0 0 0 20px;
  z-index:2;
  opacity:0;
  transition:opacity .2s;
}
#cat-chips-bar.scrolled::before { opacity:1; }
#cat-chips-bar.at-end::after    { opacity:0; }

#cat-chips-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.15) transparent;
  /* touch-action deixado em auto: browser decide naturalmente entre
     pan horizontal (no elemento) e pan vertical (na página pai) */
  overscroll-behavior-x: contain;
}
#cat-chips-scroll::-webkit-scrollbar { height: 3px; }
#cat-chips-scroll::-webkit-scrollbar-track { background: transparent; }
#cat-chips-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 3px; }

/* ── Mini card de categoria ── */
.cat-chip {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 10px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  outline: none;
  background: #fafafa;
  color: #555;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s, background .18s, border-color .18s, color .18s;
  scroll-snap-align: start;
  user-select: none;
  position: relative;
  min-width: 82px;
  max-width: 120px;
}
.cat-chip::after, .cat-chip::before { content: none !important; display: none !important; }
/* Avatar da categoria (círculo com imagem ou inicial) */
.cat-chip .cat-chip-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #eee;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .18s, box-shadow .18s;
}
.cat-chip .cat-chip-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cat-chip .cat-chip-avatar-fallback {
  font-size: 22px;
  font-weight: 900;
  color: #ccc;
  letter-spacing: -1px;
  line-height: 1;
}
.cat-chip .cat-chip-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #555;
  text-align: center;
  line-height: 1.2;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  transition: color .18s;
}

/* Hover — levemente levantado */
.cat-chip:hover:not(.active) {
  background: #fff;
  border-color: #eee;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.cat-chip:hover:not(.active) .cat-chip-avatar { border-color: #ddd; }
.cat-chip:hover:not(.active) .cat-chip-label { color: #1a1a2e; }

.cat-chip:active:not(.active) { transform: translateY(0); }

/* ── Mini card ATIVO — fundo colorido (tema da loja) + texto branco ──
   O arquivo alterarcores.php força background:var(--cp) no .cat-chip.active,
   então o design aqui é pra combinar com fundo SÓLIDO colorido da loja */
.cat-chip.active {
  border-color: var(--cpD, #b00c18) !important;
  border-width: 2px !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--cp-rgb, 234,29,44), 0.28) !important;
}
.cat-chip.active .cat-chip-avatar {
  /* Aro branco em volta do avatar pra destacar sobre fundo colorido */
  border-color: #fff !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9) !important;
  background: #fff !important;
}
.cat-chip.active .cat-chip-label {
  /* Branco pra contrastar com qualquer cor de tema (laranja, vermelho, azul...) */
  color: #fff !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.cat-chip.active .cat-chip-avatar-fallback {
  color: var(--cp, #ea1d2c) !important;
}

/* ── Mobile ── */
@media(max-width:991px){
  #cat-chips-bar {
    padding: 10px 12px 14px;
    border-radius: 0 0 18px 18px;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,.10);
  }
  .cat-chip {
    font-size: 13px;
    padding: 9px 16px;
  }
  .cat-chip.active {
    padding-left: 22px;
  }
}

/* --- Panels de categoria --- */
#main_menu .panel-group { margin-bottom:8px !important; }
#main_menu .panel.panel-default {
  border-radius:16px !important; overflow:hidden !important;
  border:1px solid #f0f0f0 !important;
  box-shadow:0 2px 10px rgba(0,0,0,.04) !important;
  margin-bottom:10px !important;
}
#main_menu .panel-heading { background:#fff !important; border-bottom:1px solid #f5f5f5 !important; padding:0 !important; }
#main_menu .panel-title a {
  display:flex !important; align-items:center !important;
  justify-content:space-between !important;
  padding:15px 18px !important; font-size:15px !important;
  font-weight:800 !important; color:#1a1a2e !important; text-transform:uppercase !important;
}
#main_menu .panel-title .fa { color:#aaa !important; float:none !important; font-size:13px !important; }
#main_menu .panel-body { padding:0 !important; background:#fff !important; }
#main_menu .panel-collapse { transition:none !important; }




/* --- Food cards dos itens --- */
.food-cards-wrap { padding:4px 0 8px; }
.food-card {
  display:flex; align-items:center; gap:12px;
  padding:14px 16px; border-bottom:1px solid #f5f5f5;
  cursor:pointer; background:#fff; transition:background .15s;
  -webkit-tap-highlight-color:transparent;
}
.food-card:last-child { border-bottom:none; }
.food-card:active { background:#fafafa; }
.food-card-info { flex:1; min-width:0; }
.food-card-name { font-size:14px; font-weight:700; color:#1a1a2e; margin:0 0 4px; line-height:1.35; }
.food-card-desc { font-size:12px; color:#999; line-height:1.5; margin:0 0 8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.food-card-price { font-size:14px; font-weight:800; color:#1a1a2e; margin:0; }
.food-card-price.ver-val { font-size:12px; color:#ff3d6b; font-weight:700; }
.food-card-right { position:relative; flex-shrink:0; }
.food-card-img { width:90px; height:90px; border-radius:12px; object-fit:cover; display:block; }
.food-card-btn {
  position:absolute; bottom:-9px; right:-9px;
  width:28px; height:28px; line-height:26px; text-align:center;
  background:#ff3d6b; color:#fff; border-radius:50%; font-size:22px; font-weight:300;
  box-shadow:0 3px 10px rgba(255,61,107,.4); pointer-events:none;
}
.food-card-btn::after, .food-card-btn::before { content:none !important; }
.food-card-btn-solo {
  flex-shrink:0; width:28px; height:28px; line-height:26px; text-align:center;
  background:#ff3d6b; color:#fff; border-radius:50%; font-size:22px; font-weight:300;
  box-shadow:0 3px 10px rgba(255,61,107,.35);
}

/* --- Mobile --- */
@media(max-width:600px){
  .food-card { padding:12px 14px; gap:10px; }
  .food-card-name { font-size:13px; }
  .food-card-desc { font-size:11px; }
  .food-card-price { font-size:13px; }
  .food-card-img { width:76px; height:76px; border-radius:10px; }
  .food-card-btn { width:26px; height:26px; line-height:24px; font-size:20px; }
}

/* Logo do restaurante como fallback em itens sem foto */
.food-card-img-logo {
  object-fit: contain !important;
  background: #f5f5f5 !important;
  padding: 10px !important;
  border-radius: 12px !important;
  opacity: 0.75;
  filter: grayscale(20%);
}

/* Descrição da categoria centralizada e com espaçamento */
#main_menu .panel-body > br { display:none !important; }
#main_menu .panel-body > *:first-child:not(.food-cards-wrap):not(table):not(.alert) {
  display:block;
  text-align:center;
  font-size:13px;
  color:#aaa;
  font-style:italic;
  padding:12px 20px 4px;
  margin:0;
  line-height:1.4;
}

/* Descrição da categoria */
.cat-desc-text {
  text-align:center;
  font-size:13px;
  color:#aaa;
  font-style:italic;
  padding:14px 20px 6px;
  margin:0;
  line-height:1.4;
  border-bottom:1px dashed #f0f0f0;
  margin-bottom:4px;
}

/* Tabela original escondida - modais movidos para body pelo JS */
#main_menu .table.table-striped.cart-list { display:none !important; }
/* td.options sem display none - form permanece acessível */
#main_menu td.options { width:0 !important; padding:0 !important; border:none !important; overflow:visible !important; }

/* =============================================
   MODAL DE ADICIONAIS - REDESIGN MODERNO
   ============================================= */

/* Modal container */
.modal.popuppedido .modal-dialog {
  margin: 20px auto !important;
  max-width: 480px !important;
  border-radius: 20px !important;
}
.modal.popuppedido .modal-content {
  border: none !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25) !important;
}
.modal.popuppedido .modal-body {
  padding: 0 !important;
}

/* Fechar */
.modal.popuppedido .close-link {
  position: absolute !important;
  top: 14px; right: 14px !important;
  width: 32px; height: 32px !important;
  background: rgba(0,0,0,0.08) !important;
  border-radius: 50% !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  z-index: 10 !important;
  transition: background .2s !important;
}
.modal.popuppedido .close-link:hover { background: rgba(0,0,0,0.18) !important; }
.modal.popuppedido .close-link i { font-size: 14px !important; color: #555 !important; }

/* Header do item */
.modal.popuppedido .dropdown-menupop {
  border-bottom: none !important;
  padding: 0 !important;
}
.modal.popuppedido .dropdown-menupop > center:first-of-type b {
  display: block !important;
  padding: 20px 20px 0 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  text-align: center !important;
}
.modal.popuppedido .dropdown-menupop > center:first-of-type b b {
  display: block !important;
  font-size: 18px !important;
  color: #27c764 !important;
  font-weight: 900 !important;
  margin-top: 4px !important;
  padding: 0 !important;
}

/* Imagem do item */
.modal.popuppedido .dropdown-menupop > center img {
  width: 100% !important;
  max-height: 180px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block !important;
  margin: 12px 0 0 !important;
}

/* Scroll area dos adicionais */
.modal.popuppedido .dropdown-menupop {
  max-height: 75vh !important;
  overflow-y: auto !important;
  scroll-behavior: smooth !important;
}

/* Tamanhos - radio buttons */
.modal.popuppedido h5 {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #aaa !important;
  text-transform: uppercase !important;
  letter-spacing: .8px !important;
  padding: 14px 20px 8px !important;
  margin: 0 !important;
  border-top: 1px solid #f5f5f5 !important;
}
.modal.popuppedido .hcinco {
  border-top: 1px solid #f5f5f5 !important;
}
.modal.popuppedido label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 11px 20px !important;
  margin: 0 !important;
  cursor: pointer !important;
  font-size: 14px !important;
  color: #333 !important;
  font-weight: 500 !important;
  border-bottom: 1px solid #f8f8f8 !important;
  transition: background .15s !important;
}
.modal.popuppedido label:hover { background: #fafafa !important; }
.modal.popuppedido label input[type="radio"],
.modal.popuppedido label input[type="checkbox"] {
  width: 18px !important; height: 18px !important;
  margin: 0 10px 0 0 !important;
  accent-color: #ff3d6b !important;
  flex-shrink: 0 !important;
}
.modal.popuppedido label span {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ff3d6b !important;
  margin-left: auto !important;
  padding-left: 8px !important;
}

/* Header das categorias de adicional (bg-info) */
.modal.popuppedido .bg-info {
  background: #f8f8f8 !important;
  padding: 10px 20px !important;
  border-radius: 0 !important;
  margin: 0 !important;
  border-top: 1px solid #f0f0f0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
}
.modal.popuppedido .bg-info strong {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
}
.modal.popuppedido .bg-info strong img {
  width: 20px !important; height: 20px !important;
  vertical-align: middle !important;
  margin-right: 6px !important;
}
.modal.popuppedido .bg-info span {
  font-size: 11px !important;
  color: #ff3d6b !important;
  font-weight: 700 !important;
}
.modal.popuppedido .bg-info .col-sm-6 { padding: 0 !important; }

/* Observação */
.modal.popuppedido .obsitem,
.modal.popuppedido textarea {
  border: 1.5px solid #ebebeb !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  color: #333 !important;
  background: #fafafa !important;
  width: calc(100% - 40px) !important;
  margin: 0 20px 12px !important;
  resize: vertical !important;
  display: block !important;
}
.modal.popuppedido .obsitem:focus,
.modal.popuppedido textarea:focus {
  border-color: #ff3d6b !important;
  outline: none !important;
}

/* Quantidade */
.modal.popuppedido .input-group {
  padding: 0 20px !important;
  margin-bottom: 8px !important;
}
.modal.popuppedido .btn-number {
  border-radius: 8px !important;
  width: 36px !important; height: 36px !important;
  font-size: 18px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  border: none !important;
  font-weight: 700 !important;
}
.modal.popuppedido .btn-danger.btn-number { background: #ff4545 !important; color: #fff !important; }
.modal.popuppedido .btn-success.btn-number { background: #27c764 !important; color: #fff !important; }
.modal.popuppedido .input-number {
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  border: 1.5px solid #ebebeb !important;
  border-radius: 8px !important;
  height: 36px !important;
  padding: 0 10px !important;
}

/* Modal footer */
.modal.popuppedido .modal-footer {
  display: none !important;
}

/* Botão ADICIONAR AO PEDIDO */
.modal.popuppedido #footer {
  background: linear-gradient(135deg, #ff3d6b, #ff5f40) !important;
  padding: 16px 20px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: opacity .2s !important;
  margin: 0 !important;
}
.modal.popuppedido #footer:hover { opacity: .9 !important; }
.modal.popuppedido #footer b {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .8px !important;
}

/* Botão indisponível */
.modal.popuppedido #footerr {
  background: #f0f0f0 !important;
  padding: 16px 20px !important;
  text-align: center !important;
}
.modal.popuppedido #footerr b {
  color: #aaa !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

/* Texto ANTES DE FECHAR oculto */
.modal.popuppedido .modal-footer + * { display: none !important; }

/* Scrollbar */
.modal.popuppedido .dropdown-menupop::-webkit-scrollbar { width: 4px; }
.modal.popuppedido .dropdown-menupop::-webkit-scrollbar-track { background: #f5f5f5; }
.modal.popuppedido .dropdown-menupop::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

/* Mobile */
@media(max-width:600px){
  .modal.popuppedido .modal-dialog { margin: 0 !important; max-width: 100% !important; border-radius: 20px 20px 0 0 !important; position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important; }
  .modal.popuppedido .modal-content { border-radius: 20px 20px 0 0 !important; }
  .modal.popuppedido .dropdown-menupop { max-height: 80vh !important; }
}

/* =============================================
   PWA BANNERS
   ============================================= */

/* --- MOBILE BANNER (acima do slider) - SOMENTE MOBILE --- */
/* Banner mobile: JS controla display via setAttribute */
@media(min-width:992px){ #pwa-banner-mobile { display:none !important; } }
#pwa-banner-mobile {
  position: fixed !important;
  bottom: 72px; /* acima do bottom nav (60px) + margem */
  left: 12px;
  right: 12px;
  z-index: 9998;
  border-radius: 14px;
  overflow: hidden;
  animation: pwaSlideDown .4s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
@media(min-width:992px){
  #pwa-banner-mobile { bottom: 16px; } /* desktop sem bottom nav */
}
@keyframes pwaSlideDown {
  from { opacity:0; transform:translateY(-12px); }
  to   { opacity:1; transform:translateY(0); }
}
.pwa-mob-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}
.pwa-mob-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.pwa-mob-text {
  flex: 1;
  min-width: 0;
}
.pwa-mob-text strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.pwa-mob-text span {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
.pwa-mob-btn {
  background: #ea1d2c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}
.pwa-mob-btn:hover { background: #c91525; }
.pwa-mob-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}
.pwa-mob-close:hover { color: #fff; }

/* --- DESKTOP BANNER (acima do "Seu Pedido") - SOMENTE DESKTOP --- */
/* Banner desktop: JS controla display via setAttribute */
@media(max-width:991px){ #pwa-banner-desktop { display:none !important; } }
#pwa-banner-desktop {
  position: fixed !important;
  bottom: 16px;
  right: 16px;
  width: 340px;
  z-index: 9999;
  animation: pwaSlideDown .4s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  border-radius: 14px;
  overflow: hidden;
}
.pwa-desk-inner {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pwa-desk-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pwa-desk-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.pwa-desk-left strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}
.pwa-desk-left span {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.3;
}
.pwa-desk-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pwa-desk-btn {
  background: linear-gradient(135deg, #ea1d2c, #ff5f40);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 3px 10px rgba(234,29,44,0.35);
}
.pwa-desk-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(234,29,44,0.45); }
.pwa-desk-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color .15s;
}
.pwa-desk-close:hover { color: #fff; }
/* ═══════════════════════════════════════════════════════════════
   MELHORIAS MOBILE 2026 — Cardápio digital
   ═══════════════════════════════════════════════════════════════ */

/* ── HERO MOBILE ──
   Layout mobile redesenhado (banner fino + card branco flutuante)
   foi aplicado direto no CSS inline do index.php, pois aquele usa
   !important e carrega depois desse arquivo. */
@media(max-width:767px){
  .header-links-row{
    margin-top:6px !important;
    gap:10px !important;
  }
  .badge-status{
    margin-bottom:2px !important;
  }
}

/* ── BADGE STATUS MELHORADO (com horário próximo) ── */
.badge-status{ flex-wrap:wrap; justify-content:center; gap:4px; }
.badge-status .hbr-open-at{
  font-weight:700;
  font-size:.85em;
  opacity:.95;
  margin-left:4px;
  padding-left:8px;
  border-left:1px solid rgba(255,255,255,.35);
}

/* ── BANNER PWA COMPACTO (barra fina) ── */
#pwa-banner-mobile{
  position:fixed !important;
  left:12px; right:12px; bottom:72px;
  z-index:9998;
  background:#1a1a2e;
  border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  animation:pwaSlideUp .4s cubic-bezier(.16,1,.3,1);
}
@keyframes pwaSlideUp{ from{ transform:translateY(120%); opacity:0; } to{ transform:translateY(0); opacity:1; } }
.pwa-mob-inner{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
}
.pwa-mob-logo{
  width:34px; height:34px;
  border-radius:9px; object-fit:cover;
  flex-shrink:0; background:#fff;
}
.pwa-mob-text{ flex:1; min-width:0; line-height:1.25; }
.pwa-mob-text strong{
  display:block; font-size:12.5px; font-weight:800; color:#fff;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.pwa-mob-text span{
  display:block; font-size:10.5px; color:rgba(255,255,255,.65);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.pwa-mob-btn{
  flex-shrink:0;
  padding:7px 14px;
  background:var(--cp,#ea1d2c);
  border:none;
  border-radius:9px;
  color:#fff;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:0 3px 0 var(--cpD,#b00c18);
}
.pwa-mob-btn:active{ transform:translateY(2px); box-shadow:0 1px 0 var(--cpD,#b00c18); }
.pwa-mob-close{
  flex-shrink:0;
  width:26px; height:26px;
  background:rgba(255,255,255,.08);
  border:none;
  border-radius:50%;
  color:#fff;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.pwa-mob-close:hover{ background:rgba(255,255,255,.18); }

/* ── LOADING SKELETON NAS IMAGENS ── */
.food-card-img.skeleton{
  background:linear-gradient(90deg,#eee 25%,#f5f5f5 50%,#eee 75%);
  background-size:200% 100%;
  animation:skelLoad 1.4s linear infinite;
}
@keyframes skelLoad{ 0%{ background-position:200% 0; } 100%{ background-position:-200% 0; } }
.food-card-img.skeleton-done{ animation:none; background:none; }

/* ── BADGE DE DESCONTO ── */
.food-card-right{ position:relative; }
.food-card-badge-disc{
  position:absolute;
  top:-4px; left:-4px;
  background:linear-gradient(135deg,#f59e0b,#d97706);
  color:#fff;
  font-size:10px;
  font-weight:900;
  padding:3px 8px;
  border-radius:8px;
  letter-spacing:.2px;
  box-shadow:0 3px 8px rgba(217,119,6,.35);
  z-index:3;
  white-space:nowrap;
}

/* ── BOTÃO FAVORITAR ── */
.food-card{ position:relative; }
.food-card-fav{
  position:absolute;
  top:10px; right:10px;
  width:34px; height:34px;
  background:rgba(255,255,255,.92);
  border:none;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  z-index:5;
  font-size:17px;
  color:#bbb;
  transition:all .15s;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  box-shadow:0 2px 8px rgba(0,0,0,.1);
}
.food-card-fav:hover{ transform:scale(1.1); color:#ea1d2c; }
.food-card-fav.on{ color:#ea1d2c; animation:favPop .35s ease; }
@keyframes favPop{ 0%{transform:scale(1);} 50%{transform:scale(1.3);} 100%{transform:scale(1);} }

/* ── BUSCA INLINE ── */
#cardapio-search-wrap{
  /* Não-sticky: fica no fluxo normal, sai da tela ao rolar.
     Isso evita sobrepor os cards de Destaques e outros elementos. */
  padding:8px 12px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  margin:0 0 12px;
  display:none; /* mobile-only via media query abaixo */
}
@media(max-width:991px){ #cardapio-search-wrap{ display:block; } }
#cardapio-search-input{
  width:100%;
  padding:10px 14px 10px 38px;
  border:1px solid #eee;
  border-radius:50px;
  font-size:14px;
  background:#f7f7f7 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") 12px 50% / 16px no-repeat;
  outline:none;
  box-sizing:border-box;
  transition:border-color .15s, background-color .15s;
}
#cardapio-search-input:focus{
  border-color:var(--cp,#ea1d2c);
  background-color:#fff;
}
.food-card.hidden-search{ display:none !important; }
.food-cards-wrap.all-hidden::after{
  content:"Nenhum item encontrado para esta busca";
  display:block;
  padding:24px 16px;
  text-align:center;
  color:#aaa;
  font-size:13px;
  font-style:italic;
}

/* Esconder categoria inteira quando todos os items estão escondidos pela busca */
#main_menu .panel.panel-default.cat-hidden-search{ display:none; }

/* ── SLIDER ESCONDIDO SE VAZIO (definido via JS) ── */
.slider-wrap.hidden-empty{ display:none !important; }

/* ═══════════════════════════════════════════════════════════════
   DESTAQUES — Estilos complementares
   (estilos críticos de layout estão inline no home.php pra evitar
   conflito com Bootstrap / .box_style_2 / outros CSS externos)
   ═══════════════════════════════════════════════════════════════ */
#destaques-wrap .destaques-scroll{
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.15) transparent;
  scroll-snap-type: x proximity;
  /* touch-action em auto: browser decide entre scroll horizontal e vertical */
  overscroll-behavior-x: contain;
}
#destaques-wrap .destaques-scroll::-webkit-scrollbar { height: 4px; }
#destaques-wrap .destaques-scroll::-webkit-scrollbar-track { background: transparent; }
#destaques-wrap .destaques-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.15); border-radius: 3px; }

#destaques-wrap .destaque-card{
  scroll-snap-align: start;
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s;
}
#destaques-wrap .destaque-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.10) !important;
}
#destaques-wrap .destaque-card:active{ transform: translateY(-1px); }
#destaques-wrap .destaque-card img{
  transition: transform .3s;
}
#destaques-wrap .destaque-card:hover img{
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════
   OTIMIZAÇÃO MOBILE — performance de scroll
   Desabilita efeitos GPU-heavy e animações infinitas em telas pequenas
   ═══════════════════════════════════════════════════════════════ */
@media(max-width:991px){
  /* Nenhum backdrop-filter no mobile (GPU-heavy) */
  .badge-status,
  .parallax-window,
  section#img-head-loja,
  #subheader,
  #sub_content,
  .header-link-btn,
  #btn-compartilhar,
  *{
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* Sem animações contínuas no mobile (loop eterno = bateria + CPU) */
  #thumb img,
  #sub_content #thumb img,
  .badge-status,
  .badge-status.aberto,
  .badge-status.fechado,
  .badge-status.aberto .dot,
  .badge-status.fechado .dot,
  .pulse,
  [class*="pulse"]{
    animation: none !important;
  }
  /* Parallax: desativa o efeito de scroll paralax (JS remove atributo também) */
  .parallax-window,
  section#img-head-loja{
    background-attachment: scroll !important;
    transform: none !important;
    will-change: auto !important;
  }
  /* Remove hover transforms no mobile (não há hover, só consome processamento) */
  .cat-chip:hover:not(.active),
  #destaques-wrap .destaque-card:hover,
  #destaques-wrap .destaque-card:hover img,
  .food-card:hover{
    transform: none !important;
    box-shadow: initial !important;
  }
  /* will-change removido de elementos que não precisam (polui GPU layers) */
  #subheader, #sub_content, .food-card, .destaque-card, .cat-chip{
    will-change: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   content-visibility: auto — pula rendering de áreas fora da viewport
   Ganho BRUTAL em cardápios com muitas categorias/produtos
   ═══════════════════════════════════════════════════════════════ */
@media(max-width:991px){
  /* Cada categoria (panel) só é renderizada quando perto da viewport */
  #main_menu .panel.panel-default{
    content-visibility: auto;
    contain-intrinsic-size: auto 500px; /* reserva espaço estimado */
  }
  /* Modais fora da tela: não renderiza até abrir */
  .modal.fade.popuppedido:not(.in){
    content-visibility: auto;
    contain-intrinsic-size: 0 0;
  }
}