@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");

:root {
	--ao-primary: #193750;
	--ao-primary-alpha: #203a647a;
	--ao-primary-faded: #d1e3ff7a;
	--ao-secondary: #afafaf;
	--ao-background: #fff;
	--ao-heading-color: #1f1f1f;
	--ao-heading-light: #fff;
	--ao-shadow: #baced942;
	--ao-content: #737578;
	--ao-block: #fff;
	--ao-border: #e9e9e9;
	--ao-error: #fc4242;
	--trans-speed: 0.5s;
	--transition: all var(--trans-speed) cubic-bezier(0.28, 0.6, 0.55, 0.95);
	--ao-box-shadow: 2px 2px 26px var(--ao-shadow);
}

::-webkit-scrollbar {
	width: 0.5vw;
}

::-webkit-scrollbar-track {
	background-color: var(--ao-block);
}

::-webkit-scrollbar-thumb {
	background: var(--ao-primary);
	border-radius: 0.25rem;
}

* {
	font-family: "DM Sans", sans-serif;
	--scrollbar-width: calc(100vw - 100%);
	box-sizing: border-box;
	scrollbar-color: var(--ao-primary);
	scrollbar-width: auto;
}

body {
	margin: 0;
	background-color: var(--ao-background);
	overflow-x: hidden;
}

svg {
	display: block;
	height: 1.5rem;
	width: 1.5rem;
}

input {
	border: 1px solid var(--ao-border);
	padding: 0.5rem;
	border-radius: 0.25rem;
	width: 100%;
}

/*
[type="checkbox"],
[type="radio"] {
	display: inline-block;
	height: 18px;
	width: 18px;
	position: relative;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: none;
}

[type="radio"] {
	border-radius: 50%;
	--checkmark-svg: ;
}

[type="checkbox"]:disabled,
[type="radio"]:disabled {
	cursor: not-allowed;
	color: GrayText;
}

[type="checkbox"]::before,
[type="radio"]::before {
	content: "";
	position: absolute;
	left: -2px;
	top: -2	px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: var(--ao-background);
	border: 1px solid var(--ao-border);
	border-radius: 0.25rem;
}

[type="radio"]::before {
	border-radius: 50%;
}

[type="radio"]:checked::before {
	border-color: var(--ao-primary);
}

[type="radio"]:checked::after,
[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 1px;
	top: 1px;
	background-color: var(--ao-primary);
	width: 14px;
	height: 14px;
	border-radius: 50%;
}

[type="checkbox"]:checked::before {
	background-color: var(--ao-primary);
	border-color: var(--ao-primary);
}

[type="checkbox"]:checked::after {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	top: -2px;
	left: -2px;
	background-repeat: no-repeat;
	background-color: unset;
	background-image: url("data: image/svg+xml;utf8,<?xml version='1.0' encoding='utf-8'?><svg xmlns='http://www.w3.org/2000/svg' height='100%' width='100%' viewBox='0 -960 960 960'><path fill='white' d='M378-246 154-470l43-43 181 181 384-384 43 43-427 427Z' /></svg>");
	color: var(--ao-heading-light);
	border-radius: 0.25rem;
}*/

form.woocommerce-form-coupon {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

form.woocommerce-form-coupon p.form-row {
	display: block;
	width: fit-content;
}

form.woocommerce-form-coupon button.wp-element-button {
	position: static;
}

.cart-item,
.cart-item .quantity {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
}

.cart-item {
	justify-content: flex-start;
	background-color: var(--ao-block);
	color: var(--ao-primary);
	padding: 1rem;
	margin: 0.5rem 0;
	border-radius: 1rem;
	box-shadow: 2px 2px 26px var(--ao-shadow);
}

div.cart-item img {
	flex-basis: 10%;
	height: 5rem;
	margin-right: 0.5rem;
	object-fit: cover;
	border-radius: 0.25rem;
}

div.cart-item img.none {
	display:none;
}

.cart-item>div:last-of-type {
	margin-left: auto;
}

.cart-item .remove-from-cart {
	display: block;
	margin-left: auto;
	width: fit-content;
}

.cart-item .quantity {
	margin-top: 0.75rem;
}

.cart-item .quantity .change-number {
	padding: 0.25rem;
	margin: 0 0.5rem;
}

.quantity span:first-of-type {
	margin-left: 0;
}

.quantity span:last-of-type {
	margin-right: 0;
}

.woocommerce-checkout #payment ul.payment_methods li #ao-card-container img {
	position: absolute;
	margin: 0;
}

div#checkout .store-blurb,
div#checkout .cart-items,
div#checkout .contact-form,
div#checkout .payment-form,
div#checkout #payment .payment_methods,
div#checkout #payment .place-order {
	padding: 1rem;
	border-radius: 1rem;
	box-shadow: 2px 2px 26px var(--ao-shadow);
	background-color: var(--ao-background);
	margin-bottom: 1rem;
	width: 100%;
	overflow: hidden;
}

div#checkout #payment .payment_methods>li:not(.woocommerce-notice),
div#checkout #payment .payment_methods>.wc_payment_method>label,
div#checkout #payment .payment_methods>li .payment_box {
	background-color: var(--ao-background);
}

div#checkout #payment .payment_methods>li:not(.woocommerce-notice) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

div#checkout #payment .payment_methods>li:not(.woocommerce-notice)>label {
	flex-basis: 75%;
}

div#checkout #payment .payment_methods>li:not(.woocommerce-notice)>label img {
	margin: 0;
}

div#checkout #payment .payment_methods>li:not(.woocommerce-notice) input.input-radio {
	flex-basis: calc(25% - 1rem);
	height: 2rem;
}

div#checkout #payment .payment_methods>li .payment_box {
	flex-basis: 100%;
}

div#checkout #payment .place-order {
	margin: 1rem 0 0;
}

div#checkout #payment .payment_methods li input[type=radio]:first-child:checked+label:before {
	color: var(--ao-primary);
}

div#checkout div.payment-header,
div#checkout div.gateway,
div#checkout div.gateway div {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

div#checkout div.payment-header {
	flex-direction: column;
	border-bottom: 1px solid var(--ao-border);
	margin-bottom: 0.5rem;
}

div#checkout div.gateway img {
	border-radius: 50%;
	height: 1.25rem;
	width: 1.25rem;
}

div#checkout div.gateway span {
	margin: 0 0.5rem;
}

div#checkout h3,
div#checkout h4,
div#checkout div.gateway {
	margin: 0 0 1rem;
}

div#checkout .store-blurb div {
	background-color: var(--ao-primary-faded);
	font-size: 80%;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	color: var(--ao-primary);
}

div#checkout .store-blurb p {
	color: var(--ao-heading-color);
	margin: 0 0 0.5rem;
}

div#checkout .cart-item {
	box-shadow: none;
	border-top: 1px solid var(--ao-border);
	border-bottom: 1px solid var(--ao-border);
	border-radius: unset;
}

div#checkout .cart-total {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

div#checkout .cart-total h3,
div#checkout .cart-total h4 {
	margin: 1rem 0 0;
}

div#checkout .field {
	padding: 0.5rem 0;
}

div#checkout .field span {
	display: flex;
	align-items: center;
	font-size: 80%;
	color: var(--ao-content);
	margin-bottom: 0.25rem;
}

div#checkout .field span svg {
	height: 1rem;
	width: 1rem;
	margin-right: 0.5rem;
}

div#checkout .payment-form button,
#payment .place-order .button {
	width: 100%;
	margin-top: 1rem;
	background-color: var(--ao-primary);
	color: var(--ao-background);
	border-style: none;
	padding: 0.5rem 1rem;
	font-size: 125%;
	border-radius: 0.25rem;
	cursor: pointer;
}

form.woocommerce-checkout #payment {
	background-color: unset;
}

form.woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

form.woocommerce-checkout {
	width: 100%;
}

form.woocommerce-checkout #payment ul.payment_methods li div.payment_box img {
	position: absolute;
	margin: 0;
}

form.woocommerce-checkout ul#shipping_method {
	display: flex;
	width: 100%;
	padding: 1rem;
}

form.woocommerce-checkout ul#shipping_method li {
	padding: 0 1rem;
}

@media screen and (min-width: 600px) and (max-width: 900px) {
	div#checkout div.payment-header {
		flex-direction: row;
	}
}

@media screen and (orientation: landscape) and (min-width: 1000px) {
	div.menu-header {
		position: static;
		padding: 0.5rem 5%;
		height: 10vh;
		box-shadow: none;
	}

	div.menu-header img {
		max-width: 25%;
		max-height: 8vh;
		height: auto;
		width: 100%;
	}

	div.menu-header div.header-menu {
		display: none;
	}

	div#aorder-header-container {
		position: relative;
		padding: 0.25rem 0.25rem 2rem;
		height: 45vh;
	}

	div.header-banner {
		width: 90%;
		height: 30vh;
	}

	div#checkout .cart-item {
		border-bottom: none;
		margin: 0;
	}

	div#checkout .cart-total {
		padding: 1rem 0;
		border-top: 1px solid var(--ao-border);
	}

	div#checkout .contact-form,
	div#checkout .payment-form {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	div#checkout .cart-total {
		align-items: center;
		flex-direction: row;
	}

	div#checkout h3,
	div#checkout h4,
	div#checkout .contact-form>div:last-of-type,
	div#checkout .payment-form>div:last-of-type,
	div#checkout .payment-form>div.payment-header,
	div#checkout div.gateway {
		flex-basis: 100%;
	}

	div#checkout .contact-form>div,
	div#checkout .payment-form>div,
	div#checkout .contact-form>div:nth-of-type(2n),
	div#checkout .payment-form>div:nth-of-type(2n) {
		flex-basis: calc(50% - 1rem);
	}
}

.woocommerce form.checkout_coupon {
	display: block!important;
}