/* Button Colours */
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt
{
	background-color: var(--wp--preset--color--blue);
}

@media(hover: hover)
{
	.woocommerce #respond input#submit.alt:hover,
	.woocommerce a.button.alt:hover,
	.woocommerce button.button.alt:hover,
	.woocommerce input.button.alt:hover
	{
		background: var(--wp--preset--color--blue);
	}

	.woocommerce div.product form.cart .button:hover
	{
		background: var(--wp--preset--color--mblue);
		color: #fff;
	}
}

/* Quantity Field */
.woocommerce div.product form.cart
{
	display: flex;
	margin-bottom: 10px;
}

.woocommerce div.product form.cart div.quantity
{
	margin-right: 10px;
	display: flex;
}

.woocommerce .quantity input.qty
{
	width: 100%;
	max-width: 150px;
	min-width: 80px;
}

/* Coupons */
.coupon
{
	display: flex;
}

#coupon_code
{
	min-width: 200px;
}

/* Add to cart button on shop page */
.woocommerce ul.products li.product .button
{
	margin-right: 10px;
}

/* Product Badges */
.badges
{
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	margin: 10px 0;
}

.badges a,
abbr
{
	text-decoration: none;
}

.badges abbr,
.woof_products_top_panel abbr,
.woof_list abbr
{
	border: 2px solid;
	border-radius: 50%;

	display: flex;
	justify-content: center;
	align-items: center;

	width: 35px;
	height: 35px;
	font-weight: 700;
	font-size: 0.7em;
}

.woof_products_top_panel
{
	display: block;
	background: #eee;
	padding: 5px;
	text-align: center;
	clear: both;
	border-top: solid #fff 20px;
}

.woof_products_top_panel a
{
	text-transform: capitalize;
	font-size: 13px;
	color: #999;
}

.woof_products_top_panel li
{
	margin-right: 5px !important;
}

.woof_products_top_panel li span
{
	background-size: 8px;
	padding-right: 20px;
	background-image: url(/wp-content/themes/allaboutorganics/images/delete.svg?v=2);
	background-position: calc(100% - 5px) 5px;
	display: block;

	background-color: #FFF;
	padding: 5px 10px 5px 5px;
	border: 1px solid white;

	border-radius: 4px;
}

@media(hover:hover)
{
	.woof_products_top_panel li span:hover
	{
		border: 1px solid red;
		background-size: 8px;
	}
}

.woof_products_top_panel abbr,
.woof_list abbr
{
	display: inline-flex;
}

/* Certified Organic */
.badges abbr.t137,
.woof_products_top_panel abbr.t137,
.woof_list abbr.t137
{
	color: #54744b
}

/* Certified Bio-diverse*/
.badges abbr.t139,
.woof_products_top_panel abbr.t139,
.woof_list abbr.t139
{
	color: #cec69f
}

/* Dairy Free */
.badges abbr.t131,
.woof_products_top_panel abbr.t131,
.woof_list abbr.t131
{
	color: #9abfc7
}

/* FODMAP Friendly */
.badges abbr.t132,
.woof_products_top_panel abbr.t132,
.woof_list abbr.t132
{
	color: #677a74
}

/* Gluten Free */
.badges abbr.t130,
.woof_products_top_panel abbr.t130,
.woof_list abbr.t130
{
	color: #de8d07
}

/* Keto Friendly */
.badges abbr.t169,
.woof_products_top_panel abbr.t169,
.woof_list abbr.t169
{
	color: #df313d
}

/* Nut Free */
.badges abbr.t136,
.woof_products_top_panel abbr.t136,
.woof_list abbr.t136
{
	color: #95836f
}

/* Vegetarian */
.badges abbr.t134,
.woof_products_top_panel abbr.t134,
.woof_list abbr.t134
{
	color: #a1af56
}

/* Paleo Friendly */
.badges abbr.t133,
.woof_products_top_panel abbr.t133,
.woof_list abbr.t133
{
	color: #d0a731
}

/* No Added Sugar */
.badges abbr.t138,
.woof_products_top_panel abbr.t138,
.woof_list abbr.t138
{
	color: #9cc8df
}

/* Vegan Friendly */
.badges abbr.t135,
.woof_products_top_panel abbr.t135,
.woof_list abbr.t135
{
	color: #e1c6b1
}

/* Australian */
.badges abbr.t147,
.woof_products_top_panel abbr.t147,
.woof_list abbr.t147
{
	color: #68943f
}

/* Free Trade */
.badges abbr.t140,
.woof_products_top_panel abbr.t140,
.woof_list abbr.t140
{
	color: #726d59
}

.woof_sid_widget
{
	margin-top: 8px;
}

/* Hide Product Filter junk */
.woof_submit_search_form_container,
.woof_list input
{
	display: none;
}

/* Woof Filter on badges */
ul.woof_list
{
	text-transform: uppercase;
	color: #333;
	border: 1px solid #eee;
	padding: 10px;
}

.woof_list_checkbox li
{
	display: block;
	text-align: left;
	margin: 5px !important;
	padding: 0 !important;
}

.woof_list_checkbox .woof_checkbox_label
{
	width: auto;
	height: auto;
	border: none;
	background: none;
	text-align: left;
	display: block !important;
	padding: 5px;
	margin: 0;
	border-radius: 4px;
}

.woof_list_checkbox li .woof_checkbox_label.checked
{
	color: #333;
	background: transparent
}


/* Category layouts */
.woocommerce span.onsale
{
	box-sizing: content-box;
}

#content ul.products
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 40px;
}

#content ul.products::before,
#content ul.products::after
{
	content: none;
}

#content ul.products li
{
	float: none;
	width: 100%;
	margin: 0;
}

.sidebar ul
{
	list-style: none;
	padding: 0;
	margin: 0;
}

.wp-block-woocommerce-product-categories .toggleSubMenu
{
	position: relative;
	width: 30px;
	height: 30px;
	border: 2px solid;
	border-radius: 50%;
	color: inherit;
	background: none;
	padding: 0;
}

.wp-block-woocommerce-product-categories .toggleSubMenu::before,
.wp-block-woocommerce-product-categories .toggleSubMenu::after
{
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	left: 5px;

	height: 2px;
	width: 16px;
	background: currentColor;
}

.wp-block-woocommerce-product-categories .toggleSubMenu::after
{
	transform: rotate(90deg);
}

.wp-block-woocommerce-product-categories .toggleSubMenu.open::after
{
	content: none;
}

.toggleSubMenu:not(.open) + .wc-block-product-categories-list
{
	display: none;
}

.wc-block-product-categories-list .wc-block-product-categories-list
{
	grid-column: 1 / -1;
	padding-left: 20px;
}

.wc-block-product-categories-list a
{
	text-decoration: none;
	color: #999;
	padding: 10px;
	display: block;
}

.wc-block-product-categories-list-item
{
	display: grid;
	grid-template-columns: 1fr auto;
	grid-auto-flow: dense;
	align-items: center;
}

.wc-block-product-categories-list li.current-cat-ancestor > a,
.wc-block-product-categories-list li.current-cat > a
{
	color: #b35150;
}

.wc-block-product-categories-list li.current-cat > a
{
	font-weight: 700;
}

.wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item
{
	border-bottom: 1px solid #eee;
}

.woocommerce-product-search
{
	display: flex;
}

/* Product Description Formatting */

.woocommerce-Tabs-panel--description table
{
	border-collapse: collapse;
	border: 1px solid #eee;
	width: 100%;
}

.woocommerce-Tabs-panel--description td
{
	padding: 10px 15px;
	border-bottom: 1px solid #eee;
}


/* Products Grid Overrides to make it look like the loop */
.wc-block-grid__product-link
{
	text-decoration: none;
	color: #2b3033;
	font-family: 'Roboto Slab', serif;
}

.wc-block-grid__product
{
	text-align: left;
}

.wc-block-grid__product-price.price
{
	color: #77a464;
}

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link
{
	border-radius: 0;
	margin-top: 10px;
}

/* Sidebar Styleing for Widget Sidebar */
.wp-block-search__button
{
	margin: 0;
}

.wp-block-search__label
{
	clip-path: polygon(0 0);
	width: 1px;
	height: 1px;
	position: absolute;
}

.sidebar .widget:not(:last-child)
{
	margin-bottom: calc(var(--section-padding) / 2);
}

.woocommerce-products-header__title
{
	margin-top: 0;
}


/*
change order of fields
*/
.woocommerce-EditAccountForm
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.woocommerce-EditAccountForm .clear
{
	display: none;
}

.woocommerce-EditAccountForm fieldset
{
	order: 1;
	grid-column: span 2;
}

.woocommerce-EditAccountForm .woocommerce-form-row.form-row-first,
.woocommerce-EditAccountForm .woocommerce-form-row.form-row-last
{
	grid-column: span 1;
}

.woocommerce-EditAccountForm > :last-child
{
	order: 2;
}

form.woocommerce-EditAccountForm .woocommerce-form-row
{
	width: 100%;
	float: none;
	grid-column: span 2;
}




@media (hover: hover)
{
	.woof_list_checkbox .woof_checkbox_label:hover
	{
		background: #00000005;
		color: #333;
	}
}

@media (min-width: 750px)
{
	.wooWrap
	{
		display: grid;
		grid-template-columns: 300px 1fr;
		gap: 60px;
		grid-template-areas: "sidebar content";
		margin-top: var(--section-padding);
	}

	.sidebar
	{
		grid-area: sidebar;
	}
}


.orddd-checkout-fields .orddd_field_note
{
	font-size: unset;
}


.added_to_cart
{
	padding: 0 20px;
}
