/* cart.css */
body, html {
  background: #111016 !important;
  color: #eec4fc !important;
}
body, p, h1, h2, h3, h4, h5, h6, a, .text, .section-title, .counter, .review-card, .why-section, .reveal, .footer, .navbar {
  color: #6433ff !important;
}
.cart-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 30;
  background: linear-gradient(90deg,#a259ff 0%,#6c47ff 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  box-shadow: 0 4px 24px 0 #a259ff44;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: background 0.2s,box-shadow 0.2s;
  cursor: pointer;
}
.cart-fab-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #a259ff;
  color: #fff;
  font-size: 0.95rem;
  font-weight: bold;
  border-radius: 9999px;
  padding: 0.2em 0.7em;
  box-shadow: 0 2px 8px #a259ff33;
  z-index: 2;
  min-width: 1.7em;
  text-align: center;
}
.cart-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100vw;
  max-width: 420px;
  min-width: 280px;
  min-height: 320px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(135deg, #181028ee 60%, #2a1842ee 100%);
  border: 2px solid #a259ff;
  border-radius: 1.5rem;
  box-shadow: 0 32px 80px 0 #a259ff99, 0 0 0 1px #a259ff44;
  z-index: 9999;
  color: #fff;
  font-family: 'Rubik', sans-serif;
  animation: cartpop 0.35s cubic-bezier(.4,2,.6,1);
  backdrop-filter: blur(14px) saturate(1.2);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
}
@keyframes cartpop {
  0% { opacity: 0; transform: scale(0.9) translate(-50%,-50%); }
  100% { opacity: 1; transform: scale(1) translate(-50%,-50%); }
}
.cart-modal .cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.cart-modal .cart-close {
  font-size: 1.7rem;
  color: #a259ff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  margin-left: 1rem;
}
.cart-modal .cart-close:hover { color: #e040fb; }
.cart-modal .cart-list {
  flex: 1 1 auto;
  margin-bottom: 1.2rem;
}
.cart-modal .cart-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  background: #2a184255;
  border-radius: 0.9rem;
  padding: 1rem 1.2rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px #a259ff11;
}
.cart-modal .cart-item:last-child { margin-bottom: 0; }
.cart-modal .cart-item .cart-remove {
  color: #ff4d4f;
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: auto;
  background: none;
  border: none;
  transition: color 0.2s;
}
.cart-modal .cart-item .cart-remove:hover { color: #ff7875; }
.cart-modal .cart-item .cart-qty-btn {
  background: #2a1842;
  color: #a259ff;
  border: none;
  border-radius: 0.5rem;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 0.3rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cart-modal .cart-item .cart-qty-btn:hover { background: #a259ff; color: #fff; }
.cart-modal .cart-item .cart-qty {
  font-weight: bold;
  font-size: 1.1rem;
  min-width: 2rem;
  text-align: center;
  display: inline-block;
}
.cart-modal .cart-total {
  color: #a259ff;
  font-size: 1.2rem;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #a259ff 0%, #6c47ff 100%) 1;
  padding-top: 1rem;
  margin-top: 1.2rem;
  text-align: right;
}
.cart-modal .btn-main { width: 100%; margin-top: 1.5rem; font-size: 1.1rem; }
.cart-modal .cart-clear {
  background: #a259ff;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.cart-modal .cart-clear:hover { background: #fff; color: #a259ff; }
@media (max-width: 640px) {
  .cart-modal { padding: 0.7rem 0.2rem 0.7rem 0.2rem; max-width: 98vw; min-width: 0; }
  .cart-modal .cart-item { padding: 0.7rem 0.5rem; font-size: 1rem; }
  .cart-fab { right: 12px; bottom: 12px; }
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,2,.6,1), transform 0.7s cubic-bezier(.4,2,.6,1);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: none;
} 