/**
* Theme Name: Fazfood Child
* Description: This is a child theme of Fazfood, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: fazfood
* Version: 1.1.7
*/

ul.products li.product {
  background: #ffffff !important;
  border-radius: 10px !important;
  border-bottom: 1px solid #e0e0e0 !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
  overflow: visible !important;
  display: block !important;
}
ul.products li.product .product-block-list {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  background-color: transparent !important;
  padding: 10px 14px !important;
  gap: 14px !important;
  width: 100% !important;
}
ul.products li.product .left {
  flex-shrink: 0 !important;
  width: 90px !important;
  height: 80px !important;
}
ul.products li.product .left img {
  width: 90px !important;
  height: 80px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
}
ul.products li.product .right {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
  background: transparent !important;
  text-align: left !important;
}
ul.products li.product h3.woocommerce-loop-product__title,
ul.products li.product h3.woocommerce-loop-product__title a {
  color: #1a1a1a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  text-align: left !important;
}
ul.products li.product .faz-short-desc {
  color: #777777 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  margin: 0 0 2px !important;
  display: block !important;
  text-align: left !important;
}
ul.products li.product span.price {
  color: #e03030 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: left !important;
  background: transparent !important;
  display: block !important;
  margin-bottom: 4px !important;
}
ul.products li.product .faz-cart-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 4px !important;
  gap: 8px !important;
}
ul.products li.product .faz-qty-wrap {
  display: flex !important;
  align-items: center !important;
  border: 1px solid #dddddd !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}
ul.products li.product .faz-qty-btn {
  background: #f5f5f5 !important;
  border: none !important;
  width: 28px !important;
  height: 28px !important;
  font-size: 16px !important;
  cursor: pointer !important;
  color: #333333 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}
ul.products li.product .faz-qty-input {
  width: 32px !important;
  text-align: center !important;
  border: none !important;
  border-left: 1px solid #dddddd !important;
  border-right: 1px solid #dddddd !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #333333 !important;
  background: #ffffff !important;
  height: 28px !important;
  padding: 0 !important;
}
ul.products li.product .faz-add-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #3ac27c !important;
  color: transparent !important;
  border-radius: 9px !important;
  width: 40px !important;
  height: 40px !important;
  font-size: 0 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}
ul.products li.product .faz-add-btn::before {
  content: "" !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") no-repeat center / contain !important;
}
ul.products li.product .count-review { display: none !important; }
ul.products li.product a.add_to_cart_button:not(.faz-add-btn) { display: none !important; }


/* Fix layout para widgets sin .left/.right */
ul.products li.product .product-block-list-1 {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  padding: 10px 14px !important;
  gap: 14px !important;
  width: 100% !important;
  background: transparent !important;
}

/* Ocultar botones grandes de qty del tema original */
ul.products li.product .fazfood-add-to-cart {
  display: none !important;
}

/* Fix el + suelto */
ul.products li.product a.ajax_add_to_cart:not(.faz-add-btn) {
  display: none !important;
}

/* Botones de cantidad pequeños */
ul.products li.product .faz-qty-btn {
  width: 28px !important;
  height: 28px !important;
  font-size: 14px !important;
  background: #f5f5f5 !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
}