
/* === Modern WooCommerce Product Card Design (Polished) === */

/* --- Container --- */
ul.products li.product {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Hover effect */
  ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  }
  
  /* --- Image Styling --- */
  ul.products li.product img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  ul.products li.product:hover img {
    transform: scale(1.03);
  }
  
  /* --- Title --- */
  ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    color: #222;
    margin-top: 12px;
    margin-bottom: 6px;
    line-height: 1.3;
    transition: color 0.2s ease;
  }
  
  ul.products li.product:hover h2.woocommerce-loop-product__title {
    color: #1e90ff;
  }
  
  /* --- Brand --- */
  ul.products li.product .product-brand {
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 6px;
  }
  
  /* --- Price and Button Wrapper --- */
  ul.products li.product .product-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
  }
  
  /* --- Price Styling --- */
  ul.products li.product .price {
    font-size: 1rem;
    font-weight: 700;
    color: #1e88e5;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    text-align: center;
    transition: background 0.2s ease;
  }
  
  /* --- Badges Container --- */
  ul.products li.product .woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  ul.products li.product .product-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
  }
  
  /* --- Species / THC / CBD Badges --- */
  .product-species,
  .product-thc,
  .product-cbd {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #f0f2f5;
    color: #333;
    transition: all 0.2s ease-in-out;
  }
  
  .product-species.Hybrid {
    background-color: #e0f7fa;
    color: #00796b;
  }
  
  .product-species.Sativa {
    background-color: #fff3e0;
    color: #ef6c00;
  }
  
  .product-species.Indica {
    background-color: #f3e5f5;
    color: #6a1b9a;
  }
  
  .product-thc {
    background-color: #ffe0e0;
    color: #c62828;
  }
  
  .product-cbd {
    background-color: #e8f5e9;
    color: #2e7d32;
  }
  
  /* --- Add to Cart Button --- */
  ul.products li.product a.button.add_to_cart_button {
    background: linear-gradient(135deg, #1e88e5, #1565c0);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
    margin: 10px;
  }
  
  ul.products li.product a.button.add_to_cart_button:hover {
    background: #0d47a1;
    transform: scale(1.03);
  }
  
  /* --- Responsive Tweaks --- */
  @media (max-width: 768px) {
    ul.products li.product {
      padding: 16px 12px;
    }
  
    ul.products li.product h2.woocommerce-loop-product__title {
      font-size: 0.95rem;
    }
  
    ul.products li.product .price {
      font-size: 0.9rem;
    }
  
    .product-species,
    .product-thc,
    .product-cbd {
      font-size: 0.7rem;
      padding: 4px 10px;
    }
  }
  