/**---------------------------------- Shop Catalog ----------------------------------**/
/** Horizontally align everything  **/
.woocommerce ul.products li.product .woocommerce-loop-product__link img { 
   /*width: 47%;*/
   margin: 0;
   padding: 0;
   border: 0;   
}

/* Super Specific Image Sizes */
/*
.woocommerce ul.products li.product .woocommerce-loop-product__link img[alt="Vegapoint 11 Capacitive Radar Sensor Front Image"],
.woocommerce ul.products li.product .woocommerce-loop-product__link img[alt="Vegapoint 21 Capacitive Radar Sensor Front Image"] {
    	margin-bottom: -40%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img[alt="Vegapuls-C C11/C21 Non-Guided Radar Sensor Front Image"],
.woocommerce ul.products li.product .woocommerce-loop-product__link img[alt="Vegapuls-C C22 Non-Guided Radar Sensor Front Image"] {
	margin-bottom: -20%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img[alt="LPD Loop Powered Display"] {
	width: 100px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img[alt="Temperature Sensors - Wall Mount"] {
	width: 170px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img[alt="X-410 Web-Enabled Industrial Controller"] {
	width: 94px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img[alt="IRU 5413 Ultrasonic Sensor Front Image"] {
	width: 43%;
}
*/
ul.products li.product .astra-shop-thumbnail-wrap {
    display: flex;
   /* justify-content: center;*/
    align-items: flex-end;
    min-height: 235px;
    line-height: 0;
}

.woocommerce-js ul.products li.product .woocommerce-loop-product__title {
    margin: 1em 0 0 0;
}
/* ---------------------- Archive description for the shop page --------------------**/

#secondary {
    margin: 2.2em 0 2.5em;
}

body.archive .ast-archive-description {
    max-width: 1500px;
    width: 100%;
    text-align: center;
}

/* ---------------------- End of Archive description for the shop page --------------------**/
   /** --------------- shop-item btns ------------------- */
   /* Adjust the 'LEARN MORE' button's positioning */
   .products .astra-shop-summary-wrap .learn-more {
      margin-top: auto;
      width: 148px;
      padding: 5px 5px;
      background-color: #12822a;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      text-align: center;
      box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
   }


   /* responsive learn more btn */
   @media screen and (max-width: 1300px) {
   	.products .astra-shop-summary-wrap .learn-more {
		width: 138px !important;
	}
   }

   @media screen and (max-width: 1178px) {
   	.products .astra-shop-summary-wrap .learn-more {
	/*	width: 100% !important; */
	}
   }

   /* Adjust the 'QUICK VIEW' button's positioning */
   .wc-quick-view-button {
      text-align: center;
      width: 75%;
      padding: 10px 10px !important;
      border-radius: 5px !important;
      margin-bottom: 30px !important;
      box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2) !important;
	  text-transform: none !important; /*If only I found this earlier 10/9/23*/
     margin-left: -5% !important;
   }

   ul.products li.product .wc-quick-view-button {
       margin-top: auto;
       background-color: transparent !important;
       color: grey;
       border: 0.5px solid grey;
       order: 3; 
   }
   /** --------------- end shop-item btns ------------------- */

   .products .astra-shop-summary-wrap {
       display: flex;
       flex-direction: column;
       justify-content: space-between;
       height: 100%;
   }

   .ast-woo-shop-product-description {
      margin-bottom: -5%;
      margin-left: 5%;
   }

   /*product description list items*/
   .ast-woo-shop-product-description ul > li {
      display: list-item;
      list-style-type: disc !important;
   }

   @media (max-width: 480px) {
       .ast-woo-shop-product-description {
            margin-bottom: 5%;
            margin-left: 5%;
        }
   }

   .ast-woo-shop-product-description > p {
      display: list-item;
      list-style-type: disc;
   }

    div.product-variations-header {
      margin-bottom: 5px;
      margin-top: -5px;
   }

   /* if we come up with a header add this again */
   /*
   div.product-variations-list {
      display: inline-block;
   } */
   /*product description list items*/

 /* .astra-woo-shop-product-description {
    margin-bottom: 20% !important;
 } */

   .variation-container {
      margin-left: 7%;
      margin-bottom: -5%
   }
   
   /**
   removes the add to cart button on the store page
   tried to accomplish this with hooks and filters.
   No solution found yet
   */
    body.post-type-archive-product .add_to_cart_button {
       display: none !important;
   }

   /* gets rid of those stupid read more and select options buttons*/
   .product_type_variable {
       display: none !important;
   }
   .product_type_simple {
       display: none !important;
   }
   /* ---------------------------^^^^^^--------------------------- */

/**
 * product items 
*/
   @media (min-width: 768px) {

      ul.products {
         display: flex;
         flex-wrap: wrap;
      }


      ul.products li.product {
          display: flex;
          flex-direction: column;
          height: 100%; 
      }
   }

   .woocommerce-js ul.products li.product .woocommerce-loop-category__title, 
   .woocommerce-js ul.products li.product .woocommerce-loop-product__title, 
   .woocommerce-js ul.products li.product h3{
      margin-left: -5%;
   }

   .woocommerce-js ul.products li.product .price, 
   .woocommerce-page ul.products li.product .price {
      margin-left: -5%;
   }

   /* Hide product variations list for product with post ID 7635 (Expansion Cable) */
    li.post-7635 .product-variations-list {
        display: none;
    }

/**
 * end of product items 
*/

/**
*Related Product items 
*/

section.related ul.products li.product .wc-quick-view-button {
    margin-top: auto !important;
};

/**
 * Related products side-bar cart 
 */
div.wcf-wc-shortcode-wrapper .products .astra-shop-summary-wrap .learn-more {
    margin-top: 20px !important;
}

div.ast-empty-cart-content .woocommerce ul.products div.astra-shop-summary-wrap div.ast-woo-shop-product-description {
    margin-bottom: 30px !important;
}

/**
 * hide side bar filters at break points
 */

    @media screen and (max-width: 1023px) {
        div#wcf_filter_group-3.ast-woo-sidebar-widget {
            display: none !important;
        }
    }

    @media (max-width: 922px) {
        .ast-separate-container.ast-two-container.ast-left-sidebar #secondary {
            display: none !important;
        }
    }

/**
 * Part Numbers 
 */

 .product-variations-header {
     display: flex;
     align-items: center;
     margin-top: auto;
     margin-left: -5%;
 }
 
 .product-variations-title {
     margin-right: 10px; 
	 font-size: 14px;
	 font-weight: bold;
 }
 
 .product-variations-list {
     display: flex;
     flex-wrap: wrap;
 }
 
 .product-variations-list-item {
     margin-right: 5px; 
	 font-size: 12px;
 }

 /*hides the readmore button*/
 tr.outofstock td.woocommerce-grouped-product-list-item__quantity {
 	visibility: hidden !important;
 }

 /*------- pagination buttons -------*/

 .woocommerce nav.woocommerce-pagination ul li > .page-numbers:hover{
    background-color: #51afc9 !important;
}
/**---------------------------------- End Shop Catalog ----------------------------------**/
