.efp-product-tabs {
	clear: both;
	margin: 1.5rem 0 1.75rem;
	width: 100%;
}

.efp-product-tabs__nav {
	display: flex;
	align-items: flex-end;
	gap: 1.75rem;
	border-bottom: 1px solid #e5e5e5;
}

.efp-product-tabs__tab {
	position: relative;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #333;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	padding: 0.75rem 0 0.85rem;
	text-transform: none !important;
}

.efp-product-tabs__tab:hover,
.efp-product-tabs__tab:focus {
	background: transparent;
	box-shadow: none;
	color: #6f9c4b;
}

.efp-product-tabs__tab[aria-selected="true"] {
	color: #6f9c4b;
}

.efp-product-tabs__tab[aria-selected="true"]::after {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	content: "";
}

.efp-product-tabs__panels {
	padding-top: 1.25rem;
}

.efp-product-tabs__panel:focus {
	outline: none;
}

.efp-product-tabs__panel:focus-visible {
	outline: 2px solid #6f9c4b;
	outline-offset: 4px;
}

.efp-product-tabs__panel[hidden] {
	display: none;
}

/* Defensive fallback for empty paragraphs generated by the WordPress editor. */
.efp-product-tabs__panel > p:empty {
	display: none;
}

.efp-product-tabs__content > :first-child,
.efp-product-tabs__panel > :first-child {
	margin-top: 0;
}

.efp-product-tabs__content > :last-child,
.efp-product-tabs__panel > :last-child {
	margin-bottom: 0;
}

.efp-product-tabs img {
	height: auto;
	max-width: 100%;
}

.efp-product-tabs table {
	border-collapse: collapse;
	max-width: 100%;
	width: 100%;
}

.efp-product-tabs th,
.efp-product-tabs td {
	border: 1px solid #d7d7d7;
	padding: 0.5rem;
	vertical-align: middle;
}

@media (max-width: 600px) {
	.efp-product-tabs__nav {
		gap: 1rem;
		overflow-x: auto;
		white-space: nowrap;
	}

	.efp-product-tabs__tab {
		flex: 0 0 auto;
	}
}
