/* Omni Sales Booster — bundle picker (high-specificity, theme-safe) */

.woo-offers.osb-offers,
#osb-offers-picker.woo-offers.osb-offers {
	--osb-green: #059669;
	--osb-green-dark: #047857;
	--osb-green-bg: #ecfdf5;
	--osb-gold: #d97706;
	--osb-gold-bg: #fffbeb;
	--osb-line: #e5e7eb;
	--osb-muted: #6b7280;
	display: block !important;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 1.25em 0;
	padding: 0;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.45;
	color: #111827;
}

.woo-offers.osb-offers *,
.woo-offers.osb-offers *::before,
.woo-offers.osb-offers *::after {
	box-sizing: border-box;
}

.woo-offers.osb-offers .osb-offers-head {
	margin-bottom: 14px;
	text-align: start;
}

.woo-offers.osb-offers .osb-offers-kicker {
	display: inline-block;
	margin: 0 0 6px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--osb-gold);
	background: var(--osb-gold-bg);
}

.woo-offers.osb-offers .osb-offers-title {
	margin: 0 0 4px;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.25;
}

.woo-offers.osb-offers .osb-offers-hint {
	margin: 0;
	font-size: 0.9rem;
	color: var(--osb-muted);
}

/* List */
.woo-offers.osb-offers .osb-bundle-list {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	width: 100% !important;
}

/* Card */
.woo-offers.osb-offers label.osb-bundle {
	position: relative;
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 12px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 14px 14px 14px 12px !important;
	border: 2px solid var(--osb-line) !important;
	border-radius: 14px !important;
	background: #fff !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
	cursor: pointer !important;
	text-align: start !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.woo-offers.osb-offers label.osb-bundle:hover:not(.is-disabled) {
	border-color: #cbd5e1 !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

.woo-offers.osb-offers label.osb-bundle.is-active {
	border-color: var(--osb-green) !important;
	background: linear-gradient(180deg, var(--osb-green-bg) 0%, #fff 70%) !important;
	box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2), 0 8px 22px rgba(5, 150, 105, 0.15) !important;
}

.woo-offers.osb-offers label.osb-bundle.is-best {
	border-color: #fcd34d !important;
}

.woo-offers.osb-offers label.osb-bundle.is-best.is-active {
	border-color: var(--osb-gold) !important;
	background: linear-gradient(180deg, var(--osb-gold-bg) 0%, var(--osb-green-bg) 45%, #fff 100%) !important;
	box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.22), 0 8px 22px rgba(217, 119, 6, 0.12) !important;
}

.woo-offers.osb-offers label.osb-bundle.is-disabled {
	opacity: 0.55;
	cursor: not-allowed !important;
}

.woo-offers.osb-offers .osb-bundle__input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Radio circle */
.woo-offers.osb-offers .osb-bundle__selector {
	flex: 0 0 22px !important;
	width: 22px !important;
	height: 22px !important;
	margin-top: 4px !important;
	border: 2px solid #9ca3af !important;
	border-radius: 50% !important;
	background: #fff !important;
	display: block !important;
}

.woo-offers.osb-offers label.osb-bundle.is-active .osb-bundle__selector {
	border-color: var(--osb-green) !important;
	background: var(--osb-green) !important;
	box-shadow: inset 0 0 0 4px #fff !important;
}

.woo-offers.osb-offers label.osb-bundle.is-best.is-active .osb-bundle__selector {
	border-color: var(--osb-gold) !important;
	background: var(--osb-gold) !important;
}

/* Body */
.woo-offers.osb-offers .osb-bundle__body {
	display: flex !important;
	flex-direction: column !important;
	gap: 8px !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: 100% !important;
}

.woo-offers.osb-offers .osb-bundle__top {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
}

.woo-offers.osb-offers .osb-bundle__qty {
	display: inline-flex !important;
	align-items: baseline !important;
	gap: 6px !important;
}

.woo-offers.osb-offers .osb-bundle__qty-num {
	font-size: 1.35rem !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	color: #111827 !important;
}

.woo-offers.osb-offers .osb-bundle__qty-label {
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	color: var(--osb-muted) !important;
	text-transform: uppercase !important;
}

.woo-offers.osb-offers .osb-bundle__tags {
	display: inline-flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
}

.woo-offers.osb-offers .osb-bundle__tag {
	display: inline-block !important;
	padding: 3px 8px !important;
	border-radius: 999px !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
}

.woo-offers.osb-offers .osb-bundle__tag--best {
	color: #fff !important;
	background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

.woo-offers.osb-offers .osb-bundle__tag--popular {
	color: #fff !important;
	background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
}

.woo-offers.osb-offers .osb-bundle__tag--active {
	color: #fff !important;
	background: linear-gradient(135deg, #10b981, #059669) !important;
}

/* Multi-line pricing blocks */
.woo-offers.osb-offers .osb-bundle__pricing,
.woo-offers.osb-offers .osb-bundle__total-block {
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
	width: 100% !important;
}

.woo-offers.osb-offers .osb-bundle__pricing {
	padding: 10px 0 8px !important;
	border-top: 1px dashed var(--osb-line) !important;
	border-bottom: 1px dashed var(--osb-line) !important;
}

.woo-offers.osb-offers .osb-bundle__total-block {
	padding-top: 8px !important;
}

.woo-offers.osb-offers .osb-bundle__line {
	display: flex !important;
	flex-direction: row !important;
	align-items: baseline !important;
	justify-content: space-between !important;
	gap: 12px !important;
	width: 100% !important;
	line-height: 1.4 !important;
}

.woo-offers.osb-offers .osb-bundle__line-label {
	flex: 0 0 auto !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	color: var(--osb-muted) !important;
}

.woo-offers.osb-offers .osb-bundle__line-value {
	flex: 1 1 auto !important;
	text-align: end !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	color: #111827 !important;
}

.woo-offers.osb-offers .osb-bundle__line-value--was {
	color: #9ca3af !important;
	text-decoration: line-through !important;
}

.woo-offers.osb-offers .osb-bundle__line-value--now strong,
.woo-offers.osb-offers .osb-bundle__line--now .osb-bundle__line-value strong {
	font-size: 1.15rem !important;
	font-weight: 900 !important;
	color: var(--osb-green-dark) !important;
}

.woo-offers.osb-offers label.osb-bundle.is-best .osb-bundle__line-value--now strong {
	color: var(--osb-gold) !important;
}

.woo-offers.osb-offers .osb-bundle__line--save .osb-bundle__line-value {
	color: var(--osb-green-dark) !important;
	font-weight: 800 !important;
}

.woo-offers.osb-offers .osb-bundle__line-value--total {
	font-size: 1.1rem !important;
	font-weight: 900 !important;
	color: #111827 !important;
}

.woo-offers.osb-offers label.osb-bundle.is-active .osb-bundle__line-value--total {
	color: var(--osb-green-dark) !important;
}

.woo-offers.osb-offers .osb-bundle__suffix {
	display: inline !important;
	margin-left: 4px !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	color: var(--osb-muted) !important;
	text-decoration: none !important;
}

.woo-offers.osb-offers .osb-bundle__pct-inline {
	display: inline-block !important;
	margin-left: 6px !important;
	padding: 2px 7px !important;
	border-radius: 999px !important;
	font-size: 0.72rem !important;
	font-weight: 800 !important;
	color: #fff !important;
	background: var(--osb-green) !important;
	vertical-align: middle !important;
}

.woo-offers.osb-offers label.osb-bundle.is-best .osb-bundle__pct-inline {
	background: var(--osb-gold) !important;
}

.woo-offers.osb-offers .osb-bundle__hint {
	display: none;
	margin-top: 8px !important;
	padding: 8px 10px !important;
	border-radius: 8px !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
}

.woo-offers.osb-offers .osb-bundle__hint.is-lose {
	display: block !important;
	background: #fef2f2 !important;
	border: 1px solid #fecaca !important;
	color: #991b1b !important;
}

.woo-offers.osb-offers .osb-bundle__hint.is-gain {
	display: block !important;
	background: #eff6ff !important;
	border: 1px solid #bfdbfe !important;
	color: #1e40af !important;
}

/* Legacy rows — keep for backwards compat */
.woo-offers.osb-offers .osb-bundle__price-row,
.woo-offers.osb-offers .osb-bundle__total-row {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
}

.woo-offers.osb-offers .osb-bundle__field-label {
	display: block !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	color: var(--osb-muted) !important;
}

.woo-offers.osb-offers .osb-bundle__price-values {
	display: inline-flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	gap: 10px !important;
}

.woo-offers.osb-offers .osb-bundle__was {
	display: inline-flex !important;
	align-items: baseline !important;
	gap: 4px !important;
	color: #9ca3af !important;
}

.woo-offers.osb-offers .osb-bundle__was-value {
	text-decoration: line-through !important;
	font-weight: 600 !important;
}

.woo-offers.osb-offers .osb-bundle__now {
	display: inline-flex !important;
	align-items: baseline !important;
	gap: 4px !important;
}

.woo-offers.osb-offers .osb-bundle__now-value {
	font-size: 1.2rem !important;
	font-weight: 900 !important;
	color: var(--osb-green-dark) !important;
	text-decoration: none !important;
}

.woo-offers.osb-offers label.osb-bundle.is-best .osb-bundle__now-value {
	color: var(--osb-gold) !important;
}

.woo-offers.osb-offers .osb-bundle__save-row {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 8px 10px !important;
	border-radius: 8px !important;
	background: var(--osb-green-bg) !important;
	border: 1px solid #a7f3d0 !important;
}

.woo-offers.osb-offers label.osb-bundle.is-best .osb-bundle__save-row {
	background: var(--osb-gold-bg) !important;
	border-color: #fde68a !important;
}

.woo-offers.osb-offers .osb-bundle__save {
	font-size: 0.88rem !important;
	font-weight: 800 !important;
	color: var(--osb-green-dark) !important;
}

.woo-offers.osb-offers .osb-bundle__pct {
	display: inline-block !important;
	padding: 2px 8px !important;
	border-radius: 999px !important;
	font-size: 0.75rem !important;
	font-weight: 800 !important;
	color: #fff !important;
	background: var(--osb-green) !important;
}

.woo-offers.osb-offers label.osb-bundle.is-best .osb-bundle__pct {
	background: var(--osb-gold) !important;
}

.woo-offers.osb-offers .osb-bundle__vs-single {
	display: block !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	color: var(--osb-muted) !important;
}

.woo-offers.osb-offers .osb-offers-countdown {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 0 10px !important;
	padding: 10px 12px !important;
	border-radius: 10px !important;
	background: #fef2f2 !important;
	border: 1px solid #fecaca !important;
	color: #991b1b !important;
	font-weight: 700 !important;
}

.woo-offers.osb-offers .osb-offers-countdown__label {
	font-size: 0.85rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
}

.woo-offers.osb-offers .osb-offers-countdown .osb-countdown-timer {
	font-size: 1rem !important;
}

.woo-offers.osb-offers .osb-bundle__total-row {
	padding-top: 8px !important;
	border-top: 1px dashed var(--osb-line) !important;
}

.woo-offers.osb-offers .osb-bundle__total {
	font-size: 1.1rem !important;
	font-weight: 900 !important;
	color: #111827 !important;
}

.woo-offers.osb-offers label.osb-bundle.is-active .osb-bundle__total {
	color: var(--osb-green-dark) !important;
}

.woo-offers.osb-offers .osb-bundle__stock {
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	color: #dc2626 !important;
}

#osb-offers-picker.osb-offers:not(.is-visible) {
	display: none !important;
}

.osb-shop-badge {
	display: inline-block;
	padding: 0.2em 0.5em;
	border: 1px solid currentColor;
	border-radius: 4px;
	font-size: 0.8em;
	margin-bottom: 0.5em;
}

.osb-cart-upsell { margin-top: 0.5em; }
.osb-cart-upsell__text { margin: 0 0 6px; font-size: 0.92rem; font-weight: 600; color: #111827; }
.osb-cart-upsell__meta { margin: 0 0 8px; font-size: 0.82rem; color: #6b7280; }
.osb-cart-upsell--max { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.osb-cart-upsell__badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	color: #fff;
	background: var(--osb-green, #059669);
}
.osb-cart-quick-upgrade {
	margin-top: 2px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	padding: 6px 12px !important;
	height: auto !important;
	line-height: 1.3 !important;
}
.osb-cart-summary-nudge { margin-bottom: 16px !important; }

.osb-qty-nudge {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--osb-green-bg, #ecfdf5);
	border: 1px solid #a7f3d0;
	font-size: 0.9rem;
}
.osb-qty-nudge__text { font-weight: 600; color: #065f46; }
.osb-qty-nudge__jump {
	margin-left: 6px;
	font-weight: 700 !important;
	color: var(--osb-green-dark, #047857) !important;
	text-decoration: none !important;
}
.osb-qty-nudge__max { font-weight: 700; color: var(--osb-green-dark, #047857); }

.osb-countdown { margin: 0.75em 0; font-weight: 600; }
.osb-share { margin-top: 0.75em; }

.osb-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid #e5e7eb;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(110%);
	transition: transform 0.25s ease;
}

.osb-sticky-bar.is-visible {
	transform: translateY(0);
}

.osb-sticky-bar__inner {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 640px;
	margin: 0 auto;
}

.osb-sticky-bar__label {
	flex: 1 1 auto;
	font-size: 0.9rem;
	font-weight: 700;
	color: #111827;
	min-width: 0;
}

.osb-sticky-bar__total {
	font-size: 1rem;
	font-weight: 900;
	color: var(--osb-green, #059669);
	white-space: nowrap;
}

.osb-sticky-bar__change {
	flex: 0 0 auto;
	border: 0;
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
	color: #fff;
	background: var(--osb-green, #059669);
	cursor: pointer;
}

@media (max-width: 480px) {
	.woo-offers.osb-offers label.osb-bundle {
		padding: 12px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.woo-offers.osb-offers label.osb-bundle {
		transition: none !important;
	}
}
