/* Bellan Suite Peças v3.0
   ========================================================== */

/* Fix: impede overflow horizontal em carousels */
html, body { overflow-x: hidden; }

/* ══════════════════════════════════════════════════════════
   CARDS — TÍTULO PADRONIZADO E CENTRALIZADO
   Estratégia mínima: só title clamp + centralização
   ══════════════════════════════════════════════════════════ */

/* Título: máx 2 linhas, sem min-height para não empurrar o botão */
ul.products li.product .premium-woo-product__link {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
}

/* Preço centralizado */
ul.products li.product .price,
ul.products li.product span.price {
  text-align: center;
}

/* ── Animação de entrada dos cards ── */
@keyframes bellanFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
ul.products li.product {
  animation: bellanFadeUp 0.38s ease both;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}
ul.products li.product:nth-child(1)  { animation-delay: 0.00s; }
ul.products li.product:nth-child(2)  { animation-delay: 0.07s; }
ul.products li.product:nth-child(3)  { animation-delay: 0.13s; }
ul.products li.product:nth-child(4)  { animation-delay: 0.19s; }
ul.products li.product:nth-child(n+5){ animation-delay: 0.23s; }

/* ── Hover no card: sobe + sombra ── */
ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}

/* ── Zoom suave na imagem ── */
ul.products li.product .premium-woo-product-thumbnail a img {
  transition: transform 0.3s ease;
  display: block;
}
ul.products li.product:hover .premium-woo-product-thumbnail a img {
  transform: scale(1.05);
}

/* ── Botão "Adicionar ao carrinho" animado ── */
ul.products li.product .premium-woo-atc-button a,
ul.products li.product .button,
ul.products li.product a.button {
  transition: filter 0.18s ease, transform 0.15s ease !important;
}
ul.products li.product .premium-woo-atc-button a:hover,
ul.products li.product .button:hover,
ul.products li.product a.button:hover {
  filter: brightness(1.12) !important;
  transform: translateY(-2px) !important;
}

/* ══════════════════════════════════════════════════════════
   PÁGINA DE PRODUTO INDIVIDUAL
   ══════════════════════════════════════════════════════════ */

/* Badges de confiança abaixo do carrinho */
.bellan-single-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}
.bellan-single-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #444;
}
.bellan-single-trust-item svg {
  flex-shrink: 0;
}

/* Destaque no preço PIX (melhorar visibilidade) */
.woocommerce div.product .pix-price,
.woocommerce div.product [class*="pix"],
.woocommerce div.product .estore_pix_price {
  background: #e8f5e9;
  border-radius: 6px;
  padding: 4px 10px;
  display: inline-block;
  font-weight: 700;
  color: #1b7a3e;
}

/* Botão adicionar ao carrinho — hover */
.woocommerce div.product .single_add_to_cart_button,
.woocommerce div.product button.single_add_to_cart_button {
  transition: filter 0.18s ease, transform 0.15s ease !important;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
}

/* Galeria de produto — zoom suave */
.woocommerce-product-gallery__image img {
  transition: transform 0.3s ease;
}
.woocommerce-product-gallery__image:hover img {
  transform: scale(1.03);
}

/* Thumbnails da galeria — hover */
.woocommerce-product-gallery__thumbs .swiper-slide {
  opacity: 0.7;
  transition: opacity 0.2s ease;
  cursor: pointer;
}
.woocommerce-product-gallery__thumbs .swiper-slide:hover,
.woocommerce-product-gallery__thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

/* ── Pulso no botão WhatsApp ── */
@keyframes bellanWaPulse {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,0.5); }
  50%     { box-shadow: 0 4px 28px rgba(37,211,102,0.8),
                        0 0 0 8px rgba(37,211,102,0.15); }
}
.bellan-wa-float {
  animation: bellanWaPulse 2.5s ease-in-out infinite !important;
}
.bellan-wa-float:hover {
  animation-play-state: paused !important;
}

/* ── BARRA CONFIANÇA (rodapé fixo) ── */
body .bellan-trust-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9000 !important;
  background: #111 !important;
  padding: 8px 0 !important;
  border-top: 2px solid #e11212 !important;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.3) !important;
}
body .bellan-trust-bar-inner {
  display: flex !important;
  gap: 20px !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  overflow: hidden !important;
}
body .bellan-trust-item {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #fff !important;
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  opacity: 0.9 !important;
}
body { padding-bottom: 44px !important; }

/* ── WHATSAPP FLUTUANTE ── */
.bellan-wa-float {
  position: fixed !important;
  bottom: 56px !important;
  right: 20px !important;
  z-index: 9001 !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45) !important;
  animation: bellanWaPulse 2.5s infinite !important;
  transition: transform 0.2s !important;
}
.bellan-wa-float:hover { transform: scale(1.1) !important; }
.bellan-wa-float svg {
  width: 28px !important;
  height: 28px !important;
  fill: #fff !important;
}
@media (max-width: 768px) {
  .bellan-wa-float { bottom: 60px !important; right: 12px !important; width: 48px !important; height: 48px !important; }
  body .bellan-trust-bar-inner { gap: 10px !important; }
  body .bellan-trust-item { font-size: 0.68rem !important; }
}

/* ══════════════════════════════════════════════════════════
   MELHORIAS v4.0 — Profissionalismo e Conversão
   ══════════════════════════════════════════════════════════ */

/* ── 1. NORMALIZA TÍTULOS: tira o ALL-CAPS dos produtos ── */
.woocommerce-loop-product__title,
ul.products li.product .premium-woo-product__link,
.woocommerce div.product .product_title,
.entry-title.product_title {
  text-transform: none !important;
  letter-spacing: -0.01em;
}

/* ── 2. CARD DA LOJA — altura consistente e visual limpo ── */
ul.products li.product {
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Imagem do card — altura fixa para alinhar grid */
ul.products li.product a img,
ul.products li.product .woocommerce-LoopProduct-link img {
  width: 100% !important;
  height: 220px !important;
  object-fit: contain !important;
  background: #f8f8f8;
  padding: 12px;
}

/* Título do card — 2 linhas com reticências */
ul.products li.product h2.woocommerce-loop-product__title,
ul.products li.product .premium-woo-product__link {
  font-size: 0.85rem !important;
  min-height: 2.8em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.4 !important;
  padding: 8px 12px 4px !important;
  font-weight: 500 !important;
  color: #222 !important;
  text-align: left !important;
}

/* Preço no card — destaque */
ul.products li.product .price {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #e11212 !important;
  padding: 0 12px !important;
  text-align: left !important;
}

/* PIX no card da loja — destaque verde */
ul.products li.product .pix-price,
ul.products li.product [class*="pix"],
ul.products li.product .woocommerce-Price-pix,
ul.products li.product .parcelas-pix {
  background: #f0faf3 !important;
  border: 1px solid #b6e8c3 !important;
  border-radius: 6px !important;
  padding: 5px 10px !important;
  margin: 4px 12px !important;
  font-size: 0.8rem !important;
  color: #1a7a3a !important;
  display: block !important;
}

/* Botão Adicionar ao Carrinho — destacado, vermelho, cheio */
ul.products li.product .button.add_to_cart_button,
ul.products li.product a.button {
  background: #e11212 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  width: calc(100% - 24px) !important;
  margin: 6px auto 12px !important;
  padding: 10px 0 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  display: block !important;
  transition: background 0.2s, transform 0.15s !important;
}
ul.products li.product a.button:hover {
  background: #b80e0e !important;
  transform: translateY(-1px) !important;
}

/* ── 3. PÁGINA DE PRODUTO — melhorias de layout ── */

/* Título do produto */
.woocommerce div.product .product_title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #111 !important;
}

/* Preço do produto */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  color: #e11212 !important;
}

/* Badge Em Estoque — verde */
.woocommerce div.product .stock.in-stock {
  color: #1a7a3a !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}

/* Botão Adicionar ao Carrinho na página de produto */
.single-product .single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button {
  background: #e11212 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border: none !important;
  transition: background 0.2s, transform 0.15s !important;
  letter-spacing: 0.02em !important;
}
.single-product .single_add_to_cart_button:hover {
  background: #b80e0e !important;
  transform: translateY(-2px) !important;
}

/* Botão Comprar no WhatsApp — verde e consistente */
.lkn-whatsapp-buy-button {
  background: #25D366 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  border: none !important;
  transition: background 0.2s !important;
}
.lkn-whatsapp-buy-button:hover { background: #128C7E !important; }

/* ── 4. TRUST BAR — fixa no fundo, não sobrepõe ── */
.bellan-trust-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9000 !important;
  background: #111 !important;
  padding: 8px 0 !important;
  border-top: 2px solid #e11212 !important;
}
.bellan-trust-bar-inner {
  display: flex !important;
  gap: 24px !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
}
.bellan-trust-item {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #fff !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}
/* Espaço extra no fundo da página para a trust bar não esconder conteúdo */
body { padding-bottom: 46px !important; }

/* ── 5. WHATSAPP FLUTUANTE — posição ajustada para não conflitar ── */
.bellan-wa-float {
  bottom: 60px !important;
  right: 20px !important;
  z-index: 9001 !important;
}

/* ── 6. ABAS DO PRODUTO — visual mais limpo ── */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #e11212 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
  border-bottom-color: #e11212 !important;
  border-top-color: #e11212 !important;
}

/* ── 7. PÁGINA DE PRODUTO — breadcrumb mais sutil ── */
.woocommerce-breadcrumb {
  font-size: 0.8rem !important;
  color: #888 !important;
  margin-bottom: 8px !important;
}
.woocommerce-breadcrumb a { color: #888 !important; }
.woocommerce-breadcrumb a:hover { color: #e11212 !important; }

/* ── 8. REMOVE ESPAÇOS EXCESSIVOS NA PÁGINA DE PRODUTO ── */
.woocommerce div.product div.images { margin-bottom: 0 !important; }
.woocommerce-product-gallery { border-radius: 10px; overflow: hidden; }

/* ── 9. MOBILE: ajusta trust bar e floating WA ── */
@media (max-width: 768px) {
  .bellan-trust-bar-inner { gap: 12px !important; }
  .bellan-trust-item { font-size: 0.72rem !important; }
  body { padding-bottom: 52px !important; }
  .bellan-wa-float { bottom: 64px !important; right: 12px !important; }
  ul.products li.product a img { height: 160px !important; }
}

/* ── 10. OCULTA BANNERS/SEÇÕES INDESEJADAS ── */
section.bl-cro { display: none !important; }
