.bcom-ptabs {
	--bcom-ptabs-accent: var(--bcom-accent);
	--bcom-ptabs-measure: 960px;
	--bcom-ptabs-clamp-h: 520px;
	--bcom-ptabs-tab-h: 56px;
	font-family: var(--bcom-font);
	color: var(--bcom-text);
}

.bcom-ptabs *,
.bcom-ptabs *::before,
.bcom-ptabs *::after {
	box-sizing: border-box;
}

.bcom-ptabs,
.bcom-ptabs__item,
.bcom-ptabs [id] {
	scroll-margin-top: calc(var(--bcom-header-h) + var(--bcom-space-6));
}

.bcom-ptabs__list {
	display: flex;
	gap: var(--bcom-space-2);
	margin: 0 0 var(--bcom-space-6);
	border-bottom: 1px solid var(--bcom-line);
	overflow-x: auto;
	scrollbar-width: none;
}

.bcom-ptabs__list::-webkit-scrollbar {
	display: none;
}

.bcom-ptabs__tab {
	position: relative;
	flex: none;
	min-height: var(--bcom-ptabs-tab-h);
	margin: 0;
	padding: 0 var(--bcom-space-5);
	border: 0;
	border-radius: var(--bcom-radius-sm) var(--bcom-radius-sm) 0 0;
	background: transparent;
	color: var(--bcom-muted);
	font: var(--bcom-fw-semibold) var(--bcom-fs-md)/1.2 var(--bcom-font);
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: color var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1), transform var(--bcom-dur-fast) cubic-bezier(0.23, 1, 0.32, 1);
}

.bcom-ptabs__tab:active {
	transform: scale(calc(1 - 0.03 * var(--bcom-motion, 1)));
}

.bcom-ptabs__tab::after {
	content: "";
	position: absolute;
	right: var(--bcom-space-3);
	bottom: -1px;
	left: var(--bcom-space-3);
	height: 3px;
	border-radius: var(--bcom-radius-pill);
	background: var(--bcom-ptabs-accent);
	transform: scaleX(0);
	transition: transform var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1);
}

.bcom-ptabs__tab[aria-selected="true"] {
	color: var(--bcom-fg-brand);
}

.bcom-ptabs__tab[aria-selected="true"]::after {
	transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
	.bcom-ptabs__tab:hover {
		color: var(--bcom-fg-brand);
	}
}

.bcom-ptabs__tab:focus-visible,
.bcom-ptabs__toggle:focus-visible,
.bcom-ptabs__panel:focus-visible {
	outline: 2px solid var(--bcom-focus);
	outline-offset: -2px;
	box-shadow: none;
}

.bcom-ptabs__heading {
	display: none;
	margin: 0;
	font: inherit;
}

.bcom-ptabs__item:not(.is-active) .bcom-ptabs__panel {
	display: none;
}

.bcom-ptabs__panel-inner {
	max-width: var(--bcom-ptabs-measure);
	min-height: 0;
}

.bcom-ptabs__clamp {
	position: relative;
}

.bcom-ptabs__clamp.is-clamped {
	max-height: var(--bcom-ptabs-clamp-h);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
	mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
}

.bcom-ptabs__more {
	margin-top: var(--bcom-space-4);
}

.bcom-ptabs__more[hidden] {
	display: none;
}

.bcom-ptabs__prose {
	font-size: var(--bcom-fs-base);
	line-height: var(--bcom-lh-base);
	overflow-wrap: anywhere;
}

.bcom-ptabs__prose > :first-child {
	margin-top: 0;
}

.bcom-ptabs__prose > :last-child {
	margin-bottom: 0;
}

.bcom-ptabs__prose :where(p, ul, ol, table, figure, blockquote) {
	margin: 0 0 var(--bcom-space-4);
}

.bcom-ptabs__prose :where(h2, h3, h4) {
	margin: var(--bcom-space-6) 0 var(--bcom-space-3);
	color: var(--bcom-fg-brand);
	font-family: var(--bcom-font);
	font-weight: var(--bcom-fw-semibold);
	line-height: var(--bcom-lh-snug);
}

.bcom-ptabs__prose h2 {
	font-size: var(--bcom-fs-lg);
}

.bcom-ptabs__prose :where(h3, h4) {
	font-size: var(--bcom-fs-md);
}

.bcom-ptabs__prose :where(strong, b) {
	color: var(--bcom-fg-soft);
	font-weight: var(--bcom-fw-semibold);
}

.bcom-ptabs__prose :where(ul, ol) {
	padding-left: 1.25em;
}

.bcom-ptabs__prose li + li {
	margin-top: var(--bcom-space-1);
}

.bcom-ptabs__prose :where(img, video, iframe) {
	max-width: 100%;
	height: auto;
}

.bcom-ptabs__prose table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.bcom-ptabs__prose a {
	color: var(--bcom-fg-brand);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
	.bcom-ptabs__prose a:hover {
		color: var(--bcom-accent-text);
	}
}

.bcom-ptabs a:focus-visible {
	outline: 2px solid var(--bcom-focus);
	outline-offset: 2px;
	box-shadow: none;
}

.bcom-ptabs__specs .woocommerce-product-attributes {
	width: 100%;
	margin: 0;
	border: 1px solid var(--bcom-line);
	border-radius: var(--bcom-radius-md);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	font-size: var(--bcom-fs-base);
	line-height: var(--bcom-lh-snug);
}

.bcom-ptabs__specs .woocommerce-product-attributes :where(th, td) {
	padding: 14px var(--bcom-space-5);
	border: 0;
	background: transparent;
	vertical-align: top;
	text-align: left;
}

.bcom-ptabs__specs .woocommerce-product-attributes th {
	width: 38%;
	color: var(--bcom-fg-soft);
	font-weight: var(--bcom-fw-semibold);
}

.bcom-ptabs__specs .woocommerce-product-attributes td {
	color: var(--bcom-text);
	font-style: normal;
}

.bcom-ptabs__specs .woocommerce-product-attributes tr:nth-child(odd) :where(th, td) {
	background: var(--bcom-surface);
}

.bcom-ptabs__specs .woocommerce-product-attributes tr + tr :where(th, td) {
	border-top: 1px solid var(--bcom-line);
}

.bcom-ptabs__specs .woocommerce-product-attributes td p {
	margin: 0;
	padding: 0;
}

.bcom-ptabs__specs .woocommerce-product-attributes a {
	color: var(--bcom-fg-brand);
	text-decoration: none;
	transition: color var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
	.bcom-ptabs__specs .woocommerce-product-attributes a:hover {
		color: var(--bcom-accent-text);
	}
}

.bcom-ptabs__reviews a,
.bcom-ptabs__external a:not(.bcom-btn) {
	color: var(--bcom-fg-brand);
	text-decoration: none;
	transition: color var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
	.bcom-ptabs__reviews a:hover,
	.bcom-ptabs__external a:not(.bcom-btn):hover {
		color: var(--bcom-accent-text);
	}
}

.bcom-ptabs__reviews .woocommerce-Reviews-title,
.bcom-ptabs__reviews .comment-reply-title {
	margin: 0 0 var(--bcom-space-4);
	color: var(--bcom-fg-brand);
	font-size: var(--bcom-fs-md);
	font-weight: var(--bcom-fw-semibold);
}

.bcom-ptabs__reviews .commentlist {
	margin: 0 0 var(--bcom-space-6);
	padding: 0;
	list-style: none;
}

.bcom-ptabs-notice {
	padding: var(--bcom-space-4);
	border: 1px dashed var(--bcom-line-strong);
	border-radius: var(--bcom-radius-sm);
	color: var(--bcom-muted);
	font-family: var(--bcom-font);
}

@media (max-width: 767px) {
	.bcom-ptabs__list {
		display: none;
	}

	.bcom-ptabs__item {
		border-bottom: 1px solid var(--bcom-line);
	}

	.bcom-ptabs__item:first-of-type {
		border-top: 1px solid var(--bcom-line);
	}

	.bcom-ptabs__heading {
		display: block;
	}

	.bcom-ptabs__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--bcom-space-3);
		width: 100%;
		min-height: var(--bcom-ptabs-tab-h);
		margin: 0;
		padding: var(--bcom-space-3) var(--bcom-space-1);
		border: 0;
		border-radius: 0;
		background: transparent;
		color: var(--bcom-fg-brand);
		font: var(--bcom-fw-semibold) var(--bcom-fs-md)/1.3 var(--bcom-font);
		letter-spacing: 0;
		text-align: left;
		text-transform: none;
		cursor: pointer;
		transition: color var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1);
	}

	.bcom-ptabs__chevron {
		flex: none;
		transition: transform var(--bcom-duration) cubic-bezier(0.23, 1, 0.32, 1);
	}

	.bcom-ptabs__toggle[aria-expanded="true"] .bcom-ptabs__chevron {
		transform: rotate(180deg);
	}

	.bcom-ptabs__item:not(.is-active) .bcom-ptabs__panel,
	.bcom-ptabs__panel {
		display: grid;
		grid-template-rows: 0fr;
		visibility: hidden;
		transition: grid-template-rows 250ms var(--bcom-ease), visibility 0s linear 250ms;
	}

	.bcom-ptabs__item.is-active .bcom-ptabs__panel {
		grid-template-rows: 1fr;
		visibility: visible;
		transition: grid-template-rows 250ms var(--bcom-ease), visibility 0s;
	}

	.bcom-ptabs__panel-inner {
		overflow: hidden;
	}

	.bcom-ptabs__panel-inner::after {
		content: "";
		display: block;
		height: var(--bcom-space-5);
	}

	.bcom-ptabs__specs .woocommerce-product-attributes :where(th, td) {
		padding: 12px var(--bcom-space-3);
	}

	.bcom-ptabs__specs .woocommerce-product-attributes th {
		width: 45%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bcom-ptabs__tab,
	.bcom-ptabs__tab::after,
	.bcom-ptabs__toggle,
	.bcom-ptabs__chevron,
	.bcom-ptabs__panel,
	.bcom-ptabs__item.is-active .bcom-ptabs__panel {
		transition: none;
	}
}

@media (max-width: 1199px) {
	.bcom-ptabs .bcom-ptabs__specs > table.shop_attributes:last-child {
		margin-bottom: 0;
	}
}
