/**
 * Module: Cart & Off-Canvas Mini Cart Drawer Styles
 * Description: Unified styles for the Edge-Docked Floating Cart Widget
 *              and Astra's Native Slide-in Off-Canvas Cart Sidebar.
 * Author: Arovi Engineering
 * Version: 1.2.0
 */

/* ==========================================================================
   PART 1: FLOATING CART TRIGGER WIDGET (EDGE DOCKED)
   ========================================================================== */

/* 1. Main Floating Cart Docked Tab Container */
.ast-child-floating-cart,
.ast-ct-floating-cart,
.floating-cart-trigger {
	position: fixed !important;
	right: 0;
	top: 55%;
	transform: translateY(-50%) !important;
	z-index: 99997 !important;
	background: var(--ast-global-color-0, #8f2b8c);
	color: var(--ast-global-color-5, #ffffff);
	border-radius: 10px 0 0 10px;
	width: 66px !important;
	padding: 12px 6px 10px 6px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	text-decoration: none !important;
	box-shadow: -4px 6px 20px rgba(0, 0, 0, 0.18), -1px 2px 6px rgba(0, 0, 0, 0.1) !important;
	transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.2s ease, box-shadow 0.25s ease, opacity 0.25s ease !important;
	user-select: none !important;
	-webkit-tap-highlight-color: transparent !important;
	box-sizing: border-box !important;
}

/* Hover and Focus: Sleek Slide-Out Tab Animation */
.ast-child-floating-cart:hover,
.ast-ct-floating-cart:hover,
.floating-cart-trigger:hover,
.ast-child-floating-cart:focus,
.ast-ct-floating-cart:focus,
.floating-cart-trigger:focus {
	background: var(--ast-global-color-1, #f48736);
	color: var(--ast-global-color-5, #ffffff);
	transform: translateY(-50%) translateX(-6px) !important;
	box-shadow: -6px 8px 25px rgba(0, 0, 0, 0.28) !important;
	outline: none !important;
	text-decoration: none !important;
}

/* Click Active State */
.ast-child-floating-cart:active,
.ast-ct-floating-cart:active,
.floating-cart-trigger:active {
	transform: translateY(-50%) translateX(-2px) scale(0.97) !important;
}

/* Add-to-Cart Bounce / Pulse Keyframe Animation */
@keyframes astCtCartBounce {
	0% { transform: translateY(-50%) translateX(0) scale(1); }
	25% { transform: translateY(-50%) translateX(-10px) scale(1.15); }
	50% { transform: translateY(-50%) translateX(-4px) scale(0.95); }
	75% { transform: translateY(-50%) translateX(-7px) scale(1.05); }
	100% { transform: translateY(-50%) translateX(0) scale(1); }
}

.ast-child-floating-cart.ast-ct-bounce,
.ast-ct-floating-cart.ast-ct-bounce {
	animation: astCtCartBounce 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 2. Hide / Slide Out when Astra Cart Drawer is Open */
.ast-mobile-cart-active .ast-child-floating-cart,
.ast-mobile-cart-active .ast-ct-floating-cart,
.ast-mobile-cart-active .floating-cart-trigger {
	opacity: 0 !important;
	pointer-events: none !important;
	transform: translateY(-50%) translateX(100%) !important;
}

/* 3. Shopping Cart Icon */
.ast-child-floating-cart .ast-ct-cart-icon,
.ast-ct-floating-cart .ast-ct-cart-icon,
.floating-cart-trigger i,
.floating-cart-trigger .ast-ct-cart-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #ffffff !important;
	margin-bottom: 3px !important;
	line-height: 1 !important;
	transition: transform 0.2s ease !important;
}

.ast-child-floating-cart:hover .ast-ct-cart-icon,
.ast-ct-floating-cart:hover .ast-ct-cart-icon {
	transform: scale(1.08) !important;
}

.ast-child-floating-cart .ast-ct-cart-icon svg,
.ast-ct-floating-cart .ast-ct-cart-icon svg,
.floating-cart-trigger svg {
	width: 22px !important;
	height: 22px !important;
	stroke: currentColor !important;
	stroke-width: 2.2px !important;
	fill: none !important;
	display: block !important;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) !important;
}

/* 4. Items Count Text */
.ast-child-floating-cart .ast-ct-cart-count,
.ast-ct-floating-cart .ast-ct-cart-count,
.floating-cart-trigger .cart-count {
	color: #ffffff !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	margin: 0 !important;
	padding: 0 2px !important;
	white-space: nowrap !important;
	font-family: inherit !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* 5. Subtotal Badge (Clean Glass Pill) */
.ast-child-floating-cart .ast-ct-cart-total,
.ast-ct-floating-cart .ast-ct-cart-total,
.floating-cart-trigger .cart-total {
	font-size: 11.5px !important;
	font-weight: 700 !important;
	background: rgba(0, 0, 0, 0.22) !important;
	color: #ffffff !important;
	padding: 3px 6px !important;
	border-radius: 5px !important;
	margin-top: 4px !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	max-width: 58px !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	font-family: inherit !important;
	display: inline-block !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}

/* Ensure all nested currency/amount spans are white */
.ast-child-floating-cart .ast-ct-cart-total *,
.ast-ct-floating-cart .ast-ct-cart-total *,
.floating-cart-trigger .cart-total * {
	color: #ffffff !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
}

/* 6. Floating Cart Mobile Responsiveness */
@media (max-width: 480px) {
	.ast-child-floating-cart,
	.ast-ct-floating-cart,
	.floating-cart-trigger {
		right: 0;
		width: 58px !important;
		padding: 10px 4px 8px 4px !important;
		border-radius: 8px 0 0 8px;
		top: auto !important;
		bottom: 85px !important;
		transform: none !important;
	}

	.ast-child-floating-cart .ast-ct-cart-icon svg,
	.ast-ct-floating-cart .ast-ct-cart-icon svg,
	.floating-cart-trigger svg {
		width: 19px !important;
		height: 19px !important;
	}

	.ast-child-floating-cart .ast-ct-cart-count,
	.ast-ct-floating-cart .ast-ct-cart-count,
	.floating-cart-trigger .cart-count {
		font-size: 11px !important;
	}

	.ast-child-floating-cart .ast-ct-cart-total,
	.ast-ct-floating-cart .ast-ct-cart-total,
	.floating-cart-trigger .cart-total {
		font-size: 10.5px !important;
		padding: 2px 4px !important;
		max-width: 52px !important;
	}
}

/* ==========================================================================
   PART 2: ASTRA MINI CART DRAWER (OFF-CANVAS SIDEBAR)
   ========================================================================== */

#astra-mobile-cart-drawer.astra-cart-drawer {
	display: flex !important;
	flex-direction: column !important;
	height: 100vh !important;
	height: 100dvh !important;
	max-height: 100vh !important;
	max-height: 100dvh !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	background: var(--ast-global-color-5, #ffffff) !important;
	border-left: 1px solid var(--ast-border-color, #e2e8f0) !important;
	box-shadow: none !important;
	z-index: 100005 !important;
}

@media (min-width: 769px) {
	#astra-mobile-cart-drawer.astra-cart-drawer {
		width: 500px !important;
		max-width: 95vw !important;
	}
}
@media (max-width: 768px) {
	#astra-mobile-cart-drawer.astra-cart-drawer {
		width: 100% !important;
		max-width: 100vw !important;
	}
}

.astra-mobile-cart-overlay {
	z-index: 100000 !important;
}

/* Hide WhatsApp button when cart drawer is active */
.ast-mobile-cart-active .wh-btn {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transform: scale(0.6) !important;
	transition: all 0.2s ease !important;
}

/* Header: Title Left, Close Button Right */
.astra-cart-drawer .astra-cart-drawer-header {
	flex: 0 0 60px !important;
	height: 60px !important;
	min-height: 60px !important;
	padding: 16px 20px !important;
	border-bottom: 1px solid var(--ast-border-color, #f1f5f9) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	background: var(--ast-global-color-5, #ffffff) !important;
	position: relative !important;
	box-sizing: border-box !important;
}

.astra-cart-drawer .astra-cart-drawer-title {
	order: 1 !important;
	font-size: 16.5px !important;
	font-weight: 700 !important;
	color: var(--ast-global-color-2, #0f172a) !important;
	letter-spacing: -0.2px !important;
	margin: 0 !important;
}

.astra-cart-drawer .astra-cart-drawer-close {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	margin: 0 !important;
	order: 2 !important;
	width: 28px !important;
	height: 28px !important;
	padding: 0 !important;
	border-radius: 0 !important;
	border: none !important;
	background: transparent !important;
	color: var(--ast-global-color-3, #64748b) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: color 0.2s ease, transform 0.2s ease !important;
}

.astra-cart-drawer .astra-cart-drawer-close:hover {
	background: transparent !important;
	color: var(--ast-global-color-2, #0f172a) !important;
	transform: scale(1.1) !important;
}

.astra-cart-drawer .astra-cart-drawer-close .ast-close-svg {
	width: 15px !important;
	height: 15px !important;
	transition: transform 0.25s ease !important;
}

.astra-cart-drawer .astra-cart-drawer-close:hover .ast-close-svg {
	transform: rotate(90deg) !important;
}

/* Scrollable Content Container */
.astra-cart-drawer .astra-cart-drawer-content,
.astra-cart-drawer .widget_shopping_cart,
.astra-cart-drawer .widget_shopping_cart_content {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	overflow: hidden !important;
	padding-top: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

/* Product List */
.astra-cart-drawer ul.woocommerce-mini-cart {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	-webkit-overflow-scrolling: touch !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

/* Product Item Row */
.astra-cart-drawer .woocommerce-mini-cart-item {
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	padding: 10px 20px !important;
	border-bottom: 1px solid var(--ast-border-color, #f1f5f9) !important;
	position: relative !important;
	background: #ffffff !important;
	box-sizing: border-box !important;
	transition: background 0.15s ease, opacity 0.2s ease !important;
}

.astra-cart-drawer .woocommerce-mini-cart-item.is-updating {
	opacity: 0.55 !important;
	pointer-events: none !important;
}

.astra-cart-drawer .woocommerce-mini-cart-item:hover {
	background: #fafcff !important;
}

/* Thumbnail Wrapper with Corner Badge */
.astra-cart-drawer .ast-mini-cart-thumb-wrap {
	position: relative !important;
	flex: 0 0 58px !important;
	width: 58px !important;
	height: 58px !important;
	min-width: 58px !important;
}

/* Thumbnail */
.astra-cart-drawer .ast-mini-cart-thumb {
	width: 100% !important;
	height: 100% !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	border: 1px solid var(--ast-border-color, #edf2f7) !important;
	background: var(--ast-global-color-4, #f8fafc) !important;
	display: block !important;
}

.astra-cart-drawer .ast-mini-cart-thumb a {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.astra-cart-drawer .ast-mini-cart-thumb img,
.astra-cart-drawer .woocommerce-mini-cart-item img {
	position: static !important;
	width: 58px !important;
	height: 58px !important;
	object-fit: cover !important;
	display: block !important;
	border: none !important;
	border-radius: 0 !important;
	transform: none !important;
}

/* Details Column (Row with Left Content Column & Right Centered Price) */
.astra-cart-drawer .ast-mini-cart-details {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px !important;
}

/* Content Column (Title, Attributes, Quantity) */
.astra-cart-drawer .ast-mini-cart-content-col {
	flex: 1 1 auto !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	gap: 4px !important;
	min-width: 0 !important;
}

/* Title Row */
.astra-cart-drawer .ast-mini-cart-title-row {
	display: block !important;
	width: 100% !important;
}

.astra-cart-drawer .ast-mini-cart-product-title,
.astra-cart-drawer .woocommerce-mini-cart-item a:not(.remove) {
	flex: 1 1 auto !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: var(--ast-global-color-2, #1e293b) !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
	margin: 0 !important;
	word-break: break-word !important;
	padding: 0 !important;
	transition: color 0.15s ease !important;
	display: block !important;
}

.astra-cart-drawer .ast-mini-cart-product-title:hover,
.astra-cart-drawer .woocommerce-mini-cart-item a:not(.remove):hover {
	color: var(--ast-global-color-0, #8f2b8c) !important;
}

/* Item Delete (x) Button - Clean, perfectly centered circular badge on thumbnail top-left corner */
.ast-mini-cart-remove,
.astra-cart-drawer .ast-mini-cart-remove,
.astra-cart-drawer .remove_from_cart_button,
.astra-cart-drawer ul.woocommerce-mini-cart .ast-mini-cart-thumb-wrap a.ast-mini-cart-remove,
.astra-cart-drawer ul.woocommerce-mini-cart .ast-mini-cart-thumb-wrap .remove_from_cart_button,
.ast-mini-cart-thumb-wrap a.remove_from_cart_button {
	position: absolute !important;
	top: -4px !important;
	left: -4px !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	min-height: 18px !important;
	max-width: 18px !important;
	max-height: 18px !important;
	display: grid !important;
	place-items: center !important;
	align-content: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: #e2e8f0 !important;
	border: 1px solid #cbd5e1 !important;
	box-shadow: none !important;
	color: #64748b !important;
	text-decoration: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 0 !important;
	line-height: 1 !important;
	cursor: pointer !important;
	z-index: 5 !important;
	outline: none !important;
	box-sizing: border-box !important;
	transform: none !important;
	transition: none !important;
	-webkit-tap-highlight-color: transparent !important;
}

.ast-mini-cart-remove::before,
.ast-mini-cart-remove::after,
.astra-cart-drawer .ast-mini-cart-remove::before,
.astra-cart-drawer .ast-mini-cart-remove::after,
.astra-cart-drawer ul.woocommerce-mini-cart .ast-mini-cart-thumb-wrap a.ast-mini-cart-remove::before,
.astra-cart-drawer ul.woocommerce-mini-cart .ast-mini-cart-thumb-wrap a.ast-mini-cart-remove::after {
	display: none !important;
	content: none !important;
}

/* Strictly zero hover effect - completely static, identical calm state on hover/focus/active */
.ast-mini-cart-remove:hover,
.ast-mini-cart-remove:focus,
.ast-mini-cart-remove:active,
.astra-cart-drawer .ast-mini-cart-remove:hover,
.astra-cart-drawer .ast-mini-cart-remove:focus,
.astra-cart-drawer .ast-mini-cart-remove:active,
.astra-cart-drawer .remove_from_cart_button:hover,
.astra-cart-drawer .remove_from_cart_button:focus,
.astra-cart-drawer .remove_from_cart_button:active,
.astra-cart-drawer ul.woocommerce-mini-cart .ast-mini-cart-thumb-wrap a.ast-mini-cart-remove:hover,
.astra-cart-drawer ul.woocommerce-mini-cart .ast-mini-cart-thumb-wrap a.ast-mini-cart-remove:focus,
.astra-cart-drawer ul.woocommerce-mini-cart .ast-mini-cart-thumb-wrap a.ast-mini-cart-remove:active {
	background: #e2e8f0 !important;
	color: #64748b !important;
	border-color: #cbd5e1 !important;
	box-shadow: none !important;
	transform: none !important;
	opacity: 1 !important;
}

.ast-mini-cart-remove svg,
.astra-cart-drawer .ast-mini-cart-remove svg,
.astra-cart-drawer .remove_from_cart_button svg,
.astra-cart-drawer ul.woocommerce-mini-cart .ast-mini-cart-thumb-wrap a.ast-mini-cart-remove svg,
.astra-cart-drawer ul.woocommerce-mini-cart .ast-mini-cart-thumb-wrap .remove_from_cart_button svg {
	display: block !important;
	width: 8px !important;
	height: 8px !important;
	min-width: 8px !important;
	min-height: 8px !important;
	max-width: 8px !important;
	max-height: 8px !important;
	margin: auto !important;
	padding: 0 !important;
	stroke: currentColor !important;
	stroke-width: 1.5 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
	fill: none !important;
	border: none !important;
	outline: none !important;
	transform: none !important;
	flex-shrink: 0 !important;
	align-self: center !important;
	justify-self: center !important;
}

/* Variations / Attributes */
.astra-cart-drawer .woocommerce-mini-cart-item .variation {
	font-size: 12px !important;
	color: var(--ast-global-color-3, #64748b) !important;
	margin: 2px 0 0 0 !important;
}

/* Bottom Row: Quantity Stepper Only */
.astra-cart-drawer .ast-mini-cart-bottom-row {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	margin-top: 2px !important;
}

/* Quantity Stepper Group */
.astra-cart-drawer .ast-mini-cart-qty {
	display: inline-flex !important;
	align-items: center !important;
	border: 1.5px solid var(--ast-border-color, #cbd5e1) !important;
	border-radius: 6px !important;
	overflow: hidden !important;
	height: 28px !important;
	background: #ffffff !important;
	box-sizing: border-box !important;
}

.astra-cart-drawer .ast-qty-btn {
	width: 26px !important;
	min-width: 26px !important;
	max-width: 26px !important;
	height: 26px !important;
	line-height: 26px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: var(--ast-global-color-4, #f8fafc) !important;
	color: var(--ast-global-color-2, #1e293b) !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer !important;
	user-select: none !important;
	transition: background 0.15s ease, color 0.15s ease !important;
}

.astra-cart-drawer .ast-qty-btn:hover:not(:disabled) {
	background: #e2e8f0 !important;
	color: var(--ast-global-color-0, #8f2b8c) !important;
}

.astra-cart-drawer .ast-qty-btn:disabled {
	opacity: 0.35 !important;
	cursor: not-allowed !important;
}

.astra-cart-drawer .ast-qty-btn svg {
	width: 10px !important;
	height: 10px !important;
	stroke: currentColor !important;
}

.astra-cart-drawer .ast-qty-minus {
	border-right: 1px solid var(--ast-border-color, #e2e8f0) !important;
}

.astra-cart-drawer .ast-qty-plus {
	border-left: 1px solid var(--ast-border-color, #e2e8f0) !important;
}

.astra-cart-drawer .ast-qty-input {
	width: 32px !important;
	min-width: 32px !important;
	max-width: 32px !important;
	height: 26px !important;
	line-height: 26px !important;
	border: none !important;
	background: #ffffff !important;
	text-align: center !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: var(--ast-global-color-2, #0f172a) !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	outline: none !important;
	-moz-appearance: textfield !important;
}

.astra-cart-drawer .ast-qty-input::-webkit-outer-spin-button,
.astra-cart-drawer .ast-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

/* Item Line Price - Vertically Centered on Right Side */
.astra-cart-drawer .ast-mini-cart-item-price {
	flex: 0 0 auto !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	justify-content: center !important;
	align-self: center !important;
	text-align: right !important;
	gap: 2px !important;
	white-space: nowrap !important;
	padding-top: 0 !important;
}

.astra-cart-drawer .ast-mini-cart-price-wrap {
	display: flex !important;
	align-items: baseline !important;
	justify-content: flex-end !important;
	gap: 6px !important;
}

/* Strikethrough Regular Price (Ref matching reddish/coral strikethrough) */
.astra-cart-drawer .ast-mini-cart-item-price del,
.astra-cart-drawer .ast-mini-cart-item-price del .woocommerce-Price-amount,
.astra-cart-drawer .ast-mini-cart-item-price del bdi,
.astra-cart-drawer .ast-mini-cart-regular-price {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #ef4444 !important;
	text-decoration: line-through !important;
	line-height: 1.2 !important;
}

/* Current / Sale Price */
.astra-cart-drawer .ast-mini-cart-item-price ins,
.astra-cart-drawer .ast-mini-cart-item-price .ast-mini-cart-current-price,
.astra-cart-drawer .ast-mini-cart-item-price ins .woocommerce-Price-amount,
.astra-cart-drawer .ast-mini-cart-item-price ins bdi,
.astra-cart-drawer .ast-mini-cart-item-price > .ast-mini-cart-current-price .woocommerce-Price-amount,
.astra-cart-drawer .ast-mini-cart-item-price > .ast-mini-cart-current-price bdi {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--ast-global-color-2, #0f172a) !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
}

/* Save % Discount Tag (Ref matching clean green text) */
.astra-cart-drawer .ast-mini-cart-discount-tag {
	font-size: 11.5px !important;
	font-weight: 700 !important;
	color: #16a34a !important;
	line-height: 1.2 !important;
	letter-spacing: 0.2px !important;
}


/* Empty Cart State */
.astra-cart-drawer .woocommerce-mini-cart__empty-message,
.astra-cart-drawer .ast-mini-cart-empty,
.astra-cart-drawer-content .ast-mini-cart-empty {
	flex: 1 1 auto !important;
	height: 100% !important;
	min-height: 0 !important;
	max-height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	align-items: stretch !important;
	padding: 24px 20px 24px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	text-align: center !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch !important;
}

.astra-cart-drawer .ast-mini-cart-empty .ast-mini-cart-message,
.astra-cart-drawer-content .ast-mini-cart-empty .ast-mini-cart-message {
	flex: 1 1 auto !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	margin: auto 0 !important;
	padding: 24px 12px !important;
	box-sizing: border-box !important;
}

.ast-mini-cart-empty-icon-wrap {
	width: 80px !important;
	height: 80px !important;
	margin: 0 auto 18px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: var(--ast-global-color-4, #f8fafc) !important;
	border: 1.5px dashed var(--ast-border-color, #cbd5e1) !important;
	color: var(--ast-btn-primary-bg, var(--ast-global-color-0, #8f2b8c)) !important;
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.03) !important;
}

.ast-mini-cart-empty-icon {
	width: 40px !important;
	height: 40px !important;
	stroke: currentColor !important;
	opacity: 0.9 !important;
	display: block !important;
	margin: 0 auto !important;
}

.ast-mini-cart-empty-title {
	font-size: 19px !important;
	font-weight: 700 !important;
	color: var(--ast-global-color-2, #1e293b) !important;
	margin: 0 0 10px 0 !important;
	line-height: 1.35 !important;
	letter-spacing: -0.2px !important;
}

.ast-mini-cart-empty-desc {
	font-size: 14.5px !important;
	line-height: 1.6 !important;
	color: var(--ast-global-color-3, #64748b) !important;
	margin: 0 auto !important;
	max-width: 290px !important;
}

.ast-cart-empty-action {
	flex: 0 0 auto !important;
	width: 100% !important;
	margin: auto 0 0 0 !important;
	padding: 16px 0 6px 0 !important;
	box-sizing: border-box !important;
}

.ast-drawer-shop-now-btn {
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	line-height: normal !important;
	padding: 0 20px !important;
	background: var(--ast-btn-primary-bg, var(--ast-global-color-0, #8f2b8c)) !important;
	color: var(--ast-btn-primary-color, #ffffff) !important;
	border-radius: var(--ast-btn-radius, 8px) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	border: none !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
	transition: all 0.25s ease !important;
	cursor: pointer !important;
}

.ast-drawer-shop-now-btn:hover {
	background: var(--ast-btn-primary-h-bg, var(--ast-global-color-1, #f48736)) !important;
	color: var(--ast-btn-primary-h-color, #ffffff) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16) !important;
}

.ast-drawer-shop-now-btn .ast-btn-arrow-icon {
	stroke: currentColor !important;
	transition: transform 0.2s ease !important;
}

.ast-drawer-shop-now-btn:hover .ast-btn-arrow-icon {
	transform: translateX(4px) !important;
}

/* ==========================================================================
   PART 3: MODERN CART DRAWER FOOTER (HIGH CONVERTING)
   ========================================================================== */

.ast-cart-drawer-footer {
	flex: 0 0 auto !important;
	margin-top: auto !important;
	background: var(--ast-global-color-5, #ffffff) !important;
	border-top: 1px solid var(--ast-border-color, #e5e7eb) !important;
	padding: 16px 22px 20px 22px !important;
	box-sizing: border-box !important;
}

/* 1. Coupon Accordion */
.ast-cart-coupon-accordion {
	border-bottom: 1px solid var(--ast-border-color, #f1f5f9) !important;
	padding-bottom: 12px !important;
	margin-bottom: 14px !important;
}

.ast-coupon-accordion-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	cursor: pointer !important;
	padding: 4px 0 8px 0 !important;
	user-select: none !important;
}

.ast-coupon-accordion-title {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--ast-global-color-2, #1e293b) !important;
	letter-spacing: -0.1px !important;
}

.ast-coupon-accordion-arrow {
	width: 16px !important;
	height: 16px !important;
	color: var(--ast-global-color-3, #64748b) !important;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Arrow points down when closed (default), points up when open */
.ast-cart-coupon-accordion .ast-coupon-accordion-arrow {
	transform: rotate(0deg) !important;
}

.ast-cart-coupon-accordion.is-open .ast-coupon-accordion-arrow {
	transform: rotate(180deg) !important;
}

.ast-coupon-accordion-body {
	display: none !important;
	padding-top: 6px !important;
}

.ast-cart-coupon-accordion.is-open .ast-coupon-accordion-body {
	display: block !important;
}

/* Coupon Input Group: Joined Input + Apply Button */
.ast-coupon-input-group {
	display: flex !important;
	align-items: stretch !important;
	border: 1.5px solid var(--ast-border-color, #e2e8f0) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	background: #ffffff !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.ast-coupon-input-group:focus-within {
	border-color: var(--ast-global-color-0, #8f2b8c) !important;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ast-global-color-0, #8f2b8c) 16%, transparent) !important;
}

.ast-coupon-input {
	flex: 1 1 auto !important;
	height: 42px !important;
	line-height: 42px !important;
	border: none !important;
	outline: none !important;
	background: transparent !important;
	padding: 0 14px !important;
	font-size: 13.5px !important;
	color: var(--ast-global-color-2, #0f172a) !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	min-width: 0 !important;
}

.ast-coupon-input::placeholder {
	color: #94a3b8 !important;
	font-size: 13.5px !important;
}

.ast-apply-coupon-btn {
	flex: 0 0 auto !important;
	height: 42px !important;
	line-height: 42px !important;
	padding: 0 22px !important;
	border: none !important;
	border-radius: 0 !important;
	background: var(--ast-btn-primary-bg, var(--ast-global-color-0, #8f2b8c)) !important;
	color: var(--ast-btn-primary-color, #ffffff) !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	transition: background 0.2s ease, opacity 0.2s ease !important;
	box-shadow: none !important;
	margin: 0 !important;
	letter-spacing: 0.2px !important;
}

.ast-apply-coupon-btn:hover {
	background: var(--ast-btn-primary-h-bg, var(--ast-global-color-1, #f48736)) !important;
	color: var(--ast-btn-primary-h-color, #ffffff) !important;
}

.ast-apply-coupon-btn:disabled,
.ast-apply-coupon-btn.is-loading {
	opacity: 0.65 !important;
	cursor: not-allowed !important;
}

/* Coupon Feedback Message */
.ast-coupon-feedback {
	font-size: 12.5px !important;
	margin-top: 6px !important;
	line-height: 1.4 !important;
	display: none;
}

.ast-coupon-feedback.is-error {
	display: block !important;
	color: #dc2626 !important;
}

.ast-coupon-feedback.is-success {
	display: block !important;
	color: #16a34a !important;
}

/* Applied Coupons Pills */
.ast-applied-coupons-list {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	margin-top: 10px !important;
}

.ast-applied-coupon-pill {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	background: var(--ast-global-color-4, #f8fafc) !important;
	border: 1px solid var(--ast-border-color, #e2e8f0) !important;
	border-radius: 20px !important;
	padding: 4px 10px 4px 12px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	color: var(--ast-global-color-2, #1e293b) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.3px !important;
}

.ast-remove-coupon-btn {
	background: transparent !important;
	border: none !important;
	color: #ef4444 !important;
	font-size: 16px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-weight: 700 !important;
	transition: transform 0.15s ease !important;
}

.ast-remove-coupon-btn:hover {
	transform: scale(1.25) !important;
	color: #b91c1c !important;
}

/* 2. Subtotal Line */
.ast-cart-drawer-subtotal-row {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin-bottom: 14px !important;
	padding: 2px 0 !important;
}

.ast-subtotal-label {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--ast-global-color-2, #1e293b) !important;
}

.ast-subtotal-amount,
.ast-subtotal-amount .amount {
	font-size: 16.5px !important;
	font-weight: 800 !important;
	color: var(--ast-global-color-2, #0f172a) !important;
}

/* 3. Primary Full-Width Checkout Button */
.ast-cart-drawer-checkout-wrap {
	margin-bottom: 8px !important;
}

.ast-cart-drawer-checkout-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	width: 100% !important;
	height: 48px !important;
	line-height: 48px !important;
	padding: 0 16px !important;
	background: var(--ast-btn-primary-bg, var(--ast-global-color-0, #8f2b8c)) !important;
	background-color: var(--ast-btn-primary-bg, var(--ast-global-color-0, #8f2b8c)) !important;
	color: var(--ast-btn-primary-color, #ffffff) !important;
	border-radius: var(--ast-btn-radius, 8px) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	border: none !important;
	box-shadow: 0 2px 6px var(--ast-btn-shadow-color, rgba(0, 0, 0, 0.08)) !important;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.ast-cart-drawer-checkout-btn:hover {
	background: var(--ast-btn-primary-h-bg, var(--ast-global-color-1, #f48736)) !important;
	background-color: var(--ast-btn-primary-h-bg, var(--ast-global-color-1, #f48736)) !important;
	color: var(--ast-btn-primary-h-color, #ffffff) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 12px var(--ast-btn-shadow-hover, rgba(0, 0, 0, 0.14)) !important;
}

.ast-cart-drawer-checkout-btn:active {
	transform: translateY(0) !important;
}

.ast-checkout-cart-icon {
	width: 20px !important;
	height: 20px !important;
	flex: 0 0 20px !important;
	stroke: #ffffff !important;
	display: block !important;
}

.ast-checkout-btn-text,
.ast-checkout-btn-text * {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
}

/* 4. Continue Shopping Link */
.ast-cart-drawer-continue-wrap {
	text-align: center !important;
	padding: 4px 0 2px 0 !important;
}

.ast-drawer-continue-shopping {
	display: inline-block !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: var(--ast-global-color-3, #64748b) !important;
	text-decoration: none !important;
	transition: color 0.15s ease !important;
	cursor: pointer !important;
}

.ast-drawer-continue-shopping:hover {
	color: var(--ast-global-color-2, #0f172a) !important;
	text-decoration: underline !important;
}

