/* =====================================================================
 * Sticky side tab (D-11 — emitted via do_action('woodfold_quote_chip'),
 * rendered by Woodfold_Configurator_Quote::render_quote_chip()).
 * Fixed to right edge of viewport, always visible regardless of theme.
 *
 * This file is loaded on ALL frontend pages so the tab is always styled.
 * ===================================================================== */
.woodfold-quote-tab {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 99999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 12px 10px;
	background: #2c2c2c;
	color: #fff;
	text-decoration: none;
	border-radius: 8px 0 0 8px;
	box-shadow: -2px 2px 10px rgba(0,0,0,0.18);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 11px;
	line-height: 1.2;
	transition: background 0.2s ease, box-shadow 0.2s ease, padding-right 0.2s ease;
	cursor: pointer;
}
.woodfold-quote-tab:hover {
	background: #444;
	box-shadow: -3px 3px 14px rgba(0,0,0,0.28);
	padding-right: 14px;
	color: #fff;
}
.woodfold-quote-tab__icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}
.woodfold-quote-tab__label {
	white-space: nowrap;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-weight: 600;
}
.woodfold-quote-tab__count {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	background: #e74c3c;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}

/* Hide on small screens where tab would overlap content */
@media (max-width: 480px) {
	.woodfold-quote-tab {
		padding: 8px 7px;
		font-size: 10px;
	}
	.woodfold-quote-tab__icon {
		width: 16px;
		height: 16px;
	}
	.woodfold-quote-tab__count {
		min-width: 16px;
		height: 16px;
		font-size: 10px;
	}
}
