/* -----------------------------------------------------------
   PRODUTOS (cards 223x502)
----------------------------------------------------------- */
.product-card {
  width: 223px;
  height: 502px;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .28s;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card .product-media {
  height: 300px;
  overflow: hidden;
}

.product-card .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card .product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card .product-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.product-card .product-price {
  font-size: 1.15rem;
  color: #E00917;
  font-weight: 900;
}

.product-card .product-install {
  font-size: .95rem;
  color: #6b7280;
}

.product-card .buy {
  margin-top: auto;
  padding: 12px;
  border-radius: 8px;
  background: #E00917;
  color: #fff;
  border: 0;
  font-weight: 900;
  text-align: center;
  display: inline-block;
}

/* -----------------------------------------------------------
   GRID DE BANNERS GERAIS (WooCommerce)
----------------------------------------------------------- */

.shop-hero {
  padding: 28px 0;
}

.shop-title {
  font-family: Georgia, serif;
  font-size: 28px;
  margin: 0;
}

.banners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ou o que você tiver */
  gap: 20px;
  margin-bottom: 60px !important; /* abre espaço REAL abaixo */
  position: relative;
  z-index: 1;
}


.banner {
  width: 100%;
  text-align: center;
}

.banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.shop-products {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 12px 0;
}

@media(max-width:900px) {
  .product-card {
    flex: 0 0 46%;
  }
  .banners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.featured-products-section {
  clear: both;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

/* -----------------------------------------------------------
   BANNERS DA FRONT-PAGE (título abaixo com efeitos premium)
----------------------------------------------------------- */

/* remove qualquer overlay herdado do WooCommerce */
.categories-banners .banner .banner-label,
.categories-banners .banner .banner-overlay {
  display: none !important;
}

/* wrapper do banner — permite o título aparecer FORA */
.categories-banners .banner {
  text-align: center;
  overflow: visible !important; /* <--- ESSENCIAL! permite que o título apareça */
  position: relative;
  z-index: 1;
}

/* LINK que envolve a imagem */
.categories-banners .banner-link {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  z-index: 2;
}

/* imagem animada */
.categories-banners .banner img {
  width: 100%;
  height: 194px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.categories-banners .banner:hover img {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* -----------------------------------------------------------
   TÍTULO FORA DO BANNER — AGORA FUNCIONANDO
----------------------------------------------------------- */

.banner-label-below {
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #000 !important;          /* força preto */
  display: block !important;       /* impede ocultação */
  position: relative;
  text-align: center;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 5 !important;            /* sempre acima da imagem */
}

/* underline animado */
.banner-label-below::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: #000 !important;
  transition: width 0.45s cubic-bezier(.19,1,.22,1);
}

.banner:hover .banner-label-below::after {
  width: 100%;
}

/* Botão Adicionar ao Carrinho — Single Product */
.single-product-summary .single_add_to_cart_button,
.add_to_cart_button {
  background: #E00917 !important;
  color: #fff !important;
  font-weight: 900;
  padding: 14px 22px;
  border-radius: 8px;
  border: none !important;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Forçar cor vermelha em TODOS os botões Add To Cart */
.add_to_cart_button,
.single_add_to_cart_button,
.button.add_to_cart_button,
.button.product_type_simple,
.button.product_type_variable,
a.add_to_cart_button,
a.single_add_to_cart_button {
  background-color: #E00917 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  border: none !important;
  padding: 14px 22px !important;
  box-shadow: 0 4px 18px rgba(0,0,0,.12) !important;
}

.add_to_cart_button:hover,
.single_add_to_cart_button:hover,
.button.add_to_cart_button:hover,
.button.product_type_simple:hover,
.button.product_type_variable:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(0,0,0,.18) !important;
  background-color: #c40714 !important;
}

/* Preço regular (quando não há desconto) */
.product .price,
.product-card .product-price,
.woocommerce div.product p.price,
.woocommerce ul.products li.product .price {
  color: #000 !important;
  font-weight: 900;
}

/* Preço antigo (riscado) — preto */
.price del span,
.product .price del,
.woocommerce div.product p.price del {
  color: #000 !important;
  opacity: 0.75;
}

/* Preço promocional (ins) — verde */
.price ins span,
.product .price ins,
.woocommerce div.product p.price ins {
  color: #16a34a !important; /* verde elegante */
  font-weight: 900 !important;
}


/* Texto do estoque em preto */
.stock,
.in-stock,
.out-of-stock {
  color: #fffdfd !important;
  font-weight: 600;
}

/* Aplica Montserrat globalmente aos preços */
.price,
.price span,
.product .price,
.woocommerce div.product p.price,
.woocommerce ul.products li.product .price,
.price del span,
.price ins span {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 22px !important;
  line-height: 1.2em !important;
}


/* Preço normal (sem promoção) — PRETO */
.price,
.product .price,
.woocommerce div.product p.price {
  color: #000 !important;
  font-weight: 900 !important;
}

/* Preço antigo (riscado) — preto suave */
.price del span,
.product .price del,
.woocommerce div.product p.price del {
  color: #000 !important;
  opacity: 0.75 !important;
}

/* Preço promocional — VERDE */
.price ins span,
.product .price ins,
.woocommerce div.product p.price ins {
  color: #16a34a !important;
  font-weight: 900 !important;
}

/* Wrapper para alinhar quantidade + botão */
.single-product-summary form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 20px;
}

/* Botão menor */
.single-product-summary .single_add_to_cart_button {
  background: #E00917 !important;
  color: #fff !important;
  font-weight: 900;
  padding: 10px 18px !important;
  font-size: 14px !important;
  border-radius: 8px;
  border: none !important;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  transition: .25s;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
}

/* Campo de quantidade */
.single-product-summary .quantity input.qty {
  height: 42px !important;
  padding: 8px !important;
  font-size: 16px;
  border-radius: 8px;
}

/* Categoria do produto */
.single-product-summary .product-category {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #6b7280 !important; /* cinza moderno */
  margin-bottom: 12px !important;
  display: block;
  font-family: 'Montserrat', sans-serif !important;
}

/* link das categorias */
.single-product-summary .product-category a {
  color: #6b7280 !important;
  text-decoration: none;
}

.single-product-summary .product-category a:hover {
  color: #000 !important;
}
/* Fonte Montserrat global */
body, button, input, select, textarea {
  font-family: 'Montserrat', sans-serif !important;
}

/* Preços */
.price del {
  color: #000 !important; /* valor cheio preto */
}
.price ins {
  color: #1ca61c !important; /* preço com desconto verde */
}

/* Estoque */
.stock {
  color: #ffffff !important;
}

/* Categoria abaixo do título */
.product_meta .posted_in a {
  font-size: 18px;
  color: #333;
  font-weight: 500;
}
.product_meta .posted_in {
  margin-top: 8px;
}

/* Wrapper da quantidade + botão add */
.quantity,
.single_add_to_cart_button {
  height: 45px !important;
}

/* Botão Adicionar ao Carrinho (não redireciona) */
.single_add_to_cart_button {
  background: #e60000 !important;  /* vermelho */
  color: #fff !important;
  border-radius: 8px !important;
  padding: 0 22px !important;
  font-size: 18px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reduzir tamanho do botão */
.single_add_to_cart_button {
  height: 42px !important;
}

/* Alinhar quantidade e botão */
.cart button,
.quantity {
  vertical-align: middle !important;
}

/* Botão COMPRAR (ir para carrinho) */
a.buy-now-button {
  display: block;
  margin-top: 12px;
  background: #d90000;
  color: #fff;
  padding: 14px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

/* Sombras sutis nas divs */
.summary div {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Ajuste do botão Adicionar ao Carrinho */
.single_add_to_cart_button,
button.single_add_to_cart_button,
.single-product .cart .button,
.single-product .cart button,
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart button {
    height: 42x !important;
    line-height: 30px !important; /* centraliza verticalmente */
    font-size: 11px !important;
    padding: 0 12px !important; /* mantém o texto com respiro horizontal */
    text-align: center !important; /* centraliza horizontalmente */
    border-radius: 6px !important;
    display: inline-flex !important; 
    align-items: center !important; /* garante alinhamento vertical */
    justify-content: center !important; /* garante alinhamento horizontal */
}

/* Forçar imagem principal do produto com tamanho fixo e responsivo */
.prolar-gallery {
    width: 100%;
}

.prolar-gallery .woocommerce-product-gallery,
.prolar-gallery .woocommerce-product-gallery__wrapper,
.prolar-gallery .woocommerce-product-gallery__image,
.prolar-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 400px !important; /* ajuste aqui se quiser maior ou menor */
    max-height: 400px !important;
    object-fit: contain !important; /* mantém proporção, sem cortar */
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove underline do preço promocional */
.price ins,
.price ins span,
.product .price ins,
.product .price ins span,
.woocommerce div.product p.price ins {
    text-decoration: none !important;
}

.fixed-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
}

.fixed-price del {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-right: 6px;
}

.fixed-price ins {
    text-decoration: none;
    color: #e53935;
    font-size: 1.1rem;
}

/* 🔥 Remove limite que quebra mobile */
.ProductCard_productCard__MwY4X {
    max-width: 100% !important;
    width: 100% !important;
}

/* Grid dos produtos */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Tablet */
@media (max-width: 900px) {
    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Desktop continua flex */
.mv-topbar {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Mobile */
@media (max-width: 768px) {
    .mv-topbar {
        display: block !important;
    }
}

