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

:root {
  --primary: #000000;
  --accent: #db2777;
  --accent-hover: #be185d;
  --background: #ffffff;
  --secondary-bg: #f9fafb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
}

* {
  box-sizing: border-box;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--background);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #111827;
  border-radius: 4px;
}

/* Top Announcement Ticker Bar */
.top-announcement-bar {
  background-color: #000000;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  text-align: center;
  text-transform: uppercase;
}

/* Navbar */
.sticky-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f3f4f6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Hero Section */
.hero-slider-section {
  position: relative;
  width: 100%;
  min-height: 380px;
  background-size: cover;
  background-position: center 20%;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-slider-section {
    min-height: 520px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

/* Trust Badges Bar */
.advantages-bar {
  background-color: #f9fafb;
  border-bottom: 1px solid #f3f4f6;
  padding: 24px 0;
}

.advantage-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
}

/* Category Pill & Tiles */
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background-color: #f3f4f6;
  color: #374151;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.cat-pill.active, .cat-pill:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Product Cards (Divina Fitness Style) */
.divina-product-card {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.divina-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.product-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: #f9fafb;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.divina-product-card:hover .product-image-box img {
  transform: scale(1.06);
}

/* Badges */
.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #000000;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

.favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  z-index: 10;
  transition: color 0.2s ease, transform 0.2s ease;
}

.favorite-btn:hover {
  color: #db2777;
  transform: scale(1.1);
}

/* FLOATING WHATSAPP BUTTON (Connected to +55 83 9934-8811) */
.whatsapp-float-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  animation: pulseGreen 2s infinite;
  transition: transform 0.2s ease;
}

.whatsapp-float-widget:hover .whatsapp-float-btn {
  transform: scale(1.1);
}

.whatsapp-float-tooltip {
  background-color: #ffffff;
  color: #111827;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid #e5e7eb;
  display: none;
}

@media (min-width: 640px) {
  .whatsapp-float-tooltip {
    display: block;
  }
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Floating Cart Trigger Bar */
.floating-cart-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  background-color: #000000;
  color: #ffffff;
  border-radius: 9999px;
  padding: 12px 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.floating-cart-bar:hover {
  transform: scale(1.03);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

.modal-content {
  position: fixed;
  z-index: 1001;
  background: #ffffff;
  animation: slideUp 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

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