:root {
  --accent: #01d4b6;
  --accent-rgb: 1, 212, 182;
  --accent-dark: #019e8a;
  --dark: #0d1117;
  --darker: #080b10;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.text-accent {
  color: var(--accent) !important;
}
.bg-accent {
  background: var(--accent) !important;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
}
.bg-accent-subtle {
  background: rgba(var(--accent-rgb), 0.1) !important;
}
.border-accent-subtle {
  border-color: rgba(var(--accent-rgb), 0.3) !important;
}

/* Navbar */
.navbar {
  background: var(--dark) !important;
  padding: 0.8rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}
.navbar .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.9rem;
  transition: color 0.2s;
  border-radius: 8px;
  padding: 0.4rem 0.8rem !important;
}
.navbar .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
  min-height: 90vh;
  background: linear-gradient(
    135deg,
    var(--darker) 0%,
    var(--dark) 50%,
    #0f1a2e 100%
  );
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  color: #fff;
}
.hero .lead {
  color: rgba(255, 255, 255, 0.75) !important;
}
.hero .text-secondary {
  color: rgba(255, 255, 255, 0.6) !important;
}
.hero .btn-outline-secondary {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.3);
}
.hero .btn-outline-secondary:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(1, 212, 182, 0.1);
}
.hero-visual lottie-player {
  filter: drop-shadow(0 0 40px rgba(var(--accent-rgb), 0.25));
}

/* Sections */
.section {
  padding: 80px 0;
}
#categorias.section {
  padding: 50px 0;
}

/* Diferenciais */
.diff-card {
  background: #fff;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.diff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.diff-icon {
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

/* Product cards */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f0f0f0;
}
.product-img-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
  color: #999;
  font-size: 0.9rem;
}
.product-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.product-body .cat-tag {
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.product-body .price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #e94560;
  margin-bottom: 0.5rem;
}
.product-body .variation {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}
.product-body .description {
  font-size: 0.8rem;
  color: #888;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.8rem;
  flex: 1;
}
.btn-buy {
  background: #25d366;
  color: #fff;
}
.btn-buy:hover {
  background: #1da851;
  color: #fff;
}

/* Categorias grid - clean */
.cat-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 0.8rem;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
  border: 1.5px solid transparent;
}
.cat-card:hover {
  border-color: var(--accent);
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.1);
}
.cat-card i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
  display: block;
}
.cat-card h6 {
  font-size: 0.78rem;
  margin-bottom: 0;
  font-weight: 500;
}
.cat-card small {
  font-size: 0.65rem;
}

/* About */
.about-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}
.about-card:hover {
  transform: translateY(-4px);
}
.about-card i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}
.about-card h6 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.about-card small {
  color: #888;
  font-size: 0.8rem;
}
.about-visual lottie-player {
  filter: drop-shadow(0 0 20px rgba(var(--accent-rgb), 0.15));
}

/* Steps */
.step-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.2s;
}
.step-card:hover {
  transform: translateY(-4px);
}
.step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.step-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.step-card h6 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.step-card small {
  color: #888;
}

/* CTA */
.bg-cta {
  background: linear-gradient(
    135deg,
    var(--accent-dark),
    var(--accent)
  ) !important;
}

/* Contact */
.contact-card {
  border: 1px solid #dee2e6;
  border-radius: 16px;
  padding: 1.5rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.contact-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.contact-card:nth-child(1) .contact-icon {
  color: #25d366;
}
.contact-card:nth-child(2) .contact-icon {
  color: #0d6efd;
}
.contact-card:nth-child(3) .contact-icon {
  color: #e1306c;
}
.contact-card:nth-child(4) .contact-icon {
  color: #ee4d2d;
}
.contact-card h6 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

/* Footer */
.footer {
  background: var(--darker) !important;
  padding: 40px 0 20px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: none;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.back-to-top.visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 80px 0 40px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section {
    padding: 50px 0;
  }
  .product-img {
    height: 180px;
  }
}

/* Product detail page */
.main-product-img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  background: #f8f8f8;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s;
}
.img-zoom-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f8f8f8;
}
.img-zoom-container.zoomed {
  cursor: zoom-out;
}
.zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.img-zoom-container:hover .zoom-hint {
  opacity: 1;
}
.thumb-carousel {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #e0e0e0;
}
.thumb-carousel::-webkit-scrollbar {
  height: 4px;
}
.thumb-carousel::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
.thumb-item {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}
.thumb-item:hover,
.thumb-item.active {
  border-color: var(--accent);
}
.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail-info h1 {
  font-size: 1.5rem;
  line-height: 1.3;
}
.product-detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: #e94560;
}
.product-detail-desc p {
  white-space: pre-line;
  font-size: 0.9rem;
  line-height: 1.6;
}
.desc-content {
  font-size: 0.92rem;
  line-height: 1.7;
}
.desc-content p {
  margin-bottom: 0.75rem;
}
.desc-content br {
  display: block;
  content: '';
  margin-top: 0.4rem;
}

/* Shipping options */
.shipping-option.selected {
  border-color: var(--accent) !important;
  background: rgba(var(--accent-rgb), 0.05);
}
.shipping-option:hover {
  border-color: var(--accent) !important;
}

/* WhatsApp FAB */
.fab-whatsapp {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
  text-decoration: none;
  border: none;
}
.fab-whatsapp:hover {
  background: #1da851;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.fab-whatsapp i {
  line-height: 1;
}

/* Pagination */
.pagination .page-link {
  color: var(--accent-dark);
  border-color: #dee2e6;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
}
.pagination .page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pagination .page-link:hover {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: var(--accent);
  color: var(--accent-dark);
}

@media (max-width: 768px) {
  .product-detail-price {
    font-size: 1.5rem;
  }
  .fab-whatsapp {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    bottom: 70px;
    right: 16px;
  }
}
