/* ==========================================================================
   SHRI SITHI VINAYAGAR NATTU MARUNDHU | VRIKTSHA HERBS
   Clean Luxury Botanical Design System Extensions (Zero Dot Matrix)
   ========================================================================== */

/* Typography fallback enhancements */
body {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Custom Thin Botanical Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F8FAF8;
}
::-webkit-scrollbar-thumb {
  background: #C7DED1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1D7A52;
}

/* Hide scrollbar utility */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Cart Badge Bounce Animation */
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}
.cart-bump {
  animation: cartBounce 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Modal Open Transitions */
#quickViewBackdrop.active {
  display: block;
  opacity: 1;
}
#quickViewModal.active {
  display: flex;
}
#quickViewModal.active #modalBox {
  transform: scale(1);
  opacity: 1;
}

/* Mobile Slide-out Drawer Transitions (< 1024px) */
#mobileDrawerBackdrop.active {
  display: block;
  opacity: 1;
}
#mobileDrawer.active {
  transform: translateX(0);
}

/* Slide-in Cart Drawer Transitions */
#cartBackdrop.active {
  display: block;
  opacity: 1;
}
#cartDrawer.active {
  transform: translateX(0);
}

/* Toast Notification */
.luxury-toast {
  background: #0C3B2E;
  color: #FFFFFF;
  padding: 0.85rem 1.35rem;
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(12, 59, 46, 0.28);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-left: 4px solid #D4AF37;
  pointer-events: auto;
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.luxury-toast.toast-fade {
  opacity: 0;
  transform: translateY(10px);
}
@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
/* Card Hover Elevation */
.product-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(12, 59, 46, 0.12);
}

/* ==========================================================================
   MODERN MINI-CART / DRAWER CART ENHANCEMENTS
   ========================================================================== */
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-item-row:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 14px rgba(12, 59, 46, 0.06);
}

/* Unified Pill Stepper */
.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #F4F7F5;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 2px;
  user-select: none;
}

.cart-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid transparent;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.cart-qty-btn:hover:not(:disabled) {
  background: #0C3B2E;
  color: #FFFFFF;
  border-color: #0C3B2E;
  transform: scale(1.05);
}
.cart-qty-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.cart-qty-val {
  width: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #0C3B2E;
  line-height: 1;
}

/* Clean Delete Button with 32x32px hit area */
.cart-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 9999px;
  background: transparent;
  color: #9CA3AF;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  flex-shrink: 0;
}
.cart-remove-btn:hover {
  background: #FEE2E2;
  color: #DC2626;
  transform: scale(1.06);
}
.cart-remove-btn:active {
  transform: scale(0.92);
}
