/* =========================
   PROMOÇÕES
========================= */
.promo-dates {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #d9534f;
  font-weight: 600;
}

/* =========================
   PREÇOS (COM / SEM IVA)
========================= */
.price-tax-info {
  margin-top: 6px;
  line-height: 1.2;
}

.price-tax-excl {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
}

.price-tax-incl {
  font-size: 0.85rem;
  color: #777;
}

.price-tax-excl span,
.price-tax-incl span {
  font-size: 0.7rem;
  margin-left: 4px;
}

/* =========================
   TÍTULO PRODUTO (4 LINHAS)
========================= */
.product-title {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  min-height: 5.2em;
}

.product-title a {
  white-space: normal !important;
}

/* =========================
   BOTÃO DESIGN (VERDE MARCA)
========================= */
.add-to-cart,
.view-product {
  background: linear-gradient(135deg, #007139, #00994d);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  min-width: 140px;
}

.add-to-cart:hover,
.view-product:hover {
  background: linear-gradient(135deg, #005a2e, #007139);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* =========================
   OVERLAY BOTÃO (IMAGEM)
========================= */
.thumbnail-top {
  position: relative;
}

.product-actions-overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: all 0.3s ease;
  width: 80%;
  text-align: center;
  z-index: 4;
}

.thumbnail-container:hover .product-actions-overlay {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-actions-overlay .btn {
  width: 100%;
}

/* =========================
   QUICK VIEW (CORREÇÃO)
========================= */
.highlighted-informations {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: auto;
  z-index: 3;
  pointer-events: none;
}

.highlighted-informations .quick-view {
  pointer-events: auto;
}

/* =========================
   EFEITO CARD (HOVER PRODUTO)
========================= */
.product-miniature {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-miniature:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* =========================
   HEADER LIMPO E ALINHADO
========================= */

/* reduzir altura */
.header-top {
  padding: 8px 0;
  overflow: visible;
}

/* alinhar linha */
.header-top .row {
  display: flex;
  align-items: center;
}

/* LOGO */
#_desktop_logo img {
  max-height: 55px;
  width: auto;
}

/* BANNER (pagamentos) */
.header-banner-inline {
  flex: 1;
  text-align: center;
}

.header-banner-inline img {
  max-height: 40px;
  width: auto;
  max-width: 100%;
}

/* ZONA DIREITA */
.header-top-right {
  margin-left: auto;
}

/* garantir largura */
.header-top-right > * {
  width: 100%;
}

/* SEARCH alinhado */
.header-top-right form {
  display: flex;
  justify-content: flex-end;
}

/* largura mínima do campo */
.header-top-right form input {
  min-width: 260px;
}

/* =========================
   REMOVER AVALIAÇÕES (SEM PARTIR LAYOUT)
========================= */

/* remove blocos de reviews */
.header-top [class*="review"],
.header-top [class*="rating"],
.header-top [class*="testimonial"] {
  display: none !important;
}

/* remove estrelas isoladas */
.header-top i[class*="star"],
.header-top .star,
.header-top .stars {
  display: none !important;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  /* reorganizar header */
  .header-top .row {
    flex-direction: column;
    text-align: center;
  }

  #_desktop_logo {
    margin-bottom: 5px;
  }

  .header-banner-inline {
    margin: 5px 0;
  }

  .header-banner-inline img {
    max-height: 30px;
  }

  .header-top-right {
    margin-left: 0;
    width: 100%;
  }

  .header-top-right form {
    justify-content: center;
  }

  /* overlay vira botão normal */
  .product-actions-overlay {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    width: 100%;
    margin-top: 10px;
  }

  .thumbnail-container:hover .product-actions-overlay {
    transform: none !important;
    opacity: 1 !important;
  }

  .product-actions-overlay .btn {
    width: 100%;
    font-size: 0.95rem;
  }

  .product-miniature:hover {
    transform: none;
    box-shadow: none;
  }
}