/**
 * Mini Cart - Drawer Lateral (Estilo Shopee)
 * 
 * Sistema completo de carrinho lateral com:
 * - Abertura/fechamento suave
 * - Overlay com blur
 * - Animações de entrada/saída
 * - Layout responsivo
 * - Integração AJAX com WooCommerce
 */

/* =========================================
   🎨 BASE - FONTE GLOBAL DO MINI-CART
   ========================================= */
.mini-cart-drawer,
.mini-cart-drawer * {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* =========================================
   🌑 OVERLAY (fundo escuro)
   ========================================= */

.mini-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  cursor: pointer;
}

.mini-cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================================
   📦 DRAWER (painel lateral)
   ========================================= */

.mini-cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height (mobile) */
  background: #ffffff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15); /* 🎨 Sombra mais forte */
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}

.mini-cart-drawer.active {
  right: 0;
  animation: slideInDrawer 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 🎨 Animação de entrada */
}

@keyframes slideInDrawer {
  from {
    right: -420px;
    opacity: 0.8;
  }
  to {
    right: 0;
    opacity: 1;
  }
}

/* Mobile: full width */
@media (max-width: 480px) {
  .mini-cart-drawer {
    max-width: 100%;
    right: -100%;
  }
}

/* =========================================
   📋 CABEÇALHO
   ========================================= */

.mini-cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background: #ffffff;
}

.mini-cart-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2b2b2b;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mini-cart-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.mini-cart-close:hover {
  background: #f3f4f6;
  color: #2b2b2b;
}

.mini-cart-close svg {
  width: 24px;
  height: 24px;
}

/* =========================================
   📦 CONTEÚDO DO CARRINHO
   ========================================= */

.mini-cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f9fafb;
}

/* 🚚 BARRA DE FRETE GRÁTIS (gamificação visual) */
.free-shipping-bar {
  background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
  border: 2px solid #ffd699;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.1);
  transition: all 0.3s ease;
}

/* 🎨 Variações emocionais baseadas no progresso */

/* 🚀 LONGE (< 50% do progresso) */
.free-shipping-bar.level-low {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border-color: #bfdbfe;
}

/* 💪 QUASE LÁ (50-80% do progresso) */
.free-shipping-bar.level-medium {
  background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
  border-color: #ffd699;
  animation: subtlePulse 2s ease-in-out infinite;
}

/* 🔥 MUITO PERTO (80-99% do progresso) */
.free-shipping-bar.level-high {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
  border-color: #fed7aa;
  animation: excitedPulse 1.5s ease-in-out infinite;
}

/* ✨ ALCANÇADO (100%) */
.free-shipping-bar.level-achieved {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #86efac;
  animation: celebration 1s ease-in-out;
}

/* Animações emocionais */
@keyframes subtlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.1);
  }
  50% {
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.15);
  }
}

@keyframes excitedPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.25);
  }
}

@keyframes celebration {
  0% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.free-shipping-message {
  font-size: 13px; /* 🎯 Reduzido de 14px para caber em 2 linhas */
  font-weight: 600; /* 🎯 Reduzido de 700 para diferenciar <strong> */
  color: #2b2b2b;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.6; /* 🎯 Aumentado de 1.5 para melhor legibilidade */
}

/* 🎯 Destacar palavras em <strong> dentro da mensagem */
.free-shipping-message strong {
  font-weight: 800; /* Negrito super forte */
  color: #2b2b2b;
}

/* 🎨 Animação sutil nos emojis */
@keyframes pulseEmoji {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Barra de progresso */
.free-shipping-progress-bar {
  width: 100%;
  height: 12px;
  background: #e5e7eb;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
}

.free-shipping-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff9800 0%, #ffa726 100%);
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: shimmer 1.5s infinite;
}

/* 🎨 Animação de onda quando a barra cresce */
.free-shipping-progress-fill.animating {
  animation: shimmer 1.5s infinite, wave 0.8s ease-out, glow 0.8s ease-out;
}

/* Efeito de brilho/destaque quando anima */
.free-shipping-progress-fill.animating::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.6) 50%, 
    transparent 100%
  );
  animation: sweep 0.8s ease-out;
}

@keyframes wave {
  0% {
    transform: scaleY(1);
  }
  30% {
    transform: scaleY(1.3);
  }
  60% {
    transform: scaleY(0.9);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 0 rgba(255, 152, 0, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.6);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 152, 0, 0);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes shimmer {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
  100% {
    opacity: 1;
  }
}

/* Estatísticas (valores inicial e meta) */
.free-shipping-stats {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6b7280;
  font-weight: 600;
  padding: 0 2px;
}

.free-shipping-stats span:last-child {
  color: #ff9800;
}

/* =========================================
   🛍️ ITENS DO CARRINHO (WooCommerce)
   ========================================= */

/* Container do mini cart do WooCommerce */
.mini-cart-content .woocommerce-mini-cart {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Item do carrinho */
.mini-cart-content .woocommerce-mini-cart-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  position: relative;
  flex-direction: column;
}

.mini-cart-content .woocommerce-mini-cart-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Container principal do item (imagem + info) */
.mini-cart-content .woocommerce-mini-cart-item .mini-cart-item-wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* Container principal do item (DEPRECATED - mantido para compatibilidade) */
.mini-cart-content .woocommerce-mini-cart-item > a {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: flex-start;
}

/* Imagem do produto */
.mini-cart-content .woocommerce-mini-cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 2px solid #f3f4f6;
}

/* Container de informações */
.mini-cart-content .woocommerce-mini-cart-item .mini-cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px; /* 🎯 Reduzido de 6px para compactar */
}

/* 🔥 NOME DO PRODUTO - PESO MÁXIMO (marketplace style) */
.mini-cart-content .woocommerce-mini-cart-item .product-name,
.mini-cart-content .woocommerce-mini-cart-item a.product-name,
.mini-cart-content .woocommerce-mini-cart-item a:not(.remove),
.mini-cart-content .woocommerce-mini-cart-item span.product-name {
  color: #2b2b2b !important;
  text-decoration: none !important;
  font-weight: 600 !important; /* 🎯 Reduzido de 700 para 600 */
  font-size: 14px !important; /* 🎯 Reduzido de 16px para 14px */
  line-height: 1.3 !important;
  display: block !important;
  margin-bottom: 4px !important;
  transition: color 0.2s ease;
  letter-spacing: -0.2px !important; /* 🎯 Reduzido de -0.3px */
  padding-right: 30px !important; /* 🎯 NOVO: Dar espaço para o botão X */
}

.mini-cart-content .woocommerce-mini-cart-item .product-name:hover,
.mini-cart-content .woocommerce-mini-cart-item a.product-name:hover,
.mini-cart-content .woocommerce-mini-cart-item a:not(.remove):hover,
.mini-cart-content .woocommerce-mini-cart-item span.product-name:hover {
  color: #ff9800 !important;
}

/* 📊 LINHA DE QUANTIDADES (abaixo do título) */
.mini-cart-content .mini-cart-quick-info {
  color: #ff9800 !important; /* 🔥 LARANJA = destaque máximo */
  font-size: 13px !important;
  font-weight: 600 !important; /* Semi-negrito */
  line-height: 1.4 !important;
  margin-top: 2px !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.2px !important;
}

/* Quantidade e preço */
.mini-cart-content .quantity {
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-cart-content .quantity .amount {
  color: #ff9800;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
}

/* 🎨 METADADOS DO CONFIGURADOR - HIERARQUIA REDUZIDA */
.mini-cart-content .woocommerce-mini-cart-item dl,
.mini-cart-content .woocommerce-mini-cart-item .variation {
  margin: 8px 0 0 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border-left: none;
  font-size: 12px;
  line-height: 1.8;
}

.mini-cart-content .woocommerce-mini-cart-item dt,
.mini-cart-content .woocommerce-mini-cart-item .variation dt {
  color: #6b7280;
  font-weight: 500;
  margin: 0;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  display: inline;
}

.mini-cart-content .woocommerce-mini-cart-item dt:after,
.mini-cart-content .woocommerce-mini-cart-item .variation dt:after {
  content: ': ';
  margin-right: 2px;
}

.mini-cart-content .woocommerce-mini-cart-item dd,
.mini-cart-content .woocommerce-mini-cart-item .variation dd {
  color: #2b2b2b;
  font-weight: 600;
  margin: 0;
  padding-left: 0;
  border-left: none;
  font-size: 12px;
  display: inline;
}

.mini-cart-content .woocommerce-mini-cart-item dd:after,
.mini-cart-content .woocommerce-mini-cart-item .variation dd:after {
  content: ' • ';
  color: #d1d5db;
  margin: 0 4px;
  font-weight: 400;
}

.mini-cart-content .woocommerce-mini-cart-item dd:last-child:after,
.mini-cart-content .woocommerce-mini-cart-item .variation dd:last-child:after {
  content: '';
  margin: 0;
}

/* Quebrar linha entre grupos de informações relacionadas */
.mini-cart-content .woocommerce-mini-cart-item p {
  margin: 0;
  line-height: 1.8;
}

/* 🎨 METADADOS COMPACTOS ESTILO MARKETPLACE */
.cart-item-metadata-compact {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #6b7280;
}

.cart-item-metadata-compact .metadata-line {
  margin-bottom: 2px;
}

.cart-item-metadata-compact .metadata-line:first-child {
  color: #2b2b2b;
  font-weight: 600;
  font-size: 12px;
}

/* 🎯 DESTACAR LINHA DE QUANTIDADES (segunda linha) */
.cart-item-metadata-compact .metadata-line:nth-child(2) {
  color: #ff9800;
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
  background: linear-gradient(135deg, #fff5e6 0%, transparent 100%);
  padding: 4px 8px;
  border-radius: 4px;
  border-left: 3px solid #ff9800;
  display: inline-block;
}

.cart-item-metadata-compact .metadata-line:nth-child(3) {
  color: #2b2b2b;
  font-weight: 600;
  font-size: 13px;
  margin-top: 4px;
}

.cart-item-metadata-compact .metadata-line:last-child {
  margin-bottom: 0;
  font-weight: 500;
}

/* 🗑️ BOTÃO REMOVER - DISCRETO (marketplace style) */
.mini-cart-content .woocommerce-mini-cart-item .remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.6;
  z-index: 10;
}

.mini-cart-content .woocommerce-mini-cart-item .remove:hover {
  color: #ef4444;
  background: #fee2e2;
  opacity: 1;
  transform: scale(1.1);
}

.mini-cart-content .woocommerce-mini-cart-item .remove:before {
  content: '×';
  font-size: 18px;
  line-height: 1;
}

/* =========================================
   📌 RODAPÉ DO CARRINHO
   ========================================= */

.mini-cart-footer {
  background: white;
  padding: 20px;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

/* Botão "Continuar Comprando" (discreto) */
.mini-cart-continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  padding: 4px 0;
}

.mini-cart-continue-shopping:hover {
  color: #ff9800;
  gap: 8px; /* Aumenta o espaço da setinha no hover */
}

.mini-cart-continue-shopping svg {
  transition: transform 0.2s ease;
}

.mini-cart-continue-shopping:hover svg {
  transform: translateX(-2px); /* Setinha move para esquerda */
}

/* Subtotal */
.mini-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 20px; /* 🎯 Aumentado de 0 para dar mais presença */
  background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%); /* 🎯 Fundo sutil laranja */
  border-radius: 8px; /* 🎯 Cantos arredondados */
  border: 2px solid #ffd699; /* 🎯 Borda laranja suave */
}

.mini-cart-subtotal span {
  color: #ff9800; /* 🎯 Mudado de cinza para laranja */
  font-size: 15px; /* 🎯 Aumentado de 14px */
  font-weight: 700; /* 🎯 Aumentado de 500 para 700 */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mini-cart-subtotal-amount,
.mini-cart-subtotal strong {
  color: #2b2b2b !important;
  font-size: 36px !important; /* 🎯 Aumentado de 32px para 36px */
  font-weight: 900 !important;
  letter-spacing: -1.2px !important; /* 🎯 Mais compacto = mais peso */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* 🎯 Sombra sutil para profundidade */
}

/* Botão Finalizar Compra */
.mini-cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: #ff9800;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.25);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  user-select: none;
}

/* 🎨 Efeito de brilho animado (shine) */
.mini-cart-checkout-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  transition: left 0.5s ease;
}

.mini-cart-checkout-btn:hover::before {
  left: 100%;
}

/* 💪 HOVER - Elevação dramática */
.mini-cart-checkout-btn:hover {
  background: #f59000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.4);
}

/* 🎯 ACTIVE (Click) - Efeito de pressão */
.mini-cart-checkout-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
  transition: all 0.1s ease;
}

/* 🌟 FOCUS - Acessibilidade */
.mini-cart-checkout-btn:focus {
  outline: 3px solid rgba(255, 152, 0, 0.4);
  outline-offset: 2px;
}

/* 🌊 RIPPLE EFFECT (Material Design) */
.mini-cart-checkout-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleAnimation 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnimation {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.mini-cart-checkout-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.mini-cart-checkout-btn:hover svg {
  transform: translateX(2px);
}

/* Botão Ver Carrinho */
.mini-cart-view-cart {
  display: block;
  width: 100%;
  padding: 12px 24px;
  background: transparent;
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mini-cart-view-cart:hover {
  border-color: #ff9800;
  color: #ff9800;
  background: rgba(255, 152, 0, 0.05);
}

/* =========================================
   🎨 ÍCONE DO CARRINHO (Header)
   ========================================= */

.adesivada-cart-icon {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.adesivada-cart-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ff9800;
}

/* Badge de quantidade */
.adesivada-cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #ff9800;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0 4px;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* =========================================
   📱 RESPONSIVO
   ========================================= */

@media (max-width: 480px) {
  .mini-cart-header {
    padding: 16px 20px;
  }
  
  .mini-cart-title {
    font-size: 1.125rem;
  }
  
  .mini-cart-content {
    padding: 16px 20px;
  }
  
  .mini-cart-footer {
    padding: 16px 20px;
  }
  
  .mini-cart-checkout-btn {
    padding: 12px 20px;
    font-size: 15px;
  }
}

/* =========================================
   ✨ ANIMAÇÕES DE MICRO FEEDBACK
   ========================================= */

/* Slide In Right (item novo adicionado) */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Highlight New (pulso de destaque) */
@keyframes highlightNew {
  0% {
    background: #fff5e6;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
  }
  50% {
    background: #fff5e6;
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.3);
  }
  100% {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
}

/* =========================================
   🎉 TOAST DE CONFIRMAÇÃO
   ========================================= */

.artistaria-toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.artistaria-toast {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: 600;
  color: #2b2b2b;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  max-width: 320px;
}

.artistaria-toast.show {
  opacity: 1;
  transform: translateX(0);
}

.artistaria-toast-success {
  border-color: #4caf50;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.artistaria-toast-success svg {
  color: #4caf50;
  flex-shrink: 0;
}

.artistaria-toast span {
  flex: 1;
  line-height: 1.4;
}

/* Mobile: centralizar toast */
@media (max-width: 480px) {
  .artistaria-toast-container {
    left: 20px;
    right: 20px;
    top: 70px;
  }
  
  .artistaria-toast {
    max-width: 100%;
  }
}

/* =========================================
   🔧 CORREÇÕES WOOCOMMERCE
   ========================================= */

/* Remover estilos padrão do WooCommerce */
.mini-cart-content .woocommerce-mini-cart__empty-message {
  display: none !important;
}

/* Total do WooCommerce (ocultar se existir) */
.mini-cart-content .woocommerce-mini-cart__total {
  display: none !important;
}

/* Botões do WooCommerce (ocultar se existirem) */
.mini-cart-content .woocommerce-mini-cart__buttons {
  display: none !important;
}