/* The Oak Fam product information: styles stay inside this component. */
.oakpi,
.oakpi * {
	box-sizing: border-box;
}

.oakpi {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 1.5em 0;
	background: #fff;
	color: inherit;
	font: inherit;
}

/* Keep inactive panels hidden even if the theme gives sections a display rule. */
.oakpi [hidden] {
	display: none !important;
}

/* Tabs: grey pill switcher, the chosen tab is a white pill. */
.oakpi .oakpi__tabs {
	display: flex;
	flex-flow: row nowrap;
	align-items: stretch;
	gap: 2px;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 4px;
	border: 0;
	border-radius: 999px;
	background: #f3f3f3;
	box-shadow: none;
	overflow-x: auto;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.oakpi .oakpi__tabs::-webkit-scrollbar {
	display: none;
}

.oakpi button.oakpi__tab,
.oakpi button.oakpi__tab:hover,
.oakpi button.oakpi__tab:focus,
.oakpi button.oakpi__tab:active {
	position: relative;
	display: block;
	flex: 0 0 auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 9px 15px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	background-image: none;
	box-shadow: none;
	color: #555;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transform: none;
	transition: background-color .15s ease, color .15s ease;
}

.oakpi button.oakpi__tab:hover {
	color: #1f1f1f;
}

.oakpi button.oakpi__tab::before,
.oakpi button.oakpi__tab::after {
	content: none;
}

.oakpi button.oakpi__tab[aria-selected="true"] {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
	color: #1f1f1f;
	font-weight: 600;
}

.oakpi button.oakpi__tab:focus-visible {
	outline: 2px solid #1f1f1f;
	outline-offset: -2px;
}

/* Without JavaScript the headings and all text remain available. */
.oakpi .oakpi__panel {
	min-width: 0;
	margin: 0;
	padding: 18px 0;
	border: 0;
	border-bottom: 1px solid #dedede;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.oakpi .oakpi__heading {
	margin: 0 0 12px;
	padding: 0;
	color: inherit;
	font: inherit;
	font-weight: 500;
	line-height: 1.5;
	text-transform: none;
}

.oakpi.oakpi--tabs > .oakpi__panel {
	padding: 18px 2px 0;
	border-bottom: 0;
}

.oakpi.oakpi--tabs > .oakpi__panel > .oakpi__heading {
	display: none;
}

.oakpi .oakpi__panel:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.oakpi .oakpi__content {
	min-width: 0;
	color: inherit;
	font: inherit;
	font-size: 15px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.oakpi .oakpi__content > :first-child {
	margin-top: 0;
}

.oakpi .oakpi__content > :last-child {
	margin-bottom: 0;
}

.oakpi .oakpi__content img,
.oakpi .oakpi__content video {
	max-width: 100%;
	height: auto;
}

.oakpi .oakpi__content iframe {
	max-width: 100%;
}

.oakpi .oakpi__content figure {
	max-width: 100%;
	margin-inline: 0;
}

/* Only an oversized table scrolls; the text itself keeps its full height. */
.oakpi .oakpi__content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
}

.oakpi .oakpi__content th,
.oakpi .oakpi__content td {
	overflow-wrap: normal;
}

.oakpi .oakpi__content pre {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

/* 1.2.0: subheadings, lists, specification table, shared text blocks */
.oakpi .oakpi__content h4,
.oakpi .oakpi__content .oakpi__subheading {
	margin: 1.4em 0 .5em;
	padding: 0;
	color: inherit;
	font: inherit;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
}

.oakpi .oakpi__content > h4:first-child,
.oakpi .oakpi__content > .oakpi__block:first-child > h4:first-child {
	margin-top: 0;
}

.oakpi .oakpi__block + .oakpi__block {
	margin-top: 1.4em;
}

.oakpi .oakpi__content ul {
	margin: 0 0 1em;
	padding: 0 0 0 1.25em;
	list-style: disc outside;
}

.oakpi .oakpi__content ol {
	margin: 0 0 1em;
	padding: 0 0 0 1.25em;
}

.oakpi .oakpi__content li {
	margin: .3em 0;
	padding: 0;
	list-style: inherit;
}

.oakpi .oakpi__content li::before {
	content: none;
}

.oakpi .oakpi__content table.oakpi__specs {
	display: table;
	width: 100%;
	margin: 0 0 1.2em;
	border: 0;
	border-collapse: collapse;
	background: transparent;
	overflow: visible;
}

.oakpi .oakpi__specs th,
.oakpi .oakpi__specs td {
	padding: 9px 0;
	border: 0;
	border-bottom: 1px solid #ececec;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1.45;
	text-align: start;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.oakpi .oakpi__specs th {
	width: 46%;
	padding-inline-end: 16px;
	color: #6b6b6b;
	font-weight: 400;
}

.oakpi .oakpi__specs tr:first-child th,
.oakpi .oakpi__specs tr:first-child td {
	border-top: 1px solid #ececec;
}

/* Hint that more tabs are hidden to the right on narrow screens. */
.oakpi .oakpi__tabs.oakpi__tabs--more {
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
}

/* Key facts at the top of the description block: one compact row, grey icon + text. */
.oakpi .oakpi-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.oakpi .oakpi-facts.oakpi-facts--1 { grid-template-columns: minmax(0, 1fr); }
.oakpi .oakpi-facts.oakpi-facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.oakpi .oakpi-facts.oakpi-facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.oakpi .oakpi-facts .oakpi-facts__item {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 2px 12px;
	border-inline-start: 1px solid #e8e8e8;
	color: #555;
	font-size: 12.5px;
	line-height: 1.3;
	list-style: none;
}

.oakpi .oakpi-facts .oakpi-facts__item:first-child {
	padding-inline-start: 0;
	border-inline-start: 0;
}

.oakpi .oakpi-facts .oakpi-facts__item::before {
	content: none;
}

.oakpi .oakpi-facts .oakpi-facts__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f3f3f3;
	color: #6b6b6b;
}

.oakpi .oakpi-facts .oakpi-facts__icon svg {
	display: block;
	width: 17px;
	height: 17px;
}

.oakpi .oakpi-facts .oakpi-facts__text {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Phones: icon above a short centred text, still one row. */
@media (max-width: 599px) {
	.oakpi .oakpi-facts .oakpi-facts__item {
		flex-direction: column;
		justify-content: flex-start;
		gap: 5px;
		padding: 0 6px;
		font-size: 11.5px;
		text-align: center;
	}

	.oakpi .oakpi-facts .oakpi-facts__item:first-child {
		padding-inline-start: 6px;
	}

	.oakpi .oakpi-facts .oakpi-facts__icon {
		width: 28px;
		height: 28px;
	}

	.oakpi .oakpi-facts .oakpi-facts__icon svg {
		width: 16px;
		height: 16px;
	}
}

@media (forced-colors: active) {
	.oakpi .oakpi__tabs,
	.oakpi .oakpi__panel {
		border-color: CanvasText;
	}

	.oakpi button.oakpi__tab[aria-selected="true"] {
		outline: 2px solid ButtonText;
	}
}
