/* Home.css */
.home-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  color: #1a1a1a;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Hero Section */
.hero-section {
  width: 100%;
  max-width: 1200px;
  margin: 2.5rem auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.hero-section:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Header */
.home-header {
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  margin: 2rem auto;
  max-width: 1200px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.home-header:hover {
  transform: translateY(-2px);
}

.home-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.home-header p {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  padding: 0 2rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.product-image {
  height: 220px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

.product-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.6rem 0;
  color: #1f2937;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0 0 1rem 0;
  line-height: 1.5;
  flex: 1;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #d97706; /* Warm gold for premium feel */
  margin: 0;
}

/* Skeleton */
.product-skeleton {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  animation: pulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  height: 320px;
}

.skeleton-line {
  background: #f3f4f6;
  margin: 0.6rem 0;
  border-radius: 6px;
}

.skeleton-line.title {
  height: 22px;
  width: 75%;
}

.skeleton-line.short {
  height: 14px;
  width: 55%;
}

.skeleton-line.medium {
  height: 14px;
  width: 85%;
}

.skeleton-line.long {
  height: 14px;
  width: 95%;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* Error & Empty States */
.error-section,
.empty-state {
  padding: 3rem 2rem;
  text-align: center;
}

.error-box,
.empty-box {
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.error-box h2,
.empty-box h2 {
  color: #dc2626;
  margin-bottom: 1rem;
  font-weight: 700;
}

.empty-box h2 {
  color: #4b5563;
}

.error-box p,
.empty-box p {
  color: #6b7280;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.error-box button {
  background: #dc2626;
  color: white;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.error-box button:hover {
  background: #b91c1c;
  transform: translateY(-2px);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(12deg);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  filter: invert(1);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 0 1.25rem 2.5rem;
  }

  .home-header h1 {
    font-size: 2rem;
  }

  .home-header p {
    font-size: 1rem;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .home-header {
    margin: 1.5rem auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* ————— FLOATING SOCIAL BUTTONS ————— */
.social-float-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1000;
}

.social-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  opacity: 0.94;
}

.social-float-btn:hover {
  transform: scale(1.12) rotate(8deg);
  opacity: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

/* Brand Colors */
.social-float-btn.whatsapp { background: #25D366; }
.social-float-btn.instagram { background: #E1306C; }
.social-float-btn.tiktok     { background: #000000; }

.social-icon {
  width: 28px;
  height: 28px;
}

/* SVG icons are white */
.social-float-btn .social-icon {
  fill: white;
}