@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* General page improvements */
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: #f6f7fb;
  color: #30353a;
}

.main-container {
  padding-bottom: 96px;
}

/* Fix: avoid fixed top navbar overlapping content and anchor targets */
:root {
  --site-navbar-height: 78px;
  --rodape-height: 48px;
}

.navbar.bg-light.fixed-top {
  z-index: 1100;
}

.main-container {
  padding-top: calc(var(--site-navbar-height));
}

html {
  scroll-padding-top: calc(var(--site-navbar-height));
}

#slider {
  margin-top: 24px;
}

/* Banner styling */
#slider .flexslider {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

#slider .flexslider .slides img,
#slider .flexslider li img {
  border-radius: 16px;
}
#slider .flexslider .slides li a {
  position: relative;
  display: block;
}
#slider .banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.0) 60%);
  pointer-events: none;
}
#slider .banner-cta {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
}

/* Banner: show full image (no crop), scaled to width */
#slider .flexslider,
#slider .flexslider .slides,
#slider .flexslider .slides > li {
  height: auto !important;
}
#slider .flexslider .slides img,
#slider .flexslider li img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
}

@media (max-width: 768px) {
  :root { --site-navbar-height: 86px; }
  .main-container { padding-top: calc(var(--site-navbar-height) + 12px); }
  html { scroll-padding-top: calc(var(--site-navbar-height)); }
  #slider {
    margin-top: 24px;
  }
  #slider .flexslider {
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  }
}

/* Constrain hero / banner images so they don't appear oversized */
.flexslider .slides img,
.carousel-item img,
.flexslider li img {
  max-height: 360px;
  width: auto !important;
  object-fit: contain;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .flexslider .slides img,
  .carousel-item img {
    max-height: 420px;
  }
}

/* Ensure cart sidebar always fills viewport (fix when parent has transform) */
.tpcartinfo,
.tp-cart-info-area {
  height: calc(100vh - var(--rodape-height, 0px)) !important;
  top: 0 !important;
  right: 0 !important;
  bottom: var(--rodape-height, 0px) !important;
}

/* Header status (Aberto / Fechado) */
.header-status {
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
}
.header-status .status-badge {
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  display: inline-block;
  letter-spacing: 0.02em;
}
.header-status .status-badge.open {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.35);
}
.header-status .status-badge.closed {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.35);
}
.header-status .status-text {
  margin-left: 8px;
  font-size: 12px;
  color: #333;
  line-height: 1.05;
}
.header-status .status-text .prep {
  font-weight: 700;
  background: rgba(255, 159, 28, 0.12);
  color: #9a5400;
  padding: 4px 8px;
  border-radius: 999px;
}
.header-status .status-text .pickup { color: #666; font-size: 11px; }
.header-status .status-text .prep::before,
.header-status .status-text .pickup::before,
.header-status-mobile .status-text .prep::before,
.header-status-mobile .status-text .pickup::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: inline-block;
  margin-right: 6px;
  font-size: 11px;
}
.header-status .status-text .prep::before,
.header-status-mobile .status-text .prep::before { content: "\f017"; }
.header-status .status-text .pickup::before,
.header-status-mobile .status-text .pickup::before { content: "\f07a"; }

@media (max-width: 767px) {
  .header-status { display: none !important; }
}

/* modo de entrega buttons */
.modo-entrega{ display:flex; gap:6px; align-items:center; }
.modo-btn{
  background: #fff;
  color: #333;
  border: 1px solid #e6e6e6;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.modo-btn.active{
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border-color: #f59e0b;
  color: #fff;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
}
.modo-btn:hover{ box-shadow:0 6px 14px rgba(0,0,0,0.08); transform: translateY(-1px); }

@media(max-width:991px){
  .modo-entrega .modo-btn{ padding:5px 6px; font-size:11px }
}

/* Mobile status cards */
.header-status-mobile {
  gap: 6px;
  padding: 6px 8px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
  flex-wrap: wrap;
  align-items: center;
  margin: 6px 12px 0;
}
.header-status-mobile .status-text {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.header-status-mobile .status-badge.open {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}
.header-status-mobile .status-badge.closed {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
}
.header-status-mobile .status-text {
  color: #1f2937;
}
.header-status-mobile .status-badge {
  font-size: 10px;
  padding: 4px 6px;
}
.header-status-mobile .status-text .prep {
  font-weight: 700;
  background: rgba(255, 159, 28, 0.12);
  padding: 2px 6px;
  border-radius: 999px;
  display: inline-block;
  white-space: nowrap;
}
.header-status-mobile .status-text .pickup {
  margin-top: 0;
  background: rgba(15, 118, 110, 0.12);
  padding: 2px 6px;
  border-radius: 999px;
  display: inline-block;
  font-weight: 600;
  color: #0f766e;
  white-space: nowrap;
}
.modo-entrega--mobile {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-top: 2px;
  width: 100%;
}
.modo-entrega--mobile .modo-btn {
  padding: 3px 7px;
  font-size: 9px;
}

/* overlay full viewport */
.cartbody-overlay {
  height: 100vh !important;
}

/* Make sure cart sits above other elements */
.tpcartinfo {
  z-index: 12000 !important;
}

/* Header */
.navbar.bg-light {
  background: #ffffffcc !important;
  backdrop-filter: blur(6px);
  padding: 6px 0.75rem;
}
.navbar-brand img {
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(16,24,40,0.06);
  width: 56px;
  height: 56px;
  object-fit: cover;
  transition: transform .12s ease;
}
.navbar-brand small {
  font-size: 13px;
  font-weight: 600;
  color: #d97706;
}
@media (max-width: 768px) {
  .navbar.bg-light .container-fluid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
  }
  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
  }
  .navbar-brand small {
    font-size: 12px;
    line-height: 1.1;
    font-weight: 700;
    color: #d97706;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
  }
  .header__info-cart {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}
@media (max-width: 768px) {
  .navbar.bg-light.fixed-top .container-fluid {
    padding: 6px 12px;
  }
  .navbar-brand img {
    width: 46px;
    height: 46px;
  }
  .navbar-brand small {
    font-size: 12px;
  }
}

/* Standard logo class to apply site-wide */
.site-logo {
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(16,24,40,0.06);
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: inline-block;
}

/* Search */
.padding_input input#buscar {
  background: transparent;
  padding: 8px 6px;
  border-radius: 8px;
  border: none !important;
  box-shadow: none;
  transition: box-shadow .18s ease, transform .12s ease;
  flex: 1 1 auto;
  padding-right: 38px;
  margin-right: 0 !important;
  margin-top: 0 !important;
  border-bottom: none !important;
}
.padding_input input#buscar:focus {
  box-shadow: none;
  transform: translateY(-1px);
  outline: none;
}
.padding_input {
  display:flex;
  gap:10px;
  align-items:center;
  background: #ffffff;
  border: 1px solid #e7ebf1;
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
  margin: 8px 0 20px;
  position: relative;
}
.padding_input .icon-search {
  color:#64748b;
  font-size:16px;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 6px 8px;
  position: absolute;
  right: 10px;
}

/* Cards / products */
.tpbrandproduct__item {
  border-radius: 12px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  background: #ffffff;
  min-height: 120px;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08) !important;
  padding: 10px 12px;
}
.tpbrandproduct__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12) !important;
}
.tpbrandproduct__item:active,
.tpbrandproduct__item:focus-within {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.14) !important;
}

.tpbrandproduct__contact span { color:#222; }
.tpbrandproduct__contact span,
.tpbrandproduct__contact .tpbrandproduct__product-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.tpbrandproduct__contact span + span {
  color: #5a6168;
  font-size: 12px;
}

.tpproduct__rating {
  display: flex;
  gap: 4px;
  align-items: center;
}
.tpproduct__rating a {
  display: inline-flex;
  line-height: 1;
}

/* Compact delivery chips with icons */
.modo-entrega {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 159, 28, 0.06);
}
.modo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
}
.modo-btn::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
}
.modo-btn[data-modo="Retirar no Local"]::before,
.modo-btn[data-modo="Consumir no Local"]::before { content: "\f2e7"; }
.modo-btn[data-modo="Entrega Delivery"]::before { content: "\f0d1"; }
.modo-btn[data-modo="Retirar no Local"] { background: #fff7ed; color: #9a5400; border-color: #fed7aa; }
.modo-btn[data-modo="Consumir no Local"] { background: #ecfeff; color: #0e7490; border-color: #a5f3fc; }
.modo-btn[data-modo="Entrega Delivery"] { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }

/* Mobile status spacing */
.header-status-mobile {
  margin: 8px 16px 10px;
}
.header-status-mobile .status-badge {
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.25);
}
#slider { margin-top: 26px; }
.category-area { margin-top: 18px; }

/* Menu pills (Categorias / Combos / Promoções) */
.menu-pills {
  gap: 12px;
  border-bottom: none !important;
  padding: 6px 0 0;
  flex-wrap: wrap;
  margin-bottom: 12px !important;
}
.menu-pills .nav-item {
  width: auto !important;
  flex: 1 1 0;
}
.menu-pills .menu-pill {
  width: 100%;
  background: var(--menu-card-bg, #ffffff);
  border: 1px solid var(--menu-card-border, #e5e7eb);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.menu-pills .menu-pill small,
.menu-pills .menu-pill h6 {
  color: var(--menu-card-text, #1f2937);
}
.menu-pills .menu-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(16, 24, 40, 0.10);
}
.menu-pills .menu-pill:focus-visible {
  outline: 2px solid var(--menu-focus, #f59e0b);
  outline-offset: 3px;
}
.menu-pills .menu-pill.active {
  background: linear-gradient(135deg, var(--menu-active-a, #f59e0b), var(--menu-active-b, #f97316));
  border-color: var(--menu-active-border, #f59e0b);
  box-shadow: 0 14px 28px var(--menu-active-shadow, rgba(249, 115, 22, 0.25));
}
.menu-pills .menu-pill.active small,
.menu-pills .menu-pill.active h6 {
  color: #ffffff !important;
}
.menu-pills .menu-pill .icone_mobile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  padding: 6px;
  object-fit: contain;
  flex: 0 0 auto;
}
.menu-pills .menu-pill .ps-1 {
  padding-left: 0 !important;
}
.menu-pills .menu-pill small {
  display: block;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.menu-pills .menu-pill h6 {
  margin: 2px 0 0;
  font-weight: 700;
  color: var(--menu-card-sub, #1f2937);
}
.menu-pills .menu-pill.active .icone_mobile {
  background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
  .menu-pills {
    gap: 8px;
  }
  .menu-pills .menu-pill {
    padding: 8px 10px;
  }
  .menu-pills .menu-pill .icone_mobile {
    width: 40px;
    height: 40px;
  }
}

/* Make entire category card clickable like a button */
.category-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.category-card-link:focus {
  outline: none;
}
.category-card-link:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 3px;
  border-radius: 16px;
}
.category-card-link .category__item,
.category-card-link .tpbrandproduct__item {
  height: 100%;
}

/* Premium category cards (mobile) */
.category-area .category__item {
  background: #ffffff !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12) !important;
  height: 100% !important;
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}
.category-area .category__item:hover,
.category-area .category__item:active,
.category-area .category__item:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(16, 24, 40, 0.14) !important;
}
.category-area .category__item,
.tpbrandproduct__item {
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (max-width: 991px) {
  .category-grid {
    width: 100%;
  }
  .category-area .category-grid__wrap {
    padding: 6px 4px 14px;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
    width: 100% !important;
    justify-items: stretch;
    margin: 0;
  }
  .category-area .category-grid__item {
    width: auto !important;
    margin: 0 !important;
    justify-self: stretch;
  }
}
.category-area .quadrado,
.category-area .fix {
  width: 100%;
}
.category-area .quadrado {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.category-area .quadrado,
.category-area .fix,
.category-area .quadrado .imagem,
.brand-product#categoria .imgem-cat-div,
.brand-product#categoria .imgem-cat-div img {
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.category-area .quadrado::after {
  content: none;
}
.category-area .quadrado .imagem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.category-area .category__item:hover .quadrado .imagem,
.category-area .category__item:focus-within .quadrado .imagem,
.category-area .category__item:active .quadrado .imagem {
  transform: scale(1.04);
}
.category-area .category__content {
  padding: 10px 12px 12px;
  margin-top: 0;
  background: #ffffff;
  border-top: 1px solid #eef2f7;
  text-align: center;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.category-area .category__content h6 {
  margin: 0 0 4px;
  font-size: 13px;
  color: #111827;
  font-weight: 700;
}
.category-area .category__content p {
  margin: 0 0 2px !important;
  font-size: 11px !important;
  color: #6b7280 !important;
}
.category-area .category__content p:last-child {
  display: inline-block;
  margin-top: 4px !important;
  background: #f8fafc;
  color: #374151 !important;
  border: 1px solid #e5e7eb;
  padding: 2px 6px;
  border-radius: 999px;
}

/* Premium category cards (desktop) */
.brand-product#categoria .tpbrandproduct__item {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  min-height: 0;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.10) !important;
  height: 100%;
}
.brand-product#categoria .imgem-cat-div {
  width: 100%;
}
.brand-product#categoria .imgem-cat-div img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.brand-product#categoria .imgem-cat-div {
  position: relative;
}
.brand-product#categoria .imgem-cat-div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.0) 55%);
  pointer-events: none;
}
.brand-product#categoria .tpbrandproduct__contact {
  position: relative;
  margin-top: -38px;
  padding: 0 14px 14px;
  background: transparent;
  border-top: none;
}
.brand-product#categoria .tpbrandproduct__contact span:first-child {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 10px;
  border-radius: 10px;
  display: inline-block;
}
.brand-product#categoria .tpbrandproduct__contact span + span {
  color: #5a6168;
}
.brand-product#categoria .tpproduct__price span {
  color: var(--prod-price-text-plain, #0b7a4a);
}
.brand-product#categoria .tpbrandproduct__contact {
  padding: 12px 14px 14px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}
.brand-product#categoria .tpbrandproduct__contact span {
  display: block;
}
.tpproduct__price span { color:var(--prod-price-text-plain, #0b7a4a); font-weight:600 }
.tpproduct__price del { color:var(--prod-price-del, #a0a4aa); margin-left:8px }

/* Product cards (normal) */
.product-card {
  position: relative;
}
.combo-card {
  position: relative;
  background: var(--prod-combo-card-bg, #ecfdf3);
  border: 1px solid var(--prod-combo-card-border, #bbf7d0);
}
.product-card .tpbrandproduct__img {
  flex: 0 0 120px;
}
.product-card .tpbrandproduct__img img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}
.product-card .tpproduct__price span {
  background: var(--prod-price-bg, #16a34a);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  font-weight: 700;
}
.product-card .product-cta {
  position: absolute;
  right: 10px;
  top: 10px;
  background: linear-gradient(135deg, var(--prod-cta-a, #f59e0b), var(--prod-cta-b, #f97316));
  color: #fff;
  border: 1px solid var(--prod-cta-border, #f59e0b);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 6px 14px var(--prod-cta-shadow, rgba(15, 23, 42, 0.10));
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-card .product-cta::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f217";
  font-size: 10px;
}
.product-card .product-cta:hover {
  filter: brightness(0.95);
}

/* Category images */
.imagem-cat, .imgem-cat-div img, .img_combo img, .tpblog__item img {
  object-fit: cover;
  border-radius: 10px;
}

/* Section titles */
.tpsection__sub-title {
  position: relative;
  display: inline-block;
  padding: 8px 22px;
  border-radius: 30px;
  color: var(--section-sub-text, #2b2f36);
  font-weight: 600;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--section-sub-bg-a, rgba(254, 161, 22, 0.12)), var(--section-sub-bg-b, rgba(34, 197, 94, 0.10)));
}
.tpsection__sub-title i {
  margin-right: 8px;
  color: var(--section-sub-icon, #f59e0b);
  font-size: 14px;
}
.tpsection__sub-title::before,
.tpsection__sub-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--section-sub-line-a, rgba(254, 161, 22, 0.9)), var(--section-sub-line-b, rgba(34, 197, 94, 0.6)));
}
.tpsection__sub-title::before { left: -60px; }
.tpsection__sub-title::after { right: -60px; }
.tpsection { margin: 22px 0 18px; }
section.brand-product,
section.category-area,
section.blog-area {
  margin-top: 28px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  section.brand-product,
  section.category-area,
  section.blog-area {
    margin-top: 22px;
    margin-bottom: 22px;
  }
}

/* Promo cards (OFERTAS) */
#promocao .tpbrandproduct__item {
  align-items: stretch;
  background: var(--prod-promo-card-bg, #fff7ed);
  border: 1px solid var(--prod-promo-card-border, #fed7aa);
}
#promocao .imgem-cat-div img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
}
#promocao .tpproduct__price span {
  background: var(--prod-price-bg, #16a34a);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  font-weight: 700;
}
#promocao .tpproduct__price del {
  color: var(--prod-price-del, #94a3b8);
}
#promocao .tpproduct__info-discount {
  background: linear-gradient(135deg, var(--prod-discount-a, #f97316), var(--prod-discount-b, #ea580c));
  color: var(--prod-discount-text, #fff);
  border-radius: 999px;
  padding: 3px 8px;
  box-shadow: 0 6px 14px var(--prod-discount-shadow, rgba(249, 115, 22, 0.35));
  display: inline-block;
  margin: 6px 0 4px;
}
#promocao .promo-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--prod-promo-tag-bg, #dc2626);
  color: var(--prod-promo-tag-text, #fff);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 14px var(--prod-promo-tag-shadow, rgba(220, 38, 38, 0.35));
  z-index: 5;
}
#promocao .badge__hidden {
  display: none;
}

/* Soft separators between sections on mobile */
@media (max-width: 768px) {
  .brand-product,
  .category-area,
  .blog-area {
    position: relative;
  }
  .brand-product::before,
  .category-area::before,
  .blog-area::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: -10px;
    height: 1px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.02));
  }

  /* Mobile fade/slide on load */
  #slider,
  .header-status-mobile,
  .padding_input,
  .category-area,
  .brand-product,
  .blog-area {
    animation: mobileFadeUp .5s ease both;
  }

  /* Mobile legibility */
  body {
    font-size: 14px;
  }
  .tpsection__sub-title {
    font-size: 13px;
    letter-spacing: .6px;
  }
  .tpsection__sub-title i { font-size: 13px; }
  .tpbrandproduct__contact span,
  .category-area .category__content p {
    color: #4b5563 !important;
  }
  .tpbrandproduct__product-title a {
    font-size: 14px;
  }
  .product-card .product-cta {
    font-size: 10px;
    padding: 3px 7px;
  }
}

@keyframes mobileFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Icon consistency for header */
.navbar .bi,
.navbar .fas,
.navbar .far {
  color: #f59e0b;
  font-size: 16px;
}

/* Open/closed badge */
.img-aberto { box-shadow: 0 8px 24px rgba(16,24,40,0.12); }

/* Footer */
.rodape {
  background: #ffffff;
  color: #61666b;
  padding: 8px 12px;
  font-size: 12px;
  box-shadow: 0 -6px 18px rgba(16,24,40,0.06);
  border-top: 1px solid rgba(0,0,0,0.04);
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
  display: block;
}
.rodape a { color: inherit; }
.rodape-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}
.rodape-brand {
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}
.rodape-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rodape-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.rodape-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}
.rodape-icon .bi,
.rodape-icon .fas {
  font-size: 16px;
}
.rodape-icon .bi-whatsapp { color: #16a34a; }
.rodape-icon .bi-instagram { color: #d11144; }
.rodape-icon .fa-map-marker-alt { color: #ef4444; }
.rodape-icon--admin .bi { color: #2563eb; }

@media (max-width: 768px){
  .rodape {
    padding: 6px 10px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    display: flex !important;
    align-items: center;
  }
  .rodape-inner {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    overflow-x: auto;
  }
  .rodape-brand {
    font-size: 11px;
    padding: 4px 8px;
  }
  .rodape-icon {
    width: 30px;
    height: 30px;
  }
  .rodape-icon--admin {
    display: none;
  }
}

/* Responsive tweaks */
@media (max-width: 768px){
  .container-xxl.py-5.margin_top_web { padding-left: 16px; padding-right: 16px }
  .padding_input input#buscar { font-size:14px }
  .tpbrandproduct__item { margin-bottom: 12px }
  .navbar-brand img { width:44px; height:44px }
}

/* Strong overrides to prevent oversized logos and banners */
.navbar-brand > img.site-logo,
.navbar-brand img.site-logo.d-inline-block {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
}

.flexslider .slides img,
.carousel-item img,
.flexslider li img {
  max-height: 300px !important;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

@media (min-width: 1200px) {
  .flexslider .slides img,
  .carousel-item img {
    max-height: 420px !important;
  }
}

.card-pedido {
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
  border: 1px solid rgba(16, 24, 40, 0.08);
}

.card-pedido .card-body {
  min-height: 200px;
  max-height: 260px;
  overflow-y: auto;
}

.card-pedido .card-footer .btn {
  width: 100%;
}

.card-pedido .card-body h5 {
  font-weight: 600;
}

.sticky-filters {
  position: sticky;
  top: calc(var(--site-navbar-height) + 10px);
  z-index: 1100;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.sticky-filters .status-button {
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
}

.sticky-filters .status-button.active {
  color: #fff;
}

.sticky-filters select {
  min-width: 170px;
}

.pedidos-stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.pedido-card {
  border: none;
  border-radius: 1.2rem;
  padding: 1.4rem;
  box-shadow: 0 12px 45px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pedido-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.pedido-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  padding-top: 0.8rem;
}

.pedido-card-footer .btn-card-action {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.pedido-card-footer .btn-card-action i {
  font-size: 1rem;
}

.pedido-chip {
  font-size: 0.75rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #1f2b4b;
  font-weight: 600;
}

.pedido-chip--garcom {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.45);
  color: #1d4ed8;
}

.pedido-metrics {
  gap: 1rem;
}

.pedido-metrics small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pedido-card.status-aguardando {
  background: linear-gradient(135deg, rgba(254, 232, 179, 0.6), rgba(255, 255, 255, 0.85));
}

.pedido-card.status-aceito {
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.6), rgba(255, 255, 255, 0.85));
}

.pedido-card.status-preparando {
  background: linear-gradient(135deg, rgba(253, 224, 71, 0.5), rgba(255, 255, 255, 0.85));
}

.pedido-card.status-pronto {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.3), rgba(255, 255, 255, 0.85));
}

.pedido-card.status-entrega {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(255, 255, 255, 0.85));
}

.pedido-card.status-finalizado,
.pedido-card.status-cancelado {
  background: linear-gradient(135deg, rgba(228, 230, 235, 0.8), rgba(255, 255, 255, 0.9));
}

.panel-card {
  border-radius: 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
}

.panel-card .card-body {
  padding: 1.5rem;
}

.panel-card h5 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.panel-card .panel-summary {
  display: flex;
  justify-content: space-between;
  gap: 1.1rem;
  margin-bottom: 1rem;
}

.panel-card .panel-summary div {
  flex: 1;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 0.9rem;
  padding: 0.9rem;
  text-align: center;
}

.panel-card .panel-summary strong {
  font-size: 1.6rem;
  display: block;
}

.panel-card .panel-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.panel-card .panel-actions .btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
}

.panel-card #historico-lista {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 320px;
  overflow-y: auto;
}

.panel-card .history-item {
  padding: 0.6rem 0.7rem;
  border-radius: 0.85rem;
  background: #f8fafc;
}

.panel-card .history-item:last-child {
  margin-bottom: 0;
}

.panel-card .history-item span {
  font-size: 0.75rem;
}

#historico-lista .history-empty {
  padding: 0.4rem 0.6rem;
}

.mesa-card {
.border-radius: 1.3rem;
.background: #111b29;
.color: #f4f6fb;
.padding: 1.3rem;
.margin-bottom: 1.25rem;
.border: 1px solid rgba(255, 255, 255, 0.08);
.display: flex;
.flex-direction: column;
.justify-content: space-between;
.min-height: 260px;
.transition: transform .2s ease, box-shadow .2s ease;
.position: relative;
.overflow: hidden;
}

.mesa-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(15, 23, 42, 0.9));
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}

.mesa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.35);
}

.mesa-card:hover::before {
  opacity: 0.9;
}

.mesa-card-title {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mesa-card-icon {
  margin-right: .35rem;
  font-size: 1rem;
  color: #fbbf24;
  vertical-align: middle;
}

.mesa-card-subtitle {
  margin: 0;
  font-size: .85rem;
}

.mesa-card-badge {
  padding: .35rem .85rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: .65rem;
}

.mesa-card-observacao {
  font-size: .85rem;
  color: rgba(244, 246, 251, .8);
  margin-bottom: 1rem;
}

.mesa-card-body {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: .8rem;
}

.mesa-card-detail {
  text-align: center;
  flex: 1;
  padding: .4rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: .85rem;
}

.mesa-card-detail strong {
  display: block;
  font-size: 1rem;
}

.mesa-card-actions {
  margin-bottom: .85rem;
}

.mesa-card-meta {
  font-size: .75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: .6rem;
}

.mesa-card-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  background: rgba(255, 255, 255, 0.08);
  padding: .25rem .7rem;
  border-radius: 999px;
  margin-right: .5rem;
}

.mesa-card-chip i {
  font-size: .65rem;
}

.mesa-card-chip-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .6rem;
}

.mesa-card-reserva-info {
  display: block;
  margin-bottom: 0.75rem;
}
.mesa-card-reserva-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.mesa-card-reserva-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
}
.mesa-card-reserva-item i {
  font-size: 0.75rem;
}
.swal2-reserve-field {
  margin-bottom: 0.75rem;
  text-align: left;
}
.swal2-reserve-label {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 0.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mesa-card-chip--priority {
  font-size: 0.65rem;
  padding: 0.25rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  color: #fefefe;
  letter-spacing: .02em;
}
.mesa-card-chip--priority--warning {
  background: rgba(234, 88, 12, 0.2);
  border-color: rgba(234, 88, 12, 0.5);
  color: #ffd574;
}
.mesa-card-chip--priority--danger {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.55);
  color: #ffe7e7;
}
.mesa-card-chip--priority--info {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.5);
  color: #dbe7ff;
}

.mesa-time-badge {
  font-size: .7rem;
  padding: .25rem .65rem;
  border-radius: .8rem;
  background: rgba(59, 130, 246, 0.18);
}

.mesa-time-badge--warning {
  background: rgba(251, 191, 36, 0.22);
  color: #f59e0b;
}
.mesa-time-badge--critical {
  background: rgba(239, 68, 68, 0.25);
  color: #fb7185;
}

.mesa-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(59, 130, 246, 0.25));
  opacity: 0;
  transition: opacity .25s ease;
}

.mesa-card:hover .mesa-card-progress-bar {
  animation: pulseBar 1.2s ease infinite;
}

.mesa-card:hover::after {
  opacity: 1;
}

.mesa-card {
  border-radius: 1.3rem;
  background: #111b29;
  color: #f4f6fb;
  padding: 1.3rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.mesa-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(15, 23, 42, 0.95));
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.mesa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.35);
}

.mesa-card:hover::before {
  opacity: 1;
}

.mesa-card:hover .mesa-card-progress-bar {
  animation: pulseBar 1.2s ease infinite;
}

.mesa-card:hover::after {
  opacity: 1;
}

@keyframes pulseBar {
  0% { transform: scaleX(1); }
  50% { transform: scaleX(1.05); }
  100% { transform: scaleX(1); }
}

.mesa-card--aberta {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.4) 60%, rgba(15, 23, 42, 1) 100%);
  border-color: rgba(248, 113, 113, 0.6);
}

.mesa-card--fechada {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.15) 0%, rgba(34, 197, 94, 0.35) 60%, rgba(15, 23, 42, 1) 100%);
  border-color: rgba(34, 197, 94, 0.6);
}
.mesa-card--reservada {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.18) 0%, rgba(37, 99, 235, 0.4) 60%, rgba(15, 23, 42, 1) 100%);
  border-color: rgba(37, 99, 235, 0.6);
}

.mesa-card-progress {
  margin-bottom: .8rem;
}

.mesa-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.3rem;
}

.mesa-progress-bar {
  height: 6px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f59e0b, #f97316, #ef4444);
}

.novo-pedido-toolbar {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.1rem 1.4rem;
}

.novo-pedido-summary {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: baseline;
}

.novo-pedido-summary div {
  min-width: 90px;
}

.novo-pedido-summary span {
  display: block;
  font-size: 0.75rem;
  color: rgba(15, 23, 42, 0.6);
}

.novo-pedido-summary strong {
  font-size: 1.4rem;
  line-height: 1;
}

.novo-pedido-filters {
  min-width: 310px;
}

.novo-pedido-filters select,
.novo-pedido-filters input {
  min-width: 140px;
}

.novo-pedido-actions input {
  width: 120px;
}

.novo-pedido-actions .btn {
  white-space: nowrap;
}

.novo-pedido-grid .panel-card {
  min-height: 340px;
}

.empty-state-card {
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px dashed rgba(15, 23, 42, 0.12);
}

@media (max-width: 768px){
  .header__info-cart {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    z-index: 2000;
  }
  .header__info-cart button {
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  }
}
