/*
Arquivo: page-produtos.css
Para o template: page-produtos.php
*/
/* (seu CSS inteiro permanece igual) */
    .category-section { padding: 60px 20px; background-color: #fff; }
    .category-container { max-width: 1200px; margin: 0 auto; text-align: center; }
    .category-container h1 { font-size: 2.5em; margin-bottom: 20px; color: #333; }
    .category-container p { font-size: 1.2em; margin-bottom: 40px; color: #a7a5a5; }
    .category-description { font-size: 1.1em; color: #555; margin-bottom: 30px; line-height: 1.6; text-align: left; background-color: #f9f9f9; padding: 15px 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); max-width: 100%; word-wrap: break-word; }
    .product-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; justify-items: center; }
    .product-item { text-align: center; max-width: 300px; width: 100%; padding: 20px; border: 1px solid #ddd; border-radius: 8px; transition: transform 0.3s ease; display: flex; flex-direction: column; justify-content: space-between; }
    .product-item:hover { transform: translateY(-5px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
    .image-wrapper { position: relative; width: 100%; height: 200px; overflow: hidden; margin-bottom: 15px; }
    .zoomable-image { height: 100%; object-fit: cover; border-radius: 5px; cursor: pointer; }
    .product-title a { color: #8b8b8b; text-decoration: none; }
    .product-title a:hover { color: #e74c3c; }
    .product-item h3 { font-size: 1.5em; color: #333; margin-bottom: 15px; flex-grow: 1; }
    .product-description { font-size: 1em; color: #666; margin-bottom: 15px; line-height: 1.4; flex-grow: 1; text-align: left; }
    .product-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 15px; }
    /* Botão de curtir — clean (sem borda, sem fundo) */
.like-btn{
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

/* Ícone */
.like-btn .like-icon{
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
}

/* SVG padrão (não curtido) */
.like-btn svg{
  width: 26px;
  height: 26px;

  fill: transparent;
  stroke: rgba(231, 76, 60, 1);
  stroke-width: 2;

  transition: transform .15s ease, fill .2s ease, stroke .2s ease;
}

/* Hover → coração preenchido */
.like-btn:hover svg{
  fill: rgba(231, 76, 60, 1);
  background: transparent;
    border: none;
}

/* Curtido → coração preenchido */
.like-btn.liked svg{
  fill: rgba(231, 76, 60, 1);
}

/* Micro animação */
.like-btn.liked:hover svg{
  transform: scale(1.08);
  background: transparent;
    border: none;
}

/* Animação ao clicar */
.like-btn.is-animating svg{
  animation: like-pop .35s ease;
}

@keyframes like-pop{
  0%{ transform: scale(1); }
  40%{ transform: scale(1.25); }
  100%{ transform: scale(1.08); }
}

/* Acessibilidade */
.like-btn:focus-visible{
  outline: none;
}


    .quantity-add { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
    .quantity-control { display: flex; align-items: center; gap: 5px; }
    .quantity-input { width: 60px; padding: 5px; border: 1px solid #ddd; border-radius: 4px; text-align: center; }
    .quantity-btn { background-color: #ddd; border: none; padding: 5px 10px; cursor: pointer; font-size: 1em; border-radius: 4px; }
    .quantity-btn:hover { background-color: #bbb; }
    .add-to-budget { background-color: #e74c3c; color: #fff; border: none; padding: 8px 15px; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; width: 100%; max-width: 200px; }
    .add-to-budget:hover { background-color: #c0392b; }
    .zoom-modal .swal2-image { max-width: 90vw; max-height: 90vh; border-radius: 5px; }

    @media (max-width: 768px) {
        .category-section { padding: 40px 15px; }
        .category-container h1 { font-size: 2em; }
        .category-container p { font-size: 1em; }
        .category-description { font-size: 1em; margin-bottom: 20px; padding: 10px 15px; }
        .product-list { grid-template-columns: 1fr; }
        .product-item { max-width: 100%; }
        .product-description { font-size: 0.9em; margin-bottom: 10px; }
        .image-wrapper { height: 180px; }
        .add-to-budget { max-width: 100%; }
    }

    @media (min-width: 1200px) {
        .category-description { font-size: 1.2em; padding: 20px 25px; }
    }
    
    .product-title a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.detail-icon{
  font-size: 14px;
  line-height: 1;
  opacity: .7;
}
.product-title a:hover .detail-icon{
  opacity: 1;
  text-decoration: none;
}
