/* Malik Prime LLC - Custom Styling & Aesthetics */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --brand-primary: #0f4c3a;
  --brand-primary-dark: #092e23;
  --brand-primary-light: #16654f;
  --brand-accent: #d97706;
  --brand-accent-hover: #b45309;
  --brand-bg: #f8fafc;
  --brand-card-bg: #ffffff;
}

html, body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--brand-bg);
  color: #1e293b;
  overflow-x: hidden;
  max-width: 100vw;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Hero Gradient & Patterns */
.hero-gradient {
  background: linear-gradient(135deg, #092e23 0%, #0f4c3a 50%, #16654f 100%);
}

.hero-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Product Card Transitions */
.product-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(15, 76, 58, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Badges */
.badge-amazon {
  background: linear-gradient(135deg, #ff9900 0%, #e68a00 100%);
  color: #111;
  font-weight: 700;
}

.badge-walmart {
  background: linear-gradient(135deg, #0071dc 0%, #004f9a 100%);
  color: #ffffff;
  font-weight: 700;
}

.badge-bestseller {
  background: #0f4c3a;
  color: #ffffff;
}

/* Slide-over Drawer (Cart & Mobile Menu) */
.drawer-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-content.active {
  transform: translateX(0);
}

.drawer-left {
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-left.active {
  transform: translateX(0);
}

/* Native Dialog Modals Styling */
dialog {
  border: none;
  padding: 0;
  max-width: 90vw;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

dialog::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  animation: backdropFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes backdropFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: #ffffff;
  color: #0f172a;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--brand-primary);
  transform: translateY(16px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.toast-success {
  border-left-color: #10b981;
}

.toast.toast-info {
  border-left-color: #3b82f6;
}

.toast.toast-warn {
  border-left-color: #f59e0b;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Star Rating SVGs */
.star-filled {
  color: #f59e0b;
  fill: #f59e0b;
}
.star-empty {
  color: #e2e8f0;
  fill: #e2e8f0;
}

/* ==========================================================================
   Hero Modern Slider Styles
   ========================================================================== */
.hero-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.hero-slider-track {
  display: flex;
  width: 300%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  width: 33.333333%;
  min-width: 33.333333%;
  max-width: 33.333333%;
  flex: 0 0 33.333333%;
  box-sizing: border-box;
  overflow: hidden;
}

.slider-indicator {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-indicator.active {
  width: 2.25rem !important;
  background-color: #f59e0b !important;
}

.slider-nav-btn {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.slider-nav-btn:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   Live Verified Purchase Activity Ticker (Floating Toast Widget)
   ========================================================================== */
#live-activity-ticker {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 40;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: auto;
}

#live-activity-ticker.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Pulse animation for live badge */
@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.pulse-dot {
  animation: pulseDot 2s infinite ease-in-out;
}

/* ==========================================================================
   Deal Countdown Timer Styles
   ========================================================================== */
.countdown-box {
  min-width: 3.25rem;
  padding: 0.35rem 0.5rem;
  background: rgba(15, 76, 58, 0.08);
  border: 1px solid rgba(15, 76, 58, 0.15);
  border-radius: 0.75rem;
  text-align: center;
}

/* ==========================================================================
   Department Cards Hover & Image Zoom
   ========================================================================== */
.dept-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -8px rgba(15, 76, 58, 0.12), 0 6px 12px -4px rgba(15, 76, 58, 0.08);
}

.dept-card:hover .dept-img {
  transform: scale(1.06);
}

.dept-img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

