/* Only activated after loaded native configuration groups pass the JS guard. */
.bf-together[hidden], .bf-together-hero[hidden], .bf-together-form [hidden] { display: none !important; }
.bf-together { --bf-ink: #242421; --bf-muted: #6d6b66; --bf-line: #dedcd7; margin: 2.5rem 0; color: var(--bf-ink); scroll-margin-top: 6rem; }
.bf-together-form #product-offer > .bf-together, .bf-together-form #product-offer > [data-bf-together-description] { flex: 0 0 100%; width: 100%; max-width: 100%; min-width: 0; grid-column: 1 / -1; }
.bf-together-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.bf-together-eyebrow { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bf-muted); margin-bottom: .35rem; }
.bf-together h2 { margin: 0 0 .4rem; line-height: 1.2; }
.bf-together-heading p { margin: 0; font-size: .9rem; color: var(--bf-muted); }
.bf-together-count { font-size: .78rem; color: var(--bf-muted); white-space: nowrap; }
.bf-together #product-configurator { margin: 0; }
.bf-together .product-config { margin-top: 0; }
.bf-together .product-configuration { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 1.75rem; }
.bf-together #config-popup { display: block; position: static; float: none; width: auto; max-width: none; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; transform: none; opacity: 1; visibility: visible; overflow: visible; }
.bf-together #config-popup > .modal-content, .bf-together #config-popup > .modal-content > .modal-body { display: block; position: static; max-height: none; width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.bf-together #config-popup > .modal-content > .modal-header, .bf-together #close-configmodal, .bf-together .btn-config, .bf-together .btn-config + hr { display: none; }
.bf-together .bf-together-accessories { border: 0; margin: 0 0 1.5rem; padding: 0; box-shadow: none; background: transparent; }
.bf-together .bf-together-accessories > .cfg-title { width: 100%; margin-bottom: .65rem; text-align: left; }
/* One neutral "Passendes Zubehör" group repeats the surrounding section title. */
.bf-together .bf-together-compact-accessories:not(.has-error) > .cfg-title { display: none; }
.bf-together .bf-together-compact-accessories:not(.has-error) .cfg-group-info { margin-bottom: 0; }
.bf-together .bf-together-compact-accessories:not(.has-error) .cfg-group-info > .alert-info:not(.alert-danger):not(.alert-warning):not(.box_error):not([role="alert"]):not(:has(.alert-danger, .alert-warning, .box_error, [role="alert"])) { display: none; }
.bf-together .bf-together-accessories .cfg-ftr { display: none; }
.bf-together .bf-together-accessories:not(.has-error) .cfg-group-info .alert { padding: 0; margin: 0 0 .8rem; border: 0; background: transparent; color: var(--bf-muted); font-size: .75rem; }
.bf-together .bf-together-accessories .panel-body { padding: 0; margin: 0; border: 0; }
.bf-together .bf-together-accessories fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.bf-together #cfg-container .bf-together-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin: 0; }
.bf-together #cfg-container .bf-together-card { position: relative; flex: none; width: 100%; max-width: none; min-width: 0; padding: 0; margin: 0; border: 1px solid var(--bf-line); border-radius: 8px; overflow: hidden; background: #fff; }
.bf-together #cfg-container .bf-together-card.bf-together-selected { border-color: var(--bf-ink); box-shadow: inset 0 0 0 1px var(--bf-ink); }
.bf-together #cfg-container .bf-together-card > label { display: block; height: 100%; margin: 0; cursor: pointer; }
.bf-together #cfg-container .bf-together-card .cfg-ct { display: flex; flex-direction: column; height: 100%; padding: 1rem; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.bf-together #cfg-container .bf-together-card .img-ct { display: flex; align-items: center; justify-content: center; width: 100%; height: 160px; margin: .4rem 0 1rem; padding: 0; background: #fff; }
.bf-together #cfg-container .bf-together-card .img-ct::before { content: none; }
.bf-together #cfg-container .bf-together-card .img-ct img { position: static; display: block; height: 160px; max-height: 100%; width: 100%; object-fit: contain; }
.bf-together #cfg-container .bf-together-card .img-ct picture { width: 100%; height: 100%; }
.bf-together #cfg-container .bf-together-card .caption { display: flex; flex-direction: column; flex: 1; width: 100%; }
.bf-together #cfg-container .bf-together-card .text { font-size: .84rem; line-height: 1.5; }
.bf-together #cfg-container .bf-together-card .tag { display: block; margin: .8rem 0 .4rem; font-size: 1rem; font-weight: 600; color: var(--bf-ink); background: none; padding: 0; }
.bf-together #cfg-container .bf-together-card .check { display: none; }
.bf-together .bf-together-selection { display: block; margin-top: auto; padding-top: .7rem; font-size: .74rem; color: var(--bf-muted); }
.bf-together .bf-together-selected .bf-together-selection { color: var(--bf-ink); font-weight: 600; }
.bf-together #cfg-container .bf-together-card > label > input[type=checkbox], #product-configurator .bf-together-dialog .list-group-item > label > input[type=radio] { display: block !important; visibility: visible !important; opacity: 1 !important; position: absolute; z-index: 2; top: .85rem; right: .85rem; left: auto; width: 20px; height: 20px; margin: 0; clip: auto; clip-path: none; accent-color: #242421; cursor: pointer; }
.bf-together-more { display: block; margin: 1rem auto 0; padding: .65rem 1rem; border: 0; background: none; color: var(--bf-ink); text-decoration: underline; text-underline-offset: .2em; font: inherit; font-size: .8rem; cursor: pointer; }
.bf-together #product-configuration-sidebar { position: static; top: auto; width: auto !important; margin: 0; padding: 1.25rem; border: 1px solid var(--bf-line); border-radius: 8px; background: #f5f5f2; }
.bf-together-summary-title { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 600; }
.bf-together #product-configuration-sidebar > .panel { border: 0; background: transparent; box-shadow: none; }
.bf-together #product-configuration-sidebar table { width: 100%; padding: 0; background: transparent; font-size: .76rem; }
.bf-together #product-configuration-sidebar thead { display: none; }
.bf-together #product-configuration-sidebar tbody tr, .bf-together #product-configuration-sidebar tbody td { background: transparent; }
.bf-together #product-configuration-sidebar td { padding: .5rem .2rem; }
.bf-together #product-configuration-sidebar td:last-child { white-space: nowrap; }
.bf-together #product-configuration-sidebar tfoot td { padding-top: 1rem; white-space: normal; }
.bf-together #product-configuration-sidebar .price { display: block; font-size: 1.7rem; }
.bf-together #product-configuration-sidebar .panel-footer { padding: .65rem 0 0; background: transparent; border: 0; }
.bf-together #product-configuration-sidebar #quantity-grp { display: flex; gap: .5rem; }
.bf-together #product-configuration-sidebar #quantity { display: block; width: 64px; min-width: 0; max-width: 64px; flex: 0 0 64px; margin-right: 0; min-height: 48px; }
.bf-together #product-configuration-sidebar .sn-addBasket { display: flex; flex: 1 1 auto; width: auto; min-width: 0; align-items: center; justify-content: center; margin: 0; white-space: normal; min-height: 48px; padding: .7rem .8rem; }
.bf-together-hero { margin: .75rem 0; }
.bf-together-hero .bf-together-jump { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: .75rem; white-space: normal; color: var(--btn-pr-t) !important; }
.bf-together-hero .bf-together-jump:hover { color: var(--btn-pr-t-h) !important; }
.bf-together-hero .bf-together-jump, .bf-together-hero .bf-together-jump:hover { text-decoration: none !important; }
.bf-together-choice { padding: .85rem; border: 1px solid #cfccc5; border-radius: 7px; background: #fff; }
.bf-together-choice-label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; font-size: .8rem; font-weight: 600; }
.bf-together-choice-label > span { color: #716e68; font-size: .7rem; font-weight: 400; }
.bf-together-choice-row { display: flex; gap: .7rem; align-items: center; }
.bf-together-choice-image { flex: 0 0 60px; width: 60px; height: 60px; }
.bf-together-choice-image img { display: block; width: 60px; height: 60px; object-fit: contain; }
.bf-together-choice-copy { flex: 1; min-width: 0; }
.bf-together-choice-copy strong { display: block; font-size: .78rem; line-height: 1.5; font-weight: 500; }
.bf-together-choice-copy > span { display: block; margin-top: .2rem; color: #716e68; font-size: .74rem; }
.bf-together-outline, .bf-together-button { justify-content: center; min-height: 48px; }
.bf-together-outline { flex: none; }
.bf-together-button:disabled { opacity: .45; cursor: default; }
#product-configurator .bf-together-dialog { color: #242421; width: min(940px, calc(100vw - 2rem)); max-width: 940px; max-height: calc(100dvh - 2rem); margin: auto; padding: 1.5rem; border: 0; border-radius: 12px; overflow: auto; box-shadow: 0 12px 64px #0003; }
#product-configurator .bf-together-dialog:not([open]) { display: none; }
#product-configurator .bf-together-dialog::backdrop { background: #15171499; }
#product-configurator .bf-together-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; }
#product-configurator .bf-together-dialog-head h2 { margin: 0; font-size: 1.35rem; }
#product-configurator .bf-together-dialog-close { flex: none; border: 0; background: none; padding: .25rem 0 .5rem .5rem; text-decoration: underline; font: inherit; font-size: .75rem; cursor: pointer; }
#product-configurator .bf-together-dialog .bf-together-choice-group { border: 0; margin: 0; padding: 0; box-shadow: none; }
#product-configurator .bf-together-dialog .bf-together-choice-group > .cfg-title, #product-configurator .bf-together-dialog .cfg-ftr { display: none; }
#product-configurator .bf-together-dialog .panel-body { padding: 0; }
#product-configurator .bf-together-dialog .list-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin: 0; }
#product-configurator .bf-together-dialog .list-group-item { position: relative; flex: none; width: 100%; max-width: none; padding: 0; }
#product-configurator .bf-together-dialog .list-group-item > label { display: block; margin: 0; height: 100%; }
#product-configurator .bf-together-dialog .cfg-ct { display: block; height: 100%; padding: .85rem; border: 1px solid #dedcd7; border-radius: 7px; background: #fff; }
#product-configurator .bf-together-dialog input:checked + .cfg-ct { border-color: #242421; box-shadow: inset 0 0 0 1px #242421; }
#product-configurator .bf-together-dialog .img-ct { display: block; height: 150px; padding: 0; margin: 0 0 .75rem; }
#product-configurator .bf-together-dialog .img-ct::before { content: none; }
#product-configurator .bf-together-dialog .img-ct img { position: static; display: block; width: 100%; height: 150px; object-fit: contain; }
#product-configurator .bf-together-dialog .caption, #product-configurator .bf-together-dialog .text { display: block; width: 100%; font-size: .8rem; }
#product-configurator .bf-together-dialog .tag { display: block; margin-top: .6rem; font-weight: 600; background: transparent; color: #242421; padding: 0; top: auto; }
#product-configurator .bf-together-dialog .check, #product-configurator .bf-together-dialog input:checked + .cfg-ct .check { display: none; }
#product-configurator .bf-together-dialog-footer { display: flex; justify-content: end; padding-top: 1rem; }
.bf-together :is(button, a, input):focus-visible, .bf-together-hero :is(button, a):focus-visible { outline: 3px solid #2379a4; outline-offset: 3px; }
@media (min-width: 768px) {
    .bf-together #product-configuration-sidebar .sn-addBasket { white-space: nowrap; }
}
@media (max-width: 1050px) {
    .bf-together .product-configuration { grid-template-columns: minmax(0, 1fr) 300px; gap: 1rem; }
    .bf-together #cfg-container .bf-together-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .bf-together { margin: 1.75rem 0; }
    .bf-together-heading { display: block; }
    .bf-together-count { display: block; margin-top: .65rem; }
    .bf-together .product-configuration { display: block; }
    .bf-together #product-configuration-sidebar { margin-top: 1.5rem; }
    .bf-together #cfg-container .bf-together-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .bf-together #cfg-container .bf-together-card .cfg-ct { padding: .8rem; }
    .bf-together #cfg-container .bf-together-card .img-ct, .bf-together #cfg-container .bf-together-card .img-ct img { height: 140px; }
    #product-configurator .bf-together-dialog { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); padding: 1rem; }
    #product-configurator .bf-together-dialog .list-group { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    #product-configurator .bf-together-dialog-head h2 { font-size: 1.1rem; }
}
@media (max-width: 390px) {
    .bf-together #cfg-container .bf-together-cards { grid-template-columns: minmax(0, 1fr); }
    .bf-together #cfg-container .bf-together-card .cfg-ct { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 1rem; align-items: center; }
    .bf-together #cfg-container .bf-together-card .img-ct, .bf-together #cfg-container .bf-together-card .img-ct img { height: 110px; margin: 0; }
    .bf-together #cfg-container .bf-together-card .caption { padding-top: 1.1rem; }
    #product-configurator .bf-together-dialog .list-group { grid-template-columns: minmax(0, 1fr); }
    .bf-together-choice-image { flex-basis: 45px; width: 45px; }
    .bf-together-choice-image img { width: 45px; }
}

.bf-together-choice + .bf-together-choice, [data-bf-together-choice] + [data-bf-together-choice] { margin-top: .75rem; }

/* Required choices lead the left column; assigned accessories follow below. */
.bf-together #cfg-container .bf-together-choice-overview { display: grid; gap: .75rem; min-width: 0; }
.bf-together #cfg-container .bf-together-choice-overview > [data-bf-together-choice] { min-width: 0; margin-top: 0; }
.bf-together #cfg-container .bf-together-choice-overview-followed { margin-bottom: 1.25rem; }
.bf-together #cfg-container .bf-together-accessory-heading { margin: 0 0 .75rem; font-size: 1.1rem; font-weight: 600; }

/* Native group overview image only: option cards and group messages stay visible. */
#product-configurator .bf-together-dialog .bf-together-choice-group > .group > fieldset > .row.mb-sm.flx-ac > .hidden-xs.col-sm-2 { display: none; }
#product-configurator .bf-together-dialog .bf-together-choice-group > .group > fieldset > .row.mb-sm.flx-ac > .desc { width: 100%; }

/* V4: readable choices, one native dialog, and required status beside the cart. */
.bf-together #cfg-container .bf-together-card .text,
.bf-together #product-configuration-sidebar table,
.bf-together .bf-together-selection,
.bf-together-count,
.bf-together-choice-label,
.bf-together-choice-label > span,
.bf-together-choice-copy strong,
.bf-together-choice-copy > span,
#product-configurator .bf-together-dialog .caption,
#product-configurator .bf-together-dialog .text { font-size: .875rem; line-height: 1.5; }
.bf-together-choice-label { flex-wrap: wrap; gap: .25rem 1rem; }
.bf-together .bf-together-accessories:not(.has-error) .cfg-group-info .alert { font-size: .875rem; line-height: 1.5; }
.bf-together .bf-together-more { min-height: 48px; min-width: 48px; max-width: 100%; font-size: .875rem; line-height: 1.5; white-space: normal; }
#product-configurator .bf-together-dialog-close { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; padding: .5rem .75rem; font-size: .875rem; line-height: 1.5; }
#product-configurator .bf-together-dialog { scroll-padding-bottom: 6rem; }
#product-configurator .bf-together-dialog .list-group-item { scroll-margin-bottom: 6rem; }
#product-configurator .bf-together-dialog-footer { position: sticky; bottom: 0; z-index: 3; margin-top: 1rem; padding: .75rem 0 .5rem; border-top: 1px solid var(--hr-li, #dedcd7); background: #fff; }
.bf-together #product-configuration-sidebar .bf-together-required-status { display: grid; gap: .75rem; margin: 0 0 1rem; padding: .75rem 0 0; border-top: 1px solid var(--bf-line); }
.bf-together #product-configuration-sidebar .bf-together-required-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; min-width: 0; }
.bf-together #product-configuration-sidebar .bf-together-required-row + .bf-together-required-row { padding-top: .75rem; border-top: 1px solid var(--bf-line); }
.bf-together #product-configuration-sidebar .bf-together-required-name,
.bf-together #product-configuration-sidebar .bf-together-required-text { display: block; min-width: 0; font-size: .875rem; line-height: 1.5; overflow-wrap: break-word; }
.bf-together #product-configuration-sidebar .bf-together-required-name { font-weight: 600; }
.bf-together #product-configuration-sidebar .bf-together-required-text { color: var(--bf-muted); }
.bf-together #product-configuration-sidebar .bf-together-required-row.is-missing .bf-together-required-text { color: var(--bf-ink); font-weight: 600; }
.bf-together #product-configuration-sidebar .bf-together-required-action { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; min-width: 0; margin-top: .25rem; white-space: normal; text-align: center; }
.bf-together #product-configuration-sidebar .bf-together-config-delivery { display: block; margin: .5rem 0 0; font-size: .875rem; line-height: 1.5; font-weight: 500; overflow-wrap: break-word; }
.bf-together-form .bf-together-parent-stock-label { display: block; margin-bottom: .25rem; font-size: .875rem; line-height: 1.5; font-weight: 600; }
@media (max-width: 767px) {
    #product-configurator .bf-together-dialog .list-group { grid-template-columns: minmax(0, 1fr); }
    #product-configurator .bf-together-dialog .list-group-item .cfg-ct { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: .75rem; align-items: center; }
    #product-configurator .bf-together-dialog .list-group-item .img-ct { width: 90px; height: 110px; margin: 0; }
    #product-configurator .bf-together-dialog .list-group-item .img-ct img { width: 100%; height: 110px; }
    #product-configurator .bf-together-dialog .list-group-item .img-ct picture { display: block; width: 100%; height: 100%; }
    #product-configurator .bf-together-dialog .list-group-item .caption { min-width: 0; padding-right: 1.75rem; }
    #product-configurator .bf-together-dialog .list-group-item .caption.w100 { grid-column: 1 / -1; }
    #product-configurator .bf-together-dialog .list-group-item .text { overflow-wrap: break-word; }
    #product-configurator .bf-together-dialog-head { gap: .5rem; }
    #product-configurator .bf-together-dialog-head h2 { font-size: 1.25rem; }
}
@media (max-width: 575px) {
    .bf-together #cfg-container .bf-together-cards { grid-template-columns: minmax(0, 1fr); }
    .bf-together #cfg-container .bf-together-card .cfg-ct { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 1rem; align-items: center; }
    .bf-together #cfg-container .bf-together-card .img-ct,
    .bf-together #cfg-container .bf-together-card .img-ct img { height: 110px; margin: 0; }
    .bf-together #cfg-container .bf-together-card .caption { padding-top: 1.1rem; }
    .bf-together #cfg-container .bf-together-card .caption.w100 { grid-column: 1 / -1; }
}

/* V5: follow the native centered product columns; keep native controls and values. */
.bf-together { --bf-ink: var(--bod-s, #1c1b19); --bf-muted: var(--bod-t-l, #666); --bf-line: var(--hr-li, #e2e2e2); }
.bf-together-form #product-offer > .bf-together {
    max-width: min(100%, calc(var(--wdt-tab, 1200px) + 30px), calc(50% + 500px));
    margin-inline: auto;
}
.bf-together, .bf-together * { box-sizing: border-box; }
.bf-together-heading { display: block; margin-bottom: 1.25rem; }
.bf-together-heading h2 { margin: 0; }
.bf-together .product-configuration { grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; }
.bf-together .product-configuration > *,
.bf-together #product-configurator,
.bf-together .product-config,
.bf-together [data-bf-together-mount],
.bf-together #cfg-container { min-width: 0; max-width: 100%; }
.bf-together #product-configuration-sidebar { min-width: 0; max-width: 100%; margin-top: 0; background: #fff; }
.bf-together #product-configuration-sidebar > .panel { min-width: 0; max-width: 100%; padding: 0; margin: 0; background: #fff; }
.bf-together #product-configuration-sidebar table,
.bf-together #product-configuration-sidebar tbody,
.bf-together #product-configuration-sidebar tfoot,
.bf-together #product-configuration-sidebar tr,
.bf-together #product-configuration-sidebar td { min-width: 0; max-width: 100%; }
.bf-together #product-configuration-sidebar tbody td { overflow-wrap: anywhere; }
.bf-together #product-configuration-sidebar tbody td:last-child { flex: 0 0 auto; white-space: nowrap; }
.bf-together #product-configuration-sidebar tfoot tr { display: block; width: 100%; }
.bf-together #product-configuration-sidebar tfoot td:last-child {
    display: block; width: 100%; min-width: 0; max-width: 100%; margin: 0;
    padding-inline: 0; white-space: normal !important; overflow-wrap: anywhere;
}
.bf-together #product-configuration-sidebar tfoot .price,
.bf-together #product-configuration-sidebar .bf-together-config-delivery,
.bf-together #product-configuration-sidebar .vat_info {
    max-width: 100%; min-width: 0; white-space: normal !important; overflow-wrap: anywhere;
}
.bf-together #product-configuration-sidebar .panel-footer,
.bf-together #product-configuration-sidebar #quantity-grp { min-width: 0; max-width: 100%; margin-inline: 0; }
.bf-together #product-configuration-sidebar .sn-addBasket { white-space: normal; }
@media (min-width: 992px) and (max-width: 1199px) {
    .bf-together .product-configuration { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (min-width: 1080px) {
    .bf-together #cfg-container .bf-together-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) and (max-width: 1079px) {
    .bf-together #cfg-container .bf-together-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .bf-together-form #product-offer > .bf-together { max-width: 100%; }
    .bf-together .product-configuration { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .bf-together #product-configuration-sidebar { width: 100% !important; margin-top: 0; }
}

/* V6: same native info-column width, price typography and frame radius. */
.bf-together #product-configuration-sidebar,
.bf-together #cfg-container .bf-together-card,
.bf-together-choice,
#product-configurator .bf-together-dialog,
#product-configurator .bf-together-dialog .cfg-ct { border-radius: var(--box-rnd, .5rem); }
.bf-together #product-configuration-sidebar tfoot td:last-child { text-align: left !important; }
.bf-together #product-configuration-sidebar .price {
    font-family: inherit; font-size: var(--h2-lg, 2.2rem); font-weight: var(--h2-w, 700);
    line-height: 1; color: var(--price, #1c1b19); text-align: left; margin-bottom: .25rem;
}
#product-configurator .bf-together-details,
#product-configurator .bf-together-details:hover,
#product-configurator .bf-together-details:focus {
    display: inline-flex; align-items: center; justify-content: center;
    position: static; top: auto; width: auto; height: auto; min-width: 44px; min-height: 44px;
    max-width: 100%; padding: .45rem .8rem; margin: .35rem 0 0;
    color: var(--bod-s, #1c1b19); background: #fff; border: 1px solid var(--hr-li, #e2e2e2);
    border-radius: var(--btn-rnd, 4rem); font: inherit; font-size: .875rem; line-height: 1.4;
    text-decoration: none; white-space: normal; cursor: pointer;
}
#product-configurator .bf-together-details:focus-visible { outline: 3px solid var(--fcs, #008eff); outline-offset: 3px; }
@media (min-width: 992px) {
    .bf-together-form #product-offer > .bf-together {
        max-width: min(100%, var(--bf-together-native-width, calc(50% + 500px)));
    }
    .bf-together .product-configuration {
        grid-template-columns: minmax(0, 1fr) var(--bf-together-summary-width, 453px);
    }
    .bf-together #cfg-container .bf-together-cards {
        grid-template-columns: repeat(var(--bf-together-card-columns, 2), minmax(0, 1fr));
    }
}
@media (min-width: 1401px) {
    .bf-together .product-configuration { grid-template-columns: minmax(0, 1fr) var(--bf-together-summary-width, 421px); }
}
@media (max-width: 991px) {
    .bf-together #product-configuration-sidebar .price { font-size: var(--h2-md, 1.9rem); }
}
@media (max-width: 575px) {
    .bf-together #product-configuration-sidebar .price { font-size: var(--h2-sm, 1.5rem); }
}

/* V7: match the existing delivery/purchase panel, including both backgrounds. */
.bf-together #product-configuration-sidebar {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1.15rem;
    box-shadow: none;
}
.bf-together #product-configuration-sidebar > .panel {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.bf-together-choice { background: transparent; border-color: #ccc; border-radius: 4px; }
.bf-together #product-configuration-sidebar #quantity-grp.bf-together-unit-quantity #quantity { display: none; }
.bf-together #product-configuration-sidebar #quantity-grp { width: 100%; gap: .5rem; flex-wrap: wrap; }
.bf-together #product-configuration-sidebar #quantity-grp.bf-together-unit-quantity { gap: 0; }
.bf-together #product-configuration-sidebar .sn-addBasket,
.bf-together #product-configuration-sidebar .bf-together-complete-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    margin: 0;
    padding: .85rem 1.2rem;
    min-height: 48px;
    white-space: normal;
    text-align: center;
}
.bf-together #product-configuration-sidebar #quantity-grp.bf-together-needs-choice .sn-addBasket { display: none; }
.bf-together #product-configuration-sidebar .bf-together-complete-choice[hidden] { display: none !important; }
.bf-together #product-configuration-sidebar #quantity-grp:not(.bf-together-unit-quantity) .sn-addBasket {
    width: auto;
    flex: 1 1 calc(100% - 72px);
}

/* Small native groups use the available space without changing their grouping. */
.bf-together #cfg-container .bf-together-cards.bf-together-single { grid-template-columns: minmax(0, 1fr); }
.bf-together #cfg-container .bf-together-cards.bf-together-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bf-together #cfg-container .bf-together-single .bf-together-card .cfg-ct {
    display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 1rem; align-items: center;
}
.bf-together #cfg-container .bf-together-single .bf-together-card .img-ct,
.bf-together #cfg-container .bf-together-single .bf-together-card .img-ct img { height: 130px; margin: 0; }
.bf-together #cfg-container .bf-together-single .bf-together-card .caption { min-width: 0; padding-right: 1.5rem; }
.bf-together #cfg-container .bf-together-single .bf-together-card .caption.w100 { grid-column: 1 / -1; }
@media (max-width: 575px) {
    .bf-together #cfg-container .bf-together-cards.bf-together-pair { grid-template-columns: minmax(0, 1fr); }
    .bf-together #cfg-container .bf-together-single .bf-together-card .cfg-ct { grid-template-columns: 90px minmax(0, 1fr); }
    .bf-together #cfg-container .bf-together-single .bf-together-card .img-ct,
    .bf-together #cfg-container .bf-together-single .bf-together-card .img-ct img { height: 110px; }
}

