.dfcp-fab-cart {
	position: fixed; z-index: 99990; display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 16px; background: var(--dfcp-primary, #2563eb); color: #fff;
	border: none; border-radius: 999px; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
	cursor: pointer; font-weight: 600; font-size: 14px; transition: transform 0.2s ease;
}
.dfcp-fab-cart:hover { transform: translateY(-2px); }
.dfcp-fab--bottom-right { right: 20px; bottom: 20px; }
.dfcp-fab--bottom-left { left: 20px; bottom: 20px; }
.dfcp-fab--middle-right { right: 16px; top: 50%; transform: translateY(-50%); }

.dfcp-fab-count {
	background: var(--dfcp-accent, #0ea5e9); color: #fff; min-width: 22px; height: 22px;
	padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center;
	justify-content: center; font-size: 12px; font-weight: 700;
}
.dfcp-fab-total, .dfcp-fab-total * { color: #fff !important; font-size: 13px; }

.dfcp-sc-backdrop {
	position: fixed; inset: 0; z-index: 99998; background: rgba(15, 23, 42, 0.48);
	backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.28s ease, visibility 0.28s ease;
}
.dfcp-sc-backdrop.is-open { opacity: 1; visibility: visible; }

.dfcp-side-cart {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 99999; width: min(430px, 100vw);
	background: var(--dfcp-surface, #fff); color: var(--dfcp-text, #0f172a);
	box-shadow: -12px 0 40px rgba(15, 23, 42, 0.2); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.dfcp-side-cart.is-open { transform: translateX(0); }
.dfcp-side-cart.is-loading .dfcp-sc-inner { opacity: 0.55; pointer-events: none; }

.dfcp-sc-header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 20px; border-bottom: 1px solid var(--dfcp-border, rgba(15, 23, 42, 0.1));
}
.dfcp-sc-title-wrap { display: flex; align-items: center; gap: 10px; }
.dfcp-sc-title { margin: 0 !important; font-size: 17px; font-weight: 700; color: var(--dfcp-text, #0f172a); }
.dfcp-sc-badge-count { background: var(--dfcp-primary, #2563eb); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.dfcp-sc-close {
	background: var(--dfcp-card-bg, #f8fafc); color: var(--dfcp-text, #0f172a);
	border: 1px solid var(--dfcp-border, rgba(15, 23, 42, 0.12));
	width: 34px; height: 34px; border-radius: 50%; font-size: 20px; cursor: pointer;
}

.dfcp-sc-toast { display: none; padding: 9px 18px; font-size: 13px; font-weight: 600; background: var(--dfcp-accent, #0ea5e9); color: #fff; }
.dfcp-sc-toast.is-error { background: #dc2626; }
.dfcp-sc-toast.is-visible { display: block; }
.dfcp-sc-inner { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.dfcp-sc-shipbar { padding: 12px 20px; background: var(--dfcp-card-bg, #f8fafc); border-bottom: 1px solid var(--dfcp-border, rgba(15, 23, 42, 0.08)); font-size: 13px; }
.dfcp-sc-shipbar-text { margin-bottom: 7px; font-weight: 600; }
.dfcp-sc-progress { width: 100%; height: 7px; background: var(--dfcp-border, rgba(15, 23, 42, 0.12)); border-radius: 999px; overflow: hidden; }
.dfcp-sc-progress-fill { height: 100%; background: linear-gradient(90deg, var(--dfcp-primary, #2563eb), var(--dfcp-accent, #0ea5e9)); transition: width 0.35s ease; }

.dfcp-sc-items { flex: 1; overflow-y: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 12px; }
.dfcp-sc-item {
	display: flex; gap: 12px; padding: 12px; background: var(--dfcp-card-bg, #f8fafc);
	border: 1px solid var(--dfcp-border, rgba(15, 23, 42, 0.08)); border-radius: var(--dfcp-radius, 12px);
}
.dfcp-sc-item-img { width: 64px; flex-shrink: 0; }
.dfcp-sc-item-img img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.dfcp-sc-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.dfcp-sc-item-top { display: flex; justify-content: space-between; gap: 8px; }
.dfcp-sc-item-name { font-weight: 600; font-size: 14px; color: var(--dfcp-text, #0f172a); text-decoration: none; }
.dfcp-sc-item-meta { font-size: 12px; color: var(--dfcp-muted, #64748b); }
.dfcp-sc-remove { background: none; border: none; color: var(--dfcp-muted, #64748b); font-size: 20px; cursor: pointer; padding: 0; line-height: 1; }
.dfcp-sc-remove:hover { color: #dc2626; }
.dfcp-sc-item-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }

.dfcp-sc-qty { display: inline-flex; align-items: center; border: 1px solid var(--dfcp-border, rgba(15, 23, 42, 0.14)); border-radius: 8px; background: var(--dfcp-surface, #fff); }
.dfcp-sc-qty-btn { width: 28px; height: 28px; border: none; background: transparent; color: var(--dfcp-text, #0f172a); font-weight: 700; cursor: pointer; }
.dfcp-sc-qty-val { min-width: 24px; text-align: center; font-size: 13px; font-weight: 600; }
.dfcp-sc-item-price { font-weight: 700; font-size: 14px; color: var(--dfcp-primary, #2563eb); }

.dfcp-sc-upsells { padding: 10px 20px; border-top: 1px solid var(--dfcp-border, rgba(15, 23, 42, 0.08)); }
.dfcp-sc-upsells-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--dfcp-muted, #64748b); margin-bottom: 8px; }
.dfcp-sc-upsells-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dfcp-sc-upsell-card { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid var(--dfcp-border, rgba(15, 23, 42, 0.1)); border-radius: 8px; background: var(--dfcp-card-bg, #f8fafc); }
.dfcp-sc-upsell-card img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; }
.dfcp-sc-upsell-meta { flex: 1; min-width: 0; font-size: 11px; }
.dfcp-sc-upsell-name { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dfcp-sc-upsell-add { width: 26px; height: 26px; border-radius: 6px; border: none; background: var(--dfcp-primary, #2563eb); color: #fff; font-weight: 700; cursor: pointer; }

.dfcp-sc-footer { padding: 14px 20px 18px; border-top: 1px solid var(--dfcp-border, rgba(15, 23, 42, 0.1)); background: var(--dfcp-surface, #fff); }
.dfcp-sc-coupon-area { margin-bottom: 12px; }
.dfcp-sc-applied-coupon { display: flex; justify-content: space-between; align-items: center; font-size: 12px; background: var(--dfcp-card-bg, #f8fafc); padding: 5px 10px; border-radius: 6px; margin-bottom: 6px; }
.dfcp-sc-rem-coupon { background: none; border: none; cursor: pointer; font-size: 16px; color: #dc2626; }
.dfcp-sc-coupon-form { display: flex; gap: 6px; }
.dfcp-sc-coupon-input { flex: 1; padding: 8px 10px; border: 1px solid var(--dfcp-border, rgba(15, 23, 42, 0.16)); border-radius: 8px; font-size: 13px; background: var(--dfcp-card-bg, #f8fafc); color: var(--dfcp-text, #0f172a); }
.dfcp-sc-coupon-btn { padding: 8px 14px; border: none; border-radius: 8px; background: var(--dfcp-text, #0f172a); color: var(--dfcp-surface, #fff); font-weight: 600; font-size: 13px; cursor: pointer; }

.dfcp-sc-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 16px; margin-bottom: 4px; }
.dfcp-sc-discount-row { font-size: 14px; color: var(--dfcp-accent, #0ea5e9); }
.dfcp-sc-tax-note { margin: 2px 0 12px; font-size: 12px; color: var(--dfcp-muted, #64748b); }
.dfcp-sc-actions { display: flex; flex-direction: column; gap: 8px; }
.dfcp-sc-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; padding: 12px 18px; border-radius: var(--dfcp-btn-radius, 10px); font-weight: 700; font-size: 14px; }
.dfcp-sc-btn--primary { background: var(--dfcp-primary, #2563eb); color: #fff !important; }
.dfcp-sc-btn--ghost { background: var(--dfcp-card-bg, #f8fafc); color: var(--dfcp-text, #0f172a) !important; border: 1px solid var(--dfcp-border, rgba(15, 23, 42, 0.12)); }

.dfcp-sc-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.dfcp-sc-empty-icon { color: var(--dfcp-muted, #64748b); margin-bottom: 12px; }
.dfcp-sc-empty p { margin: 0 0 18px; color: var(--dfcp-muted, #64748b); font-size: 14px; }