/**
 * Cart styling for bundle products
 */

/* Bundle item options styling */
.cart.table-wrapper .item-options dt {
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
}

.cart.table-wrapper .item-options dd {
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 1.6;
}

/* Each bundle option item on its own line */
.cart.table-wrapper .item-options dd .bundle-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart.table-wrapper .item-options dd .bundle-option-item:last-child {
    border-bottom: none;
}

.cart.table-wrapper .item-options dd .bundle-option-item .option-label {
    flex: 1;
    padding-right: 10px;
}

.cart.table-wrapper .item-options dd .bundle-option-item .price {
    font-weight: 600;
    white-space: nowrap;
}

/* Fallback: If items are not wrapped in .bundle-option-item, style inline text */
.cart.table-wrapper .item-options dd {
    display: block;
}

/* Force line breaks for bundle options if not properly structured */
.cart.table-wrapper .item-options dd br {
    display: block;
    content: "";
    margin: 5px 0;
}

/* Alternative approach: Target inline text directly */
.cart.table-wrapper .item-options dd:not(:has(.bundle-option-item)) {
    white-space: pre-line;
}

