/**
 * Out-N-Out Product Information — tab interface. Handle: oon-widget-product-information.
 * Matches the live product page: a centered, horizontally-scrollable tab strip with
 * one visible panel. Shared by the theme single-product template and the Elementor
 * widget; interaction/keyboard/ARIA enhanced by script.js. Token-driven.
 */
.oon-pinfo {
	margin: 48px 0;
}

/* Tab strip — centered, one row, horizontally scrollable (no wrap), scrollbar hidden. */
.oon-pinfo__tablist {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-end;
	column-gap: 30px;
	overflow-x: auto;
	padding-bottom: 2px;
	border-bottom: 1px solid var(--oon-color-border, #e5e5e5);
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.oon-pinfo__tablist::-webkit-scrollbar {
	display: none;
}
@media (min-width: 768px) {
	.oon-pinfo__tablist {
		column-gap: 60px;
	}
}

.oon-pinfo__tab {
	position: relative;
	flex: 0 0 auto;
	padding: 8px 0;
	margin: 0;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--oon-font-body);
	font-weight: var(--oon-fw-medium, 500);
	font-size: 18px;
	line-height: 1.4;
	white-space: nowrap;
	/* Neutral foreground (#212121), matching live's --color-foreground — NOT the
	   brand heading purple. Inactive tabs are this colour at 50% opacity (a neutral
	   grey), like live; active tabs go to full opacity. */
	color: var(--oon-color-text, #212121);
	opacity: 0.5;
	transition: opacity var(--oon-transition, 0.25s ease), color var(--oon-transition, 0.25s ease);
}
@media (min-width: 768px) {
	.oon-pinfo__tab {
		padding: 12px 0;
	}
}
/* Active underline: grows 0 -> 100%. */
.oon-pinfo__tab::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 0;
	height: 2px;
	background: currentColor;
	transition: width var(--oon-transition, 0.25s ease-in-out);
}
.oon-pinfo__tab:hover {
	opacity: 1;
}
.oon-pinfo__tab.is-active {
	opacity: 1;
	color: var(--oon-color-text, #212121);
}
.oon-pinfo__tab.is-active::after {
	width: 100%;
}
.oon-pinfo__tab:focus-visible {
	outline: 2px solid var(--oon-color-accent, #9a84c8);
	outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
	.oon-pinfo__tab,
	.oon-pinfo__tab::after {
		transition: none;
	}
}

/* Panels — one visible at a time. */
.oon-pinfo__panels {
	padding-top: 24px;
}
@media (min-width: 768px) {
	.oon-pinfo__panels {
		padding-top: 40px;
	}
}
.oon-pinfo__panel {
	font-family: var(--oon-font-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--oon-color-text-secondary, #666);
}
.oon-pinfo__panel[hidden] {
	display: none;
}
.oon-pinfo__panel:focus-visible {
	outline: none;
}
.oon-pinfo__panel > :first-child {
	margin-top: 0;
}
.oon-pinfo__panel > :last-child {
	margin-bottom: 0;
}

.oon-pinfo__list {
	margin: 0;
	padding-left: 1.2em;
}
.oon-pinfo__list li {
	margin-bottom: 10px;
}
.oon-pinfo__list li:last-child {
	margin-bottom: 0;
}
/* Bold lead term is darker than the grey description (like live). */
.oon-pinfo__list strong {
	color: var(--oon-color-text, #212121);
	font-weight: var(--oon-fw-medium, 600);
}

.oon-pinfo__rich p {
	margin: 0 0 1em;
}

.oon-pinfo__notice {
	padding: 20px;
	border: 1px dashed var(--oon-color-border, #eee);
	color: var(--oon-color-text-secondary, #666);
	text-align: center;
	border-radius: var(--oon-radius-sm, 4px);
}
