/* Encadré autour du pack uniquement */
.bundle_form.layout_lcdb_notice .lcdb-bundle-pack,
.bundle_form.layout_lcdb_notice_grid .lcdb-bundle-pack {
    margin: 1.25em 0;
    padding: 1.25em;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

/* Bloc intro */
.lcdb-bundle-intro {
    margin: 0 0 1.5em;
    padding: 1em 1.2em;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    background: #fafafa;
}

.lcdb-bundle-intro__title {
    font-weight: 700;
    margin-bottom: .35em;
}

.lcdb-bundle-intro__text > :last-child {
    margin-bottom: 0;
}

/* Base */
.bundle_form.layout_lcdb_notice .bundled_product,
.bundle_form.layout_lcdb_notice_grid .bundled_product {
    position: relative;
}

.bundle_form.layout_lcdb_notice .bundled_product .details,
.bundle_form.layout_lcdb_notice_grid .bundled_product .details {
    padding-bottom: .25em;
}

/* Amélioration UX : quantité à droite */
.bundle_form.layout_lcdb_notice .bundled_product,
.bundle_form.layout_lcdb_notice_grid .bundled_product {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.bundle_form.layout_lcdb_notice .bundled_product .bundled_item_cart_content,
.bundle_form.layout_lcdb_notice_grid .bundled_product .bundled_item_cart_content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.bundle_form.layout_lcdb_notice .bundled_product .details,
.bundle_form.layout_lcdb_notice_grid .bundled_product .details {
    flex: 1 1 auto;
    min-width: 0;
}

.bundle_form.layout_lcdb_notice .bundled_product .bundle_quantity,
.bundle_form.layout_lcdb_notice .bundled_product .quantity,
.bundle_form.layout_lcdb_notice_grid .bundled_product .bundle_quantity,
.bundle_form.layout_lcdb_notice_grid .bundled_product .quantity {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
}

.bundle_form.layout_lcdb_notice .bundled_product .cart,
.bundle_form.layout_lcdb_notice_grid .bundled_product .cart {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Petit confort visuel */
.bundle_form.layout_lcdb_notice .bundled_product.optional .quantity,
.bundle_form.layout_lcdb_notice .bundled_product.optional .bundle_quantity,
.bundle_form.layout_lcdb_notice_grid .bundled_product.optional .quantity,
.bundle_form.layout_lcdb_notice_grid .bundled_product.optional .bundle_quantity {
    margin-top: .15em;
}

/* Responsive */
@media (max-width: 767px) {
    .bundle_form.layout_lcdb_notice .bundled_product,
    .bundle_form.layout_lcdb_notice_grid .bundled_product,
    .bundle_form.layout_lcdb_notice .bundled_product .bundled_item_cart_content,
    .bundle_form.layout_lcdb_notice_grid .bundled_product .bundled_item_cart_content {
        display: block;
    }

    .bundle_form.layout_lcdb_notice .bundled_product .bundle_quantity,
    .bundle_form.layout_lcdb_notice .bundled_product .quantity,
    .bundle_form.layout_lcdb_notice_grid .bundled_product .bundle_quantity,
    .bundle_form.layout_lcdb_notice_grid .bundled_product .quantity {
        margin-left: 0;
        margin-top: .75em;
    }
}
