/* ==========================================================================
   HOLYSTICKSCO - Modern Aesthetic Printify Storefront CSS
   High-contrast, vibrant, Gen-Z / Streetwear aesthetic e-commerce styling.
   ========================================================================== */

:root {
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --color-primary: #4f46e5;       /* Electric Indigo */
  --color-primary-hover: #4338ca;
  --color-primary-glow: rgba(79, 70, 229, 0.25);
  
  --color-accent: #f43f5e;        /* Vivid Coral / Pink */
  --color-accent-purple: #8b5cf6;  /* Purple */
  --color-emerald: #10b981;
  --color-dark: #09090b;          /* Zinc 950 */
  --color-dark-surface: #18181b;
  --color-surface-soft: #f8fafc;
  --color-border: #e2e8f0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: #0f172a;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

/* Background Gradients & Mesh */
.bg-mesh-subtle {
  background: 
    radial-gradient(at 10% 10%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(244, 63, 94, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 90%, rgba(139, 92, 246, 0.06) 0px, transparent 50%);
}

/* Continuous Infinite Marquee */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.marquee-content {
  display: inline-flex;
  gap: 2rem;
  animation: marquee-scroll 25s linear infinite;
}
.marquee-content:hover {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Interactive Card Transitions */
.interactive-card {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}
.interactive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(99, 102, 241, 0.15);
}

/* Glossy reflection on sticker hover */
.sticker-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.sticker-image-container::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  transform: rotate(25deg) translateY(-120%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.interactive-card:hover .sticker-image-container::after,
.sticker-select-card:hover .sticker-image-container::after {
  transform: rotate(25deg) translateY(120%);
}

/* Sticker Hover Drop Shadow for physical vinyl feel */
.sticker-vinyl-shadow {
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}
.interactive-card:hover .sticker-vinyl-shadow,
.sticker-select-card:hover .sticker-vinyl-shadow {
  transform: scale(1.05) rotate(1deg);
  filter: drop-shadow(0 16px 22px rgba(79, 70, 229, 0.18));
}

/* Floating animation for hero stickers */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
@keyframes floatSlowRev {
  0%, 100% { transform: translateY(0px) rotate(3deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}
.hero-float-1 {
  animation: floatSlow 5s ease-in-out infinite;
}
.hero-float-2 {
  animation: floatSlowRev 6s ease-in-out infinite 0.5s;
}

/* Bundle Slots */
.bundle-slot-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1.5px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  transition: all 0.25s ease;
}
.bundle-slot-bubble.filled {
  border-style: solid;
  border-color: #6366f1;
  background: #eef2ff;
  color: #3730a3;
  animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bundle-slot-bubble .remove-btn {
  cursor: pointer;
  opacity: 0.6;
  font-weight: bold;
  transition: opacity 0.2s, color 0.2s;
}
.bundle-slot-bubble .remove-btn:hover {
  opacity: 1;
  color: #ef4444;
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Cart Drawer Mechanics */
#cart-drawer.open {
  transform: translateX(0);
}
#cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #09090b;
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: 1rem;
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.3), 0 0 1px 1px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 100;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-notice.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Category Filter Tabs */
.filter-tab {
  transition: all 0.2s ease;
}
.filter-tab.active {
  background-color: #09090b !important;
  color: #ffffff !important;
  border-color: #09090b !important;
}

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