/* ==================== BADGE DE PROMOÇÃO ==================== */
.product-sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  animation: pulse 2s infinite;
  letter-spacing: 0.5px;
}

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

.product-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.product-price-original {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  font-weight: 400;
}

.product-price-sale {
  color: #ff6b6b;
  font-weight: 700;
  font-size: 22px;
}

.product-discount-tag {
  background: #ff6b6b;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

/* ==================== POP-UP DE SALE ==================== */
.sale-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn 0.3s ease;
}

.sale-popup {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.sale-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.sale-popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.sale-popup-badge {
  background: #ff6b6b;
  color: white;
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.sale-popup h2 {
  color: white;
  font-size: 36px;
  margin: 0 0 15px 0;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sale-popup-discount {
  color: #ffd700;
  font-size: 60px;
  font-weight: 900;
  margin: 20px 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -2px;
}

.sale-popup p {
  color: white;
  font-size: 18px;
  margin: 15px 0;
  line-height: 1.6;
}

.sale-popup-products {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
  backdrop-filter: blur(10px);
}

.sale-popup-products p {
  font-size: 14px;
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.9);
}

.sale-popup-btn {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.sale-popup-btn:hover {
  background: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

.sale-popup-timer {
  color: #ffd700;
  font-size: 14px;
  margin-top: 15px;
  font-weight: 600;
}

/* ==================== LINK SALE NO MENU ==================== */
.sale-menu-link {
  color: #ff6b6b !important;
  font-weight: 700 !important;
  position: relative;
  animation: pulse-text 2s infinite;
}

@keyframes pulse-text {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* ==================== PÁGINA SALE ==================== */
.sale-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 20px;
  text-align: center;
  color: white;
  margin-top: 140px;
}

.sale-banner-content {
  max-width: 800px;
  margin: 0 auto;
}

.sale-badge-large {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.sale-banner h1 {
  font-size: 48px;
  margin: 20px 0;
  font-weight: 900;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sale-banner p {
  font-size: 20px;
  margin: 15px 0;
  opacity: 0.95;
}

.sale-timer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 215, 0, 0.2);
  padding: 12px 25px;
  border-radius: 30px;
  margin-top: 20px;
  font-weight: 600;
  color: #ffd700;
}

.sale-timer i {
  font-size: 18px;
}

/* Benefícios da SALE */
.sale-benefits {
  padding: 60px 20px;
  background: #f8f9fa;
}

.sale-benefits h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-card i {
  font-size: 40px;
  color: #667eea;
  margin-bottom: 15px;
}

.benefit-card h3 {
  font-size: 20px;
  margin: 15px 0 10px;
  color: #333;
}

.benefit-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* Badge de SALE nos cards */
.badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: pulse 2s infinite;
}

.sale-percentage {
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}

.sale-text {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1px;
}

/* Preços com desconto */
.preco-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin: 10px 0;
}

.preco-original {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  font-weight: 400;
}

.preco-promocional {
  color: #ff6b6b;
  font-weight: 700;
  font-size: 24px;
}

.economia {
  color: #27ae60;
  font-size: 12px;
  font-weight: 600;
  background: rgba(39, 174, 96, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* ==================== RESPONSIVO ==================== */
@media (max-width: 768px) {
  .sale-popup {
    padding: 30px 20px;
  }
  
  .sale-popup h2 {
    font-size: 28px;
  }
  
  .sale-popup-discount {
    font-size: 48px;
  }
  
  .sale-popup p {
    font-size: 16px;
  }
  
  .product-sale-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}
