@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Fredoka+One&family=Baloo+2:wght@500;600;700;800&display=swap');

/* ============================================================
   KARYABINAYAK IMPEX — VIBRANT & CHILD-FRIENDLY DESIGN SYSTEM
   ============================================================ */

:root {
  --color-primary: #FF6B9D;
  --color-primary-dark: #E85C8E;
  --color-primary-light: #FFA8CB;
  --color-secondary: #4ECDC4;
  --color-secondary-dark: #3AB8B0;
  --color-accent: #FFD93D;
  --color-purple: #9B59B6;
  --color-blue: #4A90E2;
  --color-orange: #FF8C42;
  --color-green: #2ECC71;
  --color-bg-soft: #FAFAFD;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #FAFAFD;
  color: #1E293B;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Fredoka One', cursive;
}

.font-heading {
  font-family: 'Baloo 2', cursive;
}

/* ============================================================
   MOTION SAFETY — Respect user reduced motion preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   FUN ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-2deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 107, 157, 0.4); }
  50% { box-shadow: 0 0 30px rgba(255, 107, 157, 0.8), 0 0 45px rgba(78, 205, 196, 0.6); }
}

@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes star-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rainbow-border {
  0% { border-color: #FF6B9D; }
  33% { border-color: #4ECDC4; }
  66% { border-color: #FFD93D; }
  100% { border-color: #FF6B9D; }
}

/* ============================================================
   CONTINUOUS LEFT-TO-RIGHT RGB ANNOUNCEMENT BAR
   ============================================================ */
@keyframes rgb-flow-right {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.announcement-bar {
  background: linear-gradient(
    90deg,
    #FF0055 0%,
    #FF5000 12.5%,
    #FFD93D 25%,
    #10B981 37.5%,
    #00B0FF 50%,
    #9B59B6 62.5%,
    #FF6B9D 75%,
    #FF0055 87.5%,
    #FF5000 100%
  );
  background-size: 200% 100%;
  animation: rgb-flow-right 6s linear infinite;
  box-shadow: 0 4px 15px rgba(255, 0, 85, 0.25);
  position: relative;
  overflow: hidden;
}

.announcement-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.12) 100%);
  pointer-events: none;
}

.animate-float {
  animation: float 3.5s ease-in-out infinite;
}

.animate-float-reverse {
  animation: float-reverse 4s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-slow 5s ease-in-out infinite;
}

.animate-bounce-soft {
  animation: bounce-soft 2s ease-in-out infinite;
}

.animate-wiggle {
  animation: wiggle 0.6s ease-in-out infinite;
}

.animate-spin-slow {
  animation: star-rotate 12s linear infinite;
}

.sparkle {
  display: inline-block;
  animation: twinkle 1.8s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.3) rotate(20deg); opacity: 0.8; }
}

/* Confetti burst container */
.confetti-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.confetti-burst span {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 1.1rem;
  opacity: 0;
}

.confetti-burst.burst span {
  animation: burstOut 1s ease-out forwards;
}

.confetti-burst span:nth-child(1) { animation-delay: 0s; --tx: -60px; --ty: -70px; }
.confetti-burst span:nth-child(2) { animation-delay: 0.05s; --tx: 60px; --ty: -60px; }
.confetti-burst span:nth-child(3) { animation-delay: 0.1s; --tx: -80px; --ty: 20px; }
.confetti-burst span:nth-child(4) { animation-delay: 0.02s; --tx: 80px; --ty: 25px; }
.confetti-burst span:nth-child(5) { animation-delay: 0.08s; --tx: 0px; --ty: -90px; }
.confetti-burst span:nth-child(6) { animation-delay: 0.12s; --tx: -35px; --ty: 60px; }

@keyframes burstOut {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.3) rotate(0deg); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.2) rotate(210deg); }
}

/* Underline Squiggle */
.squiggle-underline path {
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  animation: drawSquiggle 1.2s ease-out 0.3s forwards;
}

@keyframes drawSquiggle {
  to { stroke-dashoffset: 0; }
}

/* Decorative Background Bubbles */
.bg-bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.45;
  pointer-events: none;
}

.bg-bubble-pink {
  background: radial-gradient(circle, #FF6B9D 0%, rgba(255,107,157,0) 70%);
}

.bg-bubble-teal {
  background: radial-gradient(circle, #4ECDC4 0%, rgba(78,205,196,0) 70%);
}

.bg-bubble-yellow {
  background: radial-gradient(circle, #FFD93D 0%, rgba(255,217,61,0) 70%);
}

.bg-bubble-purple {
  background: radial-gradient(circle, #9B59B6 0%, rgba(155,89,182,0) 70%);
}

/* ============================================================
   HERO SECTION & BANNER ENHANCEMENTS
   ============================================================ */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, #FFF0F5 0%, #F0FDFB 50%, #FAF5FF 100%);
  overflow: hidden;
}

.hero-slider-glow {
  position: relative;
  border-radius: 2.75rem;
  padding: 6px;
  overflow: hidden;
  box-shadow: 0 0 35px 5px rgba(255, 107, 157, 0.45), 0 25px 50px -10px rgba(0, 0, 0, 0.3), 0 0 25px rgba(78, 205, 196, 0.4);
  transition: all 0.5s ease;
  z-index: 1;
}

.hero-slider-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #a1055d, #FF6B9D, #FFD93D, #4ECDC4, #9B59B6, #a13105, #a1055d);
  animation: border-rotate-clockwise 5s linear infinite;
  z-index: -1;
}

@keyframes border-rotate-clockwise {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero-slider-glow:hover {
  box-shadow: 0 0 50px 10px rgba(255, 107, 157, 0.65), 0 30px 60px -10px rgba(0, 0, 0, 0.4), 0 0 35px rgba(78, 205, 196, 0.6);
  transform: translateY(-4px);
}

.banner-card-glow {
  position: relative;
  border-radius: 2.75rem;
  padding: 5px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(155, 89, 182, 0.4), 0 0 30px rgba(255, 107, 157, 0.35);
  transition: all 0.4s ease;
  z-index: 1;
}

.banner-card-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #a1055d, #FF6B9D, #4ECDC4, #9B59B6, #a1055d);
  animation: border-rotate-clockwise 5s linear infinite;
  z-index: -1;
}

.banner-card-glow:hover {
  box-shadow: 0 25px 50px rgba(155, 89, 182, 0.55), 0 0 40px rgba(255, 107, 157, 0.5);
  transform: translateY(-4px);
}

.hero-slider {
  border-radius: 2.35rem;
  overflow: hidden;
  background: #111827;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.slider-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slider-arrow {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: #1f2937;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-arrow:hover {
  background: #FF6B9D !important;
  color: #ffffff !important;
  border-color: #FF6B9D !important;
  transform: translateY(-50%) scale(1.15) !important;
  box-shadow: 0 14px 30px rgba(255, 107, 157, 0.5) !important;
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95) !important;
}

.slider-dot-container {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}

.slider-dot.active {
  width: 26px;
  background: #FF6B9D;
}

.stat-pop {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-pop:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 12px 25px -5px rgba(255, 107, 157, 0.25);
}

/* ============================================================
   BUTTON SYSTEM
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #FF6B9D, #E85C8E);
  color: #ffffff;
  font-weight: 800;
  padding: 0.8rem 1.85rem;
  border-radius: 9999px;
  box-shadow: 0 8px 22px -4px rgba(255, 107, 157, 0.45);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.btn-primary:hover::before {
  left: 200%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 28px -4px rgba(255, 107, 157, 0.55);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #4ECDC4, #3AB8B0);
  color: #ffffff;
  font-weight: 800;
  padding: 0.8rem 1.85rem;
  border-radius: 9999px;
  box-shadow: 0 8px 22px -4px rgba(78, 205, 196, 0.45);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 28px -4px rgba(78, 205, 196, 0.55);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #374151;
  font-weight: 800;
  padding: 0.8rem 1.85rem;
  border-radius: 9999px;
  border: 2px solid #E2E8F0;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: #FF6B9D;
  color: #FF6B9D;
  background: #FFF5F8;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px -4px rgba(255, 107, 157, 0.2);
}

.btn-outline:active {
  transform: translateY(0) scale(0.97);
}

.btn-whatsapp {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: #ffffff;
  font-weight: 800;
  border-radius: 1.25rem;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #16A34A, #15803D);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.45);
}

.btn-whatsapp:active {
  transform: translateY(0) scale(0.97);
}

.btn-whatsapp svg {
  transition: transform 0.25s ease;
}

.btn-whatsapp:hover svg {
  transform: rotate(-12deg) scale(1.2);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: #ffffff;
  padding: 1.15rem;
  border-radius: 1.75rem;
  border: 2px solid #F1F5F9;
  box-shadow: 0 6px 16px -3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 14px 28px -4px rgba(255, 107, 157, 0.15);
  border-color: rgba(255, 107, 157, 0.3);
}

.feature-icon {
  display: inline-block;
  font-size: 2.2rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.25) rotate(-10deg);
}

/* ============================================================
   CATEGORY CARDS — Playful Pill & Bouncy Effects
   ============================================================ */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  padding: 1rem 0.75rem;
  border-radius: 1.75rem;
  border: 2px solid #F1F5F9;
  box-shadow: 0 6px 18px -3px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  opacity: 1;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,107,157,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.04) rotate(-1.5deg);
  box-shadow: 0 18px 36px -6px rgba(0, 0, 0, 0.1);
  border-color: var(--cat-color, #FF6B9D) !important;
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  font-size: 2.25rem;
  margin-bottom: 0.35rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.category-card:hover .category-icon {
  transform: scale(1.3) rotate(-12deg);
}

/* ============================================================
   PRODUCT CARDS — Premium Glass & Playful Hover
   ============================================================ */
.product-card {
  background: #ffffff;
  border-radius: 2.25rem;
  border: 2px solid #F1F5F9;
  overflow: hidden;
  box-shadow: 0 6px 18px -3px rgba(0, 0, 0, 0.05);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 40px -8px rgba(255, 107, 157, 0.22);
  border-color: rgba(255, 107, 157, 0.4);
}

.product-card img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover img {
  transform: scale(1.09);
}

.quick-view-btn {
  position: absolute;
  bottom: 0.875rem;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #1E293B;
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.quick-view-btn:hover {
  background: #FF6B9D;
  color: #ffffff;
  transform: translateX(-50%) translateY(0) scale(1.05);
}

.product-card:hover .quick-view-btn {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.product-card-body {
  padding: 1.25rem;
}

.product-badge {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  font-size: 0.6875rem;
  font-weight: 900;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: 0 6px 14px -2px rgba(0, 0, 0, 0.18);
}

.badge-featured {
  background: linear-gradient(135deg, #FFD93D, #F59E0B);
  color: #78350F;
  animation: bounce-soft 3s ease-in-out infinite;
}

.badge-new {
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  color: #ffffff;
}

.badge-new {
  background: linear-gradient(135deg, #4ECDC4, #0D9488);
  color: #ffffff;
}

.badge-sale {
  background: linear-gradient(135deg, #FF6B9D, #EF4444);
  color: #ffffff;
  animation: pulse-glow 2s infinite;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0F172A;
}

.product-price-original {
  font-size: 0.875rem;
  color: #94A3B8;
  text-decoration: line-through;
}

/* ============================================================
   NAVIGATION LINKS
   ============================================================ */
.nav-link {
  position: relative;
  padding: 0.5rem 0.875rem;
  font-weight: 800;
  font-size: 0.9375rem;
  color: #334155;
  border-radius: 0.875rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.25rem;
  height: 3.5px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #FF6B9D, #4ECDC4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover {
  color: #FF6B9D;
  background-color: #FFF0F5;
  transform: translateY(-2px);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link-hot {
  color: #0D9488;
  font-weight: 800;
}

.nav-link-sale {
  color: #FF6B9D;
  font-weight: 800;
}

.mobile-nav-link {
  padding: 0.85rem 1.15rem;
  font-weight: 800;
  font-size: 1rem;
  color: #334155;
  border-radius: 1.25rem;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.mobile-nav-link:hover {
  background-color: #FFF0F5;
  color: #FF6B9D;
  transform: translateX(6px);
}

#mobile-menu {
  animation: slideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  background: #F1F5F9;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-btn:hover {
  background: #FF6B9D;
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 16px rgba(255, 107, 157, 0.3);
}

/* ============================================================
   HEADINGS & SECTION DIVIDERS
   ============================================================ */
.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2.15rem;
  line-height: 2.4rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.6rem;
    line-height: 2.8rem;
  }
}

.section-divider {
  width: 5.5rem;
  height: 0.45rem;
  background: linear-gradient(90deg, #FF6B9D, #FFD93D, #4ECDC4);
  border-radius: 9999px;
  margin: 0.625rem auto 0;
}

/* ============================================================
   WHY CHOOSE US CARDS
   ============================================================ */
.why-card {
  opacity: 1;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   FOOTER & EXTRAS
   ============================================================ */
.footer-link {
  color: #94A3B8;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.footer-link:hover {
  color: #FF6B9D;
  padding-left: 6px;
}

.social-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-btn:hover {
  background: #FF6B9D;
  transform: translateY(-4px) scale(1.15) rotate(8deg);
  box-shadow: 0 8px 18px rgba(255, 107, 157, 0.4);
}

#scroll-top {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  z-index: 40;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  pointer-events: none;
  border: 2px solid #F1F5F9;
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#scroll-top:hover {
  background: #FF6B9D;
  color: #ffffff;
  border-color: #FF6B9D;
  transform: translateY(-4px) scale(1.1);
}

#whatsapp-float {
  position: relative;
}

#whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #22C55E;
  opacity: 0.6;
  animation: ringPulse 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* Floating Tooltip above WhatsApp Button */
.wa-tooltip {
  position: absolute;
  right: 4.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #0F172A;
  font-weight: 800;
  font-size: 0.78125rem;
  padding: 0.5rem 0.875rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  white-space: nowrap;
  pointer-events: none;
  animation: bounce-soft 2.5s ease-in-out infinite;
  border: 2px solid #E2E8F0;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}

/* ============================================================
   QUICK VIEW MODAL
   ============================================================ */
#quick-view-modal:not(.hidden) .bg-white {
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.9) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-on-scroll {
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}