/* Anovite ByDesign Bridge - pack confirmation bar.
   Sticky bottom bar; slides up when a pack is selected. Restyle freely. */

.abb-pack-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	transform: translateY( 110% );
	transition: transform 0.28s ease;
	background: #ffffff;
	box-shadow: 0 -6px 24px rgba( 0, 0, 0, 0.12 );
	border-top: 1px solid rgba( 0, 0, 0, 0.06 );
}

.abb-pack-bar.is-visible {
	transform: translateY( 0 );
}

.abb-pack-bar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.abb-pack-bar__info {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.abb-pack-bar__img {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 8px;
	background: #f3f6f1;
	flex: 0 0 auto;
}

.abb-pack-bar__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.abb-pack-bar__label {
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.6;
}

.abb-pack-bar__name {
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.abb-pack-bar__meta {
	font-size: 14px;
	opacity: 0.8;
}

.abb-pack-bar__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.abb-pack-bar__right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	flex: 0 1 auto;
	min-width: 0;
}

.abb-pack-bar__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12.5px;
	line-height: 1.35;
	max-width: 640px;
	cursor: pointer;
	opacity: 0.9;
}

.abb-pack-bar__consent-check {
	flex: 0 0 auto;
	margin-top: 2px;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.abb-pack-bar__continue.is-disabled,
.abb-pack-bar__continue:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.abb-pack-bar--needs-consent .abb-pack-bar__consent {
	color: #b23b3b;
	opacity: 1;
}

.abb-pack-bar--needs-consent .abb-pack-bar__consent-check {
	outline: 2px solid #b23b3b;
	outline-offset: 2px;
	border-radius: 3px;
}

.abb-pack-bar__change,
.abb-pack-bar__continue {
	cursor: pointer;
	border-radius: 999px;
	font-size: 15px;
	line-height: 1.2;
	padding: 12px 22px;
	border: 1px solid transparent;
}

.abb-pack-bar__change {
	background: transparent;
	border-color: rgba( 0, 0, 0, 0.18 );
	color: inherit;
}

.abb-pack-bar__continue {
	background: #4a5f7a;
	color: #ffffff;
	font-weight: 600;
}

.abb-pack-bar__continue:hover {
	filter: brightness( 1.06 );
}

/* Mobile: stack info over full-width actions, keep it thumb-reachable. */
@media ( max-width: 600px ) {
	.abb-pack-bar__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 12px 14px;
	}

	.abb-pack-bar__img {
		width: 44px;
		height: 44px;
	}

	.abb-pack-bar__actions {
		width: 100%;
	}

	.abb-pack-bar__right {
		width: 100%;
		align-items: stretch;
	}

	.abb-pack-bar__consent {
		max-width: none;
	}

	.abb-pack-bar__change,
	.abb-pack-bar__continue {
		flex: 1 1 auto;
		text-align: center;
		padding: 13px 14px;
	}

	.abb-pack-bar__change {
		flex: 0 0 auto;
		padding: 13px 16px;
	}
}
