:root {
  --primary: #e8321f;
  --primary-hover: #c42a18;
  --secondary: #0f0f0f;
  --accent: #ffb703;
  --background: #f7f7f7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #4b5563;
  --shadow-sm:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md:
    0 10px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg:
    0 25px 40px -5px rgba(232, 50, 31, 0.15),
    0 10px 15px -5px rgba(232, 50, 31, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.5);
  --gradient-primary: linear-gradient(135deg, #e8321f 0%, #ff7043 100%);
  --radius: 20px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Transição suave */
html {
  transition: color 0.3s ease, background-color 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html {
  overflow-x: hidden;
}
body {
  background-color: var(--background);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: #f7f7f7;
}

body::-webkit-scrollbar-thumb {
  background: #dcdcdc;
  border-radius: 100px;
  border: 2px solid #f7f7f7;
  transition: background 0.3s ease;
}

body::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.3s ease;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

header.scrolled {
  padding: 0.6rem 8%;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  font-family: "Playfair Display", serif;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  line-height: 1;
}

.search-container input:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(232, 50, 31, 0.25);
}

.hero {
  position: relative;
  margin-top: 110px;
  padding: 8rem 8% 6rem;
  text-align: center;
  background: transparent;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  animation: blobBounce 10s infinite alternate ease-in-out;
}

.hero::before {
  top: -80px;
  right: 0;
  background: rgba(245, 61, 45, 0.15);
}

.hero::after {
  bottom: -80px;
  left: 0;
  background: rgba(255, 183, 3, 0.1);
  animation-delay: -5s;
}

@keyframes blobBounce {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.1);
  }

  100% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, #f53d2d, #ffb703, #f53d2d);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

.text-gradient {
  background: linear-gradient(135deg, #f53d2d, #ffb703, #f53d2d);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

/* ── Cores de Preço ──
   price-vibrant: usado quando o item está EM PROMOÇÃO (vermelho brilhante)
   price-black: usado no preço NORMAL, sem promoção (preto brilhante) */
.price-vibrant {
  color: #da0f16;
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.price-black {
  color: #0d0d0d;
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Garante que price-vibrant e price-black nunca sejam sobrescritas
   por background-clip / text-fill-color de outras classes (ex: .price) */
.price-vibrant,
.price-black {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}

/* Preço ORIGINAL riscado (antes do desconto):
   sempre em PRETO BRILHANTE — tanto no card do cardápio normal
   (.price-wrapper) quanto no card do carrossel de Promoções do Dia
   (.promo-card). !important em tudo para vencer QUALQUER classe de
   cor cinza do Bootstrap (.text-secondary, .text-muted, etc). */
.price-wrapper .text-decoration-line-through,
.promo-card .text-decoration-line-through {
  color: #0d0d0d !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #0d0d0d !important;
}

/* Valor atual (o que o cliente paga) no cardápio principal:
   sempre em VERMELHO BRILHANTE, com ou sem promoção ativa. */
.price-wrapper .price-black,
.price-wrapper .price-vibrant {
  color: #da0f16 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.categories {
  padding: 1.5rem 0 1rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.8rem;
  overflow-x: auto;
  position: sticky;
  top: 110px;
  z-index: 900;
  background: var(--background) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
  -ms-overflow-style: none;
  scrollbar-width: thin !important;
  scrollbar-color: #e8321f transparent !important;
  transition: top 0.3s ease;
  scroll-padding: 0 20px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  white-space: nowrap;
}

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

.categories::-webkit-scrollbar-thumb {
  background: #e8321f !important;
  border-radius: 10px !important;
}

section.grid {
  background: var(--surface);
}

.product-card {
  background: var(--surface);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
    0 1px 3px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(232, 50, 31, 0.10),
    0 8px 16px rgba(0, 0, 0, 0.06);
}

.product-card .position-relative.overflow-hidden {
  border-radius: var(--radius) var(--radius) 0 0;
}

.product-card:hover .product-image,
.product-card:hover .card-img-top {
  transform: scale(1.08);
}

.product-card:hover .position-relative.overflow-hidden::after {
  animation: shineEffect 0.85s ease;
}

.product-card .position-relative.overflow-hidden.blur-up::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  transform: scale(1.1);
  z-index: 0;
  pointer-events: none;
}

.product-card .position-relative.overflow-hidden::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: none;
  z-index: 1;
  pointer-events: none;
}

@keyframes shineEffect {
  100% {
    left: 125%;
  }
}

.product-image-container {
  width: 100%;
  height: 240px;
  background: #f8f8f8;
  overflow: hidden;
  position: relative;
  display: block;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
}

.card-img-top {
  opacity: 1;
  position: relative;
  z-index: 2;
  transition:
    opacity 0.4s ease,
    transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
    filter 0.6s ease;
}

.card-img-top.loaded {
  opacity: 1;
}

.product-info {
  padding: 1.5rem 1.25rem 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h5 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--secondary);
  font-weight: 700;
}

.card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.price {
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-wrapper {
  text-align: left;
}

.price-wrapper .price-label {
  color: var(--text-muted);
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 1px;
  letter-spacing: 0.3px;
  opacity: 0.7;
}

.promo-price-text {
  color: #f53d2d;
  text-shadow: 0 0 10px rgba(245, 61, 45, 0.2);
}

.daily-promo-section {
  padding: 0 8% 2rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.promo-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #ff5252 100%);
  border-radius: var(--radius);
  padding: 2rem;
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.promo-day-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.promo-day-selector::-webkit-scrollbar {
  display: none;
}

.day-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}

.day-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.day-btn.active {
  background: white;
  color: var(--primary);
  border-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.promo-title {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-product-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.promo-product-card:hover {
  transform: translateY(-8px);
}

.promo-product-card .product-image-container {
  height: 180px;
}

.promo-product-card .product-info h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  height: 4.3rem;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-product-card .product-info p {
  font-size: 0.85rem;
  height: 3.8rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-product-card .price {
  font-size: 1.5rem;
  white-space: nowrap;
}

.promo-card {
  background: linear-gradient(#fff, #fff) padding-box,
    var(--promo-gradient) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
  position: relative;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s ease;
}

.promo-card {
  position: relative;
}

.promo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(232, 50, 31, 0.25);
  opacity: 0;
  transition: opacity 2s ease-in-out;
  pointer-events: none;
}

.promo-card:hover {
  transform: translateY(-6px);
}

.promo-card:hover::after {
  animation: promoGlow 2s ease-in-out infinite;
}

@keyframes promoGlow {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

.promo-add-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-add-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.promo-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gradient-primary);
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 0.85rem;
  z-index: 10;
  box-shadow: 0 6px 15px rgba(232, 50, 31, 0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

.promo-border {
  border: 3px solid transparent !important;
  background:
    linear-gradient(white, white) padding-box,
    radial-gradient(circle at 30% 107%,
      #fdf497 0%,
      #fdf497 5%,
      #fd5949 45%,
      #d6249f 60%,
      #285aeb 90%) border-box;
  box-shadow: 0 15px 40px rgba(214, 36, 159, 0.25) !important;
  transform: translateY(-8px);
}

/* Transição de categoria */
.menu-item-col {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu-item-col.menu-fade-out {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.menu-item-col.menu-fade-in {
  animation: slideUp 0.3s ease forwards;
}

/* Micro-animação add-to-cart */
.btn-add-cart,
.promo-add-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-cart-added {
  animation: cartBtnAdded 0.6s ease !important;
}

@keyframes cartBtnAdded {
  0% {
    transform: scale(1) rotate(0deg);
  }

  30% {
    transform: scale(1.2) rotate(90deg);
  }

  60% {
    transform: scale(1.2) rotate(90deg);
  }

  100% {
    transform: scale(1) rotate(90deg);
  }
}

/* Bounce no badge do carrinho */
.cart-count-bounce {
  animation: cartBounce 0.4s ease;
}

@keyframes cartBounce {

  0%,
  100% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.4);
  }

  60% {
    transform: scale(0.9);
  }
}

.promo-border-db {
  border: 3px solid transparent !important;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #e8321f 0%, #ffb703 100%) border-box !important;
  box-shadow: 0 15px 40px rgba(232, 50, 31, 0.25) !important;
  transform: translateY(-8px);
}

.bg-instagram {
  background: radial-gradient(circle at 30% 107%,
      #fdf497 0%,
      #fdf497 5%,
      #fd5949 45%,
      #d6249f 60%,
      #285aeb 90%);
  color: white !important;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px dashed rgba(0, 0, 0, 0.08);
  margin: 2rem 0;
}

.empty-state .empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  color: #d1d5db;
  opacity: 0.6;
}

.empty-state h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.6;
}

.cart-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  height: 65px;
  width: 65px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  font-size: 1.5rem;
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: cartPulse 2s infinite !important;
}

.cart-floating-btn:hover {
  transform: scale(1.1);
  color: white;
}

@keyframes cartPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 50, 31, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(232, 50, 31, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 50, 31, 0);
  }
}

.cart-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.cart-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #e0e0e0;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: #f5f5f5;
}

.cart-item-name {
  font-weight: 700;
  color: #212529;
  font-size: 0.9rem;
  margin-bottom: 1px;
  line-height: 1.3;
}

.cart-item-total {
  font-size: 0.82rem;
  color: #6c757d;
}

.cart-item-remove {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.cart-item-remove:hover {
  background: #fee;
}

/* Offcanvas do carrinho */
#cartModal .offcanvas-header {
  background: var(--surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

#cartModal .offcanvas-header .btn-close {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#cartModal .offcanvas-header .btn-close:hover {
  transform: rotate(90deg);
  opacity: 0.7;
}

#cartModal .offcanvas-body {
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

#cartModal .offcanvas-body::-webkit-scrollbar {
  width: 4px;
}

#cartModal .offcanvas-body::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

#cartModal .offcanvas-footer {
  background: var(--surface);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1rem 1.25rem;
}

#cartModal .offcanvas-footer #btnFinalizar {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 12px;
}

#cartModal .offcanvas-footer #btnFinalizar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 50, 31, 0.3) !important;
}

#cartModal .offcanvas-footer #btnFinalizar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none !important;
}

.btn-add-cart {
  background: var(--primary);
  color: #ffffff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.btn-add-cart:hover {
  background: #d32f2f;
  transform: scale(1.1) rotate(90deg);
  color: white;
}

.btn-add-cart.active {
  background: #25d366;
  transform: scale(1.1);
  color: white;
}

.btn-add-cart::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition:
    transform 0.5s,
    opacity 1s;
}

.btn-add-cart:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

.checkout-fields .form-control {
  background-color: #f8f9fa;
  transition: var(--transition);
}

.checkout-fields .form-control:focus {
  background-color: #fff;
  box-shadow: 0 0 0 0.25rem rgba(232, 50, 31, 0.1);
}

.pix-payment-container {
  background: #fff;
  transition: var(--transition);
}

.qr-code-wrapper {
  transition: var(--transition);
}

.qr-code-wrapper:hover {
  transform: scale(1.05);
}

.toast-container {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  pointer-events: none;
}

.toast-custom {
  background: var(--secondary);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 10px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: auto;
}

@keyframes toastSlideUp {
  from {
    transform: translateX(-50%) translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal.fade.slide-up-exit .modal-dialog {
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s ease;
  transform: translateY(-100px) !important;
  opacity: 0;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.skeleton-card .skeleton-img-box,
.skeleton-img-box {
  width: 100%;
  height: 200px;
  border-radius: 0;
}

.skeleton-card .card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
}

.skeleton-title {
  width: 70%;
  height: 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  margin-top: 15px;
}

.skeleton-desc {
  width: 90%;
  height: 0.85rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.skeleton-desc-short {
  width: 50%;
  height: 0.85rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.skeleton-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f8f8f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skeleton-price-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  align-items: flex-start;
  width: 40%;
}

.skeleton-price-lbl {
  width: 40px;
  height: 0.6rem;
  border-radius: 3px;
}

.skeleton-price-val {
  width: 70px;
  height: 1.2rem;
  border-radius: 6px;
}

.skeleton-btn-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.menu-item-col {
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  animation: smoothFadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes smoothFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.categories .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.categories .btn svg {
  flex-shrink: 0;
}

.category-active {
  background: var(--gradient-primary) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 6px 16px rgba(232, 50, 31, 0.3) !important;
  transform: scale(1.03);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.category-inactive {
  background-color: var(--surface) !important;
  color: var(--text-muted) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-inactive:hover {
  background-color: var(--surface) !important;
  color: var(--primary) !important;
  border-color: rgba(232, 50, 31, 0.2) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 50, 31, 0.06);
}

@media (max-width: 600px) {
  header {
    padding: 0.4rem 4% !important;
    gap: 0.2rem !important;
    flex-direction: column;
  }

  header.scrolled {
    padding: 0.4rem 4% !important;
  }

  header .gap-2 {
    gap: 0.5rem !important;
  }

  header .btn-outline-dark {
    padding: 4px 8px !important;
    min-width: 35px;
  }

  header .logo {
    margin-right: auto;
  }

  .logo {
    font-size: 1.2rem !important;
  }

  .search-container {
    margin: 0;
    width: 100%;
    max-width: 100%;
    margin-top: 0 !important;
  }

  .search-container input {
    padding: 0.5rem 1rem 0.5rem 2.4rem !important;
    font-size: 0.85rem !important;
    height: 38px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .search-container .input-group {
    height: 38px !important;
  }

  .search-container button {
    padding: 0 10px !important;
    height: 38px !important;
  }

  .search-container .input-group-text {
    padding-left: 15px !important;
  }

  .search-container .row .col-md-7,
  .search-container .row .col-md-5 {
    width: 100% !important;
  }

  .hero {
    margin-top: 130px !important;
    padding: 2.5rem 5% 1.5rem !important;
  }

  .hero h1 {
    font-size: 1.6rem !important;
  }

  .hero p {
    font-size: 1rem;
  }

  .categories {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0.8rem 1rem !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
    scrollbar-width: none !important;
    top: 115px;
  }

  .categories::-webkit-scrollbar {
    display: none !important;
  }

  .category-pill {
    flex: 0 0 auto !important;
    padding: 0.5rem 1.2rem !important;
    font-size: 0.8rem !important;
  }

  section.grid {
    padding-bottom: 1rem !important;
  }

  .product-image-container {
    height: 200px !important;
  }

  .product-image {
    display: block !important;
    height: 100% !important;
  }

  .daily-promo-section {
    padding: 0 5% 1.5rem;
    margin-top: -2rem !important;
  }

  .promo-banner {
    padding: 1.5rem 1rem;
  }

  .promo-day-selector {
    padding: 0 5%;
    justify-content: flex-start !important;
  }

  .day-btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }

  .promo-title {
    font-size: 1.2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .promo-items {
    flex-direction: column !important;
    overflow-x: visible !important;
    gap: 1.5rem;
  }

  .promo-items .product-card {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: none;
  }

  .promo-product-card .product-image-container {
    height: 180px !important;
  }

  footer {
    padding: 3rem 5%;
  }
}

.skip-link:focus {
  left: 0 !important;
  top: 0;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Back to Top ── */
#backToTop {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1050;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(232, 50, 31, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

#backToTop.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#backToTop:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(232, 50, 31, 0.5);
}

/* ── Footer v2 ── */
.footer-v2 {
  background: #0f0f0f;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-v2 h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.footer-v2 a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-v2 a:hover {
  color: var(--primary);
}

.footer-v2 .footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-v2 .footer-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-v2 .footer-info-item i {
  width: 20px;
  color: var(--primary);
  font-size: 0.85rem;
}

.footer-v2 .social-btns {
  display: flex;
  gap: 10px;
  margin-top: 0.5rem;
}

.footer-v2 .social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-v2 .social-btn:hover {
  transform: translateY(-3px);
}

.footer-v2 .social-btn.whatsapp {
  background: #25d366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.footer-v2 .social-btn.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.3);
}

.footer-v2 .divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.footer-v2 .copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Micro-interações ── */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.btn-ripple:active::after {
  opacity: 1;
  transition: 0s;
}

.product-card:active {
  transform: translateY(-2px) scale(0.98);
}

.category-active {
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.toast-custom {
  animation: toastSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Hover sutil nos cards do carrinho */
.cart-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-item:hover {
  transform: translateX(2px);
}

/* Transições de categoria mais suaves */
.menu-item-col {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 768px) {
  .footer-v2 {
    padding: 2.5rem 0 1rem;
  }

  .footer-v2 .row>div {
    margin-bottom: 2rem;
  }

  .footer-v2 .row>div:last-child {
    margin-bottom: 0;
  }

  .footer-v2 h5 {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .footer-v2 .footer-logo {
    font-size: 1.5rem;
    text-align: center;
  }

  .footer-v2 .footer-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 280px;
  }

  .footer-v2 .footer-info-item {
    justify-content: center;
    font-size: 0.82rem;
  }

  .footer-v2 .footer-info-item i {
    width: 18px;
    font-size: 0.8rem;
  }

  .footer-v2 .social-btns {
    justify-content: center;
  }

  .footer-v2 .social-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .footer-v2 .divider {
    margin: 1.2rem 0;
  }

  .footer-v2 .copy {
    font-size: 0.75rem;
  }

  #backToTop {
    bottom: 80px;
    right: 15px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}