/* ============================================
   ENHANCED FEATURES CSS - CLEANED VERSION
   Only includes actively used styles
   ============================================ */

/* ========== MICRO-ANIMATIONS ========== */

/* Cart shake animation when item added */
@keyframes cartShake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.cart-shake {
  animation: cartShake 0.5s ease-in-out;
}

/* Slide in from bottom */
@keyframes slideInBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-in-bottom {
  animation: slideInBottom 0.3s ease-out;
}

/* Fade in */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

/* ========== STOCK INDICATORS ========== */

.stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.stock-indicator.in-stock {
  background: rgba(45, 206, 137, 0.1);
  color: #2dce89;
  border: 1px solid rgba(45, 206, 137, 0.3);
}

.stock-indicator.low-stock {
  background: rgba(251, 99, 64, 0.1);
  color: #fb6340;
  border: 1px solid rgba(251, 99, 64, 0.3);
}

.stock-indicator.out-of-stock {
  background: rgba(245, 54, 92, 0.1);
  color: #f5365c;
  border: 1px solid rgba(245, 54, 92, 0.3);
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ========== SALE BADGE ========== */

.sale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* ========== PRICE DISPLAY ========== */

.price-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.original-price {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  font-weight: 400;
}

/* ========== MOBILE BOTTOM NAVIGATION ========== */

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 27, 42, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.75rem 0;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  position: relative;
}

.mobile-nav-item.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

.mobile-nav-item:hover {
  color: var(--gold);
}

.mobile-nav-item svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.mobile-nav-badge {
  position: absolute;
  top: 0.25rem;
  right: 0.5rem;
  background: #ff6b6b;
  color: white;
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 10px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
  
  body {
    padding-bottom: 80px;
  }
}

/* ========== EMPTY STATES ========== */

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.empty-state-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
}

.empty-state-title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}

.empty-state-text {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.empty-state-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.empty-state-btn:hover {
  background: #f4d03f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */

@media (max-width: 768px) {
  .mobile-nav-item {
    padding: 0.5rem 0.5rem;
  }
  
  .mobile-nav-item svg {
    width: 20px;
    height: 20px;
  }
}
