/*

Theme Name: Child-Divi

Author: Manuel Diwosch

Version: 1.0

Description: Child Theme of Divi

Author URI: http://www.diwosch.at

Template: Divi

*/



/*Theme-Änderungen bitte ab hier*/
/* J.F 2023-12-23 */

/* shop page */
ul.products{
	display:flex;
	flex-wrap:wrap;
}

ul.products.columns-3 li{
	margin-right:3% !important;
	width:calc(33.3% - 2%) !important;
	display:flex;
	flex-direction:column;
}
ul.products.columns-3 li .price{
	margin-bottom:10px !important;
}
ul.products li a.button{
	margin: auto auto 0 auto !important;
	width:90% !important;
}
ul.products li a.button.trm-link-to-file{
	margin-bottom: 5px !important;
	margin-top:auto !important;
	background-color:#93BF3C !important;
}
ul.products li a.button.trm-link-to-file + a.button{
	margin-top:0 !important;
}
ul.products.columns-3 li:nth-child(3n+3){
	margin-right:0 !important;
}

/* single product page */
div.product form.cart .button.trm-link-to-file{
	float:none !important;
	background-color:#93BF3C !important;
	margin-bottom:5px;
}
div.product form.cart .button{
	min-width:200px !important;
	text-align:center;
}

/* Woocommerce 1 column on tablet  */
@media all and (min-width: 768px) and (max-width: 1024px) {
  [class*=woocommerce] ul.products li.product, [class*=woocommerce] ul.products li.product:nth-child(n) {
      width: 100%!important;
      margin-right: 0!important;
  }
}
/* Woocommerce 1 column on mobile  */
@media all and (max-width: 768px) {
  [class*=woocommerce] ul.products li.product, [class*=woocommerce] ul.products li.product:nth-child(n) {
      width: 100%!important;
      margin-right: 0!important;
  }
}
