@import url("https://product-catalog-builder--absattarn90.replit.app/assets/index-D_Zin60S.css");

html {
  scroll-behavior: smooth;
}

/* Fixed header offset for anchor-like scrolling */
#catalog,
#about,
#reviews,
#faq {
  scroll-margin-top: 96px;
}

.clients-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.clients-track {
  display: flex;
  gap: 16px;
  min-width: max-content;
}

.reviews-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.reviews-track {
  display: flex;
  gap: 16px;
  min-width: max-content;
}

.review-photo-card {
  flex: 0 0 240px;
  width: 240px;
  height: 288px;
}

.client-photo-card {
  flex: 0 0 220px;
  width: 220px;
  height: 275px;
  scroll-snap-align: start;
}

.client-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.review-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.review-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 288px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #8b7a7a;
  background: rgba(109, 96, 96, 0.08);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
}

.whatsapp-float a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #0b2e1a;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float a:hover {
  background: #1fb85a;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.whatsapp-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.whatsapp-text {
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float a {
    padding: 10px 14px;
    font-size: 13px;
  }

  .whatsapp-text {
    display: none;
  }
}

@media (min-width: 640px) {
  .review-photo-card {
    flex-basis: 280px;
    width: 280px;
    height: 320px;
  }

  .client-photo-card {
    flex-basis: 240px;
    width: 240px;
    height: 300px;
  }

  .review-photo-placeholder {
    height: 320px;
  }
}
