/* ==========================================================================
   Printliant - Stylesheet
   Matching exact React Theme Palette and Modern Component Layouts
   ========================================================================== */

:root {
  --primary: #228B22;
  --primary-hover: #1b6e1b;
  --primary-foreground: #ffffff;
  --accent: #e74c3c;
  --accent-hover: #cf3c2c;
  --accent-foreground: #ffffff;
  --secondary: #f8f9fa;
  --secondary-foreground: #228B22;
  --muted: #ecf0f1;
  --muted-foreground: #7f8c8d;
  --border: #e0e0e0;
  --card-bg: #ffffff;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1f2937;
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/* Custom Scrollbar for horizontal scrolling sections */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth transitions */
.transition-smooth {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Carousel */
.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-dot {
  transition: all 0.3s ease;
}
.hero-dot.active {
  width: 2rem !important;
  background-color: #ffffff !important;
}

/* Brand scroll buttons */
.brand-scroll-btn {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.brand-scroll-btn:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Floating Toast Notification for Add to Cart */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  background: #ffffff;
  color: #1a2a4a;
  border-left: 4px solid #228B22;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #228B22;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  flex-shrink: 0;
}

/* Wishlist heart animation */
.heart-btn.active svg {
  fill: #e74c3c;
  color: #e74c3c;
}
