/* Sticky Add-to-Cart — uses ACONI design tokens where present, with
   sensible fallbacks so the bar still looks reasonable on other themes. */
.aconi-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	background: var(--wp--preset--color--bg-primary, #fff);
	border-top: 1px solid var(--wp--preset--color--line, #e5e7eb);
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
	transform: translateY(100%);
	transition: transform 0.2s ease;
}
.aconi-sticky-atc.is-visible {
	transform: translateY(0);
}
.aconi-sticky-atc__inner {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--small, 1rem);
	max-width: var(--wp--style--global--content-size, 1200px);
	margin-inline: auto;
	padding: var(--wp--preset--spacing--xsmall, 0.5rem) var(--wp--preset--spacing--medium, 1.5rem);
}
.aconi-sticky-atc__inner img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}
.aconi-sticky-atc__title {
	flex: 1;
	font-size: 0.875rem;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.aconi-sticky-atc__price {
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-secondary, #6b7280);
	white-space: nowrap;
}
.aconi-sticky-atc__button {
	flex-shrink: 0;
	border: none;
	border-radius: 8px;
	padding: 0.6rem 1.25rem;
	background: var(--wp--preset--color--cta, #e8890c);
	color: var(--wp--preset--color--cta-text, #fff);
	font-weight: 700;
	cursor: pointer;
}
@media (min-width: 782px) {
	.aconi-sticky-atc {
		top: 0;
		bottom: auto;
		border-top: none;
		border-bottom: 1px solid var(--wp--preset--color--line, #e5e7eb);
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
		transform: translateY(-100%);
	}
	.aconi-sticky-atc.is-visible {
		transform: translateY(0);
	}
}
