/* Mini cart drawer, empty state. */

/* Header: bag icon + title (the close button sits at the right, from the drawer's own CSS). */
.cart-icon .zes-header__title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cart-icon .zes-header__icon {
	display: inline-flex;
	color: #111;
}

.cart-icon .zes-header .zmc-header-title {
	font-size: 18px;
	font-weight: 600;
}

/* Fill the drawer under the header and centre the message. */
.cart-icon .widget_shopping_cart_content:has(.zes-empty) {
	justify-content: center;
}

.cart-icon .woocommerce-mini-cart__empty-message.zes-empty {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 24px 24px 80px;
	text-align: center;
}

.cart-icon .zes-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 112px;
	height: 112px;
	margin-bottom: 28px;
	color: #d8d0cd;
	background: #faf9f8;
	border: 1px solid #eae4e1;
}

.cart-icon .zes-empty__title {
	margin: 0 0 10px;
	color: #292524;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
}

.cart-icon .zes-empty__text {
	display: block;
	max-width: 300px;
	margin: 0 0 30px;
	color: #a19690;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
}

.cart-icon .zes-empty__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 17px 44px;
	color: #fff;
	background: #000;
	border: 1px solid #000;
	border-radius: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .15s ease;
}

.cart-icon .zes-empty__button:hover,
.cart-icon .zes-empty__button:focus {
	color: #fff;
	background: #262626;
	border-color: #262626;
}

/* No "(0 items)" next to the title while the bag is empty. */
.cart-icon .zes-header:has(+ .widget_shopping_cart_content .zes-empty) .zmc-header-count {
	display: none;
}

/* Small devices: a little smaller type, icon box and button. */
@media (max-width: 767px) {
	.cart-icon .zes-header .zmc-header-title {
		font-size: 16px;
	}

	.cart-icon .zes-header__icon svg {
		width: 21px;
		height: 21px;
	}

	.cart-icon .woocommerce-mini-cart__empty-message.zes-empty {
		padding: 20px 20px 64px;
	}

	.cart-icon .zes-empty__icon {
		width: 92px;
		height: 92px;
		margin-bottom: 22px;
	}

	.cart-icon .zes-empty__icon svg {
		width: 36px;
		height: 36px;
	}

	.cart-icon .zes-empty__title {
		margin-bottom: 8px;
		font-size: 17px;
	}

	.cart-icon .zes-empty__text {
		max-width: 260px;
		margin-bottom: 24px;
		font-size: 13px;
		line-height: 1.6;
	}

	.cart-icon .zes-empty__button {
		padding: 13px 32px;
		font-size: 12px;
		letter-spacing: .12em;
	}
}
