/*
Theme Name:   	Storefront Child Theme
Theme URI:    	https://procaraudio.nl
Author:       	Jaime Martinez
Author URI:     https://jaimemartinez.nl
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	0.1.1
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
*/


.storefront-primary-navigation {
	border-bottom: 2px solid #eee;
}


@media only screen and (min-width: 768px) {
	
	.storefront-primary-navigation {
	background: #eee;
}
	
	.storefront-breadcrumb {
		margin-bottom: 0;
	}

	.storefront-full-width-content.woocommerce-cart .entry-header, .storefront-full-width-content.woocommerce-checkout .entry-header, .storefront-full-width-content.woocommerce-account .entry-header, .storefront-full-width-content .woocommerce-products-header {
		padding-bottom: 1rem;
	}
}

/* GLOBAL */

/* Flexbox on WooCommerce archive products */
.woocommerce .products ul,
.woocommerce ul.products {
    display: flex;
    flex-flow: row wrap;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    display: flex;
    flex-flow: column nowrap;
}

.woocommerce ul.products li.products .woocommerce-loop-product__link {
	margin-top: 0;
}
.woocommerce ul.products li.product .button {
    margin-top: auto;
    display: block;
}

/* Tweaks on-sale label over product image  */
.woocommerce .elementor-widget-woocommerce-product-images span.onsale,
.elementor-element.elementor-products-grid ul.products li.product .onsale,
.onsale {
	background: #c58408;
	color: #fff;
    border: 1px solid #fff;
    padding-left: 0.6180469716em;
    padding-right: 0.6180469716em;
}

.single .onsale {
        opacity: 0.85;
}

.woocommerce ul.products .onsale {
	position: absolute;
	top: -0.7rem;
	right: 0.7rem;
}
/* end on sale */

/* Give images that have a white background a bit of contrast */
ul.products li.product img, ul.products .wc-block-grid__product img, .wc-block-grid__products li.product img, .wc-block-grid__products .wc-block-grid__product img.button,
.single-product div.product .woocommerce-product-gallery img
{
	border: 1px solid #eee;
}
.single-product div.product .woocommerce-product-gallery img {
    width: 100%;
}

/* Overwrite Homepage storefront styling */
.page-template-template-homepage .entry-header h1 {
	font-size: 2.5rem;
}

.page-template-template-homepage .type-page {
	padding-top: 0;
	padding-bottom: 0;
}


/* Overwrite Gravity Forms buttons */
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type="submit"], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type="submit"] {
	background: #c58408;
}


.elementor-widget-divider:not(.elementor-widget-divider--view-line_text):not(.elementor-widget-divider--view-line_icon):not(.elementor-widget-divider--separator-type-pattern) .elementor-divider-separator {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    border-color: #c58408;
    display: block;
}


/* Tweaks cart */
@media (min-width: 768px) {
	body.woocommerce-cart .content-area {
		width: 80% !important;
		/* float: none; */
		margin-right: auto;
		margin-left: auto; 
	}
}