/*  ============================================================
 1. GLOBAL
    ============================================================  */

	img {
		display: block;
	}

	button {
		border: 0;
		cursor: pointer;
		-webkit-appearance: none;
		-moz-appearance: none;
	}

	.button:hover,
	.button:focus {
		background-color: #ccc;
	}

	label {
		display: block;
		font-weight: 700;
	}

	label {
		margin-bottom: .25em;
	}

	select {
		height: calc(2.5em + 1px);
		padding: .5em;
		background-color: #fff;
		border: 1px solid #666;
		border-radius: 4px;
		cursor: pointer;
		/* -moz-appearance: none;
		-webkit-appearance: none;
		appearance: none; */
	}

	.visually-hidden {
		position: absolute !important;
		height: 1px;
		width: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
		padding: 0;
		border: 0;
	}

	.wrapper-small {
		max-width: 40em;
		margin-left: auto;
		margin-right: auto;
	}

	.text-block {
		padding-bottom: 6em;
	}

	.text-block > * {
		margin-bottom: 0;
	}

	.text-block h2 {
		font-size: 2em;
	}

	.text-block h3 {
		font-size: 1.3125em;
		font-weight: 700;
	}

	.text-block ul {
		list-style-type: disc;
	}

	.text-block > * + * {
		margin-top: 1em;
	}

	.text-block > * + h2,
	.text-block > * + h3 {
		margin-top: 1.5em;
	}

	@media screen and (min-width: 70.1em) {

		.wrapper,
		.woocommerce-notices-wrapper {
			margin-left: auto;
			margin-right: auto;
			width: 65.8625em;
		}

		[class*="wrapper"] > .woocommerce-notices-wrapper {
			width: 100%;
		}

	}

	@media screen and (min-width: 78.75em) {

		.wrapper,
		.woocommerce-notices-wrapper {
			width: 83.5%;
		}

	}


	/*  NOTIFICATIONS
	------------------------------  */

	.woocommerce-notices-wrapper:not(:empty) {
		margin-top: 3em;
		margin-bottom: 3em;
	}

	.woocommerce-notices-wrapper > * + * {
		margin-top: 1.5em;
	}

	.woocommerce-message {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		justify-content: space-between;
		padding: .75em 1em;
		background: #eee;
		border: 1px solid #000;
		border-radius: 5px;
	}

	.woocommerce-error {
		padding: .75em 1em;
		background: #eee;
		border: 1px solid #B00;
		border-radius: 5px;
	}

	.woocommerce-error > * + * {
		margin-top: .25em;
	}

	.message-heading {
		width: 100%;
		margin: 0;
		font-size: 1.3125em;
		font-weight: 700;
	}

	.poa-message .message-heading {
		font-size: 1.125em;
	}

	.message-text {
		margin-bottom: 0;
		font-size: 1.125em;
	}

	.poa-message .message-text {
		font-size: 1em;
	}

	.message-product-title {
		font-style: italic;
	}

	.basket-link {
		margin-left: .5em;
		font-size: 1.125em;
		text-decoration: underline;
		text-underline-position: under;
	}



/*  ============================================================
 2. SHOP PAGE
    ============================================================  */

	.woocommerce-products-header {
		border: 0;
	}

	.products {
		display: grid;
		/* grid-template-columns: repeat(auto-fill, minmax(min(12rem, 100%), 1fr)); */
		grid-gap: 2.25em;
		margin-bottom: 6em;
	}

	.woocommerce-loop-product__link {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		justify-content: space-between;
	}

	.products .attachment-woocommerce_thumbnail {
		width: 100%;
	}

	.woocommerce-loop-product__title {
		max-width: 75%;
		margin: 1em 0 0;
		font-size: .875em;
		line-height: 1.25;
	}

	.price {
		font-size: .75rem;
		color: #666;
	}

	@media screen and (min-width: 37.5em) {

		.products {
			grid-template-columns: repeat(2, 1fr);
		}

	}

	@media screen and (min-width: 56.25em) {

		.products {
			grid-template-columns: repeat(3, 1fr);
		}

	}

	@media screen and (min-width: 75em) {

		.products {
			grid-template-columns: repeat(4, 1fr);
		}

	}

	@media screen and (min-width: 1680px) {

		.woocommerce-loop-product__title {
			font-size: 1em;
		}

		.price {
			font-size: .875rem;
		}

	}



/*  ============================================================
 3. SINGLE PRODUCT
    ============================================================  */

	.product-wrapper {
		max-width: 75em;
	}

	.single-product .product {
		margin-top: 6em;
		margin-bottom: 6em;
	}

	.single-product .product > * + * {
		margin-top: 3rem;
	}

	.product_title {
		margin: 0 0 0.5em 0;
		font-size: 2.625em;
		line-height: 1.25;
	}

	.single-product .product .price,
	.single-product .out-of-stock {
		font-size: 1.3125em;
	}

	.single-product .product .woocommerce-variation-price .price,
	.woocommerce-variation-price .out-of-stock {
		font-size: 1em;
	}

	.price-description {
		display: block;
		font-size: .75em;
	}

	.in-stock {
		font-style: italic;
	}

	.out-of-stock {
		color: #B00;
	}

	.product-description p {
		font-size: 1.125em;
	}

	.product-meta {
		display: table;
		margin: 1em 0 2em;
		font-size: 1em;
	}

	.product-key-value {
		display: table-row;
	}

	.product-key-value > * {
		display: table-cell;
		padding-bottom: .25em;
	}

	.product-key-value:last-child > * {
		padding-bottom: 0;
	}

	.product-meta-key {
		color: #666;
	}

	.product-meta-value {
		padding-left: 1em;
	}

	.single-product .cart,
	.single_variation_wrap,
	.woocommerce-variation-add-to-cart {
		display: flex;
	}

	.variations_form {
		flex-wrap: wrap;
		align-items: center;
	}

	.single_variation_wrap {
		width: 100%;
		margin-top: 1em;
	}

	.woocommerce-variation-price {
		margin-left: .5em;
	}

	.qty {
		height: 100%;
		max-width: 4rem;
		padding: .5em;
	}

	.single_add_to_cart_button {
		margin-right: 0;
		margin-bottom: 0;
		font-size: 1em;
		background-color: #ddd;
	}

	.quantity + .single_add_to_cart_button {
		margin-left: 1em;
	}

	.quantity.hidden + .single_add_to_cart_button {
		margin-left: 0;
	}

	.flex-control-thumbs {
		display: flex;
		margin-top: 1em;
	}

	.flex-control-thumbs > * + * {
		margin-left: 1em;
	}

	.flex-control-thumbs img {
		max-width: 100px;
		cursor: pointer;
	}

	.pswp__caption__center {
		font-size: 1em;
		text-align: center;
	}

	.related-products {
		position: relative;
		padding: 0 0 8.75em 0;
	}

	.related-products::before {
		content: '';
		position: absolute;
		width: 83.5%;
		top: 0;
		left: 8.25%;
		border-top: 1px solid #e5e5e5;
	}

	.related-products .caption {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		justify-content: space-between;
	}

	.related-products .post-thumb-title {
		width: 75%;
		margin-top: 1em;
		font-size: .875em;
		line-height: 1.25;
	}

	@media screen and (min-width: 56.25em) {

		.single-product .product {
			display: flex;
			margin-top: 6em;
			margin-right: -1.5em;
			margin-bottom: 6em;
			margin-left: -1.5em;
		}

		.single-product .product > * {
			width: 50%;
			padding-left: 1.5rem;
			padding-right: 1.5em;
		}

		.single-product .product > * + * {
			margin-top: 0;
		}

	}

	@media screen and (min-width: 78.75em) {

		.related-products {
			width: calc(83.5% + 13.2em);
			margin-left: auto;
			margin-right: auto;
		}

		.related-products::before {
			left: calc(8.25% - 3.3em + 9px);
			width: calc(83.5% + 4.95em + 9px);
		}

	}

	@media screen and (min-width: 1680px) {

		.related-products .post-thumb-title {
			font-size: 1em;
		}

	}



/*  ============================================================
 4. BASKET
    ============================================================  */

	.shop_table {
		width: 100%;
		border: 1px solid #ddd;
	}

	.woocommerce-cart-form {
		overflow: auto;
	}

	.woocommerce-cart-form .shop_table {
		width: 100%;
		margin-bottom: 2.25em;
	}

	/* .cart-collaterals .shop_table {
		min-width: 18em;
	} */

	.shop_table th,
	.shop_table td {
		padding: .75em 1em;
	}

	.cart_totals .shop_table th,
	.cart_totals .shop_table td {
		vertical-align: baseline;
	}

	.shop_table th {
		text-align: left;
	}

	.woocommerce-cart-form th {
		border-bottom: 1px solid #ddd;
	}

	/* .actions, */
	[name="update_cart"] {
		display: none;
	}

	.cart-collaterals {
		margin-bottom: 6em;
	}

	.woocommerce-cart-form .product-thumbnail img {
		max-width: 100px;
	}

	.shop_table .price {
		font-size: 1em;
	}

	.remove {
		font-size: 1.5em;
	}

	.actions {
		border-top: 1px solid #ddd;
	}

	.coupon label {
		width: 100%;
	}

	.coupon .button,
	.checkout-button {
		background-color: #ddd;
	}

	.coupon .button:hover,
	.coupon .button:focus {
		background-color: #ccc;
	}

	.text-block ul.woocommerce-shipping-methods {
		list-style: none;
	}

	.woocommerce-shipping-destination {
		margin: 0;
		font-style: italic;
	}

	.woocommerce-shipping-methods label,
	.order-total strong,
	.woocommerce-shipping-destination strong {
		font-weight: 400;
	}

	.checkout-button {
		margin-top: 1.5em;
		margin-right: 0;
		margin-left: 0;
		font-size: 1em;
	}

	.coupon .button {
		margin: 1em 0 0 0;
	}

	.wc-backward {
		margin: 0;
		text-decoration: none;
		background-color: #ddd;
	}

	@media screen and (min-width: 37.5em) {

		.coupon {
			display: flex;
			flex-wrap: wrap;
		}

		.coupon .button {
			margin: 0 0 0 1em;
		}

	}



/*  ============================================================
 5. CHECKOUT
    ============================================================  */

	.checkout,
	.woocommerce-order {
		margin-bottom: 6em;
	}

	.checkout > * + *,
	#customer_details > * + * {
		margin-top: 3em;
	}

	#order_review > * + *,
	#payment > * + * {
		margin-top: 1.5em;
	}

	.checkout h2 {
		font-size: 1.5em;
	}

	.checkout input,
	.checkout textarea,
	.select2-container .select2-selection--single {
		width: 100%;
		padding: .5em;
		border: 1px solid #666;
	}

	.checkout textarea {
		height: calc(1.5em * 8);
	}

	.select2-container .select2-selection--single {
		height: calc(2.5em + 1px);
		display: flex;
		align-items: center;
	}

	.select2-container--default .select2-search--dropdown .select2-search__field {
		width: calc(100% - 1em);
		margin: .5em;
		padding: .5em;
		border: 1px solid #666;
	}

	.select2-container--default .select2-selection--single .select2-selection__arrow {
		top: 50%;
		transform: translateY(-50%);
	}

	.select2-container .select2-selection--single .select2-selection__rendered {
		padding: 0;
		line-height: inherit;
	}

	.select2-container--default .select2-results__option--highlighted[aria-selected],
	.select2-container--default .select2-results__option--highlighted[data-selected] {
		background-color: #ddd;
		color: #000;
	}

	.select2-container--default .select2-results__option[data-selected="true"] {
		background-color: #ccc;
	}

	.select2-search--dropdown {
		padding: var(--space-3xs) var(--space-xs);
	}

	.select2-dropdown {
		border: 1px solid #666;
		border-radius: 3px;
	}

	label.checkbox {
		display: flex;
	}

	label.checkbox > * + * {
		margin-left: .5em;
	}

	.checkout input[type="checkbox"] {
		position: relative;
		height: 1em;
		width: 1em;
		margin-top: .05em;
		border: 1px solid #000;
		-webkit-appearance: none;
	}

	[type="checkbox"]:checked {
		background-color: #000;
	}

	[type="checkbox"]:checked::after {
		content: "\2713";
		position: absolute;
		top: 50%;
		left: 50%;
		-webkit-transform: translate(-50%,-50%);
		-ms-transform: translate(-50%,-50%);
		transform: translate(-50%,-50%);
		color: #fff;
	}

	.woocommerce-input-wrapper strong {
		font-weight: 400;
	}

	.shipping_address,
	.woocommerce-additional-fields {
		margin-top: 1.5em;
	}

	#order_review .shop_table {
		width: 100%;
	}

	#place_order {
		margin-left: 0;
		margin-right: 0;
		font-size: 1em;
		background-color: #ddd;
	}

	#place_order:hover,
	#place_order:focus {
		background-color: #ccc;
	}

	.coupon-toggle-wrapper {
		margin-bottom: 3em;
		padding: 1em;
		border: 1px solid #000;
		border-radius: 5px;
	}

	.coupon-toggle-wrapper > * + *,
	.checkout_coupon > * + *  {
		margin-top: 1em;
	}

	.checkout_coupon p  {
		margin-bottom: 0;
	}

	#coupon_code {
		padding: .5em;
		border: 1px solid #666;
	}

	.checkout_coupon p:last-of-type {
		margin-bottom: 0;
	}

	.checkout_coupon .button {
		margin-left: 0;
		margin-right: 0;
		background-color: #ddd;
	}

	.checkout_coupon .button:hover,
	.checkout_coupon .button:focus {
		background-color: #ccc;
	}

	.product-key-value.date {
		font-size: 1em;
		text-transform: none;
		letter-spacing: 0;
	}

	.product-key-value .price {
		font-size: 1em;
		color: #000;
	}

	.wc_payment_methods {
		display: none;
	}

	.woocommerce-thankyou-order-received {
		font-size: 1.125em;
	}



/*  ============================================================
 6. MC4WP
    ============================================================  */

	* + .mc4wp-form {
		margin-top: 3em;
	}

	* + .mc4wp-response {
		margin-top: 0;
	}

	* + .mc4wp-response:not(:empty) {
		margin-top: 3em;
	}

	.form-row > * + * {
		margin-top: 0;
	}

	.mc4wp-form input {
		width: 100%;
		border: 1px solid #666;
		border-radius: 0;
	}

	.mc4wp-form input[type="text"],
	.mc4wp-form input[type="email"] {
		padding: .5em;
	}

	.mc4wp-form input[type="submit"] {
		margin-top: .5em;
		padding: 1em;
	}
