/* =========================================================
BO - Vehicle Detail Base Pieces
Moved from bo-base.css. These selectors are tied to car.aspx/detail rendering.
========================================================= */

.bo-car-page-shell {
	display: flex;
	min-height: 100vh;
	min-height: 100dvh;
	flex-direction: column;
}

.bo-car-page-main {
	box-sizing: border-box;
	min-width: 0;
	padding-top: var(--bo-site-header-clearance, 0px);
	flex: 1 0 auto;
}

.bo-car-page-footer {
	flex: 0 0 auto;
}

.bo-bilvisning {
	--bo-detail-spec-icon-size: 1.75rem;
	--bo-detail-data-icon-size: 1.5rem;
	--bo-detail-section-space-top: var(--bo-space-4);
	--bo-detail-section-space-bottom: var(--bo-space-6);
	box-sizing: border-box;
	width: 100%;
	padding-block: var(--bo-detail-section-space-y, clamp(1.5rem, 1rem + 1vw, 3rem));
	scroll-margin-top: calc(var(--bo-site-header-clearance, 0px) + var(--bo-space-4));
}

.main-containerbilvisning {
	margin-inline: auto;
}

.bo-footer-credit-link {
	text-decoration: none;
}

.bo-car-card-addons {
	border: var(--bo-border);
	border-radius: var(--bo-radius-lg);
	background: var(--bo-surface-muted);
}

.bo-car-card-dealer {
	border: var(--bo-border);
	border-radius: var(--bo-radius-lg);
	background: var(--bo-surface-muted);
}

.bo-car-addons-title {
	font-size: 1.25rem;
}

.bo-addon-list-icon-wrap {
	padding: var(--bo-space-4);
	border-radius: var(--bo-radius-sm);
	background: var(--bo-blue-200);
}

.bo-addon-list-icon {
	width: 2rem;
	height: 2rem;
	flex-shrink: 0;
}

.bo-gallery {
	border-radius: var(--bo-radius-lg);
	overflow: hidden;
	border: var(--bo-border);
}

.bo-thumb {
    aspect-ratio: var(--bo-detail-thumb-aspect-ratio, 3 / 2);
	border-radius: var(--bo-component-radius, var(--bo-radius-lg));
	overflow: hidden;
	border: var(--bo-border);
	background: var(--bo-surface);
}

/* The CMS preset supplies a fallback only. Customer CSS can always override
   every target together through --bo-vehicle-content-radius. */
.bo-vehicle-content-radius--none {
	--bo-cms-vehicle-content-radius: var(--bo-radius-none, 0);
}

.bo-vehicle-content-radius--sm {
	--bo-cms-vehicle-content-radius: var(--bo-radius-sm, 0.5rem);
}

.bo-vehicle-content-radius--md {
	--bo-cms-vehicle-content-radius: var(--bo-radius-2xl, 1rem);
}

.bo-vehicle-content-radius--lg {
	--bo-cms-vehicle-content-radius: var(--bo-radius-4xl, 1.5rem);
}

.bo-tabs {
	background: var(--bo-surface-muted);
	padding: var(--bo-space-5);
	border-radius: var(--bo-vehicle-content-radius, var(--bo-cms-vehicle-content-radius, var(--bo-radius-2xl)));
	gap: .5rem;
	margin: .5rem 0;
}

.bo-tabs .nav-link {
	border-radius: 12px !important;
	border: var(--bo-border);
	color: #111;
	background: var(--bo-surface);
}

.bo-tabs .nav-link.active {
	background: #111;
	color: #fff;
	border-color: #111;
}

/* Mobile: swipebar */
@media (max-width: 575.98px) {
	.bo-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
		gap: .5rem !important;
		scroll-snap-type: x mandatory;
		padding-inline: .25rem;
	}

	.bo-tabs::-webkit-scrollbar {
		display: none;
	}

	/* göm scrollbar (Safari/Chrome) */
	.bo-tabs {
		scrollbar-width: none;
	}

	/* Firefox */

	.bo-tabitem {
		flex: 0 0 auto;
		scroll-snap-align: start;
	}

	.bo-tab {
		white-space: nowrap;
	}
}

.bo-spec-row {
	display: flex;
	align-items: center;
	gap: var(--bo-space-3);
	padding: 0.75rem;
	border-radius: var(--bo-radius-lg);
	background: var(--bo-blue-200);
	font-size: 1rem;
}

.bo-bilvisning .bo-spec-row .bo-icon {
	width: var(--bo-detail-spec-icon-size);
	height: var(--bo-detail-spec-icon-size);
}

.bo-cta .btn {
	border-radius: .5rem;
	padding: 0.9375rem var(--bo-space-5);
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: .5rem;
}

.bo-sim-card .bo-sim-img {
	border-radius: var(--bo-radius-2xl);
	overflow: hidden;
	border: var(--bo-border);
	background: var(--bo-card-media-bg);
	height: 10.625rem;
}

.spec-max {
	display: flex;
	align-items: center;
	gap: .5rem;
	min-width: 7.8125rem;
}

/* Titles */
.bo-brand {
	font-size: clamp(1.5rem, 1.375rem + 0.556vw, 1.875rem);
	font-weight: 800;
}

.bo-model {
	font-size: clamp(1.25rem, 1.167rem + 0.37vw, 1.5rem);
	font-style: normal;
	font-weight: 500;
}

.bo-label {
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 700;
	line-height: 0.9375rem;
}

.bo-value {
	font-size: clamp(1.25rem, 1.167rem + 0.37vw, 1.5rem);
	font-style: normal;
	font-weight: 700;
}

.bo-price__tax-note {
    display: block;
    margin-top: .25rem;
    color: var(--bo-text-muted);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.35;
}

.bo-actions .is-active {
	background: var(--bo-blue-200);
	transition: background-color .2s ease, transform .12s ease;
}

.bo-actions .bo-action-fav.is-active,
.bo-actions .bo-action-fav[aria-pressed="true"] {
    --bo-btn-active-bg: var(--bo-favorite-bg);
    --bo-btn-active-color: var(--bo-favorite-color);
    --bo-btn-active-border: var(--bo-favorite-border);
    --bo-btn-shadow-active: inset 0 0 0 1px var(--bo-favorite-border);
    background: var(--bo-favorite-bg);
    border-color: var(--bo-favorite-border);
    color: var(--bo-favorite-color);
    box-shadow: var(--bo-btn-shadow-active);
}

/* =========================================================
BO - Vehicle Detail
Split from bo-car.css. Detail-page rules only; shared card/listing/showcase rules live in separate files.
========================================================= */


/* =========================================================
Vehicle fact layouts
========================================================= */

.bo-specgrid {
    display: grid;
    gap: .5rem;
    padding: .5rem 0;
}

.bo-specgrid--vertical,
.bo-specgrid--horizontal {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bo-specgrid--vertical .bo-spec-row,
.bo-specgrid--horizontal .bo-spec-row {
    justify-content: center;
    min-width: 0;
    border-radius: var(--bo-vehicle-content-radius, var(--bo-cms-vehicle-content-radius, var(--bo-radius-2xl)));
    background: var(--bo-theme-primary-soft);
}

.bo-specgrid--vertical .bo-spec-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--bo-space-4);
    min-height: 6.875rem;
}

.bo-specgrid--horizontal .bo-spec-row {
    flex-direction: row;
    align-items: center;
    padding: var(--bo-space-3) var(--bo-space-4);
    min-height: 4.75rem;
}

.bo-specgrid--vertical .bo-spec-row strong,
.bo-specgrid--horizontal .bo-spec-row strong {
    display: none;
}

.bo-specgrid--vertical .bo-spec-row span,
.bo-specgrid--horizontal .bo-spec-row span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 500;
}

@media (max-width: 576px) {
    .bo-specgrid--vertical,
    .bo-specgrid--horizontal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bo-specgrid--vertical .bo-spec-row,
    .bo-specgrid--horizontal .bo-spec-row {
        padding: var(--bo-space-3);
        font-size: .875rem;
    }

    .bo-specgrid--vertical .bo-spec-row {
        min-height: 4.75rem;
    }
}


/* =========================================================
Gallery overlay action 
========================================================= */

.bo-gallery {
    position: relative;/* gÃ¶r att actions kan positioneras Ã¶ver bilden */
}

.bo-gallery-ratio {
    border-radius: var(--bo-radius-lg);
    overflow: hidden;/* klipper bildens hÃ¶rn snyggt */
}

/* Bootstrap .ratio fyller child absolut - se till att vÃ¥r img fyller ytan */
.bo-gallery-placeholder {
    width: 100%;
    height: 100%;
}

.bo-gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay-knappar nere till hÃ¶ger (Ã¶ver bilden) */
.bo-gallery-actions {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 5;
    display: inline-flex;
    justify-content: flex-end;
    gap: .65rem;
    left: auto;
    width: auto;
}

/* Lite mer "kÃ¤nsla" pÃ¥ knapparna */
.bo-gallery-actions .btn {
    border-radius: 12px;
    border: 1px solid var(--bo-alpha-black-08);
    background: var(--bo-alpha-white-92);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

/* Mobil: tightare och wrap om det behÃ¶vs */
@media (max-width: 575.98px) {
    .bo-gallery-actions {
        right: 12px;
        bottom: 20px;
        gap: 8px !important;
    }
}

/* =========================================================
Description: Smooth expand 
========================================================= */

.bo-desc-anim {
    position: relative;
    overflow: hidden;
    transition: max-height .35s ease;
    will-change: max-height;
}

/* 3 rader-ish clamp hÃ¶jd (justeras via JS exakt vid init) */
.bo-desc-anim.is-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.4em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.bo-desc-anim__inner {
    line-height: 1.55;
    color: rgba(33,37,41,.75);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .bo-desc-anim {
        transition: none;
    }
}

/* =========================================================
Optional Chevron: Visa mer
========================================================= */

/* Default: om kund inte Ã¶nskar chevron -> ingen svg */
.bo-btn-more__chev {
    display: none;
}

/* Aktivera chevron om man vill */
.bo-btn-more--chev .bo-btn-more__chev {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 10px;
    transition: transform .2s ease;
    transform: rotate(180deg);
    transform-origin: 50% 50%;
}

/* LÃ¥t knappen aligna text + ikon snyggt */
.bo-btn-more--chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Rotera nÃ¤r expanded */
.bo-btn-more--chev[aria-expanded="true"] .bo-btn-more__chev {
    transform: rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
    .bo-btn-more--chev .bo-btn-more__chev {
        transition: none;
    }
}


/* =========================================================
Finance: Inputs / States 
========================================================= */

.bo-fin-input {
    border-radius: 12px;
    margin-bottom: 1rem;
}

.bo-fin-warn {
    margin-top: -4px;
    margin-bottom: 10px;
    font-size: .875em;
    color: var(--bo-danger-500); /* eller var(--bs-danger) */
}


/* =========================================================
Att lÃ¥na kostar pengar 
========================================================= */

.bo-fin-risk {
    background: var(--bo-risk-bg);
    border-radius: 18px;
    padding: 16px;
    margin-top: 1rem;
}

.bo-fin-risk__copy {
}

.bo-fin-risk__title {
    font-weight: 600;
}

.bo-fin-risk__text {
}

.bo-fin-risk__inner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.bo-fin-risk__icon {
    width: var(--bo-size-8xl);
    height: var(--bo-size-8xl);
    border-radius: var(--bo-radius-xl);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bo-risk-icon-bg);
    color: var(--bo-risk-text);
    font-size: var(--bo-size-3xl);
    flex: 0 0 auto;
}

.bo-fin-risk__copy {
    font-size: var(--bo-size-md);
    line-height: 1.45;
    color: var(--bo-text-strong);
}

.bo-fin-risk__copy a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}


/* =========================================================
Pricebar / Badges / 
========================================================= */

.bo-pricebar .bo-detail-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    border: .0625rem solid var(--bo-border-color);
    border-radius: var(--bo-radius-pill);
    background: var(--bo-theme-primary-soft);
    color: var(--bo-text-strong);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1;
    padding: .625rem 1rem;
}

/* =========================================================
Swiper - Swiper Gallery + Thumbnails 
========================================================= */

/* Swiper behÃ¶ver hÃ¶jd 100% inne i ratio */
.bo-gallery-stage,
.bo-gallery-swiper,
.bo-gallery-swiper .swiper-wrapper,
.bo-gallery-swiper .swiper-slide,
.bo-gallery-slide {
    width: 100%;
    height: 100%;
}

.bo-gallery-stage {
    aspect-ratio: var(--bo-detail-gallery-aspect-ratio, 3 / 2);
    position: relative;
    padding: var(--bo-space-0) 0;
}

.bo-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--bo-component-radius, var(--bo-radius-lg));
}

.bo-thumbs-wrap {
    padding: .5rem 0;
}

.bo-gallerywrap--thumbs-none .bo-thumbs-wrap {
    display: none;
}

.bo-gallerywrap--thumbs-none .bo-gallery-pagination {
    bottom: .75rem !important;
    display: block;
}

.bo-gallerywrap--thumbs-none .bo-gallery-pagination .swiper-pagination-bullet {
    background: var(--bo-neutral-0);
    box-shadow: 0 .125rem .5rem var(--bo-alpha-black-18);
    opacity: .55;
}

.bo-gallerywrap--thumbs-none .bo-gallery-pagination .swiper-pagination-bullet-active {
    background: var(--bo-theme-primary);
    opacity: 1;
}

@media (min-width: 768px) {
    .bo-gallerywrap--thumbs-side {
        position: relative;
        padding-left: calc(5.25rem + var(--bo-space-3));
    }

    .bo-gallerywrap--thumbs-side .bo-gallery-stage {
        height: auto;
    }

    .bo-gallerywrap--thumbs-side .bo-thumbs-wrap {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 5.25rem;
        padding: 0;
        overflow: hidden;
    }

    .bo-gallerywrap--thumbs-side .bo-thumbs-swiper {
        height: 100%;
    }

    .bo-gallerywrap--thumbs-side .bo-thumb-slide {
        width: 100%;
        height: auto;
    }
}

/* Pagination: bara pÃ¥ mobil */
.bo-gallery-pagination {
    display: none;
}

.bo-gallery-swipe-hint {
    display: none;
}

.bo-gallery-swipe-hint.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 0.5rem);
}

.bo-gallery-swipe-hint__icon {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Thumbs swiper */
.bo-thumbs-swiper {
    width: 100%;
}

.bo-thumb-slide {
    width: auto; /* Swiper fÃ¥r styra */
}

/* knappen runt thumb (sÃ¥ vi kan clicka snyggt) */
.bo-thumb-btn {
    padding: 0;
    border: 0;
    background: transparent;
    width: 100%;
    height: auto;
    display: block;
}

.bo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

/* Active thumb state */
.bo-thumbs-swiper .swiper-slide-thumb-active .bo-thumb {
    outline: 3px solid rgba(0, 200, 150, 0.35);
    outline-offset: -3px;
}

/* Mobile: thumbs bort, swipe pÃ¥ main + pagination on */
@media (max-width: 767.98px) {
    .bo-thumbs-wrap {
        display: none;
    }

    .bo-gallery-pagination {
        bottom: 0.75rem !important;
        display: block;
    }

    .bo-gallery-pagination .swiper-pagination-bullet {
        background: var(--bo-neutral-0);
        box-shadow: 0 0.125rem 0.5rem var(--bo-alpha-black-18);
        opacity: 0.55;
    }

    .bo-gallery-pagination .swiper-pagination-bullet-active {
        background: var(--bo-theme-primary);
        opacity: 1;
    }

    .bo-gallery-swipe-hint {
        position: absolute;
        left: 50%;
        bottom: 2.15rem;
        z-index: 6;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.35rem 0.65rem;
        border: 1px solid var(--bo-alpha-white-24);
        border-radius: var(--bo-radius-pill);
        background: var(--bo-alpha-black-58);
        color: var(--bo-neutral-0);
        font-size: 0.8125rem;
        font-weight: 600;
        line-height: 1;
        pointer-events: none;
        transform: translateX(-50%);
        transition: opacity 0.22s ease, transform 0.22s ease;
        animation: boGallerySwipeHintNudge 1.35s ease-in-out 2;
        backdrop-filter: blur(0.625rem);
    }

    .bo-gallery-actions #allimgbtn {
        display: none;
    }
}

@keyframes boGallerySwipeHintNudge {
    0%, 100% {
        transform: translateX(-50%);
    }

    35% {
        transform: translateX(calc(-50% - 0.35rem));
    }

    70% {
        transform: translateX(calc(-50% + 0.35rem));
    }
}

@media (prefers-reduced-motion: reduce) {
    .bo-gallery-swipe-hint {
        animation: none;
    }
}


/* =========================================================
BO - Drawer 
========================================================= */

.bo-mobilebar {
    position: fixed;
    bottom: 0 !important;
    left: 0;
    right: 0;
    padding: .5rem .5rem max(.5rem, env(safe-area-inset-bottom));
}

@media (max-width: 991.98px) {

    .bo-mobilebar {
        z-index: 1040;
    }

    .bo-mobilebar__inner {
        min-height: 56px;
        color: var(--bo-mobilebar-color, var(--bo-text));
        background: var(--bo-mobilebar-bg, var(--bo-surface));
        border-color: var(--bo-mobilebar-border-color, var(--bo-border-color)) !important;
        border-radius: var(--bo-mobilebar-radius, var(--bo-component-radius, var(--bo-radius-2xl)));
    }

    .bo-mobilebar__price {
        line-height: 1.1;
    }

    .bo-mobile-drawer {
        z-index: 1050;
        height: auto !important;
        color: var(--bo-mobile-drawer-color, var(--bo-text));
        background: transparent;
        border: 0;
    }

    .bo-mobile-drawer--inset {
        padding-inline: .5rem;
    }

    .bo-mobile-drawer__surface {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        color: var(--bo-mobile-drawer-color, var(--bo-text));
        background: var(--bo-mobile-drawer-bg, var(--bo-surface));
        border: 1px solid var(--bo-mobile-drawer-border-color, var(--bo-border-color));
        border-radius: var(--bo-mobile-drawer-radius, var(--bo-component-radius, var(--bo-radius-4xl)));
        box-shadow: var(--bo-mobile-drawer-shadow, var(--bo-shadow-lg));
        margin-bottom: max(.5rem, env(safe-area-inset-bottom));
    }

    .bo-mobile-drawer--height-auto .bo-mobile-drawer__surface {
        max-height: min(75dvh, 42rem);
    }

    .bo-mobile-drawer--height-half .bo-mobile-drawer__surface {
        height: 50dvh;
        max-height: 50dvh;
    }

    .bo-mobile-drawer--height-tall .bo-mobile-drawer__surface {
        height: 75dvh;
        max-height: 75dvh;
    }

    .bo-mobile-drawer--full {
        padding-inline: 0;
    }

    .bo-mobile-drawer--full .bo-mobile-drawer__container {
        max-width: none;
        padding-inline: 0;
    }

    .bo-mobile-drawer--full .bo-mobile-drawer__surface {
        margin-bottom: 0;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: var(--bo-mobile-drawer-radius, var(--bo-component-radius, var(--bo-radius-4xl))) var(--bo-mobile-drawer-radius, var(--bo-component-radius, var(--bo-radius-4xl))) 0 0;
    }

    .bo-mobile-drawer__header {
        display: grid;
        grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
        align-items: center;
        gap: var(--bo-space-3);
        padding: var(--bo-space-3) var(--bo-space-4) .25rem;
    }

    .bo-mobile-drawer__header-spacer {
        width: 2.75rem;
        height: 2.75rem;
    }

    .bo-mobile-drawer__logo {
        display: block;
        justify-self: center;
        width: auto;
        max-width: var(--bo-mobile-drawer-logo-max-width, 7rem);
        height: auto;
        max-height: var(--bo-mobile-drawer-logo-max-height, 2rem);
        object-fit: contain;
    }

    .bo-mobile-drawer__close.btn-close {
        box-sizing: border-box;
        justify-self: end;
        width: 2.75rem;
        height: 2.75rem;
        padding: .875rem;
        margin: 0;
        opacity: var(--bo-mobile-drawer-close-opacity, .72);
        filter: var(--bo-mobile-drawer-close-filter, none);
    }

    .bo-mobile-drawer__close.btn-close:hover {
        opacity: 1;
    }

    .bo-mobile-drawer .offcanvas-body {
        min-height: 0;
        padding-top: .5rem;
        overflow-y: auto;
    }
}

/* =========================================================
BO - Finance blocks
========================================================= */

.bo-car-page .bo-finance,
.bo-car-page .bo-highlights,
.bo-car-page .bo-specs,
.bo-car-page .bo-equipment,
.bo-car-page .bo-description,
.bo-car-page .bo-similar {
    padding: var(--bo-detail-section-space-top) 0 0;
    margin-bottom: var(--bo-detail-section-space-bottom);
}

.bo-finance {
    border-radius: .5rem;
}

.bo-finance-card {
    border: var(--bo-border);
    border-radius: var(--bo-vehicle-content-radius, var(--bo-cms-vehicle-content-radius, var(--bo-radius-lg)));
    padding: var(--bo-space-4);
    height: 100%;
}

.bo-finance-card__data {
    display: flex;
    justify-content: space-between;
    font-size: .875em;
    margin-bottom: .5rem;
}

.bo-finance-card__row {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .5rem;
    font-size: .875rem;
}

.bo-finance-card__label {
    opacity: .7;
}

.bo-finance-card__value {
    font-weight: 600;
    white-space: nowrap;
}

.bo-finance-card__notice {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    margin-top: 1rem;
    padding: .75rem 1rem;
    border: var(--bo-border);
    border-radius: var(--bo-radius-md);
    background: var(--bo-surface-muted);
    color: inherit;
    font-size: .875rem;
    line-height: 1.5;
}

.bo-finance-card__notice[hidden] {
    display: none;
}

.bo-finance-card__notice-icon {
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: .0625rem;
    color: var(--bo-accent, currentColor);
}

.bo-fin-partner__block {
    margin-top: 1rem;
}

.bo-servicedata {
    padding: var(--bo-space-4);
    border-radius: .5rem;
    margin-bottom: 1.5rem;
}

.bo-finance-row {
    --bs-gutter-x: 1rem; /* g-3 */
    --bs-gutter-y: 1rem; /* g-3 */
    align-items: stretch; /* align-items-stretch */
}

.bo-finance-card__btn-block {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.bo-finance-card__group-title {
    margin-bottom: .5rem;
    color: var(--bo-text-muted);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.35;
}

.bo-finance-card__btn-block--mode > .bo-fin-btn {
    flex: 1 1 0;
}

.bo-finance-card__btn-block--years {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bo-fin-year {
    min-width: 0;
    width: 100%;
}

.bo-fin-year.is-active {
    --bo-btn-bg: var(--bo-theme-primary);
    --bo-btn-color: var(--bo-theme-on-primary);
    --bo-btn-border: var(--bo-theme-primary);
    --bo-btn-active-bg: var(--bo-theme-primary-strong);
    --bo-btn-active-color: var(--bo-theme-on-primary);
    --bo-btn-active-border: var(--bo-theme-primary-strong);
}

.bo-finance-card__title {
    margin-bottom: .5rem;
    font-size: .875em;
    color: rgba(33,37,41,.75); /* alt: var(--bs-secondary-color) */
}

.bo-finance-card__range-panel,
.bo-finance-card__monthlycost {
    background: var(--bo-soft);
    border: .0625rem solid var(--bo-border-color);
    border-radius: var(--bo-radius-md);
    padding: .875rem 1rem;
}

.bo-finance-card__range-panel {
    display: grid;
    gap: .75rem;
    margin-bottom: 1rem;
}

.bo-finance-card__monthlycost {
    margin-top: 1rem;
    text-align: center;
}

.bo-finance .bo-range {
    width: 100%;
    height: 1.5rem;
    margin: 0;
    padding: 0;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.bo-finance .bo-range::-webkit-slider-runnable-track {
    width: 100%;
    height: .375rem;
    border: 0;
    border-radius: var(--bo-radius-pill);
    background: var(--bo-border-color);
}

.bo-finance .bo-range::-webkit-slider-thumb {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: -.375rem;
    border: 0;
    border-radius: var(--bo-radius-pill);
    appearance: none;
    background: var(--bo-theme-primary);
    box-shadow: none;
    transition: background-color .15s ease, box-shadow .15s ease;
}

.bo-finance .bo-range:hover::-webkit-slider-thumb,
.bo-finance .bo-range:active::-webkit-slider-thumb {
    background: var(--bo-theme-primary-strong);
}

.bo-finance .bo-range:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 .25rem var(--bo-theme-primary-soft);
}

.bo-finance .bo-range::-moz-range-track,
.bo-finance .bo-range::-moz-range-progress {
    width: 100%;
    height: .375rem;
    border: 0;
    border-radius: var(--bo-radius-pill);
    background: var(--bo-border-color);
}

.bo-finance .bo-range::-moz-range-thumb {
    width: 1.125rem;
    height: 1.125rem;
    border: 0;
    border-radius: var(--bo-radius-pill);
    background: var(--bo-theme-primary);
    box-shadow: none;
    transition: background-color .15s ease, box-shadow .15s ease;
}

.bo-finance .bo-range:hover::-moz-range-thumb,
.bo-finance .bo-range:active::-moz-range-thumb {
    background: var(--bo-theme-primary-strong);
}

.bo-finance .bo-range:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 .25rem var(--bo-theme-primary-soft);
}

.bo-finance .bo-range:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.bo-fin-title {
    font-size: .875em;
    color: rgba(33,37,41,.75); /* alt: var(--bs-secondary-color) */
}

.bo-fin-month {
    font-size: 1.5rem; /* h4 */
    font-weight: 700; /* fw-bold */
    margin-bottom: 0; /* mb-0 */
}

.bo-fin-hr {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    color: var(--bo-alpha-black-25);
}

.bo-finans-logo {
    max-height: 3.125rem;
}

/* =========================================================
BO - Sticky Sidebar 2026-04-21
========================================================= */

.bo-sidebar {
    padding: var(--bo-space-0);
    border-radius: var(--bo-radius-sm);
}

.bo-sidebar-cta {
    display: grid;
    gap: .5rem;
    margin-bottom: 1rem;
}

.bo-btn-sidebar-cta {
    justify-content: flex-start;
    padding: 1rem;
}

.bo-detail-sidebar-sticky {
    position: sticky;
    top: calc(var(--bo-site-header-clearance, 0px) + var(--bo-detail-sticky-offset, 1rem));
    align-self: start;
    max-height: calc(100dvh - var(--bo-site-header-clearance, 0px) - var(--bo-detail-sticky-offset, 1rem) - 1rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Mobil: sticky CTA-bar (valfri) */
.bo-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bo-fav-btn-bg);
    border-top: var(--bo-border);
    backdrop-filter: blur(10px);
    padding: var(--bo-space-2) var(--bo-space-3);
    z-index: 1050;
    display: none;
}

/* =========================================================
BO Ny kod - 2026-03-17
========================================================= */

.bo-topbar {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.bo-topbar-row {
    flex-direction: column;
    gap:1rem;
}

.bo-actions {
    display: flex;
    gap: 1rem;
    justify-content:flex-end;
}

@media (max-width: 575.98px) {
    .bo-actions > .bo-action-comp, 
    .bo-actions > .bo-action-print{
        display: none;
    }
}

.bo-title {
    display: flex;
    flex-wrap:wrap;
    align-items: baseline;
    gap: .5rem;
}

.bo-pricebar {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.bo-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.bo-main {
    margin-bottom: 0;
}

.bo-main-row {
    --bs-gutter-y: 0;
}

.bo-section-title {
    font-size: clamp(1.25rem, var(--bo-section-title-font-size, 1.375rem), 1.5rem);
    line-height: 1.2;
}

.bo-specs-card {
    border: var(--bo-border);
    border-radius: var(--bo-vehicle-content-radius, var(--bo-cms-vehicle-content-radius, var(--bo-radius-lg)));
    padding: 1rem;
    margin: 0 0 1rem 0;
}

.bo-specs-card-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
}

.bo-finance-card__media {
	margin-bottom: .5rem;
	overflow: hidden;
	border: var(--bo-border);
	border-radius: var(--bo-vehicle-content-radius, var(--bo-cms-vehicle-content-radius, var(--bo-radius-lg)));
	background: var(--bo-surface-muted);
}

.bo-bilvisning .bo-specs-card-inner .bo-icon {
	width: var(--bo-detail-data-icon-size);
	height: var(--bo-detail-data-icon-size);
}

.bo-specs-hr {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    color: var(--bo-alpha-black-25);
}

.bo-btn-block {
    margin-top: 1rem;
}

.bo-desc-card {
    border: var(--bo-border);
    border-radius: var(--bo-vehicle-content-radius, var(--bo-cms-vehicle-content-radius, var(--bo-radius-lg)));
    padding: 1rem;
}

.bo-highlights {
    border-radius: .5rem;
}

.bo-eq-item {
    margin-bottom: .5rem;
}

.bo-equipment-card .bo-eq-list {
    margin-bottom: 0;
}

.bo-equipment-list-row {
    --bs-gutter-y: 0;
}

.bo-car-page .bo-similar-slider-shell .bo-similar-swiper.swiper {
    padding-top: 0;
}

@media (max-width: 767.98px) {
    .bo-section-title {
        font-size: clamp(1rem, var(--bo-section-title-mobile-font-size, 1.125rem), 1.25rem);
    }

    .bo-equipment-list-row > .bo-col + .bo-col {
        margin-top: var(--bo-space-4);
    }
}

.bo-introdesc-card {
    border: var(--bo-border);
    border-radius: var(--bo-radius-lg);
    background: var(--bo-surface);
    padding:var(--bo-space-4);
    margin-bottom:15px;
}

.bo-prices {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    width: 100%;
}

@media (max-width: 576px) {
    .bo-prices {
        justify-content: flex-start;
    }
}

.bo-row-prices {
    justify-content: space-between;
    align-items: center;
}

.bo-sold {
    font-size: 1rem;
    font-weight: 600;
    background: var(--bo-theme-primary-soft);
    padding: var(--bo-space-4);
    border-radius: var(--bo-radius-2xl);
    width: fit-content;
}




