/* Native Woo description content and tabs keep their layout ownership. */
.btllc-product-description,
.btllc-product-description__content {
	min-width: 0;
	overflow-wrap: anywhere;
}

.btllc-product-description .btllc-product-description__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	margin: 4px 0 24px;
	padding: 10px 0;
	border: 0;
	border-radius: var(--bt-radius);
	background: transparent;
	color: var(--bt-primary);
	font: 700 15px/1.4 var(--bt-font-body);
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: color 160ms ease;
	scroll-margin-block: 120px;
}

.btllc-product-description .btllc-product-description__toggle:hover span {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.btllc-product-description .btllc-product-description__toggle:active {
	color: var(--bt-ink);
}

.btllc-product-description .btllc-product-description__toggle:focus-visible,
.btllc-product-description__table:focus-visible {
	outline: 3px solid var(--bt-focus);
	outline-offset: 4px;
}

.btllc-product-description__toggle svg {
	flex: none;
	transition: transform 160ms ease;
}

.btllc-product-description__toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

/* Theme display rules must never expose concealed content or its links. */
.btllc-product-description [data-description-concealed],
.btllc-product-description .btllc-product-description__toggle[hidden] {
	display: none !important;
}

.btllc-product-description__table {
	max-width: 100%;
	margin-block: 20px;
	overflow-x: auto;
	scrollbar-gutter: stable;
	overscroll-behavior-x: contain;
}

.btllc-product-description__table > table {
	margin-block: 0;
}

.btllc-product-description__content img,
.btllc-product-description__content iframe {
	max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.btllc-product-description .btllc-product-description__toggle,
	.btllc-product-description__toggle svg {
		transition: none;
	}
}
