.asc-side-cart-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	visibility: hidden;
	transition: visibility 0.4s ease;
}

.asc-side-cart-wrapper.asc-cart-open {
	visibility: visible;
}

.asc-side-cart-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(15, 23, 42, 0.4);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.asc-side-cart-wrapper.asc-cart-open .asc-side-cart-overlay {
	opacity: 1;
}

.asc-side-cart-drawer {
	position: absolute;
	top: 0;
	right: 0;
	width: var(--asc-cart-width, 400px);
	max-width: 100%;
	height: 100%;
	background-color: var(--asc-cart-bg-color, #ffffff);
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	font-family: var(--asc-font-family, inherit);
	color: var(--asc-cart-text-color, #1e293b);
}

.asc-side-cart-wrapper.asc-cart-open .asc-side-cart-drawer {
	transform: translateX(0);
}

.asc-side-cart-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

.asc-cart-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid var(--asc-cart-border-color, #e2e8f0);
}

.asc-cart-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--asc-item-title-color, #0f172a);
}

.asc-cart-close {
	background: none;
	border: none;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: var(--asc-cart-text-color, #64748b);
	transition: color 0.2s ease, transform 0.2s ease;
	padding: 0;
}

.asc-cart-close:hover {
	color: var(--asc-item-title-color, #0f172a);
	transform: scale(1.1);
}

.asc-rewards-wrapper {
	padding: 15px 20px 20px 20px;
	border-bottom: 1px solid var(--asc-cart-border-color, #e2e8f0);
	background-color: rgba(248, 250, 252, 0.5);
}

.asc-rewards-message {
	font-size: 0.9rem;
	font-weight: 500;
	margin-bottom: 20px;
	color: var(--asc-cart-text-color, #334155);
	line-height: 1.4;
	text-align: center;
}

.asc-rewards-message span.woocommerce-Price-amount {
	font-weight: 700;
}

.asc-rewards-bar-container {
	position: relative;
	margin: 45px 40px 50px 40px;
	height: 8px;
}

.asc-progress-track {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--asc-progress-bg-color, #e2e8f0);
	border-radius: 9999px;
}

.asc-progress-fill {
	height: 100%;
	background-color: var(--asc-progress-fill-color, #16a34a);
	width: 0;
	border-radius: 9999px;
	transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.asc-milestones-container {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 0;
}

.asc-milestone {
	position: absolute;
	top: 0;
	transform: translate(-50%, -18px);
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 70px;
}

.asc-milestone-circle {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #cbd5e1;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	position: relative;
	z-index: 2;
}

.asc-gift-container {
	position: relative;
	width: 22px;
	height: 22px;
}

.asc-gift-icon {
	width: 18px;
	height: 18px;
	color: #94a3b8;
	stroke-width: 1.5;
	transition: all 0.3s ease;
}

/* Overlapping gift layouts */
.gift-count-1 .gift-1 {
	position: absolute;
	left: 2px;
	top: 2px;
}

.gift-count-2 .gift-1 {
	position: absolute;
	left: -1px;
	top: 5px;
	width: 13px;
	height: 13px;
	z-index: 1;
}
.gift-count-2 .gift-2 {
	position: absolute;
	right: -1px;
	top: 1px;
	width: 13px;
	height: 13px;
	z-index: 2;
}

.gift-count-3 .gift-1 {
	position: absolute;
	left: -2px;
	top: 7px;
	width: 11px;
	height: 11px;
	z-index: 1;
}
.gift-count-3 .gift-2 {
	position: absolute;
	right: -2px;
	top: 5px;
	width: 11px;
	height: 11px;
	z-index: 2;
}
.gift-count-3 .gift-3 {
	position: absolute;
	left: 5px;
	top: -2px;
	width: 11px;
	height: 11px;
	z-index: 3;
}

/* Unlocked States */
.asc-milestone-unlocked .asc-milestone-circle {
	border-color: var(--asc-progress-fill-color, #16a34a);
	background-color: var(--asc-progress-fill-color, #16a34a);
}

.asc-milestone-unlocked .asc-gift-icon {
	color: #ffffff;
}

/* Milestone Label */
.asc-milestone-label {
	margin-top: 8px;
	font-size: 10px;
	font-weight: 700;
	color: var(--asc-cart-text-color, #334155);
	text-align: center;
	transition: color 0.3s ease;
	line-height: 1.2;
	width: 100%;
	word-wrap: break-word;
}

.asc-milestone-locked .asc-milestone-label {
	opacity: 0.8;
}

.asc-milestone-unlocked .asc-milestone-label {
	font-weight: 800;
	color: var(--asc-item-title-color, #0f172a);
}

.asc-cart-items-wrapper {
	flex: 1;
	overflow-y: auto;
	padding: 20px 24px;
	position: relative;
}

.asc-cart-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	text-align: center;
	color: #94a3b8;
}

.asc-empty-icon {
	font-size: 48px;
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
}

.asc-cart-empty p {
	font-size: 1rem;
	margin: 0;
}

.asc-cart-items-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.asc-cart-item {
	display: flex;
	padding: 16px 0;
	border-bottom: 1px solid var(--asc-cart-border-color, #e2e8f0);
	gap: 16px;
}

.asc-cart-item:last-child {
	border-bottom: none;
}

.asc-item-image {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--asc-cart-border-color, #e2e8f0);
}

.asc-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.asc-item-details {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.asc-item-name {
	margin: 0 0 4px 0;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
}

.asc-item-name a {
	color: var(--asc-item-title-color, #0f172a);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.asc-item-name a:hover {
	opacity: 0.8;
}

.asc-item-price-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.asc-item-price {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--asc-price-color, #0f172a);
}

.asc-item-saved {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--asc-savings-color, #16a34a);
	background-color: rgba(22, 163, 74, 0.1);
	padding: 2px 6px;
	border-radius: 4px;
}

.asc-item-qty-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.asc-qty-selector {
	display: flex;
	align-items: center;
	border: 1px solid var(--asc-cart-border-color, #cbd5e1);
	border-radius: 6px;
	overflow: hidden;
	background-color: #ffffff;
}

.asc-qty-btn {
	background: none;
	border: none;
	width: 28px;
	height: 28px;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--asc-cart-text-color, #64748b);
	transition: background-color 0.2s ease;
}

.asc-qty-btn:hover {
	background-color: #f1f5f9;
	color: var(--asc-item-title-color, #0f172a);
}

.asc-qty-input {
	width: 32px;
	height: 28px;
	border: none;
	border-left: 1px solid var(--asc-cart-border-color, #cbd5e1);
	border-right: 1px solid var(--asc-cart-border-color, #cbd5e1);
	text-align: center;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--asc-item-title-color, #0f172a);
	padding: 0;
	-moz-appearance: textfield;
}

.asc-qty-input::-webkit-outer-spin-button,
.asc-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.asc-item-remove {
	background: none;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	transition: color 0.2s ease;
	display: flex;
	align-items: center;
	padding: 4px;
}

.asc-item-remove:hover {
	color: #ef4444;
}

.asc-item-remove span.dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.asc-cart-footer {
	padding: 20px 24px;
	border-top: 1px solid var(--asc-cart-border-color, #e2e8f0);
	background-color: #ffffff;
}

.asc-footer-totals {
	margin-bottom: 20px;
}

.asc-total-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 0.95rem;
}

.asc-total-row.savings {
	color: var(--asc-savings-color, #16a34a);
	font-weight: 500;
}

.asc-total-row.total {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--asc-item-title-color, #0f172a);
	border-top: 1px dashed var(--asc-cart-border-color, #e2e8f0);
	padding-top: 12px;
	margin-top: 12px;
}

.asc-footer-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.asc-checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px;
	background-color: var(--asc-btn-bg-color, #2563eb) !important;
	color: var(--asc-btn-text-color, #ffffff) !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 1rem;
	border-radius: 8px;
	text-align: center;
	transition: background-color 0.2s ease, transform 0.1s ease;
	border: none;
	cursor: pointer;
}

.asc-checkout-button:hover {
	background-color: var(--asc-btn-hover-bg-color, #1d4ed8) !important;
}

.asc-checkout-button:active {
	transform: scale(0.98);
}

.asc-floating-bubble {
	position: fixed;
	bottom: 30px;
	width: 56px;
	height: 56px;
	background-color: var(--asc-bubble-bg-color, #2563eb);
	color: var(--asc-bubble-icon-color, #ffffff);
	border-radius: 50%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.asc-floating-bubble.bottom-right {
	right: 30px;
}

.asc-floating-bubble.bottom-left {
	left: 30px;
}

.asc-floating-bubble:hover {
	transform: scale(1.08);
}

.asc-bubble-icon {
	font-size: 24px;
	width: 24px;
	height: 24px;
}

.asc-shortcode-cart-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	cursor: pointer;
	padding: 8px;
	border-radius: 6px;
	transition: background-color 0.2s ease;
}

.asc-shortcode-cart-trigger:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

.asc-shortcode-icon {
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: inherit;
}

.asc-cart-count-badge {
	position: absolute;
	background-color: #ef4444;
	color: #ffffff;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	box-sizing: border-box;
}

.asc-floating-bubble .asc-bubble-count {
	top: -4px;
	right: -4px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.asc-shortcode-cart-trigger .asc-shortcode-count {
	top: -4px;
	right: -4px;
}

.asc-count-hidden {
	display: none !important;
}

.asc-drawer-loading {
	opacity: 0.6;
	pointer-events: none;
}

.asc-cart-items-wrapper::-webkit-scrollbar {
	width: 6px;
}

.asc-cart-items-wrapper::-webkit-scrollbar-track {
	background: transparent;
}

.asc-cart-items-wrapper::-webkit-scrollbar-thumb {
	background-color: rgba(156, 163, 175, 0.5);
	border-radius: 3px;
}

.asc-cart-items-wrapper::-webkit-scrollbar-thumb:hover {
	background-color: rgba(156, 163, 175, 0.8);
}

@media (max-width: 576px) {
	.asc-side-cart-drawer {
		width: 100%;
	}
	.asc-floating-bubble {
		bottom: 20px;
	}
	.asc-floating-bubble.bottom-right {
		right: 20px;
	}
	.asc-floating-bubble.bottom-left {
		left: 20px;
	}
}

.asc-unlocked-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.asc-unlocked-badge {
	font-size: 0.75rem;
	font-weight: 600;
	color: #16a34a;
	background-color: rgba(22, 163, 74, 0.1);
	padding: 4px 8px;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.asc-unlocked-badge span.dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

