/**
 * Stylesheet: Mini Cart Widget
 *
 * @package Custom_Elementor_Cart_Checkout
 */

.cecc-mini-cart-wrapper {
	display: inline-flex;
	align-items: center;
	position: relative;
}

.cecc-mini-cart-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: transparent;
	border: none;
	padding: 8px 12px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s ease;
	outline: none;
}

.cecc-mini-cart-icon-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cecc-mini-cart-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #9a7041;
	font-size: 22px;
	line-height: 1;
	transition: color 0.3s ease;
}

.cecc-mini-cart-icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.cecc-mini-cart-count {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	background-color: #a87942;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	font-family: inherit;
	border-radius: 50%;
	line-height: 18px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Badge Positions */
.badge-pos-top_right .cecc-mini-cart-count {
	top: -8px;
	right: -10px;
}

.badge-pos-top_left .cecc-mini-cart-count {
	top: -8px;
	left: -10px;
}

.badge-pos-bottom_right .cecc-mini-cart-count {
	bottom: -8px;
	right: -10px;
}

.badge-pos-bottom_left .cecc-mini-cart-count {
	bottom: -8px;
	left: -10px;
}

.cecc-mini-cart-label {
	font-size: 14px;
	font-weight: 600;
	color: #333333;
	transition: color 0.3s ease;
}

.cecc-mini-cart-subtotal {
	font-size: 14px;
	font-weight: 700;
	color: #9a7041;
}

/* Bounce effect on update */
.cecc-mini-cart-count.cecc-bump {
	transform: scale(1.35);
}
