 .single-product .products .product {
    /* height: 330px !important; */
    object-fit: cover;
    width: 100%;
  }
  
  .single-product .products .product .woocommerce-LoopProduct-link .woocommerce-placeholder {
    border-radius: 10px;
    background-color: #EFEFEF;
    aspect-ratio: 600 / 422;
  }
  
  .single-product .products .product .woocommerce-LoopProduct-link .attachment-woocommerce_thumbnail {
    border-radius: 10px;
    background-color: #EFEFEF;
    height: 247px !important;
    object-fit: contain;
  }
  
  .single-product .species-icon {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 60px;
  }
  
  .single-product .species-icon img {
    width: 100%;
    height: auto;
  }
  
  /* Product card styling */
  .single-product .woocommerce ul.products li.product {
    position: relative;
    /* height: 450px; */
    /* border: 1px solid rgb(91, 91, 91); */
    border-radius: 30px;
    padding: 10px !important;
    box-shadow: 0 10px 10px rgba(14,116,91,.12);
  }
  
  /* Product title */
  .single-product .woocommerce-loop-product__title {
    height: 60px;
    min-height: 60px;
    font-size: 16px !important;
    font-weight: 700 !important;
  }
  
  /* Main price div styling */
  .single-product .main_price_div{
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 20px;
    align-items: center;
  }
  
  /* Price per unit styling */
  .single-product .main_price_div .price_per_unit{
    font-size: 24px;
    font-weight: 900;
    color: #a9c685;
  }
  
  /* Info product styling */
  .single-product .main_price_div .info_product{
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    color: #000000;
  }
  
  /* Currency symbol smaller + aligned */
  .woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol{
    font-size: .8em;
    opacity: .85;
    margin-right: 2px;
    vertical-align: top;
  }
  
  /* Crossed regular price on sale, lighter */
  .woocommerce ul.products li.product .price del{
    opacity: .55;
    font-weight: 600;
  }
  .woocommerce ul.products li.product .price ins{
    text-decoration: none;
    color: #0E745B;
    font-weight: 900;
  }
  
  
  /* === Single product price (simple/variable/grouped) === */
  .single-product div.product .summary .price {
    display: inline-block;
    background: #F1FAF6;        
    color: #0E745B;              
    border: 1px solid #CFEDE1;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(14,116,91,.12);
    letter-spacing: .2px;
    font-variant-numeric: tabular-nums;
  }
  
  /* Currency symbol smaller */
  .single-product .summary .price .woocommerce-Price-currencySymbol {
    font-size: .8em;
    opacity: .85;
    margin-right: 2px;
    vertical-align: top;
  }
  
  /* Sale formatting: strike-through regular, strong sale */
  .single-product .summary .price del {
    opacity: .55;
    font-weight: 600;
    margin-right: 6px;
    text-decoration: line-through;
  }
  .single-product .summary .price ins {
    text-decoration: none;
    color: #0E745B;
    font-weight: 900;
  }
  
  /* Variable products: the live selected variation price */
  .single-product .woocommerce-variation-price .price {
    display: inline-block;
    background: #F1FAF6;
    color: #0E745B;
    border: 1px solid #CFEDE1;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(14,116,91,.12);
    font-weight: 800;
  }
  
  /* Grouped products (each child row price) */
  .single-product .woocommerce-grouped-product-list .woocommerce-Price-amount {
    font-weight: 800;
    color: #0E745B;
  }
  
  /* Make Related products start below the image+summary columns */
  .single-product div.product .related,
  .single-product div.product .upsells,
  .single-product div.product .cross-sells{
    clear: both;        /* for float-based themes */
    width: 100%;
    flex-basis: 100%;   /* for flex-based themes */
    margin-top: 32px;
  }
  
  /* Position out-of-stock icons in top-left corner (same as species icons) */
  .single-product .oos-icon,
  .single-product .unavailable-icon {
      position: absolute;
      /* left: -10px;
      top: -10px;
      width: 60px; */
      z-index: 10;
  }
  
  /* Make out-of-stock icon background circular */
  .single-product .oos-icon,
  .single-product .unavailable-icon {
      padding: 8px !important;
      top: 15%;
      /* width: 70px !important;
      height: 90px !important; */
      /* display: flex !important;
      align-items: center !important;
      justify-content: center !important; */
  }
  
  .woocommerce nav.woocommerce-pagination ul li {
    border: 0;
  }
  
  .single-product .elementor-element.elementor-element-b252ca0 nav.woocommerce-pagination {
    margin-top: 0 !important;
  }
  
  
  
  
  
  
  /* ====================================
    Custom Product Actions Styling
  ==================================== */
  .single-product .product-actions{
    display: flex;
    align-items: center;
    height: 50px;
    justify-content: space-between;
  }
  
  /* ====================================
    Custom Add to Cart Button Styling
  ==================================== */
  .single-product .woocommerce ul.products li.product .add_to_cart_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 14px;
    font-size: 14px;
    background-color: #167067 !important;
    color: #fff !important;
    border-radius: 60px;
    text-align: center;
    border: none;
    width: 150px;
    height: 48px;
    margin: 0;;
  }
  
  .added_to_cart.wc-forward {
      display: none !important;
  }
  
  
  /* ====================================
    Custom Quantity Selector Styling
  ==================================== */
  .single-product .woocommerce ul.products li.product .add-to-cart-quantity-nav {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    height: 48px;
    width: 110px;
    padding: 3px;
    text-align: center;
    border: 1px solid green;
    border-radius: 60px !important;
    padding: 0;
    margin-left: 0;
    font-size: 18px;
  }
  
  /* Quantity input field styling */
  .single-product .woocommerce ul.products li.product .add-to-cart-quantity-nav input.qty {
    height: 48px;
    padding: 3px;
    text-align: center;
    padding: 0;
    margin-left: 0;
    font-size: 18px;
    background-color: transparent;
    border: none;
    font-weight: 600;
  
  }
  
  /* Quantity buttons (+ and -) styling */
  .single-product .woocommerce ul.products li.product .add-to-cart-quantity-nav .add-to-cart-quantity-button {
    color: #333;
    width: 50px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    font-size: 25px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-left: 10px;
    margin-right: 10px;
  }
  
  /* Hover effect for quantity buttons */
  .single-product .woocommerce ul.products li.product .add-to-cart-quantity-nav .add-to-cart-quantity-button:hover {
    font-weight: 600;
  }
  
  /* Chrome, Safari, Edge, Opera */
  .add-to-cart-quantity-nav input[type=number]::-webkit-inner-spin-button,
  .add-to-cart-quantity-nav input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
   /* Species icon in top-right corner of product image */

.single-product-species-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 60px;
  z-index: 20;
}

.single-product-species-icon img {
  width: 100%;
  height: auto;
}


/* Quantity input styling to match the image */
.product-actions_single {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

/* Quantity input container */
.product-actions_single .add-to-cart-quantity-nav {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    height: 48px;
    width: 110px;
    padding: 3px;
    text-align: center;
    border: 1px solid #4CAF50;
    border-radius: 60px !important;
    padding: 0;
    margin-left: 0;
    font-size: 18px;
}

/* Quantity input field styling */
.product-actions_single .add-to-cart-quantity-nav input.qty {
    height: 48px;
    padding: 3px;
    text-align: center;
    padding: 0;
    margin-left: 0;
    font-size: 18px;
    background-color: transparent;
    border: none;
    font-weight: 600;
}

/* Quantity buttons (+ and -) styling */
.product-actions_single .add-to-cart-quantity-nav .add-to-cart-quantity-button {
    color: #333;
    width: 50px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    font-size: 25px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-left: 10px;
    margin-right: 10px;
}

/* Hover effect for quantity buttons */
.product-actions_single .add-to-cart-quantity-nav .add-to-cart-quantity-button:hover {
    font-weight: 600;
}

/* Add to cart button styling */
.product-actions_single a.add_to_cart_button,
.product-actions_single .single_add_to_cart_button,
.product-actions_single .button {
    background: #167067;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-actions_single a.add_to_cart_button:hover,
.product-actions_single .single_add_to_cart_button:hover,
.product-actions_single .button:hover {
    background: #1B5E20;
    color: white;
}

/* Chrome, Safari, Edge, Opera - hide number input arrows */
.product-actions_single .add-to-cart-quantity-nav input[type=number]::-webkit-inner-spin-button,
.product-actions_single .add-to-cart-quantity-nav input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* ====================================
   Related Products Styling
   ==================================== */

/* Related products quantity input container */
/* Related products container */
.single-product .related .product-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    flex-direction: row;
}

.single-product .related .add-to-cart-quantity-nav {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    height: 40px;
    width: 110px;
    padding: 3px;
    text-align: center;
    border: 1px solid #4CAF50;
    border-radius: 60px !important;
    padding: 0;
    margin-left: 0;
    font-size: 18px;
}

/* Related products quantity input field */
.single-product .related .add-to-cart-quantity-nav input.qty {
    height: 40px;
    padding: 3px;
    text-align: center;
    padding: 0;
    margin-left: 0;
    font-size: 18px;
    background-color: transparent;
    border: none;
    font-weight: 600;
}
.single-product .related .product-actions a {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex-shrink: 0;
  line-height: 1;
}
/* Related products quantity buttons (+ and -) */
.single-product .related .add-to-cart-quantity-nav .add-to-cart-quantity-button {
    color: #333;
    width: 50px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    font-size: 25px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-left: 10px;
    margin-right: 10px;
}

/* Related products quantity buttons hover */
.single-product .related .add-to-cart-quantity-nav .add-to-cart-quantity-button:hover {
    font-weight: 600;
}

/* Related products add to cart button */
.single-product .related a.add_to_cart_button,
.single-product .related .button {
    background: #167067 ;
    color: white ;
    border: none ;
    border-radius: 25px ;
    padding: 12px 24px ;
    font-weight: bold ;
    font-size: 16px ;
    height: 40px;
    cursor: pointer ;
    transition: background-color 0.3s ease;
    text-decoration: none ;
    display: inline-block ;
    text-align: left ;
}

.single-product .related a.add_to_cart_button:hover,
.single-product .related .button:hover {
    background: #1B5E20 ;
    color: white ;
}

/* Hide number input arrows for related products */
.single-product .related .add-to-cart-quantity-nav input[type=number]::-webkit-inner-spin-button,
.single-product .related .add-to-cart-quantity-nav input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Single product: give the main image the same card look as related products */
.single-product .woocommerce-product-gallery {
  background: #EFEFEF;       
  border-radius: 14px;       
  padding: 14px;             
  box-shadow: 0 10px 10px rgba(14,116,91,.12); 
  position: relative;        
}

/* Make the image nicely centered and contained */
.single-product .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery__image {
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-height: 380px;          */
  background: transparent;
}

.single-product .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  object-fit: contain;       
  mix-blend-mode: normal;    
  border-radius: 10px;       
}

/* Keep the thumbnails clean (optional) */
.single-product .flex-control-thumbs li img {
  background: #f4f6f8;
  border-radius: 10px;
  padding: 6px;
}

/* Fix related products quantity and add to cart button alignment */
.single-product .related .woocommerce-loop-product__link + .woocommerce-loop-product__link,
.single-product .related .woocommerce-loop-product__link + a[href*="add-to-cart"],
.single-product .related .add-to-cart-quantity-nav + a[href*="add-to-cart"] {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

/* Alternative approach - target the parent container */
.single-product .related .woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.single-product .related .woocommerce-loop-product__link .add-to-cart-quantity-nav,
.single-product .related .woocommerce-loop-product__link a[href*="add-to-cart"] {
    display: inline-flex;
    align-items: center;
    height: 40px;
    margin: 5px 0;
}

/* Or target the specific container that holds both elements */
.single-product .related .woocommerce-loop-product__link > * {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* ================
   PRODUCT META FIX
   ================ */

.single-product .product_meta {
  display: flex;
  flex-direction: column;
  gap: 5px; 
}

.single-product .product_meta .sku_wrapper,
.single-product .product_meta .posted_in {
  display: block;
  margin-top: 5px;
}

.single-product .product_meta .sku_wrapper span.sku,
.single-product .product_meta .ean_wrapper span {
  color: #2b6e34; 
  font-weight: 600;
}

.single-product .product_meta .posted_in {
  color: #333;
}

.single-product .product_meta .posted_in a {
  color: #4a9d40;
  text-decoration: none;
}

.single-product .product_meta .posted_in a:hover {
  text-decoration: underline;
}
/* =========================
   Continue Shopping Styling
   Match Add to Cart Button
   ========================= */

/* Base style */
.single-product .product_meta a.button.wcz-continue {
  background-color: #167067;       /* same as Add to Cart green */
  color: #fff !important;
  border: none;
  border-radius: 30px;             /* full pill shape */
  padding: 10px 26px;
  font-weight: 600;
  font-size: 15px;
  text-transform: none;
  text-align: center;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Hover + focus effect */
.single-product .product_meta a.button.wcz-continue:hover,
.single-product .product_meta a.button.wcz-continue:focus {
  background-color: #256428;       /* darker green on hover */
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Keep spacing below quantity area */
.single-product .product_meta a.button.wcz-continue {
  margin-top: 15px;
}
.single-product .product_meta a.button.wcz-continue {
  width: fit-content;
  margin-left: 0;
}

/* ==========================
   Add spacing above Related Products
   ========================== */

   .single-product section.related.products {
    margin-top: 100px;   
    padding-top: 50px;  
  }

  /* Hide duplicate or unused price container on single product page */
.single-product .summary.entry-summary p.price {
  display: none !important;
}
