/*
 * Cara A / Cara B toggle of the shared lightbox (assets/js/lightbox.js) — printed by
 * ED_Core_Samples::lightbox_sides_html() inside the `.ed-lightbox` of /muestras-gratis/ and of the
 * product page, for fabrics with a genuinely two-sided weave (e.g. Pica 3%). Loaded on both; every
 * other `.ed-lightbox` on the site has no [data-lightbox-sides] element, so these rules never apply
 * there. (Moved here from guide-page.css so the product page, which does not load guide-page.css,
 * shares the one definition.)
 */
.ed-lightbox__sides {
	position: absolute;
	bottom: var(--ed-space-sm);
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	display: flex;
	overflow: hidden;
	background-color: rgba(16, 19, 20, 0.72);
	border-radius: var(--ed-radius-full);
}

.ed-lightbox__sides[hidden] {
	display: none;
}

.ed-lightbox__side-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	min-width: 88px;
	min-height: 44px;
	white-space: nowrap;
	padding: 8px var(--ed-space-md);
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--ed-font-body);
	font-size: var(--ed-font-size-sm);
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ed-lightbox__side-btn.is-active {
	background-color: var(--ed-color-primary);
	color: #ffffff;
}

.ed-lightbox__side-btn:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: -2px;
}

.ed-lightbox__side-hint {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	opacity: 0.85;
}
