/* =========================
   Product Card
========================= */

.zoomCard {
  transition: transform 0.3s ease;
}

.zoomCard:hover {
  transform: scale(1.05);
}

.product-qty {
  text-align: center;
}

/* =========================
   Animations
========================= */

.shake-cart {
  animation: shake 0.5s;
}

@keyframes shake {
  0% { transform: translateX(0); }
  15% { transform: translateX(-3px); }
  30% { transform: translateX(3px); }
  45% { transform: translateX(-3px); }
  60% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

/* =========================
   Cart Overlay
========================= */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 9998;
}

/* =========================
   Cart Panel
========================= */

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.remove-item {
  background: none;
  border: none;
  color: red;
  font-size: 18px;
}

.cart-footer {
  padding: 15px;
  border-top: 1px solid #eee;
}

/* =========================
   Mobile Cart
========================= */

@media (max-width: 576px) {
  .cart-panel {
    top: auto;
    bottom: 0;
    height: 70%;
    transform: translateY(100%);
  }

  .cart-panel.open {
    transform: translateY(0);
  }
}

/* =========================
   Sticky Cart Button
========================= */

.sticky-cart-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--bs-primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 18px;
  z-index: 9997;
}

body.cart-open {
  overflow: hidden;
}

/* =========================
   Brand Colors
========================= */

.whatsapp-add-btn,
.openWhatsAppCart {
  background-color: #6d1c1c;
  border-color: #6d1c1c;
  color: #fff;
}

.whatsapp-add-btn:hover,
.openWhatsAppCart:hover {
  background-color: #25d366;
  border-color: #25d366;
  color: #fff;
}

.product-price,
.product-price p {
  color: #6d1c1c !important;
}

.bs-icon svg {
  color: #6d1c1c;
}

/* =========================
   Hero Section
========================= */

:root {
  --hero-bg-image: url("/assets/img/cakes-hero.png");
  --hero-overlay-1: rgba(109, 28, 28, 0.84);
  --hero-overlay-2: rgba(81, 2, 2, 0.48);
  --hero-text-color: #ffffff;
}

.hero-section {
  min-height: 450px;
  background:
    linear-gradient(var(--hero-overlay-1), var(--hero-overlay-2)),
    var(--hero-bg-image);
  background-size: cover;
  background-position: center;
}

.hero-section h1,
.hero-section h6 {
  color: var(--hero-text-color);
}

/* Navbar + body */
.navbar a,
.site-body a {
  color: #212529;
}s

/* =========================
   Footer text color fix
========================= */

.footer,
.footer p,
.footer span,
.footer a {
  color: #ffffff !important;
}
