/**
 * Sydent Implants - Mini-cart styles
 * 
 * Extracted from functions.php (was inlined in wp_head).
 * Loaded sitewide because the sticky side-cart can open on any page.
 *
 * Location: wp-content/themes/hello-theme-child-master/assets/css/sydent-minicart.css
 */

/* Mini-cart item layout */
.widget_shopping_cart .sydent-minicart-item {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	padding: 15px 0 15px 35px !important;
	border-bottom: 1px solid #f0f0f0 !important;
}


/* Top row: Image and Title */
.widget_shopping_cart .sydent-minicart-item__top {
	display: flex !important;
	gap: 12px !important;
	align-items: flex-start !important;
}

.widget_shopping_cart .sydent-minicart-item__image {
	flex-shrink: 0 !important;
	width: 104px !important;
	height: 104px !important;
}

.widget_shopping_cart .sydent-minicart-item__image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 4px !important;
}

.widget_shopping_cart .sydent-minicart-item__info {
	flex: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
}

.widget_shopping_cart .sydent-minicart-item__title {
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
}

.widget_shopping_cart .sydent-minicart-item__title a {
	color: #333 !important;
	text-decoration: none !important;
}

.widget_shopping_cart .sydent-minicart-item__title a:hover {
	color: #2ea3a3 !important;
}

.widget_shopping_cart .sydent-minicart-item__attributes {
	font-size: 13px !important;
	color: #666 !important;
	line-height: 1.4 !important;
}

/* Bottom row: Quantity and Price */
.widget_shopping_cart .sydent-minicart-item__bottom {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 12px !important;
}

.widget_shopping_cart .sydent-minicart-item__price {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #333 !important;
	white-space: nowrap !important;
}

/* Quantity controls */
.widget_shopping_cart .sydent-minicart-item__quantity {
	display: flex !important;
	align-items: center !important;
	gap: 0 !important;
	border: 1px solid #ddd !important;
	border-radius: 20px !important;
	padding: 4px 8px !important;
	background: #fff !important;
}

.widget_shopping_cart .sydent-qty-btn {
	background: transparent !important;
	border: none !important;
	color: #333 !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	padding: 0 8px !important;
	line-height: 1 !important;
	transition: color 0.2s !important;
}

.widget_shopping_cart .sydent-qty-btn:hover {
	color: #2ea3a3 !important;
}

.widget_shopping_cart .sydent-minicart-qty {
	width: 40px !important;
	padding: 4px !important;
	text-align: center !important;
	border: none !important;
	background: transparent !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	-moz-appearance: textfield !important;
}

.widget_shopping_cart .sydent-minicart-qty::-webkit-outer-spin-button,
.widget_shopping_cart .sydent-minicart-qty::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

.widget_shopping_cart .sydent-minicart-qty:focus {
	outline: none !important;
}

/* Remove button */
.widget_shopping_cart .sydent-minicart-item__remove {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #999 !important;
	text-decoration: none !important;
	transition: color 0.2s !important;
	padding: 4px !important;
}

.widget_shopping_cart .sydent-minicart-item__remove:hover {
	color: #e2401c !important;
}

/* Hide default WooCommerce mini-cart item elements we're replacing */
.widget_shopping_cart .woocommerce-mini-cart-item > a:not(.sydent-minicart-item__remove) {
	display: none !important;
}

.widget_shopping_cart .woocommerce-mini-cart-item > .remove {
	display: none !important;
}

/* Hide the default quantity text that WooCommerce adds */
.widget_shopping_cart .woocommerce-mini-cart-item .quantity {
	display: none !important;
}

/* Ensure our custom layout is visible */
.widget_shopping_cart .sydent-minicart-item {
	display: flex !important;
}

/* Reset mini-cart item default styles */
.widget_shopping_cart .woocommerce-mini-cart-item {
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
}