/* =====================================================
   EBARA BOMBAS - Estilo inspirado na loja oficial
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #e30613;
  --primary-dk: #b8040f;
  --red:        #e30613;
  --red-dk:     #b8040f;
  --red-lt:     #ff1a2a;
  --blue:       #003087;
  --dark:       #1a1a1a;
  --gray:       #f5f5f5;
  --gray2:      #ebebeb;
  --border:     #e0e0e0;
  --text:       #1a1a1a;
  --text-muted: #666;
  --white:      #ffffff;
  --green:      #00a650;
  --wa:         #25d366;
  --radius:     6px;
  --radius-sm:  4px;
  --shadow:     0 2px 8px rgba(0,0,0,0.10);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.13);
  --transition: all 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Arial', sans-serif;
  background: var(--gray);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  font-size: 14px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* =====================================================
   BOTÕES
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover { background: var(--red-dk); }

.btn-outline-red {
  background: #fff;
  border: 1.5px solid var(--red);
  color: var(--red);
}
.btn-outline-red:hover { background: var(--red); color: #fff; }

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
}
.btn-whatsapp:hover { background: #1ebe5d; }

.btn-full { width: 100%; }

/* =====================================================
   TOP BAR (anúncios)
   ===================================================== */
.top-bar {
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 0;
  text-align: center;
  letter-spacing: 0.3px;
}
.top-bar a { color: #fff; text-decoration: underline; }

/* =====================================================
   HEADER
   ===================================================== */
#header {
  background: #fff;
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.logo-no-img .logo-img { display: none; }
.logo-brand { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.5px;
}
.logo-slogan {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Busca */
.header-search {
  flex: 1;
  max-width: 520px;
  display: flex;
}
.header-search input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 9px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  color: var(--text);
  background: #fff;
}
.header-search input:focus { border-color: var(--red); }
.header-search button {
  background: var(--red);
  border: none;
  color: #fff;
  padding: 0 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
}
.header-search button:hover { background: var(--red-dk); }

/* Ações direita */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.header-contact strong { color: var(--red); font-size: 0.85rem; }

.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.cart-btn i { font-size: 1.3rem; color: var(--red); }
.cart-btn:hover { background: var(--gray); }
.cart-badge {
  position: absolute;
  top: 0; right: 2px;
  background: var(--red);
  color: #fff;
  width: 17px; height: 17px;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.3rem;
  padding: 4px;
}

/* NAV PRINCIPAL */
.nav-bar {
  background: var(--dark);
  border-bottom: 1px solid #333;
}
.nav-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-bar a {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 14px;
  display: block;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-bar a:hover { background: var(--red); }
.nav-bar a.active { background: var(--red); }

/* Nav mobile */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--dark);
  border-top: 1px solid #333;
}
.nav-mobile a {
  color: #fff;
  font-size: 0.88rem;
  padding: 12px 20px;
  border-bottom: 1px solid #333;
  font-weight: 500;
}
.nav-mobile.open { display: flex; }

/* =====================================================
   INFORMATIVOS (features bar)
   ===================================================== */
.info-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.info-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}
.info-item i { font-size: 1.5rem; color: var(--red); flex-shrink: 0; }
.info-item strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text); }
.info-item span { font-size: 0.72rem; color: var(--text-muted); }

/* =====================================================
   HERO BANNER
   ===================================================== */
.hero-banner {
  background: var(--red);
  overflow: hidden;
  position: relative;
}
.hero-slides { position: relative; }
.hero-slide {
  display: none;
  min-height: 340px;
  align-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero-slide.active { display: flex; }

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #b8040f 0%, #e30613 40%, #ff1a2a 100%);
}
.hero-slide-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-text .tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.3);
}
.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-btns .btn-white {
  background: #fff;
  color: var(--red);
  font-weight: 700;
  border: none;
}
.hero-btns .btn-white:hover { background: #f0f0f0; }
.hero-btns .btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.hero-btns .btn-ghost:hover { background: rgba(255,255,255,0.15); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual-img {
  width: 100%;
  max-width: 400px;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hero-visual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.hero-visual-box i {
  font-size: 5rem;
  color: rgba(255,255,255,0.9);
  display: block;
  margin-bottom: 12px;
}
.hero-visual-box p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Dots do slider */
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active { background: #fff; width: 22px; border-radius: 4px; }

/* =====================================================
   CATEGORIAS RÁPIDAS
   ===================================================== */
.quick-cats {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.quick-cats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-cats-inner::-webkit-scrollbar { display: none; }
.quick-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  min-width: 100px;
  background: #fff;
  flex-shrink: 0;
}
.quick-cat i { font-size: 1.5rem; color: var(--red); }
.quick-cat span { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
.quick-cat:hover, .quick-cat.active {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 2px 8px rgba(227,6,19,0.12);
}
.quick-cat:hover span, .quick-cat.active span { color: var(--red); }

/* =====================================================
   SEÇÃO DE PRODUTOS
   ===================================================== */
.section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.section-title-bar h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title-bar h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background: var(--red);
  border-radius: 2px;
}
.section-title-bar a {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-title-bar a:hover { text-decoration: underline; }

.products-section {
  padding: 20px 0 32px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

/* =====================================================
   CARD DE PRODUTO
   ===================================================== */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.product-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 18px rgba(227,6,19,0.13);
  transform: translateY(-2px);
}

/* Badges */
.product-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  z-index: 3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-badge.wa-badge {
  left: auto; right: 8px;
  background: var(--wa);
}
.bf-seal {
  position: absolute;
  top: 8px; right: 8px;
  background: #000;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 3px;
  text-align: center;
  line-height: 1.4;
  z-index: 3;
  border: 1px solid #f59e0b;
}
.bf-seal strong { color: #f59e0b; font-size: 0.78rem; display: block; }

.product-img-wrap {
  height: 180px;
  background: #fafafa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  position: relative;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-no-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #ccc;
}
.product-no-img i { font-size: 2.5rem; }
.product-no-img span { font-size: 0.72rem; }

.product-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 0.68rem;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.product-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-old {
  font-size: 0.72rem;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 2px;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.product-installments {
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 600;
  margin-top: 3px;
}
.product-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 6px;
}
.product-discount {
  background: var(--green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 2px;
  flex-shrink: 0;
  align-self: flex-start;
}
.product-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}
.btn-add-cart {
  flex: 1;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
}
.btn-add-cart:hover { background: var(--red-dk); }

.btn-wa-buy {
  flex: 1;
  background: var(--wa);
  color: #fff;
  border: none;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
}
.btn-wa-buy:hover { background: #1ebe5d; }

.btn-detail {
  background: var(--gray);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 34px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.btn-detail:hover { border-color: var(--red); color: var(--red); }

/* =====================================================
   BANNER CENTRAL
   ===================================================== */
.mid-banner {
  background: linear-gradient(135deg, var(--blue), #004abf);
  margin: 20px 0;
  border-radius: var(--radius);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  position: relative;
}
.mid-banner::after {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.mid-banner-text h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.mid-banner-text p { color: rgba(255,255,255,0.8); font-size: 0.88rem; }
.mid-banner .btn-white {
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}
.mid-banner .btn-white:hover { background: #f0f0f0; }

/* =====================================================
   SOBRE / INSTITUCIONAL
   ===================================================== */
.about-section {
  background: #fff;
  padding: 36px 0;
  margin: 0 0 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}
.about-content h2 span { color: var(--red); }
.about-content p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 14px; line-height: 1.7; }
.about-slogan {
  font-style: italic;
  color: var(--red) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
}
.about-list { margin-bottom: 20px; }
.about-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.about-list li i { color: var(--red); font-size: 0.8rem; flex-shrink: 0; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-card {
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}
.about-card:hover { border-color: var(--red); }
.about-card i { font-size: 1.8rem; color: var(--red); margin-bottom: 8px; display: block; }
.about-card h3 { font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.about-card p { font-size: 0.75rem; color: var(--text-muted); }

/* =====================================================
   CONTATO
   ===================================================== */
.contact-section {
  padding: 32px 0;
  background: var(--gray);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.contact-card:hover { border-color: var(--red); }
.contact-card i { font-size: 2rem; color: var(--red); margin-bottom: 10px; display: block; }
.contact-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.contact-card p { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 14px; line-height: 1.5; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--dark);
  color: #fff;
  padding-top: 36px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
}
.footer-brand .logo-name { color: #fff; font-size: 1.1rem; }
.footer-brand .logo-slogan { color: #aaa; }
.footer-brand p { color: #aaa; font-size: 0.82rem; margin: 12px 0; line-height: 1.6; }
.footer-brand .slogan-em { color: #e35; font-style: italic; }
.social-links { display: flex; gap: 8px; margin-top: 12px; }
.social-links a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--red); color: #fff; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.footer-col a {
  display: block;
  color: #aaa;
  font-size: 0.82rem;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-col p {
  color: #aaa;
  font-size: 0.82rem;
  margin-bottom: 7px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.5;
}
.footer-col i { color: var(--red); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid #333;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom p { font-size: 0.75rem; color: #666; }

/* =====================================================
   CARRINHO DRAWER
   ===================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 390px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--border);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.cart-drawer.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 2px solid var(--red);
  background: var(--red);
  color: #fff;
}
.cart-header h3 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cart-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}
.cart-close:hover { background: rgba(255,255,255,0.35); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #ccc;
}
.cart-empty i { font-size: 3rem; margin-bottom: 10px; display: block; }
.cart-empty p { font-size: 0.88rem; }

.cart-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.cart-item-img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.78rem; font-weight: 600; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 0.9rem; font-weight: 800; color: var(--red); }
.cart-item-qty { display: flex; align-items: center; gap: 7px; margin-top: 6px; }
.qty-btn {
  width: 22px; height: 22px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  transition: var(--transition);
}
.qty-btn:hover { border-color: var(--red); color: var(--red); }
.qty-num { font-size: 0.82rem; font-weight: 700; min-width: 18px; text-align: center; }
.cart-item-remove {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 0.82rem;
  transition: var(--transition);
  align-self: flex-start;
  padding: 2px;
}
.cart-item-remove:hover { color: var(--red); }

.cart-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.cart-total strong { font-size: 1.3rem; color: var(--red); }
.cart-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
}

/* =====================================================
   MODAL PRODUTO
   ===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(820px, 96vw);
  max-height: 88vh;
  background: #fff;
  border-radius: var(--radius);
  z-index: 1400;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--gray);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}
.modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }

.modal-content { display: grid; grid-template-columns: 1fr 1fr; }

.modal-gallery {
  position: relative;
  background: #fafafa;
  border-right: 1px solid var(--border);
}
.modal-gallery-main {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.modal-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: #fff;
  border-top: 1px solid var(--border);
  overflow-x: auto;
}
.modal-thumb {
  width: 48px; height: 48px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: var(--transition);
}
.modal-thumb.active { border-color: var(--red); }

.modal-info { padding: 24px; }
.modal-category { font-size: 0.7rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.modal-name { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.modal-desc { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 14px; line-height: 1.6; }
.modal-price { font-size: 1.8rem; font-weight: 800; color: var(--red); line-height: 1; }
.modal-install { font-size: 0.75rem; color: var(--green); font-weight: 600; margin: 4px 0 20px; }
.modal-actions { display: flex; flex-direction: column; gap: 8px; }
.modal-actions .btn { justify-content: center; padding: 11px; }

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--dark);
  color: #fff;
  padding: 11px 22px;
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 2000;
  opacity: 0;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: var(--green); }
.toast.error { border-color: var(--red); }

/* =====================================================
   WHATSAPP FLUTUANTE
   ===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px; height: 54px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: pulse-wa 3s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* =====================================================
   CHECKOUT - Página
   ===================================================== */
.checkout-page { padding: 24px 0 48px; min-height: 100vh; background: var(--gray); }
.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.checkout-back:hover { color: var(--red); }
.checkout-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.checkout-subtitle { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 24px; display: flex; align-items: center; gap: 6px; }
.checkout-subtitle i { color: var(--green); }

.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.checkout-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.checkout-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-card h3 i { color: var(--red); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.3px; }
.form-group input, .form-group select {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--red); }

.payment-methods { display: flex; flex-direction: column; gap: 8px; }
.payment-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--gray);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.payment-opt:hover { border-color: var(--red); }
.payment-opt.selected { border-color: var(--red); background: rgba(227,6,19,0.04); }
.payment-opt input[type=radio] { accent-color: var(--red); }
.payment-opt-icon { font-size: 1.2rem; color: var(--red); }
.payment-opt-info strong { display: block; font-size: 0.85rem; }
.payment-opt-info span { font-size: 0.75rem; color: var(--text-muted); }
.payment-opt-whatsapp {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(37,211,102,0.04);
  border: 1.5px dashed rgba(37,211,102,0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.payment-opt-whatsapp:hover { background: rgba(37,211,102,0.08); border-color: var(--wa); }

.pix-info {
  background: rgba(0,166,80,0.07);
  border: 1px solid rgba(0,166,80,0.25);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}
.pix-info i { color: var(--green); flex-shrink: 0; }
.pix-info p { font-size: 0.78rem; color: var(--text-muted); }
.pix-info strong { color: var(--green); }

.order-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.82rem; }
.order-item:last-child { border-bottom: none; }
.order-item-name { color: var(--text-muted); flex: 1; padding-right: 10px; }
.order-item-price { font-weight: 700; white-space: nowrap; }
.order-divider { border: none; border-top: 1px solid var(--border); margin: 12px 0; }
.order-total-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.82rem; }
.order-total-row.final { font-size: 1rem; font-weight: 700; }
.order-total-row.final span:last-child { color: var(--red); font-size: 1.2rem; }
.total-highlight {
  background: rgba(227,6,19,0.05);
  border: 1px solid rgba(227,6,19,0.2);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
  text-align: center;
}
.total-highlight .label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 2px; }
.total-highlight .value { font-size: 1.6rem; font-weight: 800; color: var(--red); }

.secure-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.secure-badge { display: flex; align-items: center; gap: 5px; font-size: 0.7rem; color: var(--text-muted); }
.secure-badge i { color: var(--green); }

/* =====================================================
   ANIMAÇÕES
   ===================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.8); }
}
.product-card { animation: fadeInUp 0.35s ease both; }

/* =====================================================
   RESPONSIVO
   ===================================================== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-cards { grid-template-columns: repeat(4, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .info-bar-inner { grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-bar { display: none; }
  .header-search { display: none; }
  .info-bar-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .modal-content { grid-template-columns: 1fr; }
  .modal-gallery-main { height: 220px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-slide-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .mid-banner { flex-direction: column; text-align: center; padding: 20px; }
  .about-cards { grid-template-columns: 1fr 1fr; }
  .header-contact { display: none; }
}
@media (max-width: 480px) {
  .info-bar-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .product-body { padding: 8px; }
  .product-name { font-size: 0.75rem; }
  .product-price { font-size: 1.1rem; }
  .hero-text h1 { font-size: 1.5rem; }
  .cart-drawer { width: 100vw; }
}

/* =====================================================
   GALERIA SOBRE
   ===================================================== */
.about-visual-side { display: flex; flex-direction: column; gap: 0; }

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-gallery img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
  cursor: pointer;
}
.about-gallery img:hover { transform: scale(1.05); }

/* =====================================================
   HERO IMAGEM DIREITA
   ===================================================== */
.hero-visual-img {
  width: 100%;
  max-width: 400px;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.hero-visual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-gallery img { height: 90px; }
  .hero-visual-img { display: none; }
}
