@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --bg-main: #0c0d10;
  --bg-card: #15171d;
  --bg-card-hover: #1b1e26;
  --bg-glass: rgba(21, 23, 29, 0.85);
  --bg-glass-modal: rgba(14, 15, 19, 0.95);
  
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-glow: rgba(245, 158, 11, 0.25);
  --accent-red: #ef4444;
  --accent-green: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border: #262934;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: #f59e0b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.35);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar estilizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* HEADER & NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 1.5rem;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #f59e0b, #b45309);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.brand-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  animation: shine 3.5s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  25% { left: 120%; }
  100% { left: 120%; }
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-text p {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.16rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.store-badge.closed {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.28);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.btn-nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nav-auth:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  color: var(--primary);
}

.btn-nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border: none;
  color: #111827;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all 0.2s ease;
}

.btn-nav-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

.cart-count-badge {
  background: #111827;
  color: #fcd34d;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  padding: 0.15rem 0.5rem;
  min-width: 20px;
  text-align: center;
}

/* ==========================================
   CABEÇALHO RESTAURANTE ESTILO IFOOD
   ========================================== */
.restaurant-ifood-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0.85rem;
}

.restaurant-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.restaurant-avatar-wrap {
  flex-shrink: 0;
}

.restaurant-avatar {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: #111827;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.restaurant-info-wrap {
  flex: 1;
  min-width: 0;
}

.restaurant-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.restaurant-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.verified-icon {
  color: #ea1d2c;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
}

.restaurant-sub-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

.btn-ver-mais {
  background: transparent;
  border: none;
  color: #ea1d2c;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.btn-ver-mais:hover {
  color: #ff3b49;
}

.sub-separator {
  color: var(--text-dim);
}

.restaurant-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.restaurant-rating-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}

.restaurant-rating-badge i {
  color: #f59e0b;
}

.btn-header-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-auth:hover {
  border-color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  transform: translateY(-1px);
}

.btn-header-auth i {
  color: #25d366;
  font-size: 1.15rem;
}

.btn-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border: none;
  color: #111827;
  padding: 0.52rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
}

/* CARDS DE ENTREGA, TEMPO E FIDELIDADE (ESTILO IFOOD) */
.delivery-time-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ifood-card-loyalty {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), var(--bg-card));
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.ifood-card-loyalty:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), var(--bg-card-hover));
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.22);
}

.ifood-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 64px;
}

.ifood-mini-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.ifood-card-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ifood-card-left i {
  font-size: 1.4rem;
  color: var(--primary);
}

.ifood-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.ifood-card-arrow {
  font-size: 0.85rem;
  color: #ea1d2c;
  transition: transform 0.2s ease;
}

.ifood-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ifood-card-badge-today {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.ifood-card-time-fee {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================
   BANNER CARROSSEL: MAIS PEDIDOS (TOPO)
   ========================================== */
.highlights-carousel-section {
  max-width: 1200px;
  margin: 1.5rem auto 0.5rem;
  padding: 0 1.5rem;
}

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.carousel-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.carousel-main-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.3px;
  margin: 0;
}

.carousel-sub-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-carousel-nav {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.88rem;
}

.btn-carousel-nav:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.06);
}

.btn-carousel-nav:active {
  transform: scale(0.95);
}

/* TRACK DO CARROSSEL HORIZONTAL */
.highlights-carousel-track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.25rem 1rem;
  scrollbar-width: none; /* Firefox */
}

.highlights-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* CARDS DO CARROSSEL */
.carousel-product-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.carousel-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
}

.carousel-card-img-wrap {
  position: relative;
  width: 100%;
  height: 165px;
  overflow: hidden;
  background: #1e293b;
}

.carousel-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.carousel-product-card:hover .carousel-card-img-wrap img {
  transform: scale(1.06);
}

.carousel-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45px;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.8), transparent);
  pointer-events: none;
}

/* BADGES DE RANKING (TOP 1, TOP 2, TOP 3, DESTAQUE) */
.carousel-rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.carousel-rank-badge.rank-1 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111827;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-rank-badge.rank-2 {
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-rank-badge.rank-3 {
  background: linear-gradient(135deg, #f97316, #c2410c);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.carousel-rank-badge.rank-other {
  background: rgba(17, 24, 39, 0.88);
  backdrop-filter: blur(8px);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* CORPO DO CARD NO CARROSSEL */
.carousel-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.carousel-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.85rem;
  flex: 1;
}

.carousel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.carousel-card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.btn-carousel-add {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-carousel-add:hover {
  background: var(--primary);
  color: #111827;
  border-color: var(--primary);
  transform: scale(1.04);
}

/* SEARCH & CATEGORIES */
.catalog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 5rem;
}

.toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.search-box {
  position: relative;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.search-box input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1.1rem;
}

/* CATEGORY PILLS */
.categories-wrapper {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.categories-bar {
  display: flex;
  gap: 0.65rem;
  min-width: max-content;
  justify-content: flex-start;
}

.cat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.cat-pill:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--border-light);
}

.cat-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #111827;
  border-color: transparent;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

/* SECTION HEADERS */
.category-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-md);
}

.product-thumb-container {
  position: relative;
  width: 100%;
  padding-top: 65%;
  background: #111;
  overflow: hidden;
}

.product-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.06);
}

.card-badge-soldout {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.product-highlight-wrap {
  display: flex;
  margin-bottom: 0.2rem;
}

.product-highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.38);
  color: #fcd34d;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

/* CARD BADGE - REMOVIDO PARA NUNCA TAPAR A FOTO DO PRODUTO */
.card-badge,
.product-thumb-container .card-badge {
  display: none !important;
}

.product-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  line-height: 1.25;
}

.product-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fcd34d;
}

.btn-add-product {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--primary);
  color: #fcd34d;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.btn-add-product:hover {
  background: var(--primary);
  color: #111827;
  box-shadow: 0 0 15px var(--primary-glow);
}

/* FLOATING MOBILE CART BUTTON */
.floating-cart-bar {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: 500px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111827;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  z-index: 95;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cart-bar.hidden {
  display: none !important;
}

.floating-cart-bar:hover {
  transform: translateX(-50%) translateY(-2px);
}

.floating-cart-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-cart-icon {
  background: #111827;
  color: #fcd34d;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.floating-cart-text {
  display: flex;
  flex-direction: column;
}

.floating-cart-text span:first-child {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.1;
}

.floating-cart-text span:last-child {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
}

.floating-cart-total {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
}

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-backdrop.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-header {
  position: relative;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: #ef4444;
}

.modal-body {
  padding: 1.5rem;
}

/* CUSTOMIZE PRODUCT MODAL SPECIFICS */
.customize-thumb-wrap {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #000;
}

.customize-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.options-group {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.options-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.options-title .badge-req {
  font-size: 0.7rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  user-select: none;
}

.option-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.option-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.option-name {
  font-size: 0.88rem;
  color: var(--text-main);
}

.option-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fcd34d;
}

.notes-input {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
  resize: vertical;
  min-height: 70px;
  margin-top: 0.5rem;
  outline: none;
}

.notes-input:focus {
  border-color: var(--primary);
}

.modal-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: rgba(14, 16, 21, 0.9);
  position: sticky;
  bottom: 0;
}

.qty-stepper {
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.2rem;
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.qty-btn:hover {
  background: var(--border);
  color: var(--primary);
}

.qty-number {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0 0.75rem;
  min-width: 30px;
  text-align: center;
}

.btn-confirm-add {
  flex: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border: none;
  color: #111827;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-glow);
  transition: all 0.2s ease;
}

.btn-confirm-add:hover {
  transform: translateY(-1px);
}

/* CART DRAWER */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer-backdrop.active .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* CART STEPPER */
.cart-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-light);
  gap: 0.5rem;
}

.cart-step-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.cart-step-pill .step-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.cart-step-pill.active {
  color: var(--primary);
}

.cart-step-pill.active .step-badge {
  background: var(--primary);
  border-color: var(--primary);
  color: #111827;
  font-weight: 800;
}

.cart-step-pill.completed {
  color: #10b981;
}

.cart-step-pill.completed .step-badge {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.cart-step-divider {
  flex: 1;
  height: 2px;
  background: var(--border-light);
  border-radius: 2px;
  margin: 0 0.25rem;
  transition: background 0.3s ease;
}

.cart-step-divider.active {
  background: var(--primary);
}

.cart-step-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.btn-add-more-items {
  width: 100%;
  background: transparent;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
}

.btn-add-more-items:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(245, 158, 11, 0.05);
}

.btn-step-back {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-top: 0.25rem;
  transition: color 0.2s ease;
}

.btn-step-back:hover {
  color: var(--primary);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-item-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.cart-item-details {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
}

.cart-item-price {
  font-weight: 800;
  color: #fcd34d;
  font-size: 0.95rem;
}

/* SUGESTÃO INTELIGENTE DE BEBIDAS NA SACOLA (UPSELL COMPACTO E SLIM) */
.cart-drink-upsell-section {
  background: rgba(56, 189, 248, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  animation: fadeIn 0.25s ease;
}

.cart-upsell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.cart-upsell-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #38bdf8;
}

.cart-upsell-tag {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.08rem 0.35rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cart-upsell-list {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.cart-upsell-list::-webkit-scrollbar {
  height: 3px;
}

.cart-upsell-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.cart-upsell-item {
  background: rgba(14, 16, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  min-width: 140px;
  max-width: 155px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.15s ease;
}

.cart-upsell-item:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.cart-upsell-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #000;
}

.cart-upsell-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.cart-upsell-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.cart-upsell-price {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fcd34d;
  line-height: 1.2;
}

.btn-upsell-add {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111;
  border: none;
  font-weight: 800;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-upsell-add:hover {
  transform: scale(1.12);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

/* ORDER TYPE TOGGLE (DELIVERY / RETIRADA) */
.order-type-tabs {
  display: flex;
  background: var(--bg-main);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  gap: 0.35rem;
  width: 100%;
}

.type-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.type-tab.active {
  background: var(--primary);
  color: #111827;
}

.order-type-tabs.single-option .type-tab {
  cursor: default;
}

/* ADDRESS & PAYMENT FORM IN CART */
.cart-section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-group {
  margin-bottom: 0.65rem;
}

.form-control {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.5rem;
}

/* BANNER PROMOCIONAL DE FRETE GRÁTIS */
.free-delivery-badge-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.22));
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeIn 0.3s ease;
}

.free-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.25);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.free-badge-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.free-badge-info strong {
  font-size: 0.88rem;
  color: #6ee7b7;
  font-weight: 700;
}

.free-badge-info span {
  font-size: 0.76rem;
  color: #d1fae5;
  opacity: 0.9;
}

/* CARDS AGRUPADOS DO CHECKOUT (PASSO 2) */
.checkout-step-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: border-color 0.2s ease;
}

.checkout-step-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.checkout-card-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.form-field-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  letter-spacing: 0.2px;
}

.badge-free-tag {
  background: #10b981;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
  letter-spacing: 0.3px;
}

.checkout-security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.85;
  margin-top: 0.2rem;
  text-align: center;
}

.checkout-security-badge i {
  color: #10b981;
}

/* PAYMENT SELECTOR ENHANCED */
.payment-grid {
  display: flex;
  gap: 0.6rem;
  width: 100%;
}

.pay-card {
  flex: 1;
  min-width: 0;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pay-card i {
  font-size: 1.35rem;
  transition: transform 0.2s ease;
}

.pay-card:hover {
  border-color: var(--border-light);
  transform: translateY(-1px);
}

.pay-card.active {
  border-color: var(--primary);
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

.pay-card.active i {
  transform: scale(1.1);
}

/* CART FOOTER */
.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: rgba(14, 16, 21, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.bill-row.total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  border-top: 1px dashed var(--border);
  padding-top: 0.6rem;
}

.bill-row.total span:last-child {
  color: #fcd34d;
}

.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border: none;
  color: #111827;
  padding: 0.95rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-glow);
  transition: all 0.2s ease;
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
}

/* AUTH MODAL SPECIFICS */
.auth-illustration {
  text-align: center;
  margin-bottom: 1.25rem;
}

.auth-badge-icon {
  width: 60px;
  height: 60px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25d366;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.zap-input-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.zap-input-wrap input {
  padding-left: 2.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.zap-prefix-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #25d366;
  font-size: 1.2rem;
}

.btn-zap-submit {
  width: 100%;
  background: #25d366;
  border: none;
  color: #ffffff;
  padding: 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}

.btn-zap-submit:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

/* EMPTY STATES */
.empty-cart-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-cart-state i {
  font-size: 3.5rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  background: #090a0d;
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.site-footer a {
  color: var(--primary);
  text-decoration: none;
}

/* TOAST NOTIFICATIONS */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.success {
  border-left: 4px solid #10b981;
}

.toast.error {
  border-left: 4px solid #ef4444;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================
   MOBILE BOTTOM NAVIGATION BAR (PWA / APP STYLE)
   ========================================== */
.sheet-drag-handle {
  display: none;
  width: 44px;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  margin: 0.65rem auto 0.25rem;
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(14, 16, 22, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-light);
  padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6);
}

.mobile-nav-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
  min-width: 58px;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item i {
  font-size: 1.25rem;
}

.mobile-nav-item.active {
  color: #fcd34d;
}

.mobile-cart-badge-wrap {
  position: relative;
  display: inline-block;
}

.mobile-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--accent-red);
  color: white;
  font-size: 0.68rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

/* ==========================================
   REGRAS DE RESPONSIVIDADE (MOBILE, TABLET, DESKTOP)
   ========================================== */

/* TABLETS E TELAS MÉDIAS (<= 992px) */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 2.35rem;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
  }
  .catalog-section {
    padding: 1.5rem 1.25rem 4rem;
  }
}

/* SMARTPHONES E TELAS MOBILE (<= 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  /* Exibe a barra de navegação inferior estilo app nativo mais compacta */
  .mobile-bottom-nav {
    display: flex !important;
    padding: 0.28rem 0.35rem calc(0.28rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-nav-item {
    padding: 0.2rem 0.25rem !important;
    gap: 0.12rem !important;
    font-size: 0.62rem !important;
    min-width: 48px !important;
  }

  .mobile-nav-item i {
    font-size: 1.05rem !important;
  }

  .mobile-cart-badge {
    width: 15px !important;
    height: 15px !important;
    font-size: 0.6rem !important;
    top: -4px !important;
    right: -8px !important;
  }

  /* Exibe a alça de arrasto da gaveta no modal */
  .sheet-drag-handle {
    display: block;
  }

  /* Navbar compacta no celular */
  .navbar {
    padding: 0.5rem 0.85rem;
  }

  .brand-text h1 {
    font-size: 1.05rem;
  }

  .brand-text p {
    display: none;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
  }

  /* No celular, esconde os 3 botões redundantes do topo que já estão na barra inferior */
  .nav-right .btn-nav-auth {
    display: none !important;
  }

  .nav-right {
    gap: 0.5rem;
  }

  .store-badge {
    font-size: 0.65rem !important;
    padding: 0.12rem 0.42rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    max-width: none !important;
  }

  .btn-nav-cart {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.78rem !important;
    flex-shrink: 0 !important;
  }

  /* Cabeçalho iFood elegante e proporcional no celular */
  .restaurant-ifood-header {
    padding: 0.7rem 0.85rem 0.25rem !important;
  }

  .restaurant-profile-row {
    display: flex;
    align-items: center;
    gap: 0.65rem !important;
    flex-wrap: nowrap;
  }

  .restaurant-avatar {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.15rem !important;
    flex-shrink: 0;
    border-radius: 12px !important;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.25) !important;
  }

  .restaurant-title-row {
    display: flex;
    align-items: center;
    gap: 0.35rem !important;
    flex-wrap: wrap;
  }

  .restaurant-title {
    font-size: 1.08rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.2px;
  }

  .verified-icon {
    font-size: 0.85rem !important;
  }

  .restaurant-sub-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem !important;
    font-size: 0.7rem !important;
    line-height: 1.25 !important;
    color: var(--text-muted);
    margin-top: 0.1rem !important;
  }

  .restaurant-sub-info .sub-separator {
    display: none;
  }

  /* NO CELULAR: OCULTA ITENS DUPLICADOS DO TOPO (JÁ PRESENTES NA BARRA INFERIOR) */
  .restaurant-header-actions {
    display: none !important;
  }

  .btn-ver-mais-hours,
  .sub-separator-hours {
    display: none !important;
  }

  .ifood-card-loyalty {
    display: none !important;
  }

  /* Cards de Entrega e Horário finos e compactos */
  .delivery-time-cards {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem !important;
    margin-top: 0.45rem !important;
  }

  .ifood-mini-card {
    padding: 0.4rem 0.65rem !important;
    min-height: 38px !important;
    border-radius: 10px !important;
    gap: 0.45rem !important;
  }

  .ifood-card-left i {
    font-size: 0.95rem !important;
  }

  .ifood-card-title {
    font-size: 0.76rem !important;
  }

  .ifood-card-badge-today {
    font-size: 0.64rem !important;
    padding: 0.05rem 0.3rem !important;
  }

  .ifood-card-time-fee {
    font-size: 0.72rem !important;
  }

  /* Banner Carrossel de Mais Pedidos compacto no Celular */
  .highlights-carousel-section {
    padding: 0 0.85rem !important;
    margin-top: 0.7rem !important;
  }

  .carousel-header {
    margin-bottom: 0.35rem !important;
  }

  .carousel-main-title {
    font-size: 0.95rem !important;
    gap: 0.35rem !important;
  }

  .carousel-sub-title {
    font-size: 0.68rem !important;
  }

  .carousel-arrows {
    display: none; /* No mobile o swipe touch nativo desliza perfeitamente */
  }

  .highlights-carousel-track {
    gap: 0.55rem !important;
    padding: 0.15rem 0.1rem 0.45rem !important;
  }

  .carousel-product-card {
    flex: 0 0 205px !important; /* Largura ideal para caber o preço e o botão '+ Adicionar' sem cortar */
    min-width: 205px !important;
    max-width: 205px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .carousel-card-img-wrap {
    height: 96px !important;
  }

  .carousel-rank-badge {
    font-size: 0.6rem !important;
    padding: 0.12rem 0.4rem !important;
    top: 5px !important;
    left: 5px !important;
  }

  .carousel-card-body {
    padding: 0.5rem 0.6rem 0.65rem !important;
    gap: 0.2rem !important;
    overflow: visible !important;
  }

  .carousel-card-title {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .carousel-card-desc {
    font-size: 0.66rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.25rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .carousel-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.35rem !important;
    padding-top: 0.4rem !important;
    overflow: visible !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .carousel-card-price {
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .btn-carousel-add {
    padding: 0.3rem 0.62rem !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    box-sizing: border-box !important;
    letter-spacing: normal !important;
    overflow: visible !important;
  }

  /* Seção de Catálogo e Barra de Busca */
  .catalog-section {
    padding: 0.65rem 0.85rem 3.5rem !important;
  }

  .toolbar {
    gap: 0.5rem !important;
    margin-bottom: 0.75rem !important;
  }

  .search-box input {
    padding: 0.45rem 0.85rem 0.45rem 2.25rem !important;
    font-size: 0.8rem !important;
    height: 36px !important;
  }

  .search-icon {
    left: 0.8rem !important;
    font-size: 0.85rem !important;
  }

  /* Chips de Categoria compactos com rolagem suave no celular */
  .categories-wrapper {
    padding-bottom: 0.2rem !important;
  }

  .categories-bar {
    gap: 0.35rem !important;
  }

  .cat-pill {
    padding: 0.35rem 0.7rem !important;
    font-size: 0.75rem !important;
    border-radius: 20px !important;
  }

  /* Título da Categoria Ativa */
  .category-heading {
    font-size: 1rem !important;
    margin-bottom: 0.55rem !important;
    gap: 0.45rem !important;
  }

  /* ITENS DO CARDÁPIO: CARDS HORIZONTAIS COMPACTOS ESTILO IFOOD NATIVO */
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
    margin-bottom: 1.5rem !important;
  }

  .product-card {
    flex-direction: row-reverse !important;
    align-items: stretch !important;
    padding: 0.6rem !important;
    border-radius: 12px !important;
    gap: 0.65rem !important;
    background: var(--bg-card) !important;
  }

  .product-thumb-container {
    width: 82px !important;
    min-width: 82px !important;
    height: 82px !important;
    padding-top: 0 !important;
    border-radius: 8px !important;
    position: relative !important;
    flex-shrink: 0 !important;
    align-self: center !important;
  }

  .product-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: static !important;
    border-radius: 8px !important;
  }

  .product-info {
    padding: 0 !important;
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .product-title {
    font-size: 0.86rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.15rem !important;
  }

  .product-desc {
    font-size: 0.7rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
    color: var(--text-muted) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .product-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 0 !important;
    gap: 0.5rem !important;
  }

  .product-price {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    color: #fcd34d !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .btn-add-product {
    padding: 0.32rem 0.68rem !important;
    font-size: 0.74rem !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    box-sizing: border-box !important;
    letter-spacing: normal !important;
    overflow: visible !important;
  }

  .product-highlight-wrap {
    display: flex !important;
    margin-bottom: 0.15rem !important;
  }

  .product-highlight-tag {
    font-size: 0.58rem !important;
    padding: 0.08rem 0.32rem !important;
  }

  .card-badge {
    display: none !important; /* No mobile, substitui sticker gigante na foto pelo tag limpo no texto */
  }

  /* MODAL ESTILO BOTTOM SHEET NO CELULAR */
  .modal-backdrop {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .modal-box {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 90vh !important;
    border-bottom: none !important;
    animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  @keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .modal-header {
    padding: 0.75rem 1rem 0.4rem !important;
  }

  .modal-header h3 {
    font-size: 1.05rem !important;
  }

  .modal-body {
    padding: 0.65rem 1rem 1.25rem !important;
  }

  .modal-footer-actions {
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* MODAL DO LANCHE (PRODUTO): PREENCHE 100% DE TODA A TELA NO CELULAR (TELA CHEIA) */
  #customizeModal {
    align-items: stretch !important;
    justify-content: stretch !important;
    padding: 0 !important;
  }

  #customizeModal .modal-box {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    animation: slideUpSheet 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  #customizeModal .sheet-drag-handle {
    display: none !important;
  }

  #customizeModal .modal-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 30 !important;
    background: rgba(14, 16, 21, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid var(--border-light) !important;
    padding: 0.65rem 0.9rem !important;
    flex-shrink: 0 !important;
  }

  #customizeModal .modal-header h3 {
    font-size: 1.02rem !important;
  }

  #customizeModal .modal-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    padding: 0.65rem 0.9rem 1.25rem !important;
    -webkit-overflow-scrolling: touch;
  }

  #customizeModal .customize-thumb-wrap {
    height: 165px !important;
    border-radius: 10px !important;
    margin-bottom: 0.75rem !important;
  }

  #customizeModal .customize-desc {
    font-size: 0.74rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
  }

  #customizeModal .options-group {
    margin-bottom: 0.65rem !important;
    padding: 0.65rem 0.75rem !important;
    border-radius: 10px !important;
  }

  #customizeModal .options-group-title {
    font-size: 0.8rem !important;
    margin-bottom: 0.35rem !important;
  }

  #customizeModal .option-item {
    padding: 0.45rem 0 !important;
  }

  #customizeModal .option-name {
    font-size: 0.78rem !important;
  }

  #customizeModal .option-price {
    font-size: 0.78rem !important;
  }

  #customizeModal .modal-footer-actions {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 30 !important;
    background: rgba(14, 16, 21, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid var(--border-light) !important;
    padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.6) !important;
    flex-shrink: 0 !important;
  }

  #customizeModal .btn-add-to-cart {
    padding: 0.65rem 1rem !important;
    font-size: 0.88rem !important;
    border-radius: 8px !important;
  }

  /* CART DRAWER OCUPA 100% DA TELA NO CELULAR E MAIS COMPACTO */
  .cart-drawer {
    width: 100% !important;
    max-width: 100vw !important;
  }

  .cart-header {
    padding: 0.75rem 1rem !important;
  }

  .cart-title {
    font-size: 1.05rem !important;
  }

  .cart-stepper {
    padding: 0.45rem 1rem !important;
  }

  .step-badge {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.72rem !important;
  }

  .cart-step-pill {
    font-size: 0.76rem !important;
    gap: 0.35rem !important;
  }

  .cart-body {
    padding: 0.7rem 0.85rem !important;
    gap: 0.65rem !important;
  }

  .cart-step-section {
    gap: 0.65rem !important;
  }

  .cart-items-list {
    gap: 0.55rem !important;
  }

  /* Banner de Frete Grátis compacto no celular */
  .free-delivery-badge-banner {
    padding: 0.45rem 0.65rem !important;
    gap: 0.55rem !important;
    border-radius: 10px !important;
  }

  .free-badge-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
  }

  .free-badge-info strong {
    font-size: 0.78rem !important;
    line-height: 1.2 !important;
  }

  .free-badge-info span {
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
  }

  /* Linha do item no carrinho compacta */
  .cart-item-row {
    padding: 0.55rem 0.7rem !important;
    gap: 0.35rem !important;
    border-radius: 10px !important;
  }

  .cart-item-title {
    font-size: 0.86rem !important;
  }

  .cart-item-details {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }

  .cart-item-price {
    font-size: 0.88rem !important;
  }

  .qty-stepper {
    padding: 0.1rem 0.2rem !important;
  }

  .qty-btn {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.85rem !important;
  }

  .qty-number {
    font-size: 0.82rem !important;
    padding: 0 0.35rem !important;
  }

  /* Bloco de sugestão inteligente de bebidas compacto */
  .cart-drink-upsell-section {
    padding: 0.4rem 0.55rem !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
    border-radius: 10px !important;
  }

  .cart-upsell-header {
    margin-bottom: 0.3rem !important;
  }

  .cart-upsell-title {
    font-size: 0.72rem !important;
  }

  .cart-upsell-tag {
    font-size: 0.6rem !important;
    padding: 0.05rem 0.35rem !important;
  }

  .cart-upsell-item {
    padding: 0.3rem 0.45rem !important;
    min-width: 135px !important;
    max-width: 145px !important;
    gap: 0.4rem !important;
    border-radius: 7px !important;
  }

  .cart-upsell-thumb {
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
  }

  .cart-upsell-name {
    font-size: 0.68rem !important;
  }

  .cart-upsell-price {
    font-size: 0.72rem !important;
  }

  .btn-upsell-add {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.7rem !important;
  }

  .btn-add-more-items {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.78rem !important;
    margin-top: 0.2rem !important;
  }

  .cart-footer {
    padding: 0.75rem 0.95rem calc(0.75rem + env(safe-area-inset-bottom, 0px)) !important;
    gap: 0.55rem !important;
  }

  .bill-row {
    font-size: 0.82rem !important;
  }

  .bill-row.total {
    font-size: 1.12rem !important;
  }

  #btnGoToCheckout,
  #btnSubmitOrder {
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
  }

  .form-control,
  .form-control select {
    font-size: 16px !important; /* Previne auto-zoom no iOS */
  }

  /* BARRA FLUTUANTE DE CARRINHO SLIM E ELEGANTE ACIMA DA NAVEGAÇÃO MOBILE */
  .floating-cart-bar {
    bottom: calc(52px + env(safe-area-inset-bottom, 0px)) !important;
    left: 0.65rem !important;
    right: 0.65rem !important;
    width: auto !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    transform: none !important;
    padding: 0.42rem 0.85rem !important;
    border-radius: var(--radius-full) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4) !important;
    z-index: 920 !important;
    gap: 0.5rem !important;
  }

  .floating-cart-left {
    gap: 0.5rem !important;
  }

  .floating-cart-icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.78rem !important;
  }

  .floating-cart-text span:first-child {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
  }

  .floating-cart-text span:last-child {
    display: none !important;
  }

  .floating-cart-total {
    font-size: 0.95rem !important;
    font-weight: 900 !important;
  }

  .floating-cart-bar:hover {
    transform: translateY(-2px) !important;
  }
}

/* SMARTPHONES PEQUENOS (<= 480px) */
@media (max-width: 480px) {
  .hero-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.75rem;
  }

  .carousel-product-card {
    flex: 0 0 205px !important; /* Espaço amplo para preço e botão sem risco de sobreposição */
    min-width: 205px !important;
    max-width: 205px !important;
  }

  .carousel-card-img-wrap {
    height: 96px !important;
  }

  .product-thumb-container {
    width: 78px !important;
    min-width: 78px !important;
    height: 78px !important;
  }

  .btn-carousel-add {
    padding: 0.3rem 0.62rem !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
  }

  .payment-grid {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }

  .pay-card {
    flex-direction: row;
    justify-content: flex-start;
    padding: 0.65rem 0.85rem;
    gap: 0.75rem;
  }
}

/* BANNER DE LOJA FECHADA */
.store-closed-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(185, 28, 28, 0.3));
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  padding: 0.85rem 1.25rem;
  margin: 1rem auto 0;
  max-width: 1200px;
  width: calc(100% - 2rem);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
  animation: slideInToast 0.3s ease;
}

.btn-checkout:disabled {
  background: #334155 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

/* RECOMPENSA DE FIDELIDADE NA SACOLA */
.loyalty-cart-reward-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(217, 119, 6, 0.08));
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.12);
  transition: all 0.3s ease;
  animation: fadeIn 0.3s ease;
}

.loyalty-cart-reward-card.applied {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.12));
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.loyalty-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.loyalty-card-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.loyalty-reward-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.loyalty-cart-reward-card.applied .loyalty-reward-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.loyalty-reward-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.loyalty-reward-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fcd34d;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.loyalty-cart-reward-card.applied .loyalty-reward-tag {
  color: #6ee7b7;
}

.loyalty-reward-info strong {
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.2;
}

.loyalty-reward-info span {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.loyalty-card-action {
  flex-shrink: 0;
}

.btn-loyalty-claim {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111;
  border: none;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-loyalty-claim:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-loyalty-claim.claimed {
  background: #10b981;
  color: #fff;
}

.btn-loyalty-claim.claimed:hover {
  background: #ef4444;
}

.loyalty-cart-login-prompt {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.loyalty-cart-login-prompt a {
  color: #f59e0b;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}
