/* 
 * Estilos minimalistas para tarjetas de producto WooCommerce
 * Sin animaciones ni efectos complejos para mantener un diseño limpio
 * Enfoque en la legibilidad y la simplicidad
 */

/* Estilos básicos para la tarjeta de producto - Puedes moverlos a tu archivo CSS principal */
.product-card {
    list-style: none;
    margin-bottom: 20px;
    /* Sin efectos de transformación para un diseño más minimalista */
}

.product-container {
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.product-card:hover .product-container {
    border-color: #ddd;
}

.product-image-container {
    position: relative;
    overflow: hidden; /* Necesario para ocultar el botón fuera del contenedor */
}

.product-image-link {
    display: block;
}

/* Estilos para el botón deslizable del carrito */
.cart-button.slide-in {
    position: absolute;
    bottom: 15px;
    right: -50px; /* Inicialmente fuera de la vista */
    width: 40px;
    height: 40px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    text-decoration: none;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cart-icon {
    font-size: 20px;
    font-weight: bold;
}

/* Animación para deslizar el botón al pasar el mouse sobre el producto */
.product-container:hover .cart-button.slide-in {
    right: 15px;
}.onsale-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #e63946;
  color: white;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 15px;
}

.product-details {
  padding: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.woocommerce-loop-product__title {
  font-size: 16px;
  margin-bottom: 10px;
}

.woocommerce-loop-product__title a {
  color: #333;
  text-decoration: none;
}

.product-categories {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.price-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.price {
  font-weight: bold;
}

.product-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.add_to_cart_button {
  background-color: #333;
  color: white;
  padding: 8px 15px;
  text-align: center;
  border: none;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  /* Eliminar transiciones animadas */
  transition: none;
}

.view-product {
  text-align: center;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  /* Sin subrayado al pasar el ratón para mantener minimalismo */
}

.view-product:hover {
  color: #333;
}

/* Estado de foco para accesibilidad sin animaciones */
.product-card.is-focused .product-container {
  outline: 1px solid #333;
  border-color: #333;
}

@media (max-width: 768px) {
  .woocommerce-loop-product__title {
    font-size: 14px;
  }
}

.variation-select{
  width: 100%;
  padding: 8px;
  border: 1px solid #eee;
  border-radius: 4px;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

.variation-select:focus {
  border-color: #333;
}
