/*
Theme Name: Deacon Foodservice Solutions
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Pride Centric Resources
Author URI: https://pridecentricresources.com/
Description: A custom Child Theme for Deacon Foodservice Solutions.
Version: 1.0
Updated: 2025-07-9

*/

/* HEADER
/************************************/


/* ICON BLOCKS
/************************************/

.pcr .elementor-widget-icon-box .elementor-icon-box-wrapper {
	height: 100%;
	border: 2px solid black;
	border-radius: 5px;
	padding: 25px 10px;
}

.pcr .elementor-widget-icon-box.dark-icon-box .elementor-icon-box-wrapper {
	border-color: white;
	padding: 8px;
}

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

.pcr li#quote-li {
	list-style: none;
	padding: 5px 20px;
	border: 2px solid white;
	border-radius: 5px;
	background-color: var(--e-global-color-primary);
}

.pcr li#quote-li span {
	color: white;
}
.pcr li#quote-li #total-items {
	font-family: 'prohibition', sans-serif;
	font-size: 20px;
	font-weight: 500;
}

.pcr .afrq-menu-item {
	color: var(--e-global-color-primary);
	font-weight: bold;
	font-size: 18px;
	text-transform: uppercase;
}

.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;
}

.pcr .addify-quote-form #afrfq_update_quote_btn {
	color: white;
}

.pcr .woocommerce-cart-form button.addify_checkout_place_quote {
	font-family: 'Prohibition', sans-serif;
	font-weight: 400;
	background-color: var(--e-global-color-primary);
}

.pcr .woocommerce-cart-form button.addify_checkout_place_quote:hover {
	background-color: var(--e-global-color-accent);
}

@media (max-width: 767px) {
	.pcr .mini-quote-dropdown {
		left: -120px;
	}
	
	.pcr li#quote-li {
		padding: 3px 5px;
		width: fit-content;
	}
	.pcr li#quote-li #total-items {
		font-size: 14px;
	}
	.pcr .afrq-menu-item {
		display: flex;
		justify-content: center;
		font-size: 12px;
	}
}

/* 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 .searchandfilter .sf-field-reset input {
	background-color: var(--e-global-color-accent);
	color: var(--e-global-color-secondary);
	border: 2px solid var(--e-global-color-primary);
	font-family: 'prohibition', sans-serif;
	font-size: 16px;
}

.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:not(.product-category) a img {
	height: 200px;
}

.pcr.woocommerce ul.products li.product a img {
	object-fit: contain;
}

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

.pcr.woocommerce ul.products li.product:not(.product-category) a img {
	height: 165px;
}

/* PAGINATION */

.pcr.woocommerce .woocommerce-pagination .page-numbers {
	border-radius: 5px;
	padding: 10px!important;
	border: 2px solid var(--e-global-color-primary);
}

.pcr.woocommerce .woocommerce-pagination .page-numbers li {
	padding: 2px;
}


/* CORESTACK FILITERS */

.pcr div#cs_filter_main .cs_container {
	padding: 0;
}

.pcr .cs-filter > h3 {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 36px;
	color: var( --e-global-color-secondary );
}

.pcr #cs_filter_main.cs_filter_main1.classic-design .cs_style h3 {
	font-family: inherit;
	font-size: 20px;
}

.pcr #cs_filter_main.classic-design li.att_active label {
	color: var( --e-global-color-primary);
	background-color: var( --e-global-color-secondary);
	font-weight: bold;
	width: fit-content;
	padding: 3px 10px;
	border-radius: 5px;
}

.pcr #cs_filter_main.classic-design li {
	transition: .2s all ease-in-out;
}


.pcr #cs_filter_main.classic-design li:hover label {
	opacity: 70%;
	color:var( --e-global-color-secondary) ;
	background-color: var( --e-global-color-primary);
	font-weight: bold;
	width: fit-content;
	padding: 3px 10px;
	border-radius: 5px;
	transition: .2s all ease-in-out;
}

.pcr div#cs_filter_main .cs_container .cs-more,
.pcr div#cs_filter_main .cs_container .cs-lsss {
	text-decoration: underline;
	color: var( --e-global-color-primary);
}

.pcr .cs-reset-filters.reset-filters {
	width: 100%;
	color: var( --e-global-color-secondary) ;
	background-color: var(--e-global-color-accent);
	font-weight: bold;
	font-size: 18px;
	text-transform: uppercase;
	text-align: center;
	padding: 3px 10px;
	border-radius: 5px;
}

/* CHANGE 'VIEW CART' BUTTON COLOR */

.pcr.woocommerce a.added_to_cart {
	color: var(--e-global-color-primary);
}

/* FILTER RESPONSIVE STYLING */

@media (max-width: 1024px) {
	
	.pcr .searchandfilter ul {
		display: flex;
		flex-wrap: wrap;
	}
	
	.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) {
		display: none;
	}
}

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



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

/* HIDE PRODUCT SPEC SHEET BUTTON IF THERE IS NONE */

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

/* RELATED PRODUCTS */

.pcr .wt-related-products .carousel-wrap {
	padding: 0;
}

.pcr .wt-related-products .owl-theme .owl-nav [class*=owl-] {
	color: var(--e-global-color-primary);
	background-color: var(--e-global-color-accent);
}


/* EVENTS CALENDAR
/************************************/

/* LIST VIEW */

.pcr .tribe-common .tribe-events-l-container {
	padding: 30px;
}

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

.pcr .pcr-newsletter-form {
	margin-top: 0;
}

.pcr .pcr-newsletter-form .wpforms-container {
	margin-top: 0;
}

.pcr .pcr-newsletter-form form {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
}

.pcr .pcr-newsletter-form form.wpforms-form .wpforms-field {
	padding: 5px;
}

.pcr .pcr-newsletter-form form.wpforms-form input {
	border-radius: 5px;
	padding: 0 105px 0 14px;
}

.pcr .pcr-newsletter-form form.wpforms-field-container {
	position: relative;
}

.pcr .pcr-newsletter-form form.wpforms-form .wpforms-submit-container {
	margin-top: 0;
	border-radius: 8px;
}

.pcr .pcr-newsletter-form form .wpforms-submit-container button {
	font-family: 'prohibition', sans-serif;
	position: absolute;
	top: -20px;
	right: 7px;
}

@media (max-width: 767px) {
	top: -21px;
}


/* FOOTER
/************************************/

.pcr .elementor-social-icon svg path {
	fill: var( --e-global-color-text )!important;
}




