/*
Theme Name: Africamps Guestbook

WooCommerce styles override
*/

/**
 * Shop tables
 */

/**
 * Products
 */

/**
 * Single product
 */

/**
 * Checkout
 */

/**
 * General WooCommerce components
 */

/**
 * WooCommerce widgets
 */
.header-cart {
	position: relative;
}

.header-cart .count {
	position: absolute;
	right: -1rem;
	background: #ccc;
	top: -1rem;
	border-radius: 50%;
	padding: 0.2rem 0.5rem;
	text-align: center;
	font-size: 0.7rem;
}

.site-products .categories-cta {
	width: 50%;
	margin: 0 auto 1rem;
}

.site-products h3 a {
	text-decoration: none;
	color: #666;
}

.products {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.products .product {
	width: 50%;
	margin: 0 0 2rem 0;
}

.products .product a {
	display: block;
}

.products .product .price a {
	text-decoration: none;
	color: #666;
}

.products .product h5 {
	margin: 0.5rem 0 0.25rem;
}

.products .product h5 a {
	text-decoration: none;
	color: #666;
	font-size: 0.75rem;
}

.products .product:nth-child(odd) {
	padding-right: 0.5rem;
}

.products .product:nth-child(even) {
	padding-left: 0.5rem;
}

.products .product .product-meta {
	display: flex;
	justify-content: space-between;
}

.products .product .product-meta svg {
	width: 1rem;
	height: auto;
}

.product select,
.product input {
	width: 100%;
	padding: 0.5rem;
}

.related.products h2 {
	width: 100%;
}

ul.products {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.products li.product {
	width: 50%;
	margin: 0 0 2rem 0;
}

ul.products li.product:nth-child(odd) {
	padding-right: 0.5rem;
}

ul.products li.product:nth-child(even) {
	padding-left: 0.5rem;
}

.woocommerce-notices-wrapper {
	margin: 2rem 0;
}

.woocommerce-notices-wrapper .woocommerce-message {
	background: #f3f3f3;
	padding: 10px;
	text-align: center;
	display: flex;
	flex-direction: column-reverse;
	margin: 1.5rem 0 0;
}

.woocommerce-notices-wrapper .woocommerce-message .button {
	width: 50%;
	background: #ac2b21;
	padding: 0.6em 1em 0.4em;
	border-radius: 2rem;
	color: #fff;
	display: block;
	margin: 0.5rem auto 0;
	text-decoration: none;
}

.woocommerce-notices-wrapper .woocommerce-error {
	background: #255;
	color: #fff;
	padding: 10px;
	border-radius: 6px;
}

.woocommerce-cart-form .cart.product {
	display: flex;
	flex-direction: row;

	/* flex-wrap: wrap; */
	margin: 0 0 1rem;
	background: #f1f1f1;
	padding: 10px;
}

.woocommerce-cart-form .cart.product .product-thumbnail {
	width: 40%;
}

.woocommerce-cart-form .cart.product .product-meta {
	display: flex;
	flex-direction: column;
	justify-content: start;
	width: 60%;
	padding: 0 1rem;
}

.woocommerce-cart-form .cart.product .product-meta .product-name {
	margin: 0 0 0.5rem;
}

.woocommerce-cart-form .cart.product .product-meta .product-name a {
	text-decoration: none;
	color: #666;
	font-size: 0.9rem;
}

.woocommerce-cart-form .cart.product .product-meta .product-name p {
	margin: 0;
	display: none;
}

.woocommerce-cart-form .cart.product .product-meta .product-price {
	font-size: 0.9rem;
}

.woocommerce-cart-form .cart.product .product-meta .product-quantity {
	margin: 0.5rem 0 0;
}

.woocommerce-cart-form .cart.product .product-meta .product-quantity .quantity {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.woocommerce-cart-form .cart.product .product-meta .product-quantity label {
	display: inline;
}

.woocommerce-cart-form .cart.product .product-meta .product-quantity input {
	width: 40%;
	text-align: center;
}

.woocommerce-cart-form .cart.product .product-meta a.remove {
	margin: 1rem 0 0;
	display: block;
	color: #e2401c;
}

.actions {
	display: flex;
	place-content: space-between;
}

.cart-collaterals table tr {
	text-align: left;
}

.cart-collaterals table td {
	text-align: right;
}

.woocommerce-checkout label,
.woocommerce-checkout input {
	width: 100%;
}

.woocommerce-checkout .woocommerce-checkout input[type="radio"],
.woocommerce-checkout .woocommerce-checkout input[type="checkbox"] {
	width: auto;
	margin: 0 6px 0 0;
}

.woocommerce-checkout ul.wc_payment_methods.payment_methods.methods {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-checkout ul.wc_payment_methods.payment_methods.methods li {
	background: #eee;
	padding: 14px;
	margin: 0 0 1rem;
}

.woocommerce-checkout ul.wc_payment_methods.payment_methods.methods li img {
	display: block;
}

header.woocommerce-products-header,
.reset_variations {
	display: none;
}

.woocommerce-product-gallery__trigger {
	display: none;
}

.woocommerce-product-gallery__wrapper {
	text-align: center;
}

.custom-error.overlay {
	position: fixed;
	left: 3%;
	top: 20%;
	width: 94%;
	background: rgba(0, 0, 0, 0.92);
	z-index: 100;
	display: flex;
	align-content: center;
	justify-content: center;
	padding: 6rem 1rem 5rem;
	border-radius: 8px;
	max-height: 65%;
}

.custom-error.overlay.hide {
	display: none;
}

.custom-error.overlay .error-close {
	position: absolute;
	top: 1.2rem;
	right: 1.2rem;
	z-index: 300;
	fill: #fff;
	font-size: 1rem;
	height: 2.2rem;
	width: 2.2rem;
	text-align: center;
	border-radius: 50%;
}

.custom-error.overlay .error-content {
	display: flex;
	justify-items: center;
	align-items: center;
	color: #fff;
}

.custom-error.overlay .error-content a {
	color: #fff;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details thead,
table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot {
	text-align: left;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details ul.wc-item-meta {
	list-style: none;
	margin: 0;
	padding: 0;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details ul.wc-item-meta li p {
	margin: 0 0 0.5rem;
}
