:root {
  --primary-dark: #1a1a1a;
  --primary-green: #2a9d8f;
  --primary-green-dark: #1f7a6e;
  --primary-green-light: #e6f5f3;
  --bg-dark: #1a1a1a;
  --bg-darker: #111111;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --text-dark: #222222;
  --text-gray: #666666;
  --text-light: #999999;
  --text-white: #ffffff;
  --border-light: #e0e0e0;
  --red: #ff3d57;
  --orange: #ff6d00;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 50px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Roboto', -apple-system, sans-serif;
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#particles-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.app {
  position: relative;
  z-index: 1;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== TOP BAR (frete gratis) ===== */
.top-bar {
  background: var(--bg-darker);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}
.top-bar-scroll {
  display: flex;
  gap: 60px;
  animation: scrollBar 20s linear infinite;
}
.top-bar-item {
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.top-bar-item svg { width: 14px; height: 14px; }
@keyframes scrollBar {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HEADER ===== */
.header {
  background: var(--bg-dark);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: var(--transition);
}
.logo:hover { transform: scale(1.02); }
.logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.logo-text .brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
}
.logo-text .sub {
  font-size: 0.65rem;
  color: var(--primary-green);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}
.search-container { flex: 1; max-width: 560px; }
.search-box {
  display: flex;
  background: var(--bg-white);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
}
.search-box:focus-within { border-color: var(--primary-green); }
.search-box input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  font-size: 0.9rem;
  outline: none;
  background: transparent;
  color: var(--text-dark);
}
.search-box input::placeholder { color: var(--text-light); }
.search-box button {
  padding: 12px 20px;
  background: var(--primary-green);
  color: var(--text-white);
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-box button:hover { background: var(--primary-green-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-white);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  font-size: 0.85rem;
  font-weight: 500;
  background: transparent;
  white-space: nowrap;
  position: relative;
}
.header-action-btn:hover {
  background: rgba(255,255,255,0.1);
}
.header-action-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.header-action-btn.btn-enter {
  background: var(--primary-green);
  font-weight: 600;
}
.header-action-btn.btn-enter:hover {
  background: var(--primary-green-dark);
}
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--primary-green);
  color: var(--text-white);
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===== CATEGORIES NAV ===== */
.categories-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}
.categories-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.category-item {
  padding: 14px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  position: relative;
}
.category-item:hover {
  color: var(--text-dark);
  background: rgba(0,200,83,0.04);
}
.category-item.active {
  color: var(--primary-green);
  border-bottom-color: var(--primary-green);
  font-weight: 700;
}
.cat-icon { margin-right: 6px; }
.cat-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  z-index: 100;
  padding: 8px 0;
}
.category-item:hover .cat-dropdown { display: block; }
.cat-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-gray);
  transition: var(--transition);
}
.cat-dropdown a:hover {
  background: var(--primary-green-light);
  color: var(--primary-green);
}

/* ===== CUPOM BAR ===== */
.cupom-bar {
  background: var(--primary-green);
  padding: 10px 0;
  text-align: center;
}
.cupom-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cupom-bar-text {
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 500;
}
.cupom-bar-text strong {
  font-weight: 700;
}
.cupom-code-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px dashed rgba(255,255,255,0.5);
}
.cupom-code {
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.cupom-copy-btn {
  background: var(--bg-white);
  color: var(--primary-green);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  transition: var(--transition);
}
.cupom-copy-btn:hover { background: var(--primary-green-light); }

/* ===== BANNER / HERO SLIDER ===== */
.hero-section {
  padding: 20px 0;
  background: transparent;
}
.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-dark);
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
}
.hero-nav:hover { background: var(--primary-green); }
.hero-nav.prev { left: 16px; }
.hero-nav.next { right: 16px; }

/* ===== SECTION TITLES ===== */
.section-header {
  text-align: center;
  margin-bottom: 32px;
}
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.section-title-line {
  width: 40px;
  height: 3px;
  background: var(--primary-green);
  margin: 0 auto;
  border-radius: 2px;
}
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-header-row .section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}
.section-link {
  color: var(--primary-green);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.section-link:hover { color: var(--primary-green-dark); }
.section-subtitle {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===== CATEGORY CIRCLES ===== */
.categories-section {
  padding: 48px 0 32px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
}
.categories-scroll {
  position: relative;
  overflow: hidden;
}
.categories-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0 20px;
}
.categories-grid::-webkit-scrollbar { height: 0; }
.category-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 110px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: var(--transition);
}
.category-circle:hover { transform: translateY(-4px); }
.category-circle-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
  transition: var(--transition);
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.category-circle-img img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.category-circle:hover .category-circle-img {
  border-color: var(--primary-green);
  box-shadow: 0 4px 16px rgba(0,200,83,0.2);
}
.category-circle-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
}
.cat-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 36px;
  height: 36px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  color: var(--text-dark);
  font-size: 1rem;
}
.cat-scroll-btn:hover { border-color: var(--primary-green); color: var(--primary-green); }
.cat-scroll-btn.left { left: -4px; }
.cat-scroll-btn.right { right: -4px; }

/* ===== PRODUCT CARDS ===== */
.offers-section {
  padding: 40px 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--primary-green);
  color: var(--text-white);
}
.product-badge.hot { background: var(--orange); }
.product-badge.new { background: #2979ff; }
.product-image {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  padding: 20px;
  position: relative;
}
.product-image img {
  max-height: 140px;
  object-fit: contain;
}
.product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.product-price-block { margin-top: auto; }
.product-price-original {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.product-price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: #00c853;
  display: block;
}
.product-pix {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--primary-green);
  font-weight: 600;
  margin-top: 2px;
}
.product-pix svg { width: 14px; height: 14px; }
.product-installments {
  font-size: 0.72rem;
  color: var(--text-gray);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-installments svg { width: 12px; height: 12px; flex-shrink: 0; }
.product-actions {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-comprar {
  width: 100%;
  padding: 10px;
  background: var(--primary-green);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}
.btn-comprar:hover { background: var(--primary-green-dark); }
.btn-whatsapp {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--primary-green);
  border: 1px solid var(--primary-green);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-whatsapp:hover {
  background: var(--primary-green-light);
}
.btn-whatsapp svg { width: 16px; height: 16px; }

/* ===== CAROUSEL / SLIDER CONTROLS ===== */
.products-carousel {
  position: relative;
}
.products-carousel .products-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.products-carousel .products-grid::-webkit-scrollbar { height: 0; }
.products-carousel .product-card {
  min-width: 260px;
  max-width: 280px;
  scroll-snap-align: start;
  flex-shrink: 0;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  color: var(--text-dark);
  font-size: 1rem;
}
.carousel-nav:hover { border-color: var(--primary-green); color: var(--primary-green); }
.carousel-nav.prev { left: -12px; }
.carousel-nav.next { right: -12px; }

/* ===== BANNER SECTION (3 colunas) ===== */
.banners-section {
  padding: 40px 0;
  background: transparent;
}
.banners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.banner-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  padding: 32px;
  cursor: pointer;
  transition: var(--transition);
}
.banner-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,200,83,0.25); }
.banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}
.banner-card:hover::before { opacity: 1; }
.banner-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(0,200,83,0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: bannerGlow 3s ease-in-out infinite;
}
@keyframes bannerGlow {
  0%, 100% { transform: translate(20px, -20px) scale(1); opacity: 0.5; }
  50% { transform: translate(10px, -10px) scale(1.3); opacity: 0.8; }
}
.banner-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: inherit;
  transition: var(--transition);
  z-index: 1;
}
.banner-card:hover .banner-card-overlay {
  opacity: 0.9;
}
.banner-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}
.banner-card-text {
  color: var(--text-white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: var(--primary-green);
  padding: 40px 0;
  margin-top: 40px;
}
.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.newsletter-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.newsletter-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.newsletter-text h3 {
  color: var(--text-white);
  font-size: 1.1rem;
  font-weight: 700;
}
.newsletter-text p {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 500px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form button {
  padding: 12px 24px;
  background: var(--bg-dark);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.newsletter-form button:hover { background: var(--bg-darker); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  padding: 48px 0 24px;
  color: var(--text-white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col-logo img {
  height: 50px;
  margin-bottom: 16px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}
.footer-social a:hover { background: var(--primary-green); }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--primary-green); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-payments {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.footer-payment-icon {
  width: 40px;
  height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.7);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* ===== PRODUCT PAGE MODAL ===== */
.product-page-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.product-page {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  margin: 40px auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-page-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}
.product-page-close:hover { background: var(--red); color: var(--text-white); }
.product-page-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  padding: 32px;
}
.product-page-image {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  min-height: 300px;
}
.product-page-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-page-category {
  color: var(--primary-green);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-page-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
.product-page-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-page-rating .stars { color: #ffc107; font-size: 1rem; }
.product-page-rating .rating-value { font-weight: 600; }
.product-page-rating .reviews { color: var(--text-light); font-size: 0.85rem; }
.product-page-description {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}
.product-page-price-box {
  background: var(--primary-green-light);
  border: 2px solid var(--primary-green);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-page-price-box .price-original {
  color: var(--text-light);
  text-decoration: line-through;
  font-size: 0.95rem;
}
.product-page-price-box .price-current {
  font-size: 2rem;
  font-weight: 700;
  color: #00c853;
  font-family: 'Rajdhani', sans-serif;
}
.product-page-price-box .price-discount {
  background: var(--primary-green);
  color: var(--text-white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
}
.product-page-pix {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.9rem;
}
.product-page-installments {
  color: var(--text-gray);
  font-size: 0.85rem;
}
.product-page-shipping {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-green);
  font-weight: 500;
  padding: 10px 14px;
  background: var(--primary-green-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.product-message {
  background: var(--primary-green-light);
  color: var(--primary-green);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-page-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.product-page-actions .btn-buy {
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  background: var(--primary-green);
  color: var(--text-white);
  text-align: center;
}
.product-page-actions .btn-buy:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
}
.product-page-actions .btn-buy-now {
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.product-page-actions .btn-buy-now:hover {
  background: var(--primary-green-light);
}
.product-page-badge {
  position: absolute;
  top: 20px; left: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-white);
  background: var(--primary-green);
}

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}
.modal-close:hover { background: var(--red); color: var(--text-white); }

/* Auth Modal */
.auth-modal { padding: 36px 28px; }
.auth-tabs {
  display: flex;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--bg-light);
}
.auth-tab {
  flex: 1;
  padding: 12px;
  background: transparent;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.auth-tab.active { color: var(--text-dark); border-bottom-color: var(--primary-green); }
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-gray); }
.form-group input {
  padding: 12px 14px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-light);
}
.form-group input:focus { outline: none; border-color: var(--primary-green); background: var(--bg-white); }
.auth-error {
  background: rgba(255,61,87,0.1);
  color: var(--red);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-align: center;
}
.auth-submit {
  background: var(--primary-green);
  color: var(--text-white);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  margin-top: 8px;
}
.auth-submit:hover:not(:disabled) { background: var(--primary-green-dark); }
.auth-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* Cart Modal */
.cart-modal { padding: 28px; max-width: 600px; }
.cart-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.cart-empty, .cart-loading, .cart-message { text-align: center; padding: 32px 16px; }
.cart-empty p, .cart-message p { font-size: 1rem; color: var(--text-light); margin-bottom: 16px; }
.btn-primary {
  background: var(--primary-green);
  color: var(--text-white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-green-dark); }
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 350px;
  overflow-y: auto;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}
.cart-item-image { font-size: 1.8rem; width: 44px; text-align: center; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; font-weight: 500; margin-bottom: 2px; }
.cart-item-price { font-size: 0.8rem; color: var(--text-light); }
.cart-item-qty { display: flex; align-items: center; gap: 6px; }
.cart-item-qty button {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cart-item-qty button:hover { background: var(--primary-green); color: var(--text-white); border-color: var(--primary-green); }
.cart-item-qty span { font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-subtotal { font-weight: 700; color: var(--primary-green); min-width: 80px; text-align: right; font-size: 0.9rem; }
.cart-item-remove { background: transparent; font-size: 1rem; opacity: 0.5; transition: var(--transition); }
.cart-item-remove:hover { opacity: 1; }
.cart-frete-section {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
  border: 1px solid var(--border-light);
}
.cart-frete-section h4 { font-size: 0.95rem; margin-bottom: 10px; font-weight: 600; color: var(--text-dark); }
.frete-options { display: flex; flex-direction: column; gap: 8px; }
.frete-cep { display: flex; gap: 8px; }
.frete-cep input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--bg-white);
}
.frete-cep button {
  padding: 10px 14px;
  background: var(--primary-green);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}
.frete-cep button:hover:not(:disabled) { background: var(--primary-green-dark); }
.frete-cep button:disabled { opacity: 0.6; cursor: not-allowed; }
.frete-geo-btn {
  padding: 10px;
  background: transparent;
  color: var(--primary-green);
  border: 1px solid var(--primary-green);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition);
}
.frete-geo-btn:hover:not(:disabled) { background: var(--primary-green-light); }
.frete-geo-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.frete-error { color: var(--red); font-size: 0.8rem; margin-top: 6px; }
.frete-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  background: var(--primary-green-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-green);
}
.frete-valor { color: var(--primary-green); font-weight: 700; font-size: 1rem; }
.frete-distancia { color: var(--text-gray); font-size: 0.85rem; }
.frete-endereco { width: 100%; color: var(--text-gray); font-size: 0.8rem; }
.frete-tabela-info { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border-light); }
.frete-tabela-info small { color: var(--text-light); font-size: 0.7rem; display: block; text-align: center; }
.cart-footer { margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--border-light); }
.cart-subtotal, .cart-frete-valor {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--text-gray);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding: 8px 0;
}
.cart-total strong { font-size: 1.3rem; color: var(--primary-green); }
.btn-finalizar {
  width: 100%;
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-finalizar:hover:not(:disabled) { background: var(--bg-darker); }
.btn-finalizar:disabled { opacity: 0.6; cursor: not-allowed; }

/* User Menu */
.user-menu { position: relative; }
.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}
.user-menu:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.user-dropdown button {
  width: 100%;
  padding: 10px 18px;
  background: transparent;
  color: var(--text-dark);
  text-align: left;
  font-size: 0.9rem;
  transition: var(--transition);
}
.user-dropdown button:hover { background: var(--bg-light); color: var(--red); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: var(--transition);
  animation: waPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.3); }
  50% { box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0); }
}
.whatsapp-icon { width: 30px; height: 30px; color: white; }
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--bg-dark);
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: var(--transition);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--bg-dark);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; visibility: visible; transform: translateX(0); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.2rem;
  z-index: 9998;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-green-dark); transform: translateY(-2px); }

/* ===== LOADING ===== */
.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-white);
  gap: 16px;
}
.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-light);
  border-top-color: var(--primary-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 1rem; color: var(--text-gray); }

/* ===== GLOW EFFECTS ===== */
.section-title-line {
  position: relative;
}
.section-title-line::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 7px;
  background: var(--primary-green);
  filter: blur(6px);
  opacity: 0.5;
}

.hero-slider::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 10%;
  right: 10%;
  height: 40px;
  background: var(--primary-green);
  filter: blur(40px);
  opacity: 0.15;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 4px;
  background: var(--primary-green);
  opacity: 0;
  transition: var(--transition);
  border-radius: 4px 4px 0 0;
}
.product-card:hover::after {
  opacity: 1;
}

.cupom-bar {
  position: relative;
  overflow: hidden;
}
.cupom-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.03) 10px,
    rgba(255,255,255,0.03) 20px
  );
  animation: moveStripes 20s linear infinite;
}
@keyframes moveStripes {
  0% { transform: translateX(0); }
  100% { transform: translateX(28px); }
}

.newsletter-section {
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.04) 10px,
    rgba(255,255,255,0.04) 20px
  );
  animation: moveStripes 20s linear infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .banners-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-top { flex-wrap: wrap; gap: 10px; }
  .search-container { order: 3; max-width: 100%; width: 100%; }
  .hero-slider img { border-radius: 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-carousel .product-card { min-width: 200px; max-width: 220px; }
  .newsletter-content { flex-direction: column; text-align: center; }
  .newsletter-form { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .banners-grid { grid-template-columns: 1fr; }
  .product-page-content { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .product-page-image { font-size: 4rem; padding: 32px; min-height: 200px; }
  .product-page-title { font-size: 1.4rem; }
  .modal-content { max-width: 100%; border-radius: var(--radius-md); }
  .categories-grid { gap: 14px; }
  .category-circle-img { width: 80px; height: 80px; padding: 8px; }
  .category-circle-img img { width: 50px; height: 50px; }
}

@media (max-width: 480px) {
  .header-actions { gap: 4px; }
  .header-action-btn span { display: none; }
  .header-action-btn { padding: 10px 12px; }
  .logo-text .brand { font-size: 1.1rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-image { height: 140px; font-size: 40px; padding: 12px; }
  .product-info { padding: 10px; }
  .product-name { font-size: 0.78rem; min-height: 2.2em; }
  .product-price-current { font-size: 1rem; }
  .product-actions { padding: 0 10px 10px; }
  .btn-comprar { padding: 8px; font-size: 0.78rem; }
  .btn-whatsapp { padding: 8px; font-size: 0.72rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.3rem; }
  .hero-slider img { border-radius: 8px; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .whatsapp-icon { width: 26px; height: 26px; }
  .whatsapp-tooltip { display: none; }
  .scroll-top { bottom: 76px; right: 16px; width: 36px; height: 36px; font-size: 1rem; }
  .category-circle-img { width: 65px; height: 65px; padding: 6px; }
  .category-circle-img img { width: 40px; height: 40px; }
  .category-circle-name { font-size: 0.7rem; }
  .category-circle { min-width: 80px; }
}

/* Recommended grid - larger cards */
.recommended-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.recommended-grid .product-card {
  min-width: unset;
  max-width: unset;
}
.recommended-grid .product-image {
  height: 220px;
}

@media (max-width: 768px) {
  .recommended-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .recommended-grid .product-image { height: 160px; }
}
@media (max-width: 480px) {
  .recommended-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .recommended-grid .product-image { height: 130px; }
}

/* Products section title override */
.products-section {
  padding: 40px 0;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(6px);
}
.products-section .section-header {
  text-align: left;
  margin-bottom: 24px;
}

/* Stars */
.stars { color: #ffc107; font-size: 0.9rem; letter-spacing: 1px; }
.rating-count { font-size: 0.75rem; color: var(--text-light); }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.product-category {
  font-size: 0.68rem;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 600;
}
.free-shipping {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--primary-green);
  font-weight: 600;
}
.price-original { font-size: 0.8rem; color: var(--text-light); text-decoration: line-through; }
.price-current { font-size: 1.15rem; font-weight: 700; color: #00c853; }
.price-discount {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--text-white);
  background: var(--primary-green);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  width: fit-content;
}

/* Hide on all products page view */
.products-section .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
