.highlight {
    animation: highlight-border 3s ease-in-out;
    animation-fill-mode: forwards;
    border-width: 2px; /* Ensure there's a visible border */
    border-style: solid; /* Set the border style to solid */
}

.woocommerce-no-shipping-available-html {
	margin: 10px 0 0 0;
	padding: 10px;
    display: block;
    border: 1px solid #d5d8dc;
}

.datepicker-wrapper {
    position: relative;
    display: inline-block;
	width: 100%;
}

.datepicker-wrapper input {
	width: 100%;
	cursor:pointer;
	margin: 0!important;
}	

.datepicker-wrapper::after {
	content: "select a date";
    position: absolute;
    display: flex;
    align-items: center;
    top: 0;
    right: 0;
    height: 100%;
    background: #045C2C;
    color: #ffffff;
    padding: 5px 10px;
    white-space: nowrap;
    pointer-events: none;
}

.date-selected {
	margin: 10px 0 0 0;
}

.elementor-widget-woocommerce-checkout-page #ship-to-different-address,
.elementor-widget-woocommerce-checkout-page .woocommerce .shipping_address,
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-additional-fields {
	padding:0!important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce-form__label-for-checkbox span,
.elementor-widget-woocommerce-checkout-page #ship-to-different-address span,
.ast-single-post .entry-content .woocommerce a {
    font-size: 16px!important;
	font-weight: normal!important;
}

.woocommerce-page.woocommerce-checkout form #order_review td.product-name,
.woocommerce.woocommerce-checkout form #order_review td.product-name {
	display: table-cell!important;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td,
.woocommerce-page.woocommerce-checkout form #order_review tr.woocommerce-shipping-totals td {
	width: 100%;
	margin: 0;
    padding: 0;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td .woocommerce-shipping-methods {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td #shipping_method.woocommerce-shipping-methods li,
ul#shipping_method li {
	width: 100%;
    text-align: left;
    text-indent: unset !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td #shipping_method.woocommerce-shipping-methods li label,
ul#shipping_method li label {
	display: block;
	margin: 0 0 1em 0;
}

ul.getAddress_autocomplete_list {
	background: #f9fafa;
    border: 1px solid #045c2c;
	border-top: 0;
	margin: 0 0 1em 0;
	padding: 0;
}

ul.getAddress_autocomplete_list li {
	padding: 1em;
}

.getAddress_autocomplete_container_focused input {
   border: 1px solid #045c2c !important;
}

.date_timeslot {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 0 0 0;
    padding: 1em;
    background: #f9fafa;
	cursor:pointer;
}

.date_timeslots .date_timeslot p {
	margin: 0;
}

.date_timeslots .date_timeslot:hover {
	background: #045C2C;
}

.date_timeslots .date_timeslot:hover {
	color: #ffffff;
}

.date_timeslots .date_timeslot.selected:hover {
	background: #f9fafa;
}

.date_timeslots .date_timeslot.selected:hover {
	color: #000000;
}


.timeslots {
	display:none;
    width: 100%;
    justify-content: space-between;
	flex-direction: row;
	margin: 1em 0 0 0;
    /*
	display: flex;
	flex-wrap: wrap;
	*/
}

.selected .timeslots {
	display: flex;
}

.timeslots .timeslot {
	display: flex;
    flex-direction: column;
	flex-basis: 100%;
	flex: 1 1 50%;
}

.timeslots .timeslot .inner {
	display: flex;
    flex-direction: column;
	align-items: center;
	margin: 5px;
	padding: 0.5em;
    border: 1px solid #045C2C;
}

.timeslots .timeslot .inner p {
	text-align:center;
}

.timeslots .timeslot span {
	color: #045C2C;
}

.timeslots .timeslot:hover .inner {
	background: #045C2C;
}

.timeslots .timeslot:hover,
.timeslots .timeslot:hover span {
	color: #ffffff;
}

.template-wrapper {
	display: flex;
    flex-direction: column;
	gap: 20px;
    transition: max-height 0.3s ease;
}

fieldset.time-cost-group-wrapper {
	display:flex;
	position:relative!important;
    margin:0!important;
}

.flex-direction-column {
	flex-direction:column;
}

fieldset.time-cost-group-wrapper.flex {
	display: flex;
	gap: 20px;
}

.woocommerce table.form-table fieldset {
	display: flex;
}

fieldset.time-cost-group-wrapper .group-field {
	display: flex;
    flex-direction: column;
	flex: 1 1 0;
}

fieldset.time-cost-group-wrapper .group-field input,
fieldset.time-cost-group-wrapper.flex-direction-column input {
	width: 100%!important;
}

.time-cost-group-template {
	background: #f2f2f2;
    padding: 0;
    margin: 0;
}

.time-cost-group-wrapper .wc-shipping-zone-method-currency {
    position: absolute;
	left: 12px;
    top: 40px!important;
    color: #757575;
}

.time-cost-group-container label.heading {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.time-cost-group-container button {
	margin: 20px 0 0 0;
    padding: 5px 10px;
	cursor:pointer;
}

/* Calendar CSS styling */

.ui-widget-header {
    border: 0 !important;
    background: #045C2C !important;
}

.ui-widget-content {
    background: #ffffff !important;
	padding: 1em !important;
}

table.ui-datepicker-calendar {
    border: 0 !important;
}

.ui-state-default, .ui-widget-content .ui-state-default {
	background: #045C2C !important;
	color: #ffffff !important;
	border-radius: 5px;
    font-weight: normal !important;
	border: 1px solid #045C2C !important;
}

.ui-state-disabled .ui-state-default {
	background: #ffffff !important;
	color: #D4D4D4 !important;
}

.ui-state-active, .ui-widget-content .ui-state-active {
	background: #FCAC06 !important;
	border: 1px solid #FCAC06 !important;
}

.ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
	border: 1px solid #ffffff !important;
    background: #ffffff !important;
    color: #045C2C !important;
}

.ui-widget-header .ui-state-active,
a.ui-button:active, .ui-button:active {
	border: 1px solid #045C2C !important;
    background: #045C2C !important;
    font-weight: normal !important;
    color: #ffffff !important;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-button.ui-state-active:hover {
	/*border-color: inherit !important;*/
}

.ui-datepicker td {
	padding: 3px !important;
}

.ui-datepicker td span, .ui-datepicker td a {
	text-align: center !important;
    padding: 7px 7px !important;
}

.ui-datepicker th {
    padding: 10px 10px !important;
}

.ui-datepicker {
    width: 20em !important;
}

.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled {
    position: relative;
	opacity: 1 !important;
}

.ui-state-disabled .ui-state-default, .ui-widget-content .ui-state-disabled .ui-state-default {
	/*border: 1px solid #aaaaaa !important;*/
}

ui-widget-header .ui-state-disabled .ui-state-default {
}

.ui-state-disabled .ui-state-default,
.ui-widget-content .ui-state-disabled .ui-state-default,
.ui-widget-header .ui-state-disabled .ui-state-default {
    position: relative;
	overflow: hidden;
}

.ui-state-disabled .ui-state-default::before,
.ui-widget-content .ui-state-disabled .ui-state-default::before,
.ui-widget-header .ui-state-disabled .ui-state-default::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 150%;
	height: 2px;
	background-color: #aaaaaa;
	transform: rotate(45deg);
	transform-origin: left top;
}

.ui-widget-header .ui-state-hover, .ui-state-focus,
.ui-widget-header .ui-state-focus {
	border: 0 !important;
	background: 0 !important;
	color: inherit !important;
}
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon, .ui-button:hover .ui-icon, .ui-button:focus .ui-icon {
	background-image: url(../../images/ui-icons_ffffff_256x240.png)!important;
}

.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover {
	top: 2px !important;
	cursor:pointer;
}

.ui-datepicker .ui-datepicker-next-hover {
    right: 2px !important;
}

.ui-datepicker .ui-datepicker-prev-hover {
    left: 2px !important;
}

.date-selected {
	color: #FCAC06;
}

p.form-row:has(input.input-hidden) {
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce-checkout #payment .payment_methods .payment_box {
	background:#ffffff !important;
	padding:0 !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce-checkout #payment .payment_methods .payment_box fieldset {
	border:0 !important;
	padding:0 !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce-checkout #payment .payment_methods .payment_box .p-HeightObserverProvider-container {
	margin: 0 !important;
}

.elementor-widget-woocommerce-checkout-page .woocommerce-checkout #payment .payment_methods .payment_box input {
	background-color: #f9fafa!important;
}

.custom-spinner-holder {
    position: fixed;
    top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-height: 100%;
	width: 100%;
	padding: 40px;
    background: #fcac06;
    color: #000000;
	overflow-y: auto;
}

.custom-spinner-holder .close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #000;
    cursor: pointer;
    padding: 0;
    line-height: normal;
    font-weight: bold;
    box-shadow: none;
    height: auto;
}

.custom-spinner-inner {
    display: flex;
	flex-direction: column;
    justify-content: center;
    align-items: center;
}

.custom-spinner-inner img {
	width: 60px;
	height: auto;
	animation: spin 1s ease-in-out infinite
}

.custom-spinner {
    display: inline-block;
    margin-bottom: 10px;
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.collection-time-text {
	display: flex;
}

.collection-time-text a {
	margin: 5px 0 0 0;
	padding: 5px;
	border: 1px solid #045C2C;
}

.collection-time-text a:hover,
.elementor-widget-woocommerce-checkout-page .collection-time-text a:hover {
	color: #045C2C;
	opacity: 0.8;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes highlight-border {
    0% { border-color: transparent; }
    50% { border-color: #FCAC06; }
    100% { border-color: transparent; }
}

@media (min-width: 922px) {
	.custom-spinner-holder {
		width: 50%;
	}
}
#collection-time-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

#collection-time-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    z-index: 9999;
    max-width: 500px;
    width: 90%;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#collection-time-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}