/* === Catálogo: grid 2 colunas e ajustes wishlist (mobile) === */
@media (max-width: 768px) {
  ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 0 !important;
  }
  ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
  }
  ul.products li.product .post_featured a,
  ul.products li.product .post_featured img,
  ul.products li.product a img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  ul.products li.product .yith-wcwl-add-to-wishlist {
    position: absolute !important;
    top: 8px; right: 8px;
    margin: 0 !important;
    transform: none !important;
    z-index: 3;
  }
  ul.products li.product .yith-wcwl-add-to-wishlist a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
  }
  ul.products li.product .yith-wcwl-add-to-wishlist .yith-wcwl-add-button > span,
  ul.products li.product .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse > span,
  ul.products li.product .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse > span {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }
}

/* === Cards compactos (lista alternativa) === */
@media (max-width:560px){
  :root{
    --ink:#111827;
    --muted:#6b7280;
    --stroke:#e5e7eb;
    --brand:#FFB000;
    --pix:#0a7a34;
  }
  .list_products .products{ display:grid !important; grid-template-columns:1fr; gap:12px; }
  .products .product .post_item.post_layout_thumbs{
    background:#fff; border:1px solid var(--stroke); border-radius:12px; overflow:hidden;
  }
  .products .product .post_featured{ aspect-ratio:1/1; background:#fff; border:0; border-radius:0; margin:0; box-shadow:none; }
  .products .product .post_featured img{ width:100%; height:100%; object-fit:cover; }
  .products .product .post_featured .mask,
  .products .product .post_featured .icons{ display:none !important; }
  .products .product .post_data{ padding:12px; text-align:center; }
  .products .product .post_data .post_data_inner{ padding:0 !important; }
  .products .product .woocommerce-loop-product__title{
    margin:0 0 8px !important; line-height:1.3; font-size:13px !important; font-weight:600; color:var(--ink);
  }
  .products .product .woocommerce-loop-product__title a{
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    min-height:calc(1.3em * 2); padding:0 6px;
  }
  .products .product .price_wrap{ margin:0 0 8px; }
  .products .product .woo-custom-installments-group{
    display:flex; flex-direction:column; gap:4px; align-items:center; text-align:center;
  }
  .products .product .woo-custom-installments-group .woocommerce-Price-amount{
    font-size:15px !important; font-weight:800; color:var(--ink) !important;
  }
  .products .product .woo-custom-installments-card-container{ width:100%; text-align:center; }
  .products .product .woo-custom-installments-card-container .woo-custom-installments-details-without-fee{
    display:inline-block; padding:0 6px; font-size:12px; font-weight:600; color:var(--muted);
    white-space:nowrap;
  }
  .products .product .woo-custom-installments-card-container i{ display:none; }
  .products .product .woo-custom-installments-offer{
    background:transparent; padding:0 6px; display:inline-block; text-align:center;
    font-size:12px; font-weight:700; color:var(--pix); margin-top:4px;
  }
  .products .product .woo-custom-installments-offer i{ display:none; }
  .products .product .woo-custom-installments-offer span{ color:var(--pix); font-weight:700; }
  .products .product .woo-custom-installments-offer .discounted-price .woocommerce-Price-amount{ font-weight:800; }
  .products .product .post_data .button.add_to_cart_button{
    width:100%; border:0; border-radius:10px; padding:10px 12px;
    font-weight:700; font-size:12.5px; background:var(--brand) !important; color:#fff; margin-top:8px;
  }
}
.products .product .woo-custom-installments-group,
.products .product .woo-custom-installments-group *{ max-width:100% !important; box-sizing:border-box; }
