/*
Theme Name: United Restaurant Equipment
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: PCR- Pride Centric Resources
Author URI: https://pcradvantage.com
Description: A custom Child Theme for United Restaurant Equipment.
Version: 1.0.1707769764
Updated: 2024-02-12 20:29:24

*/

/* BUTTONS */

.pcr .elementor-element.pcr-standard-button .elementor-button-wrapper .elementor-button {
	width: 300px;
}

@media (max-width: 767px) {
	.pcr .elementor-element.pcr-standard-button .elementor-button-wrapper .elementor-button {
		width: 100%;
	}		
}

/* HEADER */

.pcr header .elementor-sticky--active {
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

/* ADDIFY REQUEST A QUOTE STYLING */
/************************************/

.pcr li#quote-li {
	list-style: none;
}

.pcr .afrq-menu-item {
	color: white;
	font-weight: bold;
	font-size: 18px;
	font-family: 'Oswald', serif;
}

@media (max-width: 767px) {
	.pcr .afrq-menu-item {
		font-size: 12px;
	}
}

.pcr .mini-quote-dropdown {
	padding: 15px;
	box-shadow: 0px 0px 5px #212B60;
}

.pcr .mini-quote-dropdown .addify-rfq-mini-cart__empty-message {
	font-size: 14px;
}

.pcr .mini-quote-dropdown li.addify-rfq-mini-cart-item {
	padding-bottom: 10px;
}

.pcr .mini-quote-dropdown .arfq-pro-detail a {
	color: var(--e-global-color-primary);
	font-weight: 500!important;
	font-size: 12px!important;
}

.pcr .mini-quote-dropdown .addify-rfq-mini-cart__buttons a#view-quote {
	background-color: var(--e-global-color-primary);
	border: none;
	border-radius: 5px;
}



/* ADDIFY RAQ PDF BUTTON STYLING */
[type=button]#af_rfq_get_qoute_by_my_account_pdf {
	background-color: var(--e-global-color-primary) !important;
	color: white;
	padding: 10px;
	border: none;
}

/* PRODUCT TABLE AND FORM */

body.pcr .addify-quote-form button.addify_checkout_place_quote.button.alt {
 	background-color: var(--e-global-color-accent);
 	color: var(--e-global-color-primary);
 	border-color: var(--e-global-color-accent);
	font-size: 16px;
	border-radius: 10px;
}

body.pcr .addify-quote-form button.addify_checkout_place_quote.button.alt:hover {
 	background-color: var(--e-global-color-primary);
 	color: var(--e-global-color-accent); 
}

body.pcr .addify-quote-form td.product-name a {
 	color: var(--e-global-color-primary);
}

body.pcr .addify-quote-form td.product-name a:hover {
	color: var(--e-global-color-accent);
}

/* SHOP TEMPLATE
/************************************/

/* HIDE FILTER VALUES WHEN ATTRIBUTES ARE EMPTY */

.pcr .searchandfilter > ul > li[data-sf-field-input-type="checkbox"]:not(:has(li)),
.pcr .searchandfilter > ul > li[data-sf-field-input-type="radio"]:not(:has(li + li)),
.pcr .searchandfilter > ul > li[data-sf-field-input-type="select"]:not(:has(option + option)) {
    display:none;
}

/* STYLE THE SEARCH BAR */

.pcr.elementor-kit-5 .searchandfilter .sf-input-text {
	box-shadow: unset;
	border: 1px solid #666;
	border-radius: 3px;
}

/* STYLE THE FILTERS AND HEADINGS */
.pcr .searchandfilter ul {
	padding-left: 0;
}

.pcr .searchandfilter h4 {
	font-size: 18px;
	font-weight: 700;
}

.pcr.woocommerce .searchandfilter label {
	width: 100%;
}

.pcr.woocommerce .elementor-products-grid ul.products.elementor-grid li.product {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* MAKE PRODUCT IMAGES IN GRIDS CONSISTENT HEIGHT/WIDTH */

.pcr.woocommerce ul.products li.product a img {
	object-fit: contain;
	height: 160px;
	border-radius: 10px;
}

@media (max-width: 1024px) {
	.pcr.woocommerce ul.products li.product a img {
		height: 215px;
	}
}

@media (max-width: 767px) {
	.pcr.woocommerce ul.products li.product a img {
		height: 176px;
	}
}

.pcr.woocommerce .products .product a .woocommerce-loop-category__title {
	line-height: 1.2em;
}

.pcr.woocommerce .products .product a .woocommerce-loop-category__title mark {
	display: none;
}

/* FILTER RESPONSIVE STYLING */

@media (max-width: 1024px) {
	
	.pcr .searchandfilter ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	
	.pcr .searchandfilter li {
		width: 45%;
		margin-right: 0;
	}
	
	.pcr .searchandfilter li:not(:last-child) {
		margin-right: 20px;
	}
	
	/* HIDE ALL ATTRIBUTE FILTERS ON TABLET AND MOBILE,EXCEPT CATEGORIES AND VENDORS*/
	
	.pcr .searchandfilter li:not(.sf-field-search):not(.sf-field-taxonomy-product_tag):not(.sf-field-taxonomy-product_cat):not(.sf-field-taxonomy-pa_product-type) {
		display: none;
	}
}

@media (max-width: 767px) {
	.pcr .searchandfilter li {
		width: 100%;
		margin-right: 0;
	}
}

/* VENDOR ARCHIVE */

.pcr.woocommerce.term-vendors ul.products li.product a img {
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
	padding: 10px;
}

.pcr.woocommerce.term-vendors .woocommerce-loop-category__title {
	display: none;
}

/* SINGLE PRODUCT TEMPLATES
/************************************/

/* HIDE PRODUCT SPEC SHEET BUTTON IF THERE IS NONE. MUST ADD THE CLASS .spec-sheet-button TO THE BUTTON */

.pcr .spec-sheet-button .elementor-button-wrapper:not(:has(.elementor-button-link)) {
    display: none;
}

/* REMOVE BOTTOM MARGIN FROM MAIN PRODUCT IMAGE */

.pcr.woocommerce div.product div.woocommerce-product-gallery {
	margin-bottom: 0;
}

/* MAKE RELATED PRODUCTS SAME HEIGHT */

/* Equal-height related product cards - Owl Carousel / WooCommerce */
.pcr.single-product .related.products .owl-stage {
  display: flex;
  align-items: stretch;
}

.pcr.single-product .related.products .owl-item {
  display: flex;
  height: auto;
}

.pcr.single-product .related.products .owl-item > li.product,
.pcr.single-product .related.products .owl-item .product {
  display: flex;
  flex-direction: column;
	align-items: center;
  width: 100%;
  height: auto;
}

/* Make inner card fill the available height */
.pcr.single-product .related.products .owl-item .product-inner,
.pcr.single-product .related.products .owl-item .product-wrapper,
.pcr.single-product .related.products .owl-item .woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Push buttons to bottom */
.pcr.single-product .related.products .owl-item .button,
.pcr.single-product .related.products .owl-item .add-request-quote-button,
.pcr.single-product .related.products .owl-item .yith-ywraq-add-to-quote {
  margin-top: auto;
}


/* FORMS
/************************************/

/* ----CONTACT FORM IN REQUEST A QUOTE PAGE----- */

/* Hide contact section when quote cart has item rows */
.pcr:has(.shop_table) .pcr-contact-container {
	display: none;
}

.pcr .adf-request-quote-page:has(.woocommerce-notices-wrapper) .addify {
	display: none;
}


