.blo-documents {
	--blo-documents-background: #f1f2f4;
	--blo-documents-red: #e30613;
	clear: both;
	margin: 28px 0 30px;
	color: #263348;
}
.blo-documents[hidden] { display: none !important; }
.blo-documents > .blo-documents__toggle {
	display: flex;
	align-items: center;
	gap: 14px;
	width: fit-content;
	max-width: 100%;
	min-height: 64px;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid var(--blo-documents-red);
	border-radius: 4px;
	background: var(--blo-documents-background);
	color: #111;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	list-style: none;
	cursor: pointer;
}
.blo-documents > summary::-webkit-details-marker { display: none; }
.blo-documents > summary::marker { content: ""; }
.blo-documents > summary::before,
.blo-documents > summary::after { display: none; }
.blo-documents > summary:hover { border-color: #b9000b; }
.blo-documents > summary:focus-visible {
	outline: 3px solid #263348;
	outline-offset: 3px;
}
.blo-documents .blo-documents__icon {
	flex: 0 0 64px;
	width: 64px;
	height: 44px;
	margin: 0;
	object-fit: contain;
}
.blo-documents__label { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.blo-documents__arrow {
	display: grid;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 2px;
	background: var(--blo-documents-red);
	color: #fff;
}
.blo-documents__arrow svg {
	display: block;
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.blo-documents[open] .blo-documents__arrow svg { transform: rotate(90deg); }
.blo-documents__panel { padding-top: 18px; }
.blo-documents .blo-documents__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.blo-documents .blo-documents__list > li { margin: 0; padding: 0; list-style: none; }
.blo-documents .blo-documents__file {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	min-height: 80px;
	box-sizing: border-box;
	padding: 16px 24px;
	border: 1px solid #d6dce5;
	border-radius: 5px;
	background: #f8fafb;
	color: #263348;
	text-decoration: none;
	box-shadow: none;
}
.blo-documents .blo-documents__file:hover { border-color: var(--blo-documents-red); }
.blo-documents .blo-documents__file:focus-visible {
	outline: 3px solid var(--blo-documents-red);
	outline-offset: 2px;
}
.blo-documents__badge {
	display: grid;
	min-height: 46px;
	padding: 0 5px;
	place-items: center;
	border-radius: 4px;
	background: #ed1c24;
	color: #fff;
	font: 700 15px/1.2 Arial, sans-serif;
}
.blo-documents__name { overflow-wrap: anywhere; font-size: 17px; font-weight: 600; }
.blo-documents__open { color: #566174; font-size: 15px; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
	.blo-documents__arrow svg { transition: transform .15s ease; }
}
@media (max-width: 600px) {
	.blo-documents { margin: 20px 0 24px; }
	.blo-documents > .blo-documents__toggle { gap: 10px; padding: 12px 10px; font-size: 14px; }
	.blo-documents .blo-documents__icon { flex-basis: 42px; width: 42px; height: 36px; }
	.blo-documents__arrow { flex-basis: 30px; width: 30px; height: 32px; }
	.blo-documents .blo-documents__file {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 8px 12px;
		padding: 14px 12px;
	}
	.blo-documents__badge { grid-row: 1 / 3; }
	.blo-documents__name { font-size: 15px; }
	.blo-documents__open { grid-column: 2; font-size: 13px; }
}

/* Match inactive product tabs to the document button; keep the active tab white. */
.single-product .woocommerce-tabs ul.tabs li:not(.active) {
	background: #f1f2f4 !important;
}
