.bh-bil-extras {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 100px 3rem;
	box-sizing: border-box;
}

@media (max-width: 991px) {
	.bh-bil-extras {
		padding-left: 40px;
		padding-right: 40px;
	}
}

@media (max-width: 460px) {
	.bh-bil-extras {
		padding-left: 14px;
		padding-right: 14px;
	}
}

/* Galleri direkt under CTA (före brödtext) */
.bh-bil-extras--before-content {
	padding-top: 0.35rem;
	padding-bottom: 1.25rem;
}

.bh-bil-gallery--high .bh-bil-heading {
	margin-top: 0;
	margin-bottom: 0.75rem;
}

.bh-bil-heading {
	font-size: 1.35rem;
	margin: 2rem 0 1rem;
	font-weight: 600;
	color: #333;
}

.bh-bil-specs-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	box-shadow: 1px 4px 24px rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	overflow: hidden;
}

.bh-bil-specs-table th,
.bh-bil-specs-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.bh-bil-specs-table th {
	width: 38%;
	background: #f5f6f8;
	font-weight: 600;
	color: #444;
}

.bh-bil-specs-table tr:last-child th,
.bh-bil-specs-table tr:last-child td {
	border-bottom: none;
}

.bh-bil-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 14px;
	align-items: start;
}

.bh-bil-gallery-thumb {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
	cursor: pointer;
	background: #0f0f0f;
	text-align: left;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	align-self: start;
}

.bh-bil-gallery-thumb:hover,
.bh-bil-gallery-thumb:focus-visible {
	transform: translateY(-2px);
	box-shadow: 1px 8px 24px rgba(0, 0, 0, 0.18);
	outline: 2px solid #fe5b3d;
	outline-offset: 2px;
}

.bh-bil-gallery-thumb-inner {
	display: block;
	width: 100%;
	line-height: 0;
	background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
}

.bh-bil-gallery-thumb img,
.bh-bil-gallery-thumb__img {
	width: 100%;
	height: auto;
	max-height: min(72vh, 520px);
	object-fit: contain;
	object-position: center;
	display: block;
	image-rendering: auto;
}

/* Lightbox */
.bh-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 72px;
	box-sizing: border-box;
}

.bh-lightbox[hidden] {
	display: none !important;
}

.bh-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
	cursor: pointer;
}

.bh-lightbox-figure {
	position: relative;
	z-index: 1;
	max-width: min(96vw, 1400px);
	max-height: 88vh;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bh-lightbox-img {
	max-width: 100%;
	max-height: 88vh;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
	border-radius: 10px;
	box-shadow: 0 16px 64px rgba(0, 0, 0, 0.55);
	image-rendering: auto;
	-ms-interpolation-mode: bicubic;
}

.bh-lightbox-close,
.bh-lightbox-prev,
.bh-lightbox-next {
	position: absolute;
	z-index: 2;
	border: none;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border-radius: 50%;
	width: 48px;
	height: 48px;
	font-size: 28px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.15s ease;
}

.bh-lightbox-close:hover,
.bh-lightbox-prev:hover,
.bh-lightbox-next:hover,
.bh-lightbox-close:focus-visible,
.bh-lightbox-prev:focus-visible,
.bh-lightbox-next:focus-visible {
	background: rgba(254, 91, 61, 0.95);
	color: #fff;
	outline: none;
}

.bh-lightbox-close {
	top: 16px;
	right: 16px;
	font-size: 32px;
	font-weight: 300;
}

.bh-lightbox-prev {
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.bh-lightbox-next {
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.bh-lightbox-prev:hover,
.bh-lightbox-next:hover {
	transform: translateY(-50%) scale(1.05);
}

.bh-lightbox-counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 500;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
	background: rgba(0, 0, 0, 0.45);
	padding: 6px 14px;
	border-radius: 999px;
}

@media (max-width: 640px) {
	.bh-lightbox {
		padding: 56px 16px 64px;
	}

	.bh-lightbox-prev {
		left: 4px;
		width: 44px;
		height: 44px;
	}

	.bh-lightbox-next {
		right: 4px;
		width: 44px;
		height: 44px;
	}
}

.bh-bil-iframe-wrap iframe {
	width: 100%;
	max-width: 900px;
	min-height: 480px;
	border: 0;
	border-radius: 12px;
	display: block;
	margin: 0 auto;
}

.bh-bil-3d-hint {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 0.75rem;
}

.bh-bil-calc {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 2px solid #fe5b3d;
}

#bh-bil-calculator-root {
	background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
	border-radius: 16px;
	padding: 1.5rem 1.25rem;
	box-shadow: 1px 6px 32px rgba(0, 0, 0, 0.1);
	border: 1px solid #eee;
}

.bh-calc-title {
	font-size: 1.25rem;
	margin: 0 0 1rem;
	font-weight: 600;
}

.bh-calc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.bh-calc-field label {
	display: block;
	font-size: 0.85rem;
	font-weight: 500;
	margin-bottom: 0.35rem;
	color: #444;
}

.bh-calc-field input[type='number'],
.bh-calc-field input[type='text'] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 1rem;
	box-sizing: border-box;
}

.bh-calc-results {
	display: grid;
	gap: 0.75rem;
}

.bh-calc-big {
	font-size: 1.75rem;
	font-weight: 700;
	color: #fe5b3d;
}

.bh-calc-muted {
	font-size: 0.9rem;
	color: #666;
}

.bh-calc-disclaimer {
	font-size: 0.8rem;
	color: #777;
	margin-top: 1rem;
	line-height: 1.5;
}
