/**
 * Madruga Mix — storefront extras (cardápio, carrinho, Copão strip)
 * Escopo: html.madruga-mix
 */

/* ── Banner Copão ── */
.mm-copao-strip {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto 28px;
  padding: 18px 20px 14px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(9, 9, 11, 0.96), rgba(24, 24, 27, 0.92)),
    radial-gradient(circle at 12% 50%, rgba(34, 197, 94, 0.12), transparent 45%),
    radial-gradient(circle at 88% 30%, rgba(59, 130, 246, 0.1), transparent 40%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(251, 191, 36, 0.08);
  color: #fafafa;
  position: relative;
  overflow: hidden;
}

.mm-copao-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.06), transparent);
  animation: mm-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mm-shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.mm-copao-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.mm-copao-strip__cup {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mm-copao-strip__emoji {
  font-size: 2.4rem;
  line-height: 1;
  animation: mm-cup-bob 3s ease-in-out infinite;
  filter: drop-shadow(0 6px 16px rgba(251, 191, 36, 0.4));
}

@keyframes mm-cup-bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-6px) rotate(4deg); }
}

.mm-copao-strip__smoke {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.55;
  pointer-events: none;
  animation: mm-smoke 3s ease-in-out infinite alternate;
}

.mm-copao-strip__smoke--green {
  width: 50px;
  height: 36px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.7), transparent 70%);
  left: -6px;
  bottom: 0;
}

.mm-copao-strip__smoke--blue {
  width: 46px;
  height: 32px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.65), transparent 70%);
  right: -4px;
  top: 0;
  animation-delay: 1.2s;
}

@keyframes mm-smoke {
  from { transform: translate(0, 0) scale(1); opacity: 0.4; }
  to { transform: translate(5px, -6px) scale(1.12); opacity: 0.7; }
}

.mm-copao-strip__body {
  flex: 1;
  min-width: 200px;
}

.mm-copao-strip__eyebrow {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fbbf24;
}

.mm-copao-strip__title {
  margin: 0 0 6px;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.mm-copao-strip__title em {
  font-style: normal;
  color: #fbbf24;
}

.mm-copao-strip__sub {
  margin: 0;
  font-size: 0.85rem;
  color: #a1a1aa;
  line-height: 1.45;
}

.mm-copao-strip__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(220, 38, 38, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.mm-copao-strip__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(220, 38, 38, 0.55);
  color: #fff;
}

.mm-copao-strip__cta--ghost {
  cursor: default;
  opacity: 0.85;
}

.mm-copao-strip__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.mm-copao-strip__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #71717a;
}

.mm-copao-strip__dot.is-done {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.mm-copao-strip__dot.is-gift {
  background: rgba(251, 191, 36, 0.25);
  border-color: rgba(251, 191, 36, 0.5);
  font-size: 0.85rem;
}

/* ── Produtos & categorias (tema Madruga) ── */
html.madruga-mix.lab3d-vitrine .category.active {
  background: linear-gradient(135deg, #facc15, #eab308) !important;
  border-color: rgba(234, 179, 8, 0.6) !important;
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.35);
}

html.madruga-mix.lab3d-vitrine .category.active .category-name {
  color: #0c0a09 !important;
  font-weight: 800;
}

html.madruga-mix.lab3d-vitrine .product-card {
  border-radius: 20px !important;
  border: 1px solid rgba(28, 25, 23, 0.08) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

html.madruga-mix.lab3d-vitrine .product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 179, 8, 0.55) !important;
  box-shadow: 0 16px 40px rgba(250, 204, 21, 0.2) !important;
}

html.madruga-mix.lab3d-vitrine .product-card .price {
  color: #b45309 !important;
  font-weight: 800;
}

html.madruga-mix.lab3d-vitrine .status.aberto span {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
  color: #14532d !important;
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 700;
}

html.madruga-mix.lab3d-vitrine .status.fechado span {
  background: linear-gradient(135deg, #fef2f2, #fee2e2) !important;
  color: #991b1b !important;
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

/* Carrinho flutuante */
html.madruga-mix .carrinho-flutuante,
html.madruga-mix #carrinho-flutuante-mobile {
  filter: drop-shadow(0 8px 28px rgba(234, 179, 8, 0.35));
}

html.madruga-mix #carrinho-flutuante-mobile {
  background: linear-gradient(135deg, #facc15, #ca8a04) !important;
  color: #0c0a09 !important;
}

html.madruga-mix:not(.mm-delivery) #bottom-nav-mobile {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(234, 179, 8, 0.2) !important;
}

html.madruga-mix:not(.mm-delivery) #bottom-nav-mobile .nav-item.active,
html.madruga-mix:not(.mm-delivery) #bottom-nav-mobile .nav-item:active,
html.madruga-mix:not(.mm-delivery) #bottom-nav-mobile .bottom-nav-link.active {
  color: #b45309 !important;
}

/* Badge delivery rápida */
.mm-delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.85);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mm-delivery-badge i {
  color: #4ade80;
}

@media (max-width: 640px) {
  .mm-copao-strip {
    margin-bottom: 20px;
    padding: 16px;
  }

  .mm-copao-strip__inner {
    flex-direction: column;
    text-align: center;
  }

  .mm-copao-strip__cta {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-copao-strip__emoji,
  .mm-copao-strip__smoke,
  .mm-copao-strip::before {
    animation: none !important;
  }
}
