
/* Minicart core */
.wmc-cart-wrapper {
	position: fixed;
	width: 270px;
	z-index: 99999;
}

.wmc-cart {
	position: absolute;
	cursor: pointer;
}

.wmc-count {
	position: absolute;
	top: 0;
	right: -10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 9999px;
	background-color: #000;
	color: #fff;
	font-size: 12px;
}

/* Panel */
.wmc-content {
	position: relative;
	top: 50px;
	right: 10px;
	width: 270px;
	height: 420px;
	background-color: #fff;
	border: 1px solid #ccc;
	text-align: center;
	overflow: hidden;
	display: none;
	z-index: 999;
}

/* Open on hover */
.wmc-cart-wrapper:hover .wmc-content {
	display: block;
}

/* Header */
.wmc-content h3 {
	margin: 0;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #333;
	color: #fff;
	font-size: 20px;
}

/* Subtotal */
.wmc-subtotal {
	height: 40px;
}

.wmc-content h5 {
	margin: 0;
	padding: 0;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top: 1px solid #ccc;
	font-size: 18px;
	font-weight: 700;
}

/* Buttons */
.wmc-bottom-buttons {
	width: 100%;
	height: 50px;
}

.wmc-bottom-buttons a {
	float: left;
	width: 50%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #333;
	color: #fff;
	text-decoration: none;
	font-size: 20px;
}

/* Products list */
.wmc-products {
	height: 290px;
	margin: 0;
	padding-left: 0;
	list-style: none;
	overflow-y: auto;
}

.wmc-products li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px;
	border-bottom: 1px solid #ccc;
}

.wmc-products li:last-child {
	border-bottom: none;
}

/* Item parts */
.wmc-remove {
	width: 10%;
}

.wmc-image {
	width: 30%;
}

.wmc-details {
	width: 60%;
	text-align: center;
}

.wmc-product-title {
	color: #333;
	text-decoration: none;
}

.wmc-image img {
	max-width: 100%;
	height: auto;
}

.wmc-details h4 {
	font-size: 18px;
	font-weight: 700;
}

.wmc-price {
	font-size: 16px;
}

/* Empty state */
.wmc-empty {
	height: auto;
}

/* Shortcode context overrides */
.wmc-cart-wrapper.shortcode-wrapper {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	width: auto;
	z-index: 99999;
}

.shortcode-wrapper .wmc-cart {
	position: relative;
}

.shortcode-wrapper .wmc-content {
	position: absolute;
	top: 60px;
	right: 0;
	bottom: auto;
	z-index: 99999;
}

.shortcode-wrapper ul {
	position: relative;
	top: auto;
	left: auto;
	float: none;
}

.shortcode-wrapper li {
	display: inline-flex;
	max-width: 100%;
}

.shortcode-wrapper ul li a {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	padding: 0;
	text-indent: 0;
}

.shortcode-wrapper .wmc-bottom-buttons a {
	display: flex;
}
