.wpfh-sc-bar {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 99990;
	background: var(--wpfh-sc-bg, #0f172a);
	color: var(--wpfh-sc-text, #ffffff);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
	padding: 10px 16px;
	box-sizing: border-box;
	transition: transform 0.25s ease, opacity 0.25s ease;
	opacity: 0;
	pointer-events: none;
}

.wpfh-sc-pos-bottom {
	bottom: 0;
	transform: translateY(100%);
}

.wpfh-sc-pos-top {
	top: 0;
	transform: translateY(-100%);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.admin-bar .wpfh-sc-pos-top {
	top: 32px;
}

.wpfh-sc-bar.wpfh-sc-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.wpfh-sc-device-mobile {
	display: none;
}

@media (max-width: 768px) {
	.wpfh-sc-device-mobile {
		display: block;
	}
	.wpfh-sc-device-desktop {
		display: none;
	}
	.admin-bar .wpfh-sc-pos-top {
		top: 46px;
	}
}

.wpfh-sc-inner {
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.wpfh-sc-product {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1 1 200px;
}

.wpfh-sc-thumb {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
}

.wpfh-sc-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.wpfh-sc-title {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wpfh-sc-price {
	font-size: 13px;
	opacity: 0.95;
}

.wpfh-sc-meta-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px;
}

.wpfh-sc-stock-badge,
.wpfh-sc-countdown {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 999px;
	background: #1e293b;
	color: #f8fafc;
	border: 1px solid #475569;
}

.wpfh-sc-variations {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wpfh-sc-var-select {
	background: #ffffff;
	color: #0f172a;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 6px 10px;
	font-size: 13px;
	min-height: 36px;
}

.wpfh-sc-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.wpfh-sc-atc-btn {
	background: var(--wpfh-sc-btn-bg, #c2410c);
	color: var(--wpfh-sc-btn-text, #ffffff);
	border: none;
	border-radius: 6px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	min-height: 40px;
}

.wpfh-sc-atc-btn:hover,
.wpfh-sc-atc-btn:focus {
	filter: brightness(0.92);
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.wpfh-sc-status {
	font-size: 12px;
	font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
	.wpfh-sc-bar {
		transition: none;
	}
}
