/* 
Theme Name: Hill Farm Finest
Description: The Hill Farm Finest theme is a child theme of Hello Elementor, created by Elementor team
Author: Bright Choice Marketing LLP
Author URI: brightchoicemarketing.com/
Template: hello-elementor
Version: 3.0.0
Text Domain: hillfarmfinest-theme-hello-elementor-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    GENERAL
*/
.btn-icon .elementor-button .elementor-button-text {
	padding: 5px 0;
}
.btn-icon .elementor-button .elementor-align-icon-right {
	padding: 5px 25px 5px 17px;
	border-left: 1px solid;
}

@media screen and (max-width: 767px) {
	.elementor-button {
		width: 100%;
	}
}


/*
    HEADER
*/
header .phone h3 {
	margin-top: 0;
}
.header-right .elementor-icon-wrapper {
	display: grid;
}
body:not(.wholesale_customer) nav li.trade {
	display: none;
}

body.logged-in .login-btn {
	display: none;
}
body:not(.logged-in) .account-btn {
	display: none;
}

/*
 * WOOCOMMERCE
 */
/* SHOP */
.woocommerce table.shop_attributes,
.woocommerce-product-attributes-item td,
.woocommerce-product-attributes-item th {
	border: unset!important;
	background: unset!important;
}
.woocommerce-product-attributes-item .woocommerce-product-attributes-item__label {
	display: none;
}
.woocommerce table.shop_attributes .woocommerce-product-attributes-item .woocommerce-product-attributes-item__value p {
	padding-left: 10px;
	padding-top: unset;
	padding-bottom: unset;
}
.woocommerce-product-attributes-item .woocommerce-product-attributes-item__value p::before {
	font-size: 1em;
	position: relative;
	left: -10px;
	vertical-align: middle;
}
.woocommerce-product-attributes-item--attribute_pa_storage .woocommerce-product-attributes-item__value p::before {
	content: url("/wp-content/uploads/2022/01/suitable-for-freezing-icon.svg");
}
.woocommerce-product-attributes-item--attribute_pa_pack-size .woocommerce-product-attributes-item__value p::before {
	content: url("/wp-content/uploads/2022/01/packs-of-4-icon.svg");
}

.woocommerce .elementor-products-grid ul.products.elementor-grid li.product {
	border-left: 1px solid var(--e-global-color-secondary);
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
	color: var(--e-global-color-primary);
}

.woocommerce span.onsale {
	min-height: unset;
	padding: 5px 15px !important;
	background-color: var( --e-global-color-secondary );
	text-transform: uppercase;
	line-height: 1.18182em;
	border-radius: 0px;
	right: auto;
	left: 0;
	margin: 20px;
}
.woocommerce .outofstock a.woocommerce-LoopProduct-link::before {
	content: "Out of stock";
	position: absolute;
	display: block;
	padding: 5px 15px;
	text-transform: uppercase;
	font-size: .9641rem;
	line-height: 1.18182;
	color: #fff;
	background: var(--e-global-color-secondary);
	filter: grayscale(50%);
	margin: 20px;
	font-weight: 700;
	z-index: 1;
}
.woocommerce .outofstock img {
	filter: grayscale(50%);
}
.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price {
	min-height: 50.55px;
}
.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title,
.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price {
	padding: 0 10px;
}
.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price .per-piece img,
.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price .per-kg img {
	display: inline-block;
	margin: 0 5px 0 0;
	width: 19px;
}
.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .weight {
	font-size: .85em;
	color: var(--e-global-color-secondary);
	font-weight: 400;
}

.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .button {
	margin: 0 10px;
}

.woocommerce-variation-price .price{
	display: inline-block;
}

.woocommerce ul.products li.product a .per-kg{
	margin-top: 10px;
}

.woocommerce ul.products li.product a .per-kg img{
	width: 24px;
	height: 24px;
	display: inline-block;
	margin: 0 12px 0 0;
}

@media screen and (min-width: 768px) {
	.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price .per-piece img,
	.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price .per-kg img {
		width: 24px;
	}
	.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title,
	.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .price {
		padding: 0 20px;
	}
	
	.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .button {
		margin: 0 20px;
	}
}

/* TRADE */
.trade-list .jtpt-filter {
	padding: 10px;
}
.jtpt-product-table .jtpt-body-data {
	padding: 10px;
}
.trade-list .jtpt-thumbnail {
	height: 75px;
}
.trade-list .jtpt-thumbnail a {
	height: 75px;
	width: 75px;
	display: inline-block;
}
.trade-list .jtpt-thumbnail a img {
	height: auto;
	max-width: 100%;
}
.trade-list .jtpt-body-data-2 {
	width: 30%;
}
.jtpt-rating {
	display: none;
}
.jtpt-short-description {
	display: none;
}
.jtpt-variations .jtpt-variations-notice {
	display: none;
}

.trade-step.step-1 .elementor-icon {
	background: url(https://hillfarmfinest.com/wp-content/uploads/2022/11/trade-step-1-bg.svg) no-repeat top center;
	background-size: contain;
}

.trade-step.step-2 .elementor-icon {
	background: url(https://hillfarmfinest.com/wp-content/uploads/2022/11/trade-step-2-bg.svg) no-repeat top center;
	background-size: contain;
}

.trade-step.step-3 .elementor-icon {
	background: url(https://hillfarmfinest.com/wp-content/uploads/2022/11/trade-step-3-bg.svg) no-repeat top center;
	background-size: contain;
}

/* GENERAL PRODUCT */
.product .header-search .sku_wrapper {
    display: none
}

.woocommerce div.product div.images .flex-control-thumbs li {
	width: unset;
	float: unset;
	margin-top: 20px;
}
.woocommerce div.product div.images .flex-control-thumbs li:first-child {
	display: none;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
	cursor: unset;
	opacity: unset;
	margin: 0;
}

.sticky-column {
	display: block!important;
}
.sticky-column .elementor-widget-wrap {
	position: sticky;
	position: -webkit-sticky;
	top: 8rem;
}

.woocommerce .wapf-field-container .wapf-swatch-wrapper {
	display: flex;
}
.woocommerce .wapf-field-container .wapf-swatch--image {
	width: 80px;
	display: inline-block;
}
.woocommerce .wapf-field-container .wapf-swatch--image img {
	object-fit: contain;
	width: 60px;
	height: 60px;
}
.wapf-swatch-label {
	font-size: .8rem;
}

.elementor-widget-wc-add-to-cart .quantity, .woocommerce div.product.elementor .quantity {
	margin-right: 5px;
}

.woocommerce-product-details__short-description h6 {
	padding: 15px 30px;
	background: hsla(0,0%,50.2%,.0705882353);
	padding-left: 55px;
	display: flex;
	align-items: center;
}
.woocommerce-product-details__short-description h6::before {
	display: inline-block;
	height: 32px;
	width: 32px;
	content: '';
	background: url(https://hillfarmfinest.com/wp-content/uploads/2024/01/marbling-thickness.png);
	background-position: center;
	position: absolute;
	left: 15px;
}

/* Cuts */
.product-cut {
	padding-top: 50px;
	margin: 0 auto;
}
.product-cut .cut_title::after {
	display: block;
	content: '';
	height: 1px;
	width: 100px;
	padding: 0;
	border-style: dashed;
	border-width: 0px 0px 1px 0px;
	border-color: var( --e-global-color-primary );
	margin-top: -1rem;
	margin-bottom: 1rem;
}
.product-cut .cut_description {
	font-size: .8rem;
}

@media screen and (min-width: 768px) {
	.product-cut {
		margin-left: auto;
		margin-right: 5%;
	}
}

/* Badges */
.badges-items .elementor-widget-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding: 20px 0;
}
.badges-items .badge {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 16.66%;
	flex: 0 0 16.66%;
	text-align: center;
}
.badges-items .badge img {
	width: 100px;
	height: 100px;
	object-fit: contain;
	margin: 0 auto 23px;
	padding: 10px;
	border: 1px solid #e4e6e7;
}

.woocommerce input[type="button"].qty_button {
	padding: unset;
	width: 42px;
}

.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product a > *:not(img) {
	padding: 0 20px;
}
.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product a.button {
	margin-left: 20px;
}

@media screen and (max-width: 62.4375em) {
	.badges-items .badge {
		-ms-flex-preferred-size: 50%;
		flex-basis: 50%;
		padding: 11px;
	}
}


/* VARIATION PRODUCT */
body.woocommerce.single-product .product-type-variable table.variations th {
	display: block;
	text-align: left;
	padding-top: 0;
	padding-bottom: 0;
}
body.woocommerce.single-product .product-type-variable table.variations td.value {
	display: block;
	padding-left: 15px;
}
body.woocommerce.single-product .product-type-variable .elementor-widget-woocommerce-product-price,
body.woocommerce.single-product .product-type-variable table.variations td.value a.reset_variations {
	display: none !important;
}
div.swatch-wrapper.selected {
	border-color: var(--e-global-color-secondary);
}
body.woocommerce.single-product .product-type-variable table.variations td.value a.swatch-anchor {
	width: 75px!important;
	height: 75px!important;
	display: grid;
	align-content: center;
	justify-items: center;
}
body.woocommerce.single-product .product-type-variable table.variations td.value a.swatch-anchor img {
	max-width: 85%;
	height: 100%;
}
div.swatch-label {
	margin-bottom: 0;
}
div.swatch-label:before {
	content: "Your selection: ";
	font-weight: bold;
}
body.woocommerce.single-product .product-type-variable .variations_form.cart .woocommerce-variation-description p {
	text-align: center;
	background: #D9EEE8;
	padding: 10px
}
body.woocommerce.single-product .product-type-variable .variations_form.cart .woocommerce-variation-description p,
body.woocommerce.single-product .product-type-variable .variations_form.cart span.price {
	margin-bottom: 1em;
}
body.woocommerce.single-product .zaddon_data,
body.woocommerce.single-product .zaddon-type-container h3 {
	display: none!important;
}

.wapf-field-description,
.wapf-product-totals {
	text-align: left!important;
}
body .wapf-product-totals {
	display: none !important;
}


/* BOXES PRODUCT */
.box-contents {
	background: var(--e-global-color-accent);
	padding: 15px 30px;
}
.box-contents h4 {
	color: var(--e-global-color-primary);
	font-weight: 600 !important;
}
.box-contents ul {
	padding-left: 20px;
}
.box-contents ul li {
	font-size: .9em;
	margin-bottom: 5px;
}


/* ACCOUNT */
.account-tabs .woocommerce-table--order-details .woocommerce-table__product-name {
	min-width: 300px;
}
.woocommerce table.shop_table tfoot td {
	font-weight: normal;
}


/* CHECKOUT */
.woocommerce-checkout .kl_newsletter_checkbox_field {
	clear: both;
}

.woocommerce-checkout #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box.payment_method_rvvup_gateway_CARD div.form-row{
	padding: 0;
}