/*
CTC Separate Stylesheet
Updated: 2023-05-22 12:23:07
*/

.footer-address h6{
	margin-bottom: 10px;
}

.home-meat-categories .elementor-widget-image img{
	max-width:369px;
}

/* input[value^="local_pickup"]:checked + label:after{
	content: 'Please allow 24 hours before collecting.';
	color: #ff1d1d;
	display: flex;
	font-weight: bold;
	text-indent: 0;
} */

.select-market-description{
	color: red;
	font-size: 80%;
}
.custom-checkout-message{
	max-width: 394.63px;
	float: right;
	border-left: 2px solid #dddddd;
	border-right: 2px solid #dddddd;
	padding: 10px 28px;
	margin-bottom: 0!important;
	color:red;
}
form.woocommerce-shipping-calculator{
	display: inline-flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}
td[data-title="Shipping"] form:before{
/* 	content:"If you don't see any shipping options, please click Calculate Shipping. You will be able to select in-store or market pickup from the checkout."; */
	content: 'Click';
	display:block;
	order:1;
}
td[data-title="Shipping"] form .shipping-calculator-button{
	order: 2;
}
td[data-title="Shipping"] form:after{
	content: 'to proceed. Delivery and pickup options can be selected on the next page.';
	display:block;
	order:3;
}
td[data-title="Shipping"] form .shipping-calculator-form{
	order: 4;
}
input[id="shipping_method_0_custom_shipping_quote69"][checked="checked"] + label:after{
	content: 'You won\'t be able to checkout until we\'ve provided a shipping quote.';
	clear: both;
	float: left;
	text-indent: 0;
	color: red;
	margin-bottom: 10px;
}
.delivery-quoted .wccsq-quote-description,
.delivery-quoted [id="shipping_method_0_custom_shipping_quote69"][checked="checked"] + label:after,
.cart_totals .wccsq-quote-description,
.cart_totals [id="shipping_method_0_custom_shipping_quote69"][checked="checked"] + label:after{
	display:none;
}
.wccsq-quote-description{
	text-indent: 0;
}
.wccsq-quote-description .wccsq-contact-link{
	background-color: #1e73be;
	color: white;
	padding: 10px;
}
.wccsq-quote-description.wccsq-quote-requested .wccsq-contact-link{
	background-color: #8caac5;
}
.wccsq-quote-description.wccsq-quote-requested:after{
	content: 'We’ll email you as soon as we can. In the meantime, you can close this window. Your order will be saved.';
	float: left;
	margin-top: 10px;
	color: #002269;
}
.woocommerce-shipping-methods li{
	clear:both;
}
.woocommerce-shipping-destination ~ form.woocommerce-shipping-calculator:before,
.woocommerce-shipping-destination ~ form.woocommerce-shipping-calculator:after{
	display:none;
}

.ast-transparent-header #masthead{
	position:relative!important;
}
.ast-sticky-active .ast-cart-menu-wrap .count,
body:not(.home) .ast-cart-menu-wrap .count{
	background-color:#fff!important;
	color: #002269!important;
	border-color: #fff!important;
}
.ast-sticky-active .ast-cart-menu-wrap .count:after,
body:not(.home) .ast-cart-menu-wrap .count:after{
	border-color: #727c90!important;
}
body.home .main-header-bar {
	background-color: transparent;
	position: absolute;
	width: 100%;
}

.woocommerce-checkout tr.shipping-pickup-store + tr.shipping-pickup-store{
	display:none;
}

.woocommerce-checkout .variation-To{
	word-break:break-word;
}
.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup16),
.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup62){
	position: relative;
	padding-top: 100px;
}
.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup16):before,
.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup62):before{
	content: 'Your address is outside of our delivery locations. If you\'d like to organise delivery, please contact us.' '';
	position: absolute;
	top: 0;
	color: #f11d21;
	font-weight: bold;
}

.woocommerce-shipping-totals.shipping,
.shipping-pickup-store{
	display:flex;
	flex-direction:column;
	width: var(--checkout-width, 350px);
	margin-right: min(var(--checkout-width-offset), -90px);
}
.woocommerce-shipping-totals.shipping th{
	border-bottom: 0;
}
.woocommerce-shipping-totals.shipping td[data-title="Shipping"]{
	text-align: left!important;
}
.shipping-pickup-store .select2{
	width: 100%!important;
	text-align: left!important;
}

#order_review,
.cart_totals{
	display: flex;
	flex-direction: column;
	.shop_table{
		order: 1;
	}
	.g-recaptcha{
		order: 3;
		margin-bottom: 2em;
	}
	#show-if-shipping{
		order: 2;
		margin-bottom: 2em;
	}
	.woocommerce-checkout-payment{
		order: 4;
	}
	li:has(#shipping_method_0_select_a_market[checked="checked"]){
		.market-selection{
			display: block;
		}
	}
	#datepicker_field:has(input[required]) label[for="datepicker"]{
		&:after{
			content: ' *';
			color: red;
			font-size: 14.4px;
			font-weight: 700;
			margin-left: -5px;
		}
	}	
	.market-selection{
		display: none;
		.market-name{
			margin-bottom: 5px;
			font-weight: 600;
		}
		.market-dates{
			display: flex;
			flex-direction: column;

		}
	}
}
@media screen and (max-width: 1070px){
	.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup16),
.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup62){
		padding-top: 120px;
	}
}
@media screen and (max-width: 921px){
	.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup16),
.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup62){
		padding-top: 50px;
	}
}
@media screen and (max-width:767px){
	body.woocommerce-checkout .select2-dropdown{
		width:min(80vw, 250px)!important;
/* 		transform:translateX(-40%); */
	}
}
@media screen and (max-width: 600px){
	.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup16),
.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup62){
		padding-top: 70px;
	}
}
@media screen and (max-width: 400px){
	.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup16),
.woocommerce-checkout-review-order-table:has(#shipping_method_0_local_pickup62){
		padding-top: 100px;
	}
}

label:has(input.hasDatepicker[required]) .optional {
	display: none;
}
