/**
 * Madruga Mix — Delivery Disk Bebidas
 * Visual agressivo estilo iFood / Anota.ai · adega noturna
 * Escopo: html.mm-delivery
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

html.mm-delivery {
  --mm-bg: #111114;
  --mm-surface: #1a1a1f;
  --mm-card: #232329;
  --mm-border: rgba(255, 255, 255, 0.1);
  --mm-gold: #fbbf24;
  --mm-gold-hot: #f59e0b;
  --mm-red: #ef4444;
  --mm-green: #22c55e;
  --mm-text: #f4f4f5;
  --mm-muted: #b4b4bc;
  --mm-radius: 16px;
  scroll-behavior: smooth;
}

html.mm-delivery body {
  font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif !important;
  background: var(--mm-bg) !important;
  color: var(--mm-text) !important;
  --surface-body: var(--mm-bg);
  --surface-card: var(--mm-card);
  --surface-soft: var(--mm-surface);
  --text-primary: var(--mm-text);
  --text-secondary: #e4e4e7;
  --text-muted: var(--mm-muted);
  --primary-color: var(--mm-gold);
  --primary-dark: var(--mm-gold-hot);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --modal-overlay: rgba(0, 0, 0, 0.72);
  padding-bottom: 92px;
}

/* Fundo animado — bolhas de cerveja / neon adega */
.mm-delivery-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(251, 191, 36, 0.15), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 50%, rgba(239, 68, 68, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 0% 80%, rgba(34, 197, 94, 0.06), transparent 45%),
    var(--mm-bg);
}

.mm-delivery-bg__bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(251,191,36,0.15) 40%, transparent 70%);
  animation: mm-bubble-rise linear infinite;
  opacity: 0.35;
}

.mm-delivery-bg__bubble:nth-child(1) { width: 120px; height: 120px; left: 8%; bottom: -60px; animation-duration: 18s; }
.mm-delivery-bg__bubble:nth-child(2) { width: 80px; height: 80px; left: 72%; bottom: -40px; animation-duration: 14s; animation-delay: 3s; }
.mm-delivery-bg__bubble:nth-child(3) { width: 50px; height: 50px; left: 45%; bottom: -25px; animation-duration: 11s; animation-delay: 6s; }

@keyframes mm-bubble-rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-110vh) scale(1.2); opacity: 0; }
}

/* Sticky header estilo app delivery */
.mm-delivery-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(17, 17, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mm-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mm-delivery-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--mm-text);
}

.mm-delivery-header__brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(251, 191, 36, 0.4);
}

.mm-delivery-header__name {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.mm-delivery-header__name em {
  font-style: normal;
  color: var(--mm-gold);
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mm-delivery-search {
  flex: 1;
  min-width: 0;
  position: relative;
}

.mm-delivery-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border-radius: 999px;
  border: 1px solid var(--mm-border);
  background: var(--mm-surface);
  color: var(--mm-text);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mm-delivery-search input:focus {
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.12);
}

.mm-delivery-search input::placeholder { color: var(--mm-muted); }

.mm-delivery-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mm-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.mm-delivery-header__actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.mm-delivery-header__btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--mm-border);
  background: var(--mm-surface);
  color: var(--mm-text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}

.mm-delivery-header__btn:hover {
  background: var(--mm-card);
  border-color: rgba(251, 191, 36, 0.35);
  color: var(--mm-gold);
}

/* Hero compacto */
.mm-delivery-hero {
  position: relative;
  z-index: 1;
  padding: 20px 16px 8px;
  max-width: 960px;
  margin: 0 auto;
}

.mm-delivery-hero__status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.mm-delivery-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.mm-delivery-pill--open {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.mm-delivery-pill--closed {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.mm-delivery-pill--delivery {
  background: rgba(251, 191, 36, 0.12);
  color: var(--mm-gold);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.mm-delivery-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 20%, var(--mm-gold) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mm-delivery-hero__sub {
  margin: 0 0 16px;
  color: var(--mm-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.mm-delivery-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.mm-delivery-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.mm-delivery-btn--primary {
  background: linear-gradient(135deg, var(--mm-gold), var(--mm-gold-hot));
  color: #0a0a0a;
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.35);
}

.mm-delivery-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(251, 191, 36, 0.45);
  color: #0a0a0a;
}

.mm-delivery-btn--wa {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.3);
}

.mm-delivery-btn--wa:hover { color: #fff; transform: translateY(-2px); }

/* Mais vendidos — scroll horizontal */
.mm-delivery-hot {
  position: relative;
  z-index: 1;
  padding: 0 16px 20px;
  max-width: 960px;
  margin: 0 auto;
}

.mm-delivery-hot__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-gold);
}

.mm-delivery-hot__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mm-delivery-hot__track::-webkit-scrollbar { display: none; }

.mm-delivery-hot__card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  background: var(--mm-card);
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-radius);
  padding: 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  color: var(--mm-text);
}

.mm-delivery-hot__card:hover {
  border-color: rgba(251, 191, 36, 0.5);
  transform: translateY(-3px);
}

.mm-delivery-hot__card img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 8px;
}

.mm-delivery-hot__card strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

.mm-delivery-hot__card small {
  color: var(--mm-muted);
  font-size: 0.7rem;
}

/* Esconde hero lab3d antigo quando mm-delivery ativo */
html.mm-delivery .lab3d-hero { display: none !important; }

/* Status / social / location — dark */
html.mm-delivery .status,
html.mm-delivery .horarios-info,
html.mm-delivery .social,
html.mm-delivery .location {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  color: var(--mm-muted) !important;
}

html.mm-delivery .status { display: none !important; }
html.mm-delivery .horarios-info {
  text-align: center;
  padding: 0 16px 8px;
  font-size: 0.82rem;
}

html.mm-delivery .social {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 16px 10px !important;
  gap: 10px !important;
  margin: 0 !important;
}

html.mm-delivery .social a {
  width: 44px;
  height: 44px;
  margin: 0 !important;
  border-radius: 14px;
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--mm-gold) !important;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  vertical-align: middle;
}

html.mm-delivery .social a:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(251, 191, 36, 0.45);
  background: var(--mm-card);
}

html.mm-delivery .location {
  text-align: center;
  padding: 0 16px 12px;
  font-size: 0.82rem;
  color: #d4d4d8 !important;
}

/* Categorias — cards modernos com animação */
html.mm-delivery .categories-wrapper {
  position: sticky;
  top: 62px;
  z-index: 150;
  background: linear-gradient(180deg, rgba(17, 17, 20, 0.98) 0%, rgba(17, 17, 20, 0.88) 100%) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--mm-border);
  padding: 12px 0 14px !important;
  margin: 0 !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

html.mm-delivery .categories-wrapper::-webkit-scrollbar {
  display: none !important;
  height: 0 !important;
}

html.mm-delivery .categories {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: visible !important;
  overflow-y: hidden !important;
  gap: 10px !important;
  padding: 4px 16px !important;
  margin: 0 !important;
  scrollbar-width: none;
}

html.mm-delivery .categories::-webkit-scrollbar {
  display: none !important;
  height: 0 !important;
}

html.mm-delivery .category {
  flex: 0 0 auto !important;
  min-width: 86px !important;
  width: 86px !important;
  max-width: 86px !important;
  min-height: 96px !important;
  padding: 10px 8px !important;
  border-radius: 18px !important;
  background: linear-gradient(160deg, rgba(35, 35, 41, 0.95), rgba(26, 26, 31, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1),
              border-color 0.25s,
              box-shadow 0.25s,
              background 0.25s !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: mm-cat-in 0.45s ease forwards;
}

html.mm-delivery .category::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

html.mm-delivery .category:hover {
  transform: translateY(-5px) scale(1.03) !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(251, 191, 36, 0.15) !important;
}

html.mm-delivery .category:hover::after {
  opacity: 1;
}

html.mm-delivery .category img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  margin: 0 !important;
  object-fit: cover !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html.mm-delivery .category:hover img {
  transform: scale(1.1) rotate(-4deg) !important;
}

html.mm-delivery .category .category-name {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: var(--mm-text) !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  max-width: 76px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html.mm-delivery .category.active {
  background: linear-gradient(145deg, var(--mm-gold), var(--mm-gold-hot)) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4), 0 0 0 1px rgba(251, 191, 36, 0.3) !important;
  transform: translateY(-3px) scale(1.04) !important;
  animation: mm-cat-in 0.45s ease forwards, mm-cat-pulse 2.4s ease-in-out 0.5s infinite !important;
}

html.mm-delivery .category.active .category-name {
  color: #0a0a0a !important;
}

html.mm-delivery .category.active img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

html.mm-delivery .category:nth-child(1) { animation-delay: 0.02s; }
html.mm-delivery .category:nth-child(2) { animation-delay: 0.06s; }
html.mm-delivery .category:nth-child(3) { animation-delay: 0.10s; }
html.mm-delivery .category:nth-child(4) { animation-delay: 0.14s; }
html.mm-delivery .category:nth-child(5) { animation-delay: 0.18s; }
html.mm-delivery .category:nth-child(6) { animation-delay: 0.22s; }
html.mm-delivery .category:nth-child(7) { animation-delay: 0.26s; }
html.mm-delivery .category:nth-child(8) { animation-delay: 0.30s; }

@keyframes mm-cat-in {
  from { opacity: 0; transform: translateY(12px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes mm-cat-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(251, 191, 36, 0.35), 0 0 0 1px rgba(251, 191, 36, 0.25); }
  50% { box-shadow: 0 12px 32px rgba(251, 191, 36, 0.55), 0 0 0 2px rgba(251, 191, 36, 0.4); }
}

/* Produtos — cards estilo iFood */
html.mm-delivery .accordion {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 24px;
  position: relative;
  z-index: 1;
}

html.mm-delivery .accordion-item {
  background: transparent !important;
  border: none !important;
  margin-bottom: 20px !important;
}

html.mm-delivery .accordion-header {
  background: var(--mm-surface) !important;
  border: 1px solid var(--mm-border) !important;
  border-radius: var(--mm-radius) !important;
  color: var(--mm-text) !important;
  font-weight: 800 !important;
  padding: 14px 18px !important;
  margin-bottom: 10px !important;
}

html.mm-delivery .product-card {
  background: var(--mm-card) !important;
  border: 1px solid var(--mm-border) !important;
  border-radius: var(--mm-radius) !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
  box-shadow: none !important;
  transition: border-color 0.2s, transform 0.2s !important;
  min-height: auto !important;
}

html.mm-delivery .product-card:hover {
  border-color: rgba(251, 191, 36, 0.45) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

html.mm-delivery .product-info {
  flex: 1;
  min-width: 0;
  padding-right: 4px !important;
}

html.mm-delivery .product-info h4,
html.mm-delivery .product-card h4 {
  color: var(--mm-text) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  margin: 0 0 4px !important;
}

html.mm-delivery .product-info .description,
html.mm-delivery .product-card .description {
  color: var(--mm-muted) !important;
  font-size: 0.8rem !important;
  margin: 0 0 6px !important;
}

html.mm-delivery .product-info .price,
html.mm-delivery .product-card .price {
  color: var(--mm-gold) !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  margin: 0 !important;
}

html.mm-delivery .product-info .price.promotional .old-price {
  color: #8b8b95 !important;
}

html.mm-delivery .product-card img {
  flex-shrink: 0;
  width: 88px !important;
  height: 88px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  order: 2;
}

/* Promoções */
html.mm-delivery #promocoes-section {
  max-width: 960px;
  margin: 0 auto 20px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(35, 35, 41, 0.95), rgba(26, 26, 31, 0.98));
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: var(--mm-radius);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

html.mm-delivery .promocoes-title {
  color: var(--mm-gold) !important;
}

html.mm-delivery .promocao-card {
  background: var(--mm-card) !important;
  border: 1px solid var(--mm-border) !important;
}

html.mm-delivery .promocao-content h4 {
  color: var(--mm-text) !important;
}

html.mm-delivery .promocao-content p,
html.mm-delivery .promocao-card .description {
  color: var(--mm-muted) !important;
}

html.mm-delivery .promocoes-slider {
  scrollbar-width: thin;
  scrollbar-color: rgba(251, 191, 36, 0.55) rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

html.mm-delivery .promocoes-slider::-webkit-scrollbar {
  height: 4px !important;
  display: block !important;
}

html.mm-delivery .promocoes-slider::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 4px;
}

html.mm-delivery .promocoes-slider::-webkit-scrollbar-thumb {
  background: rgba(251, 191, 36, 0.55) !important;
  border-radius: 4px;
}

html.mm-delivery .promocoes-slider::-webkit-scrollbar-thumb:hover {
  background: var(--mm-gold) !important;
}

/* Carrinho & bottom nav */
html.mm-delivery #carrinho-flutuante-mobile {
  bottom: 96px !important;
}

html.mm-delivery #carrinho-flutuante-mobile,
html.mm-delivery .carrinho-flutuante {
  background: linear-gradient(135deg, var(--mm-gold), var(--mm-gold-hot)) !important;
  color: #0a0a0a !important;
  border: none !important;
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.45) !important;
}

/* Bottom nav — estilo bancada / balcão adega */
html.mm-delivery #bottom-nav-mobile,
html.mm-delivery .bottom-nav-mobile {
  position: fixed;
  background: linear-gradient(180deg, #2c261e 0%, #1a1714 35%, #121010 100%) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: none !important;
  border-radius: 22px 22px 0 0 !important;
  box-shadow:
    0 -16px 48px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 2px 0 rgba(251, 191, 36, 0.12) !important;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

html.mm-delivery #bottom-nav-mobile::before,
html.mm-delivery .bottom-nav-mobile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.7), transparent);
  border-radius: 2px;
  pointer-events: none;
}

html.mm-delivery .bottom-nav-mobile-inner {
  padding: 10px 12px 12px !important;
  gap: 4px;
}

html.mm-delivery .bottom-nav-link {
  color: #9ca3af !important;
  border-radius: 14px !important;
  padding: 8px 6px !important;
  transition: color 0.2s, background 0.2s, transform 0.2s !important;
  position: relative;
}

html.mm-delivery .bottom-nav-link i,
html.mm-delivery .bottom-nav-link iconify-icon {
  color: inherit !important;
  font-size: 1.25rem !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

html.mm-delivery .bottom-nav-link span {
  color: inherit !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}

html.mm-delivery .bottom-nav-link:hover {
  color: #e4e4e7 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

html.mm-delivery .bottom-nav-link.active {
  color: var(--mm-gold) !important;
  background: rgba(251, 191, 36, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.25) !important;
}

html.mm-delivery .bottom-nav-link.active i {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 6px rgba(251, 191, 36, 0.4));
}

html.mm-delivery .bottom-nav-badge {
  border: 2px solid #1a1714 !important;
}

/* Copão strip no tema escuro */
html.mm-delivery .mm-copao-strip {
  max-width: 960px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

/* Esconde pizza / 3D / mesa no modo adega */
html.mm-delivery.mm-adega [data-pizza],
html.mm-delivery.mm-adega .pizza-modal,
html.mm-delivery.mm-adega #modal-pizza,
html.mm-delivery.mm-adega .lab3d-pers-spotlight { display: none !important; }

/* Modais dark — checkout, carrinho, produto */
html.mm-delivery .modal-content,
html.mm-delivery .checkout-modal .modal-content {
  background: var(--mm-card) !important;
  color: var(--mm-text) !important;
  border: 1px solid var(--mm-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55) !important;
}

html.mm-delivery .modal-header {
  background: var(--mm-card) !important;
  border-bottom-color: var(--mm-border) !important;
  color: var(--mm-text) !important;
}

html.mm-delivery .modal-header h2,
html.mm-delivery .modal-header h3 {
  color: var(--mm-text) !important;
}

html.mm-delivery .modal-body {
  background: var(--mm-card) !important;
  color: var(--mm-text) !important;
}

html.mm-delivery .modal-body::-webkit-scrollbar,
html.mm-delivery .produto-modal-body::-webkit-scrollbar {
  width: 6px;
}

html.mm-delivery .modal-body::-webkit-scrollbar-track,
html.mm-delivery .produto-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

html.mm-delivery .modal-body::-webkit-scrollbar-thumb,
html.mm-delivery .produto-modal-body::-webkit-scrollbar-thumb {
  background: rgba(251, 191, 36, 0.4);
  border-radius: 4px;
}

/* Formulários checkout */
html.mm-delivery .form-group label {
  color: #e4e4e7 !important;
  font-weight: 600;
  font-size: 0.88rem;
}

html.mm-delivery .form-group small,
html.mm-delivery .form-hint {
  color: var(--mm-muted) !important;
}

html.mm-delivery .form-group input,
html.mm-delivery .form-group select,
html.mm-delivery .form-group textarea,
html.mm-delivery #modal-body-checkout input,
html.mm-delivery #modal-body-checkout select,
html.mm-delivery #modal-body-checkout textarea {
  background: var(--mm-surface) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  color: var(--mm-text) !important;
  padding: 12px 14px !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

html.mm-delivery .form-group input::placeholder,
html.mm-delivery .form-group textarea::placeholder,
html.mm-delivery #modal-body-checkout input::placeholder,
html.mm-delivery #modal-body-checkout textarea::placeholder {
  color: #8b8b95 !important;
  opacity: 1;
}

html.mm-delivery .form-group input:focus,
html.mm-delivery .form-group select:focus,
html.mm-delivery .form-group textarea:focus,
html.mm-delivery #modal-body-checkout input:focus,
html.mm-delivery #modal-body-checkout select:focus,
html.mm-delivery #modal-body-checkout textarea:focus {
  outline: none !important;
  border-color: rgba(251, 191, 36, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.12) !important;
}

html.mm-delivery .tipo-entrega-item,
html.mm-delivery .forma-pagamento-item,
html.mm-delivery .forma-pagamento-card,
html.mm-delivery .tipo-entrega-btn {
  background: var(--mm-surface) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  color: var(--mm-text) !important;
}

html.mm-delivery .tipo-entrega-item:hover,
html.mm-delivery .forma-pagamento-item:hover,
html.mm-delivery .forma-pagamento-card:hover,
html.mm-delivery .tipo-entrega-btn:hover {
  border-color: rgba(251, 191, 36, 0.35) !important;
  background: var(--mm-card) !important;
}

html.mm-delivery .tipo-entrega-item.selected,
html.mm-delivery .forma-pagamento-item.selected,
html.mm-delivery .forma-pagamento-card.selected,
html.mm-delivery .tipo-entrega-btn.selected {
  border-color: var(--mm-gold) !important;
  background: rgba(251, 191, 36, 0.1) !important;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.2) !important;
  margin-bottom: 22px;
}

html.mm-delivery .forma-pagamento-item.selected::after,
html.mm-delivery .forma-pagamento-card.selected::after {
  background: var(--mm-gold) !important;
  color: #0a0a0a !important;
}

html.mm-delivery .forma-pagamento-card i,
html.mm-delivery .forma-pagamento-card iconify-icon,
html.mm-delivery .tipo-entrega-item i,
html.mm-delivery .tipo-entrega-btn i {
  color: var(--mm-gold) !important;
}

html.mm-delivery .forma-pagamento-card span,
html.mm-delivery .tipo-entrega-btn span {
  color: var(--mm-text) !important;
}

html.mm-delivery .tipo-entrega-btn small {
  color: var(--mm-muted) !important;
}

html.mm-delivery .checkout-section-title {
  color: var(--mm-text) !important;
}

html.mm-delivery .checkout-section-title i {
  color: var(--mm-gold) !important;
}

html.mm-delivery #modal-body-checkout small,
html.mm-delivery .form-group small.text-muted {
  color: var(--mm-muted) !important;
}

html.mm-delivery .resumo-pedido {
  background: var(--mm-surface) !important;
  border: 1px solid var(--mm-border) !important;
  color: var(--mm-text) !important;
}

html.mm-delivery .modal-section {
  background: var(--mm-surface) !important;
  border-color: var(--mm-border) !important;
}

/* Modal produto — sobrescreve lab3d-premium branco */
html.mm-delivery #produto-modal .produto-modal-content {
  background: var(--mm-card) !important;
  color: var(--mm-text) !important;
  border: 1px solid var(--mm-border) !important;
  box-shadow: 0 -24px 64px rgba(0, 0, 0, 0.55) !important;
}

html.mm-delivery #produto-modal.active .produto-modal-content {
  animation: mm-sheet-glow 2.8s ease-in-out infinite !important;
}

@keyframes mm-sheet-glow {
  0%, 100% { box-shadow: 0 -24px 64px rgba(0, 0, 0, 0.55), 0 0 0 0 rgba(251, 191, 36, 0); }
  50% { box-shadow: 0 -28px 72px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(251, 191, 36, 0.18); }
}

html.mm-delivery .produto-modal-header {
  border-bottom-color: var(--mm-border) !important;
}

html.mm-delivery .produto-modal-header .modal-close {
  background: var(--mm-surface) !important;
  color: var(--mm-text) !important;
}

html.mm-delivery #produto-detalhes h2 {
  color: var(--mm-text) !important;
}

html.mm-delivery #produto-detalhes .descricao {
  color: var(--mm-muted) !important;
}

html.mm-delivery .preco-box {
  background: var(--mm-surface) !important;
  border-color: var(--mm-border) !important;
}

html.mm-delivery .preco-label {
  color: var(--mm-muted) !important;
}

html.mm-delivery .preco-valor {
  color: var(--mm-gold) !important;
}

html.mm-delivery .section-header {
  border-bottom-color: var(--mm-border) !important;
}

html.mm-delivery .section-header h3 {
  color: var(--mm-text) !important;
}

html.mm-delivery .lab3d-prod-gallery-main {
  background: var(--mm-surface) !important;
  border-color: var(--mm-border) !important;
}

html.mm-delivery .lab3d-prod-gallery-thumbs button {
  background: var(--mm-surface) !important;
  border-color: var(--mm-border) !important;
}

html.mm-delivery .lab3d-chip {
  background: var(--mm-surface) !important;
  border-color: var(--mm-border) !important;
  color: var(--mm-text) !important;
}

html.mm-delivery .lab3d-pers-block {
  background: var(--mm-surface) !important;
  border-color: rgba(251, 191, 36, 0.25) !important;
}

html.mm-delivery .lab3d-pers-block input,
html.mm-delivery .lab3d-pers-block textarea {
  background: var(--mm-card) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  color: var(--mm-text) !important;
}

html.mm-delivery .adicional-item,
html.mm-delivery .remover-item,
html.mm-delivery .opcao-item {
  background: var(--mm-surface) !important;
  border-color: var(--mm-border) !important;
  color: var(--mm-text) !important;
}

/* Carrinho mobile */
html.mm-delivery #modal-carrinho-mobile-content {
  background: var(--mm-card) !important;
  color: var(--mm-text) !important;
  border-top: 1px solid var(--mm-border);
}

html.mm-delivery #modal-carrinho-mobile-header {
  border-bottom-color: var(--mm-border) !important;
}

html.mm-delivery .carrinho-item,
html.mm-delivery .item-carrinho {
  color: var(--mm-text) !important;
  border-color: var(--mm-border) !important;
}

html.mm-delivery footer {
  color: var(--mm-muted) !important;
  background: transparent !important;
  border-top-color: var(--mm-border) !important;
  position: relative;
  z-index: 1;
}

html.mm-delivery .carrinho-flutuante {
  background: var(--mm-card) !important;
  border-top: 1px solid var(--mm-border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45) !important;
}

html.mm-delivery .carrinho-header {
  color: #0a0a0a !important;
}

html.mm-delivery .carrinho-info,
html.mm-delivery .carrinho-total,
html.mm-delivery .carrinho-toggle-icon {
  color: #0a0a0a !important;
}

html.mm-delivery .carrinho-corpo {
  background: var(--mm-card) !important;
  color: var(--mm-text) !important;
}

html.mm-delivery .btn-finalizar,
html.mm-delivery .btn-finalizar-pedido {
  color: #0a0a0a !important;
  font-weight: 800 !important;
}

html.mm-delivery .produto-modal-cubes {
  display: none !important;
}

html.mm-delivery .empty-category {
  background: rgba(251, 191, 36, 0.08) !important;
  border: 1px solid rgba(251, 191, 36, 0.25) !important;
  color: var(--mm-text) !important;
}

html.mm-delivery .empty-category p,
html.mm-delivery .empty-category i {
  color: var(--mm-gold) !important;
}

@media (min-width: 769px) {
  html.mm-delivery body { padding-bottom: 24px; }
  html.mm-delivery .categories-wrapper { top: 0; position: sticky; }
}

@media (prefers-reduced-motion: reduce) {
  .mm-delivery-bg__bubble { animation: none; }
  html.mm-delivery .category {
    animation: none !important;
    opacity: 1 !important;
  }
  html.mm-delivery .category.active {
    animation: none !important;
  }
  html.mm-delivery .category:hover,
  html.mm-delivery .category:hover img {
    transform: none !important;
  }
}
